Dragdata of email from Mail OSX

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Dragdata of email from Mail OSX

Post by JosepM » Fri Sep 07, 2012 11:51 pm

Hi,

I try to drop emails from Mail app into one stack but the the dragdata is empty and no keys for the dragdata. I know that I can drop into a folder and drop from the folder, but I would like drop directly, saving the .eml file from the link and save the path to this.

I see that I can drop into Textedit, an this show like a link and if you edit it you found something like:

message:%3C29EA33CF-5EA8-45FB-8F93-22BACE10D918@myemail.com%3E

How can get this link?

The same issue if you drop a contact from the Agenda. How can get the dragdata of the vcf?

Salut,
Josep M

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Dragdata of email from Mail OSX

Post by Mark » Tue Sep 11, 2012 1:57 pm

Hi Josep,

Apparently, there is an incompatibility between Mail.app and LiveCode. However, you can drop an e-mail onto a LiveCode app and use apple events to handle it. You could also use a little AppleScript droplet and make this droplet talk to your LiveCode app.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply