Article View: adobe.scripting.indesign
Article #1885Re: [CS3 JS] How to Create a Timer?
From: Dave_Saunders
Date: Wed, 21 Jan 2009 16:28
Date: Wed, 21 Jan 2009 16:28
7 lines
1091 bytes
1091 bytes
It's not possible in JavaScript. You could use a platform-dependent scripting language to do the job and have it call the JavaScript. You could attach your script to a suitable selection of menuActions so that the user unknowingly triggers your script each time he uses any of the menuActions. Ideally, an idle message would be used so that the script runs when the user isn't doing anything (as opposed to when he is) but I don't think such a thing is accessible to JavaScript. Dave
Technical Details
Message-ID:
<59b792d3.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b792d3.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,739e585aceac2770 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 JS] How to Create a Timer? Message-ID: <59b792d3.0@webcrossing.la2eafNXanI> Date: Wed, 21 Jan 2009 08:28:50 -0800 References: <59b792d3.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit