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:
Brian Johnson <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 22 Oct 2007 20:05:35 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (16 lines)
Levon Spradlin wrote:

> I get an AppleScript Runtime Error when trying this simple code.
>
> tell application "Finder"
>    set theDesktop to path to desktop as Unicode text
> end tell

You can also do this by pulling

   set theDesktop to path to desktop as Unicode text

OUTSIDE of the Finder tell block.

    -B.Johnson, Dept of Architecture, University of Washington, Seattle

ATOM RSS1 RSS2