: Https://github.com/pdcgomes/XCActionBar
Basic command:
(1) "command+shift+8" or double-click the "command" button to open the "Action Input box window"
(2) "command+option+7" or double-click the "alt" button to perform "Last Action"
The keys that you can use to double-click or triple-click events are as follows 5 when programming:
(1) "alt":nsalternatekeymask
(2) "command":nscommandkeymask
(3) "control":nscontrolkeymask
(4) "fn":nsfunctionkeymask
(5) "shift":nsshiftkeymask
Useful feature points:
(1) in the "Action Input box window" input "run" or "open quickly", and so on, it will be smart to match the System menu items, select the item, and then press the "return" key can directly invoke the corresponding system menu item, here also can see the System menu item corresponding shortcut key
(2) The selection is multiplexed multiple times: xcduplicatelineaction
When the content is selected, enter "duplicate lines" in the Action Input box window, then press "tab", enter the number of times to reuse, and then press the "return" key
(3) Add a prefix or suffix string for the selected multiline: Xcaddprefixtolinesaction, xcaddsuffixtolinesaction
With multiple lines selected, in the Action Input box window, enter "add Prefix to line (s) or"add Suffix to line (s), press the "tab" key, enter the string you want to add, and then press the "return" key
(4) As the whole content of the selected multiline, add the prefix or suffix string: xcaddprefixtotextaction, Xcaddsuffixtotextaction
With multiple lines selected, enter "add Prefix to text" or "add Suffix to text" in the Action Input box window, then press the "tab" key, enter the string you want to add, and then press the "return" key
(5) Start multi-column selection mode; can be used to delete multiple columns of content
In the "Action Input box window" Enter "column Selection mode", and then press the "return" key, depending on whether the current state switch is started, you can press and hold the "option" key to select multiple columns
(6) Wrapping content; can be used for numeric type syntax sugar manipulation
When the content is selected, enter "surround text with NSNumber literal" or "surround text with NSString literal" in the Action Input box window, and then press the "return" key; command+option+7"or double-click the"alt"key to perform" last Action "
For more useful content, please follow the instructions in GitHub for more practical exploration.
The alfred"in Xcactionbar"xcode