Search found 114 matches

by davestewart
July 28th, 2005, 8:02 am
Forum: Scripts Discussion
Topic: fileSystem modified attribute question
Replies: 6
Views: 13132

Shiiiiiiiit. I need to do some file date comparisons for a different reason, and I'm having exactly the same issues!

This is an AE Scripting bug I presume. I can't see a way round it either. Argh!
by davestewart
July 27th, 2005, 10:13 am
Forum: Scripts Discussion
Topic: SIGGRAPH anyone?
Replies: 3
Views: 9081

Sweet idea! Can't do the plane ticket though... saving my cash for Ibiza ;)
by davestewart
July 27th, 2005, 8:29 am
Forum: Scripts Discussion
Topic: Effects problem
Replies: 2
Views: 8138

I'm not in front of AE right now, but you could try selecting the property in the AE timeline, then running something like the following (you might have to check my syntax, as this is from memory) to check the name exactly: alert(app.project.activeItem.selectedLayers[0].selectedProperties[1].name) T...
by davestewart
July 26th, 2005, 7:02 am
Forum: Scripts Discussion
Topic: Next Gen: enhancing the AE interface
Replies: 3
Views: 9011

Off topic, but I've just added a right-click command in Windows Explorer to run a jsx directly. (I usually run scripts from Crimson Editor, as I'm constantly in development) 1. Open Windows Explorer 2. Tools > Folder Options 3. File Types > JSX > Advanced > New... 4. Action: &Run (the & sign...
by davestewart
July 26th, 2005, 5:29 am
Forum: Scripts Discussion
Topic: Next Gen: enhancing the AE interface
Replies: 3
Views: 9011

Next Gen: enhancing the AE interface

I work a lot with 3dsmax, and we've been used to customising the interface for years now. We can add menu commands, toolbar buttons, scripted utilities, right-click menus, quad-menus, pop-ups, activeX controls (tree views, lists, etc) - essentially ANYTHING in the interface. It's very, very useful.....
by davestewart
July 19th, 2005, 4:23 pm
Forum: Scripts Discussion
Topic: Folder object to string question
Replies: 3
Views: 9828

Abso-lutely!
by davestewart
July 19th, 2005, 5:48 am
Forum: Scripts Discussion
Topic: Folder object to string question
Replies: 3
Views: 9828

At the moment, you're trying to get the length property of the actual folder object (it doesn't have a "length" property); what you really want is to get the length property of the name, path, or absoluteURI of the folder object. alert(folders[0].absoluteURI.length) And you might have miss...
by davestewart
July 8th, 2005, 4:33 am
Forum: Scripts Discussion
Topic: importOptions is foxing me
Replies: 2
Views: 7835

Jesus! Thanks Paul, that looks remarkably thorough. Hopefully I'll just need the io bit, but I appreciate it.

Cheers!
Dave
by davestewart
July 6th, 2005, 8:39 am
Forum: Scripts Discussion
Topic: importOptions is foxing me
Replies: 2
Views: 7835

importOptions is foxing me

Hi all,
I'm being stumped by the correct implimentation of importOptions.

All I'd like to do is to import a single file sequence. Can someone demonstrate the correct syntax!?

Thanks,
Dave
by davestewart
June 18th, 2005, 6:50 am
Forum: Scripts Discussion
Topic: Mask Reverse Path Direction
Replies: 8
Views: 22311

dude...
You'll have to be a little more descriptive with your responses! I'm a scripter - not a cryptologist!
by davestewart
June 15th, 2005, 8:23 am
Forum: Scripts Discussion
Topic: Mask Reverse Path Direction
Replies: 8
Views: 22311

I started thinking about it,so thought I'd do the leg work... just for fun.... function reverseMask (obj,maskIndex){ // check if(obj==undefined){ alert('Object undefined');return } if(maskIndex>obj.Masks.numProperties){ alert('Incorrect mask index specified');return } // existing mask var curMask= o...
by davestewart
June 15th, 2005, 6:44 am
Forum: Scripts Discussion
Topic: Mask Reverse Path Direction
Replies: 8
Views: 22311

I would probably do something like :

- create a new shape object
- loop through the verts of the original mask and assign to the shape
- loop through the in and out tangents, swap them, and add to the shape
- apply the shape

A little function could do this quite neatly I'm sure.
Do you script?

:D
by davestewart
June 14th, 2005, 1:26 pm
Forum: Scripts Discussion
Topic: Mask Reverse Path Direction
Replies: 8
Views: 22311

Perhaps if you could be more specific....
by davestewart
June 14th, 2005, 8:15 am
Forum: Scripts Discussion
Topic: Persistent properties on projects
Replies: 3
Views: 8761

Glad to be of help, Byron :)
by davestewart
June 13th, 2005, 2:45 pm
Forum: Scripts Discussion
Topic: Persistent properties on projects
Replies: 3
Views: 8761

I recently worked on some scripts for a particularly complicated production pipeline (that wouldn't change from project to project) and I used item comments and a getItemByComment function to return particular folders. It's certainly not bulletproof, but maybe you could try something similar? Cheers...