How Do I

How can I make an object with DesktopX that will launch 2 programs at the same time....I want to launch 2 related programs together...Can it even be done?? Thanks.
2,232 views 5 replies
Reply #1 Top
Yes, with a script. I haven't tried it myself but, based on a previous post I read around here it is doable. I will look for the link.
Reply #2 Top
Yes.

Use the Run Command under WSH. The won't launch at exact same time but pretty close.

Something like this:

Dim App1, App2
App1 = "C:\Program Files\Program1.exe"
App2 = "C:\Program Files\Program1.exe"

Sub Control_OnMouseDown
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run App1
WshShell.Run App2
End Sub

Reply #4 Top
Thanks for the help guys....to technical for me....Just wrote a batch file...But thank you anyway.
Reply #5 Top
Why you ungrateful...! .. Only kidding - there's like a split second gap between each launch .. So you'd hardly notice it.. You should WSH and WMI they are fun (although sometimes problematic) - Check out DesktopX's Script Help thing