Jump to content

elara

Members
  • Posts

    2
  • Joined

  • Last visited

elara's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. If someone has the same problem, I just found a workaround: Starting the program in the AutoIt script and then running the script in compatibility mode - and voila, they are both in the same virtual machine (or whatever it is that is done) and all keystrokes are delivered
  2. I have a script to load certain files into a program, process them, and go on with the next file. The script worked fine on Windows XP, so yesterday I tried running it on Windows 7, but it gets stuck pretty early. After some testing I think I found the problem. When sending keystrokes, mouseclicks or menuactions to a program which runs in compatibility mode, they just don't seem to be delivered. I tried a simple script for an editor (geany): Opt("WinTitleMatchMode", 2) $title = "Geany" WinWait($title) WinActivate($title) Sleep(500) Send("test") If the editor runs normally, it works fine; if it runs in compatibility mode, the window gets activated, but I get no text. Problem is, the original program has to run in compatibility mode. I searched in the forum, but couldn't find anything. Has anyone experienced a similar problem or has some ideas how to solve this?
×
×
  • Create New...