Opened 16 years ago
Closed 16 years ago
#1341 closed Bug (No Bug)
Win7 x64 - Cannot send any messages to dialog controls
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
Script here:
Dim $total
WinWaitActive("Progress Quest - New Character [Pemptus]")
Do
ControlClick("Progress Quest - New Character [Pemptus]", "", "[ID: 133252]")
$total = ControlGetText("Progress Quest - New Character [Pemptus]", "", "[ID: 133254]")
Until $total >= 94
You can download the program that I am testing this with at www.progressquest.com (yes i know, I'm pathetic!) Once downloaded, go to New Game (Multiplayer), choose the server mentioned in the title above, and replace the IDs with the corresponding IDs from your machine.
The ID for the Click method should be that of the "Roll" button, and the ID of the ControlGetText method should be that of the small label above the Roll button containing the total
This exact script (with IDs replaced of course) works on two other machines. But I cannot get it to work on any Widnows 7 machine.
I have done done some diagnostics of my own and determined that the only commands that do not work are commands that *modify* the window. Button clicks, for example, do not work. Sending keystrokes to controls does not work. Getting text *does* work. So I can replace the ControlClick() with ControlGetText() and it works perfectly, even with the same ID.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Closing as no bug unless I hear otherwise.

Certain functions won't work if you try and use x64 AutoIt with an x86 process or vice versa. Is this what is happening here? You need to use the same arch version of Autoit to control the process.
We probably need to document which functions are affected and if there is an feasible workaround (last time I remember checking I think I'd decided there wasn't...)