Search found 86 matches
- August 2nd, 2005, 1:25 pm
- Forum: Scripts Discussion
- Topic: cAPS lOCK nIGHTMARE
- Replies: 4
- Views: 10634
The behavior of Shift on Windows (and most other OSs and typewriters too) makes sense to me. I didn't realize that the semantics were different on a Mac. Shift means to invert the sense of the capitalization. So if your Caps Lock is on, you use Shift to get lower-case letters. Otherwise, you have no...
- August 2nd, 2005, 1:12 pm
- Forum: Scripts Discussion
- Topic: Command line watch folder?
- Replies: 1
- Views: 6768
I'm pretty sure that AE is multithreaded (beyond threading for the UI and caching) and capable of utilizing multiple processors. While it won't render more than one frame at a time, the effects and image processing architecture can be distributed across the processors in a system, where possible. Fo...
- July 28th, 2005, 6:50 pm
- Forum: General Scripts Library
- Topic: Pre-comp to layer duration
- Replies: 17
- Views: 114394
I'm stumped. UILayout_13.jsx should be in the subdirectory (lib) of the directory in which PrecompToDuration.jsx is located. The fact that you are getting an error about UILM_DISABLE_STRING_DISPLAY_WIDTH_GUESS means that it is finding and loading UILayout_13.jsx. Why it isn't defined by the time the...
- July 28th, 2005, 1:23 pm
- Forum: General Scripts Library
- Topic: Pre-comp to layer duration
- Replies: 17
- Views: 114394
- July 28th, 2005, 3:27 am
- Forum: General Scripts Library
- Topic: Pre-comp to layer duration
- Replies: 17
- Views: 114394
I forgot to mention: the script depends on UILayout_13.jsx which is a version of the layout manager I wrote. See http://www.aenhancers.com/viewtopic.php?t=128 to download it. I too use this script frequently. So, while I'm at it, many thanks to Brian, Keiko, and Dan for conceiving and implementing t...
- July 27th, 2005, 4:55 pm
- Forum: General Scripts Library
- Topic: Pre-comp to layer duration
- Replies: 17
- Views: 114394
When I started using this script, I added a dialog for my own use. See if this works for you:
http://www.petertorpey.com/files/ae/scr ... ration.jsx
Peter
http://www.petertorpey.com/files/ae/scr ... ration.jsx
Peter
- July 27th, 2005, 12:34 pm
- Forum: Scripts Discussion
- Topic: SIGGRAPH anyone?
- Replies: 3
- Views: 9168
- July 19th, 2005, 12:30 pm
- Forum: Scripts Discussion
- Topic: Folder object to string question
- Replies: 3
- Views: 9931
- July 17th, 2005, 11:18 pm
- Forum: Scripts Discussion
- Topic: scripting effects properties
- Replies: 15
- Views: 36186
Are you trying to modify just one element in the current value array for a property or are you just trying to assign an array as a value? The former requires that you copy the value array to a variable, manipulate it there, and then reassign it to the property using setValue(). If you are reading th...
- June 12th, 2005, 3:05 pm
- Forum: Scripts Discussion
- Topic: scripting effects properties
- Replies: 15
- Views: 36186
More off-topic about const
ECMA-262 actually doesn't specify a const declaration. It only states that const is a future reserved keyword. The AE interpreter does implement const but, unfortunately, it isn't that useful. Typically, constants are defined at a global scope. Doing so in a script poses a problem, though. The globa...
- June 9th, 2005, 2:43 pm
- Forum: Scripts Discussion
- Topic: Help on replace
- Replies: 5
- Views: 12355
I don't have AE in front of me right now but I do see a number of things that could be problematic. Since you are dealing with file names, not comp names, the truncation block is unecessary and potentially harmful. If your file name is longer than 30 characters, it will lop off the end, file extensi...
- June 8th, 2005, 3:19 pm
- Forum: Scripts Discussion
- Topic: scripting effects properties
- Replies: 15
- Views: 36186
I wish there was #define or that ECMAScript had const or final declarations. I typically just define a bunch of regular vars at the beginning of the script with their names in all caps so that I remember not to modify them elsewhere. I had written a little property inspector script which would give ...
- June 8th, 2005, 2:22 pm
- Forum: Scripts Discussion
- Topic: scripting effects properties
- Replies: 15
- Views: 36186
I would suggest using match names for effects and their parameters in most cases. Use the property() method of the parent PropertyGroup passing it the match name string to receive a reference to the effect or parameter you want. Using the display name of an effect or parameter (the name as it appear...
- June 8th, 2005, 1:44 pm
- Forum: Scripts Discussion
- Topic: Help on replace
- Replies: 5
- Views: 12355
I'm not certain that the script will work as you had intended. However, for the line and error in question, it fails because nuName is a string while the item() method expects an integer index into the project's ItemCollection. Since you are using the active item, you already have a reference to the...
- May 19th, 2005, 12:42 pm
- Forum: Expression Discussion
- Topic: Getting max and min values from expressions
- Replies: 1
- Views: 7800
If I follow correctly, you could do the calculations in a normalized space and then, at the last minute, apply pixel dimensions for positioning on a layer. The basic expressions can be computed over a normalized range [0.0..1.0] in an expression control (possibly on a null layer). That way, the boun...