• Lucid Dreaming - Dream Views




    Results 1 to 5 of 5
    1. #1
      Mind Tinker Volcon's Avatar
      Join Date
      Jun 2006
      Location
      Florida
      Posts
      753
      Likes
      13

      possible to start 2 programs with 1 icon?

      Is it possible to somehow link 2 programs together so they both start up if you click one icon, i'm using vista by the way.
      Raised by: Gothlark, Sythix, KuRoSaKi.

      Adopted: Snoop, Grandius, Linxx, Anti_nation.


    2. #2
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I believe Windows has some equivalent to AppleScript. I think VB can do that, write a script that opens whatever you want and save that icon on your desktop.

    3. #3
      Member
      Join Date
      May 2007
      Gender
      Posts
      3,651
      Likes
      5
      Code:
      Set WshShell = WScript.CreateObject("WScript.Shell")
      WshShell.Run "C:\Windows\system32\calc.exe"
      WshShell.Run "C:\Windows\system32\notepad.exe"
      Put that in a .vbs file and run it, and it'll start Calculator and Notepad.

    4. #4
      Member Photolysis's Avatar
      Join Date
      Dec 2007
      Gender
      Posts
      1,270
      Likes
      316
      A slightly easier way would be to use a batch file.

      Start notepad, type the following with the programs you want, and save it as a .bat file:

      Code:
      START "FULL PATH OF PROGRAM 1 GOES HERE"
      START "FULL PATH OF PROGRAM 2 GOES HERE"
      e.g.

      Code:
      START C:\WINDOWS\system32\calc.exe
      START C:\WINDOWS\notepad.exe

    5. #5
      Local Hack Afterglow's Avatar
      Join Date
      May 2008
      LD Count
      Lost track
      Gender
      Location
      Australia
      Posts
      162
      Likes
      8
      Yep what photolysis said is probably the easiest way, very quick and easy to whip up.
      When I was in high school I was very ambitious, I wanted to be the Class President but I missed out by only about 3 votes.

      So they made me the Class Secretary of Defence.

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •