Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
activating windows with dynamic name
#8
The combination of QM and ability to do some basic RegEx is EXTREMELY powerful for any Windows API type tasks.
I basically learned by using the RegEx wizard built into the QM interface: Under 'More Tools' in the top floating QM menu (three triangles) is 'Reg Expr Menu'. It is truly a menu/wizard in that I use it all the time to generate the regex around my specific text to capture, so don't have to memorize the strange regex constructions i.e. 'followed by' or 'preceeded by' ....very powerful.
There is also a help menu there and example code snippets. There are a million sites online that do general intro's and can walk you through the RegEx 'logic' until you get it (some advanced stuff still escapes me).
Also, if you just google the exact issue you are having, there is usually someone on StackOverflow or some other forum that has anwered that same exact problem...so you don't have to bother Gintaras all the time :-)
(though he has answered many RegEx questions in the various forum posts - including my own).
So yes, definitely, definitely something that can take your QM Jedi skills up a belt-level (sorry for mixed metaphor).
It also becomes super useful in other applications - e.g. complex search, find, filter missions in Excel an other apps that seem impossible for others, end up being a 1 or 2 line loop.
S


Messages In This Thread
RE: activating windows with dynamic name - by stupomer - 02-10-2019, 10:42 PM
RE: activating windows with dynamic name - by r0n - 02-11-2019, 05:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)