Mad Libs: Difference between revisions
Content added Content deleted
m (added two links for ;Related tasks:) |
(This is the applescript for mad libs) |
||
Line 349: | Line 349: | ||
found a NOTETY STYLE pack. Al decided to take it home. |
found a NOTETY STYLE pack. Al decided to take it home. |
||
</pre> |
</pre> |
||
=={{header|AppleScript}}== |
|||
set theNoun to the text returned of (display dialog "What is your noun?" default answer "") |
|||
set thePerson to the text returned of (display dialog "What is the person's name?" default answer "") |
|||
set theGender to the text returned of (display dialog "He or she? Please capitalize." default answer "") |
|||
display dialog thePerson & " went for a walk in the park. " & theGender & " found a " & theNoun & ". " & thePerson & " decided to take it home." |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
Like some other examples, this prompts the user for a text file template.<br/>AutoHotkey is interestingly well suited for this task... |
Like some other examples, this prompts the user for a text file template.<br/>AutoHotkey is interestingly well suited for this task... |