Article View: adobe.scripting.indesign
Article #9760Path problem on Mac OS X
From: Kanagaraj
Date: Mon, 17 Jul 2006 05:33
Date: Mon, 17 Jul 2006 05:33
28 lines
1230 bytes
1230 bytes
Hi,
I have path problem on Mac OS X. I have one figures contaning folder.
I choose that folder using
var FigFolder=Folder.selectDialog("Choose the figure containg folder");
statement.
I have "SomeFig.eps" in that folder.
I use the following code.
var FigureFolderPath=FigFolder.fsName;
FigurePath= FigureFolderPath + "/" + "SomeFig.eps";
While opening FigurePath, it throws error.
But the same script is working on PC. How can I get around this problem?
I know that fsname is platform dependant.
Is any solution to solve the above problem?
Any help would be greatly appriciated.
Thanks in advance.
Regards,
Easwaran.P.
Technical Details
Message-ID:
<3bc0ef5c.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,ba66db5fe5d504d6,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Kanagaraj@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Path problem on Mac OS X Message-ID: <3bc0ef5c.-1@webcrossing.la2eafNXanI> Date: Sun, 16 Jul 2006 22:33:31 -0700 Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing