-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Labels
Description
Hello,
I have an issue with cliclick and the fn modifier.
When used with the t: action, the fn modifier works. For instance, this will trigger Notification Center:
% cliclick -m verbose kd:fn t:c ku:fn
Hold fn key down
Type: “c”
Release fn key
Even with several modifiers, this works. The following will center the frontmost window:
% cliclick -m verbose kd:ctrl,fn t:c ku:ctrl,fn
Hold ctrl key down
Hold fn key down
Type: “c”
Release ctrl key
Release fn key
However, when used in combination with the kp: action, fn modifier does not seem to work.
I wanted to tile the frontmost window to the right half.
What occurs is that the window is not tiled and the current desktop switched to the next one (as if fn was not held down):
% cliclick -m verbose kd:ctrl,fn kp:arrow-right ku:ctrl,fn
Hold ctrl key down
Hold fn key down
Press + release arrow-right key
Release ctrl key
Release fn key
I tried the following alternatives, with the same unwanted result:
% cliclick kd:ctrl kd:fn kp:arrow-right ku:fn ku:ctrl
% cliclick kd:fn kd:ctrl kp:arrow-right ku:ctrl ku:fn
% cliclick -w 500 kd:fn kd:ctrl kp:arrow-right ku:ctrl ku:fn