text
stringlengths
0
15.7k
source
stringlengths
6
112
set theResponse to "http://" & theResponse
uploadImagesToImageShack.applescript
set the end of theResponses to theResponse
uploadImagesToImageShack.applescript
set theResult to joinList(theResponses, {" "})
uploadImagesToImageShack.applescript
set _path to (path of fonts folder of system domain) as string
Fonts (system).applescript
set AppList to name of every process
appName.applescript
display dialog AppList
appName.applescript
tell application "AppleScript Runner"
ssh-to-slaves.applescript
keystroke "6" using control down --switches to space 6
ssh-to-slaves.applescript
do script "ssh test-slave1 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave1"
ssh-to-slaves.applescript
set winBounds to bounds of front window
ssh-to-slaves.applescript
set height to (item 4 of winBounds) - (item 2 of winBounds)
ssh-to-slaves.applescript
set bounds of front window to {0, 0 + height, 900, 350 + height}
ssh-to-slaves.applescript
do script "ssh test-slave2 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave2"
ssh-to-slaves.applescript
set bounds of front window to {900, 0 + height, 1800, 350 + height}
ssh-to-slaves.applescript
do script "ssh test-slave3 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave3"
ssh-to-slaves.applescript
set bounds of front window to {0, 362 + height, 900, 700 + height}
ssh-to-slaves.applescript
do script "ssh test-slave4 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave4"
ssh-to-slaves.applescript
set bounds of front window to {900, 362 + height, 1800, 700 + height}
ssh-to-slaves.applescript
do script "ssh test-slave5 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave5"
ssh-to-slaves.applescript
set bounds of front window to {0, 707 + height, 900, 1050 + height}
ssh-to-slaves.applescript
do script "ssh test-slave6 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave6"
ssh-to-slaves.applescript
set bounds of front window to {900, 707 + height, 1800, 1050 + height}
ssh-to-slaves.applescript
do script "ssh test-slave7 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave7"
ssh-to-slaves.applescript
set bounds of front window to {-1800, 0 + height, -901, 350 + height}
ssh-to-slaves.applescript
do script "ssh test-slave8 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave8"
ssh-to-slaves.applescript
set bounds of front window to {-900, 0 + height, 0, 350 + height}
ssh-to-slaves.applescript
do script "ssh test-slave9 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave9"
ssh-to-slaves.applescript
set bounds of front window to {-1800, 350 + height, -901, 700 + height}
ssh-to-slaves.applescript
do script "ssh test-slave10 -t 'tail -f /var/ramdisk/testjour.log'; ssh test-slave10"
ssh-to-slaves.applescript
set bounds of front window to {-900, 350 + height, 0, 700 + height}
ssh-to-slaves.applescript
set miniaturized of windows to false
toggle_theme.scpt
reveal pane id "com.apple.preference.general"
toggle_theme.scpt
click checkbox 3
toggle_theme.scpt
set code to "No"
number.applescript
if code is "No" then
number.applescript
set firstdigit to 0
number.applescript
set seconddigit to 0
number.applescript
set thirddigit to 0
number.applescript
set fourthdigit to 0
number.applescript
repeat with x from 0 to 9
number.applescript
set firstdigit to x
number.applescript
repeat with y from 0 to 9
number.applescript
set seconddigit to y
number.applescript
repeat with a from 0 to 9
number.applescript
set thirddigit to a
number.applescript
repeat with b from 0 to 9
number.applescript
set fourthdigit to b
number.applescript
set fullcode to [x, y, a, b]
number.applescript
display dialog "Is the code " & fullcode & "?" buttons {"Yes", "No"} default button "Yes"
number.applescript
set code to button returned of the result
number.applescript
if code is "Yes" then
number.applescript
set vol to output volume of (get volume settings)
GetVolumeSrettings.applescript
keystroke "-" using {shift down, command down}
mute-unmute-current-room-group.scpt
set shell to do script the_selection in window 1
selection-to-sh.applescript
set answer to the button returned of (display dialog "What would you like to do with disk0?" with title "disk0 Utility" with icon caution buttons {"Spin Up", "Spin Down"})
disk0Utility.scpt
if answer = "Spin Up" then
disk0Utility.scpt
do shell script "diskutil mount REPLACE-THIS-WITH-VOLUME-UUID"
disk0Utility.scpt
display dialog "Mounted first volume." with title "disk0 Utility" buttons {"Continue"} giving up after 3 #dialog autocloses after 3 sec
disk0Utility.scpt
do shell script "diskutil mount REPLACE-THIS-WITH-ANOTHER-VOLUME-UUID"
disk0Utility.scpt
display dialog "Mounted second volume." with title "disk0 Utility" buttons {"Finish"} giving up after 3 #dialog autocloses after 3 sec
disk0Utility.scpt
else if answer = "Spin Down" then
disk0Utility.scpt
do shell script "diskutil unmountDisk disk0"
disk0Utility.scpt
display dialog "Unmounted disk0." with title "disk0 Utility" buttons {"Finish"} giving up after 3 #dialog autocloses after 3 sec
disk0Utility.scpt
my convertHTMLToPlainText(source of current tab of window 1)
convertHTMLToPlainText.scpt
on convertHTMLToPlainText(HTML)
convertHTMLToPlainText.scpt
return attributedString's |string| as text
convertHTMLToPlainText.scpt
end convertHTMLToPlainText
convertHTMLToPlainText.scpt
set theHolidays to {date "Wednesday, May 27, 2015 at 12:00:00 AM"}
Generate syllabus table in Markdown - multi-line.applescript
set theString to "|Course Schedule|
Generate syllabus table in Markdown - multi-line.applescript
|-|-|-|
Generate syllabus table in Markdown - multi-line.applescript
set theColumns to "| |
Generate syllabus table in Markdown - multi-line.applescript
" --the blank column for the Week
Generate syllabus table in Markdown - multi-line.applescript
set currentClass to 1
Generate syllabus table in Markdown - multi-line.applescript
set theString to theString & "|**Week " & (n as string) & "**| |
Generate syllabus table in Markdown - multi-line.applescript
set theString to (theString & "|" & (((weekday of theDate as string)) & " " & month of theDate as string) & " " & day of theDate as string) & "|"
Generate syllabus table in Markdown - multi-line.applescript
if check(theDate, theHolidays) then
Generate syllabus table in Markdown - multi-line.applescript
set theString to theString & "**No Class**"
Generate syllabus table in Markdown - multi-line.applescript
set currentClass to currentClass + 1
Generate syllabus table in Markdown - multi-line.applescript
set theString to theString & " |
Generate syllabus table in Markdown - multi-line.applescript
on check(d, h)
Generate syllabus table in Markdown - multi-line.applescript
if h is in d then
Generate syllabus table in Markdown - multi-line.applescript
set _path to (path of favorites folder) as string
Favorites.applescript
set skip to {"---", "0%"}
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set documentNames to name of documents
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
tell me to say "Where is the gradebook report from MyEnglishLab?"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set sourceFile to choose from list documentNames with prompt "Source File:"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
tell me to say "Where is the class gradebook that you want to update?"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set targetFile to choose from list documentNames with prompt "Target File:"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set targetSheets to name of sheets of document targetFile
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
tell me to say "Which sheet in the target file do you want to update?"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set targetSheet to choose from list targetSheets with prompt "Target Sheet:"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set targetSheet to item 1 of targetSheet
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set gradesFromEachUnit to {}
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
repeat with i from 1 to count of sheets
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
if name of sheet i contains "Assignments" then
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set end of gradesFromEachUnit to name of sheet i
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
tell me to say "Which Unit's grades do you want to import?"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set chosenUnit to choose from list (gradesFromEachUnit) with prompt "Please choose the Unit you want to import grades from"
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
set chosenUnit to item 1 of chosenUnit # flattens the list to a string
Numbers to Numbers (MyEnglishLab to Gradebook).applescript
if chosenUnit is "Assignments VIDEO ACTIVITIES" then
Numbers to Numbers (MyEnglishLab to Gradebook).applescript