I know this thread is ancient now but several things to note...
Doesn't 'detailed files' that include creator/type codes in the output on macOS LC engine?
If not then:
On macOS you could always use AppleScript like:in conjunction with AppleScripts syntax for getting creator/type info from a file,
or use a bash script that gets all of a files extended-file-attributes (not just creator type)
Also, macOS BigSur and newer no longer supports HFS+ volumes, which means no legacy 'resource forks', but certain things like creator/type code have been retained, but now they're part of extended attributes of a file only. They can still be gotten and they can still be set, even on the latest macOS ('Sonoma' at the moment). So for anyone (like me) who still wants to be able to get and set those legacy creator codes I added a handler to my Extension builder library, you can get it here: https://github.com/PaulMcClernan/OpenXT ... App-Tools/ and see the LCB source code for that specific part of it here:
https://github.com/PaulMcClernan/OpenXT ... s.lcb#L456
Doesn't 'detailed files' that include creator/type codes in the output on macOS LC engine?
If not then:
On macOS you could always use AppleScript like:
CODE:
do tMyAppleScriptContainer as AppleScript
or use a bash script that gets all of a files extended-file-attributes (not just creator type)
Also, macOS BigSur and newer no longer supports HFS+ volumes, which means no legacy 'resource forks', but certain things like creator/type code have been retained, but now they're part of extended attributes of a file only. They can still be gotten and they can still be set, even on the latest macOS ('Sonoma' at the moment). So for anyone (like me) who still wants to be able to get and set those legacy creator codes I added a handler to my Extension builder library, you can get it here: https://github.com/PaulMcClernan/OpenXT ... App-Tools/ and see the LCB source code for that specific part of it here:
https://github.com/PaulMcClernan/OpenXT ... s.lcb#L456
Statistics: Posted by PaulDaMacMan — Mon Aug 12, 2024 10:30 pm