Re: UI scripting question
Re: UI scripting question
- Subject: Re: UI scripting question
- From: John Baltutis <email@hidden>
- Date: Fri, 18 Jul 2008 10:24:22 -0700
On 7/17/08, Bill Cheeseman <email@hidden> wrote:
> on 2008-07-17 3:55 PM, John Baltutis at email@hidden wrote:
>
>> "System Events got an error: Can't get sheet 1 of window 1 of process
>> \"Safari\". Invalid index."
>
> Try inserting 'delay 1' before the 'click' statement, to give the print
> sheet more time to open up.
Tried that with a delay 5 and the print sheet never opens.
>> 10.5.4 w/Safari 3.1.2. Also tried running as app and bundled app with the
>>same
>> error. BTW, the keystroke "http://www.google.com" line doesn't override the
>> homepage setting, so is unnecessary.
>
> Right. I have Safari set up here so it opens an empty page, so I needed a
> real site showing in the window to make the Print menu item enabled.
Understood. However, as noted earlier, nothing causes the print sheet to pop up.
_______________________________________________
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