Re: accent problems in Mail
Re: accent problems in Mail
- Subject: Re: accent problems in Mail
- From: Michael Terry <email@hidden>
- Date: Sun, 23 Nov 2003 12:17:08 -0800
On Nov 23, 2003, at 10:35 AM, Matyas Ferenc Farkas wrote:
hi,
solving using terms from, i runned into an another problem: if i
wanted to create a mailbox, with a name, which contains accented
characters: ai, i'v got a
get mailbox "_PEOPLE/Andras Schnabel"
end tell
Script Create New Personal #2C9B3.scpt finished
--> Mail got an error: NSReceiverEvaluationScriptError: 4
of course this mailbox exists. who has got the problem?
"perform mail action with messages" is not valid word in applescript,
so the dictionary of Mail is needed in the compiling process. that is
it.
matyas
Well, isn't that strange?
If your mailboxes, for instance 'Andras Schnabel', are unique, you
could reference them like this:
tell application "Mail" to get mailbox "Andras Schnabel"
Mail will find it even if it's not a top-level mailbox. Or, you can
specify a partial object path to the mailbox like this:
tell application "Mail" to get mailbox "Andras Schnabel" of mailbox
"_PEOPLE"
Mike
_______________________________________________
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.