pch42002 Posted September 28, 2009 Share Posted September 28, 2009 I wonder if anyone can help. Ive written the following script which works pretty good: #include <IE.au3> $OPENIE =_IECreate ("WWW.EBAY.CO.UK")#opens ie WinWait ("eBay - The UK's Online Marketplace - Windows Internet Explorer")#waits $SEARCH = _IEGetObjByName($OPENIE,"_nkw") #finds field _nkw (search box) _IEFormElementSetValue ($SEARCH,"ROYAL DOULTON") #inputs search criteria SEND ("{enter}") _IELoadWait ($OPENIE) #finds tab See all items and clicks: $sMyString = "See all items" $oLinks = _IELinkGetCollection($OPENIE) For $oLink in $oLinks $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, $sMyString) Then _IEAction($oLink, "click") ExitLoop EndIf Next Now, I would really like to search for all the auctions which have bids greater than 2 (>2), then click the relevant link/links, once opened save this this to my bookmarks. Then would like another program to get the bids details,auction price details and write to a file, excel ideally. its not too much to ask is it? Link to comment Share on other sites More sharing options...
jchd Posted September 28, 2009 Share Posted September 28, 2009 Hi, First, you really shouldn't be using # for comments. This is likely to bite you someday and is not the intended use of #. Use semicolumn instead. Now even if I do a lot of things wih eBay using AutoIt, I just can't help you there. I'm using something completely different to access eBay interface. If you need more interaction with eBay, consider using their API. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
pch42002 Posted September 28, 2009 Author Share Posted September 28, 2009 Hi,First, you really shouldn't be using # for comments. This is likely to bite you someday and is not the intended use of #. Use semicolumn instead.Now even if I do a lot of things wih eBay using AutoIt, I just can't help you there. I'm using something completely different to access eBay interface.If you need more interaction with eBay, consider using their API.Thanks very much, looking at API i think this will put some wind in my sails for the right direction. sorry about the # (been studing PERL) 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