Search found 1356 matches

by burque505
Yesterday, 15:01
Forum: Scripts and Functions
Topic: ToGrayscale() : Converts GDI bitmap to Greyscale
Replies: 10
Views: 227

Re: ToGrayscale() : Converts GDI bitmap to Greyscale

SKAN , thanks for another great addition. I don't think anyone else has such an arsenal of small but very useful scripts. By the way, for me on both Win10 and Win7, AHK 1.1.33.02, it works great with 32-bit, but for 64-bit only the first image appears. 32-bit: grayscale2.PNG 64-bit: grayscale1.PNG ...
by burque505
19 Sep 2020, 13:31
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 132977

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

This may be of some use at the end of your Chrome.ahk scripts while debugging, or even in a finished script, with the caveat that it is going to kill conhost.exe. (You may very well NOT want to kill all conhost.exe instances, so please use with care.) Edit: Code below may create a crash report on ne...
by burque505
18 Sep 2020, 12:35
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4380
Views: 1045522

Re: « What's on your mind? »

:D I didn't know it was April 1! I must be losing track of time.
by burque505
15 Sep 2020, 07:04
Forum: C#
Topic: Keysharp - the resurrection of IronAHK
Replies: 30
Views: 7321

Re: Keysharp - the resurrection of IronAHK

Thanks @mfeemster, that's great news.
Regards,
burque505
by burque505
14 Sep 2020, 15:08
Forum: Помощь
Topic: Помогите сделать легкий код
Replies: 1
Views: 90

Re: Помогите сделать легкий код

Code: Select all

Numpad0::
While (1==1) {
		Send Z
}

!x::
ExitApp
С уважением,
burque505
by burque505
14 Sep 2020, 08:32
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 132977

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

ars4l4n , almost everything in my code was found either in this topic or elsewhere on the forum, except most javascript snippets (besides teadrinker 's, that is), which come from all over. And search for "javascript", not "java", you may have better results. Now that you mention it, you could try s...
by burque505
13 Sep 2020, 15:51
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 132977

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Bloomberg scraper. Be careful with this one. Bloomberg has anti-scraping measures in place and may present you with a captcha. If you run it and it tanks, please be sure to kill all the orphaned chrome.exe running instances. Look at the JS for replacing newlines with tabs. Also writes a 'results.tsv...
by burque505
13 Sep 2020, 14:54
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 132977

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Example table scraper using GeekDude 's Chrome.ahk and teadrinker 's JS injection code here . This is a work in progress. It opens the well-known and much-abused w3schools html tables page here . It displays a MsgBox with the scraped table results, then writes them into the file 'results.tsv' in the...
by burque505
13 Sep 2020, 07:57
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 132977

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hi, ars4l4n , document.querySelector("#twotabsearchtextbox")click(); runs without error for me too, but there's no event listener yet. Try this: inputbox = document.querySelector("#twotabsearchtextbox"); inputbox.addEventListener('click', function (event) { alert('Element clicked through function!')...
by burque505
12 Sep 2020, 19:16
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 132977

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hi ars4l4n , maybe this will help. Seems to be working for me. Quick and dirty, sorry about that. #Include Chrome.ahk ChromeInst := new Chrome("ChromeProfile") PageInstance := ChromeInst.GetPage() PageInstance.Call("Page.navigate", {"url": "https://www.amazon.de/"}) PageInstance.WaitForLoad() Sleep,...
by burque505
11 Sep 2020, 08:29
Forum: Scripts and Functions
Topic: ClipArray (multiple clipboards w/ added functionality)
Replies: 15
Views: 897

Re: ClipArray (multiple clipboards w/ added functionality)

@Epishade, that's very impressive. Thank you for sharing it.
Regards,
burque505
by burque505
28 Aug 2020, 10:48
Forum: Scripts and Functions
Topic: Using AutoHotkey from Python
Replies: 16
Views: 9919

Re: Using AutoHotkey from Python

Hi blue83 , one simple way (not using Pythonic 's ahk, though you could easily do so) is here, using RunCmd.ahk by SKAN . Assumes 'varfrompy.py' is in the script directory. By the way, the ahk github page has examples for passing info from AHK to python. #Include RunCmd.ahk avar := RunCmd("python .\...
by burque505
20 Aug 2020, 08:04
Forum: RPA
Topic: node-red + edge-js + AHK
Replies: 4
Views: 1370

Re: node-red + edge-js + AHK

Thanks, @Tigerlily!
Regards,
burque505
by burque505
17 Aug 2020, 08:04
Forum: C#
Topic: Keysharp - the resurrection of IronAHK
Replies: 30
Views: 7321

Re: Keysharp - the resurrection of IronAHK

@mfeemster, that's tremendous progress. Gives me another reason to look forward to the end of 2020. :D
Regards,
burque505
by burque505
08 Aug 2020, 14:12
Forum: Ask For Help
Topic: how to use Websocket.ahk correctly ?
Replies: 1
Views: 1281

Re: how to use Websocket.ahk correctly ?

eL Tux , sorry I missed this post last month. Try this: #NoEnv SetBatchLines, -1 #Include ../WebSocket.ahk new Example("wss://echo.websocket.org/") return class Example extends WebSocket { OnOpen(Event) { InputBox, Data, WebSocket, Enter some text to send through the websocket. If (ErrorLevel==1) t...

Go to advanced search