Article View: adobe.scripting.indesign
Article #17620Re: Input value with dialog
From: Olivier Berquin
Date: Mon, 26 May 2003 14:36
Date: Mon, 26 May 2003 14:36
17 lines
1171 bytes
1171 bytes
Hi Marcus, You can use "dialog". Copy this part of script in your script editor, "show result" of your script editor, and run it. copy (display dialog "You job number:" default answer "00000" with icon 2001) to dlog1 copy text returned of dlog1 to dlog2Text The result is a string stored in dlog2Text. Now, you can test the result: if dlog2Text = "12345" then -- do your stuff else -- do another stuff end if HTH Oli.
Technical Details
Message-ID:
<1de945d9.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de945d9.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,cb5db4cf36d16d6e,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-26 07:37:41 PST From: "Olivier Berquin" <olb@microscript.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Input value with dialog Message-ID: <1de945d9.0@WebX.la2eafNXanI> Date: Mon, 26 May 2003 07:36:15 -0700 References: <1de945d9.-1@WebX.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit