text
stringlengths
0
15.7k
source
stringlengths
6
112
set station to item 6 of split_result
12306.applescript
set h to item 7 of split_result
12306.applescript
set mm to item 8 of split_result
12306.applescript
set gate to item 9 of split_result
12306.applescript
set month of theStartDate to m as number
12306.applescript
set day of theStartDate to d as number
12306.applescript
set hours of theStartDate to h as number
12306.applescript
set minutes of theStartDate to mm as number
12306.applescript
set theEndDate to theStartDate + (1 * hours)
12306.applescript
set sss to train & "," & cart & "车" & seat & "号," & station & "检票口" & gate
12306.applescript
tell calendar "Home"
12306.applescript
set theEvent to make new event with properties {summary:sss, start date:theStartDate, end date:theEndDate}
12306.applescript
make new sound alarm at end of sound alarms of theEvent with properties {trigger interval:-120, sound name:"Sosumi"}
12306.applescript
return sss
12306.applescript
set position to {x - (newWidth - width), y}
GrowLeft.scpt
set chmodFile to selection as text
MakeSelectionCHMOD.applescript
set chmodFile to quoted form of POSIX path of chmodFile
MakeSelectionCHMOD.applescript
do shell script "chmod +x " & chmodFile
MakeSelectionCHMOD.applescript
set old_clipboard to the clipboard
clip.applescript
if (the clipboard) is "clear" then
clip.applescript
do shell script "echo '' > ~/Desktop/clip.txt"
clip.applescript
display notification "Clipboard log eliminata" with title "Clip-me"
clip.applescript
if (the clipboard) is not old_clipboard then
clip.applescript
do shell script "echo " & quoted form of ((the clipboard) & "
clip.applescript
-#-#-#-#-#-#-#-
clip.applescript
" & (do shell script "cat ~/Desktop/clip.txt")) & " > ~/Desktop/clip.txt"
clip.applescript
display notification "La clipboard è cambiata" with title "Clip-me"
clip.applescript
select row 8 of table 1 of scroll area 1 of group 1 of window 1
enable.applescript
click pop up button 1 of group 1 of window 1
enable.applescript
click menu item 1 of menu 1 of pop up button 1 of group 1 of window 1
enable.applescript
if not value of checkbox of row 5 of table 1 of scroll area 2 of group 1 of window 1 as boolean then
enable.applescript
select row 5 of table 1 of scroll area 2 of group 1 of window 1
enable.applescript
click checkbox of row 5 of table 1 of scroll area 2 of group 1 of window 1
enable.applescript
click button 1 of group 1 of window 1
enable.applescript
set value of text field 1 of sheet 1 of window 1 to item 1 of argv
enable.applescript
set value of text field 2 of sheet 1 of window 1 to item 2 of argv
enable.applescript
set value of text field 3 of sheet 1 of window 1 to item 2 of argv
enable.applescript
click button 1 of sheet 1 of window 1
enable.applescript
if not value of checkbox of row 8 of table 1 of scroll area 1 of group 1 of window 1 as boolean then
enable.applescript
click checkbox of row 8 of table 1 of scroll area 1 of group 1 of window 1
enable.applescript
click button 2 of sheet 1 of window 1
enable.applescript
activate (display alert ("Internet sharing is already enabled.") giving up after 1)
enable.applescript
display alert "Couldn't toggle Internet Sharing." message err as critical
enable.applescript
on setup_modules(a_script)
AppleScriptDoc.applescript
application (get "AppleScriptDocLib")'s loader()'s setup(a_script)
AppleScriptDoc.applescript
set a_script's _line_end to a_script's HTMLElement's line_end()
AppleScriptDoc.applescript
end setup_modules
AppleScriptDoc.applescript
script AppleScriptDocController
AppleScriptDoc.applescript
property HTMLElement : "@module"
AppleScriptDoc.applescript
property SimpleRD : "@module"
AppleScriptDoc.applescript
property XDict : "@module"
AppleScriptDoc.applescript
property XList : "@module"
AppleScriptDoc.applescript
property XText : "@module"
AppleScriptDoc.applescript
property TemplateProcessor : "@module"
AppleScriptDoc.applescript
property XFileBase : "@module XFile"
AppleScriptDoc.applescript
property PathConverter : "@module"
AppleScriptDoc.applescript
property XCharacterSet : "@module"
AppleScriptDoc.applescript
property CSSBuilder : "@module"
AppleScriptDoc.applescript
property RGBColor : "@module"
AppleScriptDoc.applescript
property XRegex : "@module"
AppleScriptDoc.applescript
property _only_local : true
AppleScriptDoc.applescript
property _line_end : missing value
AppleScriptDoc.applescript
property _ : setup_modules(me)
AppleScriptDoc.applescript
property _ignoring_comment_pattern : missing value
AppleScriptDoc.applescript
property ASDocParser : missing value
AppleScriptDoc.applescript
property ExportHelpBook : missing value
AppleScriptDoc.applescript
property SetupHelpBook : missing value
AppleScriptDoc.applescript
property SaveToFile : missing value
AppleScriptDoc.applescript
property InfoPlistArranger : missing value
AppleScriptDoc.applescript
property ASFormattingStyle : missing value
AppleScriptDoc.applescript
property ASHTML : missing value
AppleScriptDoc.applescript
property DocElements : missing value
AppleScriptDoc.applescript
property XFile : missing value
AppleScriptDoc.applescript
property appController : missing value
AppleScriptDoc.applescript
property ScriptLinkMaker : missing value
AppleScriptDoc.applescript
property HandlerElement : missing value
AppleScriptDoc.applescript
on exportHelpBook_toPath_(src, dest)
AppleScriptDoc.applescript
process({source:XFile's make_with(src as text), ¬ destination:((dest as text) as POSIX file)})
AppleScriptDoc.applescript
return {|message|:msg, |number|:errno}
AppleScriptDoc.applescript
end exportHelpBook_
AppleScriptDoc.applescript
on cancelExport()
AppleScriptDoc.applescript
ExportHelpBook's stop_processing()
AppleScriptDoc.applescript
end cancelExport
AppleScriptDoc.applescript
on setupHelpBook_(a_path)
AppleScriptDoc.applescript
SetupHelpBook's process_file(XFile's make_with((a_path as text) as POSIX file))
AppleScriptDoc.applescript
on error msg number errno from offending_obj
AppleScriptDoc.applescript
if errno is 1503 then
AppleScriptDoc.applescript
tell offending_obj
AppleScriptDoc.applescript
set details to error_message() & return & target_text()
AppleScriptDoc.applescript
set details to ""
AppleScriptDoc.applescript
display alert msg message details
AppleScriptDoc.applescript
end setupHelpBook_
AppleScriptDoc.applescript
on outputFrom_toPath_(src, dst)
AppleScriptDoc.applescript
SaveToFile's process_file(XFile's make_with((src as text) as POSIX file),¬
AppleScriptDoc.applescript
XFile's make_with((dst as text) as POSIX file))
AppleScriptDoc.applescript
end outputFrom_toPath_
AppleScriptDoc.applescript
on import_script(a_name)
AppleScriptDoc.applescript
return load script (path to resource a_name & ".scpt")
AppleScriptDoc.applescript
end import_script
AppleScriptDoc.applescript
on setup()
AppleScriptDoc.applescript