daily pastebin goal
48%
SHARE
TWEET

Search Safari Reading List

applehelpwriter Apr 9th, 2013 411 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --paste the following into AppleScript Editor or Automator 'run applescript' action
  2. --10.7 and 10.8 only
  3.  
  4. display dialog ("Enter the string to search for: ") default answer "Search Safari Reading List" buttons {"Cancel", "Search"} default button "Search"
  5.  
  6. set searchTerm to the text returned of the result
  7.  
  8. do shell script "strings ~/Library/Safari/Bookmarks.plist | grep -i '" & searchTerm & "' | awk '{ print FNR \"\t\" $0}' | open -f"
  9.  
  10. --EOF
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top