ใครมีปัญหาแบบผมอยู่บ้างไหม คือจอ Macbook เสีย แต่ยังมี Ipad อยู่ ต้องการใช้งานแก้ขัดแบบแค่พอทำงานได้ เวลาเราจะใช้ Sidecar เราก็ต้องมาเปิดตั้งค่าใน Macbook ก่อนทุกครั้ง(แต่จอเสียนี่มันก็มองไม่เห็นสิ) วิธีการง่ายๆ ให้ใช้ Sidecar ได้อัตโนมัติเลย เพียงไม่กี่ปุ่มมีดังนี้ครับ
- เปิด App “Automator”
- File > New > Quick Action
ภาษาไทยคือ ไฟล์ > ใหม่ > การทำงานด่วน -
Utilities > Run AppleScript
ภาษาไทยคือ ยูทิลิตี้ > สั่งทำงาน AppleScript - นำ Code เหล่านี้ไปวางครับ แล้ว เซฟเป็นชื่อ Auto Sidecar
on run {input, parameters} tell application "System Preferences" activate reveal pane id "com.apple.preference.sidecar" delay 1 tell application "System Events" to click first menu button of first window of application process "System Preferences" of application "System Events" tell application "System Events" to click first menu item of first menu of first menu button of first window of application process "System Preferences" of application "System Events" quit end tell end run
5. แล้วมาที่ System Preferences > Keyboard > Shortcuts > Service
ภาษาไทยคือ ตั้งค่า > แป้นพิมพ์ > ปุ่มลัด > บริการ
6. เลื่อนลงมาจนเจอ คำว่า “Auto Sidecar”
7. ใส่ปุ่มลัดที่เราจำได้ลงไป ผมตั้งไว้ cmd + shift + ctrl + s เพื่อหลีกเลี่ยงที่จะซ้ำกับปุ่มอื่น
8. มาที่ System Preferences > Security & Privacy > Accessibility หรือภาษาไทยคือ ตั้งค่า > ความปลอดภัยและความเป็นส่วนตัว > การช่วยการเข้าถึง
9. เลือกเปิด อนุญาต Automator
10. ทดลองกดปุ่มที่ต้องการได้เลยครับ