« [NSURL] ファイル名・拡張子名・プレフィックス名 | トップページ | [Audio] BlackHole »

[com.apple.finder] SlicesRootAttributes

YouTubeShortsVideo

ダウンロード - slicesrootattributes.scpt.zip




SlicesRootAttributesはMobileconfigからも設定できます
[Mobileconfig]SlicesRootAttributes


----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

use AppleScript version "2.4"
use framework "Foundation"
use scripting additions



do shell script "/usr/bin/defaults delete com.apple.finder SlicesRootAttributes"
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemKind\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemLastUsedDate\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemContentModificationDate\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemContentCreationDate\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemDisplayName\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemTextContent\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"com_apple_FileExtensionAttribute\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSInvisible\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemBitsPerSample\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSName\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSSize\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemPixelCount\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemOrientation\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemDurationSeconds\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemPixelWidth\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemPixelHeight\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSLabel\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemMediaTypes\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemColorSpace\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFonts\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemPageWidth\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSContentChangeDate\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSCreationDate\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemEmailAddresses\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemPageHeight\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemFSNodeCount\""
do shell script "/usr/bin/defaults write com.apple.finder SlicesRootAttributes -array-add -string \"kMDItemLayerNames\""

|

« [NSURL] ファイル名・拡張子名・プレフィックス名 | トップページ | [Audio] BlackHole »

AppleScript Finder」カテゴリの記事

AppleScript XML Plist」カテゴリの記事

AppleScript Spotlight」カテゴリの記事