import time
import subprocess
#TweetDeck
a=15
print "Opening TweetDeck...\n"
while a>=0:
print (str(a)+" seconds remaining...")
time.sleep(5)
a-=5
subprocess.call("C:\Program Files\TweetDeck\TweetDeck.exe")
#Rest period
print ("\nWaiting...")
time.sleep(5)
#Firefox
a=15
print "\nOpening Mozilla Firefox...\n"
while a>=0:
print (str(a)+" seconds remaining...")
time.sleep(5)
a-=5
subprocess.call("C:\Program Files\Mozilla Firefox\firefox.exe")
Hey guys,
I used the above code to open programs(TweetDeck and Firefox).
What I want to do is, make it read a text file, where I can list all the program I want to open. And I know how to do this, but;
how do I run the program at startup(any other way than dragging and dropping it in the Start menu>Startup?).
The problem is: after TweetDeck opens, FF doesn't open until I close TweetDeck? Any ideas why?
Thanks