Hammerspoon/hammerspoon

Parallels Coherence Windows report isStandard() as false

Open

#1118 aperta il 1 dic 2016

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Objective-C (688 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (15.415 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor