Skip to content

Facts read

How do I ask ChatGPT to open an app on my Mac?

Connect ChatGPT to your Mac with CMDOP, switch on screen control for that agent and allow the app on that machine, then ask it to open the app by name. ChatGPT calls one tool, app_open: it launches or focuses the app, or opens a file or folder in it.

Founder-led byMark KorotinFounder & CEO, CMDOP
onemark.cc

What you get

One request in the chat, such as "open Notes", can open the app on your own Mac. By default it opens in the background, so it does not take your screen; ask for it in front and ChatGPT passes background: false.

What you need

  • A Mac with CMDOP installed.
  • ChatGPT connected to it: the steps are in the guide on using ChatGPT with your own computer.
  • Screen control switched on for that agent, by you. A new agent can only read.
Download for Mac

The CMDOP app for macOS 14 or later, Apple silicon and Intel. Open it and sign in with your email: it sets up this Mac.

curl -fsSL https://install.cmdop.ai | sh

Turn on control, in three places

  1. The grant: on your page, under Agents, switch on control for ChatGPT. You confirm it.
  2. The machine's ceiling: turn control on in the machine's ceiling.json and name the apps it may drive in apps.allow, such as Notes or Preview. With no allowed app, nothing opens.
  3. macOS: in the CMDOP app, under Permissions, switch on Accessibility. macOS may ask you to reopen CMDOP.

Ask for it

In a ChatGPT chat with CMDOP added, write one of these.

  • Open Notes on my Mac.
  • Open the folder ~/Downloads in Finder.
  • Open report.pdf from my Desktop in Preview and bring it to the front.

Behind it is one call: app takes the app's name or bundle id, path a file or folder to open in it, background whether to stay behind your current window, and observe (none, ui or image) whether to look at the screen afterwards.

What comes back

Whether the action was sent, whether the frontmost app or window changed, how long the screen took to settle, and the id of the line it wrote to the machine's own record.

Check what it did

The computer's own record shows the app_open call under the agent's name, with the time. To take the screen back at once, the agent calls control_release; otherwise control returns after 60 seconds without input.

Limits

  • macOS, and Linux with X11. Windows is not supported yet.
  • Only apps you allowed for control on that machine. Password managers, Keychain Access and CMDOP's own windows are never reachable.
  • Without screen control switched on for that agent, the call is refused and nothing opens.