Search found 112 matches

by redefinery
January 16th, 2009, 9:59 pm
Forum: Script requests
Topic: A little syntax help + a general help
Replies: 3
Views: 9658

Re: A little syntax help + a general help

oh, i'm definitely not the head of scripting at adobe, but i do the best i can to know about scripting in after effects. :-)

:jeff
by redefinery
December 3rd, 2008, 3:23 pm
Forum: Scripts Discussion
Topic: How to get app.project.item(1)'s path?
Replies: 5
Views: 12798

Re: How to get app.project.item(1)'s path?

hi pete,

current estimate is around the end of January for the updated document.

:jeff
by redefinery
December 2nd, 2008, 11:20 pm
Forum: Scripts Discussion
Topic: How to get app.project.item(1)'s path?
Replies: 5
Views: 12798

Re: How to get app.project.item(1)'s path?

hi pete, footage in the Project panel is a FootageItem object (which inherits all attributes and methods of the base Item object); an item in the Project panel can be a comp (CompItem), folder (FolderItem), or footage (FootageItem). In the FootageItem object description, there is a file attribute. T...
by redefinery
December 2nd, 2008, 9:47 pm
Forum: Scripts Discussion
Topic: How to get app.project.item(1)'s path?
Replies: 5
Views: 12798

Re: How to get app.project.item(1)'s path?

Hi, I can't seem to find anything in the documentation about getting a certain item's path. hi pete, you can get the path for the first item by using: app.project.item(1).file.path the file attribute for the FootageItem points to a File object. the path attribute for a File object is a string of th...
by redefinery
September 3rd, 2008, 9:38 pm
Forum: Scripts Discussion
Topic: Get the Index of ProjectItem
Replies: 7
Views: 14392

Re: Get the Index of ProjectItem

if you're wanting to replace a footage layer with an item in the Project panel, couldn't you just use the AVLayer replaceSource() method, which takes an AVItem object? e.g.,
myLayer.replaceSource(matchingItem, true);

:jeff
by redefinery
September 3rd, 2008, 7:25 am
Forum: Scripts Discussion
Topic: Get the Index of ProjectItem
Replies: 7
Views: 14392

Re: Get the Index of ProjectItem

not directly, but if you're already looping through all Item objects looking for one by name*, you'd have the index number when you break out of the loop when you find a match. :jeff *Item objects might not have unique names, so if you're iterating from the start of the collection, you'd find the fi...
by redefinery
August 23rd, 2008, 9:45 am
Forum: Scripts Discussion
Topic: ScriptUI DropDownList and onChange
Replies: 2
Views: 11010

Re: ScriptUI DropDownList and onChange

Anybody have any luck with getting a DropDownList to work with onChange? pal.grp.OQ.List.selection.onChange = function () { alert("yo"); } but it doesn't seem to work.. buttons and checkboxes with onClick seem to work fine.. -Lloyd i already replied to lloyd directly, but if anyone else i...
by redefinery
July 12th, 2008, 12:46 pm
Forum: Script requests
Topic: Automaticly making precomps i select with same length
Replies: 3
Views: 11146

Re: Automaticly making precomps i select with same length

tillimanjaro wrote:Is there a script that can make a precomp from clips i select and also make the length of the clip(so the clip is at the beginning), instead of doing manualy, somewhere?
hi mr. t,

will this script do what you need?
http://www.redefinery.com/ae/view.php?i ... re-compose

:jeff
by redefinery
April 27th, 2008, 8:59 pm
Forum: General Scripts Library
Topic: Here's a script for sorting layers by z positions
Replies: 11
Views: 53701

Re: Here's a script for sorting layers by z positions

So Jeff's script does not include an option to reorder specifically in z, but it has all the essentials... Anybody wanna take a stab at it? THANKS! djuna hi djuna, i added a Layer Z Position option (in v1.2). note that it'll just look at the Z Position value, and won't compensate for Z Anchor Point...
by redefinery
March 13th, 2008, 10:51 pm
Forum: Scripts Discussion
Topic: RenderQueue Comment field
Replies: 1
Views: 6984

Re: RenderQueue Comment field

app.project.renderQueue.item(1).comment = "hello"; alert(app.project.renderQueue.item(1).comment); but i doesnt update in the GUI. Anyone know how to get it to update the GUI? -Lloyd hey lloyd, a RenderQueueItem object doesn't have a comment attribute, so naturally it won't update the GUI...
by redefinery
January 18th, 2008, 8:31 am
Forum: Script requests
Topic: Script regarding order of layers
Replies: 2
Views: 8730

Re: Script regarding order of layers

wearevoid wrote: Is there a way/script to tell these layers to stack in order from their in-point? For example:
hi kim,

if you're using CS3, try my Kinda Sorta script:
http://www.redefinery.com/ae/view.php?i ... KindaSorta

:jeff
by redefinery
December 17th, 2007, 11:35 pm
Forum: Scripts Discussion
Topic: Docking script panel
Replies: 1
Views: 7278

Re: Docking script panel

Does it exist a plugin of some sort, that can run a script (with UI) within a panel ? hi SFR75... if you're using CS3, you can tweak existing scripts that use a palette to use a dockable panel. you can even have the same script work as either a floating palette (when opened from the File > Scripts ...
by redefinery
December 4th, 2007, 8:27 pm
Forum: Script requests
Topic: Possible to set layer markers at keyframes?
Replies: 2
Views: 9218

Re: Possible to set layer markers at keyframes?

It occurred to me that it would be very helpful if layer markers were automatically placed at the positions where keyframes are. a script can't enable a mode to have that happen automatically, but you can certain write a script that updates layer markers to reflect the current keyframe positions, e...
by redefinery
November 7th, 2007, 9:07 am
Forum: Scripts Discussion
Topic: AE selected items trouble
Replies: 4
Views: 10526

Re: AE selected items trouble

So basically, if I understood it correctly, there is NO way of telling which layer user have selected in his currently open tab. Is that correct ? hi SFR75, if the Project panel is not currently active, the app.project.activeItem attribute should give you the currently (or last) active composition,...
by redefinery
October 28th, 2007, 12:31 pm
Forum: Scripts Discussion
Topic: what do you want in a scripting reference?
Replies: 0
Views: 6336

what do you want in a scripting reference?

hey all, i'm trying to collect feedback on what aspiring/new/seasoned ae script authors want in an ae scripting reference and learning materials. if you have some time, i'd appreciate your input. you can post feedback on my blog at: http://www.redefinery.com/blog/20071027_hey-ae-script-junkies/ than...