Modify

Opened 14 years ago

Closed 14 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 Changed 14 years ago by Jon

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...)

comment:2 Changed 14 years ago by Jon

  • Resolution set to No Bug
  • Status changed from new to closed

Closing as no bug unless I hear otherwise.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.