On 11-Oct-01, Benny Pedersen wrote:
>> 3. Please could we have a "Save Images" ? This would create a drawer >> (user names drawer) and save all images on the page to it, with their >> original file names. > > this one is hard :-) > > first how with filename over 31 chars ? No problem. Algorithm: Chop the filename down to 25 chars or whatever. If file already exists, add 01 on the end. Check again if exists, if so increment number to add. Loop until it doesn't exist. If more than 99 files with the same name exist, give up, don't save it. I've done this in an ARexx script for managing fonts and it works OK. The Amiga will display image files correctly without extensions, unlike some OSes, so a name like "picturewithverylongname03" is OK. Regards -- Don Cox [EMAIL PROTECTED] _____________________________________________________________________ Voyager Mailing List - http://v3.vapor.com/ Voyager FAQ....: http://faq.vapor.com/voyager/ Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE
