Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DisplaySettings ?
#1
HI Gintaras !

I use this to change my Screen solution..


Macro Macro2
Code:
Copy      Help
DisplaySettings(32 1024 768)

but how can i receive the current setting? I need the x y coordinates and the color depth in a string.
i made some experiments lol

Macro Macro3
Code:
Copy      Help
int Desktop = win("Program Manager" "Progman")
int x y cx cy
str CurrentSolution

GetWinXY Desktop x y cx cy
CurrentSolution.format("%i %i" cx cy)
out CurrentSolution

but i cant figure out how to get the col depth. maybe u know a shorter way that includes it.

Thank you very much


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)