Article View: adobe.scripting.indesign
Article #15123Getting Info Out of the JS Debugger
From: Dave_Saunders
Date: Tue, 30 Dec 2003 22:25
Date: Tue, 30 Dec 2003 22:25
15 lines
1118 bytes
1118 bytes
I finally worked out how to do it!
If you want to get a value using the Debugger and you want it outside of the debugger, it's non-trivial. The problem is that you can't copy and paste from the results window.
I solved it by doing this:
prompt('dummy',File(app.name));
Then, I was able to copy the result from the prompt window! And a weird result it is too. What do you get? I got this:
/Library/Application%20Support/Adobe/fonts/Reqrd/CMaps/Adobe%20InDesign
which is really weird!
Dave
Technical Details
Message-ID:
<2ccf226c.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,fe4467249b60f26b,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-30 14:37:50 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Getting Info Out of the JS Debugger Message-ID: <2ccf226c.-1@webx.la2eafNXanI> Date: Tue, 30 Dec 2003 14:25:40 -0800 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit