Timeline for Is there a macOS equivalent of the Windows assoc command?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 23, 2022 at 2:06 | comment | added | CJK |
@V.K. Yes, you can use the NSWorkspace Objective-C instance method URLsForApplicationsToOpenURL: , passing it an NSURL -like file reference for the file in question. It returns an array of NSURL s, one for each of the applications that are registered to open the file.
|
|
Nov 6, 2021 at 15:58 | comment | added | HiFile.app - best file manager | Is there a way to list all applications associated with a certain file? | |
Nov 2, 2018 at 14:02 | comment | added | bmike♦ | Nailed it for the actual question that was asked - how do I change things. Great solution and teaches a lot as well. | |
Nov 2, 2018 at 6:59 | history | edited | CJK | CC BY-SA 4.0 |
Rewrote my answer having found a solution that meets the OP's requirements
|
Nov 2, 2018 at 5:25 | history | answered | CJK | CC BY-SA 4.0 |