Calling OSX AppleScript from Classic Apps
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.