• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calling OSX AppleScript from Classic Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Calling OSX AppleScript from Classic Apps
      • From: Geoff Canyon <email@hidden>
    • Re: Calling OSX AppleScript from Classic Apps
      • From: Gary Lists <email@hidden>
References: 
 >Re: Calling OSX AppleScript from Classic Apps (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: why won't force-eject work in a script, but will from command line?
  • Next by Date: Re: Calling OSX AppleScript from Classic Apps
  • Previous by thread: Re: Calling OSX AppleScript from Classic Apps
  • Next by thread: Re: Calling OSX AppleScript from Classic Apps
  • Index(es):
    • Date
    • Thread