• 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
Script from Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script from Book


  • Subject: Script from Book
  • From: Robert Love <email@hidden>
  • Date: Wed, 22 Sep 2004 21:46:58 -0500

I'm new to Applescript and am trying the Applescript described in the book "Mac OSX Panther Hacks" that searches Amazon for a wish list for each person in your address book. Besides having a typo, the script crashes when I run it.

I tried Googling on this hack and found one or two inquiries about the typo but no answers. I have also tried writing the authors of the book with no response.

So, first, does anybody have a working version of this Applescript?
Second, when it crashes, it appears to crash on the line

  set beginID to (offset of "&id=" in thisWishPage) + 4

Is there some problem with the offset function? I note that thisWishPage contains many, many lines of text. Perhaps too much text?

Thanks for any assistance.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: [SOLUTION] help with mail.app please
  • Next by Date: (no subject)
  • Previous by thread: Re: IS: Debugging Techniques -- WAS: Re: cure for NSArgumentEvaluationScriptError?
  • Next by thread: Re: Vooley-voo
  • Index(es):
    • Date
    • Thread