Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thank you so much for your immediate response.
Moreover i already having and studying that book only.
Thanks again.
Copy link to clipboard
Copied
Updated the ScriptUI guide to version 1.8 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Version 1.9 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Version 1.10 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Version 1.11 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Version 1.12 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Ah Peter you didn't move the #targetengine "session" to page 1
Copy link to clipboard
Copied
Version 2.0 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Peter,
I know this is kind of off topic, but maybe you have the right connections to get an answer.
There is a scriptui error "window does not have a constructor" that shows up on all 64 bit adobe applications when running code as simple as "var Window1 = new Window('dialog',"test",undefined);".
This appears on 64 bit Photoshop (CS5-CS6) and 64 bit Illustrator (CS6).
The online workarounds are not something that can be packaged as part of a commercial solution. Any help is greatly appreciated.
Thanks,
Steven Bryant
scriptui.com
Copy link to clipboard
Copied
Steven,
It might be connected with this http://forums.adobe.com/message/4688189#4688189
Copy link to clipboard
Copied
I think it is.
But users are grasping in the dark thinking that it is specific to one scenerio. It is really related to all 64 bit applications.
Copy link to clipboard
Copied
Steven,
I tried that line of code and over here it doesn't cause any problems targeting PhotoShop CS6/64 or Bridge CS6/64. I've no idea where that error comes from, I can't reproduce it. Your best bet is to file a bug.
Peter
Copy link to clipboard
Copied
Could you try Illustrator CS6 64 bit.
Thanks
Copy link to clipboard
Copied
Sorry, I can't, I don't have Illustrator CS6.
Copy link to clipboard
Copied
Version 2.1 (http://www.kahrel.plus.com/indesign/scriptui.html).
Peter
Copy link to clipboard
Copied
Thanks for that, Peter!
However, you felt into a trap with the encoding of URLs for hyperlinks which stems from a serious bug InDesign CS6 and persists in InDesign CC.
See here for details:
http://forums.adobe.com/message/4463255#4463255
One example would be the link on p98 of "scriptui-2-1.pdf":
Your intention:
http://forums.scriptui.com/index.php?a=vtopic&t=118
What InDesign CC made out of it (InDesign CS6 would do the same):
http://forums.scriptui.com/index.php%3Fa%3Dvtopic%26t%3D118
It's not Export to PDF, that gets this all wrong. It's InDesign's Hyperlink Panel!
I did not check the other links, but could be, that there are a few foul ones around…
Uwe
Copy link to clipboard
Copied
Thanks, Uwe, I never spotted that. I fixed the links and posted a new PDF. I'll now run this script on the document before exporting to PDF:
u = app.documents[0].hyperlinkURLDestinations.everyItem().getElements();
for (i = u.length-1; i > -1; i--){
u.name = decodeURI(u.name)
u.destinationURL = decodeURI(u.name);
}
Peter
Copy link to clipboard
Copied
Thanks Peter,
Just wondering why you never wrote about hidden titlelayout properties for icon button, dropdown and flash player.
Thanks,
Copy link to clipboard
Copied
Steven,
I didn't because of its limited application. titleLayout isn't available for edittext and listbox, which is one reason why I never use it. I can happily live without titleLayout. Besides, titleLayout is pretty well documented in the tools guide.
Peter
Copy link to clipboard
Copied
Version 2.2 (http://www.kahrel.plus.com/indesign/scriptui.html).
Copy link to clipboard
Copied
Wonderful book, Great Work Peter !!!
It's really very helpful.
Vandy
Copy link to clipboard
Copied
Could you check this for me:
To avoid creating duplicate entries in a list, you can use the find method to
check if the item is already in the list:
if (myList.find (myNewItem) != null) //should be: if (myList.find (myNewItem) == null)
myList.add ("item", myNewItem);
Copy link to clipboard
Copied
Hello Przemek,
You right, that should be if (. . . == null)
Thanks for pointing it out, I've corrected it now.
Peter
On Tue, 03 Dec 2013 13:28:13 -0000, przemek_macko
Copy link to clipboard
Copied
This booklet is an impressive, precious resource and the little I can do is to take a minute and thank you!
Copy link to clipboard
Copied
This document helped me out so much!!!
Had this issue this weekend with localize and the dialog buttons getting squared. Apperently in photoshop, the mina dialog buttons only are round when they have some sort of naming term. Not sure what that is.
I had a chat with Joonas about this, he also doesnt seem to know what triggering this.
https://github.com/joonaspaakko/ScriptUI-Dialog-Builder-Joonas/issues/96
My question is, these fold out menu is that available in SCRIPTUI?
This is the HDR toning dialog from Photoshop. I cant seem to find this in the PDF nor do i see it on Joonas his website.