text
stringlengths
0
15.7k
source
stringlengths
6
112
tell application "htcLib" to fmGUI_ManageSecurity_PrivSet_Update_AccessLayout(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
tell application "htcLib" to fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_AllTables(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
on fmGUI_ManageSecurity_PrivSet_Update_AccessScript(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
tell application "htcLib" to fmGUI_ManageSecurity_PrivSet_Update_AccessScript(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
end fmGUI_ManageSecurity_PrivSet_Update_AccessScript
fmGUI_ManageSecurity_PrivSet_Update.applescript
tell application "htcLib" to fmGUI_ManageSecurity_PrivSet_Update_AccessValueList(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
on fmGUI_ManageSecurity_PrivSet_Update_ExtendedPrivileges(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
tell application "htcLib" to fmGUI_ManageSecurity_PrivSet_Update_ExtendedPrivileges(prefs)
fmGUI_ManageSecurity_PrivSet_Update.applescript
end fmGUI_ManageSecurity_PrivSet_Update_ExtendedPrivileges
fmGUI_ManageSecurity_PrivSet_Update.applescript
to logit(log_string, log_file)
logit.scpt
"\" >> $HOME/Library/Logs/" & log_file & ".log"
logit.scpt
with properties {name:"New to do", due date:current date} ¬ at beginning of list "Anytime"
SetPropertiesOfTodo.applescript
set name of newToDo to "This task has been renamed"
SetPropertiesOfTodo.applescript
set notes of newToDo to "http://www.cultured.com/" & linefeed & "call Werner for more details" set due date of newToDo to (current date) + 7 * days
SetPropertiesOfTodo.applescript
set completion date of newToDo to current date
SetPropertiesOfTodo.applescript
set tag names of newToDo to "Home, Mac"
SetPropertiesOfTodo.applescript
set newToDo to make new to do with properties {name:"New to do", notes: "[filepath=/Users/bartek/ Downloads/Xcode_8_beta.xip]This is a link to Xcode 8[/filepath]"} ¬
SetPropertiesOfTodo.applescript
at beginning of list "Today" -- adding to dos in lists
SetPropertiesOfTodo.applescript
set newToDo to make new to do with properties {name:"New to do", due date:current date} ¬ at beginning of list "Today"
SetPropertiesOfTodo.applescript
tell list "Someday"
SetPropertiesOfTodo.applescript
with properties {name:"New to do for someday"} -- adding to dos in projects
SetPropertiesOfTodo.applescript
with properties {name:"New Things feature", due date:current date} ¬ at beginning of project "Things"
SetPropertiesOfTodo.applescript
tell project "Things"
SetPropertiesOfTodo.applescript
with properties {name:"New Things feature"} -- adding to dos in areas
SetPropertiesOfTodo.applescript
with properties {name:"New personal to do"} ¬ at beginning of area "Personal"
SetPropertiesOfTodo.applescript
tell area "Personal"
SetPropertiesOfTodo.applescript
set newToDo to make new to do with properties {name:"New personal to do"}
SetPropertiesOfTodo.applescript
with properties {name:"New delegated to do"} ¬ at beginning of contact "Steve Jobs"
SetPropertiesOfTodo.applescript
tell contact "Steve Jobs"
SetPropertiesOfTodo.applescript
with properties {name:"New delegated to do"}
SetPropertiesOfTodo.applescript
end tell end tell
SetPropertiesOfTodo.applescript
tell application "System Events" to keystroke "auto input text"
auto-input-text.scpt
set gitUrl to ""
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set projectPath to ""
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set nameOfActiveApp to (path to frontmost application as text)
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set ideName to "idea"
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
if "Safari" is in nameOfActiveApp then
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set gitUrl to the URL of the current tab of the front window
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
else if "Chrome" is in nameOfActiveApp then
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set gitUrl to the URL of the active tab of the front window
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set gitUrl to "https://github.com/InfoWings/Knowledge-Net"
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
if (gitUrl starts with "https://github.com") then
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set urlArray to my theSplit(gitUrl, "/")
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set projectName to last item of urlArray
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set theRest to reverse of rest of reverse of urlArray
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set userName to last item of theRest
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
set projectFullPath to projectPath & projectName
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
do shell script "git clone [email protected]:" & userName & "/" & projectName & ".git " & projectFullPath
git%20clone%20from%20opened%20safari%20chrome%20tab.applescript
on error number the_error_number
Script 15-3.applescript
display dialog "An error occurred. The number is:" & return & the_error_number
Script 15-3.applescript
property repoUrl : ""
git-clone-temp.scpt
set repoUrl to get URL of active tab of first window
git-clone-temp.scpt
do shell script "cd $TMPDIR && mkdir -p repos && cd repos && git clone " & repoUrl
git-clone-temp.scpt
set urlParts to my splitFunction(repoUrl, "/")
git-clone-temp.scpt
on splitFunction(theString, theDelimiter)
git-clone-temp.scpt
end splitFunction
git-clone-temp.scpt
set repoName to urlParts's last item
git-clone-temp.scpt
do shell script "/usr/local/bin/code $TMPDIR/repos/" & repoName & " -n"
git-clone-temp.scpt
set foo to (the clipboard as text)
Figmaify.applescript
set AppleScript's text item delimiters to "https://www.figma.com/"
Figmaify.applescript
set theTextItems to every text item of foo
Figmaify.applescript
set AppleScript's text item delimiters to "figma://"
Figmaify.applescript
set foo to theTextItems as string
Figmaify.applescript
set the clipboard to foo
Figmaify.applescript
set the clipboard to thePath
Copy Document Path copy.applescript
if q type of eachCue is "Audio" and infinite loop of eachCue is true then
Select cues that loop infinitely.applescript
display notification ((length of theList as string) & " of " & (length of theSelection as string) & " cues were found and selected") with title "Infinite loop"
Select cues that loop infinitely.applescript
tell application x to quit
quit-app.scpt
set perspective name to "Tags"
omnifocus_open_tags.applescript
tell application "iPhoto.app"
Show selected file.applescript
set myHome to POSIX path of (path to home folder)
Show selected file.applescript
set fname to do shell script "find " & myHome & "/Pictures/Fun.photoslibrary/ -name \"" & the filename of j & "\" -print"
Show selected file.applescript
reveal POSIX file fname as alias
Show selected file.applescript
return run script (POSIX file "/Users/IceHe/Documents/AppleScript/Stat/add_day_log.applescript") with parameters {(current date) + 1 * days}
Tomorrow_Log.applescript
set uri to reference URL of the _record as string
run-urial-on-document.applescript
set file_path to the path of _record
run-urial-on-document.applescript
set file_path to my substituted("&", "\\\\&", file_path)
run-urial-on-document.applescript
set fp to quoted form of file_path
run-urial-on-document.applescript
"PATH=$PATH:$HOME/.local/bin:/usr/local/bin urial" ¬
run-urial-on-document.applescript
& " -m update -U " & uri & " " & fp
run-urial-on-document.applescript
if result is not equal to "" then
run-urial-on-document.applescript
display alert "Urial" message result as warning
run-urial-on-document.applescript
tell application "Finder" -—Choose&Play
Choose&Play.scpt
choose file of type {"mp3"} default location file "Macintosh HD:Users:xingchen:Downloads:Musique"
Choose&Play.scpt
set song to the result
Choose&Play.scpt
open file song
Choose&Play.scpt
set app_list to every application process whose name is "Spotify"
breakaway-spotify.applescript
if the (count of app_list) > 0 then
breakaway-spotify.applescript
set theAlias to target of front window as alias
Copy Markdown Links to Files.applescript
set theLinks to "[" & theName & "]" & "(" & theURL & ")"
Copy Markdown Links to Files.applescript
set theLink to "[" & theName & "]" & "(" & theURL & ")"
Copy Markdown Links to Files.applescript
expandTildeInPath("~/Desktop/")
expandTildeInPath.applescript
on expandTildeInPath(aPath)
expandTildeInPath.applescript
if aPath does not start with "~" then
expandTildeInPath.applescript
set filePath to aPath
expandTildeInPath.applescript
set homeFolderPath to POSIX path of (path to home folder)
expandTildeInPath.applescript
if homeFolderPath ends with "/" then
expandTildeInPath.applescript
set homeFolderPath to text 1 thru -2 of homeFolderPath as text
expandTildeInPath.applescript
set filePath to homeFolderPath
expandTildeInPath.applescript
set filePath to homeFolderPath & text 2 thru -1 of aPath as text
expandTildeInPath.applescript