Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to check if a checkbox is checked? Then if not, check it?

I was able to use the but+ but it toggles.

Example with QM Find dialog
Copy      Help
act "Quick Macros"
key Cf
int h=id(1026 "Find")
if(!Checked(h)) but h
I am getting an error during play time "unknown identified" and it's selecting "Checked"

I copied and pasted your codes. Am I doing something wrong?
Possibly you have old QM version, or deleted System folder (function "Checked" must be somewhere in System\Functions folder). Try this instead of "Checked(h)":

SendMessage(h 0xF0 0 0)

Forum Jump:

Users browsing this thread: 1 Guest(s)