Search found 367 matches

by thatkeith
Mon Jul 07, 2025 3:39 pm
Forum: CGIs and the Server
Topic: Get external page source?
Replies: 1
Views: 436

Get external page source?

Can someone suggest a good way, in a LC server-based thing, to grab the HTML source of an external URL for parsing? It's easy in the regular desktop LC: launch url pURL in widget "site" put the htmlText of widget "site" into tSource But I see that launch url doesn't include server in the supported p...
by thatkeith
Sat Apr 12, 2025 10:36 pm
Forum: Off-Topic
Topic: Forum behaviour change?
Replies: 7
Views: 55434

Forum behaviour change?

I don't know when this happened or what might have caused it, but the forum behaviour is really frustrating! When I'm browsing for info I will often command-click discussion links to open them in different tabs. Now when I try to do that I get this result: Forbidden You don't have permission to acce...
by thatkeith
Wed Apr 02, 2025 12:19 pm
Forum: Off-Topic
Topic: A Create area in the forum?
Replies: 11
Views: 30338

Re: A Create area in the forum?

This does seem to be a long-standing issue with signing up to the new forum. I had the same issue and I've seen someone else have this too. LiveCode staff do hang out here, but an email to support would be a good idea.

k
by thatkeith
Wed Mar 26, 2025 4:03 pm
Forum: Android Deployment
Topic: Android Studio LadyBug 2024.2.1
Replies: 27
Views: 37953

Re: Android Studio LadyBug 2024.2.1

After poking deeper and cross-referencing with the LiveCode lesson, AND going for Android 14 ("UpsideDownCake") instead of 13 (and getting past the confusion of the Android API 34 reference), I got LiveCode to accept the SDK path. Next hurdle: I have "Signing: Do not sign" set for this stack, but th...
by thatkeith
Wed Mar 26, 2025 1:49 pm
Forum: Android Deployment
Topic: Android Studio LadyBug 2024.2.1
Replies: 27
Views: 37953

Re: Android Studio LadyBug 2024.2.1

Oddly, when I launch Android Studio I get this notice:
missing-sdk.jpg
But when I look in the SDK manager I see this:
existing-sdk.jpg
by thatkeith
Wed Mar 26, 2025 1:44 pm
Forum: Android Deployment
Topic: Android Studio LadyBug 2024.2.1
Replies: 27
Views: 37953

Re: Android Studio LadyBug 2024.2.1

Yes, as per the LiveCode lesson (https://lessons.livecode.com/a/1770871-livecode-android-studio-setup-checklist) I installed JDK8 and now have this: /Library/Java/JavaVirtualMachines/jdk-1.8.jdk There's no other Java installation that I know of or can find on this Mac. (I'm sure there isn't but I lo...
by thatkeith
Sun Mar 23, 2025 10:36 pm
Forum: Android Deployment
Topic: Android Studio LadyBug 2024.2.1
Replies: 27
Views: 37953

Re: Android Studio LadyBug 2024.2.1

I have the same problem: I have followed the steps outlined in this LiveCode lesson: https://lessons.livecode.com/a/1770871-livecode-android-studio-setup-checklist I can see all the expected directories that the lesson says I should see, but when I try to set the SDK root path in LC it tells me " Th...
by thatkeith
Tue Feb 11, 2025 4:13 pm
Forum: Talking LiveCode
Topic: MouseColor working incorrectly in standalone
Replies: 8
Views: 8483

Re: MouseColor working incorrectly in standalone

SOLVED: it's about permissions, specifically the app needs to be added to the 'Screen & System Audio Recording' list in System Settings > Privacy & Security. LiveCode is there, which is why mouseColor works for me in development. Weirdly (or rather, logically but opaquely), because I had multiple co...
by thatkeith
Thu Feb 06, 2025 7:34 pm
Forum: Talking LiveCode
Topic: MouseColor working incorrectly in standalone
Replies: 8
Views: 8483

Re: MouseColor working incorrectly in standalone

Another, likely better way is this. No message is sent when simply pressing the optionKey. But perhaps you could switch to, say, a function key. In that case a keyDown or rawKeyDown message would be sent, and a modified handler just like you already have would fire. Thanks Craig! I am indeed an old...
by thatkeith
Thu Feb 06, 2025 7:27 pm
Forum: Talking LiveCode
Topic: MouseColor working incorrectly in standalone
Replies: 8
Views: 8483

Re: MouseColor working incorrectly in standalone

I think I found the problem! It's a curious one, and to me it definitely looks like a bug, although a weird one... When running as a stack in LiveCode, the mouseColor returns the colour of the pixel under the pointer. Note: the colour of the pixel that is VISIBLY under the pointer, whatever window ...
by thatkeith
Thu Feb 06, 2025 5:53 pm
Forum: Talking LiveCode
Topic: MouseColor working incorrectly in standalone
Replies: 8
Views: 8483

Re: MouseColor working incorrectly in standalone

Ah, yes, thanks Klaus. I was in a coffee shop and read the post rather quickly. Mea culpa! :| I hope this clarifies things... It's very interesting reading those old bug reports (and seeing my comments in there) but this doesn't seem to be quite the same thing: it works correctly in the LC environme...
by thatkeith
Thu Feb 06, 2025 3:47 pm
Forum: Talking LiveCode
Topic: MouseColor working incorrectly in standalone
Replies: 8
Views: 8483

Re: MouseColor working incorrectly in standalone

I'm doing it very simply: I put the mouseColor into a variable, then set the backgroundColor of the card to the variable. (Slotting it into RGB values and the hex calculation come afterwards so that's not relevant.) It does work as a stack in LiveCode but not when run as a standalone. Did you try th...
by thatkeith
Thu Feb 06, 2025 1:40 pm
Forum: Mac OS
Topic: Current advice for building stand-alone?
Replies: 10
Views: 15335

Re: Current advice for building stand-alone?

Thanks, this is really helpful! And I'm delighted to see that the info IS provided by LC themselves – and that there's a helper stack to simplify things. 8)

(I couldn't agree more about the virtues of programmer laziness! It's a big reason why I made Exif Fixer, my most widely-used utility. :D)
by thatkeith
Thu Feb 06, 2025 1:36 pm
Forum: Talking LiveCode
Topic: MouseColor working incorrectly in standalone
Replies: 8
Views: 8483

MouseColor working incorrectly in standalone

I have a very simple LC tool that uses mouseColor to tell me the precise RGB colour (and then works out the hex value) of what I point at. This works as expected running as a stack in LiveCode (9.6.13 and 10.0.1 RC3), but when I generate a standalone that gives me quite different results. The releva...
by thatkeith
Wed Feb 05, 2025 9:16 pm
Forum: Mac OS
Topic: Current advice for building stand-alone?
Replies: 10
Views: 15335

Re: Current advice for building stand-alone?

I do hope things haven't changed THAT much! :shock: I'm fine with renewing my Apple Dev account, and codesigning etc. didn't have an additional expense that I remember. This is exactly why LiveCode Towers should keep an up-to-date set of guides for this stuff. When there this much uncertainty about ...