• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Additions: Embracing the Horror of Unix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Additions: Embracing the Horror of Unix


  • Subject: Re: Scripting Additions: Embracing the Horror of Unix
  • From: Reinhold Penner <email@hidden>
  • Date: Wed, 30 Jan 2002 21:12:19 -1000

Jon,

> I decided to lookup dichotomy, so I used this nifty Eudora script:
>
> tell application "Eudora"
> set t to selected text
> end tell
> tell application "Internet Explorer"
> GetURL "http://www.dictionary.com/cgi-bin/dict.pl?term="; & t
> Activate
> end tell
>
> Try and do THAT in perl or a shell script. And I know that dict.pl
> *is* a perl script, OK?

You asked for it:

do shell script "curl http://www.dictionary.com/cgi-
bin/dict.pl?term=dichotomy"

I could decode the HTML as well and just return the resultItemStart
portions of the page. I really think that the AS access to the shell is
the single most significant advance in the history of AS.

-Reinhold


References: 
 >Re: Scripting Additions: Embracing the Horror of Unix (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Finder Duplicate Operation timing out
  • Next by Date: Re: Scripting OS X Mail app
  • Previous by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Index(es):
    • Date
    • Thread