Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trigger
#1
Hi

I`ve got two questions.

I`m useing a trigger Ctrl+Alt+c for my macro and it`s working just fine. But when i`m typing text in ex. Word and need a special character for my language like "ł" i have to type Alt+l. And suddenly my macro with Ctrl+Alt+l trigger runs. Any idea why that happens?

Second one is:

How to work with a window when its name is changing all the time?
#2
Is this only with Ctrl+Alt+L trigger, or also for other similar triggers?
Is this only with Word, or also with other programs?

----

Use class name, or/and only that part of window name that does not change.
#3
It`s the same with others like Ctrl+Alt+a or c etc.
It happens everywhere not only word
#4
Really strange, and I don't see a reason or a solution.
#5
as far as working with the window name change thing. you can use what is called "regular expressions".

for instance, this will pull up firefox no matter what page i have showing.

int hwnd=win("* - Mozilla Firefox" "" "" 0x1)
act hwnd


the "0x1" at the end tells QM to read the "*" as a wildcard and not an asterisk.


Forum Jump:


Users browsing this thread: 1 Guest(s)