Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I trigger on the creation of *any* window?
#1
I'm trying to run a macro on the creation of *any* window:

I currently have my trigger set up as:

!$.*$

By which I'm trying to mean:

! (on the creation of a window)
$ (regex)
.* (any number of any characters)
$ (end of window name)

This simply doesn't work....

I've also tried:

!$.

!$/d|/D

!

going into the properties, and selecting/deselecting "When Created (can be invisible)" and a couple of times "Popup" (-- even though I'm not using it for dialog messages, I figured I'd try anyway) but to no avail.

and a few things that gave errors ( like !$* - nothing to duplicate... I'm still learning... :-) )

What I've had to do now is make another macro that triggers on:

@$.*$

and after I open the window, click off of it, then re-activate it, and the macro runs fine.

I'm running Version 2.1.1 on Windows XP SP1....

Any suggestions?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)