> Den ons 27 apr. 2022 kl 18:24 skrev <
jos...@main.nc.us>:
>
>> Hi. This is a generic problem with slow applications that can't keep up
>> when AutoKey types at machine speed.
>>
>> The main offenders are LibreOffice and the Firefox address bar, but I
>> believe I've heard about Salesforce before as well.
>>
>
> Strange. I use it all the time in LibreOffice Calc and I'd say the
> problems
> there are very rare. Also, Autokey isn't needed very much in LibreOffice,
> because LibreOffice has its own customizable autocorrect feature (Tools →
> Autocorrect → Replace). You can even have different phrases in different
> languages and an overall one.
I have an AutoKey script that does a paste without formatting and formulas
that I use many times almost every day to save the previous value of a
computation (cell) in LO calc before entering updated data.
I'm glad if these problems have gone away. There haven't been any reports
of them in quite a while.
>
> In Firefox I almost never have any problem either. I'm writing this in
> Firefox right now and I almost insert my signature with AutoKey, and it
> never failed so far, as far as I remember. I use Autokey in the address
> bar
> too, and it usually works perfectly. Maybe it's a combination with
> software
> and hardware. Maybe I would have those problems on a slower computer, I
> don't know.
>
> Anyway, to be sure to never run into those rare occasions, I wrote a
> simple
> function for that. I guess others have done similar things and mine is
> probably not better than anyone else's, but here it is:
>
> def SendKeysSlowly(Text, Delay):
> for Character in Text:
> keyboard.send_keys(Character)
> time.sleep(Delay)
>
> Example how to use it:
> SendKeysSlowly("This text is typed slowly", 0.05)
> In this case, 0.05 means that there is a delay of 50 ms (0.05 seconds)
> between each character.
> Seems to work great and it looks cool too, if you pick the right delay… 😁
>
My version of this is in the wiki and there's a fancy version in the
comments to one of our issues.
Tip: If you define your function as
def SendKeysSlowly(Text, Delay=0.05):
then if you omit the delay parameter when you call it, it will default to
0.05.
Joe
>>
https://groups.google.com/d/msgid/autokey-users/55a00f51516b85f8c24e7e1affe4e8b1.squirrel%40www.main.nc.us
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
autokey-user...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/autokey-users/CADo7T4dME3tAE0puqvrmeZxapQ%3DLyEe70rwPUezW1uXinPg2CQ%40mail.gmail.com.
>