Re: Scripting Addition w/ Dialog Boxes (OS X)
Re: Scripting Addition w/ Dialog Boxes (OS X)
- Subject: Re: Scripting Addition w/ Dialog Boxes (OS X)
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 28 Jan 2002 21:05:18 -0800
On 1/28/02 8:42 PM, "Jon Pugh" <email@hidden> wrote:
>
The "display dialog" scripting addition can do it, so it's still possible.
>
>
This also presumes that you are telling an application to display the dialog.
>
I've found that the script menu, and perhaps others, run scripts via a
>
ScriptRunner application, which apparently doesn't put up any UI. However, I
>
seem to be able to get it in front of my menus so that they don't respond to
>
mouse clicks until I change applications by clicking on some window or the
>
dock. Then I can reach the menus. I wonder if you might be running in this
>
layer and be unable to get a dialog up until you target some other
>
application.
>
>
However, I haven't carbonized my scripting additions yet.
When a script is run from the ScriptMenu, the front application is actually
application "SystemUIServer", which appears to be running the script. when i
put in a script running from ScriptMenu 'tell me to quit', it was
"SystemUIServer" that quit, along with its various menu items.
"SystemUIServer" also displays the menu clock and the other doodads in the
upper right corner.
I posted a script here a week or two ago which will tell you what the "real"
front app is (the app before you selected the ScriptMenu), although no one
was in the least interested at the time.
--
Paul Berkowitz