Changeset 47774 in vbox for trunk/src/VBox/Main/webservice/samples/python/clienttest.py
- Timestamp:
- Aug 15, 2013 3:13:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/samples/python/clienttest.py
r44588 r47774 99 99 display = console.display 100 100 101 # Get the VM's current display resolution + bit depth 101 # Get the VM's current display resolution + bit depth + position 102 102 screenNum = 0 # From first screen 103 (screen X, screenY, screenBPP) = display.getScreenResolution(screenNum)104 print " Display (%d): %dx%d, %d BPP " %(screenNum, screenX, screenY, screenBPP)103 (screenW, screenH, screenBPP, screenX, screenY) = display.getScreenResolution(screenNum) 104 print " Display (%d): %dx%d, %d BPP at %d,%d" %(screenNum, screenW, screenH, screenBPP, screenX, screenY) 105 105 106 106 # We're done -- don't forget to unlock the machine!
Note:
See TracChangeset
for help on using the changeset viewer.