CSUIB - general discussion, help, requests etc.

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

jkozniewski

CSUIB - general discussion, help, requests etc.

Post by jkozniewski »

Hi all !

This is thread dedicated for my CSUIB editor.
Feel free to post any comments, requests, questions etc.
regarding this topic.
mlk

CSUIB - general discussion, help, requests etc.

Post by mlk »

absolutely amazing ! you don't know how much coding this saves all of us...

This is definitely bookmarked!

(maybe you could have the default 'ok' and 'cancel' buttons as buttons template)

Brilliant flash coding as well =) !
jkozniewski

CSUIB - general discussion, help, requests etc.

Post by jkozniewski »

maybe you could have the default 'ok' and 'cancel' buttons as buttons template


In v2 there will be something like "UI snippets" - custom groups of elements... At first I thought that I can use new Group GUI element but then I've realized that I can't use it due to CS 1 compatibility, nevertheless I'll do my best to provide you with such feature...

You can expect new version in a month or two...

BTW.
Feel free to link to CSUIB from kirupa.com...
Current link is: http://www.jkozniewski.com/tools/csuib.html
mlk

CSUIB - general discussion, help, requests etc.

Post by mlk »

jkozniewski wrote:maybe you could have the default 'ok' and 'cancel' buttons as buttons template


In v2 there will be something like "UI snippets" - custom groups of elements... At first I thought that I can use new Group GUI element but then I've realized that I can't use it due to CS 1 compatibility, nevertheless I'll do my best to provide you with such feature...

You can expect new version in a month or two...

BTW.
Feel free to link to CSUIB from kirupa.com...
Current link is: http://www.jkozniewski.com/tools/csuib.html

I definitely will =)... I just need to see if I can use it properly first, as I'm a little (a lot) behind in Jscript.

As for things that could be changed: maybe you could load a text file, I was working on a window UI when IE crashed... I had half of the code and would have been glad to put it back in... It still saves an enourmous amount of time.

Would it be possible to display the text code at the end in a structured way as well (or have the choice to?). it's much clearer to edit it by hand when you can see the structure of the window in the structure of the text file.

great job!

matt
jorsillo

CSUIB - general discussion, help, requests etc.

Post by jorsillo »

Hey, this is awesome, thanks so much. I'm not sure how to use the code that is generated. I paste it into extendscript toolkit and try to play it, but nothing happens.

Any suggestions?
Norbert

CSUIB - general discussion, help, requests etc.

Post by Norbert »

Same here.
When it's build. How do I generate it?
Thanks
xbytor

CSUIB - general discussion, help, requests etc.

Post by xbytor »

See page 18 in the CS JS Guide and page 197 in the CS2 Guide.

One note: the examples that they use have strings constructed like this:

Code: Select allvar alertBuilderResource =
    “dialog { text: ‘Alert Box Builder’, bounds:[100,100,480,490], \
    msgPnl: Panel { text: ‘Messages’, bounds:[25,15,355,130], \
    titleSt:StaticText { text:’Alert box title:’, \
    bounds:[15,15,105,35] }, \
//clipped


Having string literals span lines like this (with a '\' character) is not standard JS. The standard way would be to do this:

Code: Select allvar alertBuilderResource =
    “dialog { text: ‘Alert Box Builder’, bounds:[100,100,480,490], \n" +
    "msgPnl: Panel { text: ‘Messages’, bounds:[25,15,355,130], \n" +
    "titleSt:StaticText { text:’Alert box title:’, \n" +
    "bounds:[15,15,105,35] }, \n" +
//clipped


The reason I bring this up is that if you use other tools to view and/or modify your source code, like xemacs or eclipse, you may run into problems with this particular extension since it won't parse correctly.
Andrew

CSUIB - general discussion, help, requests etc.

Post by Andrew »

That's a very good point X which would be worth having in it's own thread in the Code Snippets forum. Do you want to make a copy there.

Andrew