Duffy Posted May 23, 2008 Share Posted May 23, 2008 simple question can anyone help please Link to comment Share on other sites More sharing options...
TnTProductions Posted May 23, 2008 Share Posted May 23, 2008 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" Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 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? Link to comment Share on other sites More sharing options...
Muchuchu Posted May 23, 2008 Share Posted May 23, 2008 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. Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 could you give me example please just use the reply button down there as the example Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 aww comin please i need help with this one Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 hello surely someone has the answer Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 im still waiting Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 this isnt a very good help and support forum Link to comment Share on other sites More sharing options...
Vindicator209 Posted May 23, 2008 Share Posted May 23, 2008 (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 May 23, 2008 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] Link to comment Share on other sites More sharing options...
Valuater Posted May 23, 2008 Share Posted May 23, 2008 .... #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) Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 .... #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 Link to comment Share on other sites More sharing options...
Valuater Posted May 23, 2008 Share Posted May 23, 2008 that didnt seem to work for meTested again... works fine for me. What error are you getting???Did you notice that it does change to the "Image" page???8) Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 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 Link to comment Share on other sites More sharing options...
Valuater Posted May 23, 2008 Share Posted May 23, 2008 post the actual error from the scite 2nd window at the bottom of scite 8) Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 post the actual error from the scite 2nd window at the bottom of scite8)For $oLink In $oLinksFor $oLink In $oLinks^ERRORError: Variable must be type "Object". Link to comment Share on other sites More sharing options...
aslani Posted May 23, 2008 Share Posted May 23, 2008 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 Link to comment Share on other sites More sharing options...
Valuater Posted May 23, 2008 Share Posted May 23, 2008 (edited) I am SURE that what i have posted works... Other testers pleasePlease post the script you are using to compare8) Edited May 23, 2008 by Valuater Link to comment Share on other sites More sharing options...
aslani Posted May 23, 2008 Share Posted May 23, 2008 (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 May 23, 2008 by aslani [font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version Link to comment Share on other sites More sharing options...
Duffy Posted May 23, 2008 Author Share Posted May 23, 2008 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 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