Skip navigation
Currently Being Moderated

get position of extension relative to screen

Apr 26, 2012 3:43 AM



how go i get the position of my extension panel relative to the screen?


I'm using a CSXSWindowedApplication for a Premiere extension and thought


stage.nativeWindow.x, stage.nativeWindow.y


nativeWindow.x, nativeWindow.y

should do it, but I always get back

0, 1050

1050 being they resolutuon of my screen,



  • Currently Being Moderated
    Apr 26, 2012 10:07 AM   in reply to JeffWinder

    The function you're looking for is nativeWindow.globalToScreen(), see: sh/display/NativeWindow.html#globalToScreen()


    Again, this function is dependent on the application's implementation, so like what you've already seen with x/y position, its support will vary between applications.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points