text
stringlengths
0
15.7k
source
stringlengths
6
112
set question15 to {"1. I like for people to compliment my achievements.", "A", "2. I know people love me when they do things for me that they don't enjoy doing.", "D"}
Five Love Languages Quiz.applescript
set question16 to {"1. I like to be touched as friends and loved ones walk by.", "E", "2. I like it when people listen to me and show genuine interest in what I am saying.", "B"}
Five Love Languages Quiz.applescript
set question17 to {"1. I feel loved when friends and loved ones help me with jobs or projects.", "D", "2. I really enjoy receiving gifts from friends and loved ones.", "C"}
Five Love Languages Quiz.applescript
set question18 to {"1. I like for people to compliment my appearance.", "A", "2. I feel loved when people take time to understand my feelings.", "B"}
Five Love Languages Quiz.applescript
set question19 to {"1. I feel secure when a special person is touching me.", "E", "2. Acts of service make me feel loved.", "D"}
Five Love Languages Quiz.applescript
set question20 to {"1. I appreciate the many things that special people do for me.", "D", "2. I like receiving gifts that special people make for me.", "C"}
Five Love Languages Quiz.applescript
set question21 to {"1. I really enjoy the feeling I get when someone gives me undivided attention.", "B", "2. I really enjoy the feeling I get when someone does some act of service for me.", "D"}
Five Love Languages Quiz.applescript
set question22 to {"1. Words of acceptance are important.", "A", "2. I know someone loves me when he or she helps me.", "D"}
Five Love Languages Quiz.applescript
set question23 to {"1. I know a person is thinking of me when he of she gives me a gift.", "C", "2. I feel loved when a person helps with my chores.", "D"}
Five Love Languages Quiz.applescript
set question24 to {"1. I appreciate it when someone listens patiently and doesn't interrupt me", "B", "2. I appreciate it when someone remembers special days with a gift.", "C"}
Five Love Languages Quiz.applescript
set question25 to {"1. I like knowing loved ones are concerned enough to help with my daily tasks.", "D", "2. I enjoy extended trips with someone who is special to me.", "B"}
Five Love Languages Quiz.applescript
set question26 to {"1. I enjoy kissing or being kissed by people with whom I am close.", "E", "2. Receiving a gift for no special reason excites me.", "C"}
Five Love Languages Quiz.applescript
set question27 to {"1. I like to be told that I am appreciated.", "A", "2. I like for a person to look at me when we are talking.", "B"}
Five Love Languages Quiz.applescript
set question28 to {"1. Gifts from a friend or loved one are always mean a lot to me.", "C", "2. I feel good when a friend or loved one touches me.", "E"}
Five Love Languages Quiz.applescript
set question29 to {"1. I feel loved when a person enthusiastically does some task I have requested.", "D", "2. I feel loved when I am told how much I am appreciated.", "A"}
Five Love Languages Quiz.applescript
set question30 to {"1. I need words of affirmation daily.", "E", "2. I know someone loves me when he or she helps me.", "A"}
Five Love Languages Quiz.applescript
set questionList to {question1, question2, question3, question4, question5, question6, question7, question8, question9, question10, question11, question12, question13, question14, question15, question16, question17, question18, question19, question20, question21, question22, question23, question24, question25, question26, question27, question28, question29, question30}
Five Love Languages Quiz.applescript
set theDialogText to "Welcome!
Five Love Languages Quiz.applescript
So by taking this quiz, you will get to learn about your 'Love Language'. \"What is a love language?\" you may ask? Love Languages outline five ways that people express and experience love. The five love languages are:
Five Love Languages Quiz.applescript
'Words of Affirmation'
Five Love Languages Quiz.applescript
'Quality Time'
Five Love Languages Quiz.applescript
'Receiving Gifts'
Five Love Languages Quiz.applescript
'Acts of Service'
Five Love Languages Quiz.applescript
'Physical Touch'
Five Love Languages Quiz.applescript
Thus by taking this quiz, you will be able to know what your own personal love languages which will aid you in getting what you need out of your relationships with other people: if you know what you like, you know what to ask for.
Five Love Languages Quiz.applescript
Also, you might not have a 'primary' love language, some people are 'bilingual', even 'trilingual'. This means that you have more than one primary love language.
Five Love Languages Quiz.applescript
So what are you waiting for? Let's find out your love language!"
Five Love Languages Quiz.applescript
set questionDialog to display dialog theDialogText buttons {"Cool, let's get started!"}
Five Love Languages Quiz.applescript
set temp to display dialog "First off, lets make this personalized to you!
Five Love Languages Quiz.applescript
What is your name? (Your first name will do)." default answer "No shenanigans, like \"Your Name\" or anything"
Five Love Languages Quiz.applescript
set name to text returned of temp
Five Love Languages Quiz.applescript
set questionDialog to display dialog "So your name is, " & name & "? Nice.
Five Love Languages Quiz.applescript
So " & name & ", let's get this thing started!
Five Love Languages Quiz.applescript
(For real this time)" buttons {"Alrighty"} default button 1
Five Love Languages Quiz.applescript
set numberOfQuestions to the number of items in questionList
Five Love Languages Quiz.applescript
repeat with counter from 1 to numberOfQuestions
Five Love Languages Quiz.applescript
set currentQuestion to item counter of questionList
Five Love Languages Quiz.applescript
set theDialogText to "Statement " & counter & " of " & numberOfQuestions & ¬
Five Love Languages Quiz.applescript
":
Five Love Languages Quiz.applescript
" & dialogText & "
Five Love Languages Quiz.applescript
" & item 1 of currentQuestion & "
Five Love Languages Quiz.applescript
" & item 3 of currentQuestion
Five Love Languages Quiz.applescript
set questionDialog to ¬
Five Love Languages Quiz.applescript
theDialogText buttons {"1", "2", "END NAO"}
Five Love Languages Quiz.applescript
set buttonReturned to button returned of questionDialog
Five Love Languages Quiz.applescript
if buttonReturned is "1" then
Five Love Languages Quiz.applescript
set answer to item 2 of currentQuestion
Five Love Languages Quiz.applescript
else if buttonReturned is "2" then
Five Love Languages Quiz.applescript
set answer to item 4 of currentQuestion
Five Love Languages Quiz.applescript
if answer = "A" then set aCounter to aCounter + 1
Five Love Languages Quiz.applescript
if answer = "B" then set bCounter to bCounter + 1
Five Love Languages Quiz.applescript
if answer = "C" then set cCounter to cCounter + 1
Five Love Languages Quiz.applescript
if answer = "D" then set dCounter to dCounter + 1
Five Love Languages Quiz.applescript
if answer = "E" then set eCounter to eCounter + 1
Five Love Languages Quiz.applescript
set allTheCounts to {aCounter, bCounter, cCounter, dCounter, eCounter}
Five Love Languages Quiz.applescript
set higherstCount to highest_number(allTheCounts)
Five Love Languages Quiz.applescript
if higherstCount = aCounter then set answerText to "a"
Five Love Languages Quiz.applescript
if higherstCount = bCounter then set answerText to "b"
Five Love Languages Quiz.applescript
if higherstCount = cCounter then set answerText to "c"
Five Love Languages Quiz.applescript
if higherstCount = dCounter then set answerText to "d"
Five Love Languages Quiz.applescript
if higherstCount = eCounter then set answerText to "e"
Five Love Languages Quiz.applescript
set theDialogText to "Alright, " & name & ", here are your results!
Five Love Languages Quiz.applescript
Your Counts:
Five Love Languages Quiz.applescript
" & "WORDS OF AFFIRMATION: " & aCounter & "
Five Love Languages Quiz.applescript
" & "QUALITY TIME: " & bCounter & "
Five Love Languages Quiz.applescript
" & "RECEIVING GIFTS: " & cCounter & "
Five Love Languages Quiz.applescript
" & "ACTS OF SERVICE: " & dCounter & "
Five Love Languages Quiz.applescript
" & "PHYSICAL TOUCH: " & eCounter
Five Love Languages Quiz.applescript
theDialogText buttons {"Okay, I'm done now"}
Five Love Languages Quiz.applescript
set quotefix to false
Check for plug-in.applescript
set theLocation to the name of the current location of network preferences
Check for plug-in.applescript
if theLocation is "AUR Office" then
Check for plug-in.applescript
tell application "Microsoft Outlook" to activate
Check for plug-in.applescript
if the name of every process contains "Mail" then
Check for plug-in.applescript
set quotefix to my do_submenu("Mail", "Mail", "QuoteFix is enabled")
Check for plug-in.applescript
if not quotefix then
Check for plug-in.applescript
set openPref to button returned of (display dialog "QuoteFix is not running. Open Preferences?" buttons {"Yes", "No"} default button 1 with title "No QuoteFix" giving up after 15)
Check for plug-in.applescript
if openPref = "Yes" then
Check for plug-in.applescript
set blocker to paragraph 2 of (do shell script "log show --last 1m --style syslog --info --predicate 'eventMessage BEGINSWITH[c] \"Loaded MailTrackerBlocker\"'")
Check for plug-in.applescript
set openPref to button returned of (display dialog "Mail Tracker Blocker is not running. Open Preferences?" buttons {"Yes", "No"} default button 1 with title "No Blocker" giving up after 15)
Check for plug-in.applescript
on do_submenu(app_name, menu_name, menu_item)
Check for plug-in.applescript
tell menu item menu_item
Check for plug-in.applescript
end do_submenu
Check for plug-in.applescript
property item_list : {}
main copy.applescript
set temp_folder_path to |temporary items path| of parameters
main copy.applescript
if temp_folder_path does not end with "/" then set temp_folder_path to temp_folder_path & "/"
main copy.applescript
if the class of input is not list then set input to input as list
main copy.applescript
if input is {} then error (my localized_string("NO_PASSED_ITEMS_ERROR"))
main copy.applescript
(temp_folder_path & "com.NyhthawkProductions.Automator.DispenseItems.plist") as POSIX file as alias
main copy.applescript
do shell script "defaults write " & (temp_folder_path & "com.NyhthawkProductions.Automator.DispenseItems flag -bool YES")
main copy.applescript
set item_list to input
main copy.applescript
if item_list is {} then
main copy.applescript
set the passed_item to the first item of the item_list
main copy.applescript
set the item_list to the rest of the item_list
main copy.applescript
return the passed_item
main copy.applescript
on localized_string(key_string)
main copy.applescript
return localized string key_string in bundle with identifier "com.NyhthawkProductions.Automator.DispenseItemsIncrementally"
main copy.applescript
end localized_string
main copy.applescript
set cname to name of canvas of first window as text
Export_Current_Canvas_to_EPS.applescript
repeat with _task in (every inbox task)
Interactive Inbox.applescript