Skip to content

is WeCom Mac version not supported? #182

Description

@zhangxueyii

This following code works well when BUNDLE_ID is com.apple.Automator, but cannot find any windows when BUNDLE_ID is com.tencent.WeWorkMac, the len(windows) is 0 in the output.

also I cannot detect any UI elements for this app com.tencent.WeWorkMac manually using Accessibility Inspector.

Anyone know what's the problem? and any advice to troubleshooting this issue? Appreciate it.

btw, com.tencent.WeWorkMac is a very popular IM for business in China, you can download it from https://work.weixin.qq.com/#indexDownload.

import atomacos

BUNDLE_ID = 'com.tencent.WeWorkMac'
# BUNDLE_ID = "com.apple.Automator"

atomacos.launchAppByBundleId(BUNDLE_ID)

automator = atomacos.getAppRefByBundleId(BUNDLE_ID)
print(automator)
windows = automator.windows()
print(len(windows))
print(windows)
print(windows[0].AXTitle)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions