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: Resource header damaged?

2019-03-28 Thread Stephen MacLean via use-livecode
Or it could mean that LC has had a corrupted resource header in that file for a long time… DiskWarrior isn’t known for false positives. I decided to run in on my laptop, which hadn’t crashed, and saw similar errors, so will file a bug report at some point. Best, Steve MacLean > On Mar 28,

Re: Resource header damaged?

2019-03-28 Thread Tom Glod via use-livecode
yikes! On Thu, Mar 28, 2019 at 6:08 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > If it's happened for every file for every version of livecode, I would > suspect a false positive. > > Bob S > > > > On Mar 28, 2019, at 14:53 , Stephen MacLean via use-livecode < >

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Bill Vlahos via use-livecode
Richard, GetOpt looks exactly like what I want. The docs specify on startup is only sent when the application is opened. This won’t work for me as I want to catch command line parameters ongoing while my application stays open. What would the syntax be if I want to catch 3 items some of which

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread J. Landman Gay via use-livecode
I have a business license and the cycle is the same as for everyone. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 28, 2019 5:03:52 PM "Sean Cole \(Pi\) via use-livecode" wrote: It's not broken, Mark. It's now only a

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread Monte Goulding via use-livecode
Sean I think you are confusing DP releases with access to our internal builds (nightlies and explicitly kicked off builds). Access to nightlies is an extra service I believe. I don’t think it comes with Business. It’s really only useful for someone that is following our repositories closely and

Re: Resource header damaged?

2019-03-28 Thread Bob Sneidar via use-livecode
If it's happened for every file for every version of livecode, I would suspect a false positive. Bob S > On Mar 28, 2019, at 14:53 , Stephen MacLean via use-livecode > wrote: > > HI All, > > Had a crash yesterday that required me to run DiskWarrior to repair my > directory.. out of

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread Sean Cole (Pi) via use-livecode
It's not broken, Mark. It's now only a privilege of Business Licence holders. I don't understand their reasoning but I'm sure they have a good one other than trying to bleed more money out of us for all the other unnecessary nonsense just so we can help them (and that is what it should be there

[ANN] bnGuides has been updated

2019-03-28 Thread Niggemann, Bernd via use-livecode
bnGuides a tool to visually aid in alignment of controls has been updated to version 0.5.0 if fixes some instances where bnGuides did not delete temporary graphics on the target stack. Additionally it adds the optional display of distances to nearest neighbors. (capsLock-key toggles display

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Richard Gaskin via use-livecode
Bill Vlahos wrote: > I want my application to be able to catch parameters sent to it via > the command line. Ah, much simpler problem. macOS is a certified Unix. It works just like Linux. On startup, you can check $# for the number of args passed in the command line, or $1, $2, etc. to get

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread Monte Goulding via use-livecode
> On 29 Mar 2019, at 8:44 am, Mark Wieder via use-livecode > wrote: > > In the past we used to get dp releases in order to test stuff like this > before ever getting to the release candidate stage. That release cycle has > been broken for some time now. I don’t think there have ever been

Resource header damaged?

2019-03-28 Thread Stephen MacLean via use-livecode
HI All, Had a crash yesterday that required me to run DiskWarrior to repair my directory.. out of habit, I also ran a check for damaged files. I’m seeing that the file LiveCode-Commercial.rsrc as having “resource header is damaged and cannot be repaired” with a location of: "Macintosh

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread Mark Wieder via use-livecode
On 3/28/19 2:21 PM, Clarence Martin via use-livecode wrote: I am preparing to file a bug report because of the lack of performance in LiveCode 9.0.4 RC - 1. Some of the problems that I have encountered: The "Right Click" context menu locks open and is non-responsive. The options from the "Main

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Martin Koob via use-livecode
Here is probably a better link to the Apple Documentation for the LiveCode documentation. https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/SAppsHandleAEs.html#//apple_ref/doc/uid/20001239-1117769 It has a higher level

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Martin Koob via use-livecode
Sorry there was a typo in the second link. It should be: https://developer.apple.com/documentation/coreservices/appleevent It picked up a period at the end. Martin Koob Martin Koob via use-livecode wrote > I checked the LiveCode dictionary in my hot off the press PDF version to > see > if

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Martin Koob via use-livecode
I checked the LiveCode dictionary in my hot off the press PDF version to see if there was more info on what data request AppleEvent data could give. I found a reference to For more information about Apple events, see Apple Computer's technical documentation, Inside Macintosh: Interapplication

RE: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread Clarence Martin via use-livecode
I am preparing to file a bug report because of the lack of performance in LiveCode 9.0.4 RC - 1. Some of the problems that I have encountered: The "Right Click" context menu locks open and is non-responsive. The options from the "Main Menu Buttons" can be unresponsive. So, at times the save and

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread JJS via use-livecode
I don't know but the IDE seems rather unresponsive. Menu's keep on screen even when switched to other program. Before i started it i added it to Windows Defender just like the previous versions, so it won't be seen as something suspicious by Windows Defender. Allready restarted it and same

Re: [ANN] Release 9.0.4 RC-1

2019-03-28 Thread Lagi Pittas via use-livecode
Well here may lie the reasons for all the slowdowns/crashes and weird behaviours as I would assume the IDE uses every one of those commands/statements . Fix memory leak when tracking mouse on macOS 21918 Fix memory leak when using legacy macOS features relying on four-charcodes 21919 Fix

Re: Any reason to use Apple file TYPE codes anymore?

2019-03-28 Thread Klaus major-k via use-livecode
Hi Paul, > Am 28.03.2019 um 18:24 schrieb Paul Dupuis via use-livecode > : > > In Livecode you can use file extensions (like .txt) or apple 4-character file > type codes (like "TEXT") in a "type" or "types" filter of the answer file > command. As in: > answer file[s] prompt [with defaultPath]

Any reason to use Apple file TYPE codes anymore?

2019-03-28 Thread Paul Dupuis via use-livecode
In Livecode you can use file extensions (like .txt) or apple 4-character file type codes (like "TEXT") in a "type" or "types" filter of the answer file command. As in: answer file[s] prompt [with defaultPath] [with type types [or type types ...]] windowTitle] [as sheet] Where a "types" is

Re: goofy question about "repeat for each"

2019-03-28 Thread Bob Sneidar via use-livecode
cc does not change. j only changes in each iteration when you add 1 to item 1 of j. Next iteration j will be set to the next line in cc. LC History: It used to be when repeat for each was first implemented, you were playing with fire to change the content of either cc or j, as the repeat for

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Bill Vlahos via use-livecode
Mark, That is unfortunate. The 3rd party middleware tool I’m using to send command line parameters doesn’t support AppleEvents. It only supports sending command line parameters. Please consider adding a feature that will let me catch the command line parameters for Mac apps like relaunch does

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Mark Waddingham via use-livecode
Hi Bill, I want my application to be able to catch parameters sent to it via the command line. The relaunch handler does that for Windows applications and also doesn’t open another instance of the application. You are correct that Mac apps run in a single instance by default and that is the

Re: password protected stack and passkey

2019-03-28 Thread Bob Sneidar via use-livecode
Do you have/use triggered breakpoints? It happened at one time that these breakpoints get sticky and clearing them didn't, actually. I was under the impression they fixed that, but it might have regressed. Bob S > On Mar 25, 2019, at 13:56 , JJS via use-livecode > wrote: > > Great! > > i

Re: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Bill Vlahos via use-livecode
Sorry if I wasn’t clear. I want my application to be able to catch parameters sent to it via the command line. The relaunch handler does that for Windows applications and also doesn’t open another instance of the application. You are correct that Mac apps run in a single instance by default

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

[ANN] Release 9.0.4 RC-1

2019-03-28 Thread panagiotis merakos via use-livecode
Dear list members, We are pleased to announce the release of LiveCode 9.0.4 RC-1. Getting the Release === You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents LiveCode 9.0.4 RC-1 comes with more

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
I’m doing this on my own Mac, and I am an Admin. Peter > On Mar 27, 2019, at 11:29 PM, Phil Davis via use-livecode > wrote: > > Hi Peter, > > Is it possible you're running LC in a user account that doesn't have "admin" > permissions? I suggest this because they are lab computers. > > You

Re: LC application running on lab computers

2019-03-28 Thread Phil Davis via use-livecode
Hi Peter, Is it possible you're running LC in a user account that doesn't have "admin" permissions? I suggest this because they are lab computers. You can check Apple menu > System Preferences > Users & Groups > [username] to find out. Phil Davis On 3/27/19 11:20 PM, Peter Bogdanoff via

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
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 error? Peter ArtsInteractive > On Mar 27,