Search found 809 matches

by marksmithhfx
Tue Feb 28, 2023 3:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is a widget not an object?
Replies: 3
Views: 1474

Is a widget not an object?

LC is complaining and won't allow me to write...

Code: Select all

copy widget "first" from cd "Home" to this cd
Any other approach to copying a widget from 1 cd to another?

Thanks
Mark
by marksmithhfx
Fri Dec 23, 2022 4:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Full Disk Access
Replies: 11
Views: 19714

Re: Full Disk Access

Outside the store. You can see the app (HyperRESEARCH) at http://www.researchware.com/downloads.html THis is the LC code to open system settings and jump to the permissions section: launch url "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles//" Thanks. I use the same code f...
by marksmithhfx
Tue Dec 20, 2022 8:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: another thorny permissions issue
Replies: 33
Views: 12916

Re: another thorny permissions issue

I thought I would be clever and try this: on mouseUp if (shell("top -o rsize -ncols 2 -l 1")) contains "safari" then put "Yes" else put "No" end if end mouseUp Well, this worked great outside the Mac App Store but building for the store requires sandboxing and a sandboxed app that runs that shell c...
by marksmithhfx
Thu Dec 08, 2022 4:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

Setting the padding could help with that. Try: go url "https://netrin.on-rev.com/misc/HideAnyColumn_V3.livecode" Hi Jim, That's much better. I would say you have officially found a workaround that requires only modifying column margins and cell padding on the table. Well done!! (It's not exactly th...
by marksmithhfx
Wed Dec 07, 2022 12:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

OK - so tidied up my solution a bit. No gadgets/tricks/manipulating tabstops/etc. Just a single, bog-standard table field (much as I hate them ;) ). All the functionality is in the behaviour script of the table field. Hi Stam, That looks like a terrific general purpose solution to hiding columns in...
by marksmithhfx
Tue Dec 06, 2022 6:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

But the stack that Jimi posted sort of actually works. i say sort of, because I do not understand it, and have trouble experimenting with it. Hi Craig, "Actually works" only if you are willing to have your text aligned completely adjacent to the tab stop lines. Aesthetically that was not an option ...
by marksmithhfx
Tue Dec 06, 2022 5:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

In fact, as mentioned a few pages above, LC supports a 0-width "interior" column, simply by setting the tabstops property. To hide column 4:: 50,100,150,150,200,200,250 It just does not quite support hiding column 1 that way. Actually that tabstops technique does support hiding column 1 or any colu...
by marksmithhfx
Mon Dec 05, 2022 9:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

Bernd explained it very well. Metadata can be used for many things since it's a valid LC tag. I've used it to show an explanatory tooltip when clicking or hovering over a word, for example. The info can be used for anything and the user never sees it. But it does have to exist in the htmltext of th...
by marksmithhfx
Mon Dec 05, 2022 6:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Full Disk Access
Replies: 11
Views: 19714

Re: Full Disk Access

Outside the store. You can see the app (HyperRESEARCH) at http://www.researchware.com/downloads.html THis is the LC code to open system settings and jump to the permissions section: launch url "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles//" Thanks. I use the same code f...
by marksmithhfx
Mon Dec 05, 2022 2:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

As long as we're throwing ideas around, this may help someone, someday. I create a list of 552 lines using the colornames. The script assigns metadata to each line, and then sorts it by the metadata. I first started out by creating a custom sort function but that took too long (1.5 seconds, vs 1.5 ...
by marksmithhfx
Sun Dec 04, 2022 3:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

I am trying to hide the 1st column of a table field Lots of suggestions. Here's one, which may have been suggested already. It is boneheadedly simple. go url "https://netrin.on-rev.com/misc/HideColumnOne.livecode" Jim Lambert Jim, very clever...although it made this bonehead really hurt trying to f...
by marksmithhfx
Sun Dec 04, 2022 2:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Full Disk Access
Replies: 11
Views: 19714

Re: Full Disk Access

Our application current requires Fill Disk Access for macOS Catalina and up. There are no entitlements you can set when signing for Full Disk Access. Our solution is to place instructions at the end of our installer that provides a link to open the System Settings to the right place and tells the c...
by marksmithhfx
Sat Dec 03, 2022 6:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Full Disk Access
Replies: 11
Views: 19714

Full Disk Access

Basically I would like to know if anyone has compiled/built for the Mac App store an app that requires the user to enable Full Disk Access. And if so, what entitlements did you use?

Thanks
Mark
by marksmithhfx
Fri Dec 02, 2022 12:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

So many cool workarounds. But all of them seem to me to address a problem that should not exist. Mark, what about that rethinking thing? :wink: Craig Hi Craig, the obvious solution is to just drop the row and dispense with a "Reset" option. I am already considering an "Undo" for the last action tak...
by marksmithhfx
Fri Dec 02, 2022 12:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: hiding 1st column of table field
Replies: 77
Views: 66649

Re: hiding 1st column of table field

One more way would be to use metadata, which is a way to store info in text which is not visible to the user. After the array is combined to text, set the metadata of each line to the key and then delete the key from the front of the line. You can reset the data by sorting on the metadata of each l...

Go to advanced search