![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I want to be able to send a string of keystrokes to an application repetitively under Ubuntu.
(The application is VICE, and all I want to send is the string fdddddddy over and over, which will mean my party in Bards Tale III will defend)
I know about a dozen toold to do this under Windoze but I'm having a heckofa time under Ubuntu / X.
I have looked at xmacro and xnee but I can't seem to make head or tail of them...
(The application is VICE, and all I want to send is the string fdddddddy over and over, which will mean my party in Bards Tale III will defend)
I know about a dozen toold to do this under Windoze but I'm having a heckofa time under Ubuntu / X.
I have looked at xmacro and xnee but I can't seem to make head or tail of them...
no subject
Date: 2008-01-08 02:03 am (UTC)I did manage to make xnee do something though.
xnee --k-log -rec -o foo --all-events
Records 1000 mouse/keypress events into outfile. Move mouse to VICE window (you have focus follows mouse, right? :P), press required keypresses, wiggle mouse until 1000 events recorded (or work out what to feed the --stop-key option). Play it back with:
xnee -rep -f foo
I guess a shell script that invokes playback repeatedly is what you want.
As for whether such automated grinding is considered cheating, I'll leave that to your own conscience. :P
no subject
Date: 2008-01-08 07:25 am (UTC)no subject
Date: 2008-01-11 04:17 am (UTC)Mind you, checking in a simple keystroke macro system into VICE would be cool.
no subject
Date: 2008-01-11 04:47 am (UTC)