Skip to main content
Peter Kahrel
Community Expert
Community Expert
October 13, 2010
Question

ScriptUI for dummies

  • October 13, 2010
  • 18 replies
  • 27922 views

I've been putting together a text on ScriptUI, to a large extent to clear up things for myself (hence the title!). It's an introduction to ScriptUI, much of it very basic, here and there going into some detail. It's not a finished product, and comments, suggestions, and corrections are welcome. If you're interested, you can find the PDF file here: http://www.kahrel.plus.com/indesign/scriptui.html

Peter

This topic has been closed for replies.

18 replies

Jaswin
Participating Frequently
October 14, 2010

thanks Kahrel, good stuff.

expecting more from you

Bob Stucky
Adobe Employee
Adobe Employee
October 13, 2010

Nice work, Peter! Something like that has been needed since CS2.

If you'd like some help on some of the more advanced topics (embedding a png in your script, validation), drop me a line.

Bob

Peter Kahrel
Community Expert
Community Expert
October 13, 2010

Thanks, Bob -- will certainly do (and need) that.

Peter

Kasyan Servetsky
Legend
October 13, 2010

Excellent book — short and sweet.

Kasyan

Jongware
Community Expert
Community Expert
October 13, 2010
"The best way to become acquainted with a subject is to write a book about it."
Benjamin Disraeli
British politician (1804 - 1881)
Known Participant
October 13, 2010

Awesome!!!

It's really great & helpful.

tomaxxi
Inspiring
October 13, 2010

WOW!

Peter, this is really great!

Great tool for beginners, but for pro's also!

PS.

thanks for listing my blog!

--

tomaxxi

http://indisnip.wordpress.com/

Inspiring
October 13, 2010

Peter,

On page 6 (Pdf Page 8) under "Formatting the window frame" myPanel not declare so its giving error.

I have declare myPanel and working fine.

myWindow = new Window ("dialog", "Example", undefined, {borderless: true}) var myPanel = myWindow.add("panel", undefined) myPanel.add ("statictext", undefined, "borderless: true"); myWindow.show ();

Shonky

Peter Kahrel
Community Expert
Community Expert
October 13, 2010

Thanks, Shonky, that's fixed now.

Peter

Colin Flashman
Community Expert
Community Expert
October 13, 2010

excellent stuff. going through it now to see if i can convert an HTML-based calculator that i made so i can output the results straight into indesign.

have noticed one thing which i think might be a typo though. on page 6 (8 of the pdf) there is a heading "Two ways of addressing controls" and rather than paragraphs of type, just the letters "aa".

am i missing something here?

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Peter Kahrel
Community Expert
Community Expert
October 13, 2010

> am i missing something here?

No, that's a "to do", but confusing. Forgot to take it out, actually. Now fixed.

Thanks,

Peter

Inspiring
October 13, 2010

Great!!!

It's very helpful.

Peter, thanks alot for all of your hard work.

Shonky