Search found 705 matches
- September 15th, 2004, 4:17 pm
- Forum: Scripts Discussion
- Topic: UI Help
- Replies: 6
- Views: 15087
- September 15th, 2004, 1:54 pm
- Forum: Scripts Discussion
- Topic: Add Marker
- Replies: 7
- Views: 17459
Here's some good stuff from Keiko on using markers: There are 2 example in 1 script. example 1 will change value (comment) of markers. You can change any other markerValue property with same manner. example 2 will snap markers to nearest second to time. This is a bit tricky. If I call setValueAtTim...
- September 15th, 2004, 1:07 pm
- Forum: Scripts Discussion
- Topic: UI Help
- Replies: 6
- Views: 15087
You're right, it looks like onClick() is the culprit. It seems that the line in the addProjectButton function newButton.onClick = onProjectChange(newButton.clientID) is actually calling the onProjectChange function instead of just defining the onClick behaviour. I changed it to newButton.onClick = o...
- September 12th, 2004, 2:48 am
- Forum: Expression Discussion
- Topic: Gravity
- Replies: 4
- Views: 14091
All the scripts on this site are for After Effect's built-in scripting functionality, which is very much like Useful Assistants, except that it's based on Javascript rather than the Python scripting language. When first introduced in AE 6.0, scripting was mostly limited to render management types of...
- September 10th, 2004, 3:24 am
- Forum: Scripts Discussion
- Topic: Create a new folder inside a project
- Replies: 7
- Views: 17873
I used to think this didn't work too, I guess it's just a matter of stumbling upon the right way of doing it. Create a new project, make a folder and run this script: { app.project.item(1).selected = true; app.project.importFileWithDialog(); } If you create two folders and select the second one befo...
- September 10th, 2004, 1:47 am
- Forum: Scripts Discussion
- Topic: UI Help
- Replies: 6
- Views: 15087
There are a few ways you can do this: 1. You can define some empty global script variables in the main body of the script, then use functions you create for the onClick or onChange events to store the results in those global variables. Here's an example from one of my scripts: In the main script bod...
- August 24th, 2004, 6:19 pm
- Forum: Expression Discussion
- Topic: Gravity
- Replies: 4
- Views: 14091
- August 12th, 2004, 4:44 pm
- Forum: Scripts Discussion
- Topic: Questions about my script to write expressions to layers
- Replies: 2
- Views: 9800
- August 12th, 2004, 3:46 pm
- Forum: Scripts Discussion
- Topic: Add Marker
- Replies: 7
- Views: 17459
- August 7th, 2004, 5:17 am
- Forum: Scripts Discussion
- Topic: Questions about my script to write expressions to layers
- Replies: 2
- Views: 9800
1/apply the expression to selected layers only (instead of all layers) To go through all layers in the comp, you use something like: theComp = app.project.activeItem; for (i = 1; i <= theComp.numLayers; ++i) { alert(theComp.layer(i).name); } But to go through just the selected layers, you'd use: th...
- August 5th, 2004, 1:17 am
- Forum: Scripts Discussion
- Topic: Create a new folder inside a project
- Replies: 7
- Views: 17873
There is currently no easy way to create folders I'm afraid. It's such an obvious feature request, I'm surprised I haven't submitted it already. Also, I don't think there's an easy way of moving items in and out of folders, which would also be useful. Actually, thinking about it, maybe an alternate ...
- August 4th, 2004, 2:35 pm
- Forum: Scripts Discussion
- Topic: setTimeout function?
- Replies: 2
- Views: 10858
- August 4th, 2004, 2:19 pm
- Forum: Scripts Discussion
- Topic: Font family for Text Layer
- Replies: 9
- Views: 24027
- August 4th, 2004, 11:58 am
- Forum: Scripts Discussion
- Topic: Eyedropper and Fill Color (+ Solid Color)
- Replies: 6
- Views: 19098
- August 4th, 2004, 11:21 am
- Forum: Scripts Discussion
- Topic: Starting frames in Timecode property
- Replies: 3
- Views: 10620