text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
OpenExcelWithData(bankBalances)
|
moneymoney-sum-by-bank.scpt
|
DeleteFile(accountsPropertyListFile)
|
moneymoney-sum-by-bank.scpt
|
tell application "Books" to activate
|
desktop_01.applescript
|
tell application "Brave Browser" to activate
|
desktop_01.applescript
|
tell application "KeePassXC" to activate
|
desktop_01.applescript
|
tell application "Kindle" to activate
|
desktop_01.applescript
|
on open location _ARGS
|
send2omnifocus.scpt
|
set x to the offset of "?" in _ARGS
|
send2omnifocus.scpt
|
set the argument_string to text from (x + 1) to -1 of _ARGS
|
send2omnifocus.scpt
|
set these_arguments to every text item of the argument_string
|
send2omnifocus.scpt
|
repeat with i from 1 to the count of these_arguments
|
send2omnifocus.scpt
|
set this_pair to item i of these_arguments
|
send2omnifocus.scpt
|
copy every text item of this_pair to {this_key, this_value}
|
send2omnifocus.scpt
|
if this_key is "name" then
|
send2omnifocus.scpt
|
set _NAME to urlDecode(this_value)
|
send2omnifocus.scpt
|
else if this_key is "note" then
|
send2omnifocus.scpt
|
set _URL to urlDecode(this_value)
|
send2omnifocus.scpt
|
make new inbox task with properties {name:_NAME, note:_URL}
|
send2omnifocus.scpt
|
on urlDecode(str)
|
send2omnifocus.scpt
|
error "Can't urlDecode: " & eMsg number eNum
|
send2omnifocus.scpt
|
end urlDecode
|
send2omnifocus.scpt
|
global std, seLib
|
Run Script Editor 2.applescript
|
set IS_MAIN_SCRIPT to (count of argv) is 0
|
Run Script Editor 2.applescript
|
if IS_MAIN_SCRIPT then
|
Run Script Editor 2.applescript
|
click (first button of toolbar 1 of front window whose description is "Run")
|
Run Script Editor 2.applescript
|
exists POSIX file "/System/Library/Sounds/Glass.aiff"
|
tell application "Finder" to exists POSIX file filename.applescript
|
set filename to "/System/Library/Sounds/Glass.aiff"
|
tell application "Finder" to exists POSIX file filename.applescript
|
exists POSIX file filename as text --as text required
|
tell application "Finder" to exists POSIX file filename.applescript
|
set theReference to do shell script "/usr/bin/curl 'http://127.0.0.1:23119/better-bibtex/cayw?format=scannable-cite' 2>/dev/null; exit 0"
|
zotpick-scannable-cite.applescript
|
set the_app to choose application with prompt "Choose application to startup automatically" as alias
|
Script 20-2.applescript
|
set app_path to POSIX path of the_app
|
Script 20-2.applescript
|
make new login item at end of login items with properties {path:app_path}
|
Script 20-2.applescript
|
"/" is in "path/to/filename"
|
":" is in "path:to:filename".applescript
|
set theTask to value of theItem
|
Swap due defere dates.scpt
|
my swapDueDeferDates(theTask)
|
Swap due defere dates.scpt
|
on swapDueDeferDates(theTask)
|
Swap due defere dates.scpt
|
set theNewDeferDate to due date of theTask
|
Swap due defere dates.scpt
|
set theNewDueDate to defer date of theTask
|
Swap due defere dates.scpt
|
set defer date of theTask to (theNewDeferDate)
|
Swap due defere dates.scpt
|
set due date of theTask to (theNewDueDate)
|
Swap due defere dates.scpt
|
end swapDueDeferDates
|
Swap due defere dates.scpt
|
tell application "Radium"
|
Add track from Radium to OmniFocus.applescript
|
set actionTitle to "Listen to more " & track name
|
Add track from Radium to OmniFocus.applescript
|
set actionNote to "Got it from Radium on station " & station name
|
Add track from Radium to OmniFocus.applescript
|
parse tasks into it with transport text actionTitle
|
Add track from Radium to OmniFocus.applescript
|
if not (exists content record) then error "Please open a document."
|
Append Title.applescript
|
set theText to selected text of think window 1 as string
|
Append Title.applescript
|
if theText is missing value or theText is "" then error "No text is selected."
|
Append Title.applescript
|
set oldName to name of content record
|
Append Title.applescript
|
set newName to oldName & " " & theText
|
Append Title.applescript
|
set name of content record to newName
|
Append Title.applescript
|
set shopping_list to {"bread", "milk", "butter", "cream", "Wensleydale cheese"}
|
Script 7-7.applescript
|
set shopping_text to shopping_list as text
|
Script 7-7.applescript
|
display dialog "Remember to buy " & shopping_text & "."
|
Script 7-7.applescript
|
property ScriptName : "displayFileMakerDatabase_TEST"
|
displayFileMakerDatabase.applescript
|
displayFileMakerDatabase({dbName:"a01_PERSON"})
|
displayFileMakerDatabase.applescript
|
set defaultPrefs to {dbName:null, waitCycleDelaySeconds:5, waitSaveTotalSeconds:2 * minutes}
|
displayFileMakerDatabase.applescript
|
repeat waitCycleMax times
|
displayFileMakerDatabase.applescript
|
set docNameList to null
|
displayFileMakerDatabase.applescript
|
set docNameList to name of every document
|
displayFileMakerDatabase.applescript
|
if docNameList is not null then exit repeat
|
displayFileMakerDatabase.applescript
|
if errNum is -10011 then
|
displayFileMakerDatabase.applescript
|
else if errNum is -10004 then
|
displayFileMakerDatabase.applescript
|
display dialog "unable to displayFileMakerDatabase because of privSet violation in some FM file errNum: " & errNum buttons "OK" default button "OK"
|
displayFileMakerDatabase.applescript
|
error "privSet violation in some FM file..." & errNum number errNum
|
displayFileMakerDatabase.applescript
|
error "Error getting list of databases already open - " & errMsg number errNum
|
displayFileMakerDatabase.applescript
|
delay waitCycleDelaySeconds
|
displayFileMakerDatabase.applescript
|
(reverse of characters of oneDocName) as string
|
displayFileMakerDatabase.applescript
|
text ((offset of "." in result) + 1) thru -1 of result
|
displayFileMakerDatabase.applescript
|
set oneDocName to (reverse of characters of result) as string
|
displayFileMakerDatabase.applescript
|
if oneDocName is equal to (dbName as string) then
|
displayFileMakerDatabase.applescript
|
show document oneDocName
|
displayFileMakerDatabase.applescript
|
if debugMode then my logConsole(ScriptName, "displayFileMakerDatabase: " & oneDocName)
|
displayFileMakerDatabase.applescript
|
error "unable to displayFileMakerDatabase - " & errMsg number errNum
|
displayFileMakerDatabase.applescript
|
class of "text"
|
class of.applescript
|
fmGUI_CustomMenus_GotoTab_Menus({})
|
fmGUI_CustomMenus_GotoTab_Menus.applescript
|
on fmGUI_CustomMenus_GotoTab_Menus(prefs)
|
fmGUI_CustomMenus_GotoTab_Menus.applescript
|
return fmGUI_CustomMenus_GotoTab({tabName:"Custom Menus"})
|
fmGUI_CustomMenus_GotoTab_Menus.applescript
|
error "unable to fmGUI_CustomMenus_GotoTab_Menus - " & errMsg number errNum
|
fmGUI_CustomMenus_GotoTab_Menus.applescript
|
end fmGUI_CustomMenus_GotoTab_Menus
|
fmGUI_CustomMenus_GotoTab_Menus.applescript
|
set monitorSettings to screen list starting with main screen --Store current display settings
|
Game Launcher 1.1.applescript
|
if exists process "A-Dock" then
|
Game Launcher 1.1.applescript
|
set dockRunning to "1"
|
Game Launcher 1.1.applescript
|
tell application "A-Dock" to quit
|
Game Launcher 1.1.applescript
|
set dockRunning to "0"
|
Game Launcher 1.1.applescript
|
open file "Macintosh HD:Applications:Disk Image.iso" --Mount the CD image
|
Game Launcher 1.1.applescript
|
set screens to {screen size:{640, 480}, color depth:8} --Set the display resolution and color depth
|
Game Launcher 1.1.applescript
|
open file "Mounted Disk Image:App Name" --Launch app
|
Game Launcher 1.1.applescript
|
set appRunning to "1"
|
Game Launcher 1.1.applescript
|
repeat until appRunning is "0"
|
Game Launcher 1.1.applescript
|
if exists process "App Name" then
|
Game Launcher 1.1.applescript
|
set appRunning to "0"
|
Game Launcher 1.1.applescript
|
set screens to monitorSettings --Revert to original display settings
|
Game Launcher 1.1.applescript
|
if dockRunning is "1" then
|
Game Launcher 1.1.applescript
|
tell application "A-Dock"
|
Game Launcher 1.1.applescript
|
eject disk "Mounted Disk Image"
|
Game Launcher 1.1.applescript
|
property name : "regex"
|
+regex.applescript
|
property id : "chri.sk.applescript.lib:regex"
|
+regex.applescript
|
property parent : libload's load("strings")
|
+regex.applescript
|
property NSDataDetector : a reference to NSDataDetector of this
|
+regex.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.