Search found 56 matches

by ernpchan
July 2nd, 2013, 10:40 am
Forum: Scripts Discussion
Topic: Check if marker exists
Replies: 1
Views: 6942

Check if marker exists

Is it possible to check if a marker exists where the Current Time Indicator is?
by ernpchan
June 4th, 2013, 1:48 pm
Forum: Scripts Discussion
Topic: Access Font parameter in Effects
Replies: 1
Views: 6680

Access Font parameter in Effects

Is it possible to access the font property for the "ADBE Basic Text2", "ADBE Numbers2", "ADBE Path Text" effects?

And is it possible to get all the fonts that are installed in After Effects? I'd like to be able to check if a used font is available on our render farm.
by ernpchan
May 22nd, 2013, 4:10 pm
Forum: Scripts Discussion
Topic: Get selected property
Replies: 2
Views: 7998

Re: Get selected property

Thanks Paul.
by ernpchan
May 20th, 2013, 11:27 am
Forum: Scripts Discussion
Topic: Get selected property
Replies: 2
Views: 7998

Get selected property

How can one get the selected property of a layer/effect, etc? I've tried doing a search but the search tool restrictions keep saying that I'm using words that are too common.
by ernpchan
January 24th, 2013, 2:48 pm
Forum: Scripts Discussion
Topic: Accurate timeToCurrentFormat
Replies: 0
Views: 7217

Accurate timeToCurrentFormat

Is there an accurate way to get timeToCurrentFormat to convert to frames? I have a clip that's 70 frames long at 24 and my javascript keeps returning 71 frames. I could add math to force it to be 71 but I have other clips of a different length that do report the correct frame length. So I'd like to ...
by ernpchan
January 22nd, 2013, 11:03 am
Forum: Scripts Discussion
Topic: Control Auto-Save
Replies: 2
Views: 8282

Control Auto-Save

Is it possible to control the Auto-Save feature via scripting? I'm guessing no but it's worth a shot to ask. I'd like to control the path and filename that gets saved out.
by ernpchan
July 13th, 2012, 1:08 pm
Forum: Scripts Discussion
Topic: Start comp at frame 1
Replies: 0
Views: 7122

Start comp at frame 1

Is there a way to make a comp start at frame 1 reliably through scripting? I've made a script but sometimes it won't always change the start frame to 1. Sometimes it changes it to 2. I have: var startFrame = 1/24; Which equals 0.04166666. On some computers .041 sets the comp to 1. On some .042 sets ...
by ernpchan
April 26th, 2012, 6:31 pm
Forum: Scripts Discussion
Topic: Save Frame As...
Replies: 1
Views: 5742

Re: Save Frame As...

I found this thread:
viewtopic.php?f=8&t=943&hilit=+save+frame+as+

Is this still a bug?
by ernpchan
April 26th, 2012, 6:18 pm
Forum: Scripts Discussion
Topic: Save Frame As...
Replies: 1
Views: 5742

Save Frame As...

What's the equivalent of "Save Frame As..."?

If I submit my comp through my script AE still adds the [####] padding which I don't want. I've tried the Command ID but that's not doing anything.

Code: Select all

app.executeCommand(2233);
by ernpchan
April 26th, 2012, 5:09 pm
Forum: Scripts Discussion
Topic: Scripting OutputModules for outputting image sequences
Replies: 12
Views: 21484

Re: Scripting OutputModules for outputting image sequences

joddo wrote:This script will be run by others and on different machines so I won't be able to easily dictate custom templates. :(
Why not? Build your templates and then save them out for others to load up. That's what I do. This puts everyone on the same page for what they should be rendering out.
by ernpchan
April 26th, 2012, 8:18 am
Forum: Scripts Discussion
Topic: Putting FootageItem into folders
Replies: 7
Views: 14450

Re: Putting FootageItem into folders

Good point.

Populating a second array definitely works. No point in messing with my script if it works. :D
by ernpchan
April 25th, 2012, 3:03 pm
Forum: Scripts Discussion
Topic: Putting FootageItem into folders
Replies: 7
Views: 14450

Re: Putting FootageItem into folders

MYX_2000 wrote:Couldn't you also loop through last to first. This way the indexes always stay the same.
Ah good idea. Thx.
by ernpchan
April 12th, 2012, 2:19 pm
Forum: Scripts Discussion
Topic: Specify directory with importFileWithDialog()
Replies: 0
Views: 6595

Specify directory with importFileWithDialog()

Is there a way to specify which directory AE opens up to with importFileWithDialog()? Currently AE just opens up to the last place you imported from.
by ernpchan
April 11th, 2012, 5:37 pm
Forum: Scripts Discussion
Topic: PC/Mac compatibility
Replies: 3
Views: 8923

Re: PC/Mac compatibility

Just a shot in the dark--on the Mac, do you have the preference set that allows scripts to access the network? Dan Hi Dan, That was one of the first things I checked. The user didn't have it enabled at first but after enabling it he still gets the same error message. One of my guys thought the word...
by ernpchan
April 11th, 2012, 3:31 pm
Forum: Scripts Discussion
Topic: PC/Mac compatibility
Replies: 3
Views: 8923

Re: PC/Mac compatibility

I get this error message.

"Unable to execute script at line 9. uncaught exception newImage"

Anyone know why that is?