Ghost21 Posted March 13, 2007 Posted March 13, 2007 All I would like to do is when it reads whatever resolution I want say 1024 x 768 I can say go right 10 steps and if it does see it stop if it doesn't do back 14 steps and when slider bar reads 1024 x 768 send !A for applyOr even if someone can just tell me the code to READ that slider bar text that changes as the bar moves eg. 800 by 600 , 1024 by 768 , etc. I can do the rest but that part I can't get it to read right..Help Please....
BigDod Posted March 13, 2007 Posted March 13, 2007 Have a look at This topic Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Ghost21 Posted March 13, 2007 Author Posted March 13, 2007 Have a look at This topicYeah that looks great and all but I would really like to be able to read that text under the slider bar...
BigDod Posted March 13, 2007 Posted March 13, 2007 This works for me $var = ControlGetText("Display Properties", "", "Static8") MsgBox(0,"Resolution is",$var) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
MHz Posted March 13, 2007 Posted March 13, 2007 @BigDod, it is static7 here on Vista. This works on Vista using WinGetText(). WinActivate('Display Settings', 'Ad&vanced Settings') $text = WinGetText('Display Settings', 'Ad&vanced Settings') If $text Then $line = StringSplit($text, @LF) For $i = 1 To UBound($line) -1 ConsoleWrite($line[$i] & @CRLF) If StringInStr($line[$i], 'pixels') Then MsgBox(0, '', $line[$i]) ExitLoop EndIf Next EndIf
BigDod Posted March 13, 2007 Posted March 13, 2007 @BigDod, it is static7 here on Vista. I am using Win XP Pro and checked it with the Window Info Tool. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now