Skip to content

Conversation

@marshalfevzi
Copy link

Description

This PR adds a new script command called "Toggle iPad Screen Mirroring (Automatic)".

It allows a user to instantly toggle their Mac's screen connection (Sidecar) to the first available iPad.

  • If Sidecar is disconnected, it connects.
  • If Sidecar is already connected, it disconnects.

The key feature of this script is that it's fully automatic and finds the first available iPad, unlike other scripts that may require manual setup or providing a device ID.

Type of change

  • New script command

Screenshot

N/A. This is a silent command. On success, it will briefly display a system toast confirming the action, such as "Connected to My iPad" or "Disconnected from My iPad".

Dependencies / Requirements

Requires macOS 10.15 (Catalina) or newer to access the private SidecarCore.framework. No other dependencies or setup steps are needed.

Checklist

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant