MACSCRPT Archives

May 2010

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v1078)
Content-Type:
text/plain; charset=us-ascii
Date:
Fri, 21 May 2010 10:06:46 -0400
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Mark Lively <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
quoted-printable
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (15 lines)
On May 21, 2010, at 9:55 AM, Bill Steele wrote:

> I've been doing this for years and all of a sudden...
> 
> set foo to choose folder --> "HardDisk:foldername:otherfoldername:"
> set bar to list folder foo
> set oneFile to item 2 of bar --> "somefile.txt
> set newName to foo & oneFile as string --> "HardDisk:foldername:otherfoldername:#somefile.txt"
> 
> Where did the (expletive deleted) pound sign come from?

What is Applescript's text item delimiters set to?

-Mark
Who just had that randomly break in a script yesterday.

ATOM RSS1 RSS2