Re: How does OSX tell what app to open when you double click a file?

2019-08-08 Thread David V Glasgow via use-livecode
Hah! The devil is in the last line. (not to mention that the criteria don’t seem to match what actually happens) > On 8 Aug 2019, at 12:34 pm, Paul Dupuis via use-livecode > wrote: > > On 8/6/2019 10:10 PM, Mark Waddingham via use-livecode wrote: >> On 2019-08-06 23:59, Paul Dupuis via

Re: How does OSX tell what app to open when you double click a file?

2019-08-08 Thread Paul Dupuis via use-livecode
On 8/6/2019 10:10 PM, Mark Waddingham via use-livecode wrote: On 2019-08-06 23:59, Paul Dupuis via use-livecode wrote: For example, if you drag installed 5 apps, APP1, 2, 3, etc, that all had a info.plist defintion for a .xyz file extension onto a virgin OSX system out of the box and then

Fwd: Re: How does OSX tell what app to open when you double click a file?

2019-08-08 Thread Paul Dupuis via use-livecode
Thank you, This article could allow me to have our OSX app check to see if it is the default on startup and change it IF the command line tool "duti" used the example was already part of OSX but is an open source that would need to also be installed with out app - an additional level of

Re: How does OSX tell what app to open when you double click a file?

2019-08-08 Thread J. Landman Gay via use-livecode
On 8/7/19 1:55 PM, Dr. Hawkins via use-livecode wrote: Also, to say something on topic . . . note that OSX is kind of ham-handed on file types. As near as I can tell, you can’t change the default application manually without applying to all files of that type at the same time. The Finder is

Re: How does OSX tell what app to open when you double click a file?

2019-08-07 Thread Dr. Hawkins via use-livecode
On Aug 7, 2019, at 2:31 AM, David V Glasgow via use-livecode wrote: > > No idea if this is any help at all, but I run two versions of Apple Pages (I > have my reasons… ;-) > No wisecracks from me—I ran Word 4.0 and 5.1 on the same computer for years. It was the rare case where msft didn’t

Re: How does OSX tell what app to open when you double click a file?

2019-08-07 Thread Pi Digital via use-livecode
2cents: I do almost the exact same thing with LC and have older versions. The same thing for adobe after effects. The really fun (phun) top weird thing that happens is using cmd-space and typing “liv” or “aft” and having pot luck which one appears at the top of the list and launches if I press

Re: How does OSX tell what app to open when you double click a file?

2019-08-07 Thread David V Glasgow via use-livecode
No idea if this is any help at all, but I run two versions of Apple Pages (I have my reasons… ;-) I have the older version set as the default for all Pages documents, and make exceptions when I need to. Interestingly, MacOS 10.13.6 gets confused sometimes. Even if a document is set to open

Re: How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Mark Waddingham via use-livecode
On 2019-08-06 23:59, Paul Dupuis via use-livecode wrote: For example, if you drag installed 5 apps, APP1, 2, 3, etc, that all had a info.plist defintion for a .xyz file extension onto a virgin OSX system out of the box and then double-clicked a .wyz file, which of the 5 would open? I *think*

Re: How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Bob Sneidar via use-livecode
Ouch! Seems like an installer that replaces the prior version with the current one is in order. Bob S > On Aug 6, 2019, at 14:59 , Paul Dupuis via use-livecode > wrote: > > Actually, this issue is that some of our users keep multiple versions of our > App installed. In most cases, when

Re: How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Paul Dupuis via use-livecode
Actually, this issue is that some of our users keep multiple versions of our App installed. In most cases, when the user double clicks a document from our app, the MOST RECENTLY INSTALLED version launches, but in some cases, and older version launches. In those instances where an older

Re: How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Bob Sneidar via use-livecode
If you are simply trying to open an file with a specific app that may or may not be the default, what I use is launch document using the with argument. In my Forms Generator app this becomes necessary, because some PDF viewers may not be able to edit forms. So I have an interface where the user

Re: How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Paul Dupuis via use-livecode
Thank you, This article could allow me to have our OSX app check to see if it is the default on startup and change it IF the command line tool "duti" used the example was already part of OSX but is an open source that would need to also be installed with out app - an additional level of

Re: How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Bob Sneidar via use-livecode
I found this. Didn't read too deep tho'. https://www.chainsawonatireswing.com/2012/09/19/changing-default-applications-on-a-mac-using-the-command-line-then-a-shell-script/#find-out-the-current-default-for-an-extension Bob S > On Aug 6, 2019, at 13:36 , Paul Dupuis via use-livecode > wrote: >

How does OSX tell what app to open when you double click a file?

2019-08-06 Thread Paul Dupuis via use-livecode
So we make an OSX desktop app in LiveCode that has several document types. We add these to the info.plist file in the App bundle so they are defined, with doc icons, extensions, types, etc. If a user has APPv1 installed that has a plist entry for the file extension .myext and then installs