68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
macos classic filetype list?
Posted by: barana on 2012-05-22 05:09:27
gday,

I'm learning hypercard from an old tutorial off the net,

the picture xcmd script example tells me to request a filetype of 192.

is there a list with filetype numbers out there on the net?

I thought macos only dealt with type/creator codes but this seems a different thing altogether

may i ask some kind persons help? thx

-Barana

Posted by: Arthegall on 2012-05-22 10:28:33
It would help me if I knew a little more about the tutorial and the example you're working with.

Posted by: dougg3 on 2012-05-22 18:37:31
I used to use HyperCard all the time back in the day, so I took a look to see if I could find the tutorial you're talking about. It looks like the tutorial you're using is this one, which relates to HyperCard IIgs. Am I right?

I think that the Apple II file system worked differently from the Mac's, at least as far as file types went. For example, file type 192 ($C0) is an "Apple IIGS Super Hi-Res Picture File" according to this PDF.

For Macs, I think you can say:

answer file "Select a picture:" of type "BLAH"
for a file with a 4-byte type code of "BLAH".

Posted by: barana on 2012-05-23 06:07:24
@dougg3

man u hit the nail on the head!

u even drew from the correct page!

thx mate, very much that was a succinct and perfect help!

tis easy to forget the differences, it didnt sound right re type and creator codes, but at the same time, numerical filetypes didnt sound wrong, either.

Posted by: dougg3 on 2012-05-24 17:07:10
Glad I was able to help! 🙂 Have fun with HyperCard!

1