Re: Writing one script for two versions of an application
Re: Writing one script for two versions of an application
- Subject: Re: Writing one script for two versions of an application
- From: Olivier Destrebecq <email@hidden>
- Date: Thu, 23 May 2002 12:11:39 -0500
try to get the version (either directly through the app if both version
support it, or through the finder if not) and then depending on that
execute the command you want. I did it once for AppleWorks 5 and 6.
Olivier
On Thursday, May 23, 2002, at 10:34 AM, Wadson, David wrote:
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.
_______________________________________________
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.