AutoIt v3 Window Info. The only information I get is the basic window info and the mouse position. Control, Statuts Bar, Visible Text, and Hidden Text are all blank. My understanding is that I must have that information to code my script rather than using mouse clik positions. Am I doing something very basic wrong here? I've already gone the Recorder, then edit to suit me route and been disatisfied with the result. I couldn't use it on my laptop or other computers. Very frustrating to be stuck with a script that only, sort of, works from a single box in certain conditions.
I've already tried searching the forum. For a time I thought I had my answer. That lasted all of 10 seconds. I have no code for you to review here, just a basic problem which I cannot find the information to solve.
I am attempting to automate downloading information from an online database in a game. Note: I am not building a script to handle powerlevling for WoW or a Mining Bot for Eve or whatever else people try and do. This has more in common with making a hotkey.
Everyone who uses Recorder has these problems with the mouse grid records for various reasons. You move the window, or in my case, the time it takes to retrieve the information varies from .5 seconds to maybe 8 or 10 seconds. I did get one to work rather well using the recorder, but I am unsatisfied with this solution and wanted to make a cleaner attempt without using Mouse Clicks. I tried both the Spy that comes with AHK and AutoIt3. When I mouse over the lists, I get nothing.
Edit: Moved last paragraph to top for brevity and quick information.
Alternative to Using Recorder Mouse Clicks
Started by
Desolate
, Feb 05 2009 03:07 PM
8 replies to this topic
#1
-
Posted 05 February 2009 - 03:07 PM
Here is the thread I have already read through which led me to believe Window Info from AutoIt3 was the answer.
<!-- m -->http://www.autohotke... ... ouse click<!-- m -->
<!-- m -->http://www.autohotke... ... ouse click<!-- m -->
#2
-
Posted 05 February 2009 - 03:56 PM
PixelCheckSum and PixelSearch won't work on this either. I checked others work and OCR is apparently a major problem as well. What am I left with? I haven't done programming in years, as in they were just switching off from using line numbers in Basic and QB. (I was a kid, I am not THAT old )
I doubt my abiliites to go into Python or C to get this working. If people can script things like mining bots though, this is a hell of a lot simpler. I must be doing something very basic wrong.
I doubt my abiliites to go into Python or C to get this working. If people can script things like mining bots though, this is a hell of a lot simpler. I must be doing something very basic wrong.
#3
-
Posted 05 February 2009 - 04:36 PM
How many of those views were you? Also, try not bumping your topic every hour or two, it really doesn't make me want to help you40 some odd views and no comments?
#5
-
Posted 05 February 2009 - 08:51 PM
Unless otherwise stated, all code is untested
(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
ok if u expected everyone that view this thread has to give comments, probably everyone will have the same comment:
sorry i dont know how to fix ur problem
sorry i dont know how to fix ur problem
#6
-
Posted 05 February 2009 - 09:25 PM
Just to forestall any more comments like the 2 above, I will say what I put in a private message to Slanter.
1. I am used to different forums (mainly Beyond3d and Arstechnica). I guess comments come faster there.
2. I posted additional comments so that people would know I was working on the problem, and not just someone in here expecting others to code their work for them. They were not meant as cheap topic bumps.
3. I guess I did expect someone to chime in and say "you are up a creek then", or something to that effect. Based on other threads, they were averaging about 1 comment per 30 or so views.
As to the code. I guess I will have to use mouse clicks and manually edit the code line by line for sleep times. I just figured there had to be a better way. This seemed, inelegant to say the least and too limited in portability.
1. I am used to different forums (mainly Beyond3d and Arstechnica). I guess comments come faster there.
2. I posted additional comments so that people would know I was working on the problem, and not just someone in here expecting others to code their work for them. They were not meant as cheap topic bumps.
3. I guess I did expect someone to chime in and say "you are up a creek then", or something to that effect. Based on other threads, they were averaging about 1 comment per 30 or so views.
As to the code. I guess I will have to use mouse clicks and manually edit the code line by line for sleep times. I just figured there had to be a better way. This seemed, inelegant to say the least and too limited in portability.
#7
-
Posted 06 February 2009 - 03:27 AM
apprx 48 hour bump
Still at something of a loss. I've just been proceeding with the recorder and editing. Quite the bummer.
Still at something of a loss. I've just been proceeding with the recorder and editing. Quite the bummer.
#8
-
Posted 08 February 2009 - 07:57 AM
There are a lot of users here who have written WoW scripts, have you searched the forums for 'Wow'? The window title and ahk_class are usually sufficient to create context-sensitive hotkeys but many of the WoW scripts use the unique ID instead.
#9
-
Posted 08 February 2009 - 09:16 AM