Hi, I'm wondering if it could be possible to have these added to the list of "Advanced Conditions". It would allow quick keyboard interaction specific to dialog windows, alert sheets and other UI elements without affecting behaviour in other, more common, windows.
Seems like not all Alert or Dialog maintain their "sheet" as the focused element, a lot of times it gets fixed on a StaticText or other sub-element of the sheet. The only condition attributes pointing to the focused window I can see are "focused_window_title" and "focused_window_app_name", both of them usually appear empty on this sheets.
If it could be possible to add “Focused_window_role” and “Focused_window_description” those dialogs could be easily targeted.
Can you describe what exactly you are trying to achieve? On the 2nd screenshot the "AXValue" is "Do you want to keep this new document “Untitled”?", meaning that you clicked that text intentionally, right? Because on my end when trying to close a document, the selected field is "Save As:" text field.