Tuesday, March 23, 2010

AppleScript로 Finder 컨트롤하기

AppleScript로 Finder 컨트롤하기
tell application "Finder"
close every window
open home
tell the front Finder window
set toolbar visible to true
set the sidebar width to 135
set the current view to column view
set the bounds to {36, 116, 511, 674}
end tell
open folder "Documents" of home
tell the front Finder window
set toolbar visible to false
set the current view to flow view
set the bounds to {528, 116, 1016, 674}
end tell
select the last finder window
end tell
레퍼런스 :
Using AppleScript to control the Finder, Five AppleScript Tips in Five Days

No comments:

Post a Comment