Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

[CS2 JS]Script UI Help !!!

New Here ,
Jun 17, 2008 Jun 17, 2008
Hi,

I want to create a dialog using Script UI . But i dont know where ro
start with.Please tell the scripting reference.

I found some sample in this forum which i tried is given below:

var w = new Window( "dialog", "Example" );

But when i run the script in Indesign i get an error like "Window is not a constructor".Where am i going wrong?Please guide

Thanks in advance
TOPICS
Scripting
765
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 17, 2008 Jun 17, 2008
Hi,

Download JavaScript Tools Guide from here and read chapter 4:
http://www.adobe.com/devnet/bridge/pdfs/javascript_tools_guide_cs3.pdf

Kasyan
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 17, 2008 Jun 17, 2008
InDesign CS2 does not support ScriptUI. Sorry.

Dave
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2008 Jun 17, 2008
Thanks for the Info.

Anyway how can i create a dialog using JS Object reference CS2 with all features such as applying styles,color ,font etc to a dialog?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 17, 2008 Jun 17, 2008
In CS2 you can use only dialog object, but it's facilities are quite modest.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2008 Jun 17, 2008
LATEST
Hi myriaz,

As Kasyan says (thanks, Kasyan!), use the dialog object. Most of the example scripts for CS2 contain a dialog--if you don't already have them, you can get them from the bottom of the InDesign scripting home page (a link is at the top of this forum).

Thanks,

Ole
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines