JulessVerne Posted November 23, 2016 Share Posted November 23, 2016 First post, so be kind. Auto It friends i need your help. I can't seem get this code the work. i want to click in that "Value's box" , but cant seem to find it. I have tried looking for : "select2-input select2-default", "s2id_autogen5", "s2id_autogen4". i can't click that for the life of me. If anyone can help me many thanks. Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 28 minutes ago, JulessVerne said: First post, so be kind. Auto It friends i need your help. I can't seem get this code the work. i want to click in that "Value's box" , but cant seem to find it. I have tried looking for : "select2-input select2-default", "s2id_autogen5", "s2id_autogen4". i can't click that for the life of me. If anyone can help me many thanks. --> IE.au3 T3.0-2 Warning from function _IEGetObjByName, $_IESTATUS_NoMatch (Name: select2-choices, Index: 0) --> IE.au3 T3.0-2 Error from function _IEAction(focus), $_IESTATUS_InvalidDataType Link to comment Share on other sites More sharing options...
wwwwww Posted November 23, 2016 Share Posted November 23, 2016 (edited) you must use getobjbyclass not ieframegetobjbyname Edited November 23, 2016 by wwwwww Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 2 minutes ago, wwwwww said: you must use getobjbyclass not ieframegetobjbyname I tryied _IEGetObjByName , _IEGetObjById, ieframegetobjbyname, But in he gelp file i cant find byClass ? will try it now Link to comment Share on other sites More sharing options...
Danp2 Posted November 23, 2016 Share Posted November 23, 2016 Why are you hiding the URL? What type of site it? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 4 minutes ago, wwwwww said: you must use getobjbyclass not ieframegetobjbyname Can you write here the proper command ? Thank you for taking the time to answer. Link to comment Share on other sites More sharing options...
wwwwww Posted November 23, 2016 Share Posted November 23, 2016 please post your script here i want fixed that Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 #include <IE.au3> HotKeySet("x","Com") While 1 Sleep(1000) WEnd Func Com() $oIE = _IECreate("Insert Site Here", 1, 1, 1, 1) _IELoadWait($oIE) $oForm=_IEGetObjByName($oIE,"select2-choices") _IEAction($oForm, "focus") EndFunc Link to comment Share on other sites More sharing options...
wwwwww Posted November 23, 2016 Share Posted November 23, 2016 LOL nothing site i can't make that Link to comment Share on other sites More sharing options...
Danp2 Posted November 23, 2016 Share Posted November 23, 2016 5 minutes ago, Danp2 said: Why are you hiding the URL? What type of site it? You didn't answer my question. Does your intended use violate the forum rules? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 i cant give you site becuase its loged in admin panel and i cant give you acces to admin panel i can print screen source code Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 3 minutes ago, Danp2 said: You didn't answer my question. Does your intended use violate the forum rules? Read again what i told you :)) is admin panel its wordpress site woocommers and the place i need to click is to add COLORS for products. P.S. I am owner of site calm down. Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 11 minutes ago, Danp2 said: You didn't answer my question. Does your intended use violate the forum rules? Also if you can help me make it work in firefox that would be even better Link to comment Share on other sites More sharing options...
Danp2 Posted November 23, 2016 Share Posted November 23, 2016 You should read How can I post "code". It's difficult to assist with the limited information provided. You may want to save the HTML from the entire page and upload it as a file that we can review. P.S. I would suggest sticking with IE for now. Once you get that working, it will be easier to rewrite for FF. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 Is not limited is all the code i wrote i pasted it all.the code there the only thing missing is the "WEBSITE" ... #include <IE.au3> HotKeySet("x","Com") While 1 Sleep(1000) WEnd Func Com() $oIE = _IECreate("Site", 1, 1, 1, 1) _IELoadWait($oIE) $oForm=_IEGetObjByName($oIE,"select2-choices") _IEAction($oForm, "focus") EndFunc witch it does not matter beacuse i posted the source code for the input box there .. Also here is a bigger picture of the code there Thank you for Showing me the "How to post Code" Link to comment Share on other sites More sharing options...
Danp2 Posted November 23, 2016 Share Posted November 23, 2016 You have only shown us limited HTML code. We have no way of knowing if there is something meaningful above the DIVs. Are there frames involved, etc. This is why I suggested that you upload the entire HTML file for review. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
wwwwww Posted November 23, 2016 Share Posted November 23, 2016 i can't help if i dont know the url Link to comment Share on other sites More sharing options...
Danyfirex Posted November 23, 2016 Share Posted November 23, 2016 Hello. Use _IEGetObjById in the input element. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
JulessVerne Posted November 23, 2016 Author Share Posted November 23, 2016 3 minutes ago, wwwwww said: i can't help if i dont know the url #include <IE.au3> HotKeySet("x","Com") While 1 Sleep(1000) WEnd Func Com() $oIE = _IECreate("http://muratindustries.xyz/wp-admin/post-new.php?post_type=product", 1, 1, 1, 1) _IELoadWait($oIE) $oForm=_IEGetObjByName($oIE,"select2-choices") _IEAction($oForm, "focus") EndFunc There.. but i don't it makes any diffrences if there is a site there or not ... i uploaded source code also New Text Document.txt Link to comment Share on other sites More sharing options...
Danyfirex Posted November 23, 2016 Share Posted November 23, 2016 using this Id "s2id_autogen5" Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut 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