MACSCRPT Archives

March 2006

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:
John Delacour <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 24 Mar 2006 08:38:25 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
At 8:22 pm -0800 23/3/06, Jon Pugh wrote:

>I've gotten this to work:
>
>tell application "Finder"
>	set t to Çevent sysoexecÈ "echo barf"
>end tell
>
>but it returns Unicode which HyperCard can't deal with.  I'm sure I 
>had a way of converting utf8 to MacRoman, but I can't find it now.
>
>Perhaps someone else can help.


Something like this? :


tell application "Finder" to Çevent sysoexecÈ "cd; cd desktop;" & Â
  "echo ŽtŽ | iconv -f utf8 -t macroman > trash.txt; cat trash.txt"

JD

ATOM RSS1 RSS2