Search found 84 matches

by Yenaphe
August 28th, 2010, 3:48 am
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 8148

Re: Progress Bars and User Updates

Does forcing the window to update with Window.update(); workarounds the bug ?
by Yenaphe
August 21st, 2010, 3:43 am
Forum: Scripts Discussion
Topic: Hiding a column in multicolumn listbox
Replies: 0
Views: 2521

Hiding a column in multicolumn listbox

Hi everyone,

I'm trying to hide a column in a multicolumn list view, but can't figure out a way to do this. Any idea ?
by Yenaphe
December 21st, 2009, 4:27 am
Forum: Scripts Discussion
Topic: Try / Catch bug ?
Replies: 5
Views: 4430

Re: Try / Catch bug ?

Yes, it's a bug occuring when "enable java debugger" is on, and finaly I use jsxbin format to avoid it.

i've subbmitted a bug report on the online bug report form on Adobe.com, let's cross fingers and hope it will be squished in a future release.
by Yenaphe
December 20th, 2009, 3:43 pm
Forum: General Scripts Library
Topic: Multi-Copy-Paste script - keyframes from multiple layers
Replies: 11
Views: 17511

Re: Multi-Copy-Paste script - keyframes from multiple layers

Hi,

i've just tested the script on CS4 and it works great. I wanted to use it on a CS3 project, but as soon as I launch it I've got an error message that says that a ";" is missing on line 1.

Should be an easy fix :)

Thanks
by Yenaphe
December 8th, 2009, 2:59 am
Forum: Scripts Discussion
Topic: Does File.saveDialog() allow default name?
Replies: 3
Views: 4394

Re: Does File.saveDialog() allow default name?

Kudos to Jeff Almasol pointing me into the right direction to do this:

var TmpFile = new File("The default name you want");
yourFile = TmpFile.saveDlg(aruments);
by Yenaphe
December 7th, 2009, 3:40 pm
Forum: Scripts Discussion
Topic: Does File.saveDialog() allow default name?
Replies: 3
Views: 4394

Re: Does File.saveDialog() allow default name?

I'm updating my scripts with the .saveDialog() and I have the exact same question.

I'm sure the answer is yes, just need to figure out how to do this.
by Yenaphe
November 30th, 2009, 6:24 am
Forum: Scripts Discussion
Topic: Try / Catch bug ?
Replies: 5
Views: 4430

Re: Try / Catch bug ?

I made a if/else statement at first, but I was getting the same error when testing if it was possible to set the param to true.
by Yenaphe
November 20th, 2009, 7:13 am
Forum: Scripts Discussion
Topic: Try / Catch bug ?
Replies: 5
Views: 4430

Try / Catch bug ?

Hi everyone, I have a try/catch looking like that: try{ Property.selected = true; }catch(err1){ Result = false; } Every time I execute my script (by pressing a button on my script UI), the first time it goes into this try/catch, the script fails and open the Extend Script saying that Property.select...
by Yenaphe
November 20th, 2009, 7:06 am
Forum: Scripts Discussion
Topic: Noob Question how to get started?
Replies: 2
Views: 2086

Re: Noob Question how to get started?

Well the first thing to look at is source of some other people scripts to help you understand more easily how everthing connects togather. I also recommand you reading motionscript.com and redefinery.com where Dan, expression and script guru explains some basics, and where Jeff (AE Adobe scripting g...
by Yenaphe
November 6th, 2009, 4:22 am
Forum: Scripts Discussion
Topic: Layer Styles in CS4
Replies: 1
Views: 1822

Re: Layer Styles in CS4

Okay, so after knocking my head against walls I've found a workaround.

I do a try/catch with myProperty.selected = true. When it fails it means that the property cannot be set to true because it's parent or itself is hidden.

Not really beautiful, but at least, it works... for now.
by Yenaphe
November 6th, 2009, 3:13 am
Forum: Scripts Discussion
Topic: Layer Styles in CS4
Replies: 1
Views: 1822

Layer Styles in CS4

I'm working on an XML exporter for CS4, and while parsing and analysing the layers, all the property groups are always exported, including the Layer Style group. No matter if I have layer styles on my layer, all the properties for all layer styles are always exported. I would like to know if there i...
by Yenaphe
October 8th, 2009, 4:11 am
Forum: Scripts Discussion
Topic: searching array for a value, then getting index number
Replies: 2
Views: 1953

Re: searching array for a value, then getting index number

You have to do something like this: (i'm typing the code directly, can't test it right now, so check for typos & such, but the idea is here) var myArr = ["apple","orange","grapes","lemon"]; var itemIndex = null; var itemSearched = "orange"; // Loop inside the array to search for the value for (var i...
by Yenaphe
October 8th, 2009, 4:02 am
Forum: Scripts Discussion
Topic: Detecting Hidden properties
Replies: 2
Views: 2071

Re: Detecting Hidden properties

I've tried it already, but doesn't help at all sadly.
by Yenaphe
October 2nd, 2009, 6:29 am
Forum: Scripts Discussion
Topic: Detecting Hidden properties
Replies: 2
Views: 2071

Detecting Hidden properties

Hi guys, i'm trying to figure out how to detect "hidden" properties By Hidden properties, i mean properties that exists but that are unavailable on the UI for some specific layer type. I'm writing an XML export script, and it exports for each layer every values for every property. But I discovered t...
by Yenaphe
September 21st, 2009, 4:05 pm
Forum: Scripts Discussion
Topic: Weird behavior when adding multiple sliders
Replies: 2
Views: 2637

Re: Weird behavior when adding multiple sliders

Thanks Nab, for a minute I was thinking that I might be completely missing the obvious, or becoming crazy.

I did use a workaround as they didn't need to be in the same place, so in my particular case it was easy, but i wanted to understand.

I'm going to report the bug so they can investigate on it.