Posted January 25, 201311 yr FPCH Admin If I use Task Scheduler to open a file or program, the file or program opens (I can see it's opened in Task Manager) but it does not show up in an interactive Window. The code below is for opening an Internet Explorer Window with a html file that plays a song and reminds me to take my medication. I can hear the song playing when the task activates but no interactive Window opens. I can also see Internet Explorer is running in Task Manager and I can end the task there or in Task Scheduler. The same thing happens if I try to use Task Scheduler to open an .exe program. The task is set to run in Windows 8 and I'm running Windows 8 Pro. Could that be the problem? The Code: <?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" There was a Microsoft link here but it caused a submission error> <RegistrationInfo> <Date>2013-01-07T17:03:01.063985</Date> <Author>Robs-PCRob</Author> <Description>Take Morning Medication</Description> </RegistrationInfo> <Triggers> <CalendarTrigger> <StartBoundary>2013-01-07T08:29:30</StartBoundary> <ExecutionTimeLimit>P3D</ExecutionTimeLimit> <Enabled>true</Enabled> <ScheduleByDay> <DaysInterval>1</DaysInterval> </ScheduleByDay> </CalendarTrigger> </Triggers> <Principals> <Principal id="Author"> <UserId>Robs-PCRob</UserId> <LogonType>Password</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>true</WakeToRun> <ExecutionTimeLimit>P3D</ExecutionTimeLimit> <Priority>7</Priority> </Settings> <Actions Context="Author"> <Exec> <Command>C:UsersRobertScheduled-TasksTake-Morning-Medication.htm</Command> </Exec> </Actions> </Task> ******** The link used to open the html file works from the Start/Run command line. View the full article Off Topic Forum - Unlike the Rest
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.