Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

prevent duplicate palettes when calling $.evalFile

$
0
0

Hello,

 

Is it possible to have an $.evalFile check if a palette is already open, and if so, switch to it instead of spawning a new one?

 

I'm calling up various utility panels from a central hub ScriptUI palette using $.evalFile, but it will happily open as many copies of the same window as the user wants. Would be nice to be able to prevent that.

 

Thanks!


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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