Search found 6 matches

by pecollinni
October 24th, 2017, 3:55 am
Forum: Scripts Discussion
Topic: Run script on application focus switch?
Replies: 0
Views: 7983

Run script on application focus switch?

So we have folders like "..\Support Files\Scripts\Startup" and "..\Support Files\Scripts\Shutdown" to run scripts in either of these cases. Is there a way to run them when we change our focus window to another application? I want to create seamless workflow between After Effects ...
by pecollinni
April 13th, 2014, 3:53 pm
Forum: Script requests
Topic: Select timeline after running script
Replies: 3
Views: 12603

Re: Select timeline after running script

you can do something like this. This will switch focus to the render queue panel first, and then move the focus to the active composition timeline. tmpName = app.project.activeItem.name; // specify the active composition name app.executeCommand(app.findMenuCommandId("Render Queue")); app.e...
by pecollinni
April 8th, 2014, 5:48 am
Forum: Scripts Discussion
Topic: get pixels RGB values of current frame?
Replies: 0
Views: 7629

get pixels RGB values of current frame?

Hello, I'm creating a little script that should work in conjunction with "PSOFT Blur Cell" effect (that effect blurs only the boundaries between specific colors), so what i need is a list of colors that I want to blur. Is there a way to tell javascript to somehow scan the whole frame, and ...
by pecollinni
December 13th, 2013, 5:01 am
Forum: Scripts Discussion
Topic: store variables locally on hdd or direcly in .js file?
Replies: 2
Views: 8310

Re: store variables locally on hdd or direcly in .js file?

yup, this works perfectly! I didn't paid enough attention in the scripting guide...
thanks for the very detailed answer.

endUndoGroup :D
by pecollinni
December 12th, 2013, 6:37 am
Forum: Scripts Discussion
Topic: store variables locally on hdd or direcly in .js file?
Replies: 2
Views: 8310

store variables locally on hdd or direcly in .js file?

Hi, basically, I have an "edittext" box and a "chose" button, so user could select the path on hard drive which would be processed later in the script. My question is, can that path (which is a string value) stay unchanged, for the next script launch? so whatever user chose it wi...
by pecollinni
November 30th, 2013, 8:59 am
Forum: Scripts Discussion
Topic: dockable UI - change colors??
Replies: 1
Views: 7247

dockable UI - change colors??

hello, is it possible to change the colors of buttons, progressbars etc. in dockable ui panel? I found this on adobe forum, but I can't get it working for *panels* :? var win = new Window("palette", "New", undefined); //Creates window var grp = win.add("group"); var but...