#autohotkey — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #autohotkey, aggregated by home.social.
-
Sooo, I made some progress on automating shit on #Android to coerce #backups from apps, e.g. those that are not included in SeedVault.
Thanks to #Keymapper (via @fdroidorg)! This is as close as it gets to have #AutoHotkey „scripting“ on Android.
You don't even need a spare key: Just add a homescreen widget to run your script.
Maybe not as portable as #Tasker and different approach, but something to keep an eye on!https://keymapper.app
https://github.com/keymapperorg/KeyMapper -
Вайбкодим .EXE под Windows с GUI на AutoHotkey v2
История о том, как превратить консольный скрипт в полноценное Windows приложение с GUI на AutoHotkey v2 при помощи нейросетей и вайбкодинга. Разбираем этапы от поиска инструментов до борьбы с интерфейсом в стиле софта нулевых без единой строчки кода, написанной вручную.
https://habr.com/ru/articles/1016392/
#вайбкодинг #нейросети #программирование #autohotkey #cmd #ffmpeg #gemini #qwen
-
Windows users mostly dislike the command-line. This GUI utility is useful.
```
#Requires AutoHotkey v2.0#SingleInstance Force
MainGui := Gui("+AlwaysOnTop", "CSV to XLSX Converter")
MainGui.SetFont("s10", "Segoe UI")MainGui.Add("Text",, "Input CSV File:")
EditFile := MainGui.Add("Edit", "w400 ReadOnly", "No file selected...")
MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFile)MainGui.Add("Text", "xm", "Output Folder:")
EditDir := MainGui.Add("Edit", "w400 ReadOnly", "No folder selected...")
MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFolder)MainGui.Add("Text", "xm h10", "") ; Spacer
BtnConvert := MainGui.Add("Button", "xm w100 h40 Default", "Convert Now")
BtnConvert.OnEvent("Click", RunConversion)MainGui.Show()
SelectFile(*) {
Selected := FileSelect(3, , "Select your CSV file", "CSV Files (*.csv)")
if Selected
EditFile.Value := Selected
}SelectFolder(*) {
Selected := DirSelect(, 3, "Select the destination folder")
if Selected
EditDir.Value := Selected
}RunConversion(*) {
InputPath := EditFile.Value
OutputDir := EditDir.Valueif (InputPath = "No file selected..." || OutputDir = "No folder selected...") {
MsgBox("Please select both a file and a destination!", "Missing Info", "Icon!")
return
}FullCommand := 'csv2xlsx.exe -o="' . OutputDir . '\output.xlsx" ' . InputPath
try {
RunWait(FullCommand)
MsgBox("Success! The file has been converted.", "Done", "Iconi")
} catch {
MsgBox("Error.", "Execution Failed", "Iconx")
}
}
```
#autohotkey #gui #coding -
Resized the #Raycast window with #AutoHotKey on #Windows.
IfWinExist, Raycast
{ WinMove,,,1266,418,1000,1300
}Yep, it worked. Settings screen looks good. Main window looks like shit because the viewport is still locked to it's original size and of course it STILL can't be resized even on Win. Great app, monumental and almost dealbreaking UI flaw.
I only use it for an emoji picker right now so it's tolerable. It may become triggering in the future..
-
«ghbdtn» → «привет»: Свой маленький punto switcher на AHK (без блэкджека, но с поддержкой системных языков)
Мне надоело, что автоматические переключатели в Punto срабатывают не там, где нужно, а «умные» исправления ломают пароли. Поэтому я давно использовал только функцию переключения раскладки выделенного текста, остальное выключал в настройках. Перегруженность и тормознутость, в целом, долго и успешно терпел. Но после попытки скачать Punto, в очередной раз, с официального сайта, антивирус не дал этого сделать и сказал, что там вирус. Это было последней каплей, пробежавшись по аналогам, я взгрустнул и решил написать свою утилиту на AutoHotkey v2, которая делает только одну вещь: исправляет выделенный текст по горячей клавише, циклически переключая его между установленными в системе раскладками.
https://habr.com/ru/articles/987334/
#AutoHotkey #Раскладка_клавиатуры #Open_Source #Windows_Utils #punto #punto_switcher
-
Adding #AutoHotkey to the list of cautionary examples of ad-hoc scripting languages. But I'm still glad it exists, now I can start automating the #PocketViewer simulator. Opening it is already so much faster.
But ideally I'd still prefer to reverse engineer it enough to use Frida to add some automation and maybe even a GDB stub.
#theWorkshop -
The more I use #Espanso the more I like it. Still a long way to go to be as powerful as #AutoHotKey, but I don't think it ever could be due to MacOS restrictions. Meh. I still like it. https://espanso.org
-
I'm new to Mastodon. Here's some stuff I like and might post about:
- Theology (I am very Christian)
- Amateur Category Theory (bad)
- Programming in #janetlang
- Philosophy (anti-platonism)
- Note-taking/PKM ( #roamresearch )
- Data Analysis (self-taught, bad)
- Cool Etymologies
- Literary Criticism
- Desktop Automation ( #autohotkey )
- Now Reading/Watching/Listening to/Playing
- Complaining about Microsoft products
- Misc. side projects (I write #vscode extensions) -
I set up an #AutoHotKey macro to pause/resume #Audacity when recording audio. The pause/break key works wonderfully as a cough button.
```
#Requires AutoHotkey v2.0#r:: { ; Windows+R: Record
if WinExist("ahk_exe audacity.exe") {
hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
if hwnd {
PostMessage(0x100, 0x52, 0, , hwnd) ; WM_KEYDOWN message for Space key
PostMessage(0x101, 0x52, 0, , hwnd) ; WM_KEYUP message for Space key
}
}
}#s:: { ; Windows+S: Stop/Play
if WinExist("ahk_exe audacity.exe") {
hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
if hwnd {
PostMessage(0x100, 0x20, 0, , hwnd) ; WM_KEYDOWN message for Space key
PostMessage(0x101, 0x20, 0, , hwnd) ; WM_KEYUP message for Space key
}
}
}#p::PauseResume() ; Windows+P
Pause::PauseResume() ; Pause/Break keyPauseResume() {
if WinExist("ahk_exe audacity.exe") {
hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
if hwnd {
PostMessage(0x100, 0x50, 0, , hwnd) ; WM_KEYDOWN message for Space key
PostMessage(0x101, 0x50, 0, , hwnd) ; WM_KEYUP message for Space key
}
}
}
``` -
Experimenting with #Espanso as a replacement for the hotstring functionality of #AutoHotKey on #Windows. Got the basics working but interested in exploring the more advanced options such as calculating and inserting the current date and time etc. Already got ddd outputting 20241123 - nice.
Good replacement for 90% of what I use #AHK for. Maybe #Raycast can do the rest (auto window positioning and resizing etc). Fuck this #Mac and my OCD nerd brain.
-
Ich bin ja großer Fan von #Hotkeys und liebe die #StreamDecks, inbesondere zusammen mit Bitfocus Companion und #AutoHotkey statt des #Elgato-Bloat-Schrotts.
Bei #Pearl gibt's jetzt eine „Billig“-Version für 99€.
Hat das schon mal jemand getestet? Irgendwelche Erfahrungen?
-
DarkGate Malware Switches to AutoHotkey for Advanced Evasion Techniques
Date: June 2024
CVE: CVE-2023-36025, CVE-2024-21412
Vulnerability Type: Remote Code Execution, Information Disclosure
CWE: [[CWE-22]], [[CWE-427]]
Sources: McAfee , Trend Micro, The Hacker NewsSynopsis
DarkGate malware, known for its stealth and versatility, has recently transitioned from using AutoIt to AutoHotkey for its attack scripts. This shift enhances its evasion capabilities against security software, posing a renewed threat to targeted systems.
Issue Summary
The DarkGate malware has been active since 2018, offering a range of malicious functions including remote access, keylogging, and data theft. In its latest iteration, observed in March 2024, the malware has switched from AutoIt to AutoHotkey scripts to bypass detection mechanisms such as Microsoft Defender SmartScreen. The malware is distributed through phishing emails containing malicious HTML or Excel attachments.
Technical Key Findings
DarkGate initiates its attack via a phishing email, tricking users into opening a malicious HTML or Excel file. This file exploits security flaws in Microsoft Defender SmartScreen, allowing a Visual Basic Script to execute PowerShell commands that launch an AutoHotkey script. This script then downloads and executes the DarkGate payload.
Vulnerable Products
- Microsoft Windows systems running outdated or unpatched versions of Microsoft Defender SmartScreen
- Any systems susceptible to phishing attacks via email clients
Impact Assessment
When exploited, DarkGate can provide attackers with full remote access to compromised systems. This includes capabilities for credential theft, keylogging, screen capturing, and installing additional malware, significantly jeopardizing the integrity and security of affected systems.
Patches or Workarounds
N.A.
Tags
#DarkGate #Malware #CVE-2023-36025 #CVE-2024-21412 #AutoHotkey #RemoteAccessTrojan #Phishing #MicrosoftDefender #CyberSecurity #threatintelligence
-
Autre nouveauté de #QwertyLafayette 0.9 : une archive mobile, contenant notamment un pilote #AutoHotKey pouvant tourner sans droits admin sous Windows. Ce pilote ne repose pas sur PKL, qui n’est plus maintenu, mais est directement généré par #kalamine, profitant là aussi des travaux de la communauté des #Ergonautes. Personnaliser sa dispo et générer des pilotes n’a jamais été aussi simple.
-
#TIL #OpenBroadcastStudio #OBS zusammen mit dem #Streamdeck ist der perfekte Companion in Selbstfahrer-Situationen von Events z.B. dem #wtc24 letzte Woche.
Auf den Tasten und als Plugins nutze ich immer Teams (Reaktionen, Kamera an/aus, Mute, Raise-Hand), OBS (Szenen), Countdown, Obsbot (Kamerapositionen, verfolgen an/aus), VLC (Musik an/aus).
Im nächsten Schritt werde ich mich mal mit #Autohotkey für die Automatisierung von Routine-Aufgaben in Events beschäftigen.
-
CC @ubernauten
Meine (nicht-öffentliche) Nextcloud und bald bestimmt mehr ist auf (A)steroiden, cause proudly hosted by uberspace.de. (Steroide sind natürlich nur für Maschinen OK, und auch nur so lange, wie sie sich nicht gewerkschaftlich organisieren, wie bei Stanislav Lem.)
Außerdem nutze ich @writefreely, @WordPress, @Codeberg,@cryptpad,#searx, @mxlinux,@keepassxc,#vnc+#ssh,@git,#gittfs,#gitcrypt,@libreoffice,#clawsmail, @[email protected],@[email protected],@fdroidorg,@libretube,@AntennaPod,#opencamera,@anysoftkeyboard,#quickdic,#transportr,@torproject,@signalapp,#jitsi,@Tusky,#mgit,#markor,#PilfershushJammer,#fosswarn,#vlc,#doublecmd,#powershell,#autohotkey,#xca,#openssl,#zapp,@privacybrowser,#UntrackMe,@veracrypt,#AuthPass,@newpipe,#radiodroid,#edslite,#SecScanQR,#sqlitedbbrowser,#avnc,@k9mail,openstreetmap.org,inv.nadeko.net,u.V.m., überhaupt privat fast nur und im Job so viel wie geht #floss , im Netz und lokal.
–––
Warum FLOSS? U.A. deshalb:
KI – Macht – Ungleichheit. https://media.ccc.de/v/ce4743cc-50ad-4597-bcc8-58e1a7e53c20
-
CC @ubernauten
Meine (nicht-öffentliche) Nextcloud und bald bestimmt mehr ist auf (A)steroiden, cause proudly hosted by uberspace.de. (Steroide sind natürlich nur für Maschinen OK, und auch nur so lange, wie sie sich nicht gewerkschaftlich organisieren, wie bei Stanislav Lem.)
Außerdem nutze ich @writefreely, @WordPress, @Codeberg,@cryptpad,#searx, @mxlinux,@keepassxc,#vnc+#ssh,@git,#gittfs,#gitcrypt,@libreoffice,#clawsmail, @[email protected],@[email protected],@fdroidorg,@libretube,@AntennaPod,#opencamera,@anysoftkeyboard,#quickdic,#transportr,@torproject,@signalapp,#jitsi,@Tusky,#mgit,#markor,#PilfershushJammer,#fosswarn,#vlc,#doublecmd,#powershell,#autohotkey,#xca,#openssl,#zapp,@privacybrowser,#UntrackMe,@veracrypt,#AuthPass,@newpipe,#radiodroid,#edslite,#SecScanQR,#sqlitedbbrowser,#avnc,@k9mail,openstreetmap.org,inv.nadeko.net,u.V.m., überhaupt privat fast nur und im Job so viel wie geht #floss , im Netz und lokal.
–––
Warum FLOSS? U.A. deshalb:
KI – Macht – Ungleichheit. https://media.ccc.de/v/ce4743cc-50ad-4597-bcc8-58e1a7e53c20
-
CC @ubernauten
Meine (nicht-öffentliche) Nextcloud und bald bestimmt mehr ist auf (A)steroiden, cause proudly hosted by uberspace.de. (Steroide sind natürlich nur für Maschinen OK, und auch nur so lange, wie sie sich nicht gewerkschaftlich organisieren, wie bei Stanislav Lem.)
Außerdem nutze ich @writefreely, @WordPress, @Codeberg,@cryptpad,#searx, @mxlinux,@keepassxc,#vnc+#ssh,@git,#gittfs,#gitcrypt,@libreoffice,#clawsmail, @[email protected],@[email protected],@fdroidorg,@libretube,@AntennaPod,#opencamera,@anysoftkeyboard,#quickdic,#transportr,@torproject,@signalapp,#jitsi,@Tusky,#mgit,#markor,#PilfershushJammer,#fosswarn,#vlc,#doublecmd,#powershell,#autohotkey,#xca,#openssl,#zapp,@privacybrowser,#UntrackMe,@veracrypt,#AuthPass,@newpipe,#radiodroid,#edslite,#SecScanQR,#sqlitedbbrowser,#avnc,@k9mail,openstreetmap.org,inv.nadeko.net,u.V.m., überhaupt privat fast nur und im Job so viel wie geht #floss , im Netz und lokal.
–––
Warum FLOSS? U.A. deshalb:
KI – Macht – Ungleichheit. https://media.ccc.de/v/ce4743cc-50ad-4597-bcc8-58e1a7e53c20
-
#EngineerChallenge Day 018 :calculator:
I forgot to post an update for the past few days due to #procrastination. I was thinking how I can get myself to enjoy the process of answering problem sets. To answer this, I made a small script with #AutoHotkey which plays a satisfying sound when a specific key is pressed in order to #Pavlov myself into some #dopamine. It's minor but I think the audio cues help.
I went with a generic sniper shot SFX (attached herewith), since solving a few problems is not worthy of fancy fanfare (unless, of course it's those types of problems that take a long while to answer even though it's just one item) but it seems fitting since what we're doing are attempts at solving and not necessarily that we're always going to "score" a point.
I was ruminating for some days that reading textbooks first and then solving problems might not be the best way to raise my morale/motivation for the answering problem sets. Maybe I could better sustain momentum if I answered problem sets first? Then when I'm stuck I go looking for relevant information so that my reading is motivated, intentional, and clear about what I want to get out of the act of #studying (i.e. not just get to the end of the chapter for progression's sake). A textbook isn't fiction so there's no right sequence to reading it...
On the other hand, I also often get derailed by other inquiries that pop up. I was thinking of relegating those to the backburner and come back to them once my focus wanes from solving problem sets, i.e. #StructuredProcrastination [0], to help maximize use of the limited 12 hours of the day.
-
Use #Windows? Comfortable writing scripts/#code? #AutoHotkey is amazing for automating many daily tasks. Has auto string expansion (e.g. afk => away from keyboard). Use it with AHK Command Picker to launch your other scripts/apps. #ahk #automation
-
💡 #TIL there's another effort going on to bring inglorious
#AutoHotkey to 🐧 GNU/#Linux!
(#X11, that is.)Meet #AHK_X11 🥳
🌐 https://github.com/phil294/AHK_X11
📖 https://phil294.github.io/AHK_X11☝️ Caveat: It only supports legacy #AHK 1.1 syntax and does not aim for 100% feature parity/compatibility, but should enable you to use most of your #hotkeys and #hotstrings #crossplattform! (Sync on your own).
#scripting #automation #DesktopAutomation #KeyboardWarriors #xdotool #gtk #AutoIt #AutoKey #AlternativeTo
-
Things you can do on #Windows that I have not (yet) been able to do on #Mac:
- #AutoHotKey can do systemwide txt replacement (so can #Espanso) but it can also sense and act on all system windows (move them, click a button in them, resize them) immediately upon their appearance
- Taskbar is there by default - shows all apps AND their child windows for instant selection, no DWM required, uBar is not a perfect replacement
- Can resize settings instead of a vertical fixedwidth panel
- #Outlook rules can color emails based on criteria. Yes this is an MS limitation, not Apple
- #ShoveIt auto shunts offscreen windows back onscreen
- Zhorn #Stickies is far better than any Mac sticky app I've found. Can "attach" a sticky to a window so that every time window appears, sticky also appears. Can set a reminder so when time arrives, sticky pops up and jiggles/chimes
- apps generally have FAR better notification popupsToday I will be looking at #Magnet and #DockExposé. The journey continues.
-
@fireborn Pretty easy to do with #AutoHotkey. I've used {CapsLock} instead of {Win} to avoid conflicts with my own keyboard shortcuts:
#Requires AutoHotkey v2.0
#HotIf GetKeyState("CapsLock", "T")
w & g::Run("https://www.google.com/")
w & r::Run("https://www.reddit.com/")
a & w::Run("winword")(when CapsLock is "On", "a" and "w" at the same time will open MS Word)
Other ideas:
- Having the keys and what's opened in a JSON or CSV file
- Compiling the script
- Showing the "layers" with a GUI -
Quick look at the foot pedal I made for arting and farting. Used for the eraser mainly but I can remap it to anything based on context really. Looks like a hot mess but only on the inside. Note the telephone cable I used to extend usb lmao
I just used a little digispark board to send the F24 key to the pc, and then use autohotkey to remap that to anything I need#DigitalArt #ArtTools #arduino #digispark #autohotkey #footpedal
-
Use #Autohotkey / #Autoit ans make em yourself ...
-
Noticed your #AutoHotkey scripts and hotkeys don't work when an elevated window has focus (i.e. running as Admin)? Checkout this post on how to easily fix that: https://blog.danskingdom.com/Prevent-Admin-apps-from-blocking-AutoHotkey-by-using-UI-Access/
-
Oh, early xmas present: #AutoHotkey releases version 2.0! 🥳
Changes: https://www.autohotkey.com/docs/v2/v2-changes.htm
Download: https://github.com/AutoHotkey/AutoHotkey/releases/tag/v2.0.0 -
heise+ | Windows 10 mit Tools effizienter nutzen
Große Monitore ausreizen, die Tastatur neu belegen oder Aufgaben automatisieren: Diese Tools erleichtern Ihnen das Windows-Leben. Windows 10 mit Tools effizienter nutzen -
I use a dual monitor set-up in #HomeOffice. With a hotkey I can tell my second monitor to switch from HDMI to DVI to take a peek on my linux notebook. Without fiddling with its clumsy source selection button.
#nirsoft and #autohotkey #ahk to the rescue, once again! 👍
-
AutoKey is a utility which can automate keypresses on X11 desktops. AutoKey can perform a variety of tasks, including pasting addresses, replacing smilies with emoji, etc. AutoKey also features scripting, which allows for a massive amount of window, keyboard, mouse, etc. tasks to be automated effectively.
Website 🔗️: https://github.com/autokey/autokey
apt 📦️: autokey-gtk autokey-common
#free #opensource #foss #fossmendations #automation #AutoHotKey #Linux
-
Hallo zusammen, ich bin #NeuHier. Ich interessiere mich für #autohotkey, #golanguage, #idea, #kotline, #opensource-, #php-developer, #php-development und #phpstorm.