Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Robert Livingston
Thanks a lot, Tim. This worked for me. My app is unsigned. (I do not have an Apple Developer ID) My "App" when it appeared after being "unzipped" happens to sit in a folder with some other files. The zipped file is a folder with the App and a couple other files. That just happens to be how

Re: Store BLOB's Outside the Data File

2016-11-14 Thread Wayne Stewart
Doug, That sounds correct. Did you tick both boxes? http://www.4dsupport.guru/images/CompactAddressTable.png Personally I stopped doing that I kept losing too many .jpgs that way :( Regards, Wayne Wayne Stewart about.me/waynestewart On 15 November 2016 at 12:38, Douglas von Roeder

It's the little things (ordering parameters)

2016-11-14 Thread David Adams
For those of you that pass parameters, order can matter. It's been, what, 30 years now I've been using 4D (!) and I *still* have to double-check Position and Find in array Position(Needle;Haystack) Find in array(Haystack;Needle) So, just thinking, be kind to yourself...find a pattern and follow

v12 - easy way to rename many methods at once?

2016-11-14 Thread Chip Scheide
I what to rename a number of methods. the 'module' prefix is no longer valid/desired I would like to change the names of all the methods at once, rather then having to rename them 1 at a time. Thanks Chip ** 4D Internet Users

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Peter Mew
Have I read this correctly? If I write a small standalone app, for a friend, zip it and send it to him, At some time in the future, there will be an Mac OS version which will say the equivalent of "I'm sorry Dave, I cant let you do that". Has the world of Apple gone mad? -pm On Mon, Nov 14, 2016

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Timothy Penner
> actually - what I was pointing out is that Apple is doing all of this > security on applications which are (supposedly) 'safe', as in they have been > signed, presumably by Apple itself. > What are they doing to apps that are not signed? ^ My thoughts exactly... If the signed code (safer of

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Timothy Penner
Hi Chip, > also notice this si specifically referencing "Signed Applications" Yes this is information came from Apple's changes to Gatekeeper, and is referenced in the documentation for code signing under the "Shipping your signed code" section. Although, if you think it doesn't/shouldn't

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Chip Scheide
also notice this si specifically referencing "Signed Applications" On Mon, 14 Nov 2016 19:36:28 +0100, Timothy Penner wrote: > Sorry Chip, I don’t know, I was paraphrasing the docs: >

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Timothy Penner
I should have also highlighted this quote from: "Starting with macOS Sierra, running a newly-downloaded app from a disk image, archive, or the Downloads directory will cause Gatekeeper to isolate that app at a unspecified read-only location in the filesystem. This will prevent the app from

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Timothy Penner
Sorry Chip, I don’t know, I was paraphrasing the docs: https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG17 "This also applies to apps installed via ZIP or other archive formats or apps downloaded to the Downloads directory: ask the

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Timothy Penner
Starting with 10.12.x Sierra, if you download an app.zip and unzip it then run it from the Downloads directory, Apple will quarantine the app into a Read-Only environment. Solution is to move it to the /Applications/ directory after unzipping it. Kind Regards, Tim PENNER

Modify Style Sheets Programmatically?

2016-11-14 Thread Randy Engle
I'm pretty sure this has been asked before, with a negative answer: I've looked again, but can't find anything, Any way to modify a style sheet programmatically, for form objects? (we can do this in 4D Write Style sheets) Thanks Randy Engle XC2 Software LLC

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Robert Livingston
I did look at this because I thought that the problem might be here but not. In this regard (Sharing & Permissions) the "quarantined" and the "non-quarantined" versions of the zip file are the same. There is another section in the Get Info panel -- "More Info" where there is a bit of

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Peter Bozek
On Mon, Nov 14, 2016 at 4:26 PM, Robert Livingston wrote: > So somehow even after you have said that you want to open the file, you > cannot. In some fashion 4D sees it locked and no matter how you answer the > dialogs you cannot get the application to run. > Can you check

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Keith Culotta
If you don't mind an installer package rather than a Zip, this got around that problem for me. It requires your Apple developer number (ABC...). I run the app at least once from the Applications folder, and make no resource folder, etc... changes after that. Then run this from the terminal.

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Robert Livingston
Thanks for your input. But I have tried using a DMG of the application and the same problem occurs. > On Nov 14, 2016, at 7:38 AM, spiffyguy wrote: > > Apple may change the permission from zip files as you experienced. Perhaps > for mac it would be better to make a DMG

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Chuck Miller
There is no resource fork any longer. Long gone the way of Dodo bird Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Keisuke Miyako
time for some reading: https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG17 having said that, the concept of marking downloaded zip files is not a new thing. Google "com.apple.quarantine" > 2016/11/14 16:29、Robert Livingston