Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Launch external program (email with attachment)

Guest
Nov 04, 2014 Nov 04, 2014

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

TOPICS
Actions and scripting
943
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Advisor ,
Nov 04, 2014 Nov 04, 2014

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 06, 2014 Nov 06, 2014

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

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 07, 2014 Nov 07, 2014
LATEST

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??

Capture.jpg

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines