Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-02

how to send keyboard (or mouse) message with lazarus?

9 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Creatxr
to Vincent Snijders

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
Creatxr schreef: how 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 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100201/a863664f/attachment.html>

Reply by email

Creatxr
to theo

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
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 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100202/93e49788/attachment.html>

Reply by email

Creatxr
to Hans-Peter Diettrich

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
Creatxr schrieb: lazarus 0.9.26.2-2 beta > I'd upgrade to a more recent version. DoDi -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100203/33500f8a/attachment-0001.html>

Reply by email

Felipe Monteiro de Carvalho
to Creatxr: 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:

http://wiki.lazarus.freepascal.org/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld_can.27t_find_-l.3Csome_lib.3E

In short you need to install libXtst probably, but read the link.

Felipe Monteiro de Carvalho

Reply by email

Creatxr
to Felipe Monteiro de Carvalho

thanks very much.
now it could be compiled.

2010/2/4 Felipe Monteiro de Carvalho

Show quoted text 21 lines
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: http://wiki.lazarus.freepascal.org/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld_can.27t_find_-l.3Csome_lib.3E In short you need to install libXtst probably, but read the link. -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100205/03a7a221/attachment.html>

Reply by email