• 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
Calling OSX AppleScript from Classic Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling OSX AppleScript from Classic Apps


  • Subject: Calling OSX AppleScript from Classic Apps
  • From: Nigel Smith <email@hidden>
  • Date: Thu, 26 Jun 2003 12:59:34 +0100

Dear All,

I thought I'd seen this before, but couldn't find it in the archives...

How can I make a Classic app use the OSX AppleScript (v1.9.1 in my case)
instead of Classic AppleScript (v1.8.3)?

For example, this script:

tell application "BBEdit 5.1"
set theDoc to make new document
insert text (get AppleScript's version) as string
end tell

...gives a BBEdit doc containing "1.9.1" when run from the OSX Script
Editor, but sets the contents to "1.8.3" when run from the BBEdit Scripts
Palette.

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?

TIA,

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.

  • Prev by Date: Eudora pause
  • Next by Date: Re: tab delimited data file
  • Previous by thread: Re: Eudora pause
  • Next by thread: Corrupt Finder Dictionary/Preference?
  • Index(es):
    • Date
    • Thread