🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15454

JS and File Save dialog

#15454
From: Oleg Butrin
Date: Wed, 03 Dec 2003 02:57
3 lines
867 bytes
Problem:
var myFileName = File.saveDialog("Export object to file...", mySelectedType + " :" + mySelectedExt).
If in this dialog I select existing file (try to overwrite), then returns file name with extension. But I need to receive only file name, without extension. How I can do it?
Technical Details
Message-ID: <2cceb3d5.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c52f6f1db4ef04b9,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-02 19:07:52 PST
From: "Oleg Butrin" <butrin@hotbox.ru>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: JS and File Save dialog
Message-ID: <2cceb3d5.-1@webx.la2eafNXanI>
Date: Tue, 2 Dec 2003 18:57:41 -0800
Lines: 6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit