Search found 14 matches

by zold
August 20th, 2016, 1:32 am
Forum: Script requests
Topic: Mass "Remove Masks" script?
Replies: 2
Views: 11827

Re: Mass "Remove Masks" script?

You can also use my much-neglected "Mask Selection Helper" script on crgreen.com. It allows you to select all or some masks based on index or name matching. After selecting, you have to close the script window , then hit delete and the selected masks (even if they're not revealed) are dele...
by zold
April 24th, 2016, 7:03 pm
Forum: Script requests
Topic: Solid Renamer with its WIDTH and HEIGHT
Replies: 4
Views: 14594

Re: Solid Renamer with its WIDTH and HEIGHT

Here's a zip archive of the script which will appear on crgreen.com before too long.
I hope it works for ya!
by zold
April 22nd, 2016, 8:04 pm
Forum: Script requests
Topic: Solid Renamer with its WIDTH and HEIGHT
Replies: 4
Views: 14594

Re: Solid Renamer with its WIDTH and HEIGHT

Just saw your post, Martin.
This is a fine idea. I'm going to write this script and put it on my website soon. I'll let you know when it is there.
by zold
February 7th, 2016, 3:40 am
Forum: Scripts Discussion
Topic: New Window Appearing behind After Effects
Replies: 2
Views: 8904

Re: New Window Appearing behind After Effects

Windows of type 'window' are never practical to use in AE. You should use palettes, panels or dialogs.

Code: Select all

new Window('palette'
would work better. Consider using my UI builder "Boethos", available at crgreen.com/boethos
It's totally free.

-cg
by zold
August 7th, 2015, 5:09 pm
Forum: Scripts Discussion
Topic: try...catch
Replies: 6
Views: 20293

Re: try...catch

[EDIT][not that anyone is paying attention, but ...] [[[ I haven't found a working solution to check or set the javascript debugger in v13.5(1) of AE CC. The "solution" I came up with below works great to seemingly switch the setting, then, after quitting AE, make AE fail to launch until ...
by zold
March 6th, 2015, 4:25 pm
Forum: Scripts Discussion
Topic: Script does not work on mac os, only on windows? SOLVED!
Replies: 2
Views: 8497

Re: Script does not work on mac os, only on windows, WHY?

Hi. I have to confess that I am currently on a (Mac) machine that has no CC or CS apps on it, other than ExtendScript Toolkit. I know. Don't ask. So I won't be able to test for the AE functionality until I get to another machine tonight (but that part looks totally right to me). But I can report tha...
by zold
December 5th, 2014, 2:37 am
Forum: Script requests
Topic: Batch Render for Keying
Replies: 1
Views: 8403

Re: Batch Render for Keying

Here's a link to a movie (about 10 Megs) which describes a way to do this using two of my scripts (avl. on crgreen.com/aescripts) http://crgreen.com/qcs/howToUseQCompSections2_h.mov I'll probably keep this up for a week or so. The general idea is you duplicate those layers, replace the duplicates wi...
by zold
May 9th, 2012, 6:51 pm
Forum: Scripts Discussion
Topic: launch vbs file in an AE script
Replies: 1
Views: 6724

Re: launch vbs file in an AE script

Check page 169 of CS3 (+) scripting guide: System callSystem() method system.callSystem (cmdLineToExecute); Description Executes a system command, as if you had typed it on the operating system’s command line. Returns whatever the system outputs in response to the command, if anything. In Windows,...
by zold
November 6th, 2011, 4:32 pm
Forum: Scripts Discussion
Topic: looking for all keyframes
Replies: 4
Views: 9875

Re: looking for all keyframes

Right. Gotcha. Thanks a ton.
by zold
November 6th, 2011, 1:50 pm
Forum: Scripts Discussion
Topic: looking for all keyframes
Replies: 4
Views: 9875

Re: looking for all keyframes

That's pretty much it. Keep in mind that you won't be able to access the data for any property that has "custom" data. Thanks for the tip, Dan. Could you give a quick example of this? I don't think it is going to be an issue with what I'm working on, but I don't want to miss any potential...
by zold
November 5th, 2011, 9:10 pm
Forum: Scripts Discussion
Topic: looking for all keyframes
Replies: 4
Views: 9875

looking for all keyframes

Here's something I'm surprised I've never seen or asked: Is there a good (meaning foolproof and efficient) trick for knowing what properties on a given layer have keyframes? Let's say you have no idea what properties are keyframed -- it could be one property or a hundred properties, Adobe or third-p...
by zold
October 18th, 2011, 5:49 pm
Forum: Scripts Discussion
Topic: Get file name of img seq except frame padding?
Replies: 6
Views: 14726

Re: Get file name of img seq except frame padding?

and you could also use the regular expression solution (but if you want a number, parseInt it):

Code: Select all

n = "000100";
nAsString = (n.replace(/^[0]+/g,""));
//100 as string ("100")
nAsInteger = parseInt(nAsString);
// 100 as integer
by zold
October 18th, 2011, 8:34 am
Forum: Scripts Discussion
Topic: Get file name of img seq except frame padding?
Replies: 6
Views: 14726

Re: Get file name of img seq except frame padding?

[ UPDATE: Okay I just realized that using parseInt() is a very bad idea in this case, as using "padded" zeros is interpreted as octal (see http://www.w3schools.com/jsref/jsref_parseInt.asp -- "If the string begins with "0", the radix is 8 (octal). This feature is deprecated&...
by zold
October 14th, 2011, 3:05 pm
Forum: Scripts Discussion
Topic: Get file name of img seq except frame padding?
Replies: 6
Views: 14726

Re: Get file name of img seq except frame padding?

temp/shot01_####.dpx temp/shot01_#######.dpx temp/shot01.#.dpx How would I do to find just "shot01"? It would be hard to search the string and just ignore those characters, as there are so many possible naming conventions. For the first problem, you could do something like the following: ...