this post was submitted on 19 Jul 2023
742 points (98.2% liked)
Asklemmy
43856 readers
1784 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy π
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have a hotkey that types my clipboard instead of pasting it. Just for this problem.
I have used AHK for this, and it works beautifully.
Care to share the setup/script for this?
So the best thing to do is to not store your password in plain text, and there are many discussions on the best way to do that on the AHK forums, so I won't go into it,
But I will say the way I have found that is best for separation of passwords from AHK is to use windows environment variables.
So go into env variables and make a new one called something like "googlepw" and it's value should be your Google password.
Then in the script you can just call them as if they're defined in the script:
#g:: Send text %googlepw%
(I'm on mobile, so you may have to monkey around with quotes to get that to work)
That will include your password into any debug report of any application that includes the environment in the debug report (most) and in general all applications will have access to it.
I also use AHK for this. But I just send the clipboard variable.