Sign in to follow this  
Followers 0
Guest Warped

A question-need help

5 posts in this topic

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 :ph34r:

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 :( )

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

Hmm...i downloaded the one on the page...i think its 3..ill redownload.

Share this post


Link to post
Share on other sites

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 :ph34r: thats all..oh wait..and is it possible to click..wait 3 sec..then click type of thing?

Share this post


Link to post
Share on other sites

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  :ph34r:

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...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0