example for chrome browser , can save the login passwords
chrome://settings/passwords
here an example , maybe difficult to say when url is ready , here click with mouse leftbutton in first-field for login ( username ) when url loaded / ready
EDIT: an user mentioned before , bracket missing in your script ( after Text ) > Send, {Text}password{ENTER}
Code: Select all
!h:: ;- for test alt+h or your button gLabel
#warn
setworkingdir,%a_scriptdir%
Settitlematchmode,2
;--
ixex1:=""
ixex1:="C:\Program Files\Google\Chrome\Application\chrome.exe " ;- start chrome browser if wanted otherwise default-browser
AA:="myusername" ;-- Username
BB:="mypassword" ;-- Password
cc:="https://www.myurl" ;- URL
dd:="Textxx" ;-- word must exist in title / part from title
Run,%ixex1%%cc%,,max
WinWait,%dd%
IfWinNotActive ,%dd%,,WinActivate,%dd%
WinWaitActive,%dd%
;return
;-------------
;- when url is ready , continue to click in first field ( username ) with mouse leftclick
KeyWait, LButton, D
sleep,500
clipboard:=aa
send,^v{TAB}
sleep,500
clipboard:=bb
send,^v{TAB}{TAB} ;- maybe 2 tabs
send,{ENTER}
clipboard=
ExitApp
;-------------
esc::exitapp
==============