Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Case insensitivity in File Name
#1
Is there any way to make QM be case insensitive for the following type wildcarded statement:

MoveWindow child("*24*re*ad*" "" win("" "CheshireMainFrame") 0x1) 1062 -1 530 550 1

My enumerate file type statements work okay with this but not the MoveWindow statement


The only other option I can think of is using ?'s and basing the differing file names on the number of ?'s and spacing... this is less robust.

Thanks,
Stuart
#2
The 'Find window or control' dialog (as well as other dialogs where you can specify a child window) does not give checkboxes for all available flags. See in help or in status bar.
#3
I changed
Code:
Copy      Help
MoveWindow child("*24*re*ad*" "" win("" "CheshireMainFrame") 0x1) 1062 -1 530 550 1

to

Code:
Copy      Help
MoveWindow child("*24*re*ad*" "" win("" "CheshireMainFrame") 0x1|2) 1062 -1 530 550 1
and it works great. Now it is case insensitive.

Quick question, though - what does the 0x1 flag do - It's not listed in the help doc, though I think it has to do with error handling.

Stuart
#4
It is 1 in hexadecimal format.

http://www.quickmacros.com/help/Popups/IDP_FLAGS.html
http://www.quickmacros.com/help/Languag ... STANT.html

Code:
Copy      Help
out
out "Decimal[9]Hexadecimal"
int i
for i 0 300
,out "%i[9][9]0x%X" i i
,


Forum Jump:


Users browsing this thread: 1 Guest(s)