Page 1 of 1

MS Outlook

Posted: Mon Nov 09, 2020 9:54 pm
by cmhjon
Hi all,

I am working on an app that generates an AppleScript which is then executed in Microsoft Outlook to create a new email. Two questions:

1. When issuing an 'answer file' command (to select the would-be file attachments), how can I make it so that only PDF files are selectable? I looked at the dictionary and this forum for examples but can't find the right syntax for PDF files.
2. Once the user selects the PDF file attachment(s), is there a way to pass those selections through to Outlook so that the corresponding files are automatically attached to the generated email?

Thanks,
Jon :)

Re: MS Outlook

Posted: Mon Nov 09, 2020 11:39 pm
by dunbarx
Hi.

#1- Does the "answer file with type" do the trick?

#2- Not sure how LC would do that, but someone might know a way.

Craig

Re: MS Outlook

Posted: Tue Nov 10, 2020 2:20 am
by FourthWorld
Does the revMail command have options for attachments?

Re: MS Outlook

Posted: Wed Nov 11, 2020 6:34 pm
by cmhjon
Hi FourthWorld,

In looking at the dictionary, it doesn't seem like it does. Maybe LC will add this functionality in a future version.

Thanks everyone,
Jon :)

Re: MS Outlook

Posted: Thu Nov 12, 2020 10:07 am
by mrcoollion

Re: MS Outlook

Posted: Thu Nov 12, 2020 12:30 pm
by sphere
LC can send emails with attachments. Look at the email example of Sarah Reichelt.

Re: MS Outlook

Posted: Thu Nov 12, 2020 3:27 pm
by glenn9
sphere wrote:
Thu Nov 12, 2020 12:30 pm
LC can send emails with attachments. Look at the email example of Sarah Reichelt.
Hi sphere,

Do you have a link to the example from Sarah Reichelt?

Thanks,

Glenn

Re: MS Outlook

Posted: Thu Nov 12, 2020 4:35 pm
by mrcoollion
maybe this thread ?
viewtopic.php?t=30287

Re: MS Outlook

Posted: Thu Nov 12, 2020 9:25 pm
by sphere
mrcoollion wrote:
Thu Nov 12, 2020 4:35 pm
maybe this thread ?
viewtopic.php?t=30287
Glenn, you'll find the stack in that thread as mrcoolion says