CheckPasswordBox does not do anything until you actually perform an auto-type, so cannot be using CPU before then. If you are seeing high CPU without performing an AutoType, something else is causing it. High CPU during AutoType is a possibility, because it's using Accessibility APIs to query the window that is being auto-typed into, and those are generally slow and expensive.
High CPU usage
Hi, yes, unfortunately Chrome (whether native or in an Edge skin) can be a bit unreliable with password box detection. The blinking you notice is my hacky workaround - if the password box detection doesn't work then it will try and switch away and then back to the Chrome window. This often resolves the issue, but not always. In the end, if Chrome still refuses to let WebAutoType know if it is a password box or not, it just gives up. Firefox works reliably, I've found.
Random fail in new Microsoft Edge (chromium based)
Thank you, I've already installed and use it, Also I've found AlternateAutoType, that is allow to autotype the password only by a hotkey. Anyway, it's better than nothing. But I'll be waiting for someone creating new plugin for my purpose.
It might not be exactly what you are looking for, but WebAutoType has an option to skip "{username}{tab}", if that's the start of the default sequence, and autotype happens in a password box. Otherwise, I think it would need to be a new, different plugin.
Oh, it seems that I misunderstood the purpose of your plugin. The behavior I need is to start the auto-type sequence from {Password} placeholder when the password field has a focus. I don't know if it possible technically, but it would be a great feature of this or new plugin.
The {PasswordBox} won't prevent you from filling the password box with something that doesn't belong there, it can only prevent you typing the password into something that isn't a password box. For your situation, where the username may or may not be visible, I think you will have to go with two sequences, a username one and a password only one, and pick between the two. To do it automatically you would need some sort of NotPasswordBox functionality, which this plugin does not provide.
Yes, I've placed {Password Box} at the end by mistake. But the sequence "{CLEARFIELD}{UserName}{ENTER}{DELAY 1500}{PASSWORDBOX}{Password}" also working wrong - it fills the password field with a username. The sequence "{CLEARFIELD}{UserName}{ENTER}{DELAY 1500}{Password}" works well. May be the reason is that the site using two-step autorization. If the previous autorization was successful, it ask only password.
I have checked with KeePass 2.41 and it still works fine. For your sequence, placing {PasswordBox} at the end will have no effect - you want it to go immediately before the password is auto-typed, not after it. So your example would be: "{CLEARFIELD}{UserName}{ENTER}{DELAY 1500}{PASSWORDBOX}{Password}" If it is still not working for you, please try without the {PASSWORDBOX} placeholder, and verify that it does auto-type correctly normally. If not, then there is some other unrelated issue.
Password field don't filling
That's alright, glad I could be of some help. That would be useful if you could do that! Ahh right that's simple then, thanks for your help.
v0.2
Thanks for letting me know. It's not intentional that it should require 3.5; I'll investigate and try and remove that dependency for the next version. You can change the default auto-type sequence for all entries by right clicking on the root "KeePass" group in the tree and selecting "Edit Group", then switching to the "Auto-Type" tab. This will apply to all entries in that group, and all entries in sub groups that are set to inherit from the parent group. This doesn't override any custom auto-type...
Hi, sorry turns out I required .NET framework 3.5 which I didn't have installed. Final thing, is there a way to activate this for all entries? (Using XML replace etc.)
Yeah it does look like there are missing files or something. However, I've tried to install .NET but it says it's already installed and I've tried the .NET repair too to no avail. The only article I can see that looks slightly useful is this one: https://stackoverflow.com/questions/20490857/visual-studio-getting-error-metadata-file-xyz-could-not-be-found-after-edi/ Not sure if this is anything you could look into?
From the look of that, it seems that there are bits of the .NET Framework missing. I'm not really sure why that would be, but you could try downloading it directly and installing it: https://docs.microsoft.com/en-us/dotnet/framework/install/on-windows-10#net-framework-472
That's strange then, hopefully means it's easy to fix. I've attached the output from the --debug for you to examine. Thanks.
I've just tried updating to 2.39.1 and it still works fine for me. Could you try running KeePass with the --debug parameter? It should produce a temporary output file with details about why it couldn't load the plugin, which would give me a clue.
Keepass will not load after installing plugin
I've tried to reproduce the issue using Cliqz browser on Windows 10, following the Auto-Type Selected hotkey method you describe, but it works fine for me. I am using https://keepass.info/help/kb/testform.html for testing. Without being able to reproduce the crash locally I am quite limited in how much I can do about it, but I have used the exception details you sent to add protection against that case. In the same circumstances it should not now crash, although I suspect it may still not be able...
I disabled / uninstalled when it prevented me from doing Selected entry. No time now to re-install. I have no idea what website I went to and did not think that was a variable, but who knows? I use Cliqz browser. Cliqz uses the open source of Firefox but is more secure and has better anti-tracking. Mozilla has invested in them. I would assume the same results from Firefox. I use KeePass from the left screen. I double click on the url column to launch Cliqz on the right screen, (dual screens) but...
I disabled / uninstalled when it prevented me from doing Selected entry. No time now to re-install. I have no idea what website I went to and did not think that was a variable, but who knows? I use Cliqz browser. Cliqz uses the open source of Firefox but is more secure and has better anti-tracking. Mozilla has invested in them. I would assume the same results from Firefox. I use KeePass from the left screen. I double click on the url column to launch Cliqz on the right screen, (dual screens) but...
Thanks for reporting this. Could you tell me which browser you are using, please? Does this only occur for one specific site, or for any site you try? Can you confirm that the steps that reproduce the issue are to select an entry in KeePass, hit Ctrl+U to open it in the browser, then Alt+Tab to return to KeePass, finally Ctr+V to auto-type the selected entry? If different steps are required to trigger it, please let me know.
unhandled exception
Initial commit