ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Dockable UI panel

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
martin jean-s├ębastien
Dockable UI panel
on Nov 7, 2013 at 7:56:06 am

I wrote my first script, and it works successfully!
BUT, I want it to be dockable and I follow a tut which teach me how to write it.... but it doesn't work..... When I call it from the window of after effects, my panel is empty.....
Also, I just want to assign a function to these 5 tabcontent : how can I make it?
I copy/paste the code below, if somebody can help me, I would really appreciated (excuse for my english, I'm a french guy!) :

function myScript(thisObj){
function myScript_buildUI(thisObj){
var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "AK_toolkit_V01", undefined, {resizeable:true});

res = "group{orientation:'row',\
myTabbedPanel: Panel{type:'tabbedpanel', text:'',\
myTab1: Panel{type:'tab', text:'tab1',\
myTabContent1: Button{text:'my tabbed button1'},\
myTabContent2: Button{text:'my tabbed button2'},\
myTabContent3: Button{text:'my tabbed button3'},\
myTabContent4: Button{text:'my tabbed button4'},\
myTabContent5: Button{text:'my tabbed button5'},\
myTab2: Panel{type:'tab', text:'tab2',\
myTab3: Panel{type:'tab', text:'tab3',\

myPanel.grp = myPanel.add(res);

//myPanel.grp.myTabbedPanel.myTab1.myTabContent1.onClick = function()

return myPanel;
var myScriptPal = myScript_buildUI(thisObj);

if((myScriptPal != null)&&(myScriptPal instanceof Window)){;;




Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved