wasteofserver / site-comments

wasteofserver.com comments are hosted here
0 stars 0 forks source link

autohotkey-the-magic-keyboard/ #6

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

AutoHotKey, the magic keyboard

As a developer, I'm constantly pushing for automatization. First target? The keyboard.

https://wasteofserver.com/autohotkey-the-magic-keyboard/

frankielc commented 1 year ago

You should also jump on Reddit and look into a much better example provided by /u/anonymous1184 link to code here.

strecz commented 1 year ago

AHK solves alot of problems. I use it to automate my investing code. I started by manually manually analyzing my stocks in Excel and, since I'm not too smart I just began by learning VBA and started coding there, spiking the juice with now 8 AHK scripts. Since I was new to AHK I started by using Pulover's Macro Creator. Now I can do in 20 minutes what used to take 2 hours. It's good stuff and I'm glad you wrote about it. Clever trick with using {F15} too. My main glitch has been not being able to 100% reliably activate apps from VBA so that AHK can touch them (and not run amok in some other application). For my investment database (Valueline Investment Analyzer), which is not the best written program but has excellent underlying research, I had to run Excel elevated. Now that causes me to use workarounds, for example in restarting OneDrive (known limitation that OneDrive won't start under Admin mode), which I disable due to the large number of files I create in a temp working directory during the analysis. Anywhoo, AHK is great.

frankielc commented 1 year ago

Thanks for sharing @strecz! Always great to learn how others make do. I write a lot of code for finance, most of it is Java. I'm pretty sure, given what you wrote, that you would be able to pick up Java fairly quickly!