gazkin Posted March 9, 2008 Share Posted March 9, 2008 Dear users, I am looking for some kind of code that searches for a keyword. If that keyword has been found, than the script must click on that word. The problem is, that the keyword will be 3 times on the same page and I want the script to click on the last found keyword. Anyone knows how? Link to comment Share on other sites More sharing options...
ByteMyCookies Posted March 9, 2008 Share Posted March 9, 2008 Did you even make an attempt? No1 here is going to help some1 that didn't even ty, give us the code you came up with. My Scripts,[topic="65986"]AI Example[/topic] ,Capable of Emotion! Link to comment Share on other sites More sharing options...
Developers Jos Posted March 9, 2008 Developers Share Posted March 9, 2008 Did you even make an attempt? No1 here is going to help some1 that didn't even ty, give us the code you came up with.Think these words are a bit strong for somebody that joined in the last week.OP, You will have to be clearer in what you want to do because the current description is unclear (for me). SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ByteMyCookies Posted March 9, 2008 Share Posted March 9, 2008 I been using autoit for 2 years, just never botheredto make a forum acct. My Scripts,[topic="65986"]AI Example[/topic] ,Capable of Emotion! Link to comment Share on other sites More sharing options...
junkew Posted March 9, 2008 Share Posted March 9, 2008 search for _IE in the help. search for IE.AU3 on the forum Most likely _IETagNameAllGetCollection will help you out FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
gazkin Posted March 11, 2008 Author Share Posted March 11, 2008 (edited) that`s a useful reply, I will research it and will keep you updated. De Nederlanders helpen tenminste wat Edited March 11, 2008 by gazkin Link to comment Share on other sites More sharing options...
Developers Jos Posted March 11, 2008 Developers Share Posted March 11, 2008 De Nederlanders helpen tenminste wat Soms wel... hangt van de vraag af SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
spudw2k Posted March 11, 2008 Share Posted March 11, 2008 _IEBodyReadText()StringInstr()http://www.autoitscript.com/forum/index.ph...c=66117&hl= Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
gazkin Posted March 11, 2008 Author Share Posted March 11, 2008 Thnx Spud, But does this only work with internet explorer? Because I need to run it with Firefox. Please let me know if there is something like that for firefox Link to comment Share on other sites More sharing options...
gazkin Posted March 12, 2008 Author Share Posted March 12, 2008 Or do i need to pixel search wit ff? Link to comment Share on other sites More sharing options...
Zepx Posted March 12, 2008 Share Posted March 12, 2008 Don't think it's possible to be done with Firefox, just use IE... or use someone's else's script browser. Link to comment Share on other sites More sharing options...
d4rk Posted March 12, 2008 Share Posted March 12, 2008 Thnx Spud,But does this only work with internet explorer?Because I need to run it with Firefox.Please let me know if there is something like that for firefox2, _IE will with the default browser, i use TheWorld as my default browser and it seem work well,i think it's the same with FF [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
Zepx Posted March 12, 2008 Share Posted March 12, 2008 @d4rk, I'm using FireFox as default browser, and the function itself gives a clear name, IE = Internet Explorer, only usable with IE. If someone comes up with a FireFox UDF then it might be possible. Link to comment Share on other sites More sharing options...
d4rk Posted March 12, 2008 Share Posted March 12, 2008 @d4rk,I'm using FireFox as default browser, and the function itself gives a clear name, IE = Internet Explorer, only usable with IE. If someone comes up with a FireFox UDF then it might be possible.Yoh, i've forgotten something .... TW works base on IE [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
Zepx Posted March 12, 2008 Share Posted March 12, 2008 So... it might work off anything that is based of IE right? But FF isn't based off IE . Link to comment Share on other sites More sharing options...
spudw2k Posted March 12, 2008 Share Posted March 12, 2008 Do you have to use Firefox? or can you simply download a page and search text in it? You can use something like an XML Http Request. http://en.wikipedia.org/wiki/XMLHttpRequestI can make some code up if you want an example. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
spudw2k Posted March 12, 2008 Share Posted March 12, 2008 I'd just download the page, parse the data for the keywords and open a browser (ff) to the link attached to the last keyword. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Oldschool Posted March 12, 2008 Share Posted March 12, 2008 Well, here is a start: ConsoleWrite(Get_UTC_Time()) Func Get_UTC_Time() Local $sTimeSource = _INetGetSource("http://www.time.gov/timezone.cgi?Eastern/d/-5") Local $sBR = StringRegExp($sTimeSource, '(?i)<font size="5" color="white">(.*)<br>', 3) Return $sBR[0] EndFunc And you can finish what you want by _IEClickLinkByName... Link to comment Share on other sites More sharing options...
spudw2k Posted March 12, 2008 Share Posted March 12, 2008 Inet* functions use IE. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF 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