Script to Check Processes then Launch

JOSHSKORN

New member
Member
VIP
Local time
10:59 PM
Messages
121
I would like a script that does the following:

Code:
If ProcessA.exe NOT Running?
Open ProgramA (Access link file)
End If

If ProcessB.exe NOT Running?
Open ProgramB (Access link file)
End If

If ProcessC.exe NOT Running?
Open ProgramC (Access link file)
End If

Open ProgramD (Access link file)

Obviously I REALLY only need code for 1 IF BLOCK but this is more how it'll look in the end. I'm more or less checking for 3 different processes before I run an application.

Please help, thanks.
 

My Computer

Computer Manufacturer/Model Number
N/A
OS
Windows 7 Ultimate 64-bit
CPU
E6750 OC'd ~ 2.9 Mhz
Motherboard
P5N-E
Memory
DDR2 800 MHz 4GB
Graphics Card(s)
GTX 460 SE 1GB
Sound Card
Realtek Audio (Onboard sound)
Hard Drives
Seagate 500 GB HD
PSU
750 watt

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH

Note quite. I guess if I can figure out the other one, I can do dissect it and do this one (by the last two blocks of code in part 1 of it), but the other one is more involved. This one doesn't deal with starting/stopping services. I basically play this game and am wanting to make sure other applications have started BEFORE launching the game. I'm trying to achieve this by checking the state of the processes, then opening the applications if necessary.
 

My Computer

Computer Manufacturer/Model Number
N/A
OS
Windows 7 Ultimate 64-bit
CPU
E6750 OC'd ~ 2.9 Mhz
Motherboard
P5N-E
Memory
DDR2 800 MHz 4GB
Graphics Card(s)
GTX 460 SE 1GB
Sound Card
Realtek Audio (Onboard sound)
Hard Drives
Seagate 500 GB HD
PSU
750 watt

My Computer

Computer Manufacturer/Model Number
HP Pavilon Slimline
OS
Windows 7 Ultimate 64 bits
CPU
Dual Core Intel Core 2 Duo E7500
Motherboard
MSI MS-7525 (Boston)
Memory
2x[2048 MB DDR2-SDRAM (PC2-6400 / 800 MHz), 2 Gb]; Total:4Gb
Graphics Card(s)
Intel(R) G33/G31 Express Chipset Family (256 MB)
Sound Card
Realtek ALC662 @ Intel 82801GB ICH7 - HD Audio Controller
Monitor(s) Displays
HP 2009m 20'' LCD
Screen Resolution
1600x900
Hard Drives
SAMSUNG HD642JJ (596 GB)
I did not say they were the same. I said they were similar, and they are. I've alreday been responding in the other thread.

Why didn't you read my response before criticizing me?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top