Launch external program (email with attachment)

Copy link to clipboard
Copied
Hi,
maybe a simple question with a simple anwser
With Authotkey (Windows) I can launch Thunderbird respectively opening a new e-mail with an attachment:
Run, thunderbird.exe -compose "attachment='%clipboard%'"
I don't find the command in Photoshop (Java)scripting to do the same: opening a e-mail with the current image.
Is there such a command to launch external programs?
Thanks!
mtemp
Explore related tutorials & articles
Copy link to clipboard
Copied
There is an app.system() call that you can use. I don't know if it's documented in the PS docs but may be present in the Bridge docs. I've used it in several of my scripts.
Copy link to clipboard
Copied
I was not able to set Thunderbird to work with options for attaching image file using file.execute or app.system(). I use windows and all was able to do is write a windows bat file to launch Thunderbird and attach the current documents backing file. Russell Brown web site has an Adobe emailer panel cor CS6 and CC most likely used flash panel so will not work in CC 2014. The script suppots several email clients and Windows and Mac. It can process the current document or all open documents and has options for re-size, sharpening and converting to srgb. So it attaches or perhaps embeds small jpegs or png. I do not know I did not install it I wanted to be any to send any image file format including layer files. Do not care if email gets bounced because of size. http://russellbrown.com/scripts.html His video http://av.adobe.com/russellbrown/EmailerPanel_SM.mp4 The video I had to download using save linnk as and the play from my machine
My crude Photoshop script that works on windows http://www.mouseprints.net/old/dpr/email.jsx
Copy link to clipboard
Copied
Was able to get app.system() to work by using the DOS Start command to start Thunderbird with attachments but still can not stop a DOS window from briefly opening. The last edit I dis did nor show here??

