Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to put function declaration used is rules? #267

Open
oHaiyang opened this issue Sep 27, 2020 · 1 comment
Open

Where to put function declaration used is rules? #267

oHaiyang opened this issue Sep 27, 2020 · 1 comment
Labels

Comments

@oHaiyang
Copy link

Hi, I am new to AHK and bug.n, I searched through the documents and issues but cannot find any instruction tells where to put the function declaration used in rules.

Can anyone help? Thanks a lot.

@joten
Copy link
Collaborator

joten commented Oct 21, 2020

The currently available functions e.g. Window_isPopup can be found in the file src\Windows.ahk, but you may also add custom functions to src\Config.ahk.

If using functions as the third part of a rule, as described in doc/Configuring_rules.md, the function may only have one parameter, the window id.

@joten joten added the question label Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants