View Single Post
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#25
Originally Posted by Benson View Post
With str, it tries to translate a string into key press (and release) events. If you're having trouble with that, you could try to run individual keys, giving you more direct control...

But it was working fine for me; the exact example shown typed Foo quite nicely. <shrug \>

There's a man page here:
http://linux.com.hk/penguin/man/1/xte.html

HTH
Well, when I use your Foo command, I just get f (since the F in Foo was uppercase, it gets printed lowercase, and the lowercase o's get ignored).

But I've made the macros I want, and I'm a happy camper. If I want, say, "Gerald Ko", I use:
Code:
xte 'key Shift_L' "str GERALD " 'key Shift_L' "str KO"
I was even able to do a complete name-and-address with all the relevant tabs -- click one button and it tabs through all the fields, entering the name and then street address, etc., all on its own. The only weird keystroke is 'key Return' which brings up the finger keyboard and does not enter a return.

So, Benson, thanks!


(Now iif fiferboy will just give us a multi-headed Personal Menu -- a MIRV among launchers -- with the capability to password-protect one of its icon-sets, he'll also have the most convenient maemo password manager, filling in the username then tabbing then entering the password all from one click. )
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)