Search found 321 matches

by byronnash
March 13th, 2014, 7:43 pm
Forum: Scripts Discussion
Topic: workflow tips needed for setting up headless script (-noui)
Replies: 0
Views: 3639

workflow tips needed for setting up headless script (-noui)

My client is asking for me to create a script that can execute from Photoshop without showing the AE UI at all. For those that have created headless workflows, what tips and tricks can you recommend?
by byronnash
January 28th, 2014, 9:00 pm
Forum: Scripts Discussion
Topic: Variable dump for error checking
Replies: 0
Views: 3751

Variable dump for error checking

I'm trying to build in some error reporting via a log file into one of my scripts. I'm catching the errors and writing them to a text file along with some periodic feedback items I've written in manually. Is there a way to sort of dump all the variables that have been defined up to the point of erro...
by byronnash
April 17th, 2013, 4:13 am
Forum: Scripts Discussion
Topic: Layer Timecode?
Replies: 1
Views: 3272

Layer Timecode?

I can get the comp timecode but I can't seem to find an easy way to determine what the start timecode is from a given layer. Anyone know how to get that?
by byronnash
April 16th, 2013, 10:36 am
Forum: Scripts Discussion
Topic: Set Slider Range ( min / max)?
Replies: 3
Views: 5810

Re: Set Slider Range ( min / max)?

I don't recall there being a solution but it has been quite some time since I tried that approach. It's possible they have made some changes I'm not aware of.
by byronnash
March 26th, 2013, 2:13 pm
Forum: Scripts Discussion
Topic: Applescript?
Replies: 4
Views: 5598

Re: Applescript?

I'll give the command line approach a shot. I'm trying to hand off a snippet of code to an Applescript Developer who is assisting my client with some automation. I'm handling the Ae stuff and he is doing the AS part.
by byronnash
March 25th, 2013, 1:35 pm
Forum: Scripts Discussion
Topic: Applescript?
Replies: 4
Views: 5598

Re: Applescript?

Bumping this thread again. I'm trying to get Applescript to execute an external jsx script. I have tried it two ways and both seem to fail for different reasons. 1st approach fails because applescript does not like the path to the script file I'm giving it. This location should be pretty static so I...
by byronnash
January 28th, 2013, 7:55 pm
Forum: Scripts Discussion
Topic: Applescript?
Replies: 4
Views: 5598

Applescript?

Anyone ever messed around with hooking up applescript into AE scripts? Like, triggering scripts with droplets?
by byronnash
January 11th, 2013, 9:54 am
Forum: Scripts Discussion
Topic: AE crashing on project save
Replies: 0
Views: 4279

AE crashing on project save

I am making a script for a client and it keeps crashing on save on their end. I've attached an error message they sent. The script saves a new copy of the project as a new name when it starts. Then after completing, it saves the project. It's crashing at the last save. I can't get it to do it on my ...
by byronnash
January 2nd, 2013, 7:47 pm
Forum: Scripts Discussion
Topic: Script eval() stopped working
Replies: 0
Views: 4052

Script eval() stopped working

I have a palette that has a button to run a script. The location of the script is stored in the preferences. I had this working the other day, but now it's not executing the other script. Does this look correct? myWindow.myPanel.runButton.onClick = function () { alert("Running :" +ST.scriptFile); va...
by byronnash
November 19th, 2012, 7:46 pm
Forum: Scripts Discussion
Topic: Undo grouping mismatch
Replies: 0
Views: 4148

Undo grouping mismatch

I seem to have this error from time to time and it's currently haunting me. After running a script, certain tasks in AE cause it crash with that error. I believe I have my undo groups properly setup in the scripts. What else can I check to rectify this?
by byronnash
September 7th, 2012, 11:21 am
Forum: Scripts Discussion
Topic: Assigning helptips in Launchpad
Replies: 2
Views: 4577

Re: Assigning helptips in Launchpad

It's as simple as just adding the property.

Code: Select all

yourUIelement.helpTip("your text here")

All the UI stuff is documented in the Javascript Tools Guide found in the help menu of Extendscript.
by byronnash
September 7th, 2012, 10:59 am
Forum: Scripts Discussion
Topic: XML parsing
Replies: 4
Views: 5785

Re: XML parsing

Thanks, I have the reading and writing working now.

Is there a way to write an XML from an Object? I can't find a way to dynamically access all the properties of an object. It would be awesome if you could convert the tree-like structure of an object straight into a XML object.
by byronnash
September 3rd, 2012, 12:05 pm
Forum: Scripts Discussion
Topic: XML parsing
Replies: 4
Views: 5785

Re: XML parsing

Wow, I didn't realized it was so simple. In testing, it seems to accept some XML files and not others. Also, how would you access something like this? <languages> <version>1</version> <language>en-US</language> <language>ja-JP</language> </languages> For the "version" token I think I could read it b...
by byronnash
September 1st, 2012, 12:11 pm
Forum: Scripts Discussion
Topic: XML parsing
Replies: 4
Views: 5785

XML parsing

What are you all using to get data out of a XML file? I'm thinking about switching to XML to store data in instead of CSV style text files. I was hoping there was a good method in place already that will read a file and return an object with all the nodes of the XML in it.
by byronnash
August 9th, 2012, 6:51 pm
Forum: Scripts Discussion
Topic: Anyone had any luck with the wantReturn property? (scriptUI)
Replies: 1
Views: 3287

Anyone had any luck with the wantReturn property? (scriptUI)

They added the ability to hit return on the keyboard with CS6 inside an edittext. I'm trying to add this property to my box with no success. Anyone have this working?