AppleScript Firefox

[workflow]Finderで選択中のファイルをFireFoxで開く(少し改良)

ダウンロード - openfirefox.workflow.zip


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

use AppleScript version "2.6"
use framework "Foundation"
use framework "AppKit"
use scripting additions


tell application id "org.mozilla.firefox" to launch
tell application "Finder" to activate



###対象は選択中のファイル
tell application "Finder"
  set listAliasPath to selection as list
end tell
###FireFoxの起動を待つ
tell application "Firefox" to launch
repeat 20 times
  tell application "Firefox"
    activate
    set boolFrontMost to frontmost as boolean
  end tell
  if boolFrontMost = true then
    exit repeat
  else
    delay 0.5
  end if
end repeat

repeat with itemAliasFilePath in listAliasPath
  set aliasAliasFilePath to itemAliasFilePath as alias
  tell application "Finder"
    set strUTI to (type identifier of (info for aliasAliasFilePath)) as text
  end tell
  set strFilePath to POSIX path of aliasAliasFilePath as text
  set ocidFilePath to (current application's NSString's stringWithString:strFilePath)
  set ocidFilePathURL to (current application's NSURL's fileURLWithPath:ocidFilePath)
  if strUTI is "com.apple.web-internet-location" then
    set ocidReadPlistData to (current application's NSMutableDictionary's dictionaryWithContentsOfURL:ocidFilePathURL |error|:(reference))
    set ocidPlistDict to item 1 of ocidReadPlistData
    try
      set strURL to (ocidPlistDict's valueForKey:"URL") as text
    on error
      set strUTI to "com.microsoft.internet-shortcut"
    end try
  else if strUTI is "com.microsoft.internet-shortcut" then
    set listReadString to (current application's NSString's stringWithContentsOfURL:ocidFilePathURL encoding:(current application's NSUTF8StringEncoding) |error|:(reference))
    set ocidReadString to item 1 of listReadString
    set ocidReadStringM to (current application's NSMutableString's alloc()'s initWithCapacity:0)
    ###行頭行末の改行を取ってから
    set ocidNSCharacterSet to current application's NSCharacterSet's whitespaceAndNewlineCharacterSet()
    set ocidReadString to (ocidReadString's stringByTrimmingCharactersInSet:ocidNSCharacterSet)
    ###可変テキストに格納して
(ocidReadStringM's setString:ocidReadString)
    ###改行取って
    set ocidStrRange to (ocidReadStringM's rangeOfString:ocidReadStringM)
(ocidReadStringM's replaceOccurrencesOfString:("\\s") withString:("") options:(current application's NSRegularExpressionSearch) range:ocidStrRange)
    ###不要な文字列を取って
    set ocidStrRange to (ocidReadStringM's rangeOfString:ocidReadStringM)
(ocidReadStringM's replaceOccurrencesOfString:"[InternetShortcut]URL=" withString:"" options:(current application's NSCaseInsensitiveSearch) range:ocidStrRange)
    set strURL to ocidReadStringM as text
  else
    set strURL to ocidFilePathURL's absoluteString() as text
  end if
  
  
  tell application "Firefox" to activate
  tell application "Firefox"
    open location strURL
  end tell
  
end repeat

|

[Firefox]連番URLを次々開く

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

#!/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 scripting additions

property refMe : a reference to current application

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

###繰り返し回数
set numRepeatTimes to 50 as integer

###ウィンドウを閉じる待ち時間
set numWindowCloseDelay to 3 as integer


#####起動
tell application "Firefox"
  ###Firefoxを起動
  launch
  activate
end tell

#####起動チェック
repeat
  tell application "Firefox"
    ###起動確認
    activate
    set boolFrontMost to frontmost as boolean
  end tell
  if boolFrontMost is true then
    exit repeat
  else
    delay 1
  end if
end repeat

#####ウィンドがあるか?チェック
tell application "Firefox"
  tell window index 1
    activate
    set numWindowID to id as number
  end tell
end tell
if numWindowID = -1 then
  log "前面にウィンドウがありません"
  ###ウィンドウが無い場合は新規タブを開く
  set strURL to "about:newtab" as text
  tell application "Firefox"
    open location strURL
    tell window index 1
      set numWindowID to id as number
    end tell
  end tell
  ###最大10秒待つ処理
  repeat 10 times
    tell application "Firefox"
      try
        ###Window IDの取得を試みる
        tell window index 1
          set numWindowID to id as number
        end tell
        exit repeat
      on error
        ####Window IDが取れない場合は1秒待つ
        ####ウィンドID取れるまで繰り返す
        delay 1
      end try
    end tell
  end repeat
else
  log "前面にウィンドウ有り"
end if

######前面チェック
repeat 10 times
  tell application "Firefox"
    activate
    set boolFrontMost to frontmost as boolean
    if boolFrontMost is true then
      exit repeat
    else
      delay 1
    end if
  end tell
end repeat

tell application "Firefox"
  set frontmost to true
  tell window index 1
    activate
    set numWindowID to id as number
  end tell
  tell window id numWindowID
    activate
    repeat 10 times
      activate
      try
        set strWindowName to name as text
        exit repeat
      on error
        delay 1
      end try
    end repeat
  end tell
  if strWindowName is "Mozilla Firefox" then
    log "空のタブが前面"
  else
    log "URLが開かれている"
  end if
end tell


####ページ情報を開く
tell application "Firefox"
  tell window id numWindowID
    activate
    tell application "System Events"
      tell process "Firefox"
        keystroke "i" using {command down}
      end tell
    end tell
  end tell
end tell

delay 1

#####ページ情報の名称を取得
tell application "Firefox"
  tell window 1
    set strPageName to name as text
  end tell
end tell


####ページ情報を閉じる
tell application "Firefox"
  tell window 1
    close
  end tell
end tell


####URL取得
set strURL to doReplace(strPageName, "ページ情報 — ", "")
###URL処理
set ocidURLstr to (refMe's NSString's stringWithString:strURL)
set ocidURL to refMe's NSURL's URLWithString:ocidURLstr
set ocidBseURL to ocidURL's URLByDeletingLastPathComponent()

####カウントアップ
set numCntNo to 1 as integer
####繰り返し
repeat numRepeatTimes times
  ####URLに連番追加
  set ocidChkPage to ocidBseURL's URLByAppendingPathComponent:(numCntNo as text)
  ####テキストにして
  set strChkPage to ocidChkPage's absoluteString() as text
  try
    ####今開いているファイル
    tell application "Firefox"
      tell front window
        set numWindowID to index as number
      end tell
      ####新規でタブで開く
      open location strChkPage
      ####1秒まって
      delay 1
      ####新しいウィンドウ
      tell front window
        activate
        set numNewWindowID to index as number
      end tell
      delay numWindowCloseDelay
      ####前のページのウィンドウを閉じる
      tell window index numWindowID
        activate
        save
        close
      end tell
    end tell
    
  on error
    log "エラーしました"
    exit repeat
  end try
  
  set numCntNo to numCntNo + 1 as integer
end repeat


to doReplace(theText, orgStr, newStr)
  set oldDelim to AppleScript's text item delimiters
  set AppleScript's text item delimiters to orgStr
  set tmpList to every text item of theText
  set AppleScript's text item delimiters to newStr
  set tmpStr to tmpList as text
  set AppleScript's text item delimiters to oldDelim
  return tmpStr
end doReplace

|

[FireFox]ファイルをFirefoxで開く(考え中)

workflowでも使えるように考え中


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

#!/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.6"
use framework "Foundation"
use scripting additions


#####対象は選択中のファイル
tell application "Finder"
  set listAliasPath to selection as list
end tell


repeat with itemAliasFilePath in listAliasPath
  set strURL to "" as text
  set aliasAliasFilePath to itemAliasFilePath as alias
  tell application "Finder"
    set strUTI to (type identifier of (info for aliasAliasFilePath)) as text
  end tell
  set strFilePath to POSIX path of aliasAliasFilePath as text
  set ocidFilePath to (current application's NSString's stringWithString:strFilePath)
  set ocidFilePathURL to (current application's NSURL's fileURLWithPath:ocidFilePath)
  if strUTI is "com.apple.web-internet-location" then
    set ocidReadPlistData to (current application's NSMutableDictionary's dictionaryWithContentsOfURL:ocidFilePathURL |error|:(reference))
    set ocidPlistDict to item 1 of ocidReadPlistData
    try
      set strURL to (ocidPlistDict's valueForKey:"URL") as text
    on error
      set strUTI to "com.microsoft.internet-shortcut"
    end try
  end if
  if strUTI is "com.microsoft.internet-shortcut" then
    set listReadString to (current application's NSString's stringWithContentsOfURL:ocidFilePathURL encoding:(current application's NSUTF8StringEncoding) |error|:(reference))
    set ocidReadString to item 1 of listReadString
    set ocidReadStringM to (current application's NSMutableString's alloc()'s initWithCapacity:0)
    ###行頭行末の改行を取ってから
    set ocidNSCharacterSet to current application's NSCharacterSet's whitespaceAndNewlineCharacterSet()
    set ocidReadString to (ocidReadString's stringByTrimmingCharactersInSet:ocidNSCharacterSet)
    ###可変テキストに格納して
    (ocidReadStringM's setString:ocidReadString)
    ###改行取って
    set ocidStrRange to (ocidReadStringM's rangeOfString:ocidReadStringM)
    (ocidReadStringM's replaceOccurrencesOfString:("\\s") withString:("") options:(current application's NSRegularExpressionSearch) range:ocidStrRange)
    ###不要な文字列を取って
    set ocidStrRange to (ocidReadStringM's rangeOfString:ocidReadStringM)
    (ocidReadStringM's replaceOccurrencesOfString:"[InternetShortcut]URL=" withString:"" options:(current application's NSCaseInsensitiveSearch) range:ocidStrRange)
    set strURL to ocidReadStringM as text
  end if
  ####ロケーションファイル以外はfileで開く
  if strURL is "" then
    set strURL to ocidFilePathURL's absoluteString() as text
  end if
  
  
  
  tell application "Firefox" to activate
  tell application "Firefox"
    open location strURL
  end tell
  
end repeat

|

[FireFox]FireFoxでWEBサイトのURLを開く

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

#!/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 scripting additions

##URLNSURL
set strURL to "https://news.yahoo.co.jp/"
set ocidStrings to (current application's NSString's stringWithString:strURL)
set ocidStringsURL to (current application's NSURL's URLWithString:ocidStrings)

###アプリケーションのファイルURL
tell application id "org.mozilla.firefox"
  set strAppName to name as text
end tell
set aliasAppPath to path to application strAppName as alias
set strAppBundlePath to POSIX path of aliasAppPath as text
set ocidAppBundlePath to (current application's NSString's stringWithString:strAppBundlePath)
set ocidAppPathURL to (current application's NSURL's alloc()'s initFileURLWithPath:ocidAppBundlePath)


###開くURLを格納用のArrayを作成して
set ocidOpenURLArray to (current application's NSMutableArray's alloc()'s initWithCapacity:0)
###開くURLArrayに格納
(ocidOpenURLArray's addObject:ocidStringsURL)
####NSWorkspaceの初期化
set objNSWorkspace to current application's NSWorkspace's sharedWorkspace()
####コンフィグレーション
set ocidOpenConfiguration to current application's NSWorkspaceOpenConfiguration's configuration()
(ocidOpenConfiguration's setHides:(false as boolean))
(ocidOpenConfiguration's setRequiresUniversalLinks:(false as boolean))
####開く
set boolResponse to (objNSWorkspace's openURLs:ocidOpenURLArray withApplicationAtURL:ocidAppPathURL configuration:ocidOpenConfiguration completionHandler:(missing value))


|

[webloc] weblocファイルをFireFoxで開く(Automator対応)

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

#!/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 scripting additions


tell application "Finder"
  set listAliasFilePath to (get selection as alias list) as list
end tell

repeat with itemAliasFilePath in listAliasFilePath
  set strFilePath to POSIX path of itemAliasFilePath as text
  set ocidFilePath to (current application's NSString's stringWithString:strFilePath)
  set ocidFilePathURL to (current application's NSURL's fileURLWithPath:ocidFilePath)
  set ocidReadPlistData to (current application's NSMutableDictionary's dictionaryWithContentsOfURL:ocidFilePathURL |error|:(reference))
  set ocidPlistDict to item 1 of ocidReadPlistData
  set strURL to (ocidPlistDict's valueForKey:"URL") as text
  tell application "Firefox" to activate
  tell application "Firefox"
    open location strURL
  end tell
end repeat






NSWorkspace経由では普通には開くけど
Automator経由では開かなかった

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

#!/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 scripting additions

tell application "Finder"
  set listAliasFilePath to (get selection as alias list) as list
end tell

tell application id "org.mozilla.firefox"
  set strAppName to name as text
end tell

set aliasAppPath to path to application strAppName as alias
set strAppBundlePath to POSIX path of aliasAppPath as text
set ocidAppBundlePath to (current application's NSString's stringWithString:strAppBundlePath)
set ocidAppPathURL to (current application's NSURL's alloc()'s initFileURLWithPath:ocidAppBundlePath)
###開くURLを格納用のArrayを作成して
set ocidOpenURLArray to (current application's NSMutableArray's alloc()'s initWithCapacity:0)

repeat with itemAliasFilePath in listAliasFilePath
  set strFilePath to POSIX path of itemAliasFilePath as text
  set ocidFilePath to (current application's NSString's stringWithString:strFilePath)
  set ocidFilePathURL to (current application's NSURL's fileURLWithPath:ocidFilePath)
  
  ###開くURLArrayに格納
  (ocidOpenURLArray's addObject:ocidFilePathURL)
  ####NSWorkspaceの初期化
  set objNSWorkspace to current application's NSWorkspace's sharedWorkspace()
  ####コンフィグレーション
  set ocidOpenConfiguration to current application's NSWorkspaceOpenConfiguration's configuration()
  (ocidOpenConfiguration's setHides:(false as boolean))
  (ocidOpenConfiguration's setRequiresUniversalLinks:(false as boolean))
  ####開く
  set boolResponse to (objNSWorkspace's openURLs:ocidOpenURLArray withApplicationAtURL:ocidAppPathURL configuration:ocidOpenConfiguration completionHandler:(missing value))
  
  
end repeat

|

[Firefox]表示中のURLを取得する

System Events使いますトホホ




#####起動
tell application "Firefox"
###Firefoxを起動
launch
activate
end tell

#####起動チェック
repeat
tell application "Firefox"
###起動確認
activate
set boolFrontMost to frontmost as boolean
end tell
if boolFrontMost is true then
exit repeat
else
delay 1
end if
end repeat

#####ウィンドがあるか?チェック
tell application "Firefox"
tell window index 1
activate
set numWindowID to id as number
end tell
end tell
if numWindowID = -1 then
log "前面にウィンドウがありません"
###ウィンドウが無い場合は新規タブを開く
set strURL to "about:newtab" as text
tell application "Firefox"
open location strURL
tell window index 1
set numWindowID to id as number
end tell
end tell
###最大10秒待つ処理
repeat 10 times
tell application "Firefox"
try
###Window IDの取得を試みる
tell window index 1
set numWindowID to id as number
end tell
exit repeat
on error
####Window IDが取れない場合は1秒待つ
####ウィンドID取れるまで繰り返す
delay 1
end try
end tell
end repeat
else
log "前面にウィンドウ有り"
end if

######前面チェック
repeat 10 times
tell application "Firefox"
activate
set boolFrontMost to frontmost as boolean
if boolFrontMost is true then
exit repeat
else
delay 1
end if
end tell
end repeat

tell application "Firefox"
set frontmost to true
tell window index 1
activate
set numWindowID to id as number
end tell
tell window id numWindowID
activate
repeat 10 times
activate
try
set strWindowName to name as text
exit repeat
on error
delay 1
end try
end repeat
end tell
if strWindowName is "Mozilla Firefox" then
log "空のタブが前面"
else
log "URLが開かれている"
end if
end tell


####ページ情報を開く
tell application "Firefox"
tell window id numWindowID
activate
tell application "System Events"
tell process "Firefox"
keystroke "i" using {command down}
end tell
end tell
end tell
end tell

delay 1


#####ページ情報の名称を取得
tell application "Firefox"
tell window 1
set strPageName to name as text
end tell
end tell


####ページ情報を閉じる
tell application "Firefox"
tell window 1
close
end tell
end tell



set strURL to doReplace(strPageName, "ページ情報 — ", "")

log strURL


to doReplace(theText, orgStr, newStr)
set oldDelim to AppleScript's text item delimiters
set AppleScript's text item delimiters to orgStr
set tmpList to every text item of theText
set AppleScript's text item delimiters to newStr
set tmpStr to tmpList as text
set AppleScript's text item delimiters to oldDelim
return tmpStr
end doReplace

|

[Firefox] weblocファイルをFirefoxで開く

#!/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 refNSMutableDictionary : a reference to refMe's NSMutableDictionary




on run
set strWithPrompt to "weblocファイルを選んでください"
set strRelativePath to ("~/Desktop/") as text
set strFilePath to (do shell script "echo " & strRelativePath & "") as text
set aliasDefLoc to POSIX file strFilePath as alias
set listFileType to {"com.apple.web-internet-location"} as list

set objDropFiles to (choose file default location aliasDefLoc ¬
with prompt strWithPrompt ¬
of type listFileType ¬
invisibles false ¬
with multiple selections allowed without showing package contents) as list
open objDropFiles
end run


on open objDropFiles

repeat with objFile in objDropFiles
###UNIXパスに
set strFilePath to POSIX path of objFile as text
####NSStringパスに
set ocidFilePath to (refNSString's stringWithString:strFilePath)
####NSURL
set ocidFileURL to (refNSURL's fileURLWithPath:ocidFilePath)
####weblocを読みこむ
set ocidReadPlistData to (refNSMutableDictionary's dictionaryWithContentsOfURL:ocidFileURL |error|:(reference))
set ocidPlistDict to item 1 of ocidReadPlistData
log item 2 of ocidReadPlistData
####URLを取り出し
set strURL to (ocidPlistDict's valueForKey:"URL") as text
log strURL
####Firefoxで開く
tell application "Firefox"
open location strURL
end tell

end repeat
end open




to doReplace(theText, orgStr, newStr)
set oldDelim to AppleScript's text item delimiters
set AppleScript's text item delimiters to orgStr
set tmpList to every text item of theText
set AppleScript's text item delimiters to newStr
set tmpStr to tmpList as text
set AppleScript's text item delimiters to oldDelim
return tmpStr
end doReplace

|

その他のカテゴリー

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