Beginners question, how to use script?

Hello

IM on OSX, ID4, soon upgrade to ID5.5

I searched for a way to automatically add metadata (author) in a document/PDF export.

So I found this http://forums.Adobe.com/message/3443064 - looks like the answer I'm looking for, but how do I actually put this into use? Where/how do I add the script?

Can it be run in opening/creating a new document, or export to PDF?

I am an experienced user of indesign, and I did some VB, php before. But did not use scripting in InDesign.

Any pointers in the right direction is greatly appreciated. Thank you.

-Lasse Fernov

Hello, ldflkbuc943894353221:

script tomaxxi in the thread you cite isn't really a normal script. This is a script that installs an event handler which is triggered automatically every time that you create a new document in InDesign, suhc as with file > new.

Would you save this file as, perhaps, tomaxxiAddXMP.jsx, and then you have a few choices. You can simply drop in the user Scripts folder, according to http://www.danrodney.com/scripts/directions-installingscripts.html. When you need to run it once per session (from the Scripts panel, after which point all subsequently created documents that would be happen.)

Alternatively, you can use it as a startup script. It is an OK idea, except that it could violate your expectations and sometimes surprise you if you have forgotten about it. If you follow the directions above, instead of starting the installation in the directory "Scripts Panel", you would go higher ("Scripts") and create a directory named 'Startup Scripts' and place it there.

Restart InDesign. Then always will run every time you start InDesign.

Tags: InDesign

Similar Questions

  • Newbie question: how to use forms and collect signatures?

    Hello

    I could use some help on how to perform a task, I have been set.

    What we need to do:

    • Provide forms online for new recruits to view and electronically sign
    • Must be able to let people easily sign electronically forms without having to do a lot of work
    • Forms must contain a checksum to indicate that they have not been tampered after signing
    • Forms must be printable by newly hired staff to allow them to keep their information

    Can someone tell me what to do and buy so that we can do this?

    Sorry for the beginners question, but I tried to search for this and did not have a lot of luck to get a clear answer on how to do what we are looking for.

    Thank you!

    PEI

    The number of forms you'll be colecting will be a problem then. When you enable a document signed and recorded with Acrobat Pro and you distribute the form to more than 500 recipients, you are limited by the license agreement Acrobat from not more than 500 cases of the form data that was provided to you, including paper copies.

    You can avoid this limitation by allowing the reader to the document using Adobe LiveCycle Reader Extensions Server product, but this can be expensive. There used to be an Adobe authorized third party (FormRouter.com) which could compatible reader of individual documents so that you wouldn't have to license Reader Extensions yourself. I heard that they are is no longer allowed, but you might want to contact them to make sure.

    It is not difficult to set up a new digital ID. You can try it yourself to see what it is.

    Adobe also has the new EchoSign service available, then you might wish to consider to see if it can meet your needs: http://www.echosign.com/

  • Newbie question: how comment mxml scripts?

    The double slash that works in actionscript does not work with mxml. A quick method to comment my mxml forms?

    Thank you
    DreamasterFlex

    Use

  • How to use pthread_create for multithreading in C/C++?

    Goal: Create two threads at the same time to collect and process the data.

    Error: Buffer problem. A [i] when I is increased, the accident will be held later.

    Question: How to use pthread_create for multithreading in C/C++?

    or you know any related document, I can read?

    Mini code:

    pthread_t A, B;

    void * rawacceleration(void*);
    void * featureacceleration(void*);

    pthread_create (& A, NULL, & rawacceleration, NULL);
    pthread_create (& B, NULL, & featureacceleration, NULL);

    Thank you for your attention.

    Sorry guys.

    It is a buffer problem.

    Try i = 0 to [i]. The problem is resolved.

  • How to use my custom defiend function

    Dear all,

    I simply create a new custom set function that I send him a whole month and return name.
    The function registered successfully. and everything is ok, the newspapers are ok

    My question: how to use my @TOSTRING CDF

    the following code for the java class
    --------------------------------------------------------------------------------
    import java.lang. *;
    Import Java.util;
    import java.text.DateFormatSymbols.
    class toString {}

    public static String fromInt (int m)
    {

    return new DateFormatSymbols () .getShortMonths () [m-1];

    }

    }

    ------------------------------------------------------------------------------


    I tried the following and check syntax result successful and executed, but now


    VAR x = 2;
    'Project status' = @MEMBER (@CONCATENATE (@TOSTRING (x), '200'));


    Please advice

    Try to write a fix and check that @TOSTRING (x) is back, ex:
    DIFFICULTY (@MEMBER (@CONCATENATE (@TOSTRING (x), "200"))
    ;
    ENDFIX;

    Or

    Fix (@Member (@TOSTRING (x)))
    ;
    ENDFIX;

    You will find a line in the newspapers saying:
    Expression [@MEMBER (<>)]...

    See you soon... !!!

  • How to use table 1 d of waveform in the Matlab Script

    I use Lavbiew to make the classification of Vibration signal.

    The first problem I encountered is the form of incorrect data.

    The output signals are 1 d arrary of waveform. I don't know how to use the Matlab Script.

    is someone can help me with this?

    I really appreciate your help.

    Hey beauzhang,

    I hope that you are well today. It certainly seems that we lack in some problems with the different sources and data types of wells. LVM VI Express load you have emerged from a table of waveforms. So we would need to do a few things. First of all, we need to ignore the range of interests, and we must get the waveform data elements table.

    I have provided an example of how we can extract the waveform in position 0 of the table and then pass the array of data values to the script node Y. I have configured the entry of the data of a table 1 d Reals node (by adding an entry and then the right of entry and select choose data type.)

    If you are interested in getting the values Y and build the table like you did in the script, you need to implement a different subset of table and looping mechanism in LabVIEW code to move each item to the script individually. However, I would recommend working with the entry level instead.

    I hope this helps!

  • How to use the Script TCL EEM in router?

    Dear all,

    I have a TCl Script (it's 1 to test and understand).

    ********************************************** TEST.tcl *******************************************

    : model cisco::eem:event_register_syslog "Interface FastEthernet0/0, changed State to.

    import namespace: cisco::eem: *.
    import namespace: cisco::lib: *.

    Table game arr_einfo [event_reqinfo]

    action_script enable status

    If {[catch result {cli_exec $cli_fd (fd) 'enable'}]} {error $result $errorInfo}

    If {[catch result {cli_exec $cli_fd (fd) 'int fa0/1'}]} {error $result $errorInfo}

    If {[catch result {cli_exec $cli_fd (fd) 'shut'}]} {error $result $errorInfo}

    action_syslog msg "New Port is now"

    If {[catch result {cli_close $cli_fd (fd) $cli_fd (tty_id)}]} {error $result $errorInfo}

    ********************************************** TEST.tcl *******************************************

    Can someone tell me how to use this script in router that will be used every time my interface fa0/0 he'll fa0/1 in stop mode?

    Can you give me the steps to follow in the router?

    Wharton are the sine qua non for the use of this?

    Concerning

    Concerning

    Virtually any command, Yes.  You can't do "?" as you can from an interactive session, but you can run all the commands EXEC and config otherwise.

  • How to use the @accum function in the calculation script

    Dear all.

    I'm new in essbase - calculation script so don't know how to use the @accum function.

    I want the aggregation value of child to parent

    Hierarchy

    Product

    100 > Storage Dimensions marked as stored (marked as intentionally as I want to calculate the value using the calculation script)

    100. 10 (+)

    100-20 (+)

    100-30 (+)

    I'm trying calculation Script

    100 = @Accum (@children("100"), jan: Feb);

    It works when I use below

    100 = @Accum("100-10",Jan:Feb);

    Error:-number of Dimensions [1] does not match number of gen/lev [3] office [@Dim]

    Don't know how I can roll up to an aggregate value of all the members of the child to the parent.

    Error.PNGhierachy.PNG

    you do this more difficult it must be. If you want to accumulate up to 100 then you could just make your calc

    '100 '.

    but that would be only 100, to make the OU any dimension would

    AGG (Product);

    Or better yet

    AGG (Product, Market);

  • How to use between operator in Disqualification without using the script processor?

    Hello Experts,

    How to use between operator in Disqualification? for example phonenumberLength between 7 and 10. I don't want to use the script processor? Also how to reproduce the SWITCH statement Disqualification CASE?

    Thank you

    Konate

    1 Add a processor 'check the length.

    2. connect the transformer and open the configuration dialog box

    3. in the tab 'Attributes' select your attribute of telephone number as the "field Check.

    4. in the tab "Options", enter "7-15"in the option 'number of valid characters.

    5. run the process.

    a. accounts with [included] a character length 7-15 phone numbers out of the release of "valid".

    b. records with a length of character <7 or="">15 phone numbers out of the release of "Invalid character count.

    Note: the processor also adds a 'LengthValid' flag attribute which you may also branch on [with the values "Y" and "NC" for both scenarios above]. See Library of processor of the online help for more information.

    Thank you

    Nick

  • How to use the transformation script to add columns to the PK?

    I'm working on a script transformation that:
    -create a table
    -Adds the columns to the table
    -create a primary key for the table

    See the below script.
    Now, I want to add the primary key column.
    Documentation fix r: class IndexColumnUsage

    The Index of the class has a getter: getIndexColumnUsageList()
    and the list apply: applyIndexColumnUsageList

    Someone at - it an idea how to use these methods to add the column to the PK?

    I thank in advance.


    relational = model.getDesign () .getFirstOpenRelationalDesign ();
    table = relational.getTableSet () .createTable (null);
    table.setName ("TABLE");
    column = table.createColumn (null);
    column.setName ("COLUMN");
    index = table.createIndex (null);
    index.setName ("PK");
    index.setIndexState ("primary obligation");

    Hello

    If you have the column and index (both belonging to the same table) use:

    the index. Add (Column);

    to remove the column:

    the index. Remove (Column)

    Philippe

  • I have questions on the use of the commercial license... Which forum should I use to get answers or how I can get in direct contact with adobe?

    I have questions on the use of the commercial license... Which forum should I use to get answers or how I can get in direct contact with adobe?

    I have my answers! The chat feature did not work well... But I had contact, so everything is good now!

    Thanks again!

  • How to get some of the styles applied using script?

    Hi all

    I need to know how to get some styles applied using scripts ID. I don't have a lot of experience in InDesign so need help.

    Here is a screenshot with sample text with styles of such applied and highlighted.

    screenshot.png

    I need to know what the texts in my document have these styles applied as all caps, Baker pointed out, Subscript and Superscript, etc..

    Help, please.

    Thank you!

    Get in shape and make the selection, then run the script

    Examine the file for the properties you want.

    Pretty easy

  • How to create a form of free paths using script?

    Hello

    I want to create a form in which I add multiple points

    I try to use GraphicLine, but it adds no way point in this

    var myGraphicLine = myPage.graphicLines.add ();

    myGraphicLine.paths.item (0).pathPoints.item (0) .anchor = [72, 72];

    myGraphicLine.paths.item (0).pathPoints.item (1) .anchor = [72, 144];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [72, 144];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [90, 100];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [90, 100];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [110, 144];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [110, 144];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [144, 72];

    I want to create a W shape using script type.

    How to create a form of type free paths (like those drawn with pencil or pen tools) using js?


    Thank you

    This is because you create separate ways. Create just a first, and then add all the pathpoints.

    Do not forget that all first path you create comes with free first 2 points, so just move these in the position as shown above. Then add the new points to the same path, rather than create new ones (lines #4, #8, and #12 in my example).

  • How to use the import with FDM with adapter ERPI script?

    Hello

    I use FDM and ERPI 11.1.2 to load data of EBS R12 to planning 11.1.2

    Loaded from eBS data for a YEAR.

    I realized I could use an import script to manually calculate the amount with the periodic_net_cr and periodic_net_dr fields.

    But how to use this import script? Because in my import in FDM format, I do not use a file but directly the adapter, if no field "Expression".

    Thanks in advance for your help

    Fanny

    You must use the ImportAction script.

  • How to run script on the web using HTTP web page?

    Hi guys

    Please let me know how to execute script on the web using HTTP web page?

    Concerning
    Frank

    Hi Jos,

    ODI provides web-based UI to run scenarios using metadata (read only your components ODI) Navigator and designer Lighweight (you can change the mapping here).

    If please review how to install the metadata browser in ODI and take a look at the document ODI Setup for more information.

    Thank you
    Guru

Maybe you are looking for

  • El Capitan: Compatibility with the mid 2007 iMac

    Apple support tell me my mid 2007 iMac Intel is compatible with El Capitan. My iMac only has 2 GB of RAM (spec that had been originally shipped) and is running Snow Leopard, which requires only 1 GB or RAM to run. Specification technical El Capitan i

  • Satellite Pro P300 - 1 CG wakes up fashion 'sleep' when unplug USB mice

    Often, I carry my laptop from one workplace to another.Usually, put mode 'sleep', unplug the USB mouse and throw it in the bag. However, whenever I unplug the USB mouse - laptop wakes up and I have to put back to sleep.It's embarrassing. Is it possib

  • HP All in One Photosmart C7280 scan issue with Snow Leopard

    Hello I bought my wife a new cool Mac mini. So it comes with Snow Leopard. We use it for our activities with an HP printer all in one Photosmart C7280. Unfortunately the scanner does not work. I did the mistack to install HP driver from the HP websit

  • Remove the rose color of the toolbar

    original title: toolbar is pink and must be restored to original cannot get rid of pink cast For more than a month, the toolbar on my computer has been ROSE. (hate)  There are shades of pink on all Web sites.  How can I restore it?

  • Windows automatically warn you viruses on your computer?

    When I was browsing the internet a window of the scanner system windows opens automatically in another browser and says that my computer is infected and must be cleaned immediately and then start protection by downloading the app - www1.power pack_up