gpt4 book ai didi

objective-c - Mac 编程 : Command-TAB - How does this build the application list?

转载 作者:太空狗 更新时间:2023-10-30 03:55:04 24 4
gpt4 key购买 nike

我需要枚举具有“窗口”、“图标”的应用程序,无论它们是否最小化到停靠栏。我基本上需要 Command-TAB 带给您的应用程序列表。您如何以编程方式执行此操作?

我尝试的一切都给了我一切,或者只是没有最小化的应用程序。让我疯狂。试过CGWindowListCopyWindowInfo , NSArray *runningApps = [workspace launchedApplications] , 但我无法过滤我需要的列表 - 无论 Cmd-TAB 给你带来什么。

最佳答案

关于objective-c - Mac 编程 : Command-TAB - How does this build the application list?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3294695/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com