Guest Warped Posted August 22, 2004 Share Posted August 22, 2004 I'm trying to create a script to open Windows IE go to a site and do some things... So far, I havn't gotten past opening Notepad I'm doing Run, iexplore.exe, C:\\Program Files\\Internet Explorer When i try it, it says Line 1: Run, iexplore.exe, C:\\Program Files\\Internet Explorer Error: Unable to run program. (Ensure that backslashes \ have been used properly). Could someone explain what I'm doing wrong? Also, could someone instruct me on how to: 1. Once in IE type something in the address bar 2. How to move the mouse (anything i try puts the mouse in the top left of my screen (how can i tell what to put the co-ordinates as?)) 3. How do I just type things? 4. How do I use keys like TAB and CTRL? Thanks in advance (Sry for all the questions, I looked in the help but im technically challenged ) Link to comment Share on other sites More sharing options...
this-is-me Posted August 23, 2004 Share Posted August 23, 2004 Are you sure you posted in the right forum? That type of coding is the old v.2 style. You are posting in the v.3 vorum. Who else would I be? Link to comment Share on other sites More sharing options...
Guest Warped Posted August 23, 2004 Share Posted August 23, 2004 Hmm...i downloaded the one on the page...i think its 3..ill redownload. Link to comment Share on other sites More sharing options...
Guest Warped Posted August 23, 2004 Share Posted August 23, 2004 oopsee..ya...so im still confsed though...could someone exaplin how to do the thing i wanted in V3? I want to run IE nad the use tab and mouse clicks as well as typing...yup thats all..oh wait..and is it possible to click..wait 3 sec..then click type of thing? Link to comment Share on other sites More sharing options...
SlimShady Posted August 23, 2004 Share Posted August 23, 2004 I'm trying to create a script to open Windows IE go to a site and do some things... So far, I havn't gotten past opening NotepadĀ I'm doing Run, iexplore.exe, C:\\Program Files\\Internet Explorer When i try it, it says Line 1: Run, iexplore.exe, C:\\Program Files\\Internet Explorer Error: Unable to run program. (Ensure that backslashes \ have been used properly). Could someone explain what I'm doing wrong? Also, could someone instruct me on how to: 1. Once in IE type something in the address bar 2. How to move the mouse (anything i try puts the mouse in the top left of my screen (how can i tell what to put the co-ordinates as?)) 3. How do I just type things? 4. How do I use keys like TAB and CTRL? Thanks in advance (Sry for all the questions, I looked in the help but im technically challenged ) <{POST_SNAPBACK}>To run internet explorer with a website you want: Run("explorer http://www.msn.com") 1. Send("{F6}www.google.com") 2. MouseMove ( x, y [, speed] ) 3. Send ( "keys" [, flag] ) 4. '!' This tells AutoIt to send an ALT keystroke, therefore Send("This is text!a") would send the keys "This is text" and then press "ALT+a". '^' This tells AutoIt to send a CONTROL keystroke, therefore Send("^!a") would send "CTRL+ALT+a". It's all in the help file... 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