Re: Display dialog + compiled scripts
Re: Display dialog + compiled scripts
- Subject: Re: Display dialog + compiled scripts
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 31 Jul 2002 10:56:23 -0700
On 7/31/02 9:36 AM, "Mr Tea" <email@hidden> wrote:
>
Hi. OS X question.
>
>
Is there an 'approved' way to display dialogs in other apps when using a
>
utility like DragThing to run a compiled script? I want the dialog to
>
display in front of other windows (obviously), but don't want to bring
>
DragThing to the front to display it.
>
>
Must the command must always be wrapped in a specific application 'tell'
>
block directed at the frontmost application? Or is there a way to have the
>
OS display the message so that it always shows, no matter what app is
>
frontmost?
>
If you put the display dialog inside a tell block to the other app after
telling the other app to activate, it should do what you want. Is the
problem that you don't know what the other app will be, necessarily? You can
use a variable for the other app's name. 'activate' and 'display dialog'
will compile and work without needing any using terms from' around the
app-as-variable.
--
Paul Berkowitz
_______________________________________________
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.