AppleScript NSRange

[NSMakeRange]最後の1文字

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString


property objNSBackwardsSearch : a reference to objMe's NSBackwardsSearch


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


set strSampleText to "美しい日本語の オープン タイプフォント"

##まずはNSMutableStrin初期化して
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0

###テキストをNSMutableStringにセット
ocidSampleText's setString:strSampleText
log ocidSampleText as text
log className() of ocidSampleText as text

##文字数数えて
set numChrCnt to (ocidSampleText's |length|) as integer
log numChrCnt as text

###NSMutableString文字列からRangeを作成 これは行末の1文字分のレンジ
set ocidNSRange to objMe's NSMakeRange((numChrCnt - 1), 1)
log ocidNSRange
log class of ocidNSRange


###置き換え
ocidSampleText's replaceOccurrencesOfString:(".") withString:("") options:(1024) range:ocidNSRange
log ocidSampleText as text
log ocidSampleText's className() as text









#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSMakeRange]最初の1文字

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString


property objNSBackwardsSearch : a reference to objMe's NSBackwardsSearch


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


set strSampleText to "美しい日本語の オープン タイプフォント "

##まずはNSMutableStrin初期化して
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0

###テキストをNSMutableStringにセット
ocidSampleText's setString:strSampleText
log ocidSampleText as text
log className() of ocidSampleText as text



###NSMutableString文字列からRangeを作成 これは行末の1文字分のレンジ
set ocidNSRange to objMe's NSMakeRange(0, 1)
log ocidNSRange
log class of ocidNSRange



###置き換え
ocidSampleText's replaceOccurrencesOfString:(".") withString:("") options:(1024) range:ocidNSRange
log ocidSampleText as text
log ocidSampleText's className() as text









#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[Safari]cURLのURLからURLのみ取り出す

クリップボードにコピーした値から抽出します
_20220904_18_10_43


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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString
property objNSPasteboard : a reference to objMe's NSPasteboard
property objNSCharacterSet : a reference to objMe's NSCharacterSet
property objNSURL : a reference to objMe's NSURL

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




####ペーストボードを定義
set ocidPasteboard to objNSPasteboard's generalPasteboard()
log className() of ocidPasteboard as text

###テキストをプレーンテキストで
set ocidReadPasteboard to ocidPasteboard's stringForType:(objMe's NSPasteboardTypeString)
log ocidReadPasteboard as text
log className() of ocidReadPasteboard as text


###クリップボードのテキストをNSMutableString
##まずは初期化して
set ocidCurlCommandText to objNSMutableString's alloc()'s initWithCapacity:0

###テキストのセット上書き
ocidCurlCommandText's setString:ocidReadPasteboard
log className() of ocidCurlCommandText as text
log ocidCurlCommandText as text


###文字列からRangeを作成
set ocidNSRange to ocidReadPasteboard's rangeOfString:ocidCurlCommandText
log ocidNSRange
log class of ocidNSRange

###置き換え
ocidCurlCommandText's replaceOccurrencesOfString:("\n") withString:("") options:(2) range:ocidNSRange
log ocidCurlCommandText as text
log ocidCurlCommandText's className() as text

###文字列からRangeを作成
set ocidNSRange to ocidCurlCommandText's rangeOfString:ocidCurlCommandText
log ocidNSRange
log class of ocidNSRange

###置き換え
ocidCurlCommandText's replaceOccurrencesOfString:("\\") withString:("") options:(2) range:ocidNSRange
log ocidCurlCommandText as text
log ocidCurlCommandText's className() as text

###文字列からRangeを作成最初の'シングルクオトまでのレンジ
set ocidStartRange to ocidCurlCommandText's rangeOfString:("([^\\s]+)") options:(1024)
log ocidStartRange
log class of ocidStartRange

###テキストで戻るので数値とテキストの両方用意
set numStartRange to ocidStartRange's |length|() as integer
set strStartRange to numStartRange + 2 as text
log numStartRange

###文字列からRangeを作成2個目のシングルクオトまで
set ocidEndRange to ocidCurlCommandText's rangeOfString:("^((.+?\\s){1}[^\\s]+)") options:(1024)
log ocidEndRange
log class of ocidEndRange
###テキストで戻るので数値とテキストの両方用意
set numEndRange to ocidEndRange's |length|() as integer
###2個目のシングルクオトから最初のクオトまでのレンジを引いた値が取り出すレンジ
set strEndRange to numEndRange - numStartRange - 3 as text
log numEndRange

#####URL部分のレンジを作成
set ocidNSRangeFromString to objMe's NSRangeFromString(strStartRange & " " & strEndRange)
log ocidNSRangeFromString


###レンジの文字列を取り出す
set ocidUrlText to (ocidCurlCommandText's substringWithRange:ocidNSRangeFromString)
log ocidUrlText as text
log ocidUrlText's className() as text

set strUrlText to ocidUrlText as text

return




#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSRange]最後の1文字

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString


property objNSBackwardsSearch : a reference to objMe's NSBackwardsSearch


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


set strSampleText to "美しい日本語の オープン タイプフォント "

##まずはNSMutableStrin初期化して
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0

###テキストをNSMutableStringにセット
ocidSampleText's setString:strSampleText
log ocidSampleText as text
log className() of ocidSampleText as text

##文字数数えて
set numChrCnt to (ocidSampleText's |length|) as integer
log numChrCnt as text

###NSMutableString文字列からRangeを作成 これは行末の1文字分のレンジ
set ocidNSRange to objMe's NSMakeRange((numChrCnt - 1), 1)
log ocidNSRange
log class of ocidNSRange













#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSRange]最初の1文字

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString


property objNSBackwardsSearch : a reference to objMe's NSBackwardsSearch


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


set strSampleText to "美しい日本語の オープン タイプフォント "

##まずはNSMutableStrin初期化して
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0

###テキストをNSMutableStringにセット
ocidSampleText's setString:strSampleText
log ocidSampleText as text
log className() of ocidSampleText as text



###NSMutableString文字列からRangeを作成 これは行末の1文字分のレンジ
set ocidNSRange to objMe's NSMakeRange(0, 1)
log ocidNSRange
log class of ocidNSRange



###置き換え
ocidSampleText's replaceOccurrencesOfString:(".") withString:("") options:(1024) range:ocidNSRange
log ocidSampleText as text
log ocidSampleText's className() as text









#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSRange] rangeOfString

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString
property objNSRange : a reference to objMe's NSRange



set strText to "美しい日本語"

set ocidNSString to objNSString's alloc()'s initWithString:strText
log ocidNSString as text
log ocidNSString's className() as text
-->(*__NSCFString*)

set ocidMutableString to objNSMutableString's alloc()'s initWithCapacity:0
ocidMutableString's setString:strText
log ocidMutableString as text
log ocidMutableString's className() as text
-->(*__NSCFString*)

###文字列からRangeを作成
set ocidNSRange to ocidMutableString's rangeOfString:"日本語"
log ocidNSRange
log class of ocidNSRange


ocidMutableString's replaceCharactersInRange:ocidNSRange withString:"英語"
log ocidMutableString as text
log ocidMutableString's className() as text
-->(*__NSCFString*)



#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSMutableString] deleteCharactersInRange

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString
property objNSRange : a reference to objMe's NSRange



set strText to "美しい日本語"

set ocidNSString to objNSString's alloc()'s initWithString:strText
log ocidNSString as text
log ocidNSString's className() as text
-->(*__NSCFString*)

set ocidMutableString to objNSMutableString's alloc()'s initWithCapacity:0
ocidMutableString's setString:strText
log ocidMutableString as text
log ocidMutableString's className() as text
-->(*__NSCFString*)


ocidMutableString's insertString:"" atIndex:5
log ocidMutableString as text
log ocidMutableString's className() as text
-->(*__NSCFString*)

#####テキストからRangeを作成-->3文字目以降の4文字の意味
set ocidNSRangeFromString to objNSRange's NSRangeFromString("3 4")
log class of ocidNSRangeFromString
log ocidNSRangeFromString as record

ocidMutableString's deleteCharactersInRange:ocidNSRangeFromString
log ocidMutableString as text
log ocidMutableString's className() as text
-->(*__NSCFString*)


#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSRange] NSLocationInRange

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString

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

###初期化 空の可変テキストを作成
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0
###文字列をセット
ocidSampleText's setString:"美しい日本語"

#####テキストからRangeを作成
set ocidNSRangeFromString to objMe's NSRangeFromString("0 1")
log class of ocidNSRangeFromString
log ocidNSRangeFromString as record

###無い=falseになるパターン
set boolRengeCnk to objMe's NSLocationInRange(1, ocidNSRangeFromString)
log class of boolRengeCnk
log boolRengeCnk as boolean
###ある=trueになるパターン
set boolRengeCnk to objMe's NSLocationInRange(0, ocidNSRangeFromString)
log class of boolRengeCnk
log boolRengeCnk as boolean

#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSRange] NSNotFound

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString

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

###初期化 空の可変テキストを作成
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0
###文字列をセット
ocidSampleText's setString:"美しい日本語"
####↑無い文字を検索する
set ocidNSRange to ocidSampleText's rangeOfString:"日本食"
log class of ocidNSRange as text
log ocidNSRange as record
-->(*location:9.22337203685478E+18, length:0*)
(*
location:9.22337203685478E+18
location:NSNotFound なので
*)

if ocidNSRange's location is objNSNotFound then
log "見つかりませんでした"
return
end if




#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

[NSRange] NSRangeFromString

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

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSMutableString : a reference to objMe's NSMutableString

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

###初期化 空の可変テキストを作成
set ocidSampleText to objNSMutableString's alloc()'s initWithCapacity:0
###文字列をセット
ocidSampleText's setString:"美しい日本語"

#####これはレコード形式
set recordRange to {location:0, |length|:1}
log class of recordRange
log recordRange as record

#####テキストからRangeを作成
set ocidNSRangeFromString to objMe's NSRangeFromString("0 1")
log class of recordRange
log recordRange as record
###Rangeの内容確認
set ocidRangeStrings to objMe's NSStringFromRange(ocidNSRangeFromString)
log className() of ocidRangeStrings as text
log ocidRangeStrings as text
###Rangeで取り出し
set ocidRangeText to ocidSampleText's substringWithRange:ocidNSRangeFromString
log className() of ocidRangeText as text
log ocidRangeText as text



#########################ログ表示
to doLogView()

tell application "System Events"
set listAppList to title of (every process where background only is false)
end tell
repeat with objAppList in listAppList
set strAppList to objAppList as text
if strAppList is "スクリプトエディタ" then
tell application "Script Editor"
if frontmost is true then
try
tell application "System Events" to click menu item "ログを表示" of menu "表示" of menu bar item "表示" of menu bar 1 of application process "Script Editor"
end try
end if
end tell
end if
end repeat

end doLogView
#########################

|

より以前の記事一覧

その他のカテゴリー

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