Hibiscus is a framework that optimizes for your happiness, by providing functions that are predictable and consistent throughout their usage. It accomplishes this by providing a set of modules that are split by their main features.
These modules add better categorization and names to AutoHotkey, along with better functions that extend AutoHotkey in reusable blocks that you can use.
Highly appreciate if you contribute to Hibiscus. Trying it and reporting issues and/or ideas that arise is something really great. Bug reports are helpful too! Make sure that you read the CONTRIBUTING.md
file.
Make sure that you have the following things
- AutoHotkey Current (not V2)
git
pahket
- Make sure the.exe
is in yourPATH
- Clone this repo somewhere safe:
cd C:\Users\yourname\some\safe\folder git clone https://github.com/NickSeagull/hibiscus
- Create a folder called
Hibiscus
in your My Documents folder. - Inside of the
Hibiscus
folder you've just created, create aninit.ahk
file. This is where you will write your automation code. - Go to the folder where you've cloned this repo to, using the file explorer.
- Open
hibiscus.ahk
- Additionally, if you want Hibiscus to run when you log into Windows, create a shortcut to
hibiscus.ahk
in theshell:startup
folder (you can access this folder by typingshell:startup
into the address bar of the file explorer)
For now, Hibiscus doesn't have an auto-update feature, to update it, perform a git pull
in the folder you've cloned it:
cd C:\Users\yourname\some\safe\folder\hibiscus
git pull
When using Hibiscus, you write code in the Hibiscus
folder of your My Documents
folder. This is called your Hibiscus configuration. We will refer to it in the guide as config.
Hibiscus pre-configures AutoHotkey to a set of sensible defaults, so don't bother adding stuff like #Warn All
or #SingleInstance, Force
in your config, as they are already enabled.
Hibiscus modules are accessible under the hs
object. For example, you can make Hibiscus switch to an existing Edge window, and if it doesn't exist, open a new one by using:
hs.application.open("C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe")
You can find a reference of the modules and their functions in the docs
folder.
Send a PR and add yours!