text
stringlengths
0
15.7k
source
stringlengths
6
112
return (system version of (system info) begins with "10.12")
Mail-Load-Images.scpt
end isSierraMail
Mail-Load-Images.scpt
on isHighSierraMail()
Mail-Load-Images.scpt
return (system version of (system info) begins with "10.13")
Mail-Load-Images.scpt
end isHighSierraMail
Mail-Load-Images.scpt
on isMojaveMail()
Mail-Load-Images.scpt
return (system version of (system info) begins with "10.14")
Mail-Load-Images.scpt
end isMojaveMail
Mail-Load-Images.scpt
on isCatalinaMail()
Mail-Load-Images.scpt
return (system version of (system info) begins with "10.15")
Mail-Load-Images.scpt
end isCatalinaMail
Mail-Load-Images.scpt
on isBigSurMail()
Mail-Load-Images.scpt
return ((osVersion begins with "10.16") or (osVersion begins with "11"))
Mail-Load-Images.scpt
end isBigSurMail
Mail-Load-Images.scpt
on isMontereyMail()
Mail-Load-Images.scpt
return ((osVersion begins with "10.17") or (osVersion begins with "12"))
Mail-Load-Images.scpt
end isMontereyMail
Mail-Load-Images.scpt
on isYosemiteOrLaterMail()
Mail-Load-Images.scpt
return (my isMontereyMail() or my isBigSurMail() or my isCatalinaMail() or my isMojaveMail() or my isHighSierraMail() or my isSierraMail() or my isElCapMail() or my isYosemiteMail())
Mail-Load-Images.scpt
end isYosemiteOrLaterMail
Mail-Load-Images.scpt
on isMavericksOrLaterMail()
Mail-Load-Images.scpt
return (my isYosemiteOrLaterMail() or my isMavericksMail())
Mail-Load-Images.scpt
end isMavericksOrLaterMail
Mail-Load-Images.scpt
on isLionOrBetter()
Mail-Load-Images.scpt
return (system version of (system info)) ≥ "10.7"
Mail-Load-Images.scpt
end isLionOrBetter
Mail-Load-Images.scpt
set startDate to (current date) - 20 * minutes
Auto tag work.applescript
set filepath to alias "HD:Users:User:Documents:Work"
Auto tag work.applescript
set theFolder to first flattened folder where its name = "Folder"
Auto tag work.applescript
set subFolder to every folder of theFolder
Auto tag work.applescript
repeat with f in subFolder
Auto tag work.applescript
set theProject to (name of every project of f where its modification date is greater than startDate)
Auto tag work.applescript
if number of theProject is greater than 0 then
Auto tag work.applescript
repeat with p0 in theProject
Auto tag work.applescript
set foldername0 to name of every folder in filepath
Auto tag work.applescript
if foldername0 does not contain p0 then
Auto tag work.applescript
tell application "Finder" to make new folder at filepath with properties {name:p0}
Auto tag work.applescript
set theProject to every project of f
Auto tag work.applescript
repeat with p in theProject
Auto tag work.applescript
set theTime to modification date of p
Auto tag work.applescript
if theTime is greater than startDate then
Auto tag work.applescript
copy name of p to end of theList
Auto tag work.applescript
if theList is not equal to {} then
Auto tag work.applescript
set activeProject to (name of every project of f where its status is not on hold and completed is not true and status is not dropped and its modification date is greater than startDate)
Auto tag work.applescript
repeat with p1 in activeProject
Auto tag work.applescript
repeat with i1 in p1
Auto tag work.applescript
if (i1 as string) is " " then
Auto tag work.applescript
set end of newString to "\\ "
Auto tag work.applescript
set end of newString to (i1 as string)
Auto tag work.applescript
set n1 to newString as string
Auto tag work.applescript
set foldername1 to (name of every folder in filepath whose label index is not 5)
Auto tag work.applescript
if foldername1 contains p1 then
Auto tag work.applescript
do shell script "/usr/local/bin/tag -s Active ~/Documents/" & n1
Auto tag work.applescript
set pauseProject to (name of every project of f where its status is on hold and its modification date is greater than startDate)
Auto tag work.applescript
repeat with p2 in pauseProject
Auto tag work.applescript
repeat with i2 in p2
Auto tag work.applescript
if (i2 as string) is " " then
Auto tag work.applescript
set end of newString to (i2 as string)
Auto tag work.applescript
set n2 to newString as string
Auto tag work.applescript
set foldername2 to (name of every folder in filepath whose label index is not 5)
Auto tag work.applescript
if foldername2 contains p2 then
Auto tag work.applescript
do shell script "/usr/local/bin/tag -s Onhold ~/Documents/" & n2
Auto tag work.applescript
set flaggedProject to (name of every project of f where its flagged is true and its completed is not true and its status is not dropped and its modification date is greater than startDate)
Auto tag work.applescript
repeat with p5 in flaggedProject
Auto tag work.applescript
repeat with i5 in p5
Auto tag work.applescript
if (i5 as string) is " " then
Auto tag work.applescript
set end of newString to (i5 as string)
Auto tag work.applescript
set n5 to newString as string
Auto tag work.applescript
do shell script "/usr/local/bin/tag -a Flagged ~/Documents/" & n5
Auto tag work.applescript
set completedProject to (name of every project of f where its completed is true or its status is dropped and its modification date is greater than startDate)
Auto tag work.applescript
repeat with p3 in completedProject
Auto tag work.applescript
repeat with i3 in p3
Auto tag work.applescript
if (i3 as string) is " " then
Auto tag work.applescript
set end of newString to (i3 as string)
Auto tag work.applescript
set n3 to newString as string
Auto tag work.applescript
set foldername3 to (name of every folder in filepath whose label index is not 5)
Auto tag work.applescript
if foldername3 contains p3 then
Auto tag work.applescript
do shell script "/usr/local/bin/tag -s Completed ~/Documents/" & n3
Auto tag work.applescript
tell application "MusicBrainz Picard" to quit
Open in MusicBrainz Picard (full automation).applescript
repeat 6 times
Open in MusicBrainz Picard (full automation).applescript
keystroke "a" using command down --select all files
Open in MusicBrainz Picard (full automation).applescript
keystroke "u" using command down --cluster files
Open in MusicBrainz Picard (full automation).applescript
keystroke "y" using command down --scan selected files
Open in MusicBrainz Picard (full automation).applescript
key code 125 --down arrow
Open in MusicBrainz Picard (full automation).applescript
key code 124 --right arrow
Open in MusicBrainz Picard (full automation).applescript
set playState to (player state as text)
spotify playpause.applescript
return "playState"
spotify playpause.applescript
return "not running"
spotify playpause.applescript
set itemNumber to ""
Create a variant SFX from audio files.applescript
set otherFilesPrefix to {}
Create a variant SFX from audio files.applescript
set audioFilesOne to choose file with prompt "Please select the first audio file to insert into a variation" of type {"public.audio"}
Create a variant SFX from audio files.applescript
set audioFiles to choose file with prompt "Please select all other alternate versions" of type {"public.audio"} with multiple selections allowed
Create a variant SFX from audio files.applescript
set firstFileName to util's getFileName(audioFilesOne)
Create a variant SFX from audio files.applescript
set fileOneArray to (util's splitString(firstFileName, "."))
Create a variant SFX from audio files.applescript
set filePrefixOne to item 1 of fileOneArray
Create a variant SFX from audio files.applescript
set filePrefixTwo to item 2 of fileOneArray
Create a variant SFX from audio files.applescript
set fileAllThree to item 3 of fileOneArray
Create a variant SFX from audio files.applescript
set fileOneArrayTwo to (util's splitString(fileAllThree, " "))
Create a variant SFX from audio files.applescript
set filePrefixThree to item 1 of fileOneArrayTwo
Create a variant SFX from audio files.applescript
set fileName to ""
Create a variant SFX from audio files.applescript