Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Bridge to Illustrator

$
0
0

Hello everyone,

 

I am working on a file saving script. I am trying to figure out how to send information from bridge to my illustrator script. I need to know the file path that is active in bridge, I can do this in a bridge script by app.document.presentationPath; I am just trying to send that information to use in illustrator for my file saving.

 

#target "illustrator-60.064"

 

var targetApp = BridgeTalk.getSpecifier( "bridge-5.064");

if( targetApp ) {

 

var bt = new BridgeTalk;

bt.target = targetApp;

bt.body = app.document.presentationPath; //error

 

bt.send();

 

}

 

alert (bt);

 

I'm new to bridgetalk I have never used it, I know I am using it wrong hence the error lol, if anyone could get me on track it would be greatly appreciated.

 

Thanks!!


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>