Search found 45 matches

by magusneo
02 Apr 2023, 09:10
Forum: Ask for Help (v1)
Topic: Finding similar words
Replies: 6
Views: 485

Re: Finding similar words

Chunjee wrote:
10 Sep 2022, 12:42
@WantToKnow I wrote https://github.com/Chunjee/string-similarity.ahk for this kind of issue. Hope it helps.
It really helps.Thank you :bravo:
by magusneo
01 Apr 2023, 00:24
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124744

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...
by magusneo
29 Mar 2023, 00:37
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124744

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Xeo786 wrote:
28 Mar 2023, 23:44
magusneo wrote:
28 Mar 2023, 11:17
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
Thank you.It works like a charm. :bravo: :bravo:

Code: Select all

chrome.Capabilities.addArg("--disable-blink-features=AutomationControlled")
by magusneo
28 Mar 2023, 11:17
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124744

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.
by magusneo
06 Dec 2021, 19:40
Forum: Scripts and Functions (v1)
Topic: Socket.ahk
Replies: 41
Views: 29762

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" ...
by magusneo
01 Aug 2021, 06:31
Forum: Scripts and Functions (v1)
Topic: [Library] cJson.ahk (version 0.4.1 pre-release)
Replies: 66
Views: 19833

Re: [Library] cJson.ahk (version 0.2.0 pre-release)

GeekDude wrote:
31 Jul 2021, 23:29
Version 0.2.0 has been released. Performance of Dumps should be the same as before, but Loads is benchmarking much faster than the last release in my tests.

Note: MCL now supports 32-bit code generation. A 32-bit cJson may follow in the next few weeks/months.

:thumbup: :thumbup:
by magusneo
01 Aug 2021, 06:11
Forum: Ask for Help (v1)
Topic: Associative array question when the data is from the web
Replies: 22
Views: 1559

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(...
by magusneo
29 Jul 2021, 09:34
Forum: Ask for Help (v1)
Topic: Associative array question when the data is from the web
Replies: 22
Views: 1559

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") , __ ...
by magusneo
16 Nov 2020, 07:21
Forum: Scripts and Functions (v1)
Topic: AHKhttp - HTTP Server
Replies: 60
Views: 42629

Re: AHKhttp - HTTP Server

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)
What's your testing script?
by magusneo
28 Jun 2019, 20:30
Forum: Scripts and Functions (v1)
Topic: AHKhttp - HTTP Server
Replies: 60
Views: 42629

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...
by magusneo
22 May 2019, 06:02
Forum: Scripts and Functions (v1)
Topic: AHKhttp - HTTP Server
Replies: 60
Views: 42629

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...
by magusneo
17 Mar 2019, 07:41
Forum: Ask for Help (v1)
Topic: Pasting text to a specific Textfield Topic is solved
Replies: 6
Views: 2425

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...
by magusneo
16 Mar 2019, 22:12
Forum: Ask for Help (v1)
Topic: Pasting text to a specific Textfield Topic is solved
Replies: 6
Views: 2425

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...
by magusneo
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: 2169

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. :lol:
by magusneo
16 Mar 2019, 19:50
Forum: Scripts and Functions (v1)
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 13548

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.
by magusneo
12 Mar 2019, 00:40
Forum: Scripts and Functions (v1)
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 13548

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 ...
by magusneo
09 Mar 2019, 20:20
Forum: Tutorials (v1)
Topic: Neural Network basics - Artificial Intelligence using AutoHotkey!
Replies: 74
Views: 73333

Re: Neural Network basics - Artificial Intelligence using AutoHotkey!

Nice tutorial. Don't know why I didn't see it before.
by magusneo
09 Mar 2019, 00:50
Forum: Scripts and Functions (v1)
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 13548

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.
by magusneo
20 Feb 2019, 09:04
Forum: Ask for Help (v1)
Topic: How can I disable login screen of win7 periodly ?
Replies: 1
Views: 648

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
by magusneo
20 Feb 2019, 01:24
Forum: Ask for Help (v1)
Topic: How can I disable login screen of win7 periodly ?
Replies: 1
Views: 648

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.

Go to advanced search