🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10100

Re: Identify browser using Extend Script

#10100
From: Dave_Saunders
Date: Sat, 08 Jul 2006 10:06
7 lines
1338 bytes
Which browser? Presumably the "normal javascript" you refer to returns information about the browser that is host to the script being run. If you're running an ExtendScript in InDesign, then the comparable relationship is to InDesign itself -- there is no browser per se.

You can find out all you need to know about InDesign through the properties of the Application object which is referenced using the reserved name app.

The only browser that has anything to do with the scenario is the one that would be launched if you used the showDestination method for a hyperlink in a document. But there is no way from within ExtendScript to discover which browser would be launched by that.

Dave
Technical Details
Message-ID: <3bc0d8d9.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!feeder.news-service.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing
References: <3bc0d8d9.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fc9017dc3883ba71
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Identify browser using Extend Script
Message-ID: <3bc0d8d9.0@webcrossing.la2eafNXanI>
Date: Sat, 8 Jul 2006 03:06:34 -0700
References: <3bc0d8d9.-1@webcrossing.la2eafNXanI>
Lines: 15
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!feeder.news-service.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing