• 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: Michael Terry <email@hidden>
  • Date: Wed, 3 Mar 2004 01:38:46 -0800

On Mar 2, 2004, at 11:31 PM, Paul Berkowitz wrote:

If the app terminology is just aeut stuff, then you can confuse the
matter with:

set appName to "Smile"
tell app named appName

or what-have-you, but that won't work for me this time.

Then there's just putting in the raw codes, but who wants to do that?

So what have you got?

But for the past several years you've been able to compile using

using terms from application "Each App"

end

and don't need the raw codes. It just works as long as you compile on a
computer (OS 9.0 or later) with all the right apps, and use a variable for
the app name as Richard23 has above. You can even use it on older OS's and
it works.

Is there something I'm missing here?



Well, nothing major, just that I like to release scripts that are easily editable. As far as I know, you don't have much leeway when application specific terminology is involved. You've got to make explicitly clear what application your using terms from so a script can find the terminology when compiling. As soon as someone opens my script on their machine to fix some dumb little assumption or just to fool around, AS starts throwing up "Where's that app at?" dialogs. At least, that's how I thought it worked. Are you saying that you can compile with a terms block on one machine, and the script will contain the necessary resources to be recompiled elsewhere even if that application is no longer present?


Mike
_______________________________________________
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: Walter Ian Kaye <email@hidden>
    • Re: How to make scripts reference multiple revs of an app
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: How to make scripts reference multiple revs of an app (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: class ktxt, original discovery
  • Next by Date: Re: How to make scripts reference multiple revs of an app
  • 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