Search found 203 matches

by nab
October 31st, 2014, 3:51 pm
Forum: Scripts Discussion
Topic: Create a custom Control effect
Replies: 35
Views: 91831

Re: Create a custom Control effect

Popup control in plug-ins uses this separator (AE SDK).
by nab
October 29th, 2014, 6:44 am
Forum: Scripts Discussion
Topic: Create a custom Control effect
Replies: 35
Views: 91831

Re: Create a custom Control effect

What to put instead of the "?" below to get an unselectable separator : <Popup name="$$$/AE/Preset/List=List" popup_string="item1|item2|?|item3" default="1"/> I've tried millions of things and none worked. Not a tremendously important question but that would ...
by nab
April 29th, 2011, 2:45 pm
Forum: Scripts Discussion
Topic: Extract strings from online XML
Replies: 2
Views: 9345

Re: Extract strings from online XML

This is not the nicest way to write it, but you could retrieve the tempe_matin attribute of the second meteoweather like this:

Code: Select all

var tempmatin = rss.elements()[0].elements()[0].elements()[1].@tempe_matin;
by nab
September 29th, 2010, 9:41 pm
Forum: Scripts Discussion
Topic: Setting the active, working composition
Replies: 8
Views: 20337

Re: Setting the active, working composition

Woh cool ! I've already noticed this function in ESTK's data browser, but never used it. The first argument is a flag to show/hide the Transparency Grid. The second argument is the magnification ratio. The third argument is the exposure. Here is another undocumented function that may be useful, thou...
by nab
September 10th, 2010, 8:28 pm
Forum: Scripts Discussion
Topic: (Comp) Start Frame question
Replies: 2
Views: 8000

Re: (Comp) Start Frame question

Thanks a lot Paul, problem solved !
Indeed, "Start numbering frames at" in the project settings was set to 1. Sometimes all these settings everywhere drive me nuts :)
by nab
September 9th, 2010, 10:28 am
Forum: Scripts Discussion
Topic: (Comp) Start Frame question
Replies: 2
Views: 8000

(Comp) Start Frame question

Not directly related to scripting, but... In CS4, I can manually set the Start Frame (in the comp settings) to any non-negative number I choose to start counting from (as specified in the Doc). In CS5, I cannot set the Start Frame to 0 ! (any attempt to do so will reset the value to 1). This problem...
by nab
September 3rd, 2010, 10:18 am
Forum: Scripts Discussion
Topic: Script to Slice a large Comp canvas Into cropped-Precomps.
Replies: 2
Views: 8261

Re: Script to Slice a large Comp canvas Into cropped-Precomps.

See if SplitImage fits your needs ("This script allows you to split the selected project item into rectangular pieces.").
by nab
August 28th, 2010, 11:38 pm
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 25075

Re: Progress Bars and User Updates

You're right Yenaphe (as long as the script is displayed in a Window, of course). I actually forgot that I was already using update() in CS4 (this was useful for Mac at that time!).

Here is a summarize table (nice symmetric bug :) ):

Image
by nab
August 23rd, 2010, 9:28 pm
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 25075

Re: Progress Bars and User Updates

Thanks Lloyd.
Neither panel nor palette work for me. Bug reported.
by nab
August 23rd, 2010, 3:47 pm
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 25075

Re: Progress Bars and User Updates

In CS5, this bug has been fixed on Mac.
But the bug now appears on Windows (test on Windows 7) :roll: .
Can someone confirm that before I file a bug report ?
(I'm using the SnpCreateProgressBar.jsx script from ExtendScript toolkit CS5 > SDK > Samples > javascript)
by nab
August 20th, 2010, 8:33 pm
Forum: Scripts Discussion
Topic: setProxyToNone() bug in CS5 ?
Replies: 4
Views: 12215

Re: setProxyToNone() bug in CS5 ?

I've done a quick test on Windows 7...crash as well.
by nab
August 16th, 2010, 2:12 pm
Forum: Scripts Discussion
Topic: setProxyToNone() bug in CS5 ?
Replies: 4
Views: 12215

Re: setProxyToNone() bug in CS5 ?

Thanks Fred, I've filed a bug report.
by nab
August 14th, 2010, 5:15 pm
Forum: Scripts Discussion
Topic: setProxyToNone() bug in CS5 ?
Replies: 4
Views: 12215

setProxyToNone() bug in CS5 ?

Hi guys,
setProxyToNone() crash my CS5 but used to work fine in CS4.
Could someone confirm this bug ?

Here is a sample code (assuming the first selected item has a proxy):

Code: Select all

var curItem = app.project.selection[0];
if (curItem.useProxy)
{
	curItem.setProxyToNone();
}
Thanks
by nab
June 15th, 2010, 5:57 pm
Forum: Scripts Discussion
Topic: Open a comp
Replies: 12
Views: 25891

Re: Open a comp

Or...

Code: Select all

alert("Execution finished. Please open SuperComp.");
by nab
June 15th, 2010, 5:52 pm
Forum: Scripts Discussion
Topic: XML scripting examples?
Replies: 1
Views: 7023

Re: XML scripting examples?

Here is some pseudocode to get started. var file = ...; // read XML var content = file.read(); var xml = new XML(content); var elements = xml.elements(); // retrieve all elements at root level in standard array ... // write XML var content = "... xml content ..."; file.write(content);