Send function to fill webforms Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wheels02

Send function to fill webforms

14 Aug 2018, 12:20

Hello,

Hoping there's just something simple I've overlooked here.

I'm running Windows 10, trying to use AHK to auto-fill a username and password on webforms. Here's what I've got so far:

Code: Select all

#Z::
	SendInput [username]
	Send, {Tab}
	SendInput [password]
	Send, {Enter}
return
It works, but intermittently. Sometimes there seems to be some interference between the triggering hotkey and the text that it sends. For example - my hotkey is Win+Z; if the username or password contains an "l", the PC will lock (Windows hotkey to lock is Win+L). Sometimes an uppercase letter in the username or password will get sent as lowercase. And other times it works exactly as I intended.

Any suggestions?

Thanks!
User avatar
Masonjar13
Posts: 1555
Joined: 20 Jul 2014, 10:16
Location: Не Россия
Contact:

Re: Send function to fill webforms  Topic is solved

14 Aug 2018, 17:29

Try LastPass. It's significantly safer than keeping your credentials in plain-text like that.

As for your problem though, try

Code: Select all

sendMode,input
$#z::send {blind}{lwin up}{rwin up}[username]{tab}[password]{enter}
If you're aiming specifically for Z/Shift+z

Code: Select all

sendMode,input
$#+z::send {blind}{lwin up}{rwin up}{shift up}[username]{tab}[password]{enter}
OS: Windows 10 Pro | Editor: Notepad++
My Personal Function Library | Old Build - New Build
wheels02

Re: Send function to fill webforms

15 Aug 2018, 09:20

Thanks!

I should clarify that this is for use in a somewhat closed environment, where the same username and pw apply to WebGUIs on multiple devices. For personal/internet use, I do use KeePass which is similar to Lastpass.

Ultimately - I ended up switching to a different hotkey to keep Windows from detecting the lock signal. Then I added the {Text} tag at the beginning of each stream, which seems to have resolved the intermittent issue with incorrect upper/lowercase letters being sent. So far so good!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: scriptor2016 and 332 guests