Resize a prompt box

Explorer ,
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

117

Likes

translate

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

Enthusiast , 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 scripthttps://scriptui.joonas.me/  Regards,Mike

Likes

translate

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,

Likes

translate

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

Copy link to clipboard

Copied

Thank You  @tacoeater ,

Could You show me how to do, please?
Sami

Likes

translate

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
Enthusiast ,
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

Likes

translate

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

Copy link to clipboard

Copied

Thank's @mikeb41294032 
I will try it.

Sami

Likes

translate

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