• 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: How to make scripts reference multiple revs of an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make scripts reference multiple revs of an app


  • Subject: Re: How to make scripts reference multiple revs of an app
  • From: Walter Ian Kaye <email@hidden>
  • Date: Sat, 28 Feb 2004 22:01:08 -0800

At 11:09p -0500 02/28/2004, Ken Tozier didst inscribe upon an electronic papyrus:

I've been scripting for a long time now but have never found a way to reference multiple versions of an application. For example: Say you need to write a script that works with three versions of QuarkXPress, there are only two options as far as I can tell:

1. Recompile the script on each machine where it will be used
2. Rename Quark on all target machines to the name you used in your script.

Is there a more elegant way to reference an app say by it's creator code or something?

Something like:

tell application whose creator type = "XPR3"
-- do amazing stuff here
end

Yes, but jsut to clarify: is the script *exactly* the same regardless of which version of QXP (i.e., they all work the same way, regardless of version), or do you need to handle things slightly differently for different versions?

The solution will be different, depending on which you mean.


-boo
_______________________________________________
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.


References: 
 >How to make scripts reference multiple revs of an app (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: How to make scripts reference multiple revs of an app
  • Next by Date: Re: Can I recode strings in Applescript?
  • Previous by thread: Re: How to make scripts reference multiple revs of an app
  • Next by thread: Re: How to make scripts reference multiple revs of an app
  • Index(es):
    • Date
    • Thread