I recently installed AutoIT(the most recent version) on my work computer and everytime I try to use Koda to generate code for a GUI Koda freezes....nothing can be clicked on and I have to use task manager to end the task. It doesn't seem to matter if I open a file or if I try with a fresh design. It also freezes if I try to change any settings within Koda
I've tried uninstalling everything AutoIT related and reinstalling and restarting the computer. No matter what it still does it
Is there a setting somewhere that could be causing this?
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.
I have a form which calls this function:
Func HostToIP($Host, $Label) TCPStartup() Local $sIPAddress = TCPNameToIP($Host) If @error Then GUICtrlSetData ($Label, "Error code: " & @error) Else GUICtrlSetData ($Label, $sIPAddress) EndIf TCPShutdown() EndFunc But if it cannot resolve the host to an IP, the whole form freezes for a few seconds until the TCPNameToIP times out, how can I stop the form from freezing whilst it waits for the host to ip times out?
TCPNameToIP is part of #include <_sql.au3>
I'm trying to have my program stop outlook and another instant messaging program while it is in a certain mode. This is because people will be scanning barcodes in another room, but instead of having to close out of the programs, I was hoping to have autoit freeze or pause other programs while it is in scanning mode. I found this chunk of code which makes me feel like I am close, but not close enough to what I want to do.
#Include <WinAPI.au3> $process = _WinAPI_OpenProcess("PROCESS_SUSPEND_RESUME", 1, "outlook.exe") DllCall("ntdll.dll", "Int", "NtSuspendProcess", "Int", $process) sleep(1000) DllCall("Kernel32.dll", "Int", "CloseHandle", "Int", $process) I don't have much code to start with, but if anyone has any thoughts, I would be grateful!
Thanks in advance!
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;