Complex interface

I develop AppleScript in Script Editor and it needs more complex interface than what display dialog can do.

Are there any way to make window with multiple text input boxes and few check boxes in Interface Builder and then include it in Script Editor AppleScript?

I would like to do it that way, because Xcode is much more difficult to use than Script Editor.

You could write an AppleScript Studio application which includes only the dialog window with your desired UI elements.
This application is scriptable e.g. all UI elements are accessible by AppleScript

cirno:

You asked about using AppleScript from HTML in this thread:

http://macscripter.net/viewtopic.php?id=30045

You can use HTML to make your interface and AppleScript in the ‘back end’ to do what you’re asking.

It’s a bit of work to figure it all out, but you can avoid XCode doing it using one of the ways suggested in the other thread.

Peter B.


Edit:

Here’s a screenshot of something I put together using my own AppleScript protocol ‘back end’. The HTML interface is on the left… the output on the right.

http://www.occupantunknown.com/untitled/demo.png


Thanks for your long answers in both threads!

Your demo.png uses Safari? Is it possible to do it without Safari and use Webkit in AppleScript window?

I don’t know… I assume you mean an AS Studio window, but I still don’t know.

The protocol method should work with any browser… if you do it right.

That’s about all I can offer… study Webpage Helper if you choose to use the protocol method.

Peter B.