Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
nicolas_PUSET@adobeforums.com #1
How to use javascript code in a plugin ?
Hi,
I'd like to use javascript in my plugin but after reading the JS API reference, i still don't understand where the code should be placed, and to call it from my plugin.
I'm quite new in Acrobat SDK and developping applications in Acrobat using Javascript, so I hope it's not a dumb question...
nicolas_PUSET@adobeforums.com Guest
-
code hint javascript api
I am extending dreamweaver to add code hinting and color coding to my proprietary scripting language. I am fine with the Javascript but I am not... -
Call JavaScript function from Acrobat Plugin
Hi All, I want to call JavaScript function from Acrobat Plugin? Where is to write JavaScript function in Acrobat SDK? Please reply.. Thanks in... -
javascript to detect if flash plugin
I want to have javascript file (.js) with a function to detect if flash plugin (for netscape ,mozilla etc) or flash activeX exists in that browser... -
execute javascript from php code
How can I execute a javascript file(test.js) from within PHP. I'm running oscommerce and want to insert a menu created in javascript by Sothink... -
download flash plugin javascript
does anyone on this list know how I could detect if flash was installed and if not download and refresh the page? -
Leonard_Rosenthol@adobeforums.com #2
Re: How to use javascript code in a plugin ?
AFExecuteThisJavaScript() is the API that you want to use to execute arbitrary JavaScript from your plugin.
Leonard
Leonard_Rosenthol@adobeforums.com Guest
-
nicolas_PUSET@adobeforums.com #3
Re: How to use javascript code in a plugin ?
Thank you Leaonard,
I had already found that 'AFExecuteThisScript' procedure but ity seems that it execute a script passed in param as a string. What about if I want to execute an external '.js' file ?
nicolas_PUSET@adobeforums.com Guest
-
Aandi_Inston@adobeforums.com #4
Re: How to use javascript code in a plugin ?
You could try reading the file and passing it as a string. Not sure if
newlines work, but it's worth a try.
Aandi Inston
Aandi_Inston@adobeforums.com Guest



Reply With Quote

