Expressions/Scripts/Presets

Search found 84 matches

by Yenaphe
Sat Aug 28, 2010 3:48 am
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 6782

Re: Progress Bars and User Updates

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

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
Mon Dec 21, 2009 4:27 am
Forum: Scripts Discussion
Topic: Try / Catch bug ?
Replies: 5
Views: 3667

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
Sun Dec 20, 2009 3:43 pm
Forum: General Scripts Library
Topic: Multi-Copy-Paste script - keyframes from multiple layers
Replies: 11
Views: 15597

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
Tue Dec 08, 2009 2:59 am
Forum: Scripts Discussion
Topic: Does File.saveDialog() allow default name?
Replies: 3
Views: 3328

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
Mon Dec 07, 2009 3:40 pm
Forum: Scripts Discussion
Topic: Does File.saveDialog() allow default name?
Replies: 3
Views: 3328

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
Mon Nov 30, 2009 6:24 am
Forum: Scripts Discussion
Topic: Try / Catch bug ?
Replies: 5
Views: 3667

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
Fri Nov 20, 2009 7:13 am
Forum: Scripts Discussion
Topic: Try / Catch bug ?
Replies: 5
Views: 3667

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
Fri Nov 20, 2009 7:06 am
Forum: Scripts Discussion
Topic: Noob Question how to get started?
Replies: 2
Views: 1743

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
Fri Nov 06, 2009 4:22 am
Forum: Scripts Discussion
Topic: Layer Styles in CS4
Replies: 1
Views: 1481

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
Fri Nov 06, 2009 3:13 am
Forum: Scripts Discussion
Topic: Layer Styles in CS4
Replies: 1
Views: 1481

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
Thu Oct 08, 2009 4:11 am
Forum: Scripts Discussion
Topic: searching array for a value, then getting index number
Replies: 2
Views: 1555

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"; // Lo...
by Yenaphe
Thu Oct 08, 2009 4:02 am
Forum: Scripts Discussion
Topic: Detecting Hidden properties
Replies: 2
Views: 1609

Re: Detecting Hidden properties

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

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 di...
by Yenaphe
Mon Sep 21, 2009 4:05 pm
Forum: Scripts Discussion
Topic: Weird behavior when adding multiple sliders
Replies: 2
Views: 2194

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.