Coerce small icon into picture
Coerce small icon into picture
- Subject: Coerce small icon into picture
- From: Johan Solve <email@hidden>
- Date: Thu, 30 Nov 2000 12:15:11 +0100
I'm trying to return a small icon of a file for a directory lister
cgi, and use Akua Sweets to coerce the icon into a picture that
Clip2gif later can convert to a gif. However, I can't manage to
specify that I want to get the small 8-bit icon, I can only get the
default 32x32 icon.
set iconsuite to (the icon for file filename)
set the clipboard to iconsuite as picture -- returns 32x32 icon
set iconsuite to (the icon for file filename) as small eight bit icon
-- selects last words and gives error "Can't make xxxx into the expected type"
set the clipboard to iconsuite as picture
Can this be done? How?
--
Johan Svlve
Web Application/FileMaker Developer
MONTANIA SOFTWARE & SOLUTIONS [FSA Member]
http://www.montania.se mailto:email@hidden
Halmstad Branch: Brogatan 16, SE-30243 Halmstad
phone +46 35-127205 fax +46 35-2802654 mobile +46 709-515570
Ronneby HQ: Soft Center , SE-37225 Ronneby
phone +46 457-386200 fax +46 457-26479