AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Refresh GUI HELP

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
SpiderGames



Joined: 09 Jun 2008
Posts: 290
Location: Canada

PostPosted: Sun Jul 06, 2008 5:35 pm    Post subject: Refresh GUI HELP Reply with quote

When you look at somethign like auto window SPY the values in it are constantly changing...

I would like my GUI to refresh itself like Window SPY does... How do I do that???? Shocked
_________________
http://www.spider-games77.piczo.com
Join the Elite few...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
SKAN



Joined: 26 Dec 2005
Posts: 5895

PostPosted: Sun Jul 06, 2008 7:17 pm    Post subject: Reply with quote

You may use a Timer to constantly update your GUI:

Code:
CoordMode, Mouse, Screen
Gui, Add, Text, w100 h25,  Mouse Position`t:
Gui, Add, Text, x+5 wp hp vMPos
Gui, Show
SetTimer, MouseGetPos, 10
Return

MouseGetPos:
 MouseGetPos, X, Y
 GuiControl,, MPos, % "X=" X ",  Y=" Y
Return


Smile
_________________
SKAN - Suresh Kumar A N
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group