Re: Reliably calling an application within Handlers
Re: Reliably calling an application within Handlers
- Subject: Re: Reliably calling an application within Handlers
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 29 Apr 2001 05:51:07 -0400
on 4/28/01 5:57 PM, Roderick Scott Corporation at email@hidden wrote:
>
I want to do something like:
>
>
property theApp: "InDesign 1.5.2" as string
>
>
then be able to say
>
>
tell theApp
>
-- do something
>
end tell
This is a big and well-documented issue in AppleScript, sometimes known as
the "double-tell" issue. You can do what you're trying to do, but it will
take some work. You will find a detailed writeup, with references to others'
writeups, on The AppleScript Sourcebook, in two articles in the "Tips"
chapter.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes