🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10042

Re: Launch IE

#10042
From: Dave_Saunders
Date: Tue, 11 Jul 2006 11:04
19 lines
1461 bytes
Yes, but: the file will open in the user's browser of choice and your script will not be able to directly monitor the event.

I suspect that you could set-up something like this:

Create a text file with a name that ties it into the password transaction. Make it empty.

Make a new document and put a hyperlink in it that calls for the URL of your file with the password control.

Issue a go to destination and then delete (remove) the document.

Monitor the text file until it changes.

Your password control page will now need to write to that text file for your script to proceed.

You could build a time-check into the loop so that you don't leave InDesign in an endless loop for more some sensible time (one minute? five minutes?).

It occurs to me that this would be a way of using any HTML file to provide an interface to an InDesign JavaScript.

Dave
Technical Details
Message-ID: <3bc0df28.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0df28.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,58efbe6a726f4814
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Launch IE
Message-ID: <3bc0df28.0@webcrossing.la2eafNXanI>
Date: Tue, 11 Jul 2006 04:04:02 -0700
References: <3bc0df28.-1@webcrossing.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing