• 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: Short form-solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Short form-solved


  • Subject: RE: Short form-solved
  • From: "Script2" <email@hidden>
  • Date: Fri, 5 Sep 2008 15:46:24 -0400
  • Importance: Normal

Thanks all. It worked.

Ruby

-----Original Message-----
From: applescript-users-bounces+script2=email@hidden
[mailto:applescript-users-bounces+script2=email@hidden]
On Behalf Of Michelle Steiner
Sent: Friday, September 05, 2008 3:37 PM
To: Applescript Users
Subject: Re: Short form


On Sep 5, 2008, at 12:19 PM, Script2 wrote:

> I tried this but does not work. What am I doing wrong, it just
> displays CN
> not found or TO not found.


> set sname to characters 19 thru 20 of aWord

That returns a list of characters, not a string.  In other words, it
returns {"C","N"} instead of "CN"

You need

set sname to text 19 thru 20 of aWord

-- Michelle

--
Please contribute to the Leukemia and Lymphoma Society, and help me
meet my fund raising goal for my marathon training.
<http://www.active.com/donate/tntdms/tntdmsMSteine>




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
tern.com
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Short form (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Short form
  • Next by Date: InDesign CS2: Test graphics for item layer
  • Previous by thread: Re: Short form
  • Next by thread: Re: Folder Actions Question
  • Index(es):
    • Date
    • Thread