RE: Short form-solved
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