Anyone know if there is one? There is a java program called 'robot' which allows you to do that, as well as the AutoHotKey language, but I would like to do that with lisp or scheme instead.
Thanks
Lisp program to control Windows Mouse and Keyboard?
Re: Lisp program to control Windows Mouse and Keyboard?
Update:
I can my windows program in wine, so the lisp mouse and keyboard controller program would also work if it runs in x windows.
I can my windows program in wine, so the lisp mouse and keyboard controller program would also work if it runs in x windows.
Re: Lisp program to control Windows Mouse and Keyboard?
(the following is untested)
Take a look at the following MSWin API functions.
http://msdn.microsoft.com/en-us/library ... S.85).aspx
http://msdn.microsoft.com/en-us/library ... S.85).aspx
http://msdn.microsoft.com/en-us/library ... S.85).aspx
Then write a simple CFFI binding to use these from lisp.
http://common-lisp.net/project/cffi/
Take a look at the following MSWin API functions.
http://msdn.microsoft.com/en-us/library ... S.85).aspx
http://msdn.microsoft.com/en-us/library ... S.85).aspx
http://msdn.microsoft.com/en-us/library ... S.85).aspx
Then write a simple CFFI binding to use these from lisp.
http://common-lisp.net/project/cffi/