Ram Manohar
Forum Replies Created
-
do you ever run any scripts before.. from Scripts folder or ScriptsUI Panels folder??
manohar
-
Yaaa.. I got it..
The “ScriptUI Panels” folder should have proper spaceing check it out..
it must be like this ScriptUI Panels the Capital letters and small letters and space beteween ScriptUI and Panelsmanohar
-
If you paste the “Compsitions Renamer.jsx“,file correctly in
” C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\Scripts\ScriptUI Panels ” Folder. Then you can get the Script’s UserInterface from Window menu.
i.e. Click on Window menu from After Effects menu bar. Then try to Find Compsitions Renamer.jsx in that menu.. and click on it.If you still hav any problem loading the script..,then go to …
Edit->Preferences->General, in that make sure that.,
“Allow Scripts to Write Files and Access Network” is checked.yes it will work on CS3, even I am using CS3
then try it.. i hope you will get it now.. -
Yes put this script in ‘ScriptUIPanels’ folder..
and you can get it on AE from Window menu….manohar
-
Hi there…
I made a script to do your task, but it will not do the task in a single click.The script will ask the user to run script again until all the specified names are changed..It is because AE automatically sorts the Project items when the name is changed.
I hope it will help you…
Click here to download the script..
manohar
-
Hi Justin.., i think using of “parseInt()” will solve your problem…
add the bold line in your code..
startTime = 1.5; //in seconds
endTime = 5; //in seconds
startValue = 0;
sTextValue=parseInt(comp(“INFO”).layer(“showNumber”).text.sourceText));
endValue=sTextValue ;
linear (time, startTime, endTime, startValue, endValue)and check it out….
manohar
-
Hi Vitun..
Do you know Photoshop..,in that merging layers(Ctrl+E) is equal to Pre-Comp in AE.Thant means.., we can combine selected layers with Pre-Compose option and make it as one single layer in active compostion.
We can open the Pre-Compose layer anytime to do any changes to individual layers of the PreCompose…
I think you get some Idea about it…
manohar
-
Hi.. Mark
I developed a script, which moves the selected layers to the desired location in timeline. Here it moves the selected layer set to CTI (Current Time Indicator)in the timeline…Is this you want Mark..?? If so let me know I will post my script here…
manohar
-
Hi…
Yes, we can create a mask that is independent of all other layers.. That mask layer is called ‘Shape Layer’.
Without selecting any layer in your composition, click on the Pen tool icon in tool bar, then draw whatever shape
you want with that pen tool. it displayed on timeline as a Shape Layer1. You can animate it independent of all other layers with its Path attribute(Contents->Shape1->Path1->Path).In this process you will get a filled shape layer, to avoid it click on “Fill” in your tool bar (click on only “Fill” word, not the fill color). Then you will get ‘Fill Options’ dialogue in that select ‘Solid Color’ as None, click ok. Now you will get path type mask , instead of filled one…
hope you get it…
manohar
-
Ram Manohar
May 8, 2010 at 10:10 am in reply to: AE scripting – passing UI value field to a solid sizeHi.. Nicolas
Try this one., Its working..Is this you want..??still any problem let me know..
https://myaescripts.blogspot.com///This script is to create a solid (square shape) with specified size..,
//The size of the solid can be specified by the user in TextBox...
{
var myPanel;
//function for building UI
function Create_Solid(thisObj)
{
myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Create Solid", [100, 100, 300, 300]);
myPanel.txtbox = myPanel.add("edittext", [10, 5, 90, 25]);
myPanel.butCreate = myPanel.add("button", [10, 40, 90, 60], "Create Solid");myPanel.butCreate.onClick=Createlayer;
return myPanel;
}function Createlayer()
{
app.beginUndoGroup("Create Solid");
if ((app.project.activeItem == null) || ((app.project.activeItem != null) && !(app.project.activeItem instanceof CompItem)))
{
alert("Please establish a comp as the active item and run the script again");
}
else
{
var xy=parseInt(myPanel.txtbox.text);
var comp = app.project.activeItem;
var solidName = "New Solid";
var solidW = xy;
var solidH = xy;
var solidPixelAspectRatio = comp.pixelAspect;
var solidDuration = comp.duration;
var newsolid = comp.layers.addSolid([0, 1, 0], solidName, solidW, solidH, solidPixelAspectRatio, solidDuration);
}
app.endUndoGroup();
}Create_Solid(this);
}
manohar