Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to access right click options?
#1
How do I make qm klick on right klick tables like "insert", "copy" "sort by name" sort in groups" , "properties".......?
normally I did it with "wait for image" but now I have different screen resolutions and this way does not work anymore.
If there is no other way, how do I write, that qm schould WAIT for either this or that image?

Code:
Copy      Help
str images=
image OR another test.bmp
image OR another test2.bmp
    
    
ARRAY(str) a=images
int i=0
rep
    if(scan(a[i] 0 0 0x1)) break
    i+1; if(i=a.len) i=0; 0.5

how would that go if it schould WAIT for some right klick window, that opens later?
#2
Click right-click menu items? Why don't use keyboard? If there are no underlined letters, then Up/Down etc should work, and then Enter.
#3
unfortunately there are different cases and different the field is not each time at the same place.
#4
Quote:WAIT for either this or that image

Your code waits for test.bmp or test2.bmp. I think it is what you need.

Or you can somehow detect screen resolution and use different images depending on it.


Forum Jump:


Users browsing this thread: 1 Guest(s)