Jump to content

Recommended Posts

Hi, I just did a search and came up empty to decided to post this. Has anyone seen an anamoly when using a Ver3 script on Win9x with regards to the mouse and Send commands? It seems the mouse won't click and the Send commands aren't accepted? Same script works fine on a WinXP or Win2k box. Any ideas?

Link to post
Share on other sites

For instance I just did a quick test using the following:

Send("Hello world!")

Send("{F5}")

I used Notepad as the active window for this test. The expected result would have been:

Hello world!2:13 PM 3/23/04

However all I got was:

Hello world!

I then tried this:

Send("Hello world!{ENTER}")

Send("{F5}")

Expected result:

Hello world!

2:13 PM 3/23/04

However the actual result was:

Hello world!2:13 PM 3/23/04

So as you can see something is not quite right here! Any ideas?

Link to post
Share on other sites

or

Send("Hello world!",1)
Send("{F5}",0)

Send

--------------------------------------------------------------------------------

Sends simulated keystrokes to the active window.

Send ( "keys" [, flag])

Parameters

keys The sequence of keys to send.

flag [optional] Changes how "keys" is processed:

  flag = 0 (default), Text contains special characters like + and ! to indicate SHIFT and ALT key presses.

  flag = 1, keys are sent raw.

AutoIt3, the MACGYVER Pocket Knife for computers.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...