====== JavaScript - guiDesigner====== See the [[software:iviewer:iviewer-javascript-api|JavaScript API documentation.]] ===== Question ===== Where do I put the JavaScript? ==== Answer ==== - Put the Javascript source code file in the same folder with your GUI file. - Attach the JS file to your GUI file by : Edit -> Project Properties -> Script Manager -> Add Script -> Browse and select the JS file And/Or: - Attach some JS code directly to your button via "Button Properties". For more info http://www.commandfusion.com/docs/scripting/startup.html#button_javascript_action ===== Google Groups ===== [[https://groups.google.com/forum/?fromgroups=#!searchin/commandfusion/javascript|Click here to search our Google Groups for JavaScript.]]