Page 2 of 2

Re: [Bug] Wrong DesktopWidth/DesktopHeight() returns in VMwa

Posted: Wed Oct 22, 2014 2:50 pm
by es_91
I still have a problem. :?

I can not find the right desktop on my PC. The correct desktop has no name. How can i make it automatically sure that i use the right desktop?

Re: [Bug] Wrong DesktopWidth/DesktopHeight() returns in VMwa

Posted: Wed Oct 22, 2014 3:15 pm
by Demivec
Use:

Code: Select all

desktopCount = ExamineDesktops()

For x = 0 To desktopCount - 1
  
  Debug Str(x) + DesktopName(x)
  
Next

Re: [Bug] Wrong DesktopWidth/DesktopHeight() returns in VMwa

Posted: Thu Oct 23, 2014 6:11 am
by es_91
I edited the above post to fit the new situation.

However, ...
Demivec wrote:

Code: Select all

desktopCount = ExamineDesktops()

For x = 0 To desktopCount - 1
 
  Debug Str(x) + DesktopName(x)
 
Next
... brings back not the correct desktop name.
PB Debugger wrote:0\\.\DISPLAYV4
1
Or is it normal that the second display has no name? In Display Settings the display has a name ("PLE481").

Also, i can not ask for the right desktop size.

Code: Select all

Debug ExamineDesktops ()

Debug DesktopWidth (1)
Debug DesktopHeight (1)
...gives out...
PB Debugger wrote:2
0
0
:?: