Sign in to follow this  
Followers 0
Vampirs

Click

6 posts in this topic

#1 ·  Posted (edited)

Hello.

I am sorry for my first post. I understood my mistake :) I hope this time i get better chance :)

OK i traying make auto login script. I find tutorial and i can make it till submint buttone.

Script fill username section. It fill pass section but get error and don't pres login button.

For login and pass i use _IEGetObjById comand.

Bet i don't know with one i need to use for login buttone. All what i get when i inspect elements is

<a onclick="SubmitLogin(' ' , ' ');"href="#">

So what kind of comand i need to use for geting this press?

I tray this  Local $button = _IEGetObjById ($oIE, "#")

But i think it's wrong.

And final : _IEAction ($button, "click")

Edited by Vampirs

Share this post


Link to post
Share on other sites



Vampirs,

 

I am sorry for my first post. I understood my mistake

Excellent. :)

 

I hope this time i get better chance

As you have apologised so pleasantly, we will forget the first thread. So you do indeed get another chance - do not waste it. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Have a look at the >IE UDF to get DOM object by XPath by jdelaney.


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Have a look at the >IE UDF to get DOM object by XPath by jdelaney.

 

Thanks for link. But i am wery new on this. I don't understood it. Can you so me with one is corect for my post and write haw you know it?

Share this post


Link to post
Share on other sites

Here is a> topic where the usage is explained and then an example is shown in post #4.

The topic on IEbyXPATH has an example in the main topic.

That should help you get started:

$xpath = "//button[@onclick='return (submitLogin())']"

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

You can also use it like this:

$xpath = "//a[Contains(@onclick,'submitLogin')]"

Oops, just saw this is a link (which is a button, but the element is 'a').

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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
Sign in to follow this  
Followers 0