Jump to content

lolobo

Newbies
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About lolobo

  • Rank
    newbie
  1. lolobo

    problems with mail app (os x)

    The script run from filemaker and as standalone application. The whole script: set originFolder to desktop folder set caminoanexo to choose file with prompt "Selecciona el fichero con el material a enviar" set EPS_Location to caminoanexo & ".fh9" as string tell application "FreeHand MX" open caminoanexo without Dialogs save last document as FH9 in file EPS_Location without IncludeFHDocInEPS close last document end tell tell application "Finder" set EPS_Location to EPS_Location as alias end tell --this part get the filemaker data. U need to define this fields. tell application "FileMaker Developer" set the_subject to the cell "subject" of current record of layout "Ordenes" set the_subject2 to the cell "subject2" of current record of layout "Ordenes" set the_sender to the cell "emailsender" of current record of layout "Ordenes" set email_envio to the cell "email" of current record of layout "Ordenes" end tell --This part make the message and send it. tell application "Mail" set newMessage to make new outgoing message with properties {subject:the_subject & the_subject2} tell newMessage set sender to the_sender make new to recipient at end of to recipients with properties {address:email_envio} tell content make new attachment with properties {file name:EPS_Location} at after the last paragraph end tell send newMessage end tell end tell That's all!!! Lolo
  2. lolobo

    problems with mail app (os x)

    thanks Robert, this work!. And only i need to make this change: tell application "Finder" set EPS_Location to EPS_Location as alias end tell And is a filemaker question! but i resume the script to only the no working part I use filemaker in the script to make the outgoing message (adresss, subject, text, etc) If anyone are interested in this, please post or send me a msg.!! Thx Robert!!
  3. Hello, I have an applescript to send a freehand file from filemaker. I need to change the freehand mx file to freehand 9 and send it with mail. The script: set originFolder to desktop folder set caminoanexo to choose file with prompt "Selecciona el fichero mx" set EPS_Location to originFolder & caminoanexo & ".fh9" as string tell application "FreeHand MX" open caminoanexo without Dialogs save last document as FH9 in file EPS_Location without IncludeFHDocInEPS close last document end tell tell application "Mail" set newMessage to make new outgoing message with properties {subject:"prueba tal y tal", content:"Atenci
×

Important Information

By using this site, you agree to our Terms of Use.