Search found 19 matches

by BigMacGyver
September 26th, 2013, 7:48 am
Forum: Scripts Discussion
Topic: Controlling aerender via Scripting
Replies: 2
Views: 4401

Re: Controlling aerender via Scripting

Okay, i just went over this stuff several times. I did not understand at first that i can input terminal commands via system.callSystem() directly without having to put them into an apple script. I am now able to launch the aerenderer either by using the direct terminal command, which processes the ...
by BigMacGyver
September 25th, 2013, 6:07 am
Forum: Scripts Discussion
Topic: Controlling aerender via Scripting
Replies: 2
Views: 4401

Controlling aerender via Scripting

Hello, i am having a little bit of a problem in understanding how to control the aerender via scripting. The aerender is a command line or terminal app that requires arguments executed in the terminal in order to work. What is the best way to have a script pass these arguments to the terminal? Here ...
by BigMacGyver
September 4th, 2013, 5:54 am
Forum: Scripts Discussion
Topic: Settings Object Content
Replies: 2
Views: 2202

Re: Settings Object Content

That is the solution! Thank you, Paul.
by BigMacGyver
August 29th, 2013, 4:11 am
Forum: Scripts Discussion
Topic: Settings Object Content
Replies: 2
Views: 2202

Settings Object Content

Hello, i have a rather simple question. I need to find out the content of the settings object, in order to access application settings like multiprocessing and other important stuff. Is there a command that displays the full content of this? I also read that there is a plain text file somewhere but ...
by BigMacGyver
August 22nd, 2013, 7:43 am
Forum: Scripts Discussion
Topic: Render and Email script Problem
Replies: 6
Views: 4038

Re: Render and Email script Problem

So i managed something that works. Here is my advice if you get any of the following errors when using either email_methods.jsx, render and email.jsx or a variation of these within the body of a bigger script: EmailSocket does not have a constructor Object of type Function found were a number, array...
by BigMacGyver
August 22nd, 2013, 6:07 am
Forum: Scripts Discussion
Topic: Render and Email script Problem
Replies: 6
Views: 4038

Re: Render and Email script Problem

So i have tracked the problem down by removing portions of my main script and keeping a very simple form of the render and email script that just sends a test message when a button gets clicked. It seems the problem is caused by the following code within the body of the main script: if (!Array.proto...
by BigMacGyver
August 22nd, 2013, 4:14 am
Forum: Scripts Discussion
Topic: Render and Email script Problem
Replies: 6
Views: 4038

Re: Render and Email script Problem

Okay, a little update: When restarting AE and running the following code: try{ var RenderScript = new File("Macintosh HD/Applications/Adobe After Effects CS5.5/Scripts/ScriptUI Panels/Render and Email2.jsx"); alert(RenderScript.exists); RenderScript.open("r"); eval(RenderScript.read()); RenderScript...
by BigMacGyver
August 22nd, 2013, 4:02 am
Forum: Scripts Discussion
Topic: Render and Email script Problem
Replies: 6
Views: 4038

Re: Render and Email script Problem

I tried this now, changed the path for email_methods.jsx in the Render and Email script, named it Render and Email2 and ran it by clicking the button in my main script. Now the java script debugger opens the email_methods.jsx, highlights line 122 and says: "Object of type Function found were a numbe...
by BigMacGyver
August 21st, 2013, 7:22 am
Forum: Scripts Discussion
Topic: Render and Email script Problem
Replies: 6
Views: 4038

Render and Email script Problem

Hello, i am having a weird issue when trying to customize the functionality of the default Render and Email script that ships with AE. when i want to run this script file directly from within another script, say by clicking a button: StartRender.onClick = function () { try{ var RenderScript = new Fi...
by BigMacGyver
July 3rd, 2013, 8:27 am
Forum: Scripts Discussion
Topic: aep project file and fileObj.copy(target) - need help
Replies: 2
Views: 3342

Re: aep project file and fileObj.copy(target) - need help

Hey Paul, thanks for helping out. I am basically just running this code from the extend script toolkit. The AE version is cs 5.5 (10.5.0.253). Just tested it again. There is no error when the mxml file is created. The file has a size of 10kb (which is equivalent to the .aep file that is supposed to ...
by BigMacGyver
July 2nd, 2013, 7:53 am
Forum: Scripts Discussion
Topic: aep project file and fileObj.copy(target) - need help
Replies: 2
Views: 3342

aep project file and fileObj.copy(target) - need help

Hello, i am trying to do a rather simple and straight forward operation: I want a script to copy my after effects project file to another, empty location. i am using copy() for this as following: var target = new File(['/Macintosh HD/Users/User25/Desktop/project.aep']) var thisFile = new File (['/Ma...
by BigMacGyver
May 29th, 2013, 6:16 am
Forum: Scripts Discussion
Topic: Dynamic add/delete function?
Replies: 1
Views: 2313

Dynamic add/delete function?

Hello guys, i have tried to solve the following problem myself and most likely i am making matters much more complicated than they actually have to be. Here is what i want to do: Let's say, i have a variable in my user interface called NumberOfTextLayers that the user can put a number in for. When i...
by BigMacGyver
May 22nd, 2013, 6:12 am
Forum: Scripts Discussion
Topic: How to use Source Text property with Scripting?
Replies: 3
Views: 3728

Re: How to use Source Text property with Scripting?

Sorry, i am going to answer my own question. Online i stumbled over the method sourceRectAtTime(), which is a blast! The following code will alert the largest horizontal extend in pixels of a number of text layers within a specified index range: var comp = app.project.activeItem; var creditLayers = ...
by BigMacGyver
May 22nd, 2013, 5:27 am
Forum: Scripts Discussion
Topic: How to use Source Text property with Scripting?
Replies: 3
Views: 3728

Re: How to use Source Text property with Scripting?

Thanks, dan. It's always the little things. Now i have tried to evolve this a little to get the length of multiple text layers within a specified index range. It does not work though. var comp = app.project.activeItem; var startIdx = 1; var stopIdx = comp.numLayers- 8; for (idx = startIdx; idx <= st...
by BigMacGyver
May 21st, 2013, 6:58 am
Forum: Scripts Discussion
Topic: How to use Source Text property with Scripting?
Replies: 3
Views: 3728

How to use Source Text property with Scripting?

Hey guys, i have a quick question for you that is currently slowing me down on a scripting project. When i use the following code to alert the length of a source text string from the first layer within a comp, i just get an error: app.beginUndoGroup("get text length"); var comp = app.project.activeI...