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:
Jon Pugh <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 23 Mar 2006 20:22:38 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
At 7:18 PM -0500 3/23/06, Lloyd Butler wrote:
>Unfortunately a 'do shell script' will not compile in HC, even if you try and wrap it in a call to the Finder.

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.

Jon

ATOM RSS1 RSS2