Skip to main content
Roy Marshall
Known Participant
August 19, 2019
Question

VSCode and ScriptUI Window as Palette issue.

  • August 19, 2019
  • 0 replies
  • 323 views

Hey All.

I have had this issue before, and I think it was fixed, but in fairness I did not pursue the problem.

My issue is I have a script that draws a window using ScriptUI, with the window type of Palette.

In ESTK it works fine, but using the same code in VSCode, my window doesn't show up.

Changing a dialog type works OK.

I need a palette type as the window needs to be non modal.

Here is a video hopefully showing the issue.

Interestingly, with the script in debug mode, and putting a breakpoint in, I can issue the command to show the window, and it DOES show, but as soon as the script exits, so does the window.

I know it must be a simple thing i need to change, but cannot find any solutions anywhere else.

Here is a link to the video

VSCode Extendscript Issue - YouTube

Many Thanks

Royston

This topic has been closed for replies.