Skip to main content
runninghead
Known Participant
June 25, 2010
Answered

Scripting a simple window

  • June 25, 2010
  • 2 replies
  • 730 views

Hi,

I'm not sure even what to call this, but does anyone know where I can learn to script user interface windows that pop up at the start of a script

I can imagine one furnished with drop-down menus and radio buttons, etc, that allows the user to select which actions they'd like to run on what layers in a psd file.

Is this even possible?

What's it called when you make windows like this in Photoshop Javascripting?

Are there any good tutorials online?

Thanks,

Tom B

This topic has been closed for replies.
Correct answer Michael_L_Hale

Adobe calls that ScriptUI and you can find out about the class, properties, and methods in the Javascript Tools Guide. I don't know of any online tutorials but over at PS-Scripts we have lots of examples and snippets.

If you are using Windows there is a free app that will let you create a dialog by dragging and dropping the controls. When you are done it creates a resource string that you can use in your script. http://www.jkozniewski.com/tools/CSUIB_2.0a.zip  I used it when I frist started making dialogs but now I don't like the resource method of creating dialog. And it has not been updated in a while. Still you might want to have a look.

There is also a fee baised app. I don't have a link but they posted info about it here so a forum seach might find it.

But I think your best bet would be to go to http://www.ps-scripts.com/bb/ look at the examples there and when you need help make another post either here or there.

2 replies

Michael_L_HaleCorrect answer
Inspiring
June 25, 2010

Adobe calls that ScriptUI and you can find out about the class, properties, and methods in the Javascript Tools Guide. I don't know of any online tutorials but over at PS-Scripts we have lots of examples and snippets.

If you are using Windows there is a free app that will let you create a dialog by dragging and dropping the controls. When you are done it creates a resource string that you can use in your script. http://www.jkozniewski.com/tools/CSUIB_2.0a.zip  I used it when I frist started making dialogs but now I don't like the resource method of creating dialog. And it has not been updated in a while. Still you might want to have a look.

There is also a fee baised app. I don't have a link but they posted info about it here so a forum seach might find it.

But I think your best bet would be to go to http://www.ps-scripts.com/bb/ look at the examples there and when you need help make another post either here or there.

runninghead
Known Participant
June 25, 2010

That's great, thanks for the help guys!

It's all starting to get really interesting for me now

Tom B

c.pfaffenbichler
Community Expert
Community Expert
June 25, 2010

I suppose it may not be an especially gripping read, but you could start with »JavaScript Tools Guide CS4.pdf« (should be part of the installation).