having an iPadPro which I'd like to use as a 2nd screen, I wonder if BTT lets me set up a 1-finger-press-routine/// an App-starting-routine like this:
if App 123 gets started AND FN-key is pressed for 3seconds, then:
reach out for iPad (same Wifi, screen to screen), and open it, then:
extend macOS Sequoia screen to iPad. But:
this should be done before App 123 is finally open, as 123 is using a ScreenSet-Feature, which looks for external displays and if one is activated, it restores the last screen set automatically.
AI says: to activate via shortcut an iPad within the same network won't work due to apples security. Is that right?
AI also give me this script, which do not work, I get an error message.
tell application "System Preferences"
activate
reveal pane id "com.apple.preference.displays"
end tell
delay 2
tell application "System Events"
tell process "System Preferences"
click menu button "Add Display…" of window 1
delay 1
click menu item "Connect to [iPad-Name]" of menu 1 of menu button "Add Display…" of window 1
end tell
end tell
Don't know WHERE Apple located this shortcut, but on macOS Sequoia,
"FN+C"
does open the side menu where the "Screen synchronization" button lays. Next would be to set this up inside of BTT, followed by "search on screen for..." to press that button.