Re: UI scripting question
Re: UI scripting question
- Subject: Re: UI scripting question
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 17 Jul 2008 16:32:39 -0400
- Thread-topic: UI scripting question
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.
> 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.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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