0

While converting a document to another document , my script (written in javascript in the Script Editor on OSX 10.10) times out with an error -1712 ("AppleEvent Timed Out").

How can ignore this timeout? Or at least extend the timeout delay.

  • For clarity's sake: it is a Keynote document. The conversion runs fine for other exporttypes because they take less long to convert. No modal dialogs etc. pop up; only a progress-window as per usual is shown. – Stef Digicombo Feb 11 '15 at 15:13

1 Answers1

0

I found this paragraph inside the Javascript for Automation documentation Timeout, Considering, and Ignoring! You shall pass { timeout: 600 } as last parameter to function calls.

ShooTerKo
  • 2,242
  • 1
  • 13
  • 18
  • Looks like the current link is here: https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/OSX10-10.html#//apple_ref/doc/uid/TP40014508-CH109-SW36 – BallpointBen Sep 08 '18 at 21:06