Search found 13 matches

by cyberiguana
Sat Aug 14, 2010 1:53 pm
Forum: General Discussion
Topic: Using MODI OCR to click on text
Replies: 13
Views: 28291

exceeded message limit, heres fix: VBSTART Function DoOCRGetWordNum(bitmapfile,strTargetWord) Dim miDoc Dim miLayout Dim miWords Dim miWord Dim miWordText Dim strText Dim numWords Dim numWord Dim numWordFound on error resume next Set miDoc = CreateObject("MODI.Document") miDoc.Create (bitmapfile) mi...
by cyberiguana
Sat Aug 14, 2010 1:52 pm
Forum: General Discussion
Topic: Using MODI OCR to click on text
Replies: 13
Views: 28291

when I try to run it says: Wrong number of arguments orinvalid property assignment 'DoOCRGetWordNum' heres my code: (image is already captured) VBSTART Function DoOCRGetWordNum(bitmapfile,strTargetWord) Dim miDoc Dim miLayout Dim miWords Dim miWord Dim miWordText Dim strText Dim numWords Dim numWord...
by cyberiguana
Wed Aug 11, 2010 10:24 am
Forum: General Discussion
Topic: Using MODI OCR to click on text
Replies: 13
Views: 28291

thanks gale, but how do I use this feature? I'm pretty new at this. I want to locate a word on screen and click on it, which variables in your script I need to change to match my search?
by cyberiguana
Thu May 20, 2010 5:36 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

it looks like MODI works the same way as FindImagePos, except it uses a pic as a source. I wish I had a clue about those web requests, this imaging route is tedious.
by cyberiguana
Thu May 20, 2010 3:03 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

hi gale. I haven't quite understood your suggestion for the remembering problem. Can you elaborate? Using ocr would require me to know which word I'm looking for, and I don't. I want to get all the names of products on the webpage regardless of their name. As I said to adroege, I submit each name in...
by cyberiguana
Thu May 20, 2010 4:39 am
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

this sounds like a solution that could make my life a lot easier. However I have no idea how this website handles posts and gets. I looked at the page source and it has a lot of java script functions. How do I know what to send and what to get? Where to start?
by cyberiguana
Wed May 19, 2010 7:54 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

I don't think you fully understand my purpose. I need to deal with each product name seperately. I first copy the name, paste it in another webpage, get a result, and the result I paste in the "Price" field. Parsing the entire HTML and using regex won't help me because I need to know the location on...
by cyberiguana
Wed May 19, 2010 5:37 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

I'm trying to get the names of different products on a webpage. the page is like tiles of products as you would in see in a typical webstore. each "tile" looks like this: /////////////// /////////////// ////Picture/// /////////////// /////////////// Name of Product Price: Quantity: I need to get eac...
by cyberiguana
Wed May 19, 2010 3:47 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

I've tried copying the text to the clipboard, but it doesn't help with the scrolling issue.
Getting the entire page sounds nice, but regex won't give me the cordinates of the matches.
This is getting frustrating...
by cyberiguana
Wed May 19, 2010 2:14 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

well my solution failed. I captured the text as an image and scanned the screen comparing it. the problem is that sometimes all of the results don't appear in the same screen and I need to page down the webpage and repeat the scanning in order to get all the matches. there is sometimes only a couple...
by cyberiguana
Wed May 19, 2010 12:00 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

well I've managed to solve the issue with image recognition, I only have 1 problem. I use findimagepos which then creates an array of matching coordinates. when I check a set of coordinates, like Xarr_1 and Yarr_1, I want to know if the next set after it, Xarr_2 and Yarr_2, have coordinates in them....
by cyberiguana
Wed May 19, 2010 5:39 am
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

what would be the easiest way?
the text is a simple text in a webpage, not a button or something, however its frequency and location changes.
by cyberiguana
Tue May 18, 2010 6:59 pm
Forum: Beginners
Topic: getting text location
Replies: 20
Views: 19161

getting text location

hello, I want to search a word that appears multiple times on the screen, get the matches as in regex plus the coordinates of each match. for example if the drawing is a text and I look the word "X" I want to get the number 4 and the cordinates of each "X": ------------X---------- --X---------------...
Sign up to our newsletter for free automation tips, tricks & discounts