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:
Bill Steele <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 21 May 2010 09:55:03 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
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?


Bill Steele
[log in to unmask]

ATOM RSS1 RSS2