Re: Window watcher
Re: Window watcher
- Subject: Re: Window watcher
- From: Michael Wood <email@hidden>
- Date: Tue, 2 Nov 2010 18:46:36 +0200
Hi
On 1 November 2010 22:05, Stockly, Ed <email@hidden> wrote:
> On 11/1/10 9:00 AM, "Michael Wood" <email@hidden> wrote:
>
>>> This can be done using system events and GUI scripting for most applications.
>>
>> Thanks for the answer. The GUI scripting is not the problem. Where
>> do I find out about using system events to watch for some sort of
>> "dialog box has popped up" event?
>
> GUI Scripting is part of the solution to the problem...
Yes, what I meant was that I know more or less how to do that part.
It's waiting for a window to pop up part that I didn't know how to do.
> Here's a handler I use that clears most of the OSX error dialogs that appear
> when a particular script is run.
>
> The script calls this handler when the idle handler is invoked, about once a
> minute.
Thanks for the example.
> That said, I plan to investigate the solution Bill suggested. It sounds like
> it may resolve an number of issues.
Yes, Bill's suggestion sounds good, but I haven't tried it yet.
--
Michael Wood <email@hidden>
_______________________________________________
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