text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
rb.label = Example radiobuttons
|
Example.applescript
|
rb.option = Radiobutton item #1
|
Example.applescript
|
rb.option = Radiobutton item #2
|
Example.applescript
|
rb.option = Radiobutton item #3
|
Example.applescript
|
rb.tooltip = This is an element of type “radiobutton”
|
Example.applescript
|
pop.type = popup
|
Example.applescript
|
pop.label = Example popup menu
|
Example.applescript
|
pop.width = 310
|
Example.applescript
|
pop.option = Popup menu item #1
|
Example.applescript
|
pop.option = Popup menu item #2
|
Example.applescript
|
pop.option = Popup menu item #3
|
Example.applescript
|
pop.default = Popup menu item #2
|
Example.applescript
|
pop.tooltip = This is an element of type “popup”
|
Example.applescript
|
chk.rely = -18
|
Example.applescript
|
chk.type = checkbox
|
Example.applescript
|
chk.label = Pashua offers checkboxes, too
|
Example.applescript
|
chk.tooltip = This is an element of type “checkbox”
|
Example.applescript
|
chk.default = 1
|
Example.applescript
|
chk2.type = checkbox
|
Example.applescript
|
chk2.label = But this one is disabled
|
Example.applescript
|
chk2.disabled = 1
|
Example.applescript
|
chk2.tooltip = Another element of type “checkbox”
|
Example.applescript
|
cb.type = cancelbutton
|
Example.applescript
|
cb.tooltip = This is an element of type “cancelbutton”
|
Example.applescript
|
db.type = defaultbutton
|
Example.applescript
|
db.tooltip = This is an element of type “defaultbutton” (which is automatically added to each window, if not included in the configuration)
|
Example.applescript
|
" & img
|
Example.applescript
|
end getDialogConfiguration
|
Example.applescript
|
display dialog "Which tag do you want to dump bookmarks in Safari for?" default answer ""
|
Open Bookmarks with Input Tag in Safari copy.applescript
|
tell EQ preset 1 -- the Manual setting which you can then save
|
Perfect Negative Equalizer Setting.scpt
|
set band 1 to -8
|
Perfect Negative Equalizer Setting.scpt
|
set band 2 to -5
|
Perfect Negative Equalizer Setting.scpt
|
set band 3 to -3
|
Perfect Negative Equalizer Setting.scpt
|
set band 4 to -4
|
Perfect Negative Equalizer Setting.scpt
|
set band 5 to -5
|
Perfect Negative Equalizer Setting.scpt
|
set band 6 to -6
|
Perfect Negative Equalizer Setting.scpt
|
set band 7 to -4
|
Perfect Negative Equalizer Setting.scpt
|
set band 8 to -2
|
Perfect Negative Equalizer Setting.scpt
|
set band 9 to 0
|
Perfect Negative Equalizer Setting.scpt
|
set band 10 to -3
|
Perfect Negative Equalizer Setting.scpt
|
set preamp to 6 -- A guess on my part
|
Perfect Negative Equalizer Setting.scpt
|
tell application "Books" to quit
|
close-apps.applescript
|
tell application "Firefox" to quit
|
close-apps.applescript
|
tell application "Intel Power Gadget" to quit
|
close-apps.applescript
|
tell application "Kindle" to quit
|
close-apps.applescript
|
tell application "MacPass" to quit
|
close-apps.applescript
|
tell application "Messenger" to quit
|
close-apps.applescript
|
tell application "Microsoft Remote Desktop" to quit
|
close-apps.applescript
|
tell application "Photos" to quit
|
close-apps.applescript
|
tell application "Signal" to quit
|
close-apps.applescript
|
tell application "Spotify" to quit
|
close-apps.applescript
|
tell application "Sublime Text" to quit
|
close-apps.applescript
|
tell application "TV" to quit
|
close-apps.applescript
|
tell application "Visual Studio Code" to quit
|
close-apps.applescript
|
set filepath to alias "HD:Users:User:Documents"
|
Auto Tags Script.applescript
|
set theContext to first flattened context where its name = "context"
|
Auto Tags Script.applescript
|
set theTask to name of every flattened task where its context = theContext and completed = true and completion date is greater than startDate
|
Auto Tags Script.applescript
|
set flaggedTask to name of every flattened task where its flagged is true and its completed is not true
|
Auto Tags Script.applescript
|
if number of theTask is greater than 0 then
|
Auto Tags Script.applescript
|
set filename to name of every file in filepath whose label index is not 6
|
Auto Tags Script.applescript
|
repeat with theFile in filename
|
Auto Tags Script.applescript
|
set t to text 1 thru -11 of theFile
|
Auto Tags Script.applescript
|
if theTask contains t then
|
Auto Tags Script.applescript
|
repeat with i in theFile
|
Auto Tags Script.applescript
|
if (i as string) is " " then
|
Auto Tags Script.applescript
|
set end of newString to (i as string)
|
Auto Tags Script.applescript
|
set n to newString as string
|
Auto Tags Script.applescript
|
do shell script "/usr/local/bin/tag -s Writing ~/Documents/" & n
|
Auto Tags Script.applescript
|
do shell script "/usr/local/bin/tag -s Complete ~/Documents/" & n
|
Auto Tags Script.applescript
|
if number of flaggedTask is greater than 0 then
|
Auto Tags Script.applescript
|
if flaggedTask contains t then
|
Auto Tags Script.applescript
|
do shell script "/usr/local/bin/tag -a Flagged ~/Documents/" & n
|
Auto Tags Script.applescript
|
set path_file to quoted form of POSIX path of source_file
|
MarkdownToRTF.applescript
|
set dest_file to quoted form of POSIX path of dest_file
|
MarkdownToRTF.applescript
|
display alert "The file " & baseName & " failed to convert!"
|
MarkdownToRTF.applescript
|
display alert "The file " & tempHTML & " failed to convert!"
|
MarkdownToRTF.applescript
|
display alert "The file " & tempHTML & " could not be deleted!"
|
MarkdownToRTF.applescript
|
set vSelection to its selection
|
copy_markdown_as_html.applescript
|
tell its first document
|
copy_markdown_as_html.applescript
|
set vMarkdown to (its contents) as string
|
copy_markdown_as_html.applescript
|
else if class of vSelection is character then
|
copy_markdown_as_html.applescript
|
set vMarkdown to (vSelection's contents) as string
|
copy_markdown_as_html.applescript
|
error ("The script '" & (my name) as string) & "' doesn't handle discontinuous selections."
|
copy_markdown_as_html.applescript
|
set vCommand to ("echo " & (the quoted form of vMarkdown) & "| /opt/homebrew/bin/pandoc -f markdown -t html | pbcopy")
|
copy_markdown_as_html.applescript
|
do shell script vCommand
|
copy_markdown_as_html.applescript
|
set the_folder to choose folder
|
Script 20-4.applescript
|
set mb_limit to 10
|
Script 20-4.applescript
|
set byte_limit to mb_limit * 1024 * 1024
|
Script 20-4.applescript
|
set list_of_large_files to get_large_files(the_folder, byte_limit)
|
Script 20-4.applescript
|
on get_large_files(the_folder, minimum_size_in_bytes)
|
Script 20-4.applescript
|
set found_files_list to every file of the_folder whose size ≥ minimum_size_in_bytes and class is not application file
|
Script 20-4.applescript
|
set sub_folders_list to every folder of the_folder
|
Script 20-4.applescript
|
repeat with sub_folder_ref in sub_folders_list
|
Script 20-4.applescript
|
set found_files_list to found_files_list & my get_large_files(sub_folder_ref, minimum_size_in_bytes)
|
Script 20-4.applescript
|
return found_files_list
|
Script 20-4.applescript
|
end get_large_files
|
Script 20-4.applescript
|
set input to the text returned of (display dialog "Tus ramos (ej: 12431 12501 11965)" default answer "")
|
3 - Ramos.applescript
|
set courses to the text items of input
|
3 - Ramos.applescript
|
execute front window's active tab javascript "document.getElementById('crn_id1').focus();"
|
3 - Ramos.applescript
|
repeat with course in courses
|
3 - Ramos.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.