Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on run {input, parameters}
- try
- set AppleScript's text item delimiters to "$"
- set output to {}
- repeat with anItem in input
- set the end of output to text item 2 of (anItem as text)
- end repeat
- set AppleScript's text item delimiters to {}
- return output
- on error eStr number eNum
- display dialog eStr & " number " & eNum buttons {"OK"} ¬
- default button 1 with icon caution
- set AppleScript's text item delimiters to {}
- return
- end try
- end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement