Re: set offsetGrif to offset of keyword in webText
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