rskusa26 Posted May 23, 2011 Share 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 Link to comment Share on other sites More sharing options...
somdcomputerguy Posted May 23, 2011 Share 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. Link to comment Share on other sites More sharing options...
hannes08 Posted May 23, 2011 Share 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] Link to comment Share on other sites More sharing options...
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