CSUIB - general discussion, help, requests etc.

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

Moderators: Mike Hale, xbytor, Larry Ligon, Andrew, Patrick, PS-Moderators

CSUIB - general discussion, help, requests etc.

Postby jkozniewski » Tue Jun 14, 2005 4:39 pm

Hi all !

This is thread dedicated for my CSUIB editor.
Feel free to post any comments, requests, questions etc.
regarding this topic.
jkozniewski
 
Posts: 11
Joined: Sun Jun 12, 2005 10:33 am
Location: Warsaw, Poland

Postby mlk » Wed Jun 15, 2005 11:14 am

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 =) !
mlk
 
Posts: 17
Joined: Tue May 24, 2005 4:42 pm
Location: Valenciennes, France

Postby jkozniewski » Wed Jun 15, 2005 2:12 pm

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
jkozniewski
 
Posts: 11
Joined: Sun Jun 12, 2005 10:33 am
Location: Warsaw, Poland

Postby mlk » Wed Jun 29, 2005 3:33 pm

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
mlk
 
Posts: 17
Joined: Tue May 24, 2005 4:42 pm
Location: Valenciennes, France

how to use

Postby jorsillo » Tue Nov 01, 2005 10:38 pm

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?
jorsillo
 

Postby Norbert » Wed Nov 02, 2005 6:02 am

Same here.
When it's build. How do I generate it?
Thanks
Norbert
 
Posts: 44
Joined: Fri Oct 28, 2005 7:13 pm
Location: New York City

Postby xbytor » Wed Nov 02, 2005 1:33 pm

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 all
var 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 all
var 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.
xbytor
Site Admin
 
Posts: 1971
Joined: Thu May 19, 2005 12:11 pm
Location: In Limbo

Postby Andrew » Thu Nov 03, 2005 1:09 am

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
Andrew
Site Admin
 
Posts: 838
Joined: Thu May 19, 2005 5:56 am
Location: New Zealand


Return to Photoshop Scripting - General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron