AppleScript NSURLResourceKey

[NSURLTagNamesKey]選択したフォルダに内包しているファイル全てタグ削除 (修正)


【スクリプトエディタで開く】|

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
# フォルダ内のコンテンツを収集して内包されている項目全部処理する
# NSURLTagNamesKeyに空のArrayをセットでも良かったが
# 後日特定のタグだけ削除とかに使いたいので個別で処理する方式にした
#com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
use AppleScript version "2.8"
use framework "Foundation"
use framework "AppKit"
use scripting additions
property refMe : a reference to current application


##############################
### Wクリックで起動時
on run
  ###ドロップレットWクリック時にはファイル選択ダイアログを出す
  set strName to (name of current application) as text
  if strName is "osascript" then
    tell application "Finder" to activate
  else if strName is (name of me as text) then
    set strName to (name of me) as text
    tell application strName to activate
  else
    tell current application to activate
  end if
  ###デフォルトロケーションはデスクトップ
  set appFileManager to refMe's NSFileManager's defaultManager()
  set ocidURLsArray to (appFileManager's URLsForDirectory:(refMe's NSDesktopDirectory) inDomains:(refMe's NSUserDomainMask))
  set ocidDesktopDirPathURL to ocidURLsArray's firstObject()
  set aliasDesktopDirPath to (ocidDesktopDirPathURL's absoluteURL()) as alias
  set strMes to "選んでください"
  set listDropOpenPath to (choose folder strMes default location aliasDesktopDirPath with prompt strMes with multiple selections allowed and showing package contents without invisibles) as list
open listDropOpenPath
end run

##################################
###本処理
##################################
on open listDropOpenPath
  #ファイル ディレクトリの全てのパスの格納用
  set ocidFilePathURLArray to (refMe's NSMutableArray's alloc()'s initWithCapacity:0)
  #ドロップの数だけ繰り返し
  repeat with itemDropPath in listDropOpenPath
    ###ドップパス
    set appFileManager to refMe's NSFileManager's defaultManager()
    set strDropPath to (POSIX path of itemDropPath) as text
    set ocidDropPathStr to (refMe's NSString's stringWithString:(strDropPath))
    set ocidDropPath to ocidDropPathStr's stringByStandardizingPath()
    set ocidDropPathURL to (refMe's NSURL's alloc()'s initFileURLWithPath:(ocidDropPath))
    ###ドロップされたのが?
    set listResults to (ocidDropPathURL's getResourceValue:(reference) forKey:(refMe's NSURLIsDirectoryKey) |error|:(reference))
    if (item 2 of listResults) = (refMe's NSNumber's numberWithBool:true) then
log "このURLはフォルダです"
      ##取得するプロパティ
      set ocidProperties to (refMe's NSMutableArray's alloc()'s initWithCapacity:0)
(ocidProperties's addObject:(refMe's NSURLPathKey))
      # (ocidProperties's addObject:(refMe's NSURLIsRegularFileKey))
      # (ocidProperties's addObject:(refMe's NSURLContentTypeKey))
      ##オプション(隠しファイルは含まない)
      set ocidOption to refMe's NSDirectoryEnumerationSkipsHiddenFiles
      ##コンテンツの収集
      set ocidEmuDict to (appFileManager's enumeratorAtURL:(ocidDropPathURL) includingPropertiesForKeys:(ocidProperties) options:(ocidOption) errorHandler:(reference))
      set ocidFilePathURLArray to ocidEmuDict's allObjects()
      #フォルダ自身も追加しておく
(ocidFilePathURLArray's addObject:(itemDropPath))
    else
log "このURLはファイルです"
(ocidFilePathURLArray's addObject:(itemDropPath))
    end if
  end repeat
  
  ###不要なんだが念のためパスをURL順に並び替え
  set ocidSortDescriptor to (refMe's NSSortDescriptor's sortDescriptorWithKey:"absoluteString" ascending:(true) selector:"localizedStandardCompare:")
(ocidFilePathURLArray's sortUsingDescriptors:{ocidSortDescriptor})
  
  repeat with itemFilePathURL in ocidFilePathURLArray
    ##設定されているタグの名前を取得して
    set listResult to (itemFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLTagNamesKey) |error|:(reference))
    set ocidTagArray to (item 2 of listResult)
    if ocidTagArray = (missing value) then
log "タグは設定されていません"
    else
      #取得したタグの数だけくりかえし
      repeat with itemTag in ocidTagArray
        #タグを削除して
(ocidTagArray's removeObject:(itemTag))
      end repeat
      #削除したタグArrayを戻す
      set listDone to (itemFilePathURL's setResourceValue:(ocidTagArray) forKey:(refMe's NSURLTagNamesKey) |error|:(reference))
      if (item 1 of listDone) = true then
log "タグを削除しました"
      else
log itemFilePathURL's |path| as text
log "タグの削除に失敗しました"
      end if
    end if
  end repeat
  
end open

|

フォルダ名(localized表示)を取得する


【スクリプトエディタで開く】|

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
use AppleScript version "2.8"
use framework "Foundation"
use framework "AppKit"
use scripting additions

property refMe : a reference to current application

set appFileManager to refMe's NSFileManager's defaultManager()


set strFilePath to "~/Applications" as text
set ocidFilePathStr to refMe's NSString's stringWithString:(strFilePath)
set ocidFilePath to ocidFilePathStr's stringByStandardizingPath()
set ocidFilePathURL to (refMe's NSURL's alloc()'s initFileURLWithPath:(ocidFilePath) isDirectory:false)
set ocidLocalizedPath to ocidFilePath's stringByAppendingPathComponent:(".localized")
###フォルダなければ作る
set ocidAttrDict to refMe's NSMutableDictionary's alloc()'s initWithCapacity:0
ocidAttrDict's setValue:(448) forKey:(refMe's NSFilePosixPermissions)
set listBoolDone to appFileManager's createDirectoryAtURL:(ocidFilePathURL) withIntermediateDirectories:true attributes:(ocidAttrDict) |error|:(reference)
###localizedの空ファイルも作る
set listBoolDone to appFileManager's createFileAtPath:(ocidLocalizedPath) |contents|:(missing value) attributes:(ocidAttrDict)
###ローカライズ名があれば取得する
set listAttributesDict to ocidFilePathURL's resourceValuesForKeys:({refMe's NSURLLocalizedNameKey}) |error|:(reference)
set ocidAttributesDict to (item 1 of listAttributesDict)
set ocidLocalizedName to (ocidAttributesDict's objectForKey:(refMe's NSURLLocalizedNameKey))
log ocidLocalizedName as text
--->(*アプリケーション*)




|

[NSURLResourceKey]|error|:(reference)

#!/usr/bin/env osascript

----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

#

#

#

#

#                       com.cocolog-nifty.quicktimer.icefloe

----+----1----+----2----+-----3----+----4----+----5----+----6----+----7

##自分環境がos12なので2.8にしているだけです

use AppleScript version "2.8"

use framework "Foundation"

use scripting additions


property refMe : a reference to current application

property refNSString : a reference to refMe's NSString

property refNSURL : a reference to refMe's NSURL

property refNSNotFound : a reference to 9.22337203685477E+18 + 5807


set strDirPath to "/Users/Shared"

set ocidNSString to refNSString's stringWithString:strDirPath

set ocidURLPath to refNSURL's fileURLWithPath:ocidNSString



#####不可視ファイルの場合

### |error|:(missing value

set ocidResponseArray to (ocidURLPath's getResourceValue:(reference) forKey:(refMe's NSURLIsHiddenKey) |error|:(missing value))

log ocidResponseArray as list

(*true, «class ocid» id «data optr00000000D0460CEF01000000»*)

-->2つの値があります

set boolResponseDone to item 1 of ocidResponseArray

set boolIsHiddenKey to item 2 of ocidResponseArray


###  |error|:(reference))

set ocidResponseArray to (ocidURLPath's getResourceValue:(reference) forKey:(refMe's NSURLIsHiddenKey) |error|:(reference))

log ocidResponseArray as list

(*true, «class ocid» id «data optr00000000D0460CEF01000000», missing value*)

set boolHiddenKey to (item 2 of ocidResponseArray) as boolean

-->3つの値があります


set boolResponseDone to item 1 of ocidResponseArray

set boolIsHiddenKey to item 2 of ocidResponseArray

set ocidNSError to item 3 of ocidResponseArray



|

[NSURLIsUbiquitousItemKey]iCloudのURLか?

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL


#############################################

###デスクトップ
set strFilePath to "~/Library/Mobile Documents/" as text

###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
##NSStringフルパスにして
set strBaseFilePath to ocidPosixPath's stringByStandardizingPath
log strBaseFilePath as text
(*/Users/ユーザー名/Library/Mobile Documents/*)
log className() of strBaseFilePath as text
(*NSPathStore2*)
set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:strBaseFilePath
log ocidFilePathURL's |path|() as text
(*/Users/ユーザー名/Library/Mobile Documents/*)
log ocidFilePathURL's absoluteString() as text
(*file:///Users/ユーザー名/Library/Mobile%20Documents/*)
log ocidFilePathURL as text
(*Macintosh HD:Users:ユーザー名:Library:Mobile Documents:*)
log className() of ocidFilePathURL as text
(*NSURL*)




#############################################
####そのURLNSURLIsUbiquitousItemKeyは何ですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLIsUbiquitousItemKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as text
(*1*)
(*
1:icloudURL
(missing value):それ以外
*)
log className() of ocidResultValue as text
(*__NSCFNumber*)

|

[NSURLVolumeURLKey]URLのボリューム名

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL



#############################################
###デスクトップ
set strFilePath to "/" as text
###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
###NSURL
set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:ocidPosixPath
log className() of ocidFilePathURL as text
(*NSURL*)


#############################################
####そのURLNSURLVolumeURLKeyは何ですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLVolumeURLKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as text
(*Macintosh HD:*)
log className() of ocidResultValue as text
(*NSURL*)

|

[NSURLFileSizeKey]ファイルサイズ

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL


#############################################

###デスクトップ
set strFilePath to "/Library/Documentation/Warranty.rtf" as text
###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
log ocidPosixPath as text
(*/Library/Documentation/Warranty.rtf*)
log className() of ocidPosixPath as text
(*__NSCFString*)



set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:ocidPosixPath
log ocidFilePathURL's |path|() as text
(*/Library/Documentation/Warranty.rtf*)
log ocidFilePathURL's absoluteString() as text
(*file:///Library/Documentation/Warranty.rtf*)
log ocidFilePathURL as alias
(*alias Macintosh HD:Library:Documentation:Warranty.rtf*)
log className() of ocidFilePathURL as text
(*NSURL*)


#############################################
####そのURLNSURLParentDirectoryURLKeyは何ですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLFileSizeKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as text
(*Macintosh HD:Library:Documentation:*)
log className() of ocidResultValue as text
(*NSURL*)

set numKb to (ocidResultValue as integer) * (1 / 1000) as real

|

[NSURLParentDirectoryURLKey]container URLのひとつ上の階層のURL

要はこれ

set strFilePath to "/Library/Documentation/Warranty.rtf" as text

set aliasFilePath to POSIX file strFilePath as alias
log aliasFilePath as alias
(*alias Macintosh HD:Library:Documentation:Warranty.rtf*)
tell application "Finder"
set aliasContainerPath to container of aliasFilePath as alias
log aliasContainerPath as alias
(*alias Macintosh HD:Library:Documentation:*)
end tell


#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL


#############################################

###デスクトップ
set strFilePath to "/Library/Documentation/Warranty.rtf" as text
###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
log ocidPosixPath as text
(*/Library/Documentation/Warranty.rtf*)
log className() of ocidPosixPath as text
(*__NSCFString*)



set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:ocidPosixPath
log ocidFilePathURL's |path|() as text
(*/Library/Documentation/Warranty.rtf*)
log ocidFilePathURL's absoluteString() as text
(*file:///Library/Documentation/Warranty.rtf*)
log ocidFilePathURL as alias
(*alias Macintosh HD:Library:Documentation:Warranty.rtf*)
log className() of ocidFilePathURL as text
(*NSURL*)


#############################################
####そのURLNSURLParentDirectoryURLKeyは何ですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLParentDirectoryURLKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as text
(*Macintosh HD:Library:Documentation:*)
log className() of ocidResultValue as text
(*NSURL*)

|

[NSURLResourceKey] NSURLAddedToDirectoryDateKey

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL


#############################################

###デスクトップ
set strFilePath to "~/Desktop/" as text
###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
##NSStringフルパスにして
set strBaseFilePath to ocidPosixPath's stringByStandardizingPath
log strBaseFilePath as text
(*/Users/ユーザー名/Desktop*)
log className() of strBaseFilePath as text
(*NSPathStore2*)


set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:strBaseFilePath
log ocidFilePathURL's |path|() as text
(*/Users/ユーザー名/Desktop*)
log ocidFilePathURL's absoluteString() as text
(*file:///Users/ユーザー名/Desktop/*)
log ocidFilePathURL as alias
(*alias Macintosh HD:Users:ユーザー名:Desktop:*)
log className() of ocidFilePathURL as text
(*NSURL*)


#############################################
####そのURLNSURLAddedToDirectoryDateKeyは何ですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLAddedToDirectoryDateKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as date
log className() of ocidResultValue as text
(*__NSTaggedDate*)

|

[NSURLResourceKey] NSURLContentModificationDateKey 修正日

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL


#############################################

###デスクトップ
set strFilePath to "~/Desktop/" as text
###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
##NSStringフルパスにして
set strBaseFilePath to ocidPosixPath's stringByStandardizingPath
log strBaseFilePath as text
(*/Users/ユーザー名/Desktop*)
log className() of strBaseFilePath as text
(*NSPathStore2*)


set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:strBaseFilePath
log ocidFilePathURL's |path|() as text
(*/Users/ユーザー名/Desktop*)
log ocidFilePathURL's absoluteString() as text
(*file:///Users/ユーザー名/Desktop/*)
log ocidFilePathURL as alias
(*alias Macintosh HD:Users:ユーザー名:Desktop:*)
log className() of ocidFilePathURL as text
(*NSURL*)


#############################################
####そのURLNSURLContentModificationDateKeyは何ですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLContentModificationDateKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as date
log className() of ocidResultValue as text
(*__NSTaggedDate*)

|

[NSURLResourceKey]NSURLIsXXXXX

種類や書き込み可能か?等の属性まで調べられます。

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

property refMe : a reference to current application
property refNSString : a reference to refMe's NSString
property refNSURL : a reference to refMe's NSURL


#############################################

###デスクトップ
set strFilePath to ("~/Desktop/名称未設定フォルダ")
###NSStringにして
set ocidPosixPath to refNSString's stringWithString:strFilePath
##NSStringフルパスにして
set strBaseFilePath to ocidPosixPath's stringByStandardizingPath
log strBaseFilePath as text
(*/Users/ユーザー名/Desktop*)
log className() of strBaseFilePath as text
(*NSPathStore2*)


#############################################

set ocidFilePathURL to refNSURL's alloc()'s initFileURLWithPath:strBaseFilePath
log ocidFilePathURL's |path|() as text
(*/Users/ユーザー名/Desktop/名称未設定フォルダ*)
log ocidFilePathURL's absoluteString() as text
(*file:///Users/ユーザー名/Desktop/%E5%90%8D%E7…/*)
log ocidFilePathURL as alias
(*alias Macintosh HD:Users:ユーザー名:Desktop:名称未設定フォルダ:*)
log className() of ocidFilePathURL as text
(*NSURL*)

#############################################
####そのフォルダはアプリケーションですか?
set ocidResultArray to ocidFilePathURL's getResourceValue:(reference) forKey:(refMe's NSURLIsApplicationKey) |error|:(missing value)
set boolGetResourceResult to item 1 of ocidResultArray
set ocidResultValue to item 2 of ocidResultArray
###getResourceが成功したか?
log boolGetResourceResult as boolean
###Value->結果
log ocidResultValue as boolean
(*
NSURLIsApplicationKey

NSURLIsDirectoryKey
NSURLIsAliasFileKey
NSURLIsPackageKey
NSURLIsRegularFileKey
NSURLIsPurgeableKey
NSURLIsSparseKey

NSURLIsMountTriggerKey
NSURLIsVolumeKey

NSURLIsUbiquitousItemKey

NSURLIsExcludedFromBackupKey
NSURLIsExecutableKey
NSURLIsHiddenKey
NSURLIsReadableKey
NSURLIsSymbolicLinkKey
NSURLIsWritableKey

NSURLIsSystemImmutableKey
NSURLIsUserImmutableKey




*)

|

その他のカテゴリー

Acrobat Acrobat Annotation Acrobat Dialog Acrobat Form Acrobat JS Acrobat Open Acrobat Plugin Acrobat python Acrobat Reader Acrobat Sequ Acrobat Stamps Admin Admin Account Admin Apachectl Admin configCode Admin Device Management Admin LaunchServices Admin Locationd Admin loginitem Admin Maintenance Admin Permission Admin Pkg Admin Power Management Admin Printer Admin SetUp Admin SMB Admin System Information Admin Tools Admin Users Admin Volumes Adobe Apple AppleScript AppleScript Guide AppleScript Accessibility AppleScript AppKit AppleScript Applications AppleScript AppStore AppleScript Archive AppleScript Attributes AppleScript Automator AppleScript AVAsset AppleScript AVconvert AppleScript AVFoundation AppleScript AVURLAsset AppleScript BackUp AppleScript Barcode AppleScript Bash AppleScript Basic AppleScript Basic Path AppleScript Bluetooth AppleScript BOX AppleScript Browser AppleScript Calendar AppleScript CD/DVD AppleScript Choose AppleScript Chrome AppleScript CIImage AppleScript CloudStorage AppleScript Color AppleScript com.apple.LaunchServices.OpenWith AppleScript Console AppleScript Contacts AppleScript CotEditor AppleScript CURL AppleScript current application AppleScript Date&Time AppleScript delimiters AppleScript Desktop AppleScript Device AppleScript Disk AppleScript do shell script AppleScript Dock AppleScript DropBox AppleScript eMail AppleScript Encode Decode AppleScript Error AppleScript EXIFData AppleScript ffmpeg AppleScript File AppleScript Finder AppleScript Firefox AppleScript Folder AppleScript Fonts AppleScript GIF AppleScript HTML AppleScript Icon AppleScript Illustrator AppleScript Image Events AppleScript Image2PDF AppleScript ImageOptim Applescript iWork AppleScript Javascript AppleScript Jedit AppleScript Json AppleScript Label AppleScript List AppleScript locationd AppleScript LRC AppleScript LSSharedFileList AppleScript m3u8 AppleScript MakePDF AppleScript Map AppleScript Math AppleScript Microsoft AppleScript Microsoft Edge AppleScript Microsoft Excel AppleScript Mobileconfig AppleScript Mouse AppleScript Movie AppleScript Music AppleScript NetWork AppleScript Notes AppleScript NSArray AppleScript NSBitmapImageRep AppleScript NSBundle AppleScript NSCFBoolean AppleScript NSCharacterSet AppleScript NSColor AppleScript NSColorList AppleScript NSData AppleScript NSDictionary AppleScript NSError AppleScript NSEvent AppleScript NSFileAttributes AppleScript NSFileManager AppleScript NSFont AppleScript NSFontManager AppleScript NSImage AppleScript NSIndex AppleScript NSKeyedArchiver AppleScript NSKeyedUnarchiver AppleScript NSLocale AppleScript NSMutableArray AppleScript NSMutableDictionary AppleScript NSMutableString AppleScript NSNotFound AppleScript NSNumber AppleScript NSOpenPanel AppleScript NSPasteboard AppleScript NSPDFImageRep AppleScript NSpoint AppleScript NSPredicate AppleScript NSRange AppleScript NSRegularExpression AppleScript NSRunningApplication AppleScript NSScreen AppleScript NSSize AppleScript NSString AppleScript NSStringCompareOptions AppleScript NSTask AppleScript NSTimeZone AppleScript NSURL AppleScript NSURL File AppleScript NSURLBookmark AppleScript NSURLComponents AppleScript NSURLResourceKey AppleScript NSUserDefaults AppleScript NSUUID AppleScript NSView AppleScript NSWorkspace AppleScript Numbers AppleScript OAuth AppleScript ObjC AppleScript OneDrive AppleScript Osax AppleScript PDF AppleScript PDFAnnotationWidget AppleScript PDFContext AppleScript PDFDisplayBox AppleScript PDFDocumentPermissions AppleScript PDFKit AppleScript PDFnUP AppleScript PDFOutline AppleScript Photos AppleScript Photoshop AppleScript Plist System Events AppleScript PostScript AppleScript prefPane AppleScript Preview AppleScript Python AppleScript QR AppleScript QR Decode AppleScript QuickLook AppleScript QuickTime AppleScript record AppleScript Regular Expression AppleScript Reminders AppleScript ReName AppleScript Repeat AppleScript RTF AppleScript Safari AppleScript SaveFile AppleScript ScreenCapture AppleScript ScreenSaver AppleScript Script Editor AppleScript Script Menu AppleScript Shortcuts AppleScript Shortcuts Events AppleScript Sort AppleScript Sound AppleScript Spotlight AppleScript SRT AppleScript StandardAdditions AppleScript stringByApplyingTransform AppleScript System Events AppleScript System Settings AppleScript TemporaryItems AppleScript Terminal AppleScript Text AppleScript Text CSV AppleScript Text TSV AppleScript TextEdit AppleScript Translate AppleScript Trash AppleScript Twitter AppleScript UI AppleScript Unit Conversion AppleScript UTType AppleScript valueForKeyPath AppleScript Video AppleScript VisionKit AppleScript Visual Studio Code AppleScript webarchive AppleScript webp AppleScript Wifi AppleScript XML AppleScript XML EPUB AppleScript XML OPML AppleScript XML Plist AppleScript XML RSS AppleScript XML SVG AppleScript XML TTML AppleScript XML webloc AppleScript YouTube AppleScript Zero Suppress Applications Barcode OnLine Tools CityCode Design iPhone List Logs lsappinfo Memo Music perl PlistBuddy pluginkit postalcode ReadMe SF Symbols character id SF Symbols Entity sips Skype Slack sqlite TCC Tools Typography Video Wacom zoom