• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UI scripting question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: UI scripting question (From: John Baltutis <email@hidden>)

  • Prev by Date: RE: Simple Display Dialog confusion
  • Next by Date: Anyone here using source control?
  • Previous by thread: Re: UI scripting question
  • Next by thread: Re: UI scripting question
  • Index(es):
    • Date
    • Thread