maniootek Posted August 31, 2016 Share Posted August 31, 2016 I would like to create an application written in Autoit which can auto login to various websites using Chrome web browser. I don't want use Send() function to type text (username and password) as this is not safe solution to input text in the input field (in my opinion). Rather than send text I would like to "set text" on specified input field. Does anyone have any idea or ready example? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 31, 2016 Moderators Share Posted August 31, 2016 @maniootek have you tried the Chrome UDF? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
maniootek Posted August 31, 2016 Author Share Posted August 31, 2016 Yes I heard about it but it require to install some messaging host application which is not handle for me. I want my application work on few other pc machines and I don't want to install anything extra to make my script works. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 31, 2016 Moderators Share Posted August 31, 2016 The look at IUIAutomation, that is going to be your only other avenue. Just be prepared for the additional complexity it brings. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
junkew Posted September 1, 2016 Share Posted September 1, 2016 What do you mean with Quote is not safe solution to input text in the input field Nothing is safe in html (or even in all userspace of windows all keys can be hooked on memory examined) not even in a password box its easy to switch type from password to plain text and as it seems your application has a list of users/passwords its not secure it all trick to make it little safer is when you type passwords to type in between dummy keys on other window or use dummy keys and then backspace them out so like ss{backspace}ee{backspace}cc{backspace}rr{backspace}ee{backspace}t I answered with code over here FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now