• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: javascript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javascript


  • Subject: Re: javascript
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 09 Nov 2011 08:31:14 +1100

On 09/11/2011, at 12:15 AM, email@hidden wrote:

Does anyone know why this option is missing in CS4 indesign? Workaround?
do _javascript_ v : execute a _javascript_

In InDesign, you use the "do script" command:

do script v : Executes the script in the specified language as a single transaction.
do script any : The script to execute.
[language unknown/‌_javascript_/‌applescript language] : The language of the script to execute. If not specified, uses the language used to call this method. Can accept: unknown/_javascript_/applescript language (Default: unknown).
[with arguments any] : An array of arguments passed to the script.
[undo mode script request/‌entire script/‌auto undo/‌fast entire script] : How to undo this script. Can accept: script request/entire script/auto undo/fast entire script (Default: script request).
[undo name text] : The name of the undo step for entire script undo mode. Can accept: string (Default: "Script").
→ any : The return value of the script.


-- 
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >javascript (From: email@hidden)

  • Prev by Date: Re: Burning DVD's
  • Next by Date: Re: Burning DVD's
  • Previous by thread: Re: javascript
  • Next by thread: Change modification date of a file
  • Index(es):
    • Date
    • Thread