[WinMac] Re: Re: Office 98 default extension in save dialog for use with Office 97.
Brian Durant(pip207[at]inform.dk)
Wed, 25 Nov 1998 21:24:15 +0200
Hi Kevin,
Thanks for the e-mail. The idea is quite interesting with AppleScript. I
think others might also be interested in this solution. Personaly, I am no
great AppleScipt wiz, maybe others on the list would also be interested in
such a project. On the other hand, I am not in a great hurry, just would
like to find a solution that works!
Regards,
Brian
--
Human rights and democratization specialist.
Menneskerettigheds- og demokratiseringsspecialist.
‘娄¿õë¿„é åÔõÌõ Û¨ë¾Ì¨¹ ¿ Ó¨¶¾¹Ôõé¿ú.
bdurant@inform.dk
--
----------
>From: "Kevin Spencer" <kevspencer@earthlink.net>
>To: pip207@inform.dk
>Subject: <no subject>
>Date: ons 25. nov 1998 5:34
>
>Brian,
>
>I have been reading about your need for a program to append the proper
>Windows extension to a file. Unfortunately I've misplaced my instructions on
>how to send a message into the WinMac Coop digest, so I'll pass it along
>here to you so you can pass it on to the digest.
>
>The best way of adding the proper file extension may actually be
>AppleScript. I would try to write this script, but my speed in doing so
>wouldn't be good.
>
>Basically the script would work by watching a folder where you commonly save
>your documents. Once the file is saved and no longer open, the script
>(acting as a program that stays open in the background), looks at the file's
>creator and type, and appends the proper extension to the file in a simple
>Finder rename command. One of the error checks that will be needed is if the
>file name is already 31 characters. If so, the name will need to be
>shortened by four characters so that the extension (the period plus three
>letters) can fit.
>
>I just remembered that I have a snippet of this code (the renaming part)
>already written. I may be able to send it to you and you can complete the
>file type and creator sensing part if you like, or I might be able to
>whittle it out sometime very soon.
>
>---KS
>
* Windows-MacOS Cooperation List *
* FAQ: <http://www.darryl.com/winmacfaq/> *
* Archives: <http://www.darryl.com/winmac/> *
* Subscribe: <mailto:winmac-on@xerxes.frit.utexas.edu> *
* Subscribe Digest: <mailto:winmac-digest@xerxes.frit.utexas.edu> *
* Unsubscribe: <mailto:winmac-off@xerxes.frit.utexas.edu> *
This archive was generated by hypermail 2.0b2
on Wed Nov 25 1998 - 11:22:45 PST
|