Task Scheduler Question


  1. Posts : 35
    Windows 7 Premium 32-Bit
       #1

    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 Computer


  2. Posts : 491
    Windows 7
       #2

    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 Computer


  3. Posts : 3,139
    Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
       #3

    legend86 said:
    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 Computer


  4. Posts : 35
    Windows 7 Premium 32-Bit
    Thread Starter
       #4

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


  5. Posts : 3,139
    Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
       #5

    legend86 said:
    ^^
    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 Computer


  6. Posts : 35
    Windows 7 Premium 32-Bit
    Thread Starter
       #6

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 23:20.
Find Us