text stringlengths 0 15.7k | source stringlengths 6 112 |
|---|---|
set psRule to rule "👱♂️ Personal" | Mail%20-%20Update%20Rule.applescript |
else if theRule = "👱♂️ Personal - Domain" then | Mail%20-%20Update%20Rule.applescript |
else if theRule = "🛒 Purchases - Sender" then | Mail%20-%20Update%20Rule.applescript |
set psRule to rule "🛒 Purchases" | Mail%20-%20Update%20Rule.applescript |
else if theRule = "🛒 Purchases - Domain" then | Mail%20-%20Update%20Rule.applescript |
else if theRule = "📖 Recreation - Sender" then | Mail%20-%20Update%20Rule.applescript |
set psRule to rule "📖 Recreation" | Mail%20-%20Update%20Rule.applescript |
else if theRule = "📖 Recreation - Domain" then | Mail%20-%20Update%20Rule.applescript |
else if theRule = "🛠 Work - Sender" then | Mail%20-%20Update%20Rule.applescript |
set psRule to rule "🛠 Work" | Mail%20-%20Update%20Rule.applescript |
else if theRule = "🛠 Work - Domain" then | Mail%20-%20Update%20Rule.applescript |
else if theRule = "📊 Business - Sender" then | Mail%20-%20Update%20Rule.applescript |
set psRule to rule "📊 Business" | Mail%20-%20Update%20Rule.applescript |
else if theRule = "📊 Business - Domain" then | Mail%20-%20Update%20Rule.applescript |
tell application "Rdio" to next track | next.applescript |
tell application "VLC" to next | next.applescript |
temporaryPathWithFolderName("Test") | temporaryPathWithFolderName.applescript |
on temporaryPathWithFolderName(folderName) | temporaryPathWithFolderName.applescript |
set fileName to (("AppleScriptTemp" & randomText) as text) | temporaryPathWithFolderName.applescript |
end temporaryPathWithFolderName | temporaryPathWithFolderName.applescript |
set my_path to quoted form of POSIX path of (path to me) | launch-firefox.applescript |
set parts to do shell script "echo " & my_path & " | perl -pe 's#^(.*?/)([^/]+) (Firefox.*?)\\.app/$#$1•$2•$3#'" | launch-firefox.applescript |
set parts to split(parts, "•") | launch-firefox.applescript |
set bin to quoted form of (first item of parts & last item of parts & ".app/Contents/MacOS/firefox-bin") | launch-firefox.applescript |
if second item of parts is "Launch" then | launch-firefox.applescript |
set args to "-P " & (quoted form of last item of parts) | launch-firefox.applescript |
else if second item of parts is "Safe" then | launch-firefox.applescript |
set args to "-safe-mode -P " & (quoted form of last item of parts) | launch-firefox.applescript |
set args to "-" & second item of parts | launch-firefox.applescript |
do shell script "open -a " & bin & " --args " & args | launch-firefox.applescript |
display dialog "An error ocurred. Be sure that you've named the AppleScript properly!" buttons {"Close"} default button 1 | launch-firefox.applescript |
on split(txt, delim) | launch-firefox.applescript |
set delim_orig to AppleScript's text item delimiters | launch-firefox.applescript |
set retval to text items of txt | launch-firefox.applescript |
set AppleScript's text item delimiters to delim_orig | launch-firefox.applescript |
fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable({baseTable:"ZZ_GLOBALS", viewAccess:"yes", editAccess:"yes", createAccess:"yes", deleteAccess:"yes", fieldAccess:"all", viewCalc:null, editCalc:null, createCalc:null, deleteCalc:null, fieldCalc:null}) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set defaultPrefs to {baseTable:null, viewAccess:null, editAccess:null, createAccess:null, deleteAccess:null, fieldAccess:null, viewCalc:null, editCalc:null, createCalc:null, deleteCalc:null, fieldCalc:null, allowFieldAccessOverride:false} | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if fmGUI_NameOfFrontmostWindow() is not equal to "Custom Record Privileges" then error "must have 'Custom Record Privileges' window open" number -1024 | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set oneTableRow to (first row of table 1 of scroll area 1 of window 1 whose name of static text 1 is equal to baseTable of prefs) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
select oneTableRow | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if viewAccess of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if viewCalc of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:viewButton, objValue:viewAccess of prefs, calcValue:viewCalc of prefs} & popUpExtras) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:viewButton, objValue:viewAccess of prefs}) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if editAccess of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if viewCalc of prefs is not equal to "no" then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if editCalc of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:editButton, objValue:editAccess of prefs, calcValue:editCalc of prefs} & popUpExtras) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:editButton, objValue:editAccess of prefs}) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if createAccess of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if createCalc of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:createButton, objValue:createAccess of prefs, calcValue:createCalc of prefs} & popUpExtras) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:createButton, objValue:createAccess of prefs}) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if deleteAccess of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if deleteCalc of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:deleteButton, objValue:deleteAccess of prefs, calcValue:deleteCalc of prefs} & popUpExtras) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:deleteButton, objValue:deleteAccess of prefs}) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if fieldAccess of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set extraFieldPrivs to {} | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if allowFieldAccessOverride of prefs then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if fieldAccess of prefs contains "limited" and fieldCalc of prefs is not null then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set privTypes to {} | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
repeat with oneFieldRec in fieldCalc of prefs | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set oneFieldPriv to fieldPriv of oneFieldRec | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if oneFieldPriv is not in privTypes then copy oneFieldPriv to end of privTypes | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if (count of privTypes) is equal to 1 then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set privTypes to item 1 of privTypes | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if privTypes is equal to "modifiable" then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set extraFieldPrivs to {FieldsModifiable:true} | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
else if privTypes is equal to "view only" then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set extraFieldPrivs to {FieldsViewOnly:true} | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
else if privTypes is equal to "no access" then | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
set extraFieldPrivs to {FieldsNoAccess:true} | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
fmGUI_Popup_SelectByCommand({objRef:fieldAccessButton, objValue:fieldAccess of prefs, clickIfAlreadySet:true}) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
if fieldCalc of prefs is not null then fmGUI_ManageSecurity_AccessRecord_UpdateFieldPriv({fieldList:fieldCalc of prefs} & extraFieldPrivs) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
error "unable to fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable - " & errMsg number errNum | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
tell application "htcLib" to fmGUI_ManageSecurity_AccessRecord_UpdateFieldPriv(prefs) | fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript |
tell OmniFocus | colonizeReviewTasks.applescript |
set reviewTasks to every flattened task whose name starts with "Review" | colonizeReviewTasks.applescript |
setColon(reviewTasks) of O | colonizeReviewTasks.applescript |
set theNewFileScript to "~/.bin/file_new -p -i -r" | New Image File From Clipboard.applescript |
set theFileDescriptor to open for access theNewFilePath with write permission | New Image File From Clipboard.applescript |
set eof of theFileDescriptor to 0 | New Image File From Clipboard.applescript |
set theImage to the clipboard as «class PNGf» | New Image File From Clipboard.applescript |
write theImage to theFileDescriptor | New Image File From Clipboard.applescript |
close access theFileDescriptor | New Image File From Clipboard.applescript |
set theNewFilePath to theFile as string | New Image File From Clipboard.applescript |
close access theNewFilePath | New Image File From Clipboard.applescript |
tell application "Finder" to set doIt to frontmost | New%20iTerm%20Window.scpt |
set myPath to finder_path() | New%20iTerm%20Window.scpt |
if myPath is equal to "" then | New%20iTerm%20Window.scpt |
set myPath to quote_for_bash(myPath) | New%20iTerm%20Window.scpt |
if false and not doIt then | New%20iTerm%20Window.scpt |
set myPath to path of document of front window | New%20iTerm%20Window.scpt |
if myPath is not equal to "" then | New%20iTerm%20Window.scpt |
if not doIt then | New%20iTerm%20Window.scpt |
set n to name of front window | New%20iTerm%20Window.scpt |
display alert n | New%20iTerm%20Window.scpt |
set o to offset of "/" in n | New%20iTerm%20Window.scpt |
if o is not equal to 0 then | New%20iTerm%20Window.scpt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.