Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- display dialog "Enter your spell:" default answer ""
- set answer to text returned of result
- set zanswer to ""
- set {myTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, {" "}}
- set myList to text items of answer
- set AppleScript's text item delimiters to myTID
- repeat with fword in myList
- #set testf to fword
- #set fword to each
- set zword to reverse of characters in fword as string
- set zanswer to zanswer & " " & zword
- end repeat
- set zansewer to ((characters 2 thru -1 of zanswer) as string)
- set the clipboard to zanswer
- display dialog zanswer
Advertisement
Add Comment
Please, Sign In to add comment