Simulating Keystrokes

2006-09-29 Thread Bridger Maxwell
Hey, I know I can simulate keystrokes from Revolution to my stack by sending the keyDown message, but is there any way to send keystrokes to the system or to other programs? I would like to send keystrokes like F9 to activate expose, but it would be very nice to be able to send any keystroke.

Re: Simulating Keystrokes

2006-09-29 Thread Peter T. Evensen
You can also use the command type to simulate keystrokes. But that doesn't answer your question (I just thought I'd through this out there as it is another way to do simulated keystrokes). You could probably do it with AppleScript. It probably has a mechanism to send keystrokes, or at least

Re: Simulating Keystrokes

2006-09-29 Thread Mark Schonewille
Hi Bridger, On Mac OS X, you could use AppleScript GIU scripting. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op

Re: Simulating Keystrokes

2006-09-29 Thread Dar Scott
On Sep 29, 2006, at 10:34 AM, Mark Schonewille wrote: On Mac OS X, you could use AppleScript GIU scripting. Windows has WSH, the windows scripting host that can handle scripting in several languages with VBBcript and JScript built in. Any of the languages have access to the object

Re: Simulating Keystrokes

2006-09-29 Thread Bridger Maxwell
Hey, Thanks for all the suggestions. I think that should work for what I am doing, but I was wondering if there was any way to send keystrokes so it seems to the system to be coming from the keyboard. I realize this would probably be a security hole, but I have seen programs, at least on

Re: Simulating Keystrokes

2006-09-29 Thread Dar Scott
On Sep 29, 2006, at 12:21 PM, Bridger Maxwell wrote: I was wondering if there was any way to send keystrokes so it seems to the system to be coming from the keyboard. You should be able to insert keystrokes into the HID stream on XP with an external. To get lower, you can replace the