Closed GWydouw closed 10 years ago
This is a limitation of the Ruby API. Needs to be filed as a feature request for SketchUp.
It's it possible to get this values through javascript?
Afraid not. It needs to come from SketchUp.
That is, under Windows you could mess about with Win32 API calls, but that is more fragile, more complicated, and doesn't work for OSX. I don't know what one can do under OSX.
You can set the dialog on a certain position on the screen. But it will be more useful when it's also possible to get the active position on the screen. This is important on the mac where when you change the size of the dialog, the bottom of the dialog stays in place instead of the top. If you know the position, you can replace the window by code.