• 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: accent problems in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >accent problems in Mail (From: Mátyás Ferenc Farkas <email@hidden>)

  • Prev by Date: Creating multiple documents from Excel to Quark 4
  • Next by Date: Re: accent problems in Mail
  • Previous by thread: accent problems in Mail
  • Next by thread: Re: accent problems in Mail
  • Index(es):
    • Date
    • Thread