Hammerspoon/hammerspoon

Parallels Coherence Windows report isStandard() as false

Offen

#1.118 geöffnet am 01.12.2016

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Objective-C (688 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (15.415 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Windows applications running under Parallels Coherence mode show a subrole of AXDialog, which causes hammerspoon's isStandard() to return false. This prevents many scripts from being able to act upon them properly.

I've experimented and determined that allowing kAXDialogSubrole to affect this works for parallels windows.

It may be a good idea to have a variable (like animationDuration) which allows the user to control this behavior from their scripts.

Contributor Guide