• 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: timeout block question (Axel Luttgens)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timeout block question (Axel Luttgens)


  • Subject: Re: timeout block question (Axel Luttgens)
  • From: Jim Brandt <email@hidden>
  • Date: Wed, 18 Mar 2009 19:06:56 -0500

Axel,

I'll give you a summary: it's a complex script.
Most of the commands are entered via GUI scripting.

1) I'm trying to log into Fidelity's page. It's a secure location.
2) after logging in, I select my portfolio page
3) after navigating to that page, I switch page settings to landscape mode
4) I then select a format for print option, which opens a new window.
5) in the print dialog, I select "Preview" and wait for Preview.app to open the page
6) I select the save option, entering a page name with the date as part of the name
7) after the save, I quit Preview and log out of Fidelity's page.


Because this script has hung so many times, I log key spots in a log file.
Most of the time it has hung during the opening of the page that is formatted
for print. I have added extra delays at this point. It still hangs about once a week.



On Mar 18, 2009, at 2:01 PM, applescript-users- email@hidden wrote:


Hello Jim,

The "with timeout" relates to the time needed for a reply to come back
from an application (say, the Finder) invoked from a "tell
application..." statement; it doesn't apply to AppleScript statements.
Here, it seems you are staying in AppleScript.

Perhaps would it be possible to handle the timeout in myscript.scpt?
Could you tell us a bit more about that script?

HTH,
Axel

_______________________________________________ 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
  • Follow-Ups:
    • Re: timeout block question (Axel Luttgens)
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Scripting the Colors palette
  • Next by Date: Re: timeout block question (Axel Luttgens)
  • Previous by thread: Re: timeout block question
  • Next by thread: Re: timeout block question (Axel Luttgens)
  • Index(es):
    • Date
    • Thread