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

Resize a prompt box

Participant ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

Hi everyone,
I made this script:
app.selection[0].opentypeFeatures=[["cv"+("00"+prompt("character variant","00")).slice(-2),1]];

and I would like to resize the prompt box I am not getting at all.
Please, any help would be great.
Sami

TOPICS
Scripting

Views

299

Translate

Translate

Report

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

correct answers 1 Correct answer

Advisor , Feb 28, 2021 Feb 28, 2021

Hello Sami,

 

See the link below.......you can build your oun window/panel/palette online.

You can then download the code and incorporate it into you script

https://scriptui.joonas.me/

 

Screen Shot 2021-02-28 at 9.00.37 AM.png

 

Regards,

Mike

Votes

Translate

Translate
Participant ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

Hello @Sami Artur ,

 

I don't think this is possible with Prompt.

https://www.indesignjs.de/extendscriptAPI/indesign-latest/index.html#WindowSUI.html#d1e10891__d1e112...

Only shows text, input and title change be set.

 

If you want more control you should think about making the prompt as its own window/panel.

 

Regards,

Votes

Translate

Translate

Report

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 ,
Feb 28, 2021 Feb 28, 2021

Copy link to clipboard

Copied

Thank You  @tacoeater ,

Could You show me how to do, please?
Sami

Votes

Translate

Translate

Report

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
Advisor ,
Feb 28, 2021 Feb 28, 2021

Copy link to clipboard

Copied

Hello Sami,

 

See the link below.......you can build your oun window/panel/palette online.

You can then download the code and incorporate it into you script

https://scriptui.joonas.me/

 

Screen Shot 2021-02-28 at 9.00.37 AM.png

 

Regards,

Mike

Votes

Translate

Translate

Report

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 ,
Feb 28, 2021 Feb 28, 2021

Copy link to clipboard

Copied

LATEST

Thank's @Mike Bro 
I will try it.

Sami

Votes

Translate

Translate

Report

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