MACSCRPT Archives

August 2007

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:
Wed, 29 Aug 2007 11:07:18 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
I swear programming would be nothing but fun without syntax. In 
Tiger, Applescript 1.10.7:

set onePath to (path to desktop as string) & (docName as string)
set newPath to ("Server:Folder:" & (docName as string)

tell application "Finder"
duplicate item onePath to newPath
end tell

--> "Can't handle items of this class"

Same result with move.

select item onePath
class of selection -->"property"


Seems like this worked in Panther.  What am I missing here?
-- 

Bill Steele
[log in to unmask]

ATOM RSS1 RSS2