tessen icon indicating copy to clipboard operation
tessen copied to clipboard

Added customization for default, userkey-0, userkey-1, and userkey-2 autotype

Open grbll opened this issue 2 years ago • 1 comments
trafficstars

Hey,

I added the option to customize the autotype behavior in the config file.

The default behavior is as it was before. However, if autotype_default is set in the config file, the autotype behavior will be changed (as long as nothing else is specified in the pass file). For example:

autotype_default="password :enter"

Will let me enter the password immediately. The same works for autotype_10, autotype_11, autotype_12 with exit codes 10, 11, 12, respectively.

Since I have no expertise in coding whatsoever, please check out what I did, before you consider integrating it. Most of all: I had to fiddle with the regex check. Since I could not make out what it was meant to do, I am not sure, if I destroyed something.

If you want to add this feature, I will be happy to write some documentation.

So long & cheers

grbll avatar Aug 07 '23 18:08 grbll

Hi! Apologies for the late response. I'll take a look at this PR on this weekend.

ayushnix avatar Aug 23 '23 21:08 ayushnix