| From: luminositi | Date Sent: 2010-03-10 10:00:17 |
| Subject: mbox export & Labels/Priorities | To: Mailsmith Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Greetings,
I’ve been looking, so far in vain, for Mailsmith Label and
Priority tags in the mbox export (File> Export Mail...).
Are there any Applescripts available that export a Mailbox with
these settings intact --preferably as tab-separated-text-- to
help with experimentation? I found a reference to a “BareBones
flat-export script” but cannot find it.
Thanks
-Said Nuseibeh
--
You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
To post to this group, send email to mailsmith-talk@[Protected]
To unsubscribe from this group, send email to mailsmith-talk+unsubscribe@[Protected]
For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.
| From: Jason Davies | Date Sent: 2010-03-10 15:58:57 |
| Subject: Re: mbox export & Labels/Priorities | To: Mailsmith Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
On 10 Mar 2010, at 18:00, <luminositi@[Protected]> <luminositi@[Protected]> wrote:
>
> Are there any Applescripts available that export a Mailbox with these settings intact --preferably as tab-separated-text-- to help with experimentation? I found a reference to a “BareBones flat-export script” but cannot find it.
If you run this
tell application "Mailsmith"
activate
get properties of selection
end tell
when a message is selected, it will let you see what a message comprises of.. You would then have to create a new one with the properties you want (adding the labels etc as text). If you want something to customise, search for scripts to resend queued messages (I can't find a local copy) or resend with attachments (they're out there, from the days when resending didn't include the attachment or something...about ten years ago! Whatever it was, it was written by Christian Smith IIRC).
--
You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
To post to this group, send email to mailsmith-talk@[Protected]
To unsubscribe from this group, send email to mailsmith-talk+unsubscribe@[Protected]
For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.
| From: Jason Davies | Date Sent: 2010-03-10 15:59:45 |
| Subject: Re: mbox export & Labels/Priorities | To: Mailsmith Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
ps that script I included, run in Applescript Editor wth Result showing to see the output.
On 10 Mar 2010, at 18:00, <luminositi@[Protected]> <luminositi@[Protected]> wrote:
>
> Are there any Applescripts available that export a Mailbox with these settings intact --preferably as tab-separated-text-- to help with experimentation? I found a reference to a “BareBones flat-export script” but cannot find it.
--
You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
To post to this group, send email to mailsmith-talk@[Protected]
To unsubscribe from this group, send email to mailsmith-talk+unsubscribe@[Protected]
For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.
| From: luminositi | Date Sent: 2010-03-11 22:15:52 |
| Subject: Re: mbox export & Labels/Priorities | To: Mailsmith Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Nifty.
>get properties of selection
snip
>...will let you see what a message comprises of
There:
label index:6, label name:"Red", notes:""
Feels like finding an easter egg
>run in Applescript Editor wth Result showing to see the output
Helpful :-)
How would I go about enhancing this script to save the results
as a text document in a given directory? When I do a manual Save
As... from the Script editor, only the script appears to be
saved. And would this enhanced script have to be different were
I to have all the messages in a mailbox selected ? Or if a
mailbox itself was selected ??
Thanks for your insights
-Said
--
You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
To post to this group, send email to mailsmith-talk@[Protected]
To unsubscribe from this group, send email to mailsmith-talk+unsubscribe@[Protected]
For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.
| From: Jason Davies | Date Sent: 2010-03-12 13:54:39 |
| Subject: Re: mbox export & Labels/Priorities | To: Mailsmith Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
On 12 Mar 2010, at 06:15, <luminositi@[Protected]> <luminositi@[Protected]> wrote:
>>
>> run in Applescript Editor wth Result showing to see the output
>
> Helpful :-)
>
>
> How would I go about enhancing this script to save the results as a text document in a given directory? When I do a manual Save As... from the Script editor, only the script appears to be saved. And would this enhanced script have to be different were I to have all the messages in a mailbox selected ? Or if a mailbox itself was selected ??
Applescript should let you add them together. Do you want a message or text document?
set myText to label index of seleciton & " " & notes of selection & someotherfieldyouwant
will compile the bits you want. I don't have many scripts to hand to cobble together anything but search the web for mailsmith scripts with phrases like "make new"
I'm pretty basic on AS. I would probably start with gathering the components then do something with
insert text myText
which is about as inelegant as you can get. Also try recording a script from Mailsmith's script menu.
--
You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
To post to this group, send email to mailsmith-talk@[Protected]
To unsubscribe from this group, send email to mailsmith-talk+unsubscribe@[Protected]
For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.
| From: luminositi | Date Sent: 2010-03-12 23:04:26 |
| Subject: Re: mbox export & Labels/Priorities | To: Mailsmith Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
>start with gathering the components
Thanks Jason. Good traction
-Said
--
You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
To post to this group, send email to mailsmith-talk@[Protected]
To unsubscribe from this group, send email to mailsmith-talk+unsubscribe@[Protected]
For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.