It really helps.Thank youChunjee wrote: ↑10 Sep 2022, 12:42@WantToKnow I wrote https://github.com/Chunjee/string-similarity.ahk for this kind of issue. Hope it helps.
Search found 45 matches
- 02 Apr 2023, 09:10
- Forum: Ask for Help (v1)
- Topic: Finding similar words
- Replies: 6
- Views: 585
Re: Finding similar words
- 01 Apr 2023, 00:24
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 625
- Views: 170051
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Can Rufaydium pass the Cloudflare bot checking? check this site: https://nowsecure.nl/ / chrome can't visit it if starting with chromedriver.exe. yes :shh: here How can Rufaydium visit https://chat.openai.com/ ?It always tell me to verify even with the following code chrome.Capabilities.addArg("--d...
- 29 Mar 2023, 00:37
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 625
- Views: 170051
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Thank you.It works like a charm.
Code: Select all
chrome.Capabilities.addArg("--disable-blink-features=AutomationControlled")
- 28 Mar 2023, 11:17
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 625
- Views: 170051
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Can Rufaydium pass the Cloudflare bot checking?
check this site:https://nowsecure.nl//
chrome can't visit it if starting with chromedriver.exe.
check this site:https://nowsecure.nl//
chrome can't visit it if starting with chromedriver.exe.
- 06 Dec 2021, 19:40
- Forum: Scripts and Functions (v1)
- Topic: Socket.ahk
- Replies: 41
- Views: 32543
Re: Socket.ahk
How can I get "Basic HTTP server" example working? tried codes like Server := new SocketTCP() Server.OnAccept := Func("OnAccept") Server.Bind(["127.0.0.1", 1337]) Server.Listen() MsgBox, Serving on port 1337`nClose to ExitApp ExitApp But browser(Internet Explorer) can't open "http://127.0.0.1:1337" ...
- 01 Aug 2021, 06:31
- Forum: Scripts and Functions (v1)
- Topic: [Library] cJson.ahk (version 0.4.1 pre-release)
- Replies: 66
- Views: 24231
- 01 Aug 2021, 06:11
- Forum: Ask for Help (v1)
- Topic: Associative array question when the data is from the web
- Replies: 22
- Views: 1898
Re: Associative array question when the data is from the web
teadrinker , why do You prefer to use eval but not json object? magusneo , exactly this script You cannot use because Object.keys method You can use from IE9. But eval You can use also in earlier versions of IE with this trick: str = {"ItemN":625,"Digital":"Both","LocalDel":"Check"} jsObj := GetJS(...
- 29 Jul 2021, 09:34
- Forum: Ask for Help (v1)
- Topic: Associative array question when the data is from the web
- Replies: 22
- Views: 1898
Re: Associative array question when the data is from the web
This is probably the easiest way to obtain an AHK object from a JSON string: json = {"ItemN": 625, "Digital": ["", "", {"key": "value"}], "LocalDel": "Check"} ahkObj := JsonToAHK(json) MsgBox, % ahkObj["Digital", 3, "key"] JsonToAHK(json, rec := false) { static doc := ComObjCreate("htmlfile") , __ ...
- 16 Nov 2020, 07:21
- Forum: Scripts and Functions (v1)
- Topic: AHKhttp - HTTP Server
- Replies: 60
- Views: 45963
Re: AHKhttp - HTTP Server
What's your testing script?CrashKoeck wrote: ↑08 Nov 2020, 18:28
At about 3,000 calls during stress testing I do notice everything tends to slow down quite a bit and at around 10,000 calls I get the error Function recursion limit exceeded (attached pic)
- 28 Jun 2019, 20:30
- Forum: Scripts and Functions (v1)
- Topic: AHKhttp - HTTP Server
- Replies: 60
- Views: 45963
Re: AHKhttp - HTTP Server
Would you mind providing a new example code? It's same to the first topic.Just fix memory leak. #Persistent #SingleInstance, force SetBatchLines, -1 paths := {} paths["/"] := Func("HelloWorld") paths["404"] := Func("NotFound") paths["/logo"] := Func("Logo") server := new HttpServer() server.LoadMim...
- 22 May 2019, 06:02
- Forum: Scripts and Functions (v1)
- Topic: AHKhttp - HTTP Server
- Replies: 60
- Views: 45963
Re: AHKhttp - HTTP Server
Hi, There's a memory leak somewhere, even when using the example scripts. After receiving some amount of requests (1000? 2000?) it will crash. I am not sure if the problem is in AhkHttp.ahk or AhkSock.ahk. I guess maybe an object or array is not cleared somewhere? I have had a look but couldn't fin...
- 17 Mar 2019, 07:41
- Forum: Ask for Help (v1)
- Topic: Pasting text to a specific Textfield Topic is solved
- Replies: 6
- Views: 2651
Re: Pasting text to a specific Textfield Topic is solved
This should click the 'Download' button on the AutoHotkey startpage and take you to the 'Downloads' page https://www.autohotkey.com/download/ I assume click() would work here, too, but I haven't tested it. This is only for demonstration purposes - obviously you could also directly navigate to the p...
- 16 Mar 2019, 22:12
- Forum: Ask for Help (v1)
- Topic: Pasting text to a specific Textfield Topic is solved
- Replies: 6
- Views: 2651
Re: Pasting text to a specific Textfield Topic is solved
This is a javascript way of doing it - with Chrome.ahk you could also navigate through the node structure, determine coordinates for the button and use the Input.dispatchMouseEvent method instead. That is an alternative, if the click() method doesn't work for some reason (seems to happen on some we...
- 16 Mar 2019, 21:08
- Forum: Ask for Help (v1)
- Topic: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?
- Replies: 8
- Views: 2389
Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?
If there is some RegEX code generator in other language(such as python perl c#),basically it can also be used for AHK.
- 16 Mar 2019, 19:50
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 14394
Re: eGet() - Grab Internet Explorer Elements Easily
It seems hard to use.
Element direct locating is difficult sometimes,relative locating(like afterTag,afterText in your script) is a clever and easy way.
Element direct locating is difficult sometimes,relative locating(like afterTag,afterText in your script) is a clever and easy way.
- 12 Mar 2019, 00:40
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 14394
Re: eGet() - Grab Internet Explorer Elements Easily
Thanks magusneo ! I don't really know what to make of that but thanks for posting, someone else may be able to use it. Thank you for your brilliant script.It help me very much in working.I have given up Selenium because your script is easier to use for IE automation. Now I just wonder is there any ...
- 09 Mar 2019, 20:20
- Forum: Tutorials (v1)
- Topic: Neural Network basics - Artificial Intelligence using AutoHotkey!
- Replies: 74
- Views: 83547
Re: Neural Network basics - Artificial Intelligence using AutoHotkey!
Nice tutorial. Don't know why I didn't see it before.
- 09 Mar 2019, 00:50
- Forum: Scripts and Functions (v1)
- Topic: eGet() - Grab Internet Explorer Elements Easily
- Replies: 24
- Views: 14394
Re: eGet() - Grab Internet Explorer Elements Easily
For some Internet Explorer_TridentDlgFrame windows,I found the IID in PWB_GET() should be IID := "{332C4427-26CB-11D0-B483-00C04FD90119}" ; IID_IHTMLWindow2
default IID := "{0002DF05-0000-0000-C000-000000000046}" ; IID_IWebBrowserApp can't work.
default IID := "{0002DF05-0000-0000-C000-000000000046}" ; IID_IWebBrowserApp can't work.
- 20 Feb 2019, 09:04
- Forum: Ask for Help (v1)
- Topic: How can I disable login screen of win7 periodly ?
- Replies: 1
- Views: 725
Re: How can I disable login screen of win7 periodly ?
Found some alternate way.
1.use Microsoft's Autologon.exe in command line.
2.regwrite HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaverIsSecure and HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveActive
1.use Microsoft's Autologon.exe in command line.
2.regwrite HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaverIsSecure and HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveActive
- 20 Feb 2019, 01:24
- Forum: Ask for Help (v1)
- Topic: How can I disable login screen of win7 periodly ?
- Replies: 1
- Views: 725
How can I disable login screen of win7 periodly ?
Just want enable password login screen on 8:00-17:00,disable login on 18:00-7:00.