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

New Window Appearing behind After Effects

$
0
0

Hello,

I have a dockable script UI that creates a new Window using the following code:

 

var prefs = new Window('window',"Window Name",undefined, {resizeable: true});
prefs.layout.layout(true);
prefs.show();


*There is other code in the enclosing function that adds the UI and functions to buttons that I've omitted.

 

Some people using my script on Macs with multiple displays have opened support tickets that the new window is opening behind After Effects. These are my questions.

 

  1. Is there anything in my code that is causing this?
  2. If not, is there anything I can add that will ensure the new window will be visible when it is shown?

 

Thank you very very much!


Viewing all articles
Browse latest Browse all 2143

Latest Images

Trending Articles



Latest Images

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