Вы должны использовать AppleScript через NSAppleScript
:
tell application "Finder"
-- create a new finder window
set newWindow to make new Finder window
-- Alternatively you could use
-- set target of newWindow to folder "Macintosh HD:SomeFolder"
set target of newWindow to choose folder
-- get the options of that new window
set options to icon view options of newWindow
-- disable preview
set shows icon preview of options to false
close newWindow
end tell
Я считаю, что эта информация хранится в файлах .DS_Store, но единственный способ сохранить ее - через Finder.