Re: Scripting for multiple InDesign versions
Re: Scripting for multiple InDesign versions
- Subject: Re: Scripting for multiple InDesign versions
- From: Håvard Graudo <email@hidden>
- Date: Fri, 29 May 2009 11:16:50 +0200
InDesign has a 'Script Versioning' feature. Maybe you could write your
scripts using the CS3 object model, and force the script intepretion
to use the CS3 engine: "set version of script preferences to 5.0".
See 'Script Versioning' in the InDesign Scripting guide PDF.
Håvard
Den 28. mai. 2009 kl. 01.41 skrev Tim Mansour:
Hello to all.
I know this topic has been touched on many times, but I struggled to
find a suitable answer in the archives.
I'm trying to modify an InDesign script to allow for situations where
users have multiple versions of InDesign installed; specifically, this
can be either or both of CS3 and CS4. The script is run from within
FileMaker and can be altered at runtime to change the target (I
will obviously test the script works in both versions of ID).
It appears that InDesign is using "com.adobe.InDesign" as its bundle
identifier regardless of version, so it's not possible to use that to
identify which version to target in a script. I was hoping I could
somehow check the user's system to determine which version(s) of ID
were present; if CS3 and CS4 are both installed I would present a
dialog to ask which one to use, otherwise use whichever is installed.
So does anyone have suggestions as to how to reliably (a) locate and
then (b)
target whichever InDesign is installed? I'm expecting that searching
for paths might be the way to go.
TIA.
--
Tim Mansour <email@hidden>
Neologica Print & Promotions (ABN 63 904 335 408)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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