-
Posts
1,217 -
Joined
-
Last visited
-
Days Won
2
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by Skitty
-
Real-Time Object Detection using YOLOv3 wrapper
Skitty replied to smartee's topic in AutoIt Example Scripts
... wat that wasn't an answer to your question, but since we're here, the op had already provided you with a relevant link which will answer your previous question.- 43 replies
-
- deep learning
- neural networks
-
(and 3 more)
Tagged with:
-
Real-Time Object Detection using YOLOv3 wrapper
Skitty replied to smartee's topic in AutoIt Example Scripts
Based on the number of objects this version is detecting (80?) you could probably get better results writing a python wrapper to interface with an autoit script and use opencv dnn module to load tensorflow inception with a pretrained classifier that can detect 1000 different objects instead, it even gives you specific dog breeds. The speed is negligible in difference I'd assume.- 43 replies
-
- deep learning
- neural networks
-
(and 3 more)
Tagged with:
-
Does anyone use www.freelancer.com?
Skitty replied to pete_wilde's topic in Developer General Discussion
That site is awful. I've used it before, mostly just to bid on interesting projects that I'd like to play with. I once saw a guy talking about maintaining some autoit script scrapping program so I bid on it to see what it was all about, turned out to be interesting and fun to work with but ended up just rewriting everything in another language instead. I've made various weird specific tools for people on there who for some reason decide to hire me instead with almost no reputation on the site, I guess people tired of getting buggy software from certain flags? idunno. weird place it is. I would dread to think of that site as being a source of income. the competition is fiercely centered on who can do the most work for the least amount of money in the longest stretch of time. -
How to Return the Value from AutoIT to selenium
Skitty replied to Manivel's topic in AutoIt General Help and Support
I have never used selenium but if it is anything like phantomjs then you should be able to listen in on a port and use it to exchange data between the scripts. Does selenium allow you to create a server? check that and try using it with winhttp or something -
Reading text file contents to form
Skitty replied to StMaSi's topic in AutoIt General Help and Support
huh idunno I don't think i experienced that when i used it lol -
Reading text file contents to form
Skitty replied to StMaSi's topic in AutoIt General Help and Support
try using a rich edit control autoit comes with a UDF called guirichedit.au3 that you can use, then just create your styled text in wordpad or something and load it with ... $sText = FileRead(".\readme.rtf") _GUICtrlRichEdit_SetText($hRichEdit, $sText) ... -
lmao this all sounds malicious af m8 at this point why not use a language like C++ or something lol
- 4 replies
-
- memory
- page_guard
-
(and 1 more)
Tagged with:
-
Try using comspec https://www.autoitscript.com/wiki/Snippets_(_CMD_)
-
For anyone that likes node/io js, just in case you didn't know, there's a project that cobbles up webkit + iojs. It's really quite awesome using webkit to create a UI with HTML/CSS and have iojs functionality available for whatever you want. Really quite awesome, the things you can make with this are great. https://github.com/nwjs/nw.js only down side is your projects usually end up coming out at over 100mb rofl, nwjs is about ~80mb alone but usually you will want to include a local application database and it can get quite large.
-
I don't know where else to ask, and I've been here more than other places so I assume maybe there is someone who's experienced an issue I just stumbled into while developing a user javascript file.. I created a simple extension for a website, rather large actually.. I was testing it on Firefox during its development using greasemonkey and everything worked well, I could access variables created by scripts delivered by the site in the context of the window and listen to fired off events created by another jquery script in the window, but when I attempted to use it in chromium by dragging dropping file called "script.user.js" into extensions window, somehow chromium seems to not allow the script to interact with the variables of the other script, I cannot listen to events or use the existing jquery that is in the sites main scripts, I have to manually include my own copy of jquery, chromium somehow does it so that the scritp has its own context to the window and does not allow it to interact with the context of the other script... This is strange. Greasemonkey under firefox does not do this though and seems it is more lenient on permissions... This has complicated development of the script to keep it comparable on both browsers. Does anyone know what can be done to make chromium allow the script to "see" and interact with the other scripts that are delivered server side? I'm not sure if this is a good explanation, I hope you can understand. tl;dr somehow chromium does not let a userscript file access variables outside of the script file in a webpage while firefox does, any fix to this?
-
Anyone dedicated enough can do this but does anyone really want this stuff being used by novice users...
- 6 replies
-
- ntdll
- unkillable
-
(and 2 more)
Tagged with:
-
IUIAutomation MS framework automate chrome, FF, IE, ....
Skitty replied to junkew's topic in AutoIt Example Scripts
This UDF is absolutely amazing... Is there anyway to extract the HTML document into a variable with this? -
theres code around here somewhere to do that, though I can't search for you since I find it hard on this phone... I think I used someone's code in a task manager scrip I put togeather this one time, check my Sig, should be there D:
-
[JS] UserScript / Chrome Browser Extension
Skitty replied to Skitty's topic in AutoIt Technical Discussion
One thing to note is that the original code that this came from was originally created in some other language that's called coffee something, I don't remember but I was reading about it and the dev seemed to mention that he converts the other language into this java script mess you see up there.- 9 replies
-
- javascript
- extension
-
(and 4 more)
Tagged with:
-
It's actually working pretty well for me, I start the script and then click the google link and it opens IE. Afterwards, I can easily close the GUI and the internetexplorer window.
-
Spawn a temporary process for a function?
Skitty replied to Mechaflash's topic in AutoIt General Help and Support
Monoceres made a nice little message box function that runs msgboxes in seperate threads under x86 aka 32bit operating systems, I'm not sure if his original example supported x64 systems but it's come in handy for local applications I make (things I make for myself) as putting something like this in distributed apps wont be such a smart thing due to it not working as expected on some systems for some reason. This version was edited a little by me to make it a single function that's copy & pastable into scripts. Global Const $hKERNEL32 = DllOpen("kernel32.dll") For $I = 0 To 5 MessagBox(64, "Information!", "Hey there!") Next Sleep(5000) Func MessagBox($iFlag, $sTitle, $sBody, $hWnd = 0); monoceres remote msgbox code suited for this script. If @OSArch <> "X86" Then Return MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Local $aResult = DllCall($hKERNEL32, "handle", "OpenProcess", "dword", 42, "bool", False, "dword", @AutoItPID) If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf Local $hProcess = $aResult[0] Local $DataBuffer = DllStructCreate("wchar modulename[11];char function[12];" & _ "wchar title[" & StringLen($sTitle) + 1 & "];wchar body[" & StringLen($sBody) + 1 & "]") DllStructSetData($DataBuffer, "modulename", "User32.dll") DllStructSetData($DataBuffer, "function", "MessageBoxW") DllStructSetData($DataBuffer, "title", $sTitle) DllStructSetData($DataBuffer, "body", $sBody) $aResult = DllCall($hKERNEL32, "ptr", "VirtualAllocEx", "handle", $hProcess, "ptr", 0, "ulong_ptr", DllStructGetSize($DataBuffer), "dword", 0x00001000, "dword", 0x00000004) If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf Local $RemoteData = $aResult[0] If Not $RemoteData Then Return 0 $aResult = DllCall($hKERNEL32, "handle", "GetModuleHandleW", "wstr", "Kernel32.dll") If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf Local $Loadlibrary = DllCall($hKERNEL32, "ptr", "GetProcAddress", "ptr", $aResult[0], "str", "LoadLibraryW") $Loadlibrary = $Loadlibrary[0] Local $GetProcAddress = DllCall($hKERNEL32, "ptr", "GetProcAddress", "ptr", $aResult[0], "str", "GetProcAddress") $GetProcAddress = $GetProcAddress[0] Local $CodeBuffer = DllStructCreate("byte[48]") $aResult = DllCall($hKERNEL32, "ptr", "VirtualAllocEx", "handle", $hProcess, "ptr", 0, "ulong_ptr", DllStructGetSize($DataBuffer), "dword", 0x00001000, "dword", 0x00000040) If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf Local $RemoteCode = $aResult[0] DllStructSetData($CodeBuffer, 1, _ "0x" & _ "68" & Hex(Binary($RemoteData)) & _ ; push RemoteData.modulename "B8" & Hex(Binary($Loadlibrary)) & _ ; mov eax,LoadLibrary "FFD0" & _ ; call eax "68" & Hex(Binary($RemoteData + (DllStructGetPtr($DataBuffer, "function") - DllStructGetPtr($DataBuffer)))) & _ ; push RemoteData.function "50" & _ ; push eax "B8" & Hex(Binary($GetProcAddress)) & _ ; mov eax,GetProcAddress "FFD0" & _ ; call eax "68" & Hex(Binary($iFlag)) & _ ; push iFlag "68" & Hex(Binary($RemoteData + (DllStructGetPtr($DataBuffer, "title") - DllStructGetPtr($DataBuffer)))) & _ ; push sTitle "68" & Hex(Binary($RemoteData + (DllStructGetPtr($DataBuffer, "body") - DllStructGetPtr($DataBuffer)))) & _ ; push sBody "68" & Hex(Binary($hWnd)) & _ ; push hWnd "FFD0" & _ ; call eax "C3") ; Ret DllCall($hKERNEL32, "bool", "WriteProcessMemory", "handle", $hProcess, "ptr", $RemoteCode, "ptr", DllStructGetPtr($CodeBuffer), _ "ulong_ptr", DllStructGetSize($CodeBuffer), "ulong_ptr*", 0) If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf DllCall($hKERNEL32, "bool", "WriteProcessMemory", "handle", $hProcess, "ptr", $RemoteData, "ptr", DllStructGetPtr($DataBuffer), _ "ulong_ptr", DllStructGetSize($DataBuffer), "ulong_ptr*", 0) If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf Local $call = DllCall($hKERNEL32, "int", "CreateRemoteThread", "ptr", $hProcess, "ptr", 0, "int", 0, "ptr", $RemoteCode, "ptr", 0, "int", 0, "dword*", 0) Local $hThread = $call[0] DllCall($hKERNEL32, "bool", "VirtualFreeEx", "handle", $hProcess, "ptr", $RemoteCode, "ulong_ptr", DllStructGetSize($CodeBuffer), "dword", 0x00008000) If @error Then MsgBox($iFlag, $sTitle, $sBody, "", $hWnd) Return SetError(@error, @extended, 0) EndIf $call = DllCall($hKERNEL32, "ptr", "GetExitCodeThread", "ptr", $hThread, "dword*", 0) Return $call[2] EndFunc ;==>MessagBox -
I've been trying to make an extension for embedding plain text links on imageboards like 4chan. I've taken code from a more fully featured extension that has features that I really don't want because it's incompatible with the more popular extensions out there. I have it working as an extension in my browser, the edited full version of it, but when I pack it for installation and re-install it, it throws errors like "Uncaught TypeError: Cannot read property 'links1' of undefined". I don't know much about JS but I'm wondering why it's not throwing this error in the original version where it's edited but throws the error on the one installed from the packed crx file. var links = /((?:https?|ftp)://[^s'"'<>()]+|www.[^s'"'<>()]+|[-w.+]+@(?:[-w]+.)+[w]{2,6})/gi; function apply() { if (!window.location.href.match(/boards./)) return false; var a = document.getElementsByTagName("iframe"), b = document.getElementsByTagName("embed"); Activate(a,b); } function Activate(a, b) { a = a ? a + " " : ""; for (var d, c = xpath((a == "" ? "." : "id('" + a.substr(1, a.length - 2) + "')") + "//text()[ancestor::blockquote]"), e = 0; e < c.snapshotLength; e++) { d = c.snapshotItem(e); d != null && linkActivation(d); } } function linkActivation(a) { for (var b, d, c = a.textContent, e = null, g = 0, f = {}, youtube, vocaroo, soundcloud; (d = links.exec(c)) !== null;) if (!f[d[0]]) { f[d[0]] = true; null === e && (e = document.createElement("span")); b = d[0].replace(/.*$/, ""); e.appendChild(document.createTextNode(c.substring(g, d.index))); if (!b.match(/.4chan.org/i)) { b = (youtube = b.match(/youtube.com/watch?.*?v=([a-z0-9-_#!]+)/i)) && (settings.youtube1 != "off" && !inThread || settings.youtube2 != "off" && inThread) ? '<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/' + youtube[1] + '?wmode=opaque" frameborder="0"></iframe><br /><a href="' + b + '" target="_blank">' + b + "</a>" : (vocaroo = b.match(/vocaroo.com/(i/|?media=)([a-z0-9]+)/i)) && (settings.vocaroo1 != "off" && !inThread || settings.vocaroo2 != "off" && inThread) ? '<object type="application/x-shockwave-flash" style="width: 148px; height: 44px" data="http://vocaroo.com/player.swf?playMediaID=' + vocaroo[2] + '&server=m1.vocaroo.com&autoplay=0""><param name="movie" value="http://vocaroo.com/player.swf?playMediaID=' + vocaroo[2] + '&server=m1.vocaroo.com&autoplay=0"></object><br /><a href="' + b + '" target="_blank">' + b + "</a>" : (soundcloud = b.match(/((www.)?soundcloud.com/([a-z0-9-_]+/?)+)/i)) && (settings.soundcloud1 != "off" && !inThread || settings.soundcloud2 != "off" && inThread) ? '<object height="81" width="400"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http://' + soundcloud[1] + '&g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http://' + soundcloud[1] + '&g=bb" type="application/x-shockwave-flash" width="400"></embed></object><br /><a href="http://' + soundcloud[1] + '" target="_blank">http://' + soundcloud[1] + "</a>" : b.indexOf("@") > -1 && (settings.email1 != "off" && !inThread || settings.email2 != "off" && inThread) ? "<a href='mailto:" + b + "'>" + b + "</a>" : settings.links1 != "off" && !inThread || settings.links2 != "off" && inThread && b.indexOf("@") < 0 ? "<a href='" + (b.match(/^http/i) ? b : "https://" + b) + "' target='_blank'>" + b + "</a>" : b; e.innerHTML = b; g = d.index + d[0].length; } } if (e) { e.appendChild(document.createTextNode(c.substring(g, c.length))); try { a.parentNode.replaceChild(e, a); } catch (h) { console.error(h); } } } function xpath(a) { return document.evaluate(a, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null) } apply();
- 9 replies
-
- javascript
- extension
-
(and 4 more)
Tagged with:
-
~ Tooltip For Long Items' Labels In ListView? (SOLVED)
Skitty replied to EKY32's topic in AutoIt General Help and Support
I have an application that has a lot more information in some sub-items of the list view. Even "$LVS_EX_INFOTIP" didn't cut it for me since it doesn't include line breaks or doesn't wrap. What I've had to do was catch a few Widows Messages and display a custom infotip for them that will wrap the string and include line breaks. I still don't like this method since it's pretty tricky to remove the current infotip when the mouse leaves the gui, I can't figure out how to do it without using a mouse hook or windows hook, which I'd like to avoid... And adlib doesn't work either since the app is pretty busy doing things at times, which is why I'd like to solve this using a windows message method. Still trying it though, and if I have something, I'll post it here. One of the problems is that the windows messages like mouse events don't work with the listview. -
Which Shutdown for a killer shutdown?
Skitty replied to leuce's topic in AutoIt General Help and Support
Sometime ago I made a task manager script (for the heck of it) that had implemented a sort of cold boot option, got board of it and moved on. The code for cold booting is somewhere in there... My Little Taskmgr - Managment is Magic.au3 -
StringSize - M23 - BugFix version 27 Dec 23
Skitty replied to Melba23's topic in AutoIt Example Scripts
I'm curious. Has anyone really been far even as decided to use even go want to do look more like? I mean, has anyone ever tried making a customized tool tip script from this? I'd imagine that this would be great for making an awesome little tooltip UDF with GDIPlus allowing a user to create custom colored tooltips with fade in and fade out abilities. I'd try doing it but GDI and math isn't my strong side -
Now that I remember, I've seen that function in there. But using the code FF linked, it'll keep your script much smaller and will launch much faster when debugging, except if you turn off Au3Check for it. Anyway, here's an example for detecting a hung app, can be changed to work with other things. #include <Array.au3> Global Const $hNTDLL = DllOpen("ntdll.dll") Global Const $hUSER32 = DllOpen("user32.dll") Global Const $hKERNEL32 = DllOpen("kernel32.dll") Global $ChildPID Global $aWinHwnds[1] Global $GlobalWinCount If StringInStr($CmdLineRaw, "WatchMe=", 2) Then $temporariis = StringSplit($CmdLineRaw, "WatchMe=") Monitor($temporariis[$temporariis[0]]) Exit EndIf Switch @Compiled Case True $ChildPID = Run(FileGetShortName(@ScriptFullPath) & " WatchMe=" & @AutoItPID) Sleep(3000) Case False $ChildPID = Run(FileGetShortName(@AutoItExe) & ' /AutoIt3ExecuteScript "' & @ScriptFullPath & '" WatchMe=' & @AutoItPID) Sleep(3000) EndSwitch MsgBox(64, "Information!", "Process ("&@AutoItPID&") is about to be suspended, after this happens, our "&@CR&"child monitoring script should respond to the event. This may take a few seconds.") _ProcessSuspend(@AutoItPID); simulate a non responsive GUI MsgBox(16, "Information!", "Something happened D:"&@CR&"Obviously we don't have enough rights to suspend a process on this machine :("&@CR&"Too bad lol, try something else :P") Exit ; #INTERNAL FUNCTION# =========================================================================================================== ; Name ..........: Monitor ; Description ...: Monitors the main instance of this script to prevent any unwanted system lockups. ; Syntax ........: Monitor($PID) ; Parameters ....: $PID - PID of our initiating instance. ; Return values .: None ; Example .......: No ; =============================================================================================================================== Func Monitor($PID) Local $aReturn Local $Win = _EnumProcessWindows($PID,0) $Win = $Win[0] While ProcessExists($PID) Sleep(1000) $aReturn = DllCall($hUSER32, "Int", "IsHungAppWindow", "Hwnd", $Win) If @error Or $aReturn[0] Then ExitLoop ;If WinGetState($Win) = 16 Then WinSetState($Win,"",@SW_RESTORE) WEnd ProcessClose($PID) MsgBox(64, "Whoa!", "Seems like something went wrong with our script!" & @CR & @CR & _ "A well trained team of monkeys were dispatched to take care of the problem...") Exit EndFunc ;==>Monitor ; #INTERNAL FUNCTION# =========================================================================================================== ; Name...........: _EnumProcessWindows ; Description....: Enumerates a windows that belong to the specified process. ; Syntax.........: _EnumProcessWindows ( [$PID [, $fVisible]] ) ; Parameters.....: $PID - The PID of the process. ; $fVisible - Specifies whether enumerates the invisible window, valid values: ; |TRUE - Enumerate only visible windows. (Default) ; |FALSE - Enumerate all windows. ; Return values..: Success - The 1D array of window handles. ; Failure - 0 and sets the @error flag to non-zero. ; Author.........: Yashied ; Modified.......: CaptainClucks ; Remarks........: I've slightly modified this for use in this script, only necesary stuff is keept here. ; Related........: __EnumWindowsProc ; Link...........: None ; Example........: No ; =============================================================================================================================== Func _EnumProcessWindows($PID = 0, $fVisible = 1) $GlobalWinCount = 0 Local $Threads = _GetAllProcessThreads($PID) If @error Then Return SetError(1, 0, 0) EndIf Local $hEnumProc = DllCallbackRegister('__EnumWindowsProc', 'int', 'hwnd;lparam') For $I = 0 To UBound($Threads) - 1 DllCall($hUSER32, 'int', 'EnumThreadWindows', 'dword', $Threads[$I][0], 'ptr', DllCallbackGetPtr($hEnumProc), 'lparam', $fVisible) If @error Then ExitLoop EndIf Next DllCallbackFree($hEnumProc) If Not $aWinHwnds[0] Then Return SetError(1, 0, 0) EndIf Return $aWinHwnds EndFunc ;==>_EnumProcessWindows Func __EnumWindowsProc($hWnd, $fVisible) If $fVisible Then Local $aResult = DllCall($hUSER32, "bool", "IsWindowVisible", "hwnd", $hWnd) If @error Then Return 1 If Not $aResult[0] Then Return 1 EndIf $GlobalWinCount += 1 ReDim $aWinHwnds[$GlobalWinCount] $aWinHwnds[$GlobalWinCount - 1] = $hWnd Return 1 EndFunc ;==>__EnumWindowsProc ; #FUNCTION# ==================================================================================================================== ; Name ..........: _GetAllProcessThreads ; Description ...: Gets threads in a process ; Syntax ........: _GetAllProcessThreads($iPID) ; Parameters ....: $iPID - Process ID. ; Return values .: Array with thread info ; Author ........: monoceres ; Remarks .......: ; Related .......: _GetAllThreads_ArrHelper, _ThreadSuspend, _ThreadResume ; Link ..........: http://www.autoitscript.com/forum/topic/85728-thread-enumeration-with-createtoolhelp32snapshot/ ; Example .......: No ; =============================================================================================================================== Func _GetAllProcessThreads($iPID) Local $call = DllCall($hKERNEL32, "ptr", "CreateToolhelp32Snapshot", "dword", 0x00000004, "dword", 0) Local $handle = $call[0] Local $RetArr[1][3] Local $te32 = DllStructCreate("dword dwSize;dword cntUsage;dword th32ThreadId;dword th32OwnerProcessID;long tpBasePri;long tpDeltaPri;dword dwFlags;") DllStructSetData($te32, "dwSize", DllStructGetSize($te32)) $call = DllCall($hKERNEL32, "int", "Thread32First", "ptr", $handle, "ptr", DllStructGetPtr($te32)) If DllStructGetData($te32, "th32OwnerProcessID") = $iPID Then _GetAllThreads_ArrHelper($RetArr, $te32) Do $call = DllCall($hKERNEL32, "int", "Thread32Next", "ptr", $handle, "ptr", DllStructGetPtr($te32)) If Not $call[0] Then ExitLoop If DllStructGetData($te32, "th32OwnerProcessID") = $iPID Then _GetAllThreads_ArrHelper($RetArr, $te32) Until True And False _ArrayDelete($RetArr, 0) DllCall($hKERNEL32, "bool", "CloseHandle", "handle", $handle) Return $RetArr EndFunc ;==>_GetAllProcessThreads Func _GetAllThreads_ArrHelper(ByRef $arr, $TE32_Struct) Local $ub = UBound($arr) ReDim $arr[$ub + 1][3] $arr[$ub][0] = DllStructGetData($TE32_Struct, "th32ThreadId") $arr[$ub][1] = DllStructGetData($TE32_Struct, "th32OwnerProcessID") $arr[$ub][2] = DllStructGetData($TE32_Struct, "tpBasePri") EndFunc ;==>_GetAllThreads_ArrHelper ; #FUNCTION# ==================================================================================================================== ; Name ..........: _ProcessSuspend ; Description ...: suspends a process ; Syntax ........: _ProcessSuspend($Process) ; Parameters ....: $Process - An unknown value. ; Return values .: None ; Author ........: The Kandie Man ; Modified ......: CaptainClucks ; Remarks .......: ; Related .......: ; Link ..........: ; Example .......: No ; =============================================================================================================================== Func _ProcessSuspend($Process) Local $processid = ProcessExists($Process) If $processid Then Local $ai_Handle = DllCall($hKERNEL32, 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', False, 'int', $processid) Local $i_sucess = DllCall($hNTDLL, "int", "NtSuspendProcess", "int", $ai_Handle[0]) DllCall($hKERNEL32, 'ptr', 'CloseHandle', 'ptr', $ai_Handle[0]) If IsArray($i_sucess) Then Return SetError(0, 0, True) Else Return SetError(1, 0, False) EndIf Else Return SetError(2, 0, False) EndIf EndFunc ;==>_ProcessSuspend
-
I didn't know automating the ISP login thing was against the rules. Hmmm, that sucks.
-
I laughed more than I should have... I mean, it's not like we can go back and correct our sentence, damn permanent characters eh? Anyway, look into a function called "ControlRead", make sure you get the window title and id of the control that has the text. Global $Read = ControlGetText("Window Title", "", "Control ID") If $Read Then MsgBox(64, "Success", $Read) Else MsgBox(16, "Error!", "Nothing was detected, make sure you have the correct Window Title and Control ID.") EndIf