tim3117 Posted December 29, 2011 Share Posted December 29, 2011 How do I load a browser and go to a specific page and not to the home page. When I use the run command It loads the browser's home page. I have a shortcut on the Desktop that will go to this page when I click it but I can't use the run command because it is not a Exe. file. This seems like a easy thing to do but I can't find any way to do it. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted December 29, 2011 Share Posted December 29, 2011 Try the ShellExecute() function. Like this: ShellExecute("http://google.com"). - 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...
Moderators JLogan3o13 Posted December 29, 2011 Moderators Share Posted December 29, 2011 Hi, tim3117, welcome to the forum. Check the example here for assistance on _IECreate. That should suffice for you. Alternatively, if you want to use the shortcut on your desktop, you could do something like this.Run("rundll32 url.dll, FileProtocolHandler " & "path to file") "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnOne Posted December 29, 2011 Share Posted December 29, 2011 Or ShellExecute(@DesktopDir & 'shortcut.htm') AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
tim3117 Posted December 29, 2011 Author Share Posted December 29, 2011 Thanks everybody, Tried the first reply and it worked the very first time. 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