Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Sean Cole (Pi) via use-livecode
Hi Matthias, The quote from Apple was in reference to the Library/Preferences folder in the User directory, not the one in the root. To make it even more abundantly clear this is what was meant, this page specifically references ~/... https://developer.apple.com/library/archive/documentation/FileMa

Re: tree view hide key

2018-10-30 Thread Brian Milby via use-livecode
What kind of work? Here are a couple that I can think of that are not easily addressed: - Arbitrary sort would take significant changes (a couple options: 2 part key [1,firstkey], [2,asecondkey] or restructuring the array format to something like [key][title], [key][value] where the title and opt

Re: tree view hide key

2018-10-30 Thread Bob Sneidar via use-livecode
Yeah I really tried to like the tree view widget but it needs work. Sent from my iPhone > On Oct 30, 2018, at 13:38, Mike Kerner via use-livecode > wrote: > > In tree view can you hide the keys of the array? I was messing with using > it to display directory and subdirectory contents, but it

Re: tree view hide key

2018-10-30 Thread Brian Milby via use-livecode
No, the tree always displays the key and value. Thanks, Brian On Oct 30, 2018, 3:38 PM -0500, Mike Kerner via use-livecode , wrote: > In tree view can you hide the keys of the array? I was messing with using > it to display directory and subdirectory contents, but it seems that you > have to disp

tree view hide key

2018-10-30 Thread Mike Kerner via use-livecode
In tree view can you hide the keys of the array? I was messing with using it to display directory and subdirectory contents, but it seems that you have to display the key, which makes some other things more difficult. ___ use-livecode mailing list use-li

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Trevor DeVore via use-livecode
> > The Apple Dev Docs say this about the /Library/Preferences/ folder: > > > You should not create files in this directory yourself. Instead, use the > > NSUserDefaults class or CFPreferences API to get and set preference > values > > for your app. > > Use of NSUserDefaults has not yet been set up

Browser widget and mailto link.

2018-10-30 Thread Ludovic THEBAULT via use-livecode
Hello, is it normal that email links (mailto:x...@xx.com »>my mail) do not work in a web page displayed with the browser widget? Livecode 9.01 - tested on iOS. Thanks ! Ludovic ___ use-livecode mailing list use-livecode@lists.runr

Re: Mysteries of Me

2018-10-30 Thread Sannyasin Brahmanathaswami via use-livecode
Hmm, is that a bug? Should we report it? I think so. On 10/30/18 5:54 AM, Bob Sneidar via use-livecode wrote: > Ah yes I've encountered this. What I do is I have 2 functions: > getParentCard() and getParentStack(). pass the long id of any object on a > card and they return the long id of the

Re: is anyone able to use fileDSN for ODBC connections in LC?

2018-10-30 Thread Mark Wieder via use-livecode
On 10/30/18 5:52 AM, Matthias Rebbe via use-livecode wrote: Hi all, it seems that my syntax was not correct. LC first confirmed that my syntax looked correct, but Panos found out that it didn´t. The correct syntax for fileDSN is revOpenDatabase("odbc",";pwd=",,,) Example for Windows revOpenDat

SSL with HTTPD Library?

2018-10-30 Thread Stephen MacLean via use-livecode
Hi All, I’m looking to use the HTTPD library with an SSL Cert if possible. Is it possible? TIA, Steve MacLean ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pr

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Bob Sneidar via use-livecode
Of course asking end users to change permissions on folders is pretty much a non-starter. Bob S > On Oct 30, 2018, at 07:28 , Sean Cole (Pi) via use-livecode > wrote: > > Hi Matthias, > This is, without any doubt, a permissions issue and definitely nothing to > do with sandboxing. You need

Re: Mysteries of Me

2018-10-30 Thread Bob Sneidar via use-livecode
Ah yes I've encountered this. What I do is I have 2 functions: getParentCard() and getParentStack(). pass the long id of any object on a card and they return the long id of the card, or the long filename of the stack respectively. Then you can use go tParentCard and that will compile. Your issue

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Matthias Rebbe via use-livecode
Hi Sean, thanks for the information. But my app writes to the ~/Library/Preferences folder. And therefore the user should have write access to it. As i wrote. On a new Mojave installation on a VM (i still have 10.13.6 here) i was able to write the registration details to that folder without pro

Re: Hmmm - no compilation error ?

2018-10-30 Thread Bob Sneidar via use-livecode
Yeah, IMHO it's academic, as the point to a compiler syntax checker is to avoid runtime errors down the road. Since this will not throw a runtime error, it's moot. Bob S > On Oct 29, 2018, at 19:27 , Monte Goulding via use-livecode > wrote: > > The parser is often lenient at the end of sta

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Sean Cole (Pi) via use-livecode
Hi Matthias, This is, without any doubt, a permissions issue and definitely nothing to do with sandboxing. You need to unlock the folder you are saving to. The recommended form is to have a folder within the preferences folder named [domain].[appName] (ie, com.mycompany.myapp), and store your prefs

Re: Continual iOS Simulator Problems

2018-10-30 Thread panagiotis merakos via use-livecode
Hello all, I recently had this problem. The simulator was crashing on startup, opened either from Xcode or from LC. This terminal command fixed the problem for me: sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService Kind regards, Panos -- On Tue, Oct 30, 2018 at 7:31 AM Roger Guay vi

Re: Mysteries of Me

2018-10-30 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/29/18 7:42 PM, Tom Glod via use-livecode wrote: > oh...didn't know that syntax would work first thing that jumped out at > me thought maybe it was as simple as that. :) You learn as you go, with the plug in TinyDictionary. I refer to it all the time... Best way to access the dic

Re: is anyone able to use fileDSN for ODBC connections in LC?

2018-10-30 Thread Matthias Rebbe via use-livecode
Hi all, it seems that my syntax was not correct. LC first confirmed that my syntax looked correct, but Panos found out that it didn´t. The correct syntax for fileDSN is revOpenDatabase("odbc",";pwd=",,,) Example for Windows revOpenDatabase("odbc","filedsn=\Users\matthias\ODBC\test2.dsn;uid=matth

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Matthias Rebbe via use-livecode
Tried here now with a standard user and an admin account. It works with both account types w/o problems. I will have to contact the customer again. A big problem is that he´s Italian and does not speak english. At least his first emails were in Italian unless i mentioned that i had to transla