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 

help me out with this msgbox

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



Joined: 06 Dec 2007
Posts: 21
Location: chennai

PostPosted: Tue Dec 18, 2007 6:10 pm    Post subject: help me out with this msgbox Reply with quote

ve got a problem here....

i tried to max a win everytime its opened n show a msgbox telling tht its been maximised....

Code:
#persistent

winwait, Registry Editor
{
Msgbox, its been maximised
loop
{
winmaximise, Registry Editor
}
}


when i run the above script, the msgbox comes only for the 1st time when the regedit is opened.... later on , the regedit is maximised but the msgbox doesnt appear....

i tried putting the msgbox inside the loop, like the one below


Code:
#persistent

winwait, Registry Editor
{
loop
{
winmaximise, Registry Editor
Msgbox, its been maximised
}
}

it didnt help me either, the msgbox started appearing infinite times.... while i want it to appear only once every time the window is opened....

pls help to set this msgbox at the right place...
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Mkbailey755



Joined: 20 Aug 2007
Posts: 178

PostPosted: Tue Dec 18, 2007 10:09 pm    Post subject: Reply with quote

try Maximize lol
Back to top
View user's profile Send private message
Dragonscloud



Joined: 16 Jul 2005
Posts: 97

PostPosted: Wed Dec 19, 2007 5:21 am    Post subject: Re: help me out with this msgbox Reply with quote

You could try using SetTimer to watch for the window.
_________________
“yields falsehood when preceded by its quotation” yields falsehood when preceded by its quotation.
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