• 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: Unicode, AppleScript, and the shell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode, AppleScript, and the shell


  • Subject: Re: Unicode, AppleScript, and the shell
  • From: John Delacour <email@hidden>
  • Date: Thu, 24 Jul 2003 21:03:38 +0100
  • Mac-eudora-version: 6.0a28

[ Sent UTF-7 ENCODED ]



At 1:00 pm -0400 24/7/03, Sean McBride wrote:

I tried this:

tell application "Finder"
set a to "hello" as Unicode text
set b to +data utxt30A4; as Unicode text
set c to a & b
end tell

If in my set-up I use a Finder tell block (why!), then the Finder crashes, but I get the right answer with no crash of Script Editor; however if I use SE 2.0 beta or Smile I do get a crash in Jaguar, so there is nothing wrong with your code so far as I can see.

However it depends very much on what combination of OS and Script Editor you are using. As I write, I'm running Jaguar original on a new partition and am in them middle of downloading all the updates, and this does not work at all in either SE 2 or SE 1.9. I'll try it again after the updates have cut in.


set a to "hello" as Unicode text
set b to +AKs-data utxt30A4+ALs as Unicode text
set c to a & b

There are a number of other ways to do it, which I have previously posted to the list.

JD


.
_______________________________________________
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.

References: 
 >Re: Unicode, AppleScript, and the shell (From: Paul Berkowitz <email@hidden>)
 >Re: Unicode, AppleScript, and the shell (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Unicode, AppleScript, and the shell
  • Next by Date: UI Scripting FileMaker
  • Previous by thread: Re: Unicode, AppleScript, and the shell
  • Next by thread: Re: Unicode, AppleScript, and the shell
  • Index(es):
    • Date
    • Thread