Sign in to follow this  
Followers 0
macstoll

Send() not working

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

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