Hammerspoon/hammerspoon

Parallels Coherence Windows report isStandard() as false

オープン

#1,118 opened on 2016/12/01

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Objective-C (688 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (15,415 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド