Jump to content

Send() not working


Recommended Posts

I just started using AutoIt but I can't really get it working. It seems that I can activate/switch between applications, have the mouse move and click, but whenever I try to use the Send() functions, no keystrokes are sent to any applications.

Even the Sample Scripts that come with AutoIt don't work. Any ideas?

Link to comment
Share on other sites

Sure. I just double-click the au3 file containg just one line of code. How about:

Send("#r") ;should open "Run..." window

or

ControlSend("Untitled","","Edit1","Text in Notepad") ;should write a line of text in (already opened) Notepad

or

calculator.au3 (Script supplied with AutoIt)

A colleague suspects that there is some driver or security programm installed on the computer that might prevent "SendKey"-events to be executed on the machine. Ever heard of this?

Edited by macstoll
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...