• 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
Coerce small icon into picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Keyboard Control Panel 8.5 (Gestalts 'n' Stuff)
  • Next by Date: Re: Best way to wait
  • Previous by thread: Re: Keyboard Control Panel 8.5 (Gestalts 'n' Stuff)
  • Next by thread: ReadOnly problem
  • Index(es):
    • Date
    • Thread