Jump to content

Recommended Posts

Posted

have mouseclick() with the cordinates of the url inside the quotes..

"FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"

Posted

i know how to use mpuse clicks but i dont like using them because if i send the program i make using mouseclicks to someone else the coordiants of there computer want be the same as mine so i was wondering if there is another funtion were you could type the url in and the mouse searches for it then clicks it,well is there?

Posted

Look up and learn how to use "Controlclick()" in the Help File.

You will need to use the Auto It window info tool to use this function as well.

Posted (edited)

Quit bumping. The reason why nobody is helping you is because you obviously didn't look very hard. Look at this functions:

_IELinkClickByText()

You could have easily found that by typing in "link" in the autoit help file. (Come on, LINK is even in the NAME!)

Besides, if you wanted to click a URL, wouldn't it be easier just to send the page to that URL instead of clicking it?

_IENavigate()

Edited by VindicatorOmega

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Posted

....

#include <IE.au3>

$oIE = _IECreate()
_IENavigate($oIE, "www.google.com")
$oLinks = _IELinkGetCollection($oIE)

For $oLink In $oLinks
    MsgBox(0x0,"Limk", $oLink.href)
    _IELinkClickByIndex($oIE, $oLink.href); the first one
    Sleep(1000)
    Exit
Next

8)

that didnt seem to work for me
Posted

Tested again... works fine for me.

What error are you getting???

Did you notice that it does change to the "Image" page???

8)

that part is the error For $oLink In $oLinks

Posted

post the actual error from the scite 2nd window at the bottom of scite

8)

For $oLink In $oLinks

For $oLink In $oLinks^ERROR

Error: Variable must be type "Object".

Posted

This will open Internet Explorer and have Google as the default page then it will click on Advanced Search.

; Include
#include <IE.au3>

$browserName = "Google - Microsoft Internet Explorer"
$oIE = _IECreate("http://www.google.com/")
WinWaitActive($browserName)
_IELinkClickByText ($oIE, "Advanced Search")

Patience is a virtue.

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

Posted (edited)

I am SURE that what i have posted works... Other testers please

Please post the script you are using to compare

8)

Yours works for me. :)

I managed to recreate the error by removing this part of your codes:

$oIE = _IECreate()
_IENavigate($oIE, "www.google.com")
$oLinks = _IELinkGetCollection($oIE)

I think he only took the For...Next portion. lol

Edited by aslani

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

Posted

This will open Internet Explorer and have Google as the default page then it will click on Advanced Search.

; Include
#include <IE.au3>

$browserName = "Google - Microsoft Internet Explorer"
$oIE = _IECreate("http://www.google.com/")
WinWaitActive($browserName)
_IELinkClickByText ($oIE, "Advanced Search")
can you make it do that in firefox please

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...