Is there a way to send keyboard keys to other windows?

Keith (Gulf Breeze Ortho Lab) keith at
Tue Sep 27 18:16:33 EDT 2011

Thanks Andy.

-----Original Message----- 
From: AndyP
Sent: Tuesday, September 27, 2011 10:10 AM
To: use-revolution at
Subject: Re: Is there a way to send keyboard keys to other windows?

Ok I've been looking at AutoIt and the AutoIt script below will :

1. Check to see if Firefox is running, if not open a new instance.
2. Open a new tab and load a url.

;~ Check if Firefox open

If Not ProcessExists("Firefox.exe") Then
    Run(@ProgramFilesDir & "\Mozilla Firefox\Firefox.exe", "", @SW_MAXIMIZE)
;~ Allow time for the browser to load
sleep(5000) ;- 5 secs

;~ Make Firefox the active window


;~ Define url to load in new tab & Send Ctrl+t keystrokes

Dim $adress=""

Compile this into a standalone with AutoIt, then use LiveCode shell start to
run tah exe.

Andy Piddock

My software never has bugs. It just develops random features.
PointandSee is a FREE simple but full featured under cursor colour picker / 
finder. - made with LiveCode (v1.4.1 released 
View this message in context:
Sent from the Revolution - User mailing list archive at

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 

More information about the Use-livecode mailing list