How Do I

Thursday, July 20, 2006 by Raven2043 | Discussion: DesktopX

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.
BigDogBigFeet
Reply #1 Thursday, July 20, 2006 7:50 PM
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.
SirSmiley
Reply #2 Thursday, July 20, 2006 7:55 PM
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

BigDogBigFeet
Reply #3 Thursday, July 20, 2006 8:05 PM
Raven2043
Reply #4 Thursday, July 20, 2006 8:27 PM
Thanks for the help guys....to technical for me....Just wrote a batch file...But thank you anyway.
Cyberium
Reply #5 Sunday, August 13, 2006 4:32 PM
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

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01