mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Add a sample script of Autohotkey v2 #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crosstyan on GitHub (Aug 17, 2021).
As we know, AutoHotkey v2 is not compatible with v1. Personally I prefer v2 because its syntax is more suitable for scripting. I believe it's a trend to turn to v2.
Besides, Hide option of Run command doesn't work in v1 but works in v2 for me. I'm not sure why it happens. Anyway I turned to v2 now.
Here is a gist I created in AutoHotkey v2.
By the way, did the feature described in #3 support v2?
@LGUG2Z commented on GitHub (Aug 17, 2021):
I was not aware of AHKv2 as I'm quite new to using Windows! I have added support for executing configuration from an AHKv2 file, but they must be named
komorebi.ahk2to distinguish it from v1 files. I've added a section to the readme about using AHKv2 with a link to your gist as an example. 🎉