• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

macos classic filetype list?

barana

Banned
6502
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

 
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:

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

 
@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.

 
Back
Top