Greatness Posted December 25, 2004 Posted December 25, 2004 How to get internet explorer to open easily like putting in iexplore? ~Greatness
Insolence Posted December 25, 2004 Posted December 25, 2004 I believe if you search you will find the answer "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
Greatness Posted December 25, 2004 Author Posted December 25, 2004 FileOpen ( "iexplore.exe", o ) mouseclick ("left", 197, 107, 1) send ( "www.mail.yahoo.com{ENTER}", 0) It messes up at the first part:*(, Instead of opening internet explorer, it makes a file iexplore in the autoit3 folder and it just continues on with the other things in script. Can someone help me with that plz? Thanks ~Greatness
b14ck Posted December 25, 2004 Posted December 25, 2004 Don't use FileOpen.. Use Run, look in the C:\ProgramFiles\IEXPLORE\IEXPLORE.EXE if I remember correctly. (Been a while) -I am the giver of life and the bringer of death.
Nova Posted December 25, 2004 Posted December 25, 2004 (edited) Seeing as ur new, maby you dont know but theres a great little search button on the top of the forums, I found this by doing a search for internet explorer You could do it this way Run( "iexplore.exe") WinWait("Your Homepage - Microsoft Internet Explorer") mouseclick ("left", 197, 107, 1) send ( "www.mail.yahoo.com{ENTER}", 0) But this way is alot better and more reliable. Run ("explorer.exe" & " http://www.mail.yahoo.com","",) Hope this is what your looking for, welcome to the forum. Remember theres always more than one way to skin a cat Happy scripting Nova Edited December 25, 2004 by nova
Insolence Posted December 25, 2004 Posted December 25, 2004 I'll explain this command: Run ("explorer.exe" & " http://www.mail.yahoo.com")Basically that's calling the program itself, BUT adding a command as it calls it. I think that's known as the 'command line' of a program.I.E. If you were to call 'Diablo II.exe' (a game) and add the option '-ns' it would remove sound from the game. Calling it + the option would look like this:Run ("Diablo II.exe -ns")Simply seperate the program from the commands with a space.Hope that explains it a bit better. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
Greatness Posted December 25, 2004 Author Posted December 25, 2004 Thanks, this place is very user-friendly! ~Greatness
Insolence Posted December 25, 2004 Posted December 25, 2004 That's one reason it's my favorite scripting language I guess you'd call it that? "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
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