Search results

  1. R

    Alternative to AutoHotKey

    Good evening Linux community... I am a new user of the Linux system (Manjaro Distribution) and I am really enjoying it, it has served me very well. However, I used an application on Windows that I could "program" certain events when pressing a keyboard key. Example 1: By pressing the "F1" key...
  2. R

    Send keystroke to background window [HELP]

    Hello Linux community... I use an Arch based distribution called Manjaro and I'm trying to implement the following routine; I open a certain application (native for Windows, I use Wine) and leave it in the background, while using another Linux application. I made a command using xdotool...
  3. R

    Create loop with xdotool [HELP]

    Apologies for the delay... What I'm trying to do is get the "F12" key sent repeatedly to a game, even if it's minimized. Also, I want the "F12" key to be sent only if no other keyboard keys are currently being pressed by me. In short: - I have a game, where the "F12" key must be pressed every 5...
  4. R

    Create loop with xdotool [HELP]

    Thanks again for the help... We're making progress from completing my script, little by little making adjustments and it's almost perfect, in the role I want. xdotool (according to its manual) is able to send keystrokes (even with minimized window), the command line; xdotool key --window...
  5. R

    Create loop with xdotool [HELP]

    Thank you for your help. What I'm doing is exactly that, sending the "F12" key to the window named class "programfile". With the script below the function is working; #!/bin/bash while true; do sleep $(shuf -i2-5 -n1); xdotool key --window $(xdotool search --class 'programfile') F12; done...
  6. R

    Create loop with xdotool [HELP]

    Update: I managed to make the key repeat work, in an interval between 2s and 5s using the script: #!/bin/bash while true; do sleep $(shuf -i2-5 -n1); xdotool key --window $(xdotool search --class 'programfile') F12; done However, key repeat only works if the window is focused, I think the...
  7. R

    Create loop with xdotool [HELP]

    After some reading and effort, I managed to come up with the following script; #!/bin/bash while true; do sleep 3.00; xdotool key --window 0x2800001 F12; done It's working in parts. It sends the "F12" key but only when the window is active, I would like to send the "F12" key even if the window...
  8. R

    Create loop with xdotool [HELP]

    Hello Linux community. I recently changed my operating system and am using a Linux distribution and I am extremely satisfied, my computer is very efficient and working like I never imagined, very good indeed. I'm trying to automate a certain function but I'm having difficulties, I would like...
Top