🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9298

Re: [CS1][JS] Is there any setTimeout function?

#9298
From: Richard_A._Ross
Date: Sat, 26 Aug 2006 03:03
20 lines
1158 bytes

      setTimeout function




don't think so.

      Is it possible to create a dialog window with a stop button that is shown
      when a script is running?




Not possible.

You must remember InDesign JS UI are modal. That means when you throw up a dialog, alert, prompt etc, your script is blocked at that statement until the user dismiss window.

Let's hope the next version we will have
Technical Details
Message-ID: <3bc137d7.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing
References: <3bc137d7.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,929ef874d19ccab0,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Richard_A._Ross@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS1][JS] Is there any setTimeout function?
Message-ID: <3bc137d7.0@webcrossing.la2eafNXanI>
Date: Fri, 25 Aug 2006 20:03:56 -0700
References: <3bc137d7.-1@webcrossing.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing