Login  Register

Moving a non-image window

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Moving a non-image window

lechristophe
419 posts
Dear all,

Is there a way to move a non-image window in a macro ? In a plugin Wayne
indicated this one year ago on this list :

      Frame frame = WindowManager.getFrame("Window Title");
      if (frame!=null)
          frame.setLocation(x, y);

But how to do it in a macro ? From my tests the setLocation() function
doesn't work for non-image windows.

Thank you for your help,

Christophe