Search found 809 matches

by marksmithhfx
Fri Aug 26, 2022 8:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: another thorny permissions issue
Replies: 33
Views: 13159

Re: another thorny permissions issue

If you have a link or a button that executes: launch url "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles//" It will open the correct panel. The user still needs to scroll to the Full Disk Access, unlock the setting with their admin password, and manually add the app. Thank...
by marksmithhfx
Mon Aug 22, 2022 12:05 am
Forum: Version Control
Topic: Version Control
Replies: 25
Views: 90873

Re: Version Control

jacque wrote:
Wed May 09, 2012 7:25 am
If you set the destroystack property of the stack to true it won't stay in memory when you close it. Then you won't have to remember to do anything special.

There's a preference that automatically creates all new stacks with destroystack true. I always use it.
Another hidden gem!!
by marksmithhfx
Wed Aug 10, 2022 6:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change the order of the fields?
Replies: 15
Views: 8908

Re: How to change the order of the fields?

Don't know if this is documented anywhere, or if I should send it to someone. BTW, I'll just add that the easiest and most flexible way I've seen to re-order fields on a form (and this is from a really old database program I used back in the 80's) is to hold down the option or command key and then ...
by marksmithhfx
Wed Aug 10, 2022 6:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change the order of the fields?
Replies: 15
Views: 8908

Re: How to change the order of the fields?

Yes, something seems to have broken since I wrote the response a year ago, so now we need to layer the objects one at a time. 8 years on and I think it still doesn't work. I had a vertical stack of 7 fields with the layer values (top to bottom) of 8-23-9-10-11-14-12. Selecting those in order from t...
by marksmithhfx
Sun Aug 07, 2022 8:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

The red dots are easy to spot, which is VERY nice, and since the positional problem they had for ages has finally been solved (which was mainly why I set the explicit command) what are the pros and cons for either method these days? Interestingly, since red dots survive sessions, I all of a sudden ...
by marksmithhfx
Sun Aug 07, 2022 2:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

Mark. how have a I lived so long without knowing about that command??? Do you mean the "combine" command? The code snippet you posted did not mention that. Hi Craig, No, I meant something much simpler: breakpoint . Up until now if I wanted to interrogate what a value was at some point in my program...
by marksmithhfx
Wed Aug 03, 2022 10:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

dunbarx wrote:
Wed Aug 03, 2022 7:33 pm

Code: Select all

put the customProperties of this stack into temp
breakpoint
Craig

Wow, how have a I lived so long without knowing about that command???

Thank you.
M
by marksmithhfx
Wed Aug 03, 2022 1:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

Here's an example that compares the tree view widget to the displayArrayData(pArray, pIndent) function. Very different approaches to displaying array data but both have their uses. Data is from from this lesson https://lessons.livecode.com/m/4071/l/21022-how-do-i-display-an-array-in-human-readable-f...
by marksmithhfx
Wed Aug 03, 2022 12:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

dunbarx wrote:
Sat Jul 30, 2022 8:24 pm
I have used the SE in the past as a tool to examine array variables, as opposed to using the "combine" command and load the results into, say, a field. The
Craig
I have done that as well.
by marksmithhfx
Sat Jul 30, 2022 6:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

Klaus wrote:
Thu Jul 28, 2022 8:42 am
Or use the "tree view" widget to visualize "the customkeys" array!
Haven't got there yet, but sounds interesting. Tomorrows exercise :D
by marksmithhfx
Sat Jul 30, 2022 6:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

Mark. This property is in array form. You will see nothing if you just ask for it. Craig, Good point. If you use "customKeys" or its synonym "userProperties" you get a list of the keys of the array. To get the keys and their values I typically use a function I store in my stack script called displa...
by marksmithhfx
Wed Jul 27, 2022 8:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List all Custom Properties in a stack
Replies: 54
Views: 18154

Re: List all Custom Properties in a stack

Hi. There is a native property, "the customProperties", that does this. Craig Newman When I tried listing the "customProperties" of this (my) stack I got nothing. When I changed it to customKeys or userProperties I got a list of all of the custom properties of my stack. Have filed this under "The J...
by marksmithhfx
Sat Jul 23, 2022 10:12 pm
Forum: Marketing Your Products
Topic: Shareware considerations
Replies: 2
Views: 5299

Re: Shareware considerations

Just set up a donation page at a payment processor, and have a link in a button within your app that launches that page in the user's browser. I use that simple method with my devolution toolkit, and it's brought in almost enough revenue to cover my domain registrations. :) Thanks Richard, Exactly ...
by marksmithhfx
Sat Jul 09, 2022 7:10 pm
Forum: Marketing Your Products
Topic: Shareware considerations
Replies: 2
Views: 5299

Shareware considerations

Hi, I'm thinking of marketing a LC product as shareware (well, the subcategory known as donation-ware). I'm wondering if anyone has experience doing this and in particular: 1. how did you license the software? 2. and how did you handle the donations end of it? Or, if you've never done this but have ...
by marksmithhfx
Thu Jul 07, 2022 5:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: another thorny permissions issue
Replies: 33
Views: 13159

Re: another thorny permissions issue

Consolation prize: while this won't help your Mac needs, this is a fun read, a Linux Journal article by Dr Raney from '97 showing how to write a GUI alternative to top, by traversing the /proc directories directly: https://www.linuxjournal.com/article/2110 Thanks Richard. Interesting read. I think ...

Go to advanced search