Nicholas Joseph
Forum Replies Created
-
Ohh…Bummer!
Thanks for Checking!
-
HI hI HI !! 🙂
Does anyone know how to change the label color of a item.
I’m referring to the LABEL in the Project window and not the layers. Im trying to change the color to green after a comp has been processed and red if it was skipped.thanks
NIK
-
app.project.item(i).selected = true;
worked perfectly!!! Thanks!! -
oh… I am trying to select a comp from the project window.
-
hiya dan! 🙂
I have a quicky question for ya…
Do you how i might be able to select a comp through a script….and toggle select.i tried _MMFolder.item(each).selected = true; but it doesn’t work.
-
Hi Dan
Thanks for the response. 🙂I’m doing some stereoscopic work and I’m having trouble or should I say the client is having trouble seeing the pixel depth amounts that are set.
So I created a script that will create a white dot… 1pixel X 1 pixel which sits with the original footage. When I add the 3d glasses effect at the end of the displacement setup and stuff..That white dot becomes a RED and a BLUE dot(because of the 3dglasses and displacement). The distance between those 2 dots equals the amount of pixel depth.(so foreground elements the dots are closer to each other and BG they are further away) What I am trying to do…is some how find the RED and BLUE dots in a comp (its on a black solid so they are the only 2 pixels in the entire comp) and measure the distance.(only the horizontal distance)
What I was hoping is if I can get the cursor location and hook it up to the white dot so that the dot follows the cursor and gives feed back to a textLayer that shows the depth at the location of the cursor…but I am having trouble measuring the distance between the 2 dots now. Having the dot follow the mouse is going to be really slow because the comp is very heavy..so I have abandon that and just attached the dot to a Null…which works well.
Do you know how I can measure the distance between the 2 pixels…
I tried the sampleImage() but it gives me the color at a point instead of the location of the color in a comp.I’m hoping for something like….
PixelRED = search the area for pixel with value RED <>
LocationOfRedPixel = X and Y positionPixelBLUE = search the area for pixel with value BLUE <>
LocationOfBLUEPixel = X and Y positiontext = LocationOfRedPixel.X – LocationOfBLUEPixel.X
Is that possible with scripting and expressions? I am reading up on pixelBlender for more answers…but any you can offer would be super awesome!
Thanks Again,
-
hi Dan…. I was wondering if there is away to get the mouse position and feed it into a expression. I’m trying to get the X and Y position of the cursor and have a solid/Null/text layer follow the cursor around interactively.
any tips tricks or a direction to headin would be greatly appreciated.
-
Oh I see.. That did work but its a little heavy on the memory. I have over a 100 layer. 🙂
So there’s no other way to change the file path of a selected footage?
Thanks for all your help Dan.
-
Hi there Dan…Its been awhile 🙂
Can you please help me with another issue I am having…
I am trying to replace a footage with the same footage(updated) but in a different folder.
Here is my test::var myFile = app.project.selection;
var myFileName = myFile[0].name;
var indexOfFile = myFileName.indexOf(“.”);
var myFileFolderName = myFileName.slice(0,indexOfFile);
var myFileLocation = myFile[0].mainSource.file;var selectFolder = Folder.selectDialog(“Select ReTarget Root”);
var targetFolder = selectFolder.toString();targetFolder = targetFolder + “/” + myFileFolderName + “/” + myFileName;
myFile[0].mainSource.file.missingFootagePath(targetFolder);
The last line always errors out. Can you please look over my code and tell me where I went wrong.
Thanks Again,
NIK
Thanks Theo…I shall look it up.
-
yesss.. that worked beautifully.
Thanks Again for all your help.
