0inprogram
Joined: 06 Dec 2007 Posts: 21 Location: chennai
|
Posted: Tue Dec 18, 2007 6:10 pm Post subject: help me out with this msgbox |
|
|
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... |
|