• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

macos classic filetype list?

barana

Banned
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

 

Arthegall

Well-known member
It would help me if I knew a little more about the tutorial and the example you're working with.

 

dougg3

Well-known member
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".

 

barana

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

 
Top