Re: How do I use variable with 'using terms from'
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