text
stringlengths
0
15.7k
source
stringlengths
6
112
if latestURL contains "authenticate" or loginAnyway then
HUJA.applescript
keystroke MY_USERNAME
HUJA.applescript
keystroke MY_PASSWORD
HUJA.applescript
properties
processProperties.applescript
tell process "Firefox"
processProperties.applescript
tell process "Preview"
processProperties.applescript
tell process "Adobe Reader"
processProperties.applescript
tell process "Microsoft Word"
processProperties.applescript
set {year:y, month:m, day:d} to (current date)
insert current date.applescript
set date_format to {y, "-", m * 1, "-", d} as string
insert current date.applescript
set the clipboard to the date_format
insert current date.applescript
tell application "System Events" # block prevents unecessary ffCloseOrder change on PIP
firefox-dev-cmd-shift-t.applescript
set focusedWIndex to 0
firefox-dev-cmd-shift-t.applescript
repeat with w in windows
firefox-dev-cmd-shift-t.applescript
if value of attribute "AXMain" of w is equal to true -- if focused of w is equal to true
firefox-dev-cmd-shift-t.applescript
set focusedWIndex to x
firefox-dev-cmd-shift-t.applescript
set x to (x + 1)
firefox-dev-cmd-shift-t.applescript
if count of windows > 0 and title of window focusedWIndex is equal to "Picture-In-Picture" then return "won't work on PIP"
firefox-dev-cmd-shift-t.applescript
set ffCloseOrder to get_string_variable "ffCloseOrder"
firefox-dev-cmd-shift-t.applescript
if count of ffCloseOrder < 2
firefox-dev-cmd-shift-t.applescript
set_string_variable "ffCloseOrder" to ""
firefox-dev-cmd-shift-t.applescript
set reopenType to ffCloseOrder
firefox-dev-cmd-shift-t.applescript
set_string_variable "ffCloseOrder" to text 1 thru -2 of ffCloseOrder # string slice last char
firefox-dev-cmd-shift-t.applescript
set reopenType to text -1 thru -1 of ffCloseOrder # string last char
firefox-dev-cmd-shift-t.applescript
if (reopenType is equal to "w")
firefox-dev-cmd-shift-t.applescript
trigger_named "ffReopenWindow"
firefox-dev-cmd-shift-t.applescript
trigger_named "ffReopenTab"
firefox-dev-cmd-shift-t.applescript
set pathStr to "Macintosh HD:users:super:Desktop:important:SystemFiles:click-cmd-cycle-windows.scpt"
abc-test.applescript
set p to POSIX path of pathStr
abc-test.applescript
log run script p
abc-test.applescript
on get_password(password_lenght)
rnd_password.scpt
set randomString to ""
rnd_password.scpt
set the_captials to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
rnd_password.scpt
set the_lowers to "abcdefghijklmnopqrstuvwxyz"
rnd_password.scpt
set the_numbers to "0123456789"
rnd_password.scpt
set random_pool to {}
rnd_password.scpt
set end of random_pool to the_captials
rnd_password.scpt
set end of random_pool to the_lowers
rnd_password.scpt
set end of random_pool to the_numbers
rnd_password.scpt
set random_pool to characters of (random_pool as string)
rnd_password.scpt
set return_list to {}
rnd_password.scpt
repeat password_lenght times
rnd_password.scpt
set end of return_list to (item (random number from 1 to (count random_pool)) of random_pool)
rnd_password.scpt
return return_list as string
rnd_password.scpt
end get_password
rnd_password.scpt
on show_choose_password_length_dialog()
rnd_password.scpt
set difficulties to {"Easy", "Regular", "Strong", "64"}
rnd_password.scpt
choose from list difficulties with title "Choose password length" default items {"Regular"}
rnd_password.scpt
if result = {"Easy"} then
rnd_password.scpt
show_password_dialog(6)
rnd_password.scpt
else if result = {"Regular"} then
rnd_password.scpt
show_password_dialog(10)
rnd_password.scpt
else if result = {"Strong"} then
rnd_password.scpt
show_password_dialog(16)
rnd_password.scpt
else if result = {"64"} then
rnd_password.scpt
show_password_dialog(64)
rnd_password.scpt
end show_choose_password_length_dialog
rnd_password.scpt
on show_password_dialog(password_lenght)
rnd_password.scpt
set random_password to get_password(password_lenght)
rnd_password.scpt
display dialog random_password buttons {"Make new", "To Clipboard", "OK"} with icon note default button 2
rnd_password.scpt
if result = {button returned:"Make new"} then
rnd_password.scpt
show_password_dialog(password_lenght)
rnd_password.scpt
else if result = {button returned:"To Clipboard"} then
rnd_password.scpt
set the clipboard to random_password
rnd_password.scpt
end show_password_dialog
rnd_password.scpt
show_choose_password_length_dialog()
rnd_password.scpt
property line_feed : (ASCII character 10)
skim-to-evernote.scpt
property md_line_feed : (ASCII character 32) & (ASCII character 32) & (ASCII character 10)
skim-to-evernote.scpt
property as_delims : AppleScript's text item delimiters
skim-to-evernote.scpt
property export_style : "HTML"
skim-to-evernote.scpt
property export_destination : "Evernote"
skim-to-evernote.scpt
property text_prefix : "<p style=\"font-size: 14px;\">"
skim-to-evernote.scpt
property text_body_wrap_front : "<span style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property text_body_wrap_back : "</span>"
skim-to-evernote.scpt
property text_page_wrap_front : " (<a href=\""
skim-to-evernote.scpt
property text_page_abbr : "\">p."
skim-to-evernote.scpt
property text_page_wrap_back : "</a>)"
skim-to-evernote.scpt
property anchored_prefix : "<p style=\"font-size: 14px;\">"
skim-to-evernote.scpt
property anchored_title_wrap_front : "<strong>"
skim-to-evernote.scpt
property anchored_title_wrap_back : "</strong>"
skim-to-evernote.scpt
property anchored_body_wrap_front : "<span style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property anchored_body_wrap_back : "</span>"
skim-to-evernote.scpt
property anchored_page_wrap_front : "(<a href=\""
skim-to-evernote.scpt
property anchored_page_abbr : "\"><font color=\"#4C4C4C\">p."
skim-to-evernote.scpt
property anchored_page_wrap_back : "</font></a>)"
skim-to-evernote.scpt
property underline_prefix : "<p style=\"font-size: 14px;\">"
skim-to-evernote.scpt
property underline_body_wrap_front : "\""
skim-to-evernote.scpt
property underline_body_wrap_back : "\""
skim-to-evernote.scpt
property underline_page_wrap_front : "(<a href=\""
skim-to-evernote.scpt
property underline_page_abbr : "\">p."
skim-to-evernote.scpt
property underline_page_wrap_back : "</a>)"
skim-to-evernote.scpt
property strike_prefix : "<p style=\"font-size: 14px;\">"
skim-to-evernote.scpt
property strike_body_wrap_front : "\""
skim-to-evernote.scpt
property strike_body_wrap_back : "\""
skim-to-evernote.scpt
property strike_page_wrap_front : "(<a href=\""
skim-to-evernote.scpt
property strike_page_abbr : "\">p."
skim-to-evernote.scpt
property strike_page_wrap_back : "</a>)"
skim-to-evernote.scpt
property one_highlight_space : "<p style=\"font-size: 10px;\"><hr/><p style=\"font-size: 10px;\"></p>"
skim-to-evernote.scpt
property one_highlight_prefix : "<p style=\"font-size: 18px;\">"
skim-to-evernote.scpt
property one_highlight_title_wrap_front : "<a href=\""
skim-to-evernote.scpt