Keyboard shortcuts

Keyboard shortcuts

You can use PowerToys Keyboard Manager to map Windows shortcuts to the shortcuts you use on a Mac.

OperationMacWindows
CopyCommand+CCtrl+C
CutCommand+XCtrl+X
PasteCommand+VCtrl+V
UndoCommand+ZCtrl+Z
SaveCommand+SCtrl+S
OpenCommand+OCtrl+O
Lock computerCommand+Control+QWindowsKey+L
Show desktopCommand+F3WindowsKey+D
Open file browserCommand+NWindowsKey+E
Minimize windowsCommand+MWindowsKey+M
SearchCommand+SpaceWindowsKey
Close active windowCommand+WControl+W
Switch current taskCommand+TabAlt+Tab
Maximize a window to full screenControl+Command+FWindowsKey+Up
Save screen (Screenshot)Command+Shift+3WindowsKey+Shift+S
Save windowCommand+Shift+4WindowsKey+Shift+S
View item information or propertiesCommand+IAlt+Enter
Select all itemsCommand+ACtrl+A
Select more than one item in a list (noncontiguous)Command, then click each itemControl, then click each item
Type special charactersOption+ character keyAlt+ character key

Trackpad shortcuts

Some of these shortcuts require a “Precision Trackpad”, such as the trackpad on Surface devices and some other third-party laptops.

Trackpad options are configurable on both platforms.

OperationMacWindows
ScrollTwo finger vertical swipeTwo finger vertical swipe
ZoomTwo finger pinch in and outTwo finger pinch in and out
Swipe back and forward between viewsTwo finger sideways swipeTwo finger sideways swipe
Switch virtual workspacesFour fingers sideways swipeFour fingers sideways swipe
Display currently open appsFour fingers upward swipeThree fingers upward swipe
Switch between appsN/ASlow three finger sideways swipe
Go to desktopSpread out four fingersThree finger swipe downwards
Open Cortana / Action centerTwo finger slide from rightThree finger tap
Open extra informationThree finger tapN/A
Show launchpad / start an appPinch with four fingersTap with four fingers

iPad: ปัญหา Device support file

ปัญหา

This iPad (6th generation) (Model A1893) is running iOS 12.3.1 (16F203), which may not be supported by this version of Xcode.

ทางแก้คือไปที่ https://github.com/filsv/iPhoneOSDeviceSupport แล้วทำตามขั้นตอน

  1. Download version you need listed above;
  2. Unzip it;
  3. Close Xcode;
  4. Copy and paste unziped folder by path: “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/” (hierarchy like – https://github.com/filsv/iPhoneOSDeviceSupport/blob/master/Screen%20Shot%202018-09-16%20at%2019.52.35.png);
  5. Reopen Xcode;

เพียงแค่นี้ก็ไม่ต้องดาว์นโหลด Xcode ใหม่

Posted in Mac

ปุ่มลัดบนคีย์บอร์ดของ Mac

  1. ⌃ + Space : เปลี่ยนภาษา
  2. CMD + R (same as F5 on Windows/Linux) refresh browser
  3. Ctrl + Arrow Up : ย่อแอพทั้งหมดมาแสดงแบบย่อๆ
  4. F11 : Show Desktop 
  5. Control + Command + F : แสดงแอปที่เปิดอยู่แบบเต็มหน้าจอ
  6. SHIFT + CMD + R (same as CTRL+F5 on Windows/Linux) refresh browser cleaning cache: 
  7. Cmd + Space to open spotlight search
  8. Option + Arrow ย้าย cursor ทีละคำ (เหมือน Ctrol + Arrow บน Windows)
Continue reading