Search found 565 matches

by DRocks
10 May 2022, 21:34
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 123688

Re: Rufaydium WebDriver (no selenium/websocket)

Wow I have to test this as soon as possible. Been looking for that for the last 4 years. Learned Node.js and Go web scraping in the mean time, but using AHK has so many avantages over other languages. Thanks for the script ! It will surely be useful.
by DRocks
26 Sep 2021, 09:23
Forum: Scripts and Functions (v1)
Topic: Toggle Spotify window
Replies: 0
Views: 759

Toggle Spotify window

Very basic function to open, activate or minimize the Spotify Window. With Hotkey Ctrl + Alt + M : - When app is not running, open it. - When app window is minimized, restore and activate it. - When app window is activated, minimize it. ^!m::toggleSpotifyMusic() toggleSpotifyMusic() { spotityWinTitl...
by DRocks
21 Jul 2021, 20:42
Forum: Scripts and Functions (v1)
Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids (now for v2!)
Replies: 140
Views: 58752

Re: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids

Nice Work!! I actually have written an application with Electron for Javascript and this Neutron library feels like a similar tool but using AHK instead of NodeJs as a "Back-End". HTML / CSS / JS is great for user interfaces and AHK is good for Windows automation so it's a really nice combo.
by DRocks
16 Apr 2021, 08:31
Forum: Gaming Scripts (v1)
Topic: Age of Empires II: Definitive Edition macros
Replies: 1
Views: 7662

Re: Age of Empires II: Definitive Edition macros

Cool I tried doing some for the initial start up actions you typically would do. - Queue villagers creation - Start scouting - Create first house ;index.ahk #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #SingleInstance,Force SendMode Input ; Recommended for ...
by DRocks
24 Feb 2021, 07:46
Forum: Ask for Help (v1)
Topic: How do I store a LONG string as a variable?
Replies: 5
Views: 2547

Re: How do I store a LONG string as a variable?

Thanks @jeeswg reading a file to string is perfect and much easier to understand in the code.

Code: Select all

htmlString := getFileHtml("path/to/myFile.html")

getFileHtml(filePath) {
	FileRead, fileContentAsHtmlString, % filePath
	return fileContentAsHtmlString
}
by DRocks
24 Feb 2021, 07:19
Forum: Scripts and Functions (v1)
Topic: Send Email Directly from AutoHotkey
Replies: 33
Views: 20499

Re: Send Email Directly from AutoHotkey

Very nice thanks a lot! I've been wondering about that for a while. Here's a snippet how I made a working attachment test: ; Attachment feature separated by | facture := A_ScriptDir . "\Facture-18.pdf" doc1 := A_ScriptDir . "\doc1.pdf" doc2 := A_ScriptDir . "\doc2.pdf" sAttach := facture "|" doc1 "|...
by DRocks
23 Apr 2020, 08:01
Forum: Ask for Help (v1)
Topic: Excel COM add Table Topic is solved
Replies: 4
Views: 1902

Re: Excel COM add Table Topic is solved

Thanks for this it works well and I could even simplify it like so: ;xl.app.ActiveSheet.UsedRange.Select xl.app.ActiveSheet.ListObjects.Add(1, xl.app.ActiveSheet.UsedRange,_, 1).Name := "myTable" ;xl.app.Range("MyTestTable2[[#All]]").Select xl.app.ActiveSheet.ListObjects("myTable").TableStyle := "Ta...
by DRocks
21 Apr 2020, 20:05
Forum: Scripts and Functions (v1)
Topic: CbAutoComplete - Auto-completes typed values in a ComboBox
Replies: 17
Views: 9684

Re: CbAutoComplete - Auto-completes typed values in a ComboBox

MrHue wrote:
20 Apr 2020, 03:52
Nice, your example works very well good job!
by DRocks
19 Apr 2020, 15:29
Forum: Scripts and Functions (v1)
Topic: Another Custom MsgBox for AHK_L v1
Replies: 8
Views: 2261

Re: Another Custom MsgBox for AHK_L v1

@redgum Thanks for asking, no I have not reworked on this since :D
by DRocks
19 Feb 2020, 20:59
Forum: Scripts and Functions (v1)
Topic: [ Game ] AHK Flappy Bird
Replies: 11
Views: 5435

Re: [ Game ] AHK Flappy Bird

dang looks sweet man
by DRocks
02 Feb 2020, 08:09
Forum: Ask for Help (v1)
Topic: [Collab] Typing suggestions for ComboBox lists example provided
Replies: 9
Views: 2193

Re: [Collab] Typing suggestions for ComboBox lists example provided

I don't see what these byrefs or global matches := {} is accomplishing. I removed them and it ran just the same. I read once that ByRefs use the same reference location in memory so I like using it to make it clear I'm using something linked with the outer scope. Secondly, I read that it's good whe...
by DRocks
01 Feb 2020, 12:10
Forum: Ask for Help (v1)
Topic: [Collab] Typing suggestions for ComboBox lists example provided
Replies: 9
Views: 2193

Re: [Collab] Typing suggestions for ComboBox lists example provided

Updated original post with TheDewd 's suggestion. I also made the sorting of results a bit more useful in my opinion. The logic could be much better, but for now it's best I can get. There's a problem when you get a match without considering the numbers in front, the numbers will get reversed. Like ...
by DRocks
31 Jan 2020, 12:51
Forum: Ask for Help (v1)
Topic: DropDownList
Replies: 1
Views: 507

Re: DropDownList

Look for Gui help in documentation.
You'd probably want to use Gui, Add, Combobox, , hotkey1|hotkey2
by DRocks
31 Jan 2020, 12:48
Forum: Ask for Help (v1)
Topic: [Collab] Typing suggestions for ComboBox lists example provided
Replies: 9
Views: 2193

Re: [Collab] Typing suggestions for ComboBox lists example provided

Good question, I think I'd prefer that it disappears in both cases but this case is not handled yet good find.
by DRocks
30 Jan 2020, 09:53
Forum: Ask for Help (v1)
Topic: [Collab] Typing suggestions for ComboBox lists example provided
Replies: 9
Views: 2193

Re: [Collab] Typing suggestions for ComboBox lists example provided

Thanks for your replies, I've been doing what you both suggested. (original post is updated) TheDewd Added hidding Suggestion ListBox when userInput becomes empty Chunjee Separated Gui stuff from the main filtering function now called GetInputSuggestion() - Added parameters like you said. - Removed ...
by DRocks
29 Jan 2020, 09:06
Forum: Ask for Help (v1)
Topic: [Collab] Typing suggestions for ComboBox lists example provided
Replies: 9
Views: 2193

[Collab] Typing suggestions for ComboBox lists example provided

Here's an example script of match suggestions while typing in a AHK GUI ComboBox. 2020-02-01 : The list filter currently uses RegExMatch() for a few kind of possible matches in this importance order: 1. case sensitive matches Uppercase Letters in list item ("LF" input would match " L ocation F ees")...
by DRocks
24 Jan 2020, 17:43
Forum: General Discussion
Topic: Good coders gone wild!
Replies: 13
Views: 9923

Re: Good coders gone wild!

Code: Select all

myautohotkeyscript

messagebox "Hello"
return
The docs say to use MsgBox to display message but when I use it (messagebox "Hello") it doesnt work wtf ?
Also why does my comment on top "myautohotkeyscript" is preventing to compile ? isnt it obvious that its plain text ?
by DRocks
22 Jan 2020, 15:46
Forum: About This Community
Topic: Scam Page
Replies: 20
Views: 82505

Re: Scam Page

tank wrote:
22 Jan 2020, 12:55
try clearing your cache and let me know if this still occurs
I just did and it fixes it :)
by DRocks
21 Jan 2020, 09:33
Forum: About This Community
Topic: Scam Page
Replies: 20
Views: 82505

Re: Scam Page

tank wrote:
21 Jan 2020, 07:18
Ill fix this today
Thanks guys have a great day
by DRocks
20 Jan 2020, 10:16
Forum: About This Community
Topic: Scam Page
Replies: 20
Views: 82505

Re: Scam Page

It just happened when I got to work now: Chrome Bookmark = same as before and same as at my home = https://autohotkey.com/boards/ resulting page = https://www.autohotkey.com/boards/assets/javascript/gotcha.js content = var msg = "Dear visitor. This domain autohotkey.fr is trying to trick you. The of...

Go to advanced search