小编Eri*_* Ho的帖子

Applescript 以全屏模式打开应用程序?

我正在尝试对 Alfred 进行编程,以使用工作流程打开我的终端、Sublime Text 和 Chrome。

我希望我的终端作为窗口正常打开,但我一直在尝试让 Chrome 和 Sublime 全屏打开。

我能够让 Chrome 在全屏模式下打开:

on alfred_script(q)
   tell application "Google Chrome"
        tell window 1 to enter presentation mode
   end tell
end alfred_script
Run Code Online (Sandbox Code Playgroud)

但是,这并没有转化为与我的 Sublime Text 一起使用。

我在这里缺少什么?

macos shell applescript alfred

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

alfred ×1

applescript ×1

macos ×1

shell ×1