set offsetGrif to offset of keyword in webText
set offsetGrif to offset of keyword in webText
- Subject: set offsetGrif to offset of keyword in webText
- From: Greg <email@hidden>
- Date: Fri, 12 Aug 2005 12:19:56 -0700
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.
Greg
_______________________________________________
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