Search found 203 matches

by nab
October 15th, 2007, 8:09 pm
Forum: Scripts Discussion
Topic: add an additional Output Module
Replies: 3
Views: 8916

I've had the exact same problem this evening! I've tried different approches (duplicate(), executeCommand()...) with no success and spent 1/2 hour in the Guide to find the solution. (I should have checked the forum first, it took me 2 minutes to find this post). The add() method for OMCollection is ...
by nab
October 15th, 2007, 7:59 pm
Forum: Scripts Discussion
Topic: You Do Not Have Read Access to File:
Replies: 4
Views: 10621

eureka i've found the solution ! (okay six month later :lol:)

the -r flag works fine when we type "afterfx" without specifying ".exe"

Code: Select all

afterfx -r c:\temp\test.jsx
by nab
October 1st, 2007, 5:19 pm
Forum: Scripts Discussion
Topic: Deleting Files from Disk via scripting
Replies: 5
Views: 11113

some additional info... . getFiles() returns an array of File (or Folder) objects, so no need to redeclare each element as a File. . you can actually "iterate ++": the number of files in the folder is reduced after each removal but the length of the original array that stores the objects s...
by nab
October 1st, 2007, 5:11 pm
Forum: Scripts Discussion
Topic: undefined is not an object in E4X xml parsing
Replies: 7
Views: 14469

wow, is it a script for AE ?
looks like new school technique, what file are you parsing that way ?
by nab
September 27th, 2007, 3:01 pm
Forum: Scripts Discussion
Topic: Japanese scripters are better informed
Replies: 15
Views: 28903

thanks to both of you, I thought autofix was sort of find/replace in all broken expressions found in the project.
by nab
September 21st, 2007, 11:22 am
Forum: Scripts Discussion
Topic: Japanese scripters are better informed
Replies: 15
Views: 28903

Hi guys, I'm having trouble with autoFixExpressions, does it work for you ? If I create a solid, add a slider control and write (for example) the following opacity expression: effect("Slider Control")("xxx"); and now execute this script: app.project.autoFixExpressions("xxx&q...
by nab
September 18th, 2007, 7:52 pm
Forum: Scripts Discussion
Topic: app.executeCommand() and GUI prompts
Replies: 5
Views: 11574

It's possible on Windows but it's kind of John Rambo script :) I describe the way I achieved it for those who'd like to try.. There are actually three components: .exe, .bat and .jsx - The .exe is a little program (10 lines or so) that retrieves a handle to the "Save Layered File As..." di...
by nab
August 9th, 2007, 3:04 pm
Forum: Scripts Discussion
Topic: Item : by name ?
Replies: 9
Views: 16340

m <= n , unless you want to skip the last item !

when you have retrieved the item (in a variable), do whatever you want with it (add layers, change settings...)

the scripting guide is a good way to start :wink:
by nab
August 3rd, 2007, 4:11 pm
Forum: Scripts Discussion
Topic: Item : by name ?
Replies: 9
Views: 16340

Index starts at 1 (not 0) for project items.
by nab
July 16th, 2007, 5:58 pm
Forum: Script requests
Topic: Trim comp to longest layer script?
Replies: 4
Views: 11046

for further reference...
I noticed Jeff also experienced odd behavior with the workAreaDuration attribute in his rd_RenderLayers.jsx
http://www.redefinery.com/ae/view.php?i ... nderLayers
Look into the code to see how he fixed the problem ( "- 0.001" stuff)
by nab
July 11th, 2007, 4:56 pm
Forum: Scripts Discussion
Topic: script for this?
Replies: 4
Views: 11794

Dan you're right :D, here is the script http://www.nabscripts.com/Forum/Scripts/myScripts/CharSep.jsx Actually I anticipated the limitation of such script as you end up with a bunch of text layers having the same size as the original even if it shows a single character, which is not very natural for...
by nab
July 10th, 2007, 2:22 pm
Forum: Script requests
Topic: Trim comp to longest layer script?
Replies: 4
Views: 11046

Hi fiveshorts, I thought it was easy but for some unknown reasons I can't get it to work properly...maybe other enhancers will take look at it. - you have to close the "timeline frame" (otherwise only the current comp is updated).. - error occurred if some layers have been shifted beyond t...
by nab
July 10th, 2007, 1:43 pm
Forum: Scripts Discussion
Topic: script for this?
Replies: 4
Views: 11794

I don't think so...to me keeping letters where they are is not doable.
by nab
July 7th, 2007, 4:04 am
Forum: Scripts Discussion
Topic: Scripting Feature Requests For Next Release!
Replies: 20
Views: 41024

- 3D point control (expression controls)
- new comp attribute to switch between LayerName/SourceName columns, something like myComp.showLayerName = true;
by nab
June 17th, 2007, 6:45 pm
Forum: Script requests
Topic: Scale multiple compositions by percent
Replies: 3
Views: 32320

Hi Adam, you could try something like that var percent = prompt("Resize factor (percentage):","50"); var mySelection = app.project.selection; app.beginUndoGroup("scaleSelectedComps.jsx"); for (var i = 0; i < mySelection.length; i++) { if (mySelection[i] instanceof CompI...