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

How to make scripts reference multiple revs of an app


  • Subject: How to make scripts reference multiple revs of an app
  • From: Ken Tozier <email@hidden>
  • Date: Sat, 28 Feb 2004 23:09:22 -0500

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

Always been curious about this,

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


  • Follow-Ups:
    • Re: How to make scripts reference multiple revs of an app
      • From: Christopher Stone <email@hidden>
    • Re: How to make scripts reference multiple revs of an app
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Re: Can I recode strings in Applescript?
  • Next by Date: Re: How to make scripts reference multiple revs of an app
  • Previous by thread: Re: Can I recode strings in Applescript?
  • Next by thread: Re: How to make scripts reference multiple revs of an app
  • Index(es):
    • Date
    • Thread