text stringlengths 0 15.7k | source stringlengths 6 112 |
|---|---|
tell layout info of canvas of front window | OmniGraffle Sitemap Generator.applescript |
set type to left to right | OmniGraffle Sitemap Generator.applescript |
end makeNewSitemap | OmniGraffle Sitemap Generator.applescript |
on cleanupSitemap() | OmniGraffle Sitemap Generator.applescript |
tell (first application process whose name is "Omnigraffle") | OmniGraffle Sitemap Generator.applescript |
click menu item "Select All" of menu "Edit" of menu bar 1 | OmniGraffle Sitemap Generator.applescript |
click menu item "Restyle Selected Objects" of menu "Format" of menu bar 1 | OmniGraffle Sitemap Generator.applescript |
layout | OmniGraffle Sitemap Generator.applescript |
page adjust | OmniGraffle Sitemap Generator.applescript |
end cleanupSitemap | OmniGraffle Sitemap Generator.applescript |
fmGUI_Inspector_Ensure() | fmGUI_Inspector_Ensure.applescript |
on fmGUI_Inspector_Ensure() | fmGUI_Inspector_Ensure.applescript |
if not (exists (first window whose name contains "Inspector")) then | fmGUI_Inspector_Ensure.applescript |
click (first menu item of menu 1 of menu bar item "View" of menu bar 1 whose name is "Inspector") | fmGUI_Inspector_Ensure.applescript |
error "Couldn't open Inspector - " & errMsg number errNum | fmGUI_Inspector_Ensure.applescript |
end fmGUI_Inspector_Ensure | fmGUI_Inspector_Ensure.applescript |
tell application "htcLib" to fmGUI_ModeEnsure_Layout() | fmGUI_Inspector_Ensure.applescript |
tell application "Finder" to close every window | Close Every Window.applescript |
repeat with aTrack in sel | +1 Play Count.scpt |
if aTrack's class is file track or aTrack's class is URL track then | +1 Play Count.scpt |
tell aTrack | +1 Play Count.scpt |
set curPlayCount to (get played count) | +1 Play Count.scpt |
set played count to curPlayCount + 1 | +1 Play Count.scpt |
property ScriptName : "ensureFileMakerDatabase_Test" | ensureFileMakerDatabase.applescript |
ensureFileMakerDatabase({mainDbName:"a00_TIMESSQUARE", dbName:"a32_OPCENTRAL", serverIP:"192.168.254.6", customLinkReceiverScriptName:"ReceiveSomeLink_DO_NOT_RENAME"}) | ensureFileMakerDatabase.applescript |
on ensureFileMakerDatabase(prefs) | ensureFileMakerDatabase.applescript |
set defaultPrefs to {serverIP:"", dbName:"", mainDbName:"", customLinkReceiverScriptName:""} | ensureFileMakerDatabase.applescript |
set dbName to dbName of prefs | ensureFileMakerDatabase.applescript |
set isDisplayed to displayFileMakerDatabase({dbName:dbName}) -- first, just see if one is available. | ensureFileMakerDatabase.applescript |
if debugMode then logConsole(ScriptName, "Tried to display: " & dbName) | ensureFileMakerDatabase.applescript |
if not isDisplayed then | ensureFileMakerDatabase.applescript |
if debugMode then logConsole(ScriptName, "About to try to open: " & dbName) | ensureFileMakerDatabase.applescript |
if openFileMakerDatabase(prefs) then | ensureFileMakerDatabase.applescript |
if debugMode then logConsole(ScriptName, "Tried to open, now try again to display: " & dbName) | ensureFileMakerDatabase.applescript |
set isDisplayed to displayFileMakerDatabase({dbName:dbName}) | ensureFileMakerDatabase.applescript |
return isDisplayed | ensureFileMakerDatabase.applescript |
error "Unable to ensureFileMakerDatabase - " & errMsg number errNum | ensureFileMakerDatabase.applescript |
end ensureFileMakerDatabase | ensureFileMakerDatabase.applescript |
on displayFileMakerDatabase(prefs) | ensureFileMakerDatabase.applescript |
tell application "htcLib" to displayFileMakerDatabase(prefs) | ensureFileMakerDatabase.applescript |
end displayFileMakerDatabase | ensureFileMakerDatabase.applescript |
on openFileMakerDatabase(prefs) | ensureFileMakerDatabase.applescript |
tell application "htcLib" to openFileMakerDatabase(prefs) | ensureFileMakerDatabase.applescript |
end openFileMakerDatabase | ensureFileMakerDatabase.applescript |
make new file | 005_01_files_and_folders-make_command.applescript |
tell process "GarageBand" | set_garageband_project_name.applescript |
set gb_title to title of window 1 | set_garageband_project_name.applescript |
setvariable "GB_PROJECT" to gb_title | set_garageband_project_name.applescript |
return count of args | on run.applescript |
do shell script "open -a Growl" | run copy.applescript |
property the_alias : missing value | Script 17-1.applescript |
property last_pathname : "" | Script 17-1.applescript |
if the_alias is missing value then | Script 17-1.applescript |
set the_alias to choose file | Script 17-1.applescript |
set this_pathname to the_alias as text | Script 17-1.applescript |
if this_pathname = last_pathname then | Script 17-1.applescript |
display dialog "The file hasn't moved" | Script 17-1.applescript |
display dialog "Old file path:" & return & last_pathname & return & "New location: " & return & this_pathname | Script 17-1.applescript |
set last_pathname to the_alias as text | Script 17-1.applescript |
set currentTab to do script "cal" | cal.scpt |
do script "date" in currentTab | cal.scpt |
set perspective name to "Contexts" | Open Contexts.applescript |
on adding folder items to theFolder after receiving theFiles | FolderActionRemoveAttributes.applescript |
set filePath to quoted form of POSIX path of aFile | FolderActionRemoveAttributes.applescript |
do shell script "xattr -d com.apple.metadata:kMDItemWhereFroms " & filePath | FolderActionRemoveAttributes.applescript |
sendToFMP("foo") | sendToFMP.applescript |
on sendToFMP(someData) | sendToFMP.applescript |
set someData to someData of someData | sendToFMP.applescript |
set someDataCleaned to someData as string | sendToFMP.applescript |
set backslash to ASCII character 92 | sendToFMP.applescript |
set AppleScript's text item delimiters to backslash | sendToFMP.applescript |
set the someDataCleaned to every text item of someDataCleaned | sendToFMP.applescript |
set AppleScript's text item delimiters to backslash & backslash | sendToFMP.applescript |
set the someDataCleaned to the someDataCleaned as string | sendToFMP.applescript |
set AppleScript's text item delimiters to the (backslash & "\"") | sendToFMP.applescript |
set codeToSet to "set cell 1 of layout \"" & asTransfer & "\" of window 1 to (\"" & someDataCleaned & "\" as string)" | sendToFMP.applescript |
set sendSource to beginTellFM & codeToSet & endTellFM | sendToFMP.applescript |
run script sendSource | sendToFMP.applescript |
end sendToFMP | sendToFMP.applescript |
delete database "Super Heroes" | DeleteDatabase.scpt |
on execute(draft) | DraftsExampleScript1.applescript |
set theText to theText & "UUID: " & uuid of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "TITLE: " & title of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "CR: " & createdAt of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "MOD: " & modifiedAt of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "F: " & folderName of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "Flagged: " & flagged of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "Syntax: " & languageGrammar of the draft & return | DraftsExampleScript1.applescript |
set theText to theText & "Permalink: " & permalink of the draft & return | DraftsExampleScript1.applescript |
display dialog theText | DraftsExampleScript1.applescript |
end execute | DraftsExampleScript1.applescript |
execute({title: "Title", content: "Content", ...}) | DraftsExampleScript1.applescript |
on adding folder items to thisFolder after receiving someItems | 37_folder_actions-attaching_script_to_folder.applescript |
repeat with thisItem in someItems | 37_folder_actions-attaching_script_to_folder.applescript |
set theName to name of thisItem | 37_folder_actions-attaching_script_to_folder.applescript |
display notification with title name of thisFolder as string subtitle theName & " has been added to " & name of thisFolder as string | 37_folder_actions-attaching_script_to_folder.applescript |
display alert errorText | 37_folder_actions-attaching_script_to_folder.applescript |
set question to display dialog "Hide 'OK images' or show all" buttons {"Cancel", "Hide OK images", "Show all"} default button "Hide OK images" | Images- Supress printing of 'no disk file'-images.applescript |
set svar to button returned of question | Images- Supress printing of 'no disk file'-images.applescript |
if svar is "Show all" then | Images- Supress printing of 'no disk file'-images.applescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.