Automating Attachment Save & Removal

  • Thread starter Guillermo Castaneda
  • Start date
G

Guillermo Castaneda

I recently downloaded the script Friendlier Claris It!
(http://files.macscripter.net/scriptbuilders/Entourage/FCI_for_Entourage_X.s
it) which works great, but when configured only to file attachments it will
save all attachments to a single pre-defined folder.

Does anyone know of a script that will just save the attachment to a folder
(to be chosen each time) and then recording the location and link with full
attachment filename (>31 characters) in the message? I know this can be
(almost) done manually, except for the 31 character limitation of Entourage
for attachment filenames.

Any suggestions on how to modify Friendlier Claris It! to do this will also
be greatly appreciated (I don't know the first thing about scripting).

Thanks!
G.
 
G

Guillermo Castaneda

I recently downloaded the script Friendlier Claris It!
(http://files.macscripter.net/scriptbuilders/Entourage/FCI_for_Entourage_X.s
it) which works great, but when configured only to file attachments it will
save all attachments to a single pre-defined folder.

Does anyone know of a script that will just save the attachment to a folder
(to be chosen each time) and then recording the location and link with full
attachment filename (>31 characters) in the message? I know this can be
(almost) done manually, except for the 31 character limitation of Entourage
for attachment filenames.

Any suggestions on how to modify Friendlier Claris It! to do this will also
be greatly appreciated (I don't know the first thing about scripting).

In response to my own post, after spending several hours trying to find a
solution to my attachment troubles, I dived into the FCI script and worked
out the solution myself using, ironically enough, trial & error. I edited
the following:

try
theAttachmentsFolder as alias
-- on error
set theAttachmentsFolder to (choose folder with prompt
"Choose a folder in which to save attachments") as text
end try

As you can see, all I did was comment out the "on error" line. From what I
understand, this routine checks to see if the Attachments Folder has been
defined. If it has, the routine does not return an error and the script will
save the attachment in the designated folder automatically. So after
removing the ³on error² line, the script will ask for the folder to save the
attachment anyway.

Now the script works just the way I wanted it to! I am sure there was
probably a more sophisticated way to do this with complex scripting but,
like I said before, I didn¹t know the first thing about scripting (although
I¹m getting the hang of it now :p).

For those unfamiliar with scripts, myself included, be sure to configure the
script again (with ³Change FCI Preferences²) after you make the change.

Cheers!
G.
 
Top