

I've tried offsetting them by as little at 1sec and as much as 10sec and it's the same. I am under the impression it might have something to do with window focus, but making wmctrl set focus to each window (wmctrl -a $WID) then having xvkbd go through, doesn't seem to work, if I don't offset the sleep timers neither program gets it, if I do, only the one with a longer timer does. If I offset the wait time of the two, between when the window is made and the xvkbd is used, only the one with the longer wait time recieves the information. However, when I try to do this with TWO clients, NEITHER of them gets the text.

#Sending keystrokes to elinks password#
I have also had success in making the script open a box for me to type my password in, so that my PW isn't saved in a file somewhere. Simply running the script will open the game client, move it to whichever monitor I tell it and resize it to what I tell it, it then waits 2 seconds and then pipes my password through xvkbd and logs me in.
#Sending keystrokes to elinks android#
I can successfully automate the login process. Macro Keys is a free and open source software to send keystrokes from your Android device to your PC whatever is Windows, Linux or Mac it does not matter.

Make sure the application started (.AppActivate) 4. Create a new Windows Script Host COM object (new-object) 2. WID=$(wmctrl -lp | grep $PID | cut "-d " -f1) The other way is by calling Windows Script Host as a COM object as in the example on Egghead Cafe. WINEDEBUG=-all wine64 "/home/REDACTED/.wine/drive_c/Program Files/CCP/EVE/bin/exefile.exe" & I have had some success with writing in xvkbd -window $WID -text "REDACTED\r" at the end of the script that starts the program and uses wmctrl to set their location (the windowid for WID is retrieved through wmctrl). Since I use the same password for all 3, it's abit easier to just clone keystrokes, if possible. I already have a script that allows me to start them all at once, on the proper monitors (using wmctrl) but I still have to enter passwords one at a time. (I run Fedora 21)Īctual application: What I intend to use this for, if for entering my password in multiple EvE-Online clients at once, to make logging into my accounts alittle more streamlined. What I have looked into but cant do: keyboardcast - I can't for the life of me find the source files and there's only deb files everywhere for it, no RPM. What I have tried: xvkbd - I've tried multiples ways of using this, and none seem to work properly for what I need. What I want to do: Be able to enter keystrokes while one program is in focus, but also send the same keystrokes to a second program on the other screen.
