Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to pass arguments from Visual Basic to javascript?

New Here ,
Sep 18, 2009 Sep 18, 2009

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!

TOPICS
Scripting
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Participant ,
Oct 10, 2009 Oct 10, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2009 Oct 13, 2009

Thanks for your help...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 21, 2009 Oct 21, 2009
LATEST

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..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines