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

Re: AppleScript with Japanese filenames


  • Subject: Re: AppleScript with Japanese filenames
  • From: Peter Waibel <email@hidden>
  • Date: Wed, 25 Oct 2006 13:53:37 +0200

Try this:


set filePath_hfs to (choose file) as string --return filePath_hfs set filePath_posix to (POSIX path of file filePath_hfs) --return filePath_posix


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:filePath_posix} end tell set subject to "xxxx" end tell activate end tell

Peter


_______________________________________________ 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
References: 
 >AppleScript with Japanese filenames (From: apparao <email@hidden>)

  • Prev by Date: Re: "~" vs. "POSIX file"
  • Next by Date: Re: "~" vs. "POSIX file"
  • Previous by thread: AppleScript with Japanese filenames
  • Next by thread: Re: AppleScript with Japanese filenames
  • Index(es):
    • Date
    • Thread