Search found 203 matches

by nab
June 15th, 2007, 3:48 pm
Forum: Scripts Discussion
Topic: import comp
Replies: 2
Views: 7457

Hi Zantek, you can't import a comp, a composition is not a file. To import a single file (without safe options), put something like this in your click event function (see the smartImport.jsx demo script for more details) function OnImportBtnClicked() { app.project.importFile(new ImportOptions(theFil...
by nab
June 12th, 2007, 9:30 pm
Forum: Script requests
Topic: Move layers to layer marks
Replies: 2
Views: 8984

a very basic script could be like this: (assuming the first layer has the markers on it, layers below have to be shifted according to the marker keys time) { var myComp = app.project.activeItem; if (myComp == null || !(myComp instanceof CompItem)) alert("No active composition"); else if (m...
by nab
June 12th, 2007, 9:18 pm
Forum: Script requests
Topic: slideshow help
Replies: 1
Views: 7185

Hi Flitch, as an example you may take a look at this little demo script http://www.nabscripts.com/Forum/Scripts/myScripts/slideshowDemo.jsx slideshow parameters are driven by expressions, you can adjust your settings directly in the timeline (see the 'Controller' layer). place your images in a comp ...
by nab
May 28th, 2007, 1:33 am
Forum: Expression Discussion
Topic: A script that converts a movieclip into a raster image?
Replies: 9
Views: 18820

That's fun! I concur. :) I can't imagine a raisonable time consuming script though. It should be ok for small image with very few cells in the grid and couple of different tiles only...on a 5-frames long sequence :lol: (I didn't try actually so I'm bit Off Topic !) Last month I wrote a little Window...
by nab
May 20th, 2007, 2:14 pm
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 131592

Hi austin,
looks ok to me !

(right-click to open zoom options)
http://www.nabscripts.com/Forum/Scripts ... est000.swf
by nab
May 7th, 2007, 2:48 pm
Forum: Expression Discussion
Topic: Faster random binary number generator
Replies: 6
Views: 13724

how I make it hold for 5 frames
The easiest way is probably to use posterizeTime() (at the beginning of the code).
In a 25fps comp:

Code: Select all

posterizeTime(5);
by nab
May 6th, 2007, 8:47 pm
Forum: Expression Discussion
Topic: Faster random binary number generator
Replies: 6
Views: 13724

I'm not sure it's faster but you could try the following source text expression:

Code: Select all

numRows = 10;
numCols = 30;
str = "";

for (i = 0; i < numRows; i++) {
   for (j = 0; j < numCols; j++) {
      str += Math.round(random());
   }
   str += "\r";
}  
str;
by nab
April 30th, 2007, 10:35 pm
Forum: Paul Tuersley's Scripts
Topic: pt_ShiftLayers
Replies: 8
Views: 72358

There is a little overlap between the two panels that causes trouble on the Windows version.
Remove the second panel or make it bigger (within a bigger palette as well).
I'm sure Paul (T.) will fix it easily. :wink:
by nab
April 30th, 2007, 10:31 pm
Forum: Script requests
Topic: masks2layers
Replies: 3
Views: 10817

I've got something like that but not on my website.
If I find this script in my messy script library I will send it to you.

Edit: here is the script (should also work with multiple selected layers)
http://www.nabscripts.com/Forum/Scripts ... Layers.jsx
by nab
April 30th, 2007, 10:29 pm
Forum: Scripts Discussion
Topic: system.callSystem on windows
Replies: 6
Views: 21185

Hey Byron, you've probably already figured it out but in case you're still encountering problems, you may try that (adjust to your path): - first script (launched from AE): "script_1.jsx" var appStr = "C:\\Program Files\\Adobe\\Adobe Photoshop CS2\\Photoshop.exe"; var scriptStr =...
by nab
March 31st, 2007, 4:30 pm
Forum: Scripts Discussion
Topic: Scripting Feature Requests For Next Release!
Replies: 20
Views: 40978

- convert audio to keyframes
this is no more a 'request' as we can invoke this command with

Code: Select all

app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"));
by nab
March 31st, 2007, 4:25 pm
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 131592

Hi guys, actually we don't need any plug-in to retrieve the text layer dimensions, scripting provides all we need. Less than ten lines of scripting are required. the key is the use of the -undocumented- "executeCommand()" application method. we can create a new mask (default rectangular ma...
by nab
March 28th, 2007, 4:51 pm
Forum: General Scripts Library
Topic: BG Renderer
Replies: 42
Views: 133561

I don't think we can specify anything about language to aerender. Actually I'm running an english OS, so french expressions are broken when given to aerender (as default AE is in english). One solution might be to rewrite your expressions so that they become language independent (change "Slider...
by nab
March 26th, 2007, 1:27 pm
Forum: Scripts Discussion
Topic: Keyframe Assistant -> Sequence Layers via .jsx?
Replies: 4
Views: 10491

You can't call this command but you can easilly write a script that does the same job -and this is fully customizable as you write you own sequencing method.

I think Paul has such a script (check his scripts section at the bottom of the main page); I've also a similar script on my website.