Search found 565 matches
- 10 May 2022, 21:34
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 612
- Views: 125514
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.
- 26 Sep 2021, 09:23
- Forum: Scripts and Functions (v1)
- Topic: Toggle Spotify window
- Replies: 0
- Views: 797
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...
- 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: 59481
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.
- 16 Apr 2021, 08:31
- Forum: Gaming Scripts (v1)
- Topic: Age of Empires II: Definitive Edition macros
- Replies: 1
- Views: 7738
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 ...
- 24 Feb 2021, 07:46
- Forum: Ask for Help (v1)
- Topic: How do I store a LONG string as a variable?
- Replies: 5
- Views: 2576
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
}
- 24 Feb 2021, 07:19
- Forum: Scripts and Functions (v1)
- Topic: Send Email Directly from AutoHotkey
- Replies: 33
- Views: 20716
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 "|...
- 23 Apr 2020, 08:01
- Forum: Ask for Help (v1)
- Topic: Excel COM add Table Topic is solved
- Replies: 4
- Views: 1908
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...
- 21 Apr 2020, 20:05
- Forum: Scripts and Functions (v1)
- Topic: CbAutoComplete - Auto-completes typed values in a ComboBox
- Replies: 17
- Views: 9735
- 19 Apr 2020, 15:29
- Forum: Scripts and Functions (v1)
- Topic: Another Custom MsgBox for AHK_L v1
- Replies: 8
- Views: 2271
Re: Another Custom MsgBox for AHK_L v1
@redgum Thanks for asking, no I have not reworked on this since
- 19 Feb 2020, 20:59
- Forum: Scripts and Functions (v1)
- Topic: [ Game ] AHK Flappy Bird
- Replies: 11
- Views: 5514
Re: [ Game ] AHK Flappy Bird
dang looks sweet man
- 02 Feb 2020, 08:09
- Forum: Ask for Help (v1)
- Topic: [Collab] Typing suggestions for ComboBox lists example provided
- Replies: 9
- Views: 2212
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...
- 01 Feb 2020, 12:10
- Forum: Ask for Help (v1)
- Topic: [Collab] Typing suggestions for ComboBox lists example provided
- Replies: 9
- Views: 2212
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 ...
- 31 Jan 2020, 12:51
- Forum: Ask for Help (v1)
- Topic: DropDownList
- Replies: 1
- Views: 508
Re: DropDownList
Look for Gui help in documentation.
You'd probably want to use Gui, Add, Combobox, , hotkey1|hotkey2
You'd probably want to use Gui, Add, Combobox, , hotkey1|hotkey2
- 31 Jan 2020, 12:48
- Forum: Ask for Help (v1)
- Topic: [Collab] Typing suggestions for ComboBox lists example provided
- Replies: 9
- Views: 2212
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.
- 30 Jan 2020, 09:53
- Forum: Ask for Help (v1)
- Topic: [Collab] Typing suggestions for ComboBox lists example provided
- Replies: 9
- Views: 2212
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 ...
- 29 Jan 2020, 09:06
- Forum: Ask for Help (v1)
- Topic: [Collab] Typing suggestions for ComboBox lists example provided
- Replies: 9
- Views: 2212
[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")...
- 24 Jan 2020, 17:43
- Forum: General Discussion
- Topic: Good coders gone wild!
- Replies: 13
- Views: 9976
Re: Good coders gone wild!
Code: Select all
myautohotkeyscript
messagebox "Hello"
return
Also why does my comment on top "myautohotkeyscript" is preventing to compile ? isnt it obvious that its plain text ?
- 22 Jan 2020, 15:46
- Forum: About This Community
- Topic: Scam Page
- Replies: 20
- Views: 82552
- 21 Jan 2020, 09:33
- Forum: About This Community
- Topic: Scam Page
- Replies: 20
- Views: 82552
- 20 Jan 2020, 10:16
- Forum: About This Community
- Topic: Scam Page
- Replies: 20
- Views: 82552
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...