有什么办法让 mac 保留“镜像或拓展至 iPad ”吗 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
q534
V2EX    Apple

有什么办法让 mac 保留“镜像或拓展至 iPad ”吗

  •  
  •   q534 217 天前 1807 次点击
    这是一个创建于 217 天前的主题,其中的信息可能已经有所发展或是发生改变。
    镜像或拓展至 ipad 属于把 ipad 当第二个屏幕,区别于使用鼠标控制 ipad , 后者可以自动重连。
    我使用的 镜像或拓展至 ipad 每次睡眠、锁屏重新使用时,都需要 设置-->显示器-->加号-->选择 ipad ,四次操作,特别繁琐
    7 条回复    2025-03-17 17:29:31 +08:00
    iTea
        1
    iTea  
       217 天前 via iPhone   1
    ipad 商店有一个“护航”可以看看。
    vfff
        2
    vfff  
       217 天前 via iPhone
    @iTea 的确,挺方便的
    1101x1
        3
    1101x1  
       217 天前
    applescript
    q534
        4
    q534  
    OP
       216 天前
    @1101x1 请赐教?有写好的嘛,
    1101x1
        6
    1101x1  
       215 天前
    on findLastTargetIndex(targetItem, itemList)
    set lastIndex to 0
    repeat with i from (count of itemList) to 1 by -1
    if item i of itemList is targetItem then
    set lastIndex to i
    exit repeat
    end if
    end repeat
    return lastIndex
    end findLastTargetIndex
    beep 1
    beep 1
    tell application "System Settings"
    activate
    delay 1
    tell application "System Events"
    tell process "System Settings"
    click menu item "显示器" of menu "显示" of menu bar item "显示" of menu bar 1
    delay 0.3
    tell group 1 of group 2 of splitter group 1 of group 1 of window "显示器"
    try
    delay 1
    -- 这里需要延迟,因为系统设置冷启动后不能立刻加载出右侧的界面
    click pop up button "添加"
    -- 获取所有菜单项的名称
    set menuItems to name of menu items of menu "添加" of pop up button "添加"
    -- 通过名字查找要准确一些,这里去找最后一个名字的索引,因为如果符合通用控制的调节,就会出现两个名字,一个是通用控制,一个是随航
    set targetIndex to (my findLastTargetIndex("XXXXXXXX 的 iPad", menuItems))
    -- 点击目标菜单项
    delay 0.3
    click menu item targetIndex of menu "添加" of pop up button "添加"
    say "连接成功"
    on error
    delay 0.5
    say "连接失败"
    end try
    end tell
    end tell
    end tell
    end tell
    delay 1
    beep 1
    --tell application "System Settings" to quit
    我也网上找的 自动操作 然后用的鼠标手势 划一下就自动连接了 你自己找找看 或 trae 改改
    Maipol
        7
    Maipol  
       214 天前
    mac 右上角控制中心不是有个“屏幕镜像”吗
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2837 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 30ms UTC 08:43 PVG 16:43 LAX 01:43 JFK 04:43
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86