ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

After effects ScriptUI, adding a function on button click

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dombi Botond
After effects ScriptUI, adding a function on button click
on Aug 22, 2014 at 1:42:25 pm

How is it possible to know when my button is clicked or what element is selected from my list etc...
I could not find any reference or guide for this :/

example:


function myScript(thisObj) {
function myScript_buildUI(thisObj) {
var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "My Panel Name", [0, 0, 300,300]);

res="group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
myButton: Button{text:'Button Name'},\

myDropDownList: DropDownList{properties:{items:['Item 1 Name', 'Item 2 Name', 'Item 3 Name', 'Item 4 Name']}},\
}"

myPanel.grp = myPanel.add(res);
...


Return to posts index

Jakob Wagner
Re: After effects ScriptUI, adding a function on button click
on Apr 5, 2016 at 12:09:23 pm

If others are searching or you still need the reference:
http://jongware.mit.edu/Sui/index_1.html


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]