-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-16"?> | ||
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | ||
<RegistrationInfo> | ||
<Date>2023-06-10T21:33:33</Date> | ||
<Description>Autorun for Thermal Control Center for Dell G15 | github.com/AlexIII/tcc-g15</Description> | ||
<URI>\TCC_G15</URI> | ||
</RegistrationInfo> | ||
<Triggers> | ||
<LogonTrigger> | ||
<StartBoundary>2023-06-10T21:33:00</StartBoundary> | ||
<Enabled>true</Enabled> | ||
</LogonTrigger> | ||
</Triggers> | ||
<Principals> | ||
<Principal id="Author"> | ||
<LogonType>InteractiveToken</LogonType> | ||
<RunLevel>HighestAvailable</RunLevel> | ||
</Principal> | ||
</Principals> | ||
<Settings> | ||
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> | ||
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries> | ||
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries> | ||
<AllowHardTerminate>true</AllowHardTerminate> | ||
<StartWhenAvailable>true</StartWhenAvailable> | ||
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> | ||
<IdleSettings> | ||
<StopOnIdleEnd>true</StopOnIdleEnd> | ||
<RestartOnIdle>false</RestartOnIdle> | ||
</IdleSettings> | ||
<AllowStartOnDemand>true</AllowStartOnDemand> | ||
<Enabled>true</Enabled> | ||
<Hidden>false</Hidden> | ||
<RunOnlyIfIdle>false</RunOnlyIfIdle> | ||
<WakeToRun>false</WakeToRun> | ||
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit> | ||
<Priority>7</Priority> | ||
</Settings> | ||
<Actions Context="Author"> | ||
<Exec> | ||
<Command>"C:\Program Files (x86)\Thermal Control Center\tcc-g15.exe"</Command> | ||
<Arguments>--minimized</Arguments> | ||
</Exec> | ||
</Actions> | ||
</Task> |
b93cfa6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a long time I didn't know how to set the program minimized in Task Scheduler. It turns out I got the arguments wrong...
I think I have tried
/min
/background
-minimized
-silent
or more, and I didn't know it's--minimized
...b93cfa6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--minimized
did not exist before 1.5.0. I just added it...