Re: AppleScript with Japanese filenames
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