finder.app 대신 명령 줄에서 파일 내용을 미리 보는 방법
-
21-12-2019 - |
문제
터미널의 명령 줄에서 스페이스 바를 누르면 Finder.app를 포커스로 가져 오지 않고 Finder.app을 눌러도 할 수있는 미리보기 파일 내용 화면이 있습니다., Finder.App을 뒤로 접지를 유지).그렇다면 누구든지 그 목표를 달성 할 applescript
(예 : osascript
)의 내용 을 나와 함께 공유 할 수 있습니다.
해결책
AppleScript :
set myFile to "/Users/lawlist/Desktop/test.jpg"
do shell script "qlmanage -p " & quoted form of myFile & ">& /dev/null"
. 제휴하지 않습니다 StackOverflow