Почему команда "screencapture -R0,0,5,5" не создает изображение 5x5, а создает изображение 10x10?
2 ответа
Возможно, у вас есть дисплей Retina (если у вас MacBook Pro Retina или Retina 27" iMac). Это означает, что обычный пиксель сохраняется в виде четырех пикселей.
very attractive work.
( The option -R don't exists in screencapture)
Another very simple choice with the options -s -c it's to capture with the mouse and to copy out in the clipboard
do shell script " /usr/sbin/screencapture -s -c "
tell application "System Events" to tell process "Finder"
set frontmost to true
click menu item "Show Clipboard" of menu "Edit" of menu bar 1
end tell