float_rules match on exe and title? #1023
Answered
by
LGUG2Z
bachampson
asked this question in
Q&A
-
Is there a way to match on exe and title? I am trying to ignore the following SMSS popup window, i cant match on the exe as it will ignore the entire application, but if i match on the title it will ignore all applications with "Connect to Server" as its title, that seems very broad? Am I doing this correctly? "id": "6sdgimEhlz7r5lHzm4RqI",
"windows": {
"elements": [
{
"hwnd": 69818,
"title": "Connect to Server",
"exe": "Ssms.exe",
"class": "WindowsForms10.Window.8.app.0.295f377_r18_ad1",
"rect": {
"left": 5761,
"top": 4,
"right": 1915,
"bottom": 690
}
}
],
"focused": 0
}
},
` |
Beta Was this translation helpful? Give feedback.
Answered by
LGUG2Z
Oct 2, 2024
Replies: 1 comment 1 reply
-
You can use composite matching rules for this - wrap two matchers in an array and they'll be treated as a logical [
{
"kind": "Exe",
"id": "Ssms.exe",
"matching_strategy": "Equals"
},
{
"kind": "Title",
"id": "Connecting to Server",
"matching_strategy": "Equals"
}
] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bachampson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use composite matching rules for this - wrap two matchers in an array and they'll be treated as a logical
AND
: