rskusa26 Posted May 23, 2011 Posted May 23, 2011 Hi , I am a brand new user of AutoIt and am trying to write a script to open a website using firefox. Can you please point out what is wrong with the below script Run("C:\Program Files (x86)\Mozilla Firefox\firefox.exe " -new "http://www.yahoo.com/") Thanks in advance for your help
somdcomputerguy Posted May 23, 2011 Posted May 23, 2011 Welcome to the Forum!Is FireFox the default browser? Try ShellExecute("http://www.yahoo.com/") if it is. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
hannes08 Posted May 23, 2011 Posted May 23, 2011 (edited) Run("C:\Program Files (x86)\Mozilla Firefox\firefox.exe " -new "http://www.yahoo.com/") ==> Run("C:\Program Files (x86)\Mozilla Firefox\firefox.exe -new http://www.yahoo.com/") Edited May 23, 2011 by Hannes123 Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now