Nine Posted July 13, 2019 Share Posted July 13, 2019 1 hour ago, Earthshine said: Nine you softy. Are you Sasha Nine from PSYCHONAUTS? Lol I do not know what you are talking about...No intent of finding out btw “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Spok3r Posted July 13, 2019 Author Share Posted July 13, 2019 14 hours ago, Nine said: @Spok3r Here for you (based on Danp2 hint sometimes ago) : #include <Constants.au3> #include <IE.au3> Local $oIE = _IECreate("https://spreadshirt.com/") Local $tags = _IETagNameGetCollection($oIE, "div") For $tag In $tags $class_value = $tag.className If $class_value = "Label" Then $sInnerText = _IEPropertyGet($tag, "innertext") $sInnerText = StringStripWS($sInnerText, 3) If $sInnerText = "Login" Then _IEAction($tag, "click") ExitLoop EndIf EndIf Next _IELoadWait ($oIE) _IENavigate ($oIE, "https://accounts.spreadshirt.com/login?context=www&lang=en") $oForm = _IEFormGetCollection ($oIE,0) $oItem = _IEFormElementGetObjByName ($oForm, "username") _IEFormElementSetValue ($oItem, "MyUserName") $oItem = _IEFormElementGetObjByName ($oForm, "password") _IEFormElementSetValue ($oItem, "MyPassword") $oItem = _IEFormElementGetObjByName ($oForm, "login-submit") _IEAction($oItem, "click") A hint for you, when you request help and someone asks you to provide something, it is simple politeness to agree... Thank you very much for your help, you basically just navigate to the login page directly. Without the need of pressing the Login button. That seems to be the only way get the form focused. Usually I am polite and understand the need of providing informations that are requested. I think I was just a bit confused because what was requested was actually my issue. Seems to be unlogical to me to show something I don't have and was requesting by my own. 😅 Would really like to know if it would be possible to get access from the main website by clicking on Login to open the form instead of navigating to the login link. If the Login-Form is active/open it should be accessable or not? All necessary informations are shown in the html-code afterwards. Looks like it's just a iFrame form ..really strange. But anyway... I think it's over here. It can't be a 100% auto-login tool anymore. They added a reCAPTCHA verification. I really appreciate your help, even if it may looked like I am unpolite ( what I never inteded to be). Cheers! Link to comment Share on other sites More sharing options...
Earthshine Posted July 13, 2019 Share Posted July 13, 2019 (edited) Asking without trying or doing anything does not work well here. Please don’t beg for code And if capta is being used then you will get no assistance from this site Edited July 13, 2019 by Earthshine My resources are limited. You must ask the right questions 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