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

Add MousePositionCondition #10

Closed
Tracked by #18
zero-plusplus opened this issue Oct 27, 2022 · 0 comments
Closed
Tracked by #18

Add MousePositionCondition #10

zero-plusplus opened this issue Oct 27, 2022 · 0 comments
Labels
draft enhancement New feature or request

Comments

@zero-plusplus
Copy link
Owner

MousePositionCondition is a Condition that returns true if the mouse is present at the specified position and false otherwise.

This condition can be used to reproduce hot corners and hot edges.

new CustomHotkey("LButton", "{ToolTip}click top-left-corner", { mousepos: "top-left-corner" }).on()
new CustomHotkey("LButton", "{ToolTip}click top", { mousepos: "top-edge" }).on()
new CustomHotkey("LButton", "{ToolTip}click top-right-corner", { mousepos: "top-right-corner" }).on()
new CustomHotkey("LButton", "{ToolTip}click left", { mousepos: "left-edge" }).on()
new CustomHotkey("LButton", "{ToolTip}click right", { mousepos: "right-edge" }).on()
new CustomHotkey("LButton", "{ToolTip}click bottom-left-corner", { mousepos: "bottom-left-corner" }).on()
new CustomHotkey("LButton", "{ToolTip}click bottom", { mousepos: "bottom-edge" }).on()
new CustomHotkey("LButton", "{ToolTip}click bottom-right-corner", { mousepos: "bottom-right-corner" }).on()
@zero-plusplus zero-plusplus added enhancement New feature or request draft labels Oct 27, 2022
This was referenced Oct 27, 2022
zero-plusplus added a commit that referenced this issue Nov 10, 2022
Add MousePositionCondition
zero-plusplus added a commit that referenced this issue Nov 10, 2022
Update ja doc
zero-plusplus added a commit that referenced this issue Nov 10, 2022
Update en doc
zero-plusplus added a commit that referenced this issue Nov 10, 2022
zero-plusplus added a commit that referenced this issue Nov 10, 2022
Update en doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant