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* th

Re: DragDrop for Datagrids

2019-08-06 Thread J. Landman Gay via use-livecode
Nonsense. Every woman knows it's always the man's fault. On 8/6/19 11:43 AM, Dar Scott Consulting via use-livecode wrote: No, way! You can't pin this on me! I've been framed!! I didn't do it. Well, not in recent times. Somebody else deserves the applause. On Aug 6, 2019, at 8:59 AM, Bob Sneid

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 the

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 version

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 overh

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 APP

Re: DragDrop for Datagrids

2019-08-06 Thread Dar Scott Consulting via use-livecode
No, way! You can't pin this on me! I've been framed!! I didn't do it. Well, not in recent times. Somebody else deserves the applause. > On Aug 6, 2019, at 8:59 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > Since being enlightened by Dar (I think it was) about setting the dragActi

Re: [OT] Weighted distribution of Numbers

2019-08-06 Thread Stephen Barncard via use-livecode
By ear On Tue, Aug 6, 2019 at 07:51 Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > You mean to say relative math is easy? > > Bob S > > > > On Aug 5, 2019, at 14:57 , Stephen Barncard via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > This is the kind of ma

DragDrop for Datagrids

2019-08-06 Thread Bob Sneidar via use-livecode
Hi all. Since being enlightened by Dar (I think it was) about setting the dragAction to "copy", I have entered into a new world of possibilities! One of them is drag and drop for datagrids. I'm sure that for those well versed in both datagrids and dragDrop, this will seem elementary, but for t

Re: [OT] Weighted distribution of Numbers

2019-08-06 Thread Bob Sneidar via use-livecode
You mean to say relative math is easy? Bob S > On Aug 5, 2019, at 14:57 , Stephen Barncard via use-livecode > wrote: > > This is the kind of math I use every day, without knowing what I’m doing. > > On Mon, Aug 5, 2019 at 09:21 Mark Wieder via use-livecode < > use-livecode@lists.runrev.com>