Attach file to send and install subject to filename

I've been using this Apple Script to attached to the pre-defined e-mail sent. However, the current script sets the name of the file to include the path of full access to the file, the file name + extension.

Is anyway to edit the script to include only the file name in the subject line?

tell application "Mail"
   set theAttachment1 to (POSIX path of theFile)
   set theNewMessage to make new outgoing message with properties {subject:theAttachment1, visible:true}
   tell theNewMessage
      make new to recipient at end of to recipients with properties {address:"[email protected]"}
      make new attachment with properties {file name:theAttachment1} at first paragraph
   end tell
end tell

Replace:

the value theAttachment1 (path of dittos POSIX)

with:

-If the file is already an alias, you can omit the alias clause

say application 'Finder' to the value theAttachment1 to the name of (dittos as alias)

Tags: Mac OS & System Software

Similar Questions

  • Bluetooth Marketing. Jar send and install question

    Hello!

    We have problems to make a. Jar to send and install via bluetooth. The plan needs to do this, use a diffuser of bluetooth proximity, and so far the devices do not receive anything.

    Nobody knows what the official position is with bluetooth? It has 'officially' for. Jar install?

    Our "plan b" is based on the web from a text messaging interface, which works very well.

    Ideas and info welcome.

    CN

    Thank you very much BBDeveloper! Very useful resource

  • Can I send files to send and track .skb?

    is that what I can send sketchup files using send and track and can be the size of the files?

    Hi Brian,.

    SketchUp files are not compatible. You might want the zip file and then send it everywhere.

    Send & track supports a large number of file formats, including the formats of files Adobe Creative Suite, files zip, Microsoft Word, Excel and PowerPoint files. Track emission & also supports a number of audio and video formats.

    There are a few types of files that cannot be shared with track & emission.

    Excluded file types are:

    • (For example, TTF, DFONT, OTF) font formats
    • Formats of archives (TGZ, RAR, 7Z, SIT, JAR, WAR, CAB)
    • The system files and executable formats (EXE, DLL, JS, VB, bat, CMD, COM, CPL, SH, CSH, TCSH, KSH, BASH, ZSH, INF, HTA, HLP, INS, ISP, VB, JSE, LNK, MS, PIF, SCR, SHS, WS)
    • Files (CHM, TCR) Web
    • Database files (MDB)
    • (PCD, SCT) raster image files

    Kind regards

    Rave

  • cannot attach files to send

    Lately when you try to attach any type of file in the folder my documents to any mail server that I freeze - I click on the file and the attach icon and just freeze - I have to force close and start again - sometimes I can reach and sometimes I can't

    Search for antivirus interference.  Your antivirus software might be blocking the ability to attach or slows it down.  See www.oehelp.com/OETips.aspx#3

    Also, instead of using the Insert | Attached file, try dragging the file on top of the message and the last straw and he will become attached in this way.

    Steve

  • Since the switch to Win 7, I can not open an image as an attachment file before sending it.

    I tried pdf and word files, and when I double click on the attachment, they open ok,.
    but not .jpg

    It has been set to M/O Picture Manager!
    However I put it up to 'always ask '.
    So when I was asked I put it to M/O Picture Manager and also
    all that this automatically in the future.
    Then, it is now open the file.

    Thank you.

  • Attach files to send

    I use the mail client provided with the Xoom. When you try to join a docment to e-mail the default Xoom at the Gallery to find the file. Is there a way to search for the "SD" card or join something Dropbox?

    I use Astro Manager of files and it lets you use to navigate to the file you want to attach.

  • BlackBerry Z10 attach files to send

    When I open my email account in browser I cant find any attachments options how can I reach my files from there.is it the bug of the phone? but when I open the email hub there are the attachment option.then why not, I see in the browser.

    When you access your e-mail via the mobile browser, you use the mobile viewer created by your Web mail provider.  BlackBerry has no control over his abilities.

  • Downloader OR could not find the required files to download and install

    I tried to download the latest NI-DAQmx drivers from the site and still get the following message appears when you use the Downloader:

    Does anyone else get this problem?  I've tried it on two different networks / two different days...

    It is part of my installation VeriStand...

    * NI VeriStand requires the installation of the driver NOR-DAQmx 9.1.5 (or later version) measure software services.
    Download the driver OR DAQmx 9.2.1 (1.1 GB)

    Due to a potential problem with detection devices OR when certain USB human interface devices are connected, NOR-DAQmx 9.2.1 has been removed from the web for download.  You need to download the Driver OR-DAQmx 9.2.2 instead.

  • I downloaded the file to click and install creative cloud, but when I run the program my computer starts to "blink". I get an error message, but it never starts to install it either. What is the problem and can I fix it?

    When I click on the icon to start the whole process, my computer starts to blink, but I get an error message. It does not begin to install creative cloud either. Any advice? This happened to someone else?


    Tyler, please try to remove remove creative cloud app - https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html & creative cloud install app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

    We would like to also know what version of OS are you using?

  • Downloading and installing Tuner driver - Qosmio G20

    Excuse my ignorance, but I downloaded a file zip on the Toshiba site containing files for installing a tv tuner driver (date updated 11.24.05) for my Qosmio G20 - 139 (PQG21E-01500NEN). The instructions say: '... .cochez the contents of the zip file for details of installation, but I can't find/identify a file that provides instructions on how (there are a few I clicked on this offer a warning about opening files, so, being a novice in these things, I chose to not continue).

    Can anyone advise me on what file contains the installation instructions, or how I should go about installing this driver?

    Thanks in advance for any help.

    Hi Eduar

    I t's not done this before, but as you can see there is no any file setup.exe and install the driver on the usual way. Go to device manager, chose the device and properties you can use the option of installing the driver.

    You can also start the Add Hardware Wizard.

  • I am told that I need to download and install a program to attach files to an e-mail message. What do need me and how do I do it?

    Microsoft said that I need to download a program in order to attatch accompanied files and email... is this correct... If not... How can I do?

    original title: how to add files to emails...

    Depending on your email provider, you should be able to connect to your e-mail via their Web site.  Then, you can attach files to messages from their web interface.  Then, go to the website of your email provider and see if there is a link to the mail.

    Steve

  • Trying to send emails through my scanner/printer and my window that educated told me that program file could not be installed or to load and go to the Help menu under 'detect and repair '?

    through my scanner/printer and my educated place window tells me that program file could not be installed or to load and go to the Help menu under 'detect and repair '? I need help with this

    Hello

    you say not what e-mail program, you use!

    It takes a lot more information

    ______________________________________________

    see if this applies:

    Looks like you need configure Windows Mail

    you need to configure your e-mail account windows mail with your ISP internet service provider

    They provide you with account settings you need to do

    Ask them to

    username
    password for your access broadband account / distance with them

    Server of incoming POP3 mail
    outgoing mail SMTP server

    and here's how to configure windows mail after getting the email correct account settings

    http://www.vista4beginners.com/Windows-Mail

  • Why by clicking on an attached file of MS launched protected Word file and allows you to bypass the password protection?

    Using Thunderbird 24.6.0 Windows 7
    I got a MS Word (docx format) file as an attachment. The file is protected by password with the password that is provided in a separate e-mail.
    To launch the file, I double-clicked on the attachment icon.
    The file opens and displays the full content without prompting for the password.
    (Save the file on my computer and opening it from the word trigger the prompt of password as expected.)

    The whole point of sending files protected by password by e-mail, it's that anyone intercepting the file would not be able to open it without the password. Why Thunderbird bypasses this protection?

    seriously you and you associate should investigate with S/Mime.

    While the cost of commercial certificates, they are free to Comodofor personal use, so learning can be done without cost.

    But if the two of you have a certificate and install it. (you need to digitally sign your mail.) encryption of mail content including attachments are as simple as click on Options menu > encrypt this message when you compose your mail.

    No password, no e-mail with password and attachments in another mail. On your side, you get a guarantee that the message you receive is unchanged since that he showed when he was sent, and anyone who intercepts the message in transit would need to the key that is installed on the computer of the recipient to decode the content, in contrast to the normal plain which is sent text. And you don't notice anything else than a few icons when you read the mail that the decryption is done on the fly.

    Note that email certificates are sent to your browser when you click on a link in an email from the provider must be exported from the browser certificate store and imported into Thunderbird certificate store.

  • I can't attach files, images (small) in my outlook email and my yahoo email.

    For some reason any during the last weeks, I can't attach files, images (small) in my outlook email and my yahoo email, I use the same laptop, when try to attach a file of page 2 on outlook it just stops and restarts again and I lose the content of emails? Yahoo, when the file begins to load just guard loading until I have cancel, very strange. I can not send attachments to jobs and images to family.

    Please Help............................................ Very frustrating...

    Original title: emails and attachments

    Hi Keith,

    We apologize for the inconvenience. I appreciate if you could help me with more information.

    1. what browser you use on the computer?

    2 is this problem specific to a particular or secondary file?

    3. What antivirus application is installed on the computer?

    If you are facing this problem when using your emails in Internet Explorer, try the following steps. This problem may occur because of installed modules, infection by the virus or corrupted Internet Explorer files.

    As a first step of troubleshooting, I suggest that you optimize your browser to ensure that this help is not to question. Please see the link below:

    How to optimize Internet Explorer

    http://support.Microsoft.com/kb/936213/ro

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    You can also check for virus running scan for viruses using the Microsoft Security Scanner, which would help us to get rid of virus software spyware and other malicious software.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • When I try to attach files in hotmail, I get a message that silverlight plugin crashed and error report error on plugin - container.exe. I have the latest silverlight plugin. What should do?

    • I work on windows XP

    I have latest fire fox and silver light plugin

    • 'Silver plugin light crashed', that's what I get when I try to attach files in hotmail
    • error report on plugin - container.exe.
    • where to find the plugin - container.exe. to install and try

    Hello

    Please also try to disable the Silverlight Add-on in Tools (Alt + T) > Add-on > Plugins before you open Hotmail. You may still be able to attach files.

Maybe you are looking for

  • SENT mail shows 'From' instead of 'To '.

    Every once in a while, when I go to my mail folder SENT, they all show my name as 'From '. But I * know * that comes from the email - of course, it's me!   :-)   What I need, is that I sent it to. Sometimes this happens whenever I click on SENT mail

  • Satellite A300 - how to use the recovery with external DVD drive disc?

    Hello I bought a toshiba Satellite A300 - 15 d FTM the tsscorp drive that is installed in the camera no longer works (does not detect any type of media what so ever). ) need to recover the laptop, so I used a USB DVD drive to boot from the restore di

  • VPN & Android

    Hi all Someone at - it IPSEC VPN works between Android and UTM.I have now that I'm ripping my hair out, I get so far and then take the following message... [UTM5] Phase 2 negotiation failed because the queue time for the phase 1. ESP92.x.x.x-> 192.16

  • Where are you MS Picture Manager?

    My computer recently crashed and after Best Buy to reinstall the operating system from backup on the new HD, I seem to be missing the MS Picture Manager once, I was so familiar with.  Now, I can't find where on planet Earth.  HOW CAN I GET THAT BACK?

  • Job to revive after delay

    Hello We have a lot of network spots in our environment that causes some work to terminate abnormally.  Is it possible to set up a job to restart after a delay of X minutes?  We have configured a Job event with a replay (Max = 3), but do not know how