![]() ![]() Is there any other way to do this? if so how? Am I missing something in my script somewhere? or is this simply not possible? Thanks. 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. 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. I can successfully automate the login process. WID=$(wmctrl -lp | grep $PID | cut "-d " -f1) WINEDEBUG=-all wine64 "/home/REDACTED/.wine/drive_c/Program Files/CCP/EVE/bin/exefile.exe"
0 Comments
Leave a Reply. |