• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Manage attachment in Entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Manage attachment in Entourage


  • Subject: Manage attachment in Entourage
  • From: Martirosian Dmitri <email@hidden>
  • Date: Fri, 13 Apr 2007 10:13:08 +0400
  • Thread-topic: Manage attachment in Entourage

Hi all!

I'v got problem, I find a script and modify little it for myself. The script
does: U drop the files on droplet, script attach files to mail, get the
names of attachments and put in content but, I cannot remove attachment an
end of script, I dont need to send files via email, because the files are
realy big. I just need put the files in ftp, get names of files, add a ftp
url and send report to my chief

So far it works so:

on open the_files
    tell application "Microsoft Entourage"
        activate
        set MyMessage to make new draft window with properties
{recipient:"email@hidden", subject:blabla, content:"The
files:", attachment:the_files}
        tell window 1
            try
                set Ftp to "ftp://xxxxxxxx:xxxxxxxx.mccann.ru/";
                set theNames to name of every attachment
            on error
                return -99 -- silent exit
            end try
            if (count theNames) > 1 then
                set messageText to return & ""
                repeat with aName in theNames
                    set messageText to messageText & return & tab & Ftp &
aName
                end repeat
                set messageText to messageText & return & return
            else if (count theNames) = 1 then
                set messageText to return & Ftp & theNames & return & return
            end if
            set selection to messageText
        end tell
        send MyMessage
    end tell
end open

Pls help!

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Creating new file etc (re-send due to small glitch)
  • Next by Date: Re: Creating new file etc
  • Previous by thread: Entourage Read All
  • Next by thread: Scripting PDF output from Quark
  • Index(es):
    • Date
    • Thread