JulessVerne

IE.au3 Help

46 posts in this topic

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. 

Untitled.jpg

Share this post


Link to post
Share on other sites



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. 

Untitled.jpg

--> 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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

you must use getobjbyclass not ieframegetobjbyname

Edited by wwwwww

Share this post


Link to post
Share on other sites

 

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 

Share this post


Link to post
Share on other sites

Why are you hiding the URL? What type of site it?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

please post your script here
i want fixed that

Share this post


Link to post
Share on other sites

#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

Share this post


Link to post
Share on other sites

LOL
nothing site i can't make that

Share this post


Link to post
Share on other sites

#10 ·  Posted

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?

Share this post


Link to post
Share on other sites

#11 ·  Posted

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 

Share this post


Link to post
Share on other sites

#12 ·  Posted

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. 

Share this post


Link to post
Share on other sites

#13 ·  Posted

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 

Share this post


Link to post
Share on other sites

#14 ·  Posted

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.

Share this post


Link to post
Share on other sites

#15 ·  Posted

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"  

Untitled.jpg

Share this post


Link to post
Share on other sites

#16 ·  Posted

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.

Share this post


Link to post
Share on other sites

#17 ·  Posted

i can't help if i dont know the url

Share this post


Link to post
Share on other sites

#18 ·  Posted

Share this post


Link to post
Share on other sites

#19 ·  Posted

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

Share this post


Link to post
Share on other sites

#20 ·  Posted

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now