-
Notifications
You must be signed in to change notification settings - Fork 79
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
Perform an action from the command line #285
Comments
AltSnap is receiving a feature where it can be invoked from a shell with to perform actions with args, so it only makes sense to add a bin shim. RamonUnch/AltSnap#285
AltSnap is receiving a feature where it can be invoked from a shell with to perform actions with args, so it only makes sense to add a bin shim. RamonUnch/AltSnap#285
Non-valued added comment: This reminds me of a time when I didn't know better. Almost 20 years ago now, I used Autohotkey to pickup hotkeys to trigger NirCmd command line actions which AltSnap now allows 😄 (different use case). That was instead of having Autohotkey actually move windows around which I did later. An evolution of tools eventually led me from library of shortcuts to make grids for windows and move them around to AltDrag/AltSnap and FancyZones. Thanks for your work. |
This is actually something that is quite simple to do.
You can Invoke AltSnap from the command line to perform an action on the focused window or at the current point location.
This is easily done with the
-a
parameter:AltSnap.exe -afAlwaysOnTop
Will Toggle the Always on top flag for the foreground windowAltSnap.exe -apAlwaysOnTop
Will Toggle the Always on top flag for the pointed window.It will only work if AltSnap is already running and if you did not enable the multiple instance mode.
This may become handy if you need to better interface AltSnap with other accessibility software like ahk, external input/controller devices etc.
AltSnap1.57test3_i386.zip
AltSnap1.57test3_x64.zip
The text was updated successfully, but these errors were encountered: