Sell Your Old iPhone For Cash!

What's my iPhone worth?
  1. frasier013's Avatar
    I'm after some help creating a service to be used in a browser (I use Chrome).
    When i'm reading an article which is discussing a film, I often like to see the film's details on IMDB. Normally what i'd do is copy either copy the text and search for it in IMDB or select the text then use Google's service "Search Google for...." (as highlighted in the screen shot).
    I'd like to create something almost identical to the Google service, but instead of searching Google, the selected text is search for in IMDB.
    Thanks in advance.
    Attached Thumbnails OS X Services-screen-shot-2015-11-08-18.00.41.png  
    11-08-2015 12:03 PM
  2. frasier013's Avatar
    I've actually figured it out myself so thought i'd share it here should any one find it helpful.
    1. Open Automator and choose the Service template.
    2. Add a 'Run Shell Script' action for a script open "www[.]imdb[.]com/find?ref_=nv_sr_fn&q=$(ruby -rcgi -e 'print CGI.escape $<.read.chomp')&s=all"
    3. Save the service.

    NOTE: If you use this and copy and past the script, be sure to include the "http : //". I had to delete it in order to be able to post my message. Seems you're not allowed to post links until you have published 10 posts on here, and I only just signed up.
    Attached Thumbnails OS X Services-screen-shot-2015-11-08-18.34.28.jpg  
    Last edited by frasier013; 11-08-2015 at 12:39 PM. Reason: Just cleaning up the grammar.
    11-08-2015 12:36 PM

Similar Threads

  1. Replies: 1
    Last Post: 11-08-2015, 08:40 AM
  2. How do I get OS X Photos?
    By iMore Question in forum General Apple News & Discussion
    Replies: 1
    Last Post: 11-07-2015, 05:31 PM
  3. PowerPhotos will help you merge libraries in Photos for OS X
    By in forum News Discussion
    Replies: 0
    Last Post: 11-06-2015, 12:12 PM
  4. OS X 10.11.2 Public Beta 2 now ready for download
    By in forum News Discussion
    Replies: 0
    Last Post: 11-05-2015, 12:22 PM
  5. NetShred X picks up support for OS X El Capitan
    By in forum News Discussion
    Replies: 0
    Last Post: 11-05-2015, 10:12 AM