MS Outlook

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cmhjon
Posts: 191
Joined: Tue Aug 04, 2015 11:55 am

MS Outlook

Post by cmhjon » Mon Nov 09, 2020 9:54 pm

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 :)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10319
Joined: Wed May 06, 2009 2:28 pm

Re: MS Outlook

Post by dunbarx » Mon Nov 09, 2020 11:39 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10048
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: MS Outlook

Post by FourthWorld » Tue Nov 10, 2020 2:20 am

Does the revMail command have options for attachments?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

cmhjon
Posts: 191
Joined: Tue Aug 04, 2015 11:55 am

Re: MS Outlook

Post by cmhjon » Wed Nov 11, 2020 6:34 pm

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 :)

mrcoollion
Posts: 738
Joined: Thu Sep 11, 2014 1:49 pm

Re: MS Outlook

Post by mrcoollion » Thu Nov 12, 2020 10:07 am


sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: MS Outlook

Post by sphere » Thu Nov 12, 2020 12:30 pm

LC can send emails with attachments. Look at the email example of Sarah Reichelt.

glenn9
Posts: 234
Joined: Wed Jan 15, 2020 10:45 pm

Re: MS Outlook

Post by glenn9 » Thu Nov 12, 2020 3:27 pm

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

mrcoollion
Posts: 738
Joined: Thu Sep 11, 2014 1:49 pm

Re: MS Outlook

Post by mrcoollion » Thu Nov 12, 2020 4:35 pm

maybe this thread ?
viewtopic.php?t=30287

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: MS Outlook

Post by sphere » Thu Nov 12, 2020 9:25 pm

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

Post Reply