Re: Executing AppleScript from NSString?
Re: Executing AppleScript from NSString?
- Subject: Re: Executing AppleScript from NSString?
- From: Enigmarelle Development <email@hidden>
- Date: Sun, 23 Dec 2001 15:59:12 -0500
On Sunday, December 23, 2001, at 03:49 PM, Matt Gemmell wrote:
I'm interested in being able to take an NSString and execute its contents
as
AppleScript; i.e. assume that the NSString contains valid AppleScript
code,
and running that AppleScript. Naturally, I'd like to do so without having
to
resort to Carbon stuff.
You could pass it to osascript I think (never done it). man osascript in
terminal.
"osascript executes the given script file, or standard input if none is
given."
-john c. warner
enigmarelle development
http://www.enigmarelle.com/