MACSCRPT Archives

May 2010

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 21 May 2010 10:06:46 -0400
Content-Type:
text/plain
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