Search the Community
Showing results for tags 'stuck'.
-
Hi, The FAQ proposed as a solution to keys getting stuck to do this command ControlSend("", "", "", "text", 0) However this sends "text" to the last active control if I am not mistaken.I have tried this with controlsend("", "", "", "{altup}{shiftup}{ctrlup}", 0) This is already a lot better but still fails 1/10 I cannot allow the script to send "text" to the last active control, and its a bit silly to let it send to somewhere where its harmless no? Are there any other methods of unstucking keys?
-
This is what I'm trying to do: In Firefox, if you hold down CTRL + C for about 200ms, then press CTRL + T. This is my code: While WinActive(" - Mozilla Firefox") If _IsPressed("A2", $hDLL) And _IsPressed("43", $hDLL) Then $timer = TimerInit() While _IsPressed("A2", $hDLL) And _IsPressed("43", $hDLL) Sleep(10) $diff = TimerDiff($timer) If $diff > 200 Then Send("^{T}") While _IsPressed("A2", $hDLL) And _IsPressed("43", $hDLL) Sleep(10) WEnd EndIf WEnd EndIf WEnd The problem is that the CTRL key gets stuck down after Send("^{T}"). I found this, but what I understand that happens when I release, and that is not what I want. The "General unstuck method" did nothing.
-
Greeting, so I've been trying to come up with solution, but no luck. Despite I tried to automate upload function, I released that it freezes after "Choose File to Upload" window appears.. #include <IE.au3> ;#include <_Dbug.au3> Global $oIE = _IECreate("http://tinypic.com/", 1) Global $upload2 = _IEGetObjById($oIE, "the_file") _IEAction($upload2, "click") ;Sleep(1000) $hWnd = WinGetHandle("Choose File to Upload") MsgBox(0, "", $hWnd) Have anybody faced this situation? btw: srry for the advertise Besides it's no matter which site I'm trying to do this it's all the same.
- 1 reply
-
- choose file to upload
- stuck
-
(and 3 more)
Tagged with:
-
This is my function to put round brackets "()" around a selected text: HotKeySet("^+9", "Encl") While 1 Sleep(10000) WEnd Func Encl() ClipPut("") Send( "^x" ) Sleep(200) local $ClipEncl = ClipGet() Switch @HotKeyPressed Case "^+9" $ClipEncl = '(' & $ClipEncl & ')' EndSwitch ClipPut($ClipEncl ) Send("^v") EndFunc The problem is that many times the ctrl or shift or ctrl-shift key is stuck after I invoke the above hotkey and I have to push the ctrl, shift or both keys again to be able to use these as before. Does anyone know what I did wrong in this function?
-
Hi, During some tests I have found that at the 3rd call of the InetGetSize function the script freezes for two minutes and the function returns 0, it's regardless to the download link. Even after if I try to call the function it freezes again. Here is the script in question : http://www.mediafire.com/download.php?va4o4tfnln1sscl The function is at the line 819, here is what I have : error: 13, extended: 12002 //ERROR_WINHTTP_TIMEOUT ?To reproduce the issue you need to start 3 downloads. It does not make any sense as It works fine on the previous version and I don't see what can cause the problem. Tested on WinXP and Seven, latest production and beta. Thanks for any help; Br, Firefox.
- 2 replies
-
- inetgetsize
- stuck
-
(and 1 more)
Tagged with: