[maemo-developers] xresponse / cnee question re: mimic of multi-key event

From: Burke, James jpburke at qualcomm.com
Date: Thu Mar 19 16:22:50 EET 2009
Henrik / Eero - 

Thanks for the input. The xnee script commands worked but the xresponse sequence did not. I'm OK using xnee for what I need to do. 

Thanks.
James

-----Original Message-----
From: Henrik Sandklef [mailto:hesa at sandklef.com] 
Sent: Thursday, March 19, 2009 4:56 AM
To: Eero Tamminen
Cc: Burke, James; maemo-users at maemo.org; maemo-developers at maemo.org
Subject: Re: xresponse / cnee question re: mimic of multi-key event

Hi

cnee way
--------------------------------------------------

Record:
    cnee --record --mouse --keyboard -o file.xns

 do yer Alt+F10 and what ever, and then, Replay:

    cnee --replay -f file.xns



Alt. if you wanna script "Alt + F9":
--------------------------------------------------

 . /usr/local/share/xnee/xnee.sh

 xnee_fake_key_press "Alt"
 xnee_fake_key "F9"
 xnee_fake_key_release "Alt"


/hesa




Eero Tamminen wrote:
> Hi,
> 
> ext Burke, James wrote:
>> Is there a way to use xresponse (or cnee) to mimic a multi-key event such as Alt+F10 ?
> 
> I haven't tried cnee, but I think it should be able to record Alt+F10
> (and then replay it).
> 
> With Xresponse it would go something like this:
> 	xresponse -k "ISO_Level3_Shift,2000" &
> 	xresponse -w 2 -k "F10"
> 
> 	- Eero
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
> 


More information about the maemo-developers mailing list