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

JonathanDLynch jonathandlynch at gmail.com
Tue Sep 27 07:17:52 EDT 2011


In windows, you can run a vb script and use the sendkeys method



Sent from my iPhone

On Sep 27, 2011, at 5:55 AM, "Keith \(Gulf Breeze Ortho Lab\)" <keith at gulfbreezeortholab.com> wrote:

> Thanks for your response--and good information to know. However, I do need a solution for Windows... Hmmmmm.
> 
> -----Original Message----- From: Richmond Mathewson
> Sent: Tuesday, September 27, 2011 4:27 AM
> To: How to use LiveCode
> Subject: Re: Is there a way to send keyboard keys to other windows?
> 
> On 09/27/2011 12:14 PM, Keith (Gulf Breeze Ortho Lab) wrote:
>> Hello,
>> 
>> This might be a dumb question, but is there a way in LiveCode to simulate sending keyboard keys to non-LiveCode applications/windows? For example, if I am running Firefox and want to send a CTRL-T in order to open a new tab, is there a way that I can simulate the CTRL and T being pressed and then send it to a particular instance of a Firefox Window accordingly?
>> 
>> Thanks,
>> 
>> - Boo
>> _______________________________________________
>> 
> 
> Boo to you too . . .  :)
> 
> I just had a poke in the Dictionary and found
> 
> send to program
> 
> which should do the trick; although 'tis Mac only . . .  :(
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list