Skip to main content
Inspiring
February 28, 2021
Answered

Resize a prompt box

  • February 28, 2021
  • 1 reply
  • 637 views

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

This topic has been closed for replies.
Correct answer Mike Bro

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/

 

 

Regards,

Mike

1 reply

Participating Frequently
February 28, 2021

Hello @Sami Artur ,

 

I don't think this is possible with Prompt.

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

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,

Inspiring
February 28, 2021

Thank You  @tacoeater ,

Could You show me how to do, please?
Sami

Mike BroCorrect answer
Legend
February 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/

 

 

Regards,

Mike