Open johanborg opened 9 years ago
Hi Johan,
That's a great idea!
I think that would be a good start on some sort of command line interface to Switcheroo.
Afterwards maybe other command line parameters could be added as well like, e.g.:
-list
- list windows-switch {window}
- switch to the first window matching the pattern, or an index number-close {window}
- close the first window matching the pattern, or an index numberIf you (or another person reading this) want to implement this, then please let me know. I would be happy to receive a pull request for this feature. Otherwise I'll try to get to it when I have finished some of the other open issues.
@johanborg in the meantime you might be able to AutoHotkey
(http://www.autohotkey.com/) to send Alt+Space
when clicking your spare mouse button. A rule could be something like: MButton ::Send, !{Space}
for turning a middle mouse button click into Alt+Space
, and thus making the Switcheroo window open. See this page for more mouse button choices: https://www.autohotkey.com/docs/KeyList.htm.
/ Regin
It would be nice if you could activate Switcharoo (like ALT+SPC) by calling executable with a command line parameter.
Like: c:>switcharoo.exe -activate << Would bring up Switcharoo "window" if already started.
My main use would be binding it to a spare mouse button, but likely useful in other ways as well.
Best regards, Johan