Advertisement
n8henrie

Clean phone number.scpt

Jan 28th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Originally posted at http://n8henrie.com/2013/01/quicksilver-action-to-format-phone-numbers
  2. --Corresponding bash script at http://pastebin.com/Dje7s4A7
  3.  
  4. property pathToShellScript : "/Users/.../fixPhoneNumbers.sh"
  5.  
  6. using terms from application "Quicksilver"
  7.     on process text str
  8.        
  9.         set result to do shell script "echo \"" & str & "\" | " & quoted form of pathToShellScript
  10.        
  11.         return result
  12.        
  13.     end process text
  14. end using terms from
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement