Article View: adobe.scripting.indesign
Article #2461Re: [JS] File.openDialog parameter
From: Peter Kahrel
Date: Tue, 16 Dec 2008 10:03
Date: Tue, 16 Dec 2008 10:03
13 lines
954 bytes
954 bytes
Fred,
You're right, the documentation is wrong. Semicolons are used to group similar filters on the same line, commas for creating new lines for filters:
var myFileMain = File.openDialog ("Select a file", "Documents:*.doc;*.docx,
RTF files:*.rtf", true)
The documentation has it the wrong way round.
Peter
Technical Details
Message-ID:
<59b7471c.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<379FB6E200B20CB39C32C5C9FE563D70@in.webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,37b6f47a3be03b6b X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Kahrel" <kahrel@kahrel.plus.com> Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS] File.openDialog parameter Message-ID: <59b7471c.2@webcrossing.la2eafNXanI> Date: Tue, 16 Dec 2008 02:03:37 -0800 References: <379FB6E200B20CB39C32C5C9FE563D70@in.webcrossing.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit