🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2066

Re: [JS,AS,CS3]running javascript in bridge from applescript

#2066
From: Kasyan Servetsky
Date: Wed, 07 Jan 2009 19:08
10 lines
1344 bytes
Hi James,

Bridge doesn't support AppleScript, so JavaScript is the only option.
But you can run JS in Bride from AS via another Adobe application, for example, InDesign using BridgeTalk.

A couple of years ago I did an experiment in Xcode 2.2. The goal was to create a simple interface with Interface Builder � a window with 5 buttons grouped into 2 panels. The buttons have an AS attached to them. And this AS, in turn, triggers a JS from InDesign to Bridge, using BridgeTalk, and sending some parameters in variables. The JS in Bridge writes some metadata and sets label.

To demonstrate the approach I�ll post the script in the next post.

Kasyan
Technical Details
Message-ID: <59b7725f.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
References: <59b7725f.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8400ccc6b1ede1f
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Kasyan Servetsky" <askoldich@yahoo.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS,AS,CS3]running javascript in bridge from applescript
Message-ID: <59b7725f.0@webcrossing.la2eafNXanI>
Date: Wed, 7 Jan 2009 11:08:57 -0800
References: <59b7725f.-1@webcrossing.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Original-Lines: 16