Search found 41 matches

by philspitler
March 6th, 2012, 12:22 pm
Forum: Scripts Discussion
Topic: Serial Communication
Replies: 0
Views: 6754

Serial Communication

Hi,
I am trying to find any information on outputing data through a serial / USB port via AE scripting.

Any ideas?

Cheers.

Phil
by philspitler
February 8th, 2012, 9:52 pm
Forum: Scripts Discussion
Topic: Adding an effect to a set position
Replies: 1
Views: 8050

Adding an effect to a set position

I want to add an effect to some layers in an AE script but instead of it adding it to the bottom of the property group, I want to insert it at a set location. Here is my current code snippet. if (thisEffectName == fxOld) { // found an old effect thisEffect.remove(); currentEffects.addProperty(fxNew)...
by philspitler
November 8th, 2011, 12:37 am
Forum: Scripts Discussion
Topic: Running Terminal Commands from OSX
Replies: 1
Views: 7452

Running Terminal Commands from OSX

I'm using the command below. outputMsg=system.callSystem("xxxxx"); It works but I want it to open the command in an OSX terminal window instead just running silently? Also, currently AE waits for the system call to finish before giving control back to the AE gui, I just want it to set my c...
by philspitler
September 17th, 2011, 1:55 pm
Forum: Scripts Discussion
Topic: Getting a file list from a folder
Replies: 4
Views: 11048

Re: Getting a file list from a folder

ahhh, thanks for heads up.... I better do some more testing ;-)

Phil
by philspitler
September 16th, 2011, 5:20 pm
Forum: Scripts Discussion
Topic: Getting a file list from a folder
Replies: 4
Views: 11048

Re: Getting a file list from a folder

I was tinkering today and actually found the javascript sort() function worked great.

http://www.w3schools.com/jsref/jsref_sort.asp

Thanks for all your help.

Phil
by philspitler
September 10th, 2011, 1:53 pm
Forum: Scripts Discussion
Topic: Getting a file list from a folder
Replies: 4
Views: 11048

Getting a file list from a folder

Does anybody know how the "getFiles" function determines which order to put the files in the array. It doesn't seem to be alphabetical or by date modified. It may be date created which is a bummer, I would love to have a flag to choose how it populates the array. It looks like I may have t...
by philspitler
July 13th, 2011, 2:08 pm
Forum: Scripts Discussion
Topic: InDesign differences
Replies: 0
Views: 5787

InDesign differences

I want to use a script UI in InDesign but it doesn't work correctly. I have never done any InDesign scripting but it should be very similar to AE. I see the UI flash up for a brief moment then disappear. Here is the code, any ideas? Thanks. Phil var myPalette = buildUI(this); if (myPalette != null &...
by philspitler
April 1st, 2011, 4:45 pm
Forum: Scripts Discussion
Topic: free for you! movie barcode generator
Replies: 4
Views: 15116

Re: free for you! movie barcode generator

I did the same thing using expressions.

I used the sampleImage command to tint a single pixel solid that was duplicated 2000 times.

It takes a long time to process so I actually sequenced the layers to see the barcode build up.

LLoyd, I'll email you the project.

Phil
by philspitler
April 1st, 2011, 2:20 pm
Forum: Scripts Discussion
Topic: Image Sequences
Replies: 2
Views: 8043

Re: Image Sequences

Yep, I figured it would be a nightmare....

Thanks Lloyd.

Phil
by philspitler
March 29th, 2011, 7:31 pm
Forum: Scripts Discussion
Topic: Image Sequences
Replies: 2
Views: 8043

Image Sequences

I am starting work on a script that will work with image sequences, nothing as elaborate as Llloyd's "Immigration". The first thing I need to do is to identify all the image sequences in a project. I was hoping that the filename provided by AE would contain [ ] so that I could search for f...
by philspitler
March 16th, 2011, 10:44 pm
Forum: Scripts Discussion
Topic: Listbox Woes
Replies: 2
Views: 9514

Re: Listbox Woes

Thanks David, Your listbox worked like a charm but I still have a few issues. Once the listbox is displayed, AE is "locked out" until I press escape which close the window. To me, it seems like this is a different type of window than usual, the window I have with my "go" button i...
by philspitler
March 16th, 2011, 12:01 pm
Forum: Scripts Discussion
Topic: UI woes: multi-column listbox
Replies: 3
Views: 16782

Re: UI woes: multi-column listbox

Hi David,
Your code works in Extended Script but gives me and error when I try and run it in AE.

I just posted a question with some other ListBox issues too,

Phil
by philspitler
March 15th, 2011, 5:33 pm
Forum: Scripts Discussion
Topic: Listbox Woes
Replies: 2
Views: 9514

Listbox Woes

Hi, I am having a few issues with my listbox UI. It is looking pretty good but there are a few issues: a) no close button ( I have closeButton: true in my script) b) I can't copy the data to the clipboard (I can select the items but they don't make it into the clipboard) c) I can't get the headings ...
by philspitler
March 14th, 2011, 6:30 pm
Forum: Scripts Discussion
Topic: Layer current time
Replies: 0
Views: 5980

Layer current time

Hi, I am trying to find the current time of a layer but can't find any reference to the syntax.  Basically I am looping through each layer in a comp and want to display it's current time at it's own in point.  I have the same thing done as an expression by enabling time remapping and looking at a ...
by philspitler
March 14th, 2011, 3:30 pm
Forum: Scripts Discussion
Topic: system.callSystem - multiple copies
Replies: 1
Views: 6427

Re: system.callSystem - multiple copies

I figured it out.

I used the "open" command to launch it and it worked great.

Cheers.

Phil