Thank you, this is exactly the help that I needed to get me started. You script is going to save me a lot of time.
Thanks again,
Louis
Search found 18 matches
- September 4th, 2008, 8:13 am
- Forum: Scripts Discussion
- Topic: detecting color bars
- Replies: 2
- Views: 9106
- September 3rd, 2008, 9:14 am
- Forum: Scripts Discussion
- Topic: detecting color bars
- Replies: 2
- Views: 9106
detecting color bars
Hi! I was wondering if there would be a way to detect color bars in a movie file with scripting.
Would there be a way to use the sampleImage() method to automatically place markers where the 'correct color pattern' is detected?
Thnkas,
Louis
Would there be a way to use the sampleImage() method to automatically place markers where the 'correct color pattern' is detected?
Thnkas,
Louis
- June 5th, 2008, 7:46 am
- Forum: Expression Discussion
- Topic: how to make value persistent
- Replies: 2
- Views: 11338
Re: how to make value persistent
Thank you, it worked perfectly. Here is the final script. targetComp = comp("as_claydog"); temoin = thisComp.layer("temoin"); curClosestIndex = null; timeIndex = time; fps = 1.0 / thisComp.frameDuration; while (curClosestIndex == null && timeIndex > temoin.startTime) { cu...
- May 23rd, 2008, 8:21 am
- Forum: Expression Discussion
- Topic: how to make value persistent
- Replies: 2
- Views: 11338
how to make value persistent
Hi! I made an expression (applied on timeRemap of a sequence) that displays a specific frame of a sequence based on the position of a guide layer. If the guide layer (called "temoin" in the following code) is over a certain reference layer (in "targetComp" in the code), it then d...
- July 4th, 2006, 12:31 pm
- Forum: Scripts Discussion
- Topic: get first file name of image sequence
- Replies: 1
- Views: 8300
get first file name of image sequence
Hi! What would be the best way to get the name of the first file of an image sequence?
The reason I need this is that on some instances, import truncates the name of image sequences and I need my script to set the timecode accordingly with the first frame of the image sequence.
Thanks for the help
The reason I need this is that on some instances, import truncates the name of image sequences and I need my script to set the timecode accordingly with the first frame of the image sequence.
Thanks for the help
- February 13th, 2006, 9:52 am
- Forum: Expression Discussion
- Topic: transfering expressions
- Replies: 5
- Views: 19758
- February 13th, 2006, 7:10 am
- Forum: Expression Discussion
- Topic: transfering expressions
- Replies: 5
- Views: 19758
transfering expressions
Hi! I was wondering if there was a simple way to transfer expressions from one layer to another (and quicker then copy/pasting each expressions).
Is there a way to duplicate a layer and then change the source image so that it retains the expressions but with a different image?
Thanks for the help!
Is there a way to duplicate a layer and then change the source image so that it retains the expressions but with a different image?
Thanks for the help!
- January 26th, 2006, 11:07 am
- Forum: Scripts Discussion
- Topic: add solid to project
- Replies: 1
- Views: 8395
I realized the reason why what I was trying to do was not working was because I was using 'mainSource' instead of 'source'...
Code: Select all
var timecodeSolid = myComp.layers.addSolid(compBG, "timecodeSolid", 150, 35, compRatio, curDuration);
var timeCode = myComp.layers.add(timecodeSolid.source);
- January 26th, 2006, 10:18 am
- Forum: Scripts Discussion
- Topic: add solid to project
- Replies: 1
- Views: 8395
add solid to project
Hi! I made a script that makes a comp with selected footage and adds a timecode. The problem is that it creates a new solid every time.
Is there a way to add a timecode without a solid or to have the script create a solid in the project and then add the same solid to every comp it makes?
Thanks
Is there a way to add a timecode without a solid or to have the script create a solid in the project and then add the same solid to every comp it makes?
Thanks
- January 26th, 2006, 8:32 am
- Forum: Scripts Discussion
- Topic: Allow scripts to write file and access network
- Replies: 5
- Views: 33907
Allow scripts to write file and access network
Hi! I've seen in some scripts that it is possible to access and edit the preferences, is it possible also for the "allow scripts to write file and access network" preference? Also, where do you find how to address the preferences, for example app.preferences.savePrefAsLong("Main Pref ...
- January 26th, 2006, 7:35 am
- Forum: Scripts Discussion
- Topic: variables defined globally
- Replies: 3
- Views: 13366
variables defined globally
Hi! I was wondering, since variables are defined globally and are even persistent after a script has executed, was is the point of passing parameters to functions (they will have access to the variables anyways)? Also, is there a way to 'reset' all variables (I mean removing them completely from mem...
- January 25th, 2006, 12:49 pm
- Forum: Scripts Discussion
- Topic: borderStyle
- Replies: 1
- Views: 8612
borderStyle
Hi! I can't get to change the borderStyle propriety on a panel. I would really appreciate if somebody could give an example on how it's done...
Thanks
Thanks
- January 18th, 2006, 11:39 am
- Forum: Scripts Discussion
- Topic: black frame at the end of a rendered movie
- Replies: 6
- Views: 20210
Thanks, I feel better knowing that I am not the only one with this problem at least. I was wondering, what is the frame rate of your comp, 25 fps? Do you know if the frame rate makes a difference whether or not you obtain an 'extra frame' ? Because if no, it would mean that the duration is rounded s...
- January 17th, 2006, 12:59 pm
- Forum: Scripts Discussion
- Topic: function defined in another file
- Replies: 4
- Views: 15023
- January 17th, 2006, 12:14 pm
- Forum: Scripts Discussion
- Topic: function defined in another file
- Replies: 4
- Views: 15023
function defined in another file
Maybe it is a stupid question, but how do you make a call to a function defined in another file? I imagine you must specify a relative path, but I couldn't find anything about it in the adobe documentation.
Thanks
Thanks