Windows 7 Forums


Windows 7: Task Scheduler Question

19 Aug 2010   #1

Windows 7 Premium 32-Bit
Fayetteville, North Carolina
 
 
Task Scheduler Question

Is there any way to schedule a task to load a program once a particular program is loaded? And if possible, have that program close once the other program is closed?

Like, I want program B to run only if I open program A. Then when I close program A, program B closes also.

My System SpecsSystem Spec

19 Aug 2010   #2

Windows 7
Liverpool
 
 

There probably is a way to do it but you would have to be an extremely competant programmer!

So to answer your question it isn't possible to go into the task scheduler and create the task your talking about, but I am 100% sure that you could write a program that would enable to create such a task.
My System SpecsSystem Spec
19 Aug 2010   #3

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
University of Kentucky
 
 

Quote   Quote: Originally Posted by legend86 View Post
Is there any way to schedule a task to load a program once a particular program is loaded? And if possible, have that program close once the other program is closed?

Like, I want program B to run only if I open program A. Then when I close program A, program B closes also.
I can have a program start once another program ends, by using a batch file.

For instance, let's say I create the file test.bat
the file contains two lines:

notepad.exe
calc.exe

when I start the bat file, notepad runs. when I close the notepad, the calculator program runs.

perhaps there's additional functionality you could do in the batch file, or maybe it could be done in a scheduler, but this is what i could come up with.
My System SpecsSystem Spec
.


20 Aug 2010   #4

Windows 7 Premium 32-Bit
Fayetteville, North Carolina
 
 

^^
Thanks for the input. I've never even created a batch file so I wouldn't know where to start! Haha.

It's not crucial or anything. Just more of a luxury if I could possibly get it to happen. I just want program B to run when I open program A, and when I close program A, program B should close.
My System SpecsSystem Spec
20 Aug 2010   #5

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
University of Kentucky
 
 

Quote   Quote: Originally Posted by legend86 View Post
^^
Thanks for the input. I've never even created a batch file so I wouldn't know where to start! Haha.

It's not crucial or anything. Just more of a luxury if I could possibly get it to happen. I just want program B to run when I open program A, and when I close program A, program B should close.
What are the names of the two programs?
My System SpecsSystem Spec
27 Aug 2010   #6

Windows 7 Premium 32-Bit
Fayetteville, North Carolina
 
 

Oops, I'm sorry. Forgot to check back on this thread. The two programs are cledx.exe and FL.exe.

cledx.exe would be program B and FL.exe would be program A.
My System SpecsSystem Spec
Reply

 Task Scheduler Question problems?



Thread Tools



Similar help and support threads for: Task Scheduler Question
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder Tutorials
Need help creating a task scheduler task to move files over a network. General Discussion
Task scheduler unable to load task status/active tasks at startup. Performance & Maintenance
Solved simple task scheduler question: changing a task name Performance & Maintenance
Solved Task Scheduler failing to start task with merged network locations General Discussion


All times are GMT -5. The time now is 11:59 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd