| View previous topic :: View next topic |
| Author |
Message |
rodfell
Joined: 05 Oct 2007 Posts: 57 Location: Bundaberg (Bundy), Qld, Australia
|
Posted: Sat Aug 30, 2008 11:23 pm Post subject: "Could not close the previous instance of this script. |
|
|
| i've started getting this message - "Could not close the previous instance of this script. Keep waiting?" - when I attempt to reload my 24/7 autohotkey script. In what situations does this error occur. can't find much about it in help file or with google |
|
| Back to top |
|
 |
Red Hat Dude Guest
|
Posted: Sat Aug 30, 2008 11:58 pm Post subject: |
|
|
| I've seen that error messages plenty of times while testing scripts; I imagine plenty of things can cause it. Show us the script and we may be able to help. |
|
| Back to top |
|
 |
rodfell
Joined: 05 Oct 2007 Posts: 57 Location: Bundaberg (Bundy), Qld, Australia
|
Posted: Sun Aug 31, 2008 12:55 am Post subject: |
|
|
| my code runs at about 1300 lines. it would take hours if not days to sort through it. if i had an idea of the sort of problems (eg timers, onexit, size of code etc) that lead to this message i could try troubleshooting but i don't know where to begin |
|
| Back to top |
|
 |
rodfell
Joined: 05 Oct 2007 Posts: 57 Location: Bundaberg (Bundy), Qld, Australia
|
Posted: Sun Aug 31, 2008 1:59 am Post subject: |
|
|
found the problem. I had removed exitapp command from an onexit subroutine. oops | Code: | onexit exitsub
#r::reload
exitsub:
msgbox,,, trying to reload,1
return | i know this problem is documented in the help file, but the error message you get with the above script when you try to reload isn't very helpful. |
|
| Back to top |
|
 |
|