Comments (4)
I have not tried this but there is a command to create a scheduled task, to run at boot, with elevated privileges
schtasks /create /f /tn "RunAltSnap" /tr "C:\Path\To\AltSnap.exe" /sc onlogon /rl highest
Here is the meaning of those arguments as per schtasks /create /?
/F Forcefully creates the task and suppresses warnings if
the specified task already exists.
/TN taskname Specifies the string in the form of path\name
which uniquely identifies this scheduled task.
/TR taskrun Specifies the path and file name of the program to be
run at the scheduled time.
Example: C:\windows\system32\calc.exe
/SC schedule Specifies the schedule frequency.
Valid schedule types: MINUTE, HOURLY, DAILY, WEEKLY,
MONTHLY, ONCE, ONSTART, ONLOGON, ONIDLE, ONEVENT.
/RL level Sets the Run Level for the job. Valid values are
LIMITED and HIGHEST. The default is LIMITED.
from altsnap.
It is possible to check if the task exists with
schtasks /query /tn "RunAltSnap" /fo LIST
/TN taskname Specifies the task path\name for which
to retrieve the information, else all of them.
/FO format Specifies the format for the output.
Valid values: TABLE, LIST, CSV.
And it is possible to delete the task with
schtasks /delete /tn "RunAltSnap" /f
from altsnap.
There is also an AltSnap.xml
file in the installation directory to help users to setup the Scheduled task.
Because Scheduled tasks are invisible in the task manager's startup list, I do not put AltSnap there by default, Also many users will not use it elevated anyway.
I will Add the command line options in the wiki, and to the readme file, this will be helpful to some users indeed.
from altsnap.
Referenced in the README FIRST issue, so I close it.
from altsnap.
Related Issues (20)
- AltSnap can make some windows (Firefox) pulsate after snapped HOT 3
- AltSnap and office applications: Black square boxes with letters appears flickering in toolbar while resizing. HOT 2
- Windows always snap, no matter AltSnap settings.
- Feature Request : Autoborderless zone-snapped windows (minus blacklist) ? HOT 1
- Resize windows from center - like osx [Feat] HOT 5
- Cant seem to clear shortcut keys - keyboard tab [v1.63] HOT 8
- Feature request : Somehow be able choose overlapping zones ? HOT 8
- Feature request : reload config explicitly option in systray context menu HOT 2
- [bug?] Snapping after Alt-Tab doesn't work. HOT 3
- Fix minimize action HOT 1
- [question] how to bring window to front after Alt-Click-MouseMove? HOT 2
- Intermittently stops interacting with windows HOT 3
- Move to left/right/top/bottom zoone limitation HOT 2
- Compatibility with Komorebi HOT 4
- Add UIAccess flag to allow managing admin windows without running as admin HOT 10
- Chocolatey packaget not updating HOT 10
- PiercingClick doesn't work on windows11? HOT 5
- Cursor can't left-click until a right-click is issued HOT 22
- Centering a window is misaligned
- A separate blacklist for showing Window lists/Changing Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altsnap.