Re: build a list of mailboxes
Re: build a list of mailboxes
- Subject: Re: build a list of mailboxes
- From: Axel Luttgens <email@hidden>
- Date: Sun, 09 Mar 2014 10:37:34 +0100
Le 9 mars 2014 à 09:47, koenig.yvan a écrit :
> [...]
> Hello Christopher
>
> You understood what I need but you forgot a detail.
>
> What you decipher is an English error message.
> As I am French I didn't get such ones.
> Here they are :
> (*Il est impossible de rendre «class mbxp» "fournisseurs/Apple/iTunes Store" of application "Mail" en type text.*)
>
> This is why I used
> "«class mbxp» " & quote
> and quote &" of application"
>
> as tags to split the messages.
>
> If you may write a shell script able to use the delimiters which I use I am interested.
> If you can't I must stay with my bad old code.
In this case, it is just a matter to change one line:
set AppleScript's text item delimiters to {"Il est impossible de rendre {", "} en type string."}
But such context changes (AS string -> shell stream -> AS string) are always a bit fragile.
For example, should one have mailboxes with names containing quotes, I guess the perl regex would need some rewriting...
Axel
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden