• 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: How do I delete the 1st three characters from a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I delete the 1st three characters from a variable


  • Subject: Re: How do I delete the 1st three characters from a variable
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 3 Jan 2006 20:37:29 -0700

On Jan 3, 2006, at 8:09 PM, kai wrote:

Which, since we seem to be on a roll here, could also be applied to:

	text from word 2 to word -2

	text from ninth paragraph to end

text from the beginning to the fifth text item

here is an interesting variation that doesn't work:

text from the ninth word to the seventh paragraph

it evaluates the seventh paragraph before trying to extract the text. Here is the log entry:

tell current application
get text from word 9 to "www.tempetoyota.com "
"Can't make text from word 9 to \"www.tempetoyota.com \" into type reference."


This does work:

tell foo to get text from the ninth word to the seventh paragraph

So does this:

text from the ninth word to paragraph 7

--
You can not change the world without perforce changing yourself.

_______________________________________________
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


  • Follow-Ups:
    • Re: How do I delete the 1st three characters from a variable
      • From: kai <email@hidden>
References: 
 >Re: How do I delete the 1st three characters from a variable (From: Shane Stanley <email@hidden>)
 >Re: How do I delete the 1st three characters from a variable (From: kai <email@hidden>)

  • Prev by Date: Re: How do I delete the 1st three characters from a variable
  • Next by Date: Re: How do I delete the 1st three characters from a variable
  • Previous by thread: Re: How do I delete the 1st three characters from a variable
  • Next by thread: Re: How do I delete the 1st three characters from a variable
  • Index(es):
    • Date
    • Thread