MacInTouch Amazon link...

miscellaneous Apple issues

What would be the use(s) of ResEdit in macOS?
Resource forks are accessible using the (deprecated) Carbon APIs, but the Rez/DeRez applications are far less convenient than ResEdit. I think Apple should've ported ResEdit to Carbon and included it with the developer tools alongside Rez/DeRez, but it's far too late to be complaining about that.

I'm not sure what (if any) APIs exist in the Cocoa framework for accessing resource forks.

From what I've been able to find, only the deprecated Resource Manager can access the resource fork the way it was intended - as a database-like collection of tagged resources. Without that manager, apps can only open the resource fork as an opaque block of data - good enough to duplicate files, but not meaningful if you actually want to use the resource fork as it was intended, which makes sense, since the NeXT/Cocoa approach to application design involves storing resources as separate files in the application's bundle, not as resources in the resource fork.

Personally, I think there is still a use for a concept like a resource fork, but these days, it's probably easier to implement the concept using some kind of database file (maybe SQLite) stored in an application's bundle.
 





There is a developer tool called DeRez, which I used when converting my collection of .textclipping files to text files during migration to Linux Mint.

.textclipping files are apparently resource files.
 


Ric Ford

MacInTouch
textclipping files are apparently resource files.
Wow! Who knew?!

In macOS Sierra 10.12.6:
Bash:
ls -l@ ~/Desktop/test 
total 8
-rw-r--r--@ 1 userxyx  staff  0 Apr 30 08:28 clipped.textClipping
    com.apple.FinderInfo    32 
    com.apple.ResourceFork    1796
And... if you drag that file into a Terminal window to get its file path, something entirely different occurs....
 


Wow! Who knew?!

In macOS Sierra 10.12.6:
Bash:
ls -l@ ~/Desktop/test
total 8
-rw-r--r--@ 1 userxyx  staff  0 Apr 30 08:28 clipped.textClipping
    com.apple.FinderInfo    32
    com.apple.ResourceFork    1796
And... if you drag that file into a Terminal window to get its file path, something entirely different occurs....
I knew about clipping files having resource forks a long time ago, but I hadn't ever dragged into a Terminal window to get a clipping file's path before. Apple made quite an interesting choice for behavior there! (Rather than adding the file path to the command line, the contents of the text clipping are entered on the command line, which might actually lead to some dangerous situations if the clipping contains text that could be interpreted as a meaningful command.)
 


I knew about clipping files having resource forks a long time ago, but I hadn't ever dragged into a Terminal window to get a clipping file's path before. Apple made quite an interesting choice for behavior there! (Rather than adding the file path to the command line, the contents of the text clipping are entered on the command line, which might actually lead to some dangerous situations if the clipping contains text that could be interpreted as a meaningful command.)
Terminal users often use text snippets in creating and maintaining command scripts or executing selected commands from a script or command compilation. If one understands a .textclipping file as simply an intermediate point in text drag and drop, the behavior becomes obvious:

Either one drags text from a displayed document into a text field in another window and drops it (the text is preserved) or one drags text from a displayed document onto the Desktop and drops it there, creating a .textclipping file. Dragging the .textclipping file to any text field completes the end-to-end text drag and drop (the text is preserved).

So, even though Terminal.app can created properly quoted file paths from most Finder icons, the .textclipping file (see the name) is properly meeting its design purpose.

If you need a textclipping file's path in Terminal, Copy and Paste the .textclipping file from the Finder window into the Terminal window. (This is the same for any object displayed by the Finder, including folders and aliases.)
 


There is a developer tool called DeRez, which I used when converting my collection of .textclipping files to text files during migration to Linux Mint.
.textclipping files are apparently resource files.
It seems that Web internet location (.webloc) files created by Safari still contain a resource fork, too. (Though the same data are stored in the data fork, this was not always the case.)

Signed,
Wrote a Rez File in 2006 to Decode These Things
 


My friend wants to borrow my external DVD player so she can play her DVD on her new MacBook Pro (with Mojave) while she is traveling. I would rather copy her DVD to an iso image.

First I tried Disk Utility (format: DVD/CD master, encryption none), and it reported an error. Not surprised, I had read Disk Utility won't work on copy protected DVDs. I tried it with format as read-only, and it copied the right number of GB, but it showed no video and just kept repeating the 30-second opening sound track with brief loss of sound every few seconds. So I tried the dd command, which also failed, saying "Permission denied", though it had copied about 737K. That surprised me; I thought dd just copied blocks.

I don't want her to buy more software just for this one disk. Am I wasting my time trying to do this with the apps in Mojave?

Why doesn't Apple let me make an alias for the weird place they hid DVD Player?

/System/Library/CoreService/Applications/
 


It seems that Web internet location (.webloc) files created by Safari still contain a resource fork, too. (Though the same data are stored in the data fork, this was not always the case.)
I also converted my .weblocs to .desktop files.

Firefox webloc:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>URL</key>
    <string>An Introduction to LuaTeX (Part 1): What is it—and what makes it so different? - Overleaf, Online LaTeX Editor</string>
</dict>
</plist>
becomes a text file with .desktop extension:
Code:
Encoding=UTF-8
Name=An Introduction to LuaTeX (Part 1)- What is it—and what makes it so different? - Overleaf Blog
Type=Link
URL=An Introduction to LuaTeX (Part 1): What is it—and what makes it so different? - Overleaf, Online LaTeX Editor
Icon=text-html
Name[en_AU]=An Introduction to LuaTeX Part 1 What is itand what makes it so different  Overleaf Blog
This was much simpler than the textclippings, i did not have to deal with a resource fork in the conversion, although the weblocs may have had them.... Perhaps it is only a Safari feature?
 



My friend wants to borrow my external DVD player so she can play her DVD on her new MacBook Pro (with Mojave) while she is traveling. I would rather copy her DVD to an iso image.
First I tried Disk Utility (format: DVD/CD master, encryption none), and it reported an error. Not surprised, I had read Disk Utility won't work on copy protected DVDs. I tried it with format as read-only, and it copied the right number of GB, but it showed no video and just kept repeating the 30-second opening sound track with brief loss of sound every few seconds. So I tried the dd command, which also failed, saying "Permission denied", though it had copied about 737K. That surprised me; I thought dd just copied blocks.
I don't want her to buy more software just for this one disk. Am I wasting my time trying to do this with the apps in Mojave?
Why doesn't Apple let me make an alias for the weird place they hid DVD Player?
/System/Library/CoreService/Applications/
If the DVD is a commercial movie, the content is encrypted, and you can't make an ISO of the disc until the content is decrypted. I would recommend downloading MakeMKV and saving the main title to an MKV file. This MKV file can be played directly in VLC Media Player.

If you want to go further, you can use HandBrake to compress the movie to an m4v using H.264 or H.265 compression. (Choose one of the AppleTV models under the Devices menu to do this easily.) The m4v file will then play in iTunes.

Caveat: If you are a US citizen, this process is technically illegal. This is a violation of the DMCA.
 


... Why doesn't Apple let me make an alias for the weird place they hid DVD Player?
And the simplest answer is: Apple does not allow user writes to that directory.

The workaround is to hold down Option and Command and drag DVD player.app to the Desktop. DVD Player.app alias will be created for you.

You may not actually need an alias ,because DVD Player.app autostarts by default upon mounting a DVD.
 


If the DVD is a commercial movie, the content is encrypted, and you can't make an ISO of the disc until the content is decrypted. I would recommend downloading MakeMKV and saving the main title to an MKV file. This MKV file can be played directly in VLC Media Player. If you want to go further, you can use HandBrake to compress the movie to an m4v using H.264 or H.265 compression. (Choose one of the AppleTV models under the Devices menu to do this easily.) The m4v file will then play in iTunes....
I usually use MakeMKV for Blu-rays and HandBrake for DVDs. However, after the Blu-ray has been converted, I'll use HandBrake to convert the file to the .m4v format. Then I discard the .mkv file.
 


I usually use MakeMKV for Blu-rays and HandBrake for DVDs. However, after the Blu-ray has been converted, I'll use HandBrake to convert the file to the .m4v format. Then I discard the .mkv file.
I gather from the replies so far there is not a way to do what I want, though I wonder why dd fails.

I have used MakeMKV and Handbrake and VLC, but in this case, I want to preserve the DVD structure. I haven't seen it, so I might be able to use a work-around. If the DVD isn't encrypted, then I hope Disk Utility will work. On my computer it is easy, because I have a commercial program that creates a usable ISO image for me, but my computer is not portable.

No alias -> directory not user writeable. Duh...
 


Kopernicus, there are a number of Mac-compatible DVD drives on Amazon for less than $30. Has your friend agreed that she would rather have an ISO-image than watch the actual DVD?
 


Kopernicus, there are a number of Mac-compatible DVD drives on Amazon for less than $30. Has your friend agreed that she would rather have an ISO-image than watch the actual DVD?
The ISO image may have the advantage of (a) not carrying around a drive, and (b) not imposing shorter battery life to power the drive. Both can be an advantage when traveling.
 




I rip DVDs to my Mac Mini in the lounge room using MacTheRipper. To make the rip a tad more easy to manage, I add the ".dvdmedia" extension to the movie name folder the rip is saved as. That way, the less tech-savvy in the house just have to double-click MovieToWatch.dvdmedia, and DVD Player pops into life.
What version of MacTheRipper do you use, and what OS? I’ve kept a version (2.6.something?) on a Snow Leopard drive for the occasional rip. I recall there being a version 3 but never jumped through the hoops necessary to get it.
 




I gather from the replies so far there is not a way to do what I want, though I wonder why dd fails.
DVDs are protected by CSS encryption, so even if you were able to make a copy, it would not be usable without removing the CSS protection.

There are a few programs that can strip the CSS encryption and leave you with an ISO image that is usable with the original disc structure. The programs I know are RipIt, MacTheRipper, Mac DVDRipper Pro, and Fairmount.

If you want something that is simple, no hassle, and “just works” then try RipIt. I’m not sure if you can use it without buying first though. In that case, you might want to check out Mac DVDRipper Pro, which allows 5 free rips as a trial.

Fairmount is a bit different from the others in that it doesn’t create an ISO directly. Instead it takes the encrypted DVD and remounts it as a virtual volume on the system and what it’s doing is stripping the CSS encryption in real-time as the data is accessed through the virtual volume. So, you could use Fairmount to remount the DVD and then use something like Disk Utility to create a dmg or iso of the virtual volume.
 


I have found Drag and Drop increasingly unreliable in general. Most of the time it's almost impossible to pick up the text I have selected and move it to another point in Apple Mail (or other apps). But once in a while it works. When I was working on a new edition of a book in late 2017, trying to use drag and drop on ".doc" files from the previous edition would crash Word 2011, so I had to turn off the Drag and Drop option. (Converting to .docx files also seemed to help.)
I totally understand. This is why I have not upgraded every time. So far, I have successfully upgraded to High Sierra. I have lost very little or next to nothing.

The real issue is the testing before it reaches the shelf. Add to that the thinning of hardware, locking it up so nothing is available to the user. As I posted before, the last new Mac was my Mac Mini 2010. Based on my research to replace it, it would have doubled my costs and moved me to Mojave. So I bought a refurbished 2014 Mac Mini with High Sierra and no issues.

What Apple has done is not handle the issues that would address all these concerns. No one wins if Apple chooses not to hear it. I remember the time when user groups and Apple really talked and listened and put out hardware that just worked out of the box. I helped a few people with real physical or mental issues purchase Macs that addressed their needs perfectly. The last time that I asked that question for a family member, I was referred to Apple Accessibility, which could not address this need. I have figured out a way to solve this, but it never came from Apple, and the solution is available from Apple. If I did not have the knowledge or the ability to research a solution... you get the point.
 


It's clear Ive and Cook don't care for the past and how we use Macs, but are driven by new revenue goals that force everything to the cloud, where Apple monthly revenue streams are guaranteed. Ive's seemingly moronic hardware decisions really are forcing further reliance on iCloud for doing everything, at a mere x dollars per month. Such a deal! Sadly, the standalone Mac lovers of the past don't fit into this new revenue-prioritized, cloud-based world. We fossils are screwed. (in my opinion)
 


Sadly, the standalone Mac lovers of the past don't fit into this new revenue-prioritized, cloud-based world.
We've come full circle.

When I first started computing we were using mainframes with punch cards—and later simple terminals—to connect to distant computers. All our data resided on those distant disks or, more likely, tapes.

When we first started using local computers (e.g., PDP and VAX along with Macs and PCs) it was a paradigm shift as all our data was local.

One of the things I learned from those days is I never again wanted my data to be entrusted to someone else.

And, now, here we are again with data located elsewhere and entrusted to someone else.
 


A problem I've never seen before and neither has Google, it seems:

I have just replaced a Samsung 840 EVO 500GB SSD with a Samsung 860 EVO 1TB SSD in a late 2011 MacBook Pro 15" (non-retina, with DVD drive). Used Carbon Copy Cloner to clone the drive across, verified it worked, then immediately upgraded from High Sierra to Mojave. The drive has FileVault 2 encryption.

Now, the computer seems to work except when booting up with an Apple wired extended keyboard connected to a USB port. When the keyboard is connected, the computer doesn't boot, but displays a uniform light grey screen asking for username and password, along with a series of 6 beeps. Buttons below say Restart and Quit (or maybe Shut Down, can't remember). The cursor is in the username field, and this can be typed in. But nothing else can be selected in the screen. The mouse cursor moves very jerkily, as if another process is overwhelming the processor. Tab key doesn't change field. Can't click the password field. Can click the buttons, which invert briefly, but nothing happens. The only way out is to hold the power button for 5 seconds, then press it again to turn on the machine, at which point it automatically boots into the "can't remember your password?"-type screen with options to set a new password, etc.

The strange thing is that the Mac starts up just fine with Command-Option-P-R and the keyboard connected (but needs that key combo on every start up). And it boots into Safe Mode with the keyboard connected okay as well. It boots normally when the keyboard isn't connected. It boots okay with a Logitech mouse connected. The keyboard works normally if connected after the boot process. Disk Utility from an external drive reports no problems with the new SSD. Hardware Diagnostics reports no problems.

Not sure if this is relevant, but there's only one admin user and no non-admin users. For some reason, a normal start up now requires the disk password to be typed first, then the user password later, rather than all-in-one like it was with the previous SSD. Haven't found a way to fix this yet.

I've never seen this before. Can anyone help please? Thanks.
 


Now, the computer seems to work except when booting up with an Apple wired extended keyboard connected to a USB port
Could there be a stuck key?

I also remember, at some point in the distant past, a firmware update for the wired extended keyboards - maybe yours needs it?

While I'm not sure what else might be going on here, have you tried a different keyboard or USB port just to isolate the issue?
 


Could there be a stuck key?

I also remember, at some point in the distant past, a firmware update for the wired extended keyboards - maybe yours needs it?

While I'm not sure what else might be going on here, have you tried a different keyboard or USB port just to isolate the issue?
I don’t think there’s a stick key. It seems to work fine when it’s plugged in after the boot process. I’ve tried the other USB port and it makes no difference but I don’t have another keyboard to try unfortunately.

How do you update the firmware of a keyboard?
 


How do you update the firmware of a keyboard?
To answer the immediate question, you run updater software, like one of these:
WASD Support said:
This is just an example of a keyboard that has updateable firmware; it won't help you and your Apple wired extended keyboard.

But I suspect JonDuke refers to a Mac firmware update like Aluminum Keyboard Firmware Update 1.1. This is just an example of such a beast; it may or may not help you.
 


But I suspect JonDuke refers to a Mac firmware update like Aluminum Keyboard Firmware Update 1.1. This is just an example of such a beast; it may or may not help you.
Oh, thank you. It never even occurred to me that s keyboard would have firmware that could be updated. Seems that there is no firmware of any sort available for the wired keyboard I have, anyway. At this stage, I don’t know whether the problem is with the keyboard or the Mac, although I suspect the Mac, since the problem started since changing the SSD and updating to Mojave.
 


It may be of no relevance whatsoever, but the wired keyboard comes with an extension cable. The keyboard won’t work reliably with the Thunderbolt Display without the extension cable.
 


I saw the news: A new Mac Pro! Woohooh... woo... hoo... $6000 for a base model without a GPU? Did we just transport back to the 80's when a Mac IIfx was $6000, and LaserWriter II was $5000? Am I the only one whose jaw dropped at the price? First it was the iMac Pro (no one I know wants one). And now this... this... I can't like it. It looks like a 50's HiFi with those Ikea feet!
Bought a IIcx for $3200. Anyone want it? Free?
 






As a tangent, does anybody know why Mactracker hasn't been updated since December of 2018?
Great question! I have both the iOS and Mac versions. I hope Ian is okay. For a while I was thinking the update server was having problems on my end. I sent an email to Ian regarding MacTracker. I'll let everyone here know of any response from him.
 


Great question! I have both the iOS and Mac versions. I hope Ian is okay. For a while I was thinking the update server was having problems on my end. I sent an email to Ian regarding MacTracker. I'll let everyone here know of any response from him.
A big update: I received an email from Ian and it looks promising. Text of Ian's response:
Hi Richard, thanks for the note. An update for Mac and iOS releases is under development. The Mac release will be available shortly.

Unfortunately my “real” job has been taking a considerable amount of time lately that has delayed my work on Mactracker.
 


Amazon disclaimer:
As an Amazon Associate I earn from qualifying purchases.

Latest posts