Is it possible for me to script Illustrator to save as PDF and attach to email ?

Hi,
I am after a script to save my current working file as PDF (with some settings) and then bring up a blank outlook email with that file attached ?
I do a lot of artwork and have to get it approved, I am getting bored of manually saving to PDF then going to find the file and then clicking send to > mail recipient etc etc
You know the drill guys.
So would it be possible for me to just run a script that does all that for me ready to insert the persons name or even add the persons name within the script ?
thanks
Lee

Well, as the kids' paper-crafts book I used to try to put together which frustrated the hell out of me, mockingly read on the bottom of the instructions: "ТЕРПЕНИЕ И ТРУД ВСЕ ПЕРЕТРУТ"
That is, patience and perseverance will overcome all. 
To use the below, you've gotta get Autohotkey_L, I believe, and it's not that hard to use.. but it takes some time to learn the various things if you want to write your own ones like this:
{{YOUR_OWN_HOTKEY_HERE}}::
  MyTempFile = C:\Users\{{YOUR_USER_NAME}}\last_proof_sent.txt
  Run {{YOUR_JSX_SCRIPT}}.jsx                                                  ;Save the PDF proof - the script needs to write a temp text file in a place somewhere, which writes the full name of your saved PDF!
                                                                                                          ; I called my temp text file "last_proof_sent.txt"
  CurrentDateTime := A_Now                                                        ;get current time
  sleep, 500
  FileGetTime, FileTime, %MyTempFile%                                              ;get mod date of this temp file
  TimeCounter = 0                                                                                ;initialize time counter for waiting for PDF to save
  While(CurrentDateTime > FileTime and TimeCounter < 1000)                    ;waiting period to see if temp text file has updated since start of this script
  sleep, 20
  TimeCounter++
  FileGetTime, FileTime, %MyTempFile%                                                      ; each time get the modification date of the temp text file
  If(CurrentDateTime < FileTime){
  FileRead, MyPDFFileName, %MyTempFile%                                                  ;read the contents of temp file for location of PDF file path (It was written there by your JSX script, hopefully)
  If Not ErrorLevel{
  m := ComObjActive("Outlook.Application").CreateItem(0)
  m.Subject := "Greetings to all"                                                                      ; <---- Subject -----
  m.To := "address here"                                                                                    ; <---- Recipient -----
  m.HTMLBody := "email body"                                                                          ; <---- Email message body -----
  m.Display
  m.attachments.add(MyPDFFileName)                                                             ;  This is the attachments!
  } else {
  MsgBox, Error Reading the temporary file %MyTempFile%
  } else {
  MsgBox, "Sorry, action timed-out."
return
*** I have tested this on one file where I had a test folder on my desktop.  The ExtendScript likes to put the file path like "~Desktop/", but I used myFile.fsName to get the full "C:/Users/Me..." name in case it was gonna be confusing to AHK.

Similar Messages

  • Script to merge data from Numbers into Pages document, export as PDF and send via email

    Hi,
    I am wondering if it would be possible to achieve the following with an applescript:
    1. Merge Names from Numbers into a multi-page Pages document.
    2. Export each page of the resulting document as a PDF
    3. Attach each of these PDFs to an email with specific text in the body of the email, setting the subject, the 'from' email address, as well as the 'to' email address from a field in the Numbers document.
    4. Optionally send the emails automatically.
    I would be glad to know if this is possible before I embark on trying to write such a script, and for any advice/script that would help me on my way.
    Thanks,
    Nick

    Thanks Bernard.  Sorry if my original post wasn't that clear.  I think you've pretty much got it in your paragraph starting "So, I think you're asking for", but will explain more in the hope that it will be clearer:
    I have a Numbers table with 2 columns: Name and Email.  I have say 50 people in this table and I need to email each person a version of a one page Pages document which would be identical except for their name.
    The Name field is the only field that needs to be merged into the Pages document (one time only).
    Once the merging has taken place the versions of the one page Pages document need to be exported as a PDF and attached to emails, one email from each person in the table in the Numbers document, with each email going to the email address corresponding to the name in the Numbers document.
    The text in the email would be identical except for the name again.  The text for the email body, subject as well as the 'from' field would be contained in the script (i.e. generated by the script).
    It would also be good to have the option of sending the emails automatically or manually, so that I could check that the emails that are generated are correct before sending.
    I hope that's clearer!
    Nick

  • How is possible to save a pdf document from a email to the memory of my Nokia 520?

    I installed Adobe Reader to read the pdf documents present in the memory of my Nokia Lumia 520 and those arrive by email.
    Particulary important for is to save, the pdf that arrive by email, in the memory of my phone but I didn't understand how it is possible.
    Someone can help me?
    Thank you
    Mauro

    Now it's impossible to save PDF files to memory or SD card because Windows Phone 8 simply doesn't allow this action for 3d party apps.
    That's why all available readers can't do it.

  • I have just reinstalled Adobe Acrobat X1 and I can't save any PDF's that are emailed to me. I just get "This document could not be saves. There is a problem reading this document (21)" and then when I click OK i get "insufficient data for image"  Help!

    I have just reinstalled Adobe Acrobat X1 and I can't save any PDF's that are emailed to me. I just get "This document could not be saves. There is a problem reading this document (21)" and then when I click OK i get "insufficient data for image"  Help!

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Is it possible for several users to share the same user ID and password?

    Is it possible for several iPlanet Calendar Server users to use the same user
    ID and password and to use the same calendar to make changes? If this sharing
    is possible, are there any limitations for multiple users updating the same
    record, and does any database locking take place?
    Yes, more than one person can use the same user ID and password and update the
    same record. The database code uses the First In First Out(FIFO) rule, where
    only one person updates a record at a given time. So, if two users are
    updating the same record, the changes made by the user who updates the record
    last will get written to the record.
    <P>
    If the deployment requirement specifies a shared calendar, where users do not
    have their own users IDs, you can set an appropriate Access Control List(ACL).
    It is also possible to make the calendar publicly writable.

    Hi matrixxzero,
    In my opinion, you want to use the same Apple/iCloud/iTunes ID on both devices. That is exactly what iCloud is designed for - to keep devices with the same Apple ID in sync. Your Mail, Contacts, Calendars, Reminders, Safari Bookmarks, Notes, Photo Stream photos, and Documents will all be kept in sync if you have those options set up on both devices under Settings>iCloud.
    Unless you have some reason to not want to have the same information on both devices, then going with a single ID on both is the way to go.
    Cheers,
    GB

  • CS4 Illustrator wont save to PDF, programe just stops

    Upgraded from CS2 to CS4 and everything is woking fine.
    But when I try and save a file from Illustrator CS4 to a PDF the programe just stops working.  The mouse pointer moves fine and I can use other applications on the machine.
    The machine is a P3 with 4 Gb of RAM on an SBS network.
    Moved the default printer to Adobe PDF and nothing changes.  Even if I put one word on a blank A4 page in Illusrator still get the same fault.
    Desperately need to save some work for a printer in H-Res PDF with bleed and trim.  Windows XP Prof with Service Pack 3.
    Please help Chris

    Hi Skullmarker
    Yep, that did the trick!  Did the Shift Alt Control when Illustrator started, which reset all the preferences and that cured the problem!
    Many many thanks, can get my work to the printers at last.
    Top man, many thanks
    Chris

  • Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached an email back to the sender and a preset admin password would open it

    Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached to an email back to the sender and a preset admin password would open it?

    Hello Graphicsguy123,
    You would need to first create the form ( or Widget in EchoSign) first to generate a url which you can paste it in the email being sent to customers. You would need to make sure you have a Document Cloud Enterprise Premium account in order to create a Widget. If you don't have the account, you can use the trial version to test it. Here is the link:
    Global Trial Registration | eSign services from Adobe
    -Rijul

  • Illustrator CS4 "save as PDF" Glitch

    I am using adobe illustrator CS4, on mac snow lepord OS X 10.6.5
    Everytime i have a AI file or any type of file and want to use the "save as" option, when i select PDF illustrator freezes completely. I have to force quit and restart to resume work.
    My work around has been to save as an AI file, open that file in adobe Acrobat Pro 9 and "save as" PDF thru that program. That works everytime. But the "save as" PDF option in illustrator freezes everytime i use it.
    Anyone else have this problem?

    I have a MacBook 2.2Ghz 4GB RAM, runs clean with a 640GB HD, with more than half free space. But anyways...
    THANK YOU VERY MUCH. Trashing the illustrator prefrences completely solved the problem. Thanks Again!!

  • Is it possible to create a script to produce a high res and low res pdf and jpeg from Indesign at the same time

    Hi, I'm just wondering if there is a way to automate a long process I have to do to create assets for my job.
    I have a single page InDesign 6 file which I have to output three ways:
    A low res pdf without bleed or trims
    A high res pdf with bleed and trims
    A low res jpeg downsized to 2% of original size.
    If anyone knows if this is possible I'd love to hear from you.
    Thanks in advance

    Automation requires creating your own IDML script for output. Scroll down on this page to the section on Scripting resources. The text is a bit confusing. It says InDesign CS5 Scripting resources, but then the paragraph for that section says the PDF files are for CS6. I haven't read through these, I just found them by searching for "indesign automation". It does say in part that is can be used for preparing files for printing, so once you figure it out, it should be a single click option to do all three steps.
    You can do them now with the menus you have, assuming you also have Acrobat Pro installed. With any document open, choose File > Adobe PDF Presets, and choose either from the prebuilt defaults, or create your own in the Distiller. However, I don't see a way in the Distiller settings to choose whether or not to include bleed and marks, so I'm not really sure how you'd have them on for one and not the other. As far as JPEG output, that can be chosen under Export. You get a choice to set a resolution and JPEG quality level, but not a size, so the output will be the dimensions of the document.

  • Can I get product key for older versions of Illustrator with Creative Cloud Student and Teacher edition

    I have purchased the Creative Cloud Student and Teacher edition and I now need to install illustrator on Windows Vista. All the new versions are not available for Vista. I have managed to find older versions for download but it is asking me for a product key. Is it possible to get the product keys for older version with Creative Cloud Student and Teacher edition?

    You cannot purchase older versions of Adobe software thru Adobe.  If you have a full subscription you can acquire the CS6 version  thru that.  I have had CS6 running on a Vista system for years without problems.
    Download previous versions of Adobe Creative applications -
    http://helpx.adobe.com/creative-cloud/kb/download-previous-versions-creative-applications. html

  • Is it possible for two people to use one iMac with iPhone and iPad separate iTunes and iCloud acc?

    Apologies if this is a very obvious question. I have one iMac that my husband and I use, he has an iPhone that he syncs with the iMac via iTunes for app such as docs to go. I recently purchased an iPad, I want to also sync with the iMac. Is it possible to use two iTunes and two iCloud acc to one iMac? We would like to pick and choose what we sync as we keep separate docs etc on the iMac, can this be done?

    Yes.  Just set up your own account in System Preferences > Accounts (User &groups in Mountain Lion).  You'll have your own seperate everything including mail.

  • HT1386 I have a new MacBook as my PC died and is it possible for me to sync my iPod to the mac and keep all my previous levels on the apps?

    How do you preserve levels on apps when you are forced to sync to a new computer?

    - Transfer iTunes purchases by:
    - For other music you need a third-party program like one of those discussed here:
    Copy music
    - Connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up.
    - Restore the iPod from that backup
    Note that the backup that iTunes makes does not include media like app and music.

  • HT5071 It is possible for me to distribute my book as a PDF/word and on the Ibooks app?

    Hello,
    So I am currently writing a book, and I am curious to know if it is possible to distribute my book as a PDF/word and on the Ibooks app store. I intend on making the book a free download.

    It's your content - you can distribute as you like, but as noted, only via the store when in .ibooks format. As a PDF, you can do whatever you want with it.
    See iBooks Author: Publishing and distribution FAQ - Support

  • Is it possible for a battery to be perfectly fine one day and then just die

    my black MacBook battery just died the other day, its an aftermarket unit that came with my MB I bought it used. he computer has been working great only issue is original battery was pretty worn so seller bought an additional and kept the factory one as a spare, however I'm having to use tha spare which is holding maybe an hour charge if that because the "good" battery laid an egg, suddenly and without warning, computer shut down and wouldn't come back to life till I changed battery for original one and the aftermarket battery now doesn't even charge, it will go up to 3 lights and after 5 minutes be back down to 1 flashing light. Is there an issue here or is this just a dead battery?

    Lyssa you are becoming my angel, hope you take a look at my DVD stuck in drive post too .
    Here is the system profiler info as it is I'm probably going to get some used batterie(s) of ebay but I wish I could forgo that process, I'll profile the battery that died when I get home. Thank you Angel, er.....I mean Lyssa
    Battery Information:
    Model Information:
    Serial Number: DP-ASMB013-34ae-250d
    Manufacturer: DP
    Device name: ASMB013
    Pack Lot Code: 0001
    PCB Lot Code: 0000
    Firmware Version: 0102
    Hardware Revision: 0300
    Cell Revision: 0100
    Charge Information:
    Charge remaining (mAh): 118
    Fully charged: Yes
    Charging: No
    Full charge capacity (mAh): 118
    Health Information:
    Cycle count: 214
    Condition: Check Battery
    Battery Installed: Yes
    Amperage (mA): 130
    Voltage (mV): 12563
    System Power Settings:
    AC Power:
    System Sleep Timer (Minutes): 45
    Disk Sleep Timer (Minutes): 10
    Display Sleep Timer (Minutes): 30
    Automatic Restart On Power Loss: No
    Wake On AC Change: No
    Wake On Clamshell Open: Yes
    Wake On LAN: No
    Display Sleep Uses Dim: Yes
    Battery Power:
    System Sleep Timer (Minutes): 0
    Disk Sleep Timer (Minutes): 0
    Display Sleep Timer (Minutes): 5
    Wake On AC Change: No
    Wake On Clamshell Open: Yes
    Display Sleep Uses Dim: Yes
    Reduce Brightness: Yes
    Hardware Configuration:
    UPS Installed: No
    AC Charger Information:
    Connected: Yes
    Charging: No

  • Is it possible for a CD to be infected with a virus and can it infect my computer.

    My cousin burned me a Cd of her music and she told me it took her a minute to burn it because her computer was infected with a virus and she believes that was the reason why. My question is if I import this Cd in my ITunes will it give my Macbook system a virus? Or am I just worrying for nothing?

    can a CD pack a virus, certainly, seen it a million times.  Will it infect you Mac? NO.  I assume she has a PC and not a Mac.   Before you drag over the MP3 music ,
    download the free program CLAMXaV
    https://itunes.apple.com/us/app/clamxav/id430207028?mt=12
    That way you can scan the CD if anything is on the CD besides music, and also help her determine what is/isnt on her computer.
    What is scareware?
    Another type of hoax is referred to as scareware. It's a bogus virus warning that pops up when visiting some websites, and looks something like this. If you take a close look, you'll see the popup refers to a Windows system, which obviously doesn't relate to Mac OS X. It can't harm your Mac at all. Just close the site, clear your browser's cache and cookies, and you'll be fine. Sometimes these scareware sites will generate a never-ending loop of popups, to the point that you must Force Quit your browser. Such scareware sites are usually intended to lure a Windows user into clicking the links to install bogus "antivirus" software, which is typically a trojan. Even if you click the links on a Mac system, it can't install anything, because Windows executable files can't run on Mac OS X.
    There are NO viruses in the wild that affect Mac OS X at this time.
    If this changes, this post will be updated. According to noted computer virus expert Paul Ducklin, in order for a virus to be considered in the wild, "it must be spreading as a result of normal day-to-day operations on and between the computers of unsuspecting users." This definition excludes "proof of concept" code that is used in a testing situation under strictly controlled conditions, and which poses zero threat to average computer users.
    In the past, there have been a few viruses that ran on older versions of the Mac operating system (Mac OS 9 and earlier), but they do not run on any version of Mac OS X. Like every other OS, Mac OS X is not immune to malware threats, this situation could change at any time, but if a new virus is discovered, the news media, forums, blogs, etc. will be instantly buzzing with the news.
    There are trojans that can affect Mac OS X
    These must be downloaded and installed by the user, which usually involves entering the user's administrator password. Also, Mac OS X will give you a warning when you first launch an app you downloaded from the web. Trojans can easily be avoided by the user exercising common sense and caution when installing applications. A common source of trojans is pirated software, typically downloaded from bit torrent sites.

Maybe you are looking for

  • Connect by Prior in Oracle 8i question

    Need help with building tree-structured query in Oracle 8i (Forms 6i front end if it matters). Sample structure and data: CREATE TABLE table_list my_code NUMBER, my_level NUMBER, my_description VARCHAR2(60) CREATE TABLE table_content my_code NUMBER,

  • My itunes has stoped working it says some files are missing

    My Itunes has resently stopped working it says that some fiiles are missing i cannot access it and i do not know what to do

  • NLS bugs when running PL/SQL [fixed]

    Hi, Issuing select VALUE from NLS_SESSION_PARAMETERS where parameter='NLS_TERRITORY'; from a worksheet returns me a correct AMERICA, as specified in the preferences and my Windows registry. However, after noticing buggy behaviour of my procedures, I

  • "clip cannot be converted"

    Getting this error message: "clip cannot be converted." Why? Have been able to convert clips for slow-motion, reverse, etc., before.

  • Turning alerts off in PS CS5

    Hello, Can anyone tell me the correct command to turn all alerts off in a PS CS5 jsx. I've tried the following which doesn't seem to work: app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT; I've had issues with this in