Ah, OK. I was going to work on a script for you, but glad you found a solution.
Jeff
Search found 112 matches
- March 24th, 2006, 10:35 pm
- Forum: Scripts Discussion
- Topic: variation on precomp to duration...
- Replies: 9
- Views: 16050
- March 24th, 2006, 4:38 am
- Forum: Scripts Discussion
- Topic: Why i can't create ActiveXObject("Scripting.Dictionary&
- Replies: 4
- Views: 10961
dictionary (aka associative array)
If by "dictionary" you mean an associative array, just define it like:
var myDict = {"width":320, "height":240, "frameRate":30};
then reference using array syntax, e.g.,
var myWidth = myDict["width"];
Is that what you're looking for?
Jeff
var myDict = {"width":320, "height":240, "frameRate":30};
then reference using array syntax, e.g.,
var myWidth = myDict["width"];
Is that what you're looking for?
Jeff
- March 23rd, 2006, 6:56 pm
- Forum: Scripts Discussion
- Topic: Why i can't create ActiveXObject("Scripting.Dictionary&
- Replies: 4
- Views: 10961
unfamiliar with that constructor
Hi xue-feng,
Is that supported by After Effects? I don't see it in either the After Effects or Bridge scripting docs.
Jeff
Is that supported by After Effects? I don't see it in either the After Effects or Bridge scripting docs.
Jeff
- March 23rd, 2006, 6:53 pm
- Forum: Scripts Discussion
- Topic: Error running script with AE7
- Replies: 2
- Views: 7378
null object?
Hi Byron, I'm not aware of any changes that would affect that code. What was the error? Was it "null is not an object"? If so, maybe the project being opened was saved in a previous version? When the project is opened in a newer version (as untitled), proj.file is null. I noticed similar b...
- March 19th, 2006, 7:54 pm
- Forum: Scripts Discussion
- Topic: reporting values, can't figure out why this won't work.
- Replies: 4
- Views: 10159
I meant that you can access those attributes of the layer's source only if the layer is an AVLayer; text/camera/light layers don't have pixel aspect, duration (other than using the comp's duration), or frame rate values. After the values are copied to your variables, you can use them later on in you...
- March 19th, 2006, 10:47 am
- Forum: Scripts Discussion
- Topic: reporting values, can't figure out why this won't work.
- Replies: 4
- Views: 10159
Layer detection
Hi ScottG, First thing I noticed (not related to your issue) is that your check for myLayers.length is using the assignment operator (=) instead of the comparison operator (==). As for your question...you can get values for pixelAspect, duration, and frameRate for AVLayer objects, but these attribut...
- March 18th, 2006, 6:10 pm
- Forum: Scripts Discussion
- Topic: autorun a script on AE launch?
- Replies: 3
- Views: 8871
applyPreset()
Hi Paul, You need to use a File object for the file on disk. Multiple presets can have the same name (e.g., if they're in different folders on disk), so I can see how it makes sense that a file reference is required. The preset's keyframes should be applied relative to the current time (CTI), so you...
- March 16th, 2006, 7:06 pm
- Forum: Scripts Discussion
- Topic: autorun a script on AE launch?
- Replies: 3
- Views: 8871
Run script at startup, apply .ffx
Hi Varangian,
You can place a script in the Scripts > Startup folder.
As for applying a preset (.ffx) file, you can use the Layer applyPreset() method in AE7.
Hope this helps.
Jeff
You can place a script in the Scripts > Startup folder.
As for applying a preset (.ffx) file, you can use the Layer applyPreset() method in AE7.
Hope this helps.
Jeff
- March 11th, 2006, 6:11 pm
- Forum: Scripts Discussion
- Topic: AE7 textlayer propreties, are they accessible yet?
- Replies: 2
- Views: 7966
Text layer settings
Hi Soviut,
Unfortunately, the settings in the Paragraph and Character panels are not accessible via scripting. Only the properties that appear in the Timeline (e.g., Source Text, text animator, text selector) are accessible.
Jeff
Unfortunately, the settings in the Paragraph and Character panels are not accessible via scripting. Only the properties that appear in the Timeline (e.g., Source Text, text animator, text selector) are accessible.
Jeff
- March 9th, 2006, 8:51 pm
- Forum: Scripts Discussion
- Topic: AE7 relative window layouts
- Replies: 2
- Views: 8310
Automatic layout not supported
Hi Soviut,
If you're referring to the AutoLayoutManager stuff, unfortunately it's not supported in AE7.
I specify the coordinates of my controls relative to each other, so that helps a little.
Jeff
If you're referring to the AutoLayoutManager stuff, unfortunately it's not supported in AE7.
I specify the coordinates of my controls relative to each other, so that helps a little.
Jeff
- March 1st, 2006, 8:14 pm
- Forum: Scripts Discussion
- Topic: go to the next line in an edittext box ?
- Replies: 2
- Views: 7839
multiline edittext
Hi calier,
Use \r\n, and specify the multiline arg after the string, as in:
..., "line one\r\nline two", {multiline: true});
Hope this helps.
Jeff
Use \r\n, and specify the multiline arg after the string, as in:
..., "line one\r\nline two", {multiline: true});
Hope this helps.
Jeff
- February 21st, 2006, 1:29 am
- Forum: Scripts Discussion
- Topic: announcement: my after effects script site
- Replies: 5
- Views: 12001
Re: nice!
Hi Chris,
Scripting work? You might be able to pick up a project here and there.
Most of my scripts have been about doing fun/interesting/challenging projects and sharing the knowledge than about paying the mortgage.
Jeff
Scripting work? You might be able to pick up a project here and there.
Most of my scripts have been about doing fun/interesting/challenging projects and sharing the knowledge than about paying the mortgage.
Jeff
- February 20th, 2006, 10:00 pm
- Forum: Scripts Discussion
- Topic: announcement: my after effects script site
- Replies: 5
- Views: 12001
Re: announcement: my after effects script site
Congrats! Thanks for sharing your work with the AE community.
I've added a link to your scripting site on my scripting site (http://www.redefinery.com/ae/).
Jeff
I've added a link to your scripting site on my scripting site (http://www.redefinery.com/ae/).
Jeff
- February 13th, 2006, 10:56 pm
- Forum: Scripts Discussion
- Topic: adding a tracking property
- Replies: 2
- Views: 9357
Re: adding a tracking property
I want to get the Tracking property instead of the Fill color one. I've tried addProperty("ADBE Text Tracking") addProperty("ADBE Text Tracking Type") addProperty("ADBE Text Tracking Amount") none of them work... You don't need "ADBE Text Tracking". The "...
- January 31st, 2006, 6:47 pm
- Forum: Scripts Discussion
- Topic: AE7 gripe: non updating scripted 'progress window's
- Replies: 7
- Views: 11246
Re: progress
6.5.1 on a Windows laptop. Note that I only did a quick test creating a loop that updates a statictext control; none of my existing scripts use such functionality, so I might not be implementing it the same way as in your script. The statictext control updates after the loop finishes, not while it's...