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 

Script sometimes not completed

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





PostPosted: Sat Jan 19, 2008 2:35 pm    Post subject: Script sometimes not completed Reply with quote

Hi

I have a script that makes uTorrent enable DHT, and sometimes it does not close the Torrent details-window, but the radioButton is checked succesfully. I tried the m button instead of CTRL and multiple OK-commands but nothing helped.

I am now just executing the script again and then restarting it. Without the restart it wouldn't reopen the Torrent details after closing the old window that remained open.

Any ideas on how to make sure that window gets closed?

Code:
CTRL::
Send, {APPSKEY}{UP}{ENTER}
WinWait, Torrent, ,300
Control, Check, , Button7
ControlClick, OK, Torrent
return

LWin::
Reload
return

ALT::
ExitApp
return


Thank you for your time
Marc
Back to top
i3egohan



Joined: 18 Jul 2006
Posts: 319

PostPosted: Sat Jan 19, 2008 3:06 pm    Post subject: Reply with quote

Process, Close, IM
_________________
`Autohotkey User`
- I3egohan
Back to top
View user's profile Send private message
Marc
Guest





PostPosted: Sat Jan 19, 2008 4:02 pm    Post subject: Reply with quote

i3egohan wrote:
Process, Close, IM


Sorry I might have been unclear, it is not a programm that should be closed, just a window of a programm.

Thanks
Marc
Back to top
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