Talk:Bash Shell Script Examples: Difference between revisions
Jump to navigation
Jump to search
Created page with "== example of loop == #!/bin/bash export DISPLAY=:0.0 w=$(xdotool search --class Angeldust.x86_64) #!/bin/bash for (( c=1; c<=20; c++ )) do echo "Task Number $c" ..." |
(No difference)
|
Latest revision as of 16:40, 19 January 2020
example of loop
#!/bin/bash export DISPLAY=:0.0 w=$(xdotool search --class Angeldust.x86_64) #!/bin/bash for (( c=1; c<=20; c++ )) do echo "Task Number $c" xdotool key --clearmodifiers --delay 200 --window $w Return # sleep 1s xdotool key --clearmodifiers --delay 1000 --window $w Up # sleep 1s done