Executing AppleScript from NSString?
Executing AppleScript from NSString?
- Subject: Executing AppleScript from NSString?
- From: Matt Gemmell <email@hidden>
- Date: Sun, 23 Dec 2001 20:49:33 +0000
Hi everyone,
Firstly, I feel I should apologise for coding on a Sunday evening two days
before Christmas. Now that that's over with, here's a question:
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.
I'm not asking for code or a complete solution, just pointers as to where I
should look in the Cocoa reference material to find out what I need to know.
Thanks for any help or comments, and all the best for the holidays. :-)
Best wishes,
-Matt
--
Matt Gemmell
Scotland Software
<
http://www.scotlandsoftware.com/>