Implement Space autotype identifier
Allow :space identifier in autotype sequences. I find that useful to auto-check/auto-uncheck those 'Keep me logged in' checkboxes. Same as :tab, just send a 'xdotool key space' sequence.
This commit is contained in:
parent
2fc6c17731
commit
fbf6fe08cb
@ -141,6 +141,8 @@ ${line2}</span>"
|
|||||||
for word in ${stuff["$AUTOTYPE_field"]}; do
|
for word in ${stuff["$AUTOTYPE_field"]}; do
|
||||||
if [[ $word == ":tab" ]]; then
|
if [[ $word == ":tab" ]]; then
|
||||||
xdotool key Tab
|
xdotool key Tab
|
||||||
|
elif [[ $word == ":space" ]]; then
|
||||||
|
xdotool key space
|
||||||
elif [[ $word == "pass" ]]; then
|
elif [[ $word == "pass" ]]; then
|
||||||
echo -n "${password}" | xdotool type --clearmodifiers --file -
|
echo -n "${password}" | xdotool type --clearmodifiers --file -
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user