🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2632

How to call applescript values?

#2632
From: subha_oviya
Date: Fri, 12 Dec 2008 16:31
14 lines
984 bytes
Hi,

Now am working in indesign CS2 Scripting.. I need to call a applescript.. so that i used doScript..

have 2 doubts...

1) If i choose a file in the javascript, the file path structure is like "~/Desktop/New/1.jpg". I need to get the full parent folder path of file.. is it possible???

2) If i set a value to a variable in applescript.. how do i call the value from the javascript??? using doScript???

Thanks in advance..

by
Subha
Technical Details
Message-ID: <59b740e9.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ab928e8669f41924,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: subha_oviya@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: How to call applescript values?
Message-ID: <59b740e9.-1@webcrossing.la2eafNXanI>
Date: Fri, 12 Dec 2008 08:31:50 -0800
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit