6 Replies Latest reply on Mar 28, 2010 2:31 PM by Harbs.

    JS CS3: ScriptUI - window and panel loses focus on Mac

    Thomas B. Nielsen Level 3

      Hi,

       

      Have made a script to export selected textframes as text files.

      When the script runs on a PC the script window stays in front of the document as intended.

      Much to my surprise this is not the case on Mac, On Mac the script loses focus and goes behind the document.

       

      Is this a bug or is there a workaround?

       

      Using the folowing to create/start the UI.

       

      var win = new Window( "window", "Text Exporter" );
      win.myPanel = win.add("panel");

       

      with(win){
          win.Pnl = add('panel', undefined, 'Textframes for export');
          win.Pnl.orientation = 'column';

           ...