Answered
BridgeTalk , passing Illustrator variable to Photoshop
I need some help here...
From an Illustrator script, I want to pass app.activeDocument.path, and use it at another Photoshop script
It is possible ?
I need some help here...
From an Illustrator script, I want to pass app.activeDocument.path, and use it at another Photoshop script
It is possible ?
Try following
function main() {
var myDoc = app.activeDocument;
var _path = myDoc.path
var bt = new BridgeTalk();
bt.target = "Photoshop";
var myScript = phScript.toString() + "\r";
myScript += "phScript(\"" + _path + "\")";
bt.body = myScript;
bt.send();
}
main()
function phScript(path) {
alert("Active document path of Illustartor document : " + path)
} Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.