Re: Calling OSX AppleScript from Classic Apps
Re: Calling OSX AppleScript from Classic Apps
- Subject: Re: Calling OSX AppleScript from Classic Apps
- From: Nigel Smith <email@hidden>
- Date: Fri, 04 Jul 2003 11:20:02 +0100
On 4/7/03 7:29, "Christopher Nebel" <email@hidden> wrote:
>
On Thursday, June 26, 2003, at 4:59 AM, Nigel Smith wrote:
>
>
> How can I make a Classic app use the OSX AppleScript (v1.9.1 in my
>
> case)
>
> instead of Classic AppleScript (v1.8.3)?
>
>
You can't. That's what running in Classic means -- you get the Classic
>
versions of everything.
That's what I thought, though I hoped otherwise.
>
> If I can't force the AppleScript version used -- how can I convert the
>
> Unicode data from a "do shell script" step into a string when using
>
> AS1.8.3?
>
>
I can't think of any straightforward way to do this from Classic. In
>
fact, I can't think of *any* way to do it without writing a helper
>
applet that runs natively.
I found a way, using "extract string" from the Satimage OSAX (thanks,
Emmanuel!) called via the OSX Finder.
>
One wonders why you're trying to use a
>
Classic applet to do this in the first place.
Classic application, not applet.
OK, you found me out -- I wanted to run shell scripts from inside HyperCard,
as much to prove a point as anything. And I can. Hey, if Apple won't update
HC, we just have to do what we can :-)
Thanks a lot,
Nigel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.