• 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
AppleScript with Japanese filenames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript with Japanese filenames


  • Subject: AppleScript with Japanese filenames
  • From: apparao <email@hidden>
  • Date: Wed, 25 Oct 2006 15:32:29 +0530

Hi Members,

I have a sample JPG file with name 新しいノート.jpg  placed on Desktop. I want to send that file as a mail attachment to some body. For that i wrote the following script:

tell application "Mail"
set newMessage to make new outgoing message
tell newMessage
set visible to true
set sender to "apparao <email@hidden>"
tell content
make new attachment with properties {file name:"/Desktop/新しいノート.jpg"}
end tell
 set subject to "新しいノート.jpg"
end tell
activate
end tell

By using above script, mail app is activated and creating new compose window with out 新しいノート.jpg attachment. 

English version is working fine and not with Japanese file names.

Am i doing any thing wrong in Apple script (or) Is Apple script, not supports Japanese filenames?

Regards,
Apparao M.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: AppleScript with Japanese filenames
      • From: kai <email@hidden>
    • Re: AppleScript with Japanese filenames
      • From: Christopher Nebel <email@hidden>
    • Re: AppleScript with Japanese filenames
      • From: Peter Waibel <email@hidden>
  • Prev by Date: Re: "~" vs. "POSIX file"
  • Next by Date: Re: "~" vs. "POSIX file"
  • Previous by thread: Re: Scripting Capture of an Internet Connect Window?
  • Next by thread: Re: AppleScript with Japanese filenames
  • Index(es):
    • Date
    • Thread