MACSCRPT Archives

October 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:
"Peter J. Hartmann" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Tue, 23 Oct 2007 08:36:14 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
tell application "Finder"
	set theDesktop to (path to desktop folder) as Unicode text
end tell

Am 23.10.2007 um 04:00 schrieb MACSCRPT automatic digest system:

>     I get an AppleScript Runtime Error when trying this simple  
> code. I am
> copying it from known working tutorial scripts, thinking that my  
> syntax was
> off in my project. It makes my head hurt when simple does not work.  
> Am I
> doing something wrong?
>
> tell application "Finder"
>     set theDesktop to path to desktop as Unicode text
> end tell
>
> Finder got an error: Can't make desktop into type constant.


___ Peter Hartmann ________

mailto:[log in to unmask]

ATOM RSS1 RSS2