• 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 do I use variable with 'using terms from'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I use variable with 'using terms from'


  • Subject: Re: How do I use variable with 'using terms from'
  • From: Steve Mills <email@hidden>
  • Date: Sun, 29 Oct 2017 00:30:30 -0500

On Oct 28, 2017, at 17:22:19, Brian Christmas <email@hidden> wrote:
>
> As the old GC was just ‘GraphicsConverter;, and the new ones will be
> ‘GraphicConverter 11’ etc, I really, really need that variable method.
>
> Any advice or guidance, please?

IIRC, "using terms from" needs an actual app from which to get the dictionary.
It can't compile if it doesn't know what the app is. But it's totally fine to
"using terms from" one version of an app yet still have the "tell" blocks to
target a different version. As long as the app's terminology you're using is
shared by both versions. When you compile and save the script, AppleScript
should be using enough info that it can find whatever version is on the user's
machine, so if you do "using terms from app "GraphicConverter 10"", yet the
user has 9, it'll probably still work, since AppleScript should be saving the
UTI for the app. In years past, the app signature was used.

This is all based on past experience, with some assumptions thrown in.

--
Steve Mills
Drummer, Mac geek

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >How do I use variable with 'using terms from' (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Seeing the state of an application with Script Editor?
  • Next by Date: Re: Seeing the state of an application with Script Editor?
  • Previous by thread: How do I use variable with 'using terms from'
  • Next by thread: Modify Time Of Day script
  • Index(es):
    • Date
    • Thread