how to send keyboard (or mouse) message with lazarus? e.g. i want to send VK_SHIFT + A to system (linux and windows) thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100201/e2909606/attachment.html>
Mailing lists / lazarus / 2010-02
how to send keyboard (or mouse) message with lazarus?
9 messages · 5 people · –
- CCreatxr 5
- FFelipe Monteiro de Carvalho 1
- HHans-Peter Diettrich 1
- Ttheo 1
- VVincent Snijders 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Creatxr wrotehow to send keyboard (or mouse) message with lazarus? e.g. i want to send VK_SHIFT + A to system (linux and windows) thanks.
Did you try http://wiki.lazarus.freepascal.org/MouseAndKeyInput ?
Vincent
i'm sorry.
i didn't find where it is.
it has too poor document with lazarus.
i didn't find it in dir "/usr/share/fpcsrc/2.2.4"
2010/2/1 Vincent Snijders
Show quoted text 17 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100201/a863664f/attachment.html>
i didn't find where it is. it has too poor document with lazarus.
A document doesn't help if you don't read it. ;-)
It's written here http://wiki.lazarus.freepascal.org/MouseAndKeyInput See: Location:
lazarusdir/components/mouseandkeyinput
i'm sorry.
i did't know where is the "lazarusdir" .
now i found it "/usr/lib/lazarus/components/mouseandkeyinput" (it seems it doesn't be included with lazarus0.9.24)
but it can't be compile after i use "project inspector" added "LaMouseAndKeyInput" to project.
=======================================
"Compiling package LazMouseAndKeyInput 0.1" completed /usr/bin/ld: warning: /home/creatxr/WORK/lazarus/first/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lXtst
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping =======================================
lazarus 0.9.26.2-2 beta
2010/2/2 theo
Show quoted text 19 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100202/93e49788/attachment.html>
lazarus 0.9.26.2-2 beta
I'd upgrade to a more recent version.
DoDi
i've tried the daily build and 9.28.
it has the same problem.
it can't be compile after i use "project inspector" added "LaMouseAndKeyInput" to project.
========================================
"Compiling package LazMouseAndKeyInput 0.1" completed /usr/bin/ld: warning: /home/creatxr/WORK/lazarus/first/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lXtst
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping =======================================
2010/2/3 Hans-Peter Diettrich
Show quoted text 18 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100203/33500f8a/attachment-0001.html>
i'm sorry. i did't know where is the "lazarusdir" . now i found it…
2010/2/2 Creatxr :
/usr/bin/ld: cannot find -lXtst project1.lpr(20,1) Error: Error while linking project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping
This is on the FAQ:
In short you need to install libXtst probably, but read the link.
thanks very much.
now it could be compiled.
2010/2/4 Felipe Monteiro de Carvalho
Show quoted text 21 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100205/03a7a221/attachment.html>
