03-04-2005, 05:53 PM
Currently, QM cannot automatically prevent this.
Windows does not allow inactive programs to activate windows. But some programs still can activate windows. When QM runs first time, it disables this Windows feature to avoid possible problems when activating windows and running programs. It can be reenabled in QM Options -> Run Time. QM will still work properly.
Macro can test what window is active. Example:
int w1=win("Quick Books")
key abc
ifa-(w1) goto error
key def
ifa-(w1) goto error
...
int w2=win("Another Window")
key ghi
ifa-(w2) goto error
key jkl
ifa-(w2) goto error
Windows does not allow inactive programs to activate windows. But some programs still can activate windows. When QM runs first time, it disables this Windows feature to avoid possible problems when activating windows and running programs. It can be reenabled in QM Options -> Run Time. QM will still work properly.
Macro can test what window is active. Example:
int w1=win("Quick Books")
key abc
ifa-(w1) goto error
key def
ifa-(w1) goto error
...
int w2=win("Another Window")
key ghi
ifa-(w2) goto error
key jkl
ifa-(w2) goto error