• 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
AppleEvent timeout error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleEvent timeout error


  • Subject: AppleEvent timeout error
  • From: Jim Brandt <email@hidden>
  • Date: Sun, 12 Jun 2011 14:44:07 -0500

I have a script that I run standalone as well as calling it from a second script.

Part of this first script moves a file into a folder using the following:

tell application "Finder" to move file (f_TBS & filename & ".html") to folder (f_TBS & "  HTML:")

When run as a standalone script this works with no problem. When this same script is called from a second script (run script alias FirstScriptName), this same line of code causes an error: -1712 Finder got an error: AppleEvent timed out. However, the file has been moved as requested, but the error is causing the script to abort after the file is moved.

If I bracket the line of code in a try block and display the error message but then let the script continue, I see the message when called from a second script but don't see the message when run standalone.

My questions are:

1) what is causing this error to occur only when the first script is being called from a second script?
2) Is this a known problem?
3) Is there a fix?

I'm running OSX 10.4.11 on a PowerPC G4 Dual 450.

TIA,

Jim Brandt
 _______________________________________________
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: AppleEvent timeout error
      • From: Luther Fuller <email@hidden>
  • Prev by Date: How to make a table?
  • Next by Date: Re: How to make a table?
  • Previous by thread: Re: How to make a table?
  • Next by thread: Re: AppleEvent timeout error
  • Index(es):
    • Date
    • Thread