Search found 112 matches
- October 26th, 2007, 5:11 pm
- Forum: Scripts Discussion
- Topic: replacing a file in CS3
- Replies: 4
- Views: 10182
possible replace() workaround
yuppster, it seems like FootageItem replace() and even AVItem setProxy() isn't working for GIF files. other than using non-GIF (e.g., JPEG), the only workaround I could find was to import the GIF file, and then scan your comps for layers that use the GIF file as footage source, then use the AVLayer ...
- October 25th, 2007, 9:38 pm
- Forum: Scripts Discussion
- Topic: replacing a file in CS3
- Replies: 4
- Views: 10182
Re: replacing a file in CS3
I'm trying to replace a source file with scripting in CS3. For some reason when I do this, I get the error "this module does not support input". hi yuppster, hmm, i'm getting the same error here if i use a GIF file. if i use a JPEG file, it's fine. is there any way to use a non-GIF file i...
- October 24th, 2007, 7:37 pm
- Forum: Scripts Discussion
- Topic: Footage replace, beginners trouble
- Replies: 5
- Views: 10677
reflection
so you can trace the settings of an object by then going 'show myitem.file' which would return .pathname etc Is there an equivalent in javascript / after effects. i can't confirm right now if it's in 6.5, but in 7.0 and CS3 you can use the reflection interface to do something like: myitem.reflect.p...
- October 24th, 2007, 7:52 am
- Forum: Scripts Discussion
- Topic: Footage replace, beginners trouble
- Replies: 5
- Views: 10677
Re: Footage replace, beginners trouble
var myItemCollection = app.project.item(1); clearOutput(); writeLn (myItemCollection.file); hi DaveMcD, app.project.item(1) returns an Item object (AVItem and FootageItem for footage), and referencing .file returns a File object, so when you writeLn() that object, it displays the name of the object...
- October 24th, 2007, 7:38 am
- Forum: Scripts Discussion
- Topic: Updating Embedded Script when New Project is opened
- Replies: 2
- Views: 7227
Re: Updating Embedded Script when New Project is opened
So my questions is whether the script can know when a new proj is opened and update itself? hey lloyd, unfortunately, no. there's no support for AE notifying a script of state changes like this. i've wanted callback support for selection changes myself. please be sure to file a feature request. tha...
- October 18th, 2007, 9:57 pm
- Forum: Scripts Discussion
- Topic: Shape Layer Gradient Fill Color Values?
- Replies: 2
- Views: 8218
Re: Shape Layer Gradient Fill Color Values?
Is there a way to set Gradient Fill Color Values via scripting. hey dale, unfortunately, you can't set or get PropertyValueType.NO_VALUE prop type values at this time. the only sort of workaround i can think of is to save a preset containing the gradient you want, then use the AVLayer applyPreset()...
- October 18th, 2007, 9:36 pm
- Forum: Scripts Discussion
- Topic: Foorage replace
- Replies: 4
- Views: 12077
Re: Foorage replace
hi colin,Colin Braley wrote:Anyone know how to replace a simple way to replace a layer in a comp with a footageItem.(like what happens when you alt drag a piece of footage onto a layer)?
~Colin
if you're using CS3, you can use the AVLayer replaceSource() method.
:jeff
- October 10th, 2007, 10:20 pm
- Forum: Script requests
- Topic: Redirecting file paths
- Replies: 3
- Views: 10379
Re: Redirecting file paths
I'd love to have a script that could do that job for me, i.e. automating the "replace footage" task by just redirecting the file path to another folder, without changing the actual name of the image sequence. hi thomaskiel, i'm not sure if someone has already written such a script, but th...
- October 10th, 2007, 9:48 pm
- Forum: Scripts Discussion
- Topic: Is it possible to do a global source-replace on a comp?
- Replies: 6
- Views: 15300
Re: Is it possible to do a global source-replace on a comp?
I'm looking to do the equivalent of an option-drag of one comp onto another in the project window. Is there such a method for a CompItem? hi aaron, there's nothing built-in to do that, so you'll need to roll your own. if you have CS3, you can use the new AVLayer replaceSource() method to redirect t...
- October 9th, 2007, 10:54 pm
- Forum: Scripts Discussion
- Topic: edittext changed in cs3 ?
- Replies: 4
- Views: 10834
I'm just curious on what changed from 7 to cs3 that would stop this working ? stephen... i'm not sure specifically what changed, but the ScriptUI stuff did get lots of changes for CS3 (e.g., support for dockable panels). yeah, i was hoping it'd work, as i wanted to use it in my Folder Setup script....
- October 9th, 2007, 7:44 pm
- Forum: Script requests
- Topic: need a script to get timecodes and filenames of movs..
- Replies: 8
- Views: 15289
UA
I don't think the economics of Useful Assistants makes a lot of sense anymore. Jeff Almasol aka redefinery wrote the very cool script you reference, but I think the Quicktime support was more about Python support for Quicktime then anything AE native, but I'm sure he could fill you in better than I...
- October 9th, 2007, 7:38 pm
- Forum: Scripts Discussion
- Topic: edittext changed in cs3 ?
- Replies: 4
- Views: 10834
Re: edittext changed in cs3 ?
I'm starting to re-write some of my scripts to work in cs3 and have found that the 'return' key does not apply a carriage return when typing text into an 'edittext' box. hi stephen, are you on Mac or Windows? i think on Windows you can use Ctrl+Enter, but it's equivalent isn't supported on Mac, unf...
- October 9th, 2007, 7:31 pm
- Forum: Scripts Discussion
- Topic: run a script from a script
- Replies: 2
- Views: 7200
Re: run a script from a script
Is there any way to run a script from another script? I am trying to make a dockable panel that lists all the scripts that are available, and lets you run them. just read the contents of the file into a string variable, then eval() it. Or, does this already exist? two options that i know of: rd: Sc...
- October 2nd, 2007, 6:52 am
- Forum: Scripts Discussion
- Topic: undefined is not an object in E4X xml parsing
- Replies: 7
- Views: 13996
xml
I'd question the xml if it wasn't valid..no weird entities, no processing instructions etc. something is causing an edge case here though. hey dale... maybe it's my unfamiliarity with E4X (or it being a little early in the morning here in seattle :-) ), but i'm not totally following what you're try...
- October 1st, 2007, 10:58 pm
- Forum: Scripts Discussion
- Topic: undefined is not an object in E4X xml parsing
- Replies: 7
- Views: 13996
E4X
var filters = clip.filter.children(); hey dale... is .filter your <filter> tag, and you're trying to retrieve the contents of that node? the contents should be a text node, so i would think .filter.text() would work. You've even got namespaces, so all the mulitple flavors of RSS, like in kuler are ...