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: Klaus, FourthWorld, heatherlaine, kevinmiller

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

MS Outlook

Post 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 :)
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10509
Joined: Wed May 06, 2009 2:28 pm

Re: MS Outlook

Post 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
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10105
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: MS Outlook

Post by FourthWorld »

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: 199
Joined: Tue Aug 04, 2015 11:55 am

Re: MS Outlook

Post 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 :)
mrcoollion
Posts: 744
Joined: Thu Sep 11, 2014 1:49 pm

Re: MS Outlook

Post by mrcoollion »

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

Re: MS Outlook

Post by sphere »

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 »

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: 744
Joined: Thu Sep 11, 2014 1:49 pm

Re: MS Outlook

Post by mrcoollion »

maybe this thread ?
viewtopic.php?t=30287
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: MS Outlook

Post 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
Post Reply