Copy link to clipboard
Copied
The environment is as follows.
- InDesign 18.5.0 Japanese edition
- UXP 7.1.1
- Windows 10 22H2 (19045.3208)
After running the following script, you should see something like the attached image.
// htmlfunc.idjs
alert("message");
let s = confirm("Choose button");
s = prompt("Input your name","");
Is this a phenomenon specific to the Windows edition, or is it a phenomenon specific to the Japanese edition? "Is it just me?"
or
prompt() has no text field.
or
2 Correct answers
It is noted in several places that InDesign does not yet support this.
- `window.alert` in a UXP plugin crashes InDesign
- Products > UXP for InDesign > Resources > Recipes > Debug
@Omachi Alerts in ID 18.5 has some known issues. Do use console.log or other debugging/logging mechanisms until UD 19.0. We plan to fix these known issues in ID 19.0 which will have UXP 7.2 integrated.
Copy link to clipboard
Copied
It is noted in several places that InDesign does not yet support this.
- `window.alert` in a UXP plugin crashes InDesign
- Products > UXP for InDesign > Resources > Recipes > Debug
Copy link to clipboard
Copied
@Omachi Alerts in ID 18.5 has some known issues. Do use console.log or other debugging/logging mechanisms until UD 19.0. We plan to fix these known issues in ID 19.0 which will have UXP 7.2 integrated.
Copy link to clipboard
Copied
I got it.

