Create TOC

2011년 1월 12일

OS/X - 화면보호기 실행하기

화면 보호기를 바로 실행할 수 있는 apple script.

do shell script "/System/Library/Frameworks/ScreenSaver.framework/Versions/Current/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine"

아래처럼 Finder를 통해서 실행할 수도 있지만... :)

tell application "Finder"
	activate
	open application file "ScreenSaverEngine.app" of folder "Resources" of folder "Current" of folder "Versions" of folder "ScreenSaver.framework" of folder "Frameworks" of folder "Library" of folder "System" of startup disk
end tell