A very basic newbie question, sorry: where is the documentation for the presets?

Hello

I am writing some ExtendScript to do some tasks fairly banal export and, so far, it makes a lot of sense... but...

I keep on having spend loads of time googling for names of constant classes with the relevant presets.

Y at - it a correct, indexed and searchable reference of InDesign scripting library, somewhere? PLEASE, I BEG YOU!

Thank you

G

Where everyone was as frustrated by what I was, and I know that this exposes my ignorance but...

1. in ExtendScript, F1 to open help.

2. Select the product you are developing against in the help panel.

3. Google what you want to do and, if you're lucky, you will find an object type or method name for try the search against

(4 use the search help and I hope to whatever you hold dear that has you) corresponds to something useful and b) do not match too (both cases will cause absolutely no useful data)

This will give you some (but very basic) syntax searchable guides... Buyer beware...

Syntax guides do not, for example, distinguish (or provide details of) the difference between the IDS server or Office IDS and method signatures are different...

Incomplete, awkward and a little difficult to use, but at least it is the documentation...

G

Tags: InDesign

Similar Questions

  • Newbie Question: What should I put in for "Hostname" in the DNS Configuration during install ESXi

    Note: I'm not a professional but rather an amateur trying to test the power of virtualization technology. I understand the IP addresses and how to configure my router, Setup static IP address and build my own computer, but I have some limited knowledge when it comes to the configuration of the servers. All I want to do is use this ESXi server locally in my house to run several operating systems on one physical box. I really don't want to have a server on the internet, I think that Comcast doesn't let me run the servers with dynamic IP package I have. In any case, here's my problem:

    I followed with the installation of the link video tutorial ESXi in the intro email vmware sends you after registering. I'm around the 14:30 mark minute now where we are the management network configuration in the configuration menu of DNS.

    The tutorial guys sets its hostname to something he obviously installation but mine appears as "localhost.hsd1.ca.comcast.net". I do not understand what I do when I set up a host name - and as I said above, I don't want to be put in place a server on the comcast network.

    I think I'm a bit confused and don't know what to put in host name. I tried "localhost" and also "localhost.hsd1.ca.comcast.net" but hen t when I chose "network of test management", I got a message of failure for hostname.

    Sorry if it's a super newbie question, but I will not continue to implement virtual machines or what then if this setting is incorrect. I appreciate your time in reading this / to help me. Thank you.

    UPDATE: Ok, so since I'm impatient, I tried just letting the host name to what it was and continues with tutorial and realized that I could simply type the address static IP address from my ESXi server in my web browser from another computer on my home network to get the VI of the esxi Server client , then I typed just 192.168.1.50 which is that I put it was and it was successful! Is there a reason to set a host name then?

    So, my next question becomes: can I run my windows XP 64 OS at the same time as the ESXi Server? Each are installed on different disks in the same physical box, but this computer is one of my main computers that I work on in windows every day so ideally I would have ESXi running but also be able to use the base operating system. Is this possible or am I just dreaming / confused?

    Your welcome hardnesses, I think you can try to re-insalling ESXi with the hostanme you want, or you can connect to the existing installation with an unsupported option and try the same thing.

    Concerning

    Anil

    Save the planet, go for green

    If you have found my reply to be useful, feel free to mark it as useful or Correct.

  • Newbie Question: Should I use a connection for each method?

    It's my first project using SQL and Java, I have actually some learning on this subject but fun, but I'm still a beginner, so bear with me. When I set up a connection to the base, he goes into a try block:

    private void connectToDB(Connection con, String username, String password){         try{             DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());             con = DriverManager.getConnection("jdbc:oracle:oci8:@localhost:1521:xe", username, password);             System.out.println("Successfully connected to database\nDatabase: xe\nOn host: localhost\nPort: 1521\nAs user: " + username);         }         catch(SQLException e){             System.out.println("Database connection error:\n" + e.getMessage());             System.exit(1);         }     }

    But it does mean that when I want to use the connection to another method (to query the database), it throws a NullPointerException (I think because there is no guarantee that jerk has been implemented?)

    private void getAllJobs(Connection c){         try{             Statement s = c.createStatement();             String selectAllJobs = "select * from jobs";             ResultSet row = s.executeQuery(selectAllJobs);             while(row.next()){                 String name = row.getString("NAME");                 int jobNo = row.getInt("JOBNO");                 String urgent = row.getString("URGENCY");                 Date date = row.getDate("JOBDATE");                 System.out.println(name + jobNo + urgent + date);             }         }         catch(SQLException e){             System.out.println("Could not execute statement in method getAllJobs");             System.out.println(e.getMessage());         }         catch(NullPointerException e){             System.out.println("Could not create statement, connection is null");             System.out.println(e.getMessage());         }     }

    On this basis, I get the result:

    "Successfully connected to the database
    Database: xe
    On the host: localhost
    Port: 1521
    User: human resources
    Could not create statement, the connection is null
    NULL.

    I should create a new connection in each method I use, so that the sql statement is in the try the connection block create? What is the best way to handle this? Something different wrong with the code ignore for now, I'm looking for this answer so that I can continue the work.

    Thank you
    eskimo9

    OK - seems kind of, I went on a tangent and my brain took a vacation.

    Java is pass by value. If your code:

    private Connection con1;
    
    connectToDB(con1, "hr", "hr");
    
    private void connectToDB(Connection con, String username, String password){
    

    past the 'value' "con1" contains (which has the null value) to the method "connectoToDB". The method can manipulate the object, if it is not null, but it cannot change the setting points to the object. Such an assignment within the method is only local.

    You have shown that on the inside of the 'con' method has a value after the connection is created, but the original variable "con1" does not because the method cannot change what it points to.

    Change the "connectToDB" method to return an instance of 'Connection' and store the value returned in con1. Then the call to "getAllJobs (con1)" does not work correctly because the instance variable has been initialized. I'm sorry that I you good-for-nothing.

    There is an explanation that is funny, but for education, at this link: http://www.javaranch.com/campfire/StoryPassBy.jsp

    See the part that says:
    >
    A CAT = new Cat();
    doStuff (A);

    void doStuff(Cat B) {}

    B = new Cat(); does NOT affect the reference
    }

    To do this simply 'points' B to control a different object. A is always happy.

  • Newbie question: how to display the logo of the company for all applications

    Hi all:

    I am new to APEX and in the thorough step 'Application two days Express Developer's Guide.

    I have Oracle XE with APEX 3.1.2 installed.

    I have a file called test.gif stored on my C:\logo\test.gif logo

    The question is what is the step to display this logo on all pages for each application (I could build applications in the same workspace, and I like the same logo to all pages for each display application).

    I have extensive air manual and this forum and cannot always understand.

    Here is what I tried:

    -Click on an app that I created in Application Builder
    -Click on "shared components".
    -Files-click == > Images and upload my C:\logo directory test.gif
    -Return to page 'Components of the part' == > Logo and select / access to the following values:
    > logo type: image
    > logo: /i/test.gif
    > logo attribute: width = "100" height = "20" alt = "Company Logo".

    Save the changes. When I run my application, the company logo displayed as 'x' icon.

    A I missed something?


    Thank you!

    Kevin

    Kevin,

    You wanted a step by step so that is.

    You must first download your logo to your workspace file. Then you can assign it as a logo, so this step appears on all pages.

    Before you start, I suggest that ensure you that your graphic file name does not include the spaces inside. Replace spaces by dashes, underscore or squish traits it.

    1. application Builder-> shared-> files components-> Images.

    2. click on the create button.

    3. application for leave "No Application associated with" value, provide the specification of file, then click on the download button. When it's done, copy the name of the file (for example MyFile.gif).

    4. go into the Application Builder-> shared-> Application-> definition components

    5 scroll down the page to the section Logo and set the Type of Logo Image.

    6 Logo, enter ' #WORKSPACE_IMAGES # ' follow-up of your files.

    for example #WORKSPACE_IMAGES #MyFile.gif

    7. Optionally, you can set the attributes of the Logo, for example, by specifying the height and width to display your image.

    8. click on apply changes.

    9. run app.

    If you have the right to file specification, you should see your logo in the upper left corner. If you want elsewhere, you have to change the page template, which is way beyond the scope of this forum and the tutorial. :-)

    Good luck

    Stew

    p.s. If it works for you, please give points for correct answer at the top of this topic.

  • Very basic noob question on the foundations of the class

    I'm looking at this line of code:

    import flash.display. MovieClip;

    and realized that I have not seen anything else used instead of the word Flash in these lines. It made me wonder what it means. Are there any other alternatives? If so, what would it be? If not, why it should be included all the time when it is obviously the only choice?

    Sorry for noobish but question if there must be a quick explanation I really appreciate it.

    Thank you.

    This is the path to the class MovieClip (relative to the default path).  and Yes, there are other initial paths like fl (check the videoevent class).

  • Basic Newbie question

    Hi, I am trying to add a light display to indicate when a certain part of my code is running. Basically, I need to know how to activate and deactivate a single Boolean indicator in a flat sequence structure. Any help would be appreciated. Thank you

    Hi DoomPirate,

    Place your indicator in the first frame and a local variable or a property of the node in the last.

    It is also possible with only the flag if you are using a statemachine architecture.

    Mike

  • Basic Newbie Question Timeout

    Hi, I wrote a Subvi, which sends a command (gpib write) to a physical instrument. Occasionally, that it is blocked to the gpib write VI. I want to this Subvi program such that the failure of this sub - VI will not result in the failure of the entire program. I tried different values "ms timeout", it doesn't seem to help my problem. Is it possible to interrupt the operation of this VI and return a value by default when it is locked like this for X number of seconds? Any help would be appreciated.


  • Text from a very new newbie question

    When I enter the text on a line, it disappears.

    I was told that I need to copy the first line, select and Alt, to do this.

    I can copy and move the line without problem, but when I try to copy it into the same place, it will not work.

    Please help me.

    GrSunshine,

    In this case, you can (with no selected branch first):

    (1) with the direct Selection tool, click on the relevant/high segment of the path (branch) and Ctrl / Cmd + C + F (you can also use the selection tool and the path from any branch copied);

    (2) with the type tool to Type path on the path.

    You can adjust the distance between the Type and branch with the vertical offset.

    I'm not sure the Alt/Option key copy without moving, which can be dependent on version.

  • Very basic variable question

    I can get my way around Javascript and PHP, but simple things in AS3 stump me.

    The following code works fine:

    slideIn();

    function slideIn (): void

    {

    var myTween:Tween = new Tween(_root.content_txt1,"y",Strong.easeOut,-150,5,3,true);

    }

    I want to reuse the function of the different elements by inserting a (num) argument into the function. The trace function shows me that the variable has the correct value. However, interpolation analysis the variable 'point '. It looks for an element named "item", which results in an error.

    slideIn (1);

    the function slideIn (num): void

    {

    var point = "_root.content_txt" + num;

    trace (Item);

    var myTween:Tween = new Tween(item,"y",Strong.easeOut,-150,5,3,true);

    }

    Thank you.

    Right, because the element is a string and strings do not have a property y. just because you do not type the variable element does not mean that Flash does not know that it is a string.

    You must use array notation to get the object inside the movieclip eric.

    var point: TextField = eric ["content_txt" + num];

    You may also expressed as follows:

    var item: TextField = TextField (eric ["content_txt" + num]);

    Or if you plan to use it on various different display objects:

    var item: DisplayObject = DisplayObject (eric ["content_txt" + num]);

  • Very basic XML question

    I am currently using two tables to load a sequence of videos in 2 areas of the Flash animation.

    var zoneAarray:Array = new Array ("movie1.mp4", "movie2.mp4", "movie3.mp4");

    var zoneBarray:Array = new Array ("movie4.mp4", "movie5.mp4", "movie6.mp4");

    var clipA:String = zoneAarray [0];

    var clipNumberA:int = 0;

    var clipTotalA:int = zoneAarray.length-1;

    var clipB:String = zoneBarray [0];

    var clipNumberB:int = 0;

    var clipTotalB:int = zoneBarray.length-1;

    Everything works fine, but I would like to import the list of videos from an XML file instead of hard-coding it in Flash.
    TIA,-Eric

    Large. Please mark the thread as answered.

  • Very basic table question

    The following code traces:
    Origin = 1, 2, 3
    New = 1, 2
    Origin = 1, 2
    New = 1
    Origin = 1
    New =
    How is it possible that the value of the firstArray table for change?

    A little more in detail; If you use Boolean, String, int, uint, or number, when you assign a variable to another, it makes a copy of the value. For other things, like tables, custom objects, objects, etc., like to gsb said, simply a pointer or a reference to the original object so everything you "copy" actually is on the original. Search for 'cloning tables' in the Flex help.

  • Newbie question - need to improve the blurred logo

    I have no training in image editing, to help or information would be greatly appreciated.

    My company is trying to get some signs printed with our logo, but the only logo that we have on file is very small, so any re-sizing edges results very blurry. The image is in .png format and dimensions in pixels are by 244 489. From my understanding, this translates a picture about 1.5 "by 3", which is not nearly large enough for our needs. I have gone through the forums looking for methods to increase the resolution of the logo for printing, or to smooth out the edges (this is a pretty basic design), but I do not know what tool would be best. I'm currently downloading the trial of Photoshop to play with him, anyone have advice on where to start?

    Thanks for any help!

    Sonya

    Sonya,

    Vector illustrations are superior to raster work because it is good at any size, instead of being dependent on resolution/size (it create once and use it at any size for any purpose).

    You should take a look at Illustrator or similar application (more) especially designed for the vector illustrations.

    In all cases, there is no way to avoid re-creating the logo and this sample can be used only as a fuzzy model.

    Unless it is possible to dig up the original artwork (vector). It is a genuine attempt to find it.

    For suggestions to recreate the logo, you can display the image in the relevant forums and ask for help.

    Illustrator and Photoshop:

    http://forums.Adobe.com/community/Illustrator/illustrator_general

    http://forums.Adobe.com/community/Photoshop

  • so many Questions, but where are the apps?

    I see so many Questions, but I don't see a lot of flash apps

    where are they?

    you don't really know if they were not on the store or flash applications, it does not say. There is much, much up there, unless someone connects you directly you know until you started to play with it if it was an air application, sometimes you can tell when playing, sometimes does not

  • Newbie question: could not get the widths equal object

    I have two paths of rectangle in my document. I don't remember exactly how I created the, but as far as I know, they are very similar, same fill, none related. They are the two vertical sides of a rectangular border around the perimiter of my doc.

    I would like to change the widths to be the same. Percentage width/height constraints are disabled. I enter the width of an object in the field of the width of the other and of width, but a number of unpredictable changes. I put in a new issue again and the width changes into something new but not what I want. I tried to use different units, same result. I have no problem changing the heights of horizontal paths corresponding to be the numbers I want.

    There is a visible difference between the paths: when the disturbing path is selected, the blue outline around it is wider than the other tracks.

    I ended up throwing the path of boredom and the copy of that good as a workaround. But I would like to know what is happening, I guess I'm missing something basic.

    I hope someone can help.

    It's 'Use Preview Bounds' enabled. If you want to know the details you should read "Why the Transform Palette will do what I ask?" by http://tpettit.best.vwh.net/adobe/index.html

  • Newbie question - how to animate the liquid?

    Greetings!

    Let me start with apologies for my English, I have not practiced much lately and this is the result.

    I'm trying to copy a film animation to improve my skills in flash, but I'm stuck at some point.

    Here is the link to the clip:

    http://en-GB.Facebook.com/photo.php?v=489569444438953

    I am interested in the liquid. I am able to resize through interpolation, but I can't get this effect of the drink is poured into the glass.

    How world you do this?

    Thank you very much

    Enrico

    Mac - flash cs5

    You can use a mask (of glass).  interpolation of mask so he reveals more in addition to liquid in the glass the liquid is poured.

Maybe you are looking for