Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Task Scheduler Question

19 Aug 2010   #1
legend86

Windows 7 Premium 32-Bit
 
 
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
BomberAF

Windows 7
 
 

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
Lemur

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

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
legend86

Windows 7 Premium 32-Bit
 
 

^^
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
Lemur

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

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
legend86

Windows 7 Premium 32-Bit
 
 

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




Thread Tools




Similar help and support threads
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Task Scheduler Question - Auto Restart
Hello everyone, I would like to set up a public computer to automatically restart after an hour of use through Windows Task Scheduler. Any help on this matter would be greatly appreciated. Thanks!
General Discussion
simple task scheduler question: changing a task name
Hello, I scheduled some tasks in the task scheduler. One of the tasks has a typo and another I would like to change its name. There doesn't seem to be a way of doing this short of resetting up the tasks from scratch and deleting the original tasks. Would anyone know how to rename tasks in the...
Performance & Maintenance
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion


Our Sites

Site Links

About Us

Find Us

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

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

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App