Hammerspoon/hammerspoon

Parallels Coherence Windows report isStandard() as false

Open

#1 118 ouverte le 1 déc. 2016

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Objective-C (688 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (15 415 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur