Search found 98 matches

by bradshaw1965
May 28th, 2007, 11:48 am
Forum: Scripts Discussion
Topic: ExtendScript / JavaScript implementation - Classes???
Replies: 3
Views: 13658

I'm still forming my opinion on strong and static typing, but I really find it interesting how in two environments I follow, folks moving from dynamic typing in an ECMA environment like Actionscript 1-2 to a more strongly typed Actionscript 3 are really excited about it and in Mac development C, C++...
by bradshaw1965
May 17th, 2007, 7:04 am
Forum: Scripts Discussion
Topic: Still having trouble with callSystem, on a Mac this time
Replies: 3
Views: 8674

the way spaces are handled on the mac command line is to either escape each space with alpha\ beta or to single quote it 'alpha beta' so i think we want to use the second example above. var runString = "open '" + sString + "'"; My concern is that in javascript duck typing (if it ...
by bradshaw1965
May 16th, 2007, 9:01 pm
Forum: Scripts Discussion
Topic: Still having trouble with callSystem, on a Mac this time
Replies: 3
Views: 8674

Re: Still having trouble with callSystem, on a Mac this time

//theFile vaiable is a path stored in the preferences var sString = theFile.absoluteURI.replace(/\//g, "//"); var runString = '"open '+sString+'"'; //this line does not work system.callSystem(runString); //this line works but is not scalable system.callSystem("open ~/Deskto...
by bradshaw1965
April 19th, 2007, 12:07 pm
Forum: Scripts Discussion
Topic: watch / trace variable
Replies: 5
Views: 11511

Another feature I miss from Textpad is the ability to find the matching brace"{}" or "()". Those two things make it much easier to not get lost in a see of loops and conditional statements. Yes, code folding would go a long way to making the built-in editor usable. I've become s...
by bradshaw1965
April 3rd, 2007, 11:51 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

byronnash wrote:So, can you just plug in any menu item to that function and it will execute it?
pretty much. If the menu command throws up a GUI dialog the user will still have to deal with that.

Dale
by bradshaw1965
April 3rd, 2007, 9:05 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

Hey Byron, Chris Prosser from Adobe posted app.executeCommand(app.findMenuCommandId(”Auto-Orient…”)) in reference to an auto-rig script I was having difficulty writing. nab was clever enough to figure out the mask from "New Mask" would be the same dimensions as the text layer. Dale
by bradshaw1965
April 3rd, 2007, 8:54 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

Hey nab,

Once again, some nice sleuthing.

Dale
by bradshaw1965
March 1st, 2007, 12:39 pm
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

Hey Lloyd, I talked with NAB about doing some path coercion to the user folder or even application support, but I'm reluctant to do that because of the support issues that path munging involves with people who aren't very technical. I spend a lot of time supporting users of my open source stuff, and...
by bradshaw1965
February 22nd, 2007, 12:31 pm
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

Hey zold, did a quick check in the SDK guide. Since I'm using XCode I'm pretty sure this won't work on 6.5 since I'm generating a Mach-0 bundle package which started support in 7.0. Do you have access to Code Warrior? I don't have a copy so I can't generate a CFM binary. Anybody else have ideas for ...
by bradshaw1965
February 22nd, 2007, 12:24 pm
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

Hi Dale. Did you compile a universal or a separate target? Perhaps I should give the Intel version a whirl on my MBP with AE6.5? I've updated with a universal version at: http://creative-workflow-hacks.com/downloads/nabTextDimensionsUniversalMac.zip why don't you give this one a shot, if you've sti...
by bradshaw1965
February 22nd, 2007, 9:15 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

So, I did a quick test on my Intel Mac Book and I'm having success as compiled with AE 7. Can anybody else confirm that it is working on AE7 Intel, but not AE 6.5 Intel? I don't have an install of AE 6.5 on a readily accessible Intel machine.

Dale
by bradshaw1965
February 22nd, 2007, 8:29 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

... Not working on my Intel Mac with AE6.5. Intel Mac the problem? Or the fact that I'm running v6.5? ... Hey Zoid, Was wondering about that when I was putting the package together. I compiled it on a G5, but I can look into setting the target for Intel and PowerPC and test it on my Intel laptop. Mi...
by bradshaw1965
February 13th, 2007, 12:47 pm
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

I've compiled a version of nab's text length plugin for Macintosh. nabscriptsTextDimensionsMac.zip This version works the same as the Windows version: 1: place the script in the Scripts folder of your AE Application 2: place the plugin in the Plugins folder of your AE Application 3: create a text la...
by bradshaw1965
February 7th, 2007, 10:35 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125585

Hey nab,

Not sure if my spam filter ate it or what, but I don't have a recent email from you. Care to send it again? sorry about that.

Dale
by bradshaw1965
January 31st, 2007, 4:14 pm
Forum: Scripts Discussion
Topic: DESPERATE: how to load external JSON data?
Replies: 2
Views: 9838

hey lunelson, What I'd do is start with a very simple fcp.xml file. a sequence with one clip and do the parse to simplify the contents of the file. I'd also eliminate the file loading part for now, just copy/paste the simplified string of text into a variable while you are developing, so you can att...