Re: LC application running on lab computers

2019-03-29 Thread Consensus IMAP via use-livecode
Storing prefs files has all ways been a pain for me. I find a place that works on one machine/setup only to find it fails on another. The solution that worked for me relied on the fact that we had shared network drives. I basically created a "hidden" folder/directory with read/write permissions

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
Yes, I see that the /Library requires elevated permission which is way beyond me. Terry, it does look like I could write to the temporary folder, but I read that that folder may get cleared on restart. However, the Users/Shared folder seems available, so Bob and Richmond seem to be right. This

Re: LC application running on lab computers

2019-03-28 Thread Bob Sneidar via use-livecode
Any user has write permissions to the users//library folder. No one, even administrators has write permissions to the /library folder. You would need to elevate the process somehow. That has come up before, and I am not sure what came of it. There is a shared folder that all users have write

Re: LC application running on lab computers

2019-03-28 Thread Richmond via use-livecode
I don't know much about Windows . . . but, on Macintosh machines and PCs running Linux there is often a folder called "Shared" or somesuch alongside all the user directories: might this not be the place to write a pref file that is going to be shared by all users? Richmond. On 28.03.19 г. 8:45

Re: LC application running on lab computers

2019-03-28 Thread Terry Judd via use-livecode
How about specialFolderPath("temporary") ? Terry... On 28/3/19, 5:46 pm, "use-livecode on behalf of Peter Bogdanoff via use-livecode" wrote: I get "can't create that directory (13)” The challenge is to write a pref file to a non-user directory so the file is available to all

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
I see that error 13 is a permissions issue. I’m looking at this page "How to enable the root user on your Mac or change your root password” https://support.apple.com/en-us/HT204012 which I haven’t yet figured out… So, I suppose, lab admins would have to enable root user to install my

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
I get "can't create that directory (13)” The challenge is to write a pref file to a non-user directory so the file is available to all users in a lab setting. Peter > On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode > wrote: > > Peter Bogdanoff wrote: > > > In attempting to

Re: LC application running on lab computers

2019-03-28 Thread Richard Gaskin via use-livecode
Peter Bogdanoff wrote: > In attempting to create this folder in MacOS: > > put specialFolderpath("asup") & “/My Folder" into tURL > > [which yields tURL: /Library/Application Support/My Folder ] > > create folder tURL > > returns a result: can't create that directory > > > Why the

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
h(i) >>>> contains "public" then put i&(i) after msg;end repeat >>>> >>>> Ralph DiMola >>>> IT Director >>>> Evergreen Information Services >>>> rdim...@evergreeninfo.net >>>> >>>> -Original

Re: LC application running on lab computers

2019-03-28 Thread Phil Davis via use-livecode
h DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Klaus major-k via use-livecode Sent: Wednesday, March 27, 2019 5:04 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re:

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf >> Of Klaus major-k via use-livecode >> Sent: Wednesday, March 27, 2019 5:04 PM >> To: How to use LiveCode >> Cc: Klaus major-k >> Subject: Re: LC application running on lab computers >> >&g

Re: LC application running on lab computers

2019-03-27 Thread Peter Bogdanoff via use-livecode
rmation Services > rdim...@evergreeninfo.net > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Klaus major-k via use-livecode > Sent: Wednesday, March 27, 2019 5:04 PM > To: How to use LiveCode > Cc: Klaus major-k >

RE: LC application running on lab computers

2019-03-27 Thread Ralph DiMola via use-livecode
:04 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: LC application running on lab computers Hi Peter, > Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode > : > > Hi, > > My application is being installed on Windows machines in a school lab. The >

Re: LC application running on lab computers

2019-03-27 Thread Klaus major-k via use-livecode
Hi Peter and all, > Am 27.03.2019 um 22:04 schrieb Klaus major-k via use-livecode > : > > Hi Peter, > >> Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode >> : >> >> Hi, >> >> My application is being installed on Windows machines in a school lab. The >> admin is having

Re: LC application running on lab computers

2019-03-27 Thread Klaus major-k via use-livecode
Hi Peter, > Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode > : > > Hi, > > My application is being installed on Windows machines in a school lab. The > admin is having trouble because I’m writing preference files to the > Users\\ folder and when another user logs in, the