Greetings readers,
I used the following Applescript command to save an email message (in Outlook) as a file in a special folder:
save objInSelection in myAttachmentsFolder
However, I don't know how to get the filename under which the message was saved. Any idea how?
Normally, the filename is the message subject after translating some characters (such as : to - ) and adding a suffix such as [1] if the original filename already exists. So for example, the first time a message titled "Re: WTC" was saved, its filename was "Re- WTC.eml". The second time it was "Re- WTC[1].eml".
So, the question is: how can I get the name of the file just saved?
Thanks!
Sleiman
I used the following Applescript command to save an email message (in Outlook) as a file in a special folder:
save objInSelection in myAttachmentsFolder
However, I don't know how to get the filename under which the message was saved. Any idea how?
Normally, the filename is the message subject after translating some characters (such as : to - ) and adding a suffix such as [1] if the original filename already exists. So for example, the first time a message titled "Re: WTC" was saved, its filename was "Re- WTC.eml". The second time it was "Re- WTC[1].eml".
So, the question is: how can I get the name of the file just saved?
Thanks!
Sleiman