Writing one script for two versions of an application
Writing one script for two versions of an application
- Subject: Writing one script for two versions of an application
- From: "Wadson, David" <email@hidden>
- Date: Thu, 23 May 2002 11:34:27 -0400
Using Acrobat 4.x and 5.x, for example, different terms are used in each
version for things like a page in a document. Rather than writing two
scripts, one for each particular version, is it possible to have a script
that executes different code depending on which application the user has?
The problem that I'm expecting is that if the program is written on a
computer that has only Acrobat 5.x, for instance, the script commands that
are Acrobat 4.x specific will return an error when Script Editor checks the
syntax of the script. Is there some way around this or is this even a
problem? I'm just using Acrobat as an example - I'd be interested in doing
this for QuarkXPress, the OS, etc...
David Wadson
Coordinator of Graphic Services
The Chronicle-Journal
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.