MACSCRPT Archives

October 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 22 Oct 2007 20:05:35 -0700
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Brian Johnson <[log in to unmask]>
Content-Type:
TEXT/PLAIN; charset=US-ASCII; format=flowed
In-Reply-To:
MIME-Version:
1.0
Comments:
cc: Levon Spradlin <[log in to unmask]>
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