When I click a mailto in an OS X browser window, I get "Parallels Desktop was not found." The Microsoft Outlook.app icon visible in the Default Applications dialog contains the tiny Parallels icon. I have VMware Fusion > Preferences > Default Applications > Open Mail (mailto) with: > Microsoft Outlook.app. This enabled me to fix the problem I mentioned in my second post in this thread: I shouldn't be surprised that there are other Parallels-related folders still around.) Anyway, I trashed both these folders. (I followed the Parallels uninstall instructions, but they consisted simply of dragging the Parallels app to the trash. These remained even though I had uninstalled Parallels. I found not one, but two, folders full of Parallels "apps," things that I believe acted like shortcuts to Windows programs that would open the Windows program in the Parallels VM. I spent some time looking through my system internal storage (can't call these things hard drives anymore). With a normal Fusion install, shouldn't they all get associated with Fusion? I think I need to get rid of that somehow. Somehow, deep in my system, all these Windows apps and files are associated with Parallels. For example, I have VMware Fusion > Preferences > Default Applications > Open Mail (mailto) with: > Microsoft Outlook.app. I do see some other Windows apps (Paint and Photos) that are associated with Fusion, but these are apps I never used when I had Parallels installed. (I don't have any of this issue in Single Window or Full Screen modes there, Windows just works like Windows.) If I expand the Open With list I see no additional Windows Photo Viewer app that's associated with Fusion. Indeed, when I try to open the JPG, I get "Parallels Desktop was not found." The tiny Parallels icon is superimposed on most windows files and apps, which means I can't open any of them in Unity mode. But if I look closely at the Windows Photo Viewer app icon, it's got a tiny Parallels icon superimposed to show that it will open in Parallels. So, Get Info on a JPG file shows Windows Photo Viewer is listed as the default app already. But because I did that, JPG files are now associated, apparently, with the Windows Photo Viewer app in Parallels. This is what I easily (I don't remember how it was trivial) set up to happen in Parallels. I'd like all JPG files to open in Fusion in Windows with the Windows Photo Viewer app. In that file you I keep track of all my app preferences and reproduce them immediately after a complete fresh install or when getting an account on other Mac just running: duti ~/.default-apps.Thanks Mike. Notice that I can associate a URL handler like txmt and also file types like Ruby scripts. Now make a text file somewhere in your system where you associate bundle ids with UTI: # ~/.default-apps.duti Mdls -name kMDItemContentTypeTree /Applications/MacVim.app Second the UTI of the file type, Apple provides a list, but you can also explore the supported UTI by your app like this: Mdls -name kMDItemCFBundleIdentifier /Applications/MacVim.app First bundle ids of the Apps you want to associate: You could invoke it by entering speak://say-something-funny into your browser or by using the open command on the command line: $ open "speak://hello-from-the-command-line"Īs of today, the best way I found to solve this problem on a Mac with the least overhead is using the command line duti which allows me to define in a very simple text file all my associations: # The 'say' command on macOS will speak the provided text through the speaker Everything after the scheme and forward slashes will be passed as the argument to your script.įor example, you could use the following bash script as a handler for the "speak://" protocol. Just provide your script, enter your desired scheme name on the advanced settings page and then click to build the app (it's all automated). The URL is then passed to the script as an argument. If your app is the default handler for a URI scheme, it will launch open every time a URL matching the scheme is opened. These can be either standard URI schemes such as http or a custom URI schemes of your choice (e.g. Register as URI scheme handler makes the app register as a handler for URI schemes. Although it's really just a script wrapper, it does enable some cool things like dialog boxes and menu bar items.Ĭritically, it even enables you to register your "app" as a handler for your own custom URL scheme. Platypus is an open source tool that allows you to create standalone "Applications" from a shell script or other scripting language. This question is a decade old(!) but a Google search brought me here so I wanted to mention something I just discovered.
0 Comments
Leave a Reply. |