Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: When one ScriptUI palette opens another

$
0
0

Didn't exactly set off a debate over best practices. Oh well.

 

I realized today that the if statement should be:

 

if (typeof ntWindowShowing=="undefined")

 

otherwise the script throws an error after a restart of the application. Seems to have something to do with the difference between an undeclared variable and an undefined one.


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>