Copy link to clipboard
Copied
Is it possible to pass the arguments or values from "Visual Basic to Javascript" also "Javascript to Visual Basic". Kindly advise me.
Thanks in advance!
Copy link to clipboard
Copied
Good evenng,
Only a part of your request...
Sub java()
Set myAi = CreateObject("illustrator.application.CS4")
myVariable = "myFiles"
myCodeJavaScript = "alert( 'Number of open documents: ' + documents.length + " & "' " & myVariable & "'" & ");"
myAi.DoJavaScript myCodeJavaScript
End Sub
Patrice
Copy link to clipboard
Copied
Thanks for your help...
Copy link to clipboard
Copied
Above code used to pass the arguments to DoJavaScript. But i need to pass the arguments to DoJavaScriptFile. For example i need to pass the arguments or values to ".js or .jsx" files from "VisualBasic to Javascript" Or "Javascript to VisualBasic". Kindly advise me the possibilities.
Thanks for looking into this..
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more