Applescript Error Appleevent Timed Out
Contents |
MalasaƱa, Madrid Registered: 2002-11-20 Posts: 2014 What is "AppleEvent timed out"? This is an apple event error, which means that you are not allowed to execute more code because you are very slow.For apple event timed out 1712 example, you are targeting the Finder to duplicate a folder, which has a
Appleevent Timed Out. (-1712) Diskmaker
size of 888 terabytes. After it is duplicated, you wish rename the new folder to "duplicate gotta hey!". This apple event timed out diskmaker is the code:Applescript:tell application "Finder" duplicate alias "path:to:really BIG folder:" set name of result to "duplicate gotta hey!" end tellThe Finder will receive the order: "duplicate!" And AppleScript will wait applescript with timeout for a response: "done, sir!".If AppleScript gets tired of waiting for an answer, it will time out and will die throwing the error "AppleEvent timed out". So, the "set name..." line won't be executed.Actually, AS 1.9.1, AppleScript gets tired after 2 minutes. However, you can prevent this from happening using the following statement:Applescript:with timeout of (30 * 60) seconds tell application "Finder"
Apple Event Errors
duplicate alias "path:to:really BIG folder:" set name of result to "duplicate gotta hey!" end tell end timeoutNow, AppleScript will get tired after 30 minutes!Note that this error will happen only when you are targeting a process (eg, the Finder). However, if you use the following code...Applescript:set aFolder to (choose folder with prompt "Choose a folder, please...")... If you were an irresolute folk, you could wait for 17 days before choosing a folder, and you wouldn't receive a timeout error. Filed under: Finder Offline Pages: 1 Index»Core Language»What is "AppleEvent timed out"? Board footer Jump to ScriptWire unScripted AppleScript | Mac OS X AppleScriptObjC and Xcode AppleScript Studio & Xcode Code Exchange Automator Books / Resources >>> AppleScript Links >>> MacDeveloper >>> iBetaTest >>> About the Applescript Sourcebook AppleScript for Absolute Starters About Applescript About Automator Applescript Versions Scripting Tips Scripting Components Bugs Discovered in Leopard Bugs Discovered in Tiger AppleScript Language Guide >>> General Information Core Language Applescript Studio OS X Finder Text Manipulation Application Scripting Scripting Additions Folder Actions Miscellaneous Info Powered by FluxBB [ Generated in 0.058 seconds, 8 queries executed ]
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the applescript with timeout example company Business Learn more about hiring developers or posting ads with us Stack Overflow applescript increase timeout Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Applescript Without Timeout
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Corona SDK Error “Apple Event Timed Out” up vote 1 down vote favorite 1 I am using Lua Glider http://macscripter.net/viewtopic.php?id=24461 for Corona SDK , When I am running my Application I got the erroe like "Apple Event Timed Out" And I am using Mac. I am getting the following Error in Plugin Console System Lua Interpreter plugin loaded successfully Corona plugin loaded successfully Moai plugin loaded successfully Marmalade plugin loaded successfully Love 2d plugin loaded successfully Gideros plugin loaded successfully 56:74: execution error: Corona Simulator got an error: AppleEvent timed out. (-1712) Can http://stackoverflow.com/questions/20674214/corona-sdk-error-apple-event-timed-out any one Help me lua corona share|improve this question asked Dec 19 '13 at 5:39 N.V.Rao 486621 Is your Lua Glider latest 1.9, if not first update it. –RAIS Dec 19 '13 at 6:42 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted This is an apple event error, which means that you are not allowed to execute more code because you are very slow. For example, you are targeting the Finder to duplicate a folder, which has a size of 888 terabytes. After it is duplicated, you wish rename the new folder to "duplicate gotta hey!". This is the code: Open this Scriplet in your Editor: tell application "Finder" duplicate alias "path:to:really BIG folder:" set name of result to "duplicate gotta hey!" end tell The Finder will receive the order: "duplicate!" And AppleScript will wait for a response: "done, sir!". If AppleScript gets tired of waiting for an answer, it will time out and will die throwing the error "AppleEvent timed out". So, the "set name..." line won't be executed. Actually, AS 1.9.1, AppleScript gets tired after 2 minutes. However, you can prevent this from happening using the following statement: Open this Scriplet in your Editor: with timeout of (30 * 60) seconds tell application "Finder" dupli
AppleEvent timed out From: g3pb