Fun with Leopard (OS X)
BlitzMax Forums/Brucey's Modules/Fun with Leopard (OS X)| 
 | ||
| Some of you might be interested in this little Leopard only (Intel) app I threw together over the past hour... Just kick it off, choose a directory with png or jpg files in it. Once you see the little black window, hit SPACE :-) Download (120k). <EDIT> : Yes, it's all BlitzMax... in case you were wondering. Comments etc welcome ;-) | 
| 
 | ||
| Cute! So how's that done then? | 
| 
 | ||
| Via some undocumented APIs. It's the same functionality as you get when you press SPACE in Finder. Except we have more control from here :-) | 
| 
 | ||
| Not having a Mac to try this on, I am curious: What exactly is this sample program supposed to show? | 
| 
 | ||
| It's the Leopard Quicklook function. Allows you to preview the file contents without opening the actual app associated with the file extension. Very handy 'cause it's so fast and just a tap of the spacebar away. Brucey seems to have managed to gain control of it in Blitzmax - though he's not showing us how! | 
| 
 | ||
| That's great stuff, Brucey! :-) My only concern is that you say you're using undocumented APIs. | 
| 
 | ||
| Unfortunately, Quicklook is undocumented at the moment (private framework). But some other cool stuff has been similarly private in the past and later on made "public". Still, it's fun nonetheless :-) There is a lot of cool stuff in the Mac API that's crying out to be played with in BlitzMax... | 
| 
 | ||
| You mean like Core Image and CoverFlow? ;-) |