• 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: set offsetGrif to offset of keyword in webText
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set offsetGrif to offset of keyword in webText


  • Subject: Re: set offsetGrif to offset of keyword in webText
  • From: Adam Wuellner <email@hidden>
  • Date: Fri, 12 Aug 2005 16:27:52 -0500

On 8/12/05, Greg <email@hidden> wrote:
> This seems fairly simple, both keywordHand and webText are identified
> as class string. KeywordHand is a single word and webText is the
> contents of a web page. It works fine if I put in a few paragraphs
> manually in place of webText (between quotes). offsetGrif comes back 0.
>
> set offsetGrif to offset of keywordHand in webText
>
>
> For debugging I tried:
>
> display dialog (words 1 thru 3 of webText)
>
> I get:
>
> AppleScript Error
>   Can't get words 1 thru 3 of "
> ".
>
> and the event log shows:
>
>      "Can't get words 1 thru 3 of \"
> \"."
>
> Thanks for any suggestions.

What does
  display dialog webText
show you?
 _______________________________________________
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

References: 
 >set offsetGrif to offset of keyword in webText (From: Greg <email@hidden>)

  • Prev by Date: Re: POSIX and lists question
  • Next by Date: Re: Getting source text of a compiled script
  • Previous by thread: set offsetGrif to offset of keyword in webText
  • Next by thread: Re: set offsetGrif to offset of keyword in webText
  • Index(es):
    • Date
    • Thread