Search found 301 matches

by thatkeith
Sat Oct 17, 2020 3:57 pm
Forum: Mac OS
Topic: Urgent: app is 'broken' on download!
Replies: 15
Views: 2143

Re: Urgent: app is 'broken' on download!

Okay, I have made a fixer app that DOES work when downloaded. It's just a single button with this in an on mouseUp handler: answer file "Please select the Exif Fixer application" put "xattr -dr com.apple.quarantine" && quote & it & quote into thePath get shell(thePath) But WHY has this happened? I r...
by thatkeith
Sat Oct 17, 2020 3:27 pm
Forum: Mac OS
Topic: Urgent: app is 'broken' on download!
Replies: 15
Views: 2143

Re: Urgent: app is 'broken' on download!

Still urgent! But I've unearthed a little more detail... It seems that app translocation may be the problem. The odd thing is that some of the tricks mentioned (such as moving the file before launching) doesn't work for me. However the terminal trick of blitzing attributes does. It also works if don...
by thatkeith
Sat Oct 17, 2020 1:58 pm
Forum: Mac OS
Topic: Urgent: app is 'broken' on download!
Replies: 15
Views: 2143

Urgent: app is 'broken' on download!

I have an app that I make in Mac, Win and Linux flavours. It's been going for a few years. In around the last week I've had reports from people that the Mac version, which is downloaded from my site as a zip archive, is reported as being broken and can't be used. This happens to me too when I try do...
by thatkeith
Sat Oct 17, 2020 12:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Clear Browser widget cache?
Replies: 9
Views: 1786

Re: Clear Browser widget cache?

Hi Simon – good to hear you've managed to tame this. I had tried something similar (500 milliseconds delay) although I'd done it after setting the URL and before showing the widget. I've now started the script by clearing both the URL and the HTMLText of the browser widget (thanks for that suggestio...
by thatkeith
Fri Oct 16, 2020 9:03 pm
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 7
Views: 2726

Re: Use send for file cleanup?

I have a cron script working very well - thanks, all, for your advice! But I think I'll switch to this idea (cron running a LC stack) soon, so as you say I get the best of both worlds. 👍
by thatkeith
Fri Oct 16, 2020 8:47 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 1147

Re: Calling JS in a browser object from LC?

Thanks Thierry! Interesting and helpful stuff. :)
by thatkeith
Fri Oct 16, 2020 8:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Clear Browser widget cache?
Replies: 9
Views: 1786

Re: Clear Browser widget cache?

I'm having a pretty frustrating time with a browser widget, and the inability to properly force a full reload is, I think, at the heart of it. I have a local HTML file that references an XML file, and that references a JavaScript file and a jpeg. This is a 360 VR player, and the file:/// path works ...
by thatkeith
Wed Oct 14, 2020 4:00 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 1147

Re: Calling JS in a browser object from LC?

Hi Thierry, I did look at that, but it seemed to be the wrong way around for my requirements. Isn't this a way to have a JS *call* be passed to a LC script, making LC do the work instead of the JS? What I need to do is use that JS function to find the view parameters of the panorama shown in the bro...
by thatkeith
Wed Oct 14, 2020 3:26 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 1147

Re: Calling JS in a browser object from LC?

Crude solution: do "get_current_view();" in widget "browser" put the htmlText of widget "browser" into tHTML And then slice and dice the returned text using offset, etc. From my earlier reading I had thought that the htmlText of a browser widget would be the original rendered code, not including wha...
by thatkeith
Wed Oct 14, 2020 2:51 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 1147

Re: Calling JS in a browser object from LC?

One step closer... do "get_current_view();" in widget "vrbrowser" Calling the JS function by name with 'do' from a LC button runs the JavaScript within the browser widget, which updates the HTML display to show the values, as if I'd clicked a regular HTML button in the web page itself. But how do I ...
by thatkeith
Wed Oct 14, 2020 1:57 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 1147

Calling JS in a browser object from LC?

Is there an up-to-date example or instructions that show how to call a JavaScript handler in a browser widget and get the result? I've been trawling threads here without finding something definitive. I've also looked at the 'Livecode Javascript communication' video on YouTube but that's based on LC ...
by thatkeith
Tue Oct 13, 2020 10:34 am
Forum: HTML5
Topic: Problems with HTML5 standalone (psychology experiment)
Replies: 24
Views: 2353

Re: Problems with HTML5 standalone (psychology experiment)

I will keep you posted about my progress - maybe it can be of help for someone else. Thanks for following this through here as well as in your actual project! It's always helpful to read what ends up working when there's been this sort of back-and-forth. I look forward to learning of your project's...
by thatkeith
Wed Oct 07, 2020 10:43 am
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 3357

Re: Execute permissions?

I'm in the middle of a career adjustment so at this point I'm not in the market for anything but a serious budget solution. But that's a useful link for me to start with!
by thatkeith
Tue Oct 06, 2020 11:18 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 3357

Re: Execute permissions?

I am tempted, I must admit! 😁 I'd appreciate pointers, if only to point out any bear traps. If I go further it will have to be with a separate device rather than dual booting, so wifi networking will be even more important.
by thatkeith
Tue Oct 06, 2020 2:16 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 3357

Re: Execute permissions?

I've always been a little curious, and I built my Exif Fixer app for Linux as well as Mac and Windows. I've been trying halfhearted to get Linux installed on an old MacBook Air, and a Linux-specific bug in my app (plus some encouragement) spurred me on into trying again. Mint did the trick, includin...

Go to advanced search