tim3117 Posted December 29, 2011 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.
somdcomputerguy Posted December 29, 2011 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.
Moderators JLogan3o13 Posted December 29, 2011 Moderators 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!
JohnOne Posted December 29, 2011 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.
tim3117 Posted December 29, 2011 Author Posted December 29, 2011 Thanks everybody, Tried the first reply and it worked the very first time.
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