Search found 293 matches

by thatkeith
Wed Oct 14, 2020 3:26 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 475

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: 475

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: 475

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: 1078

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: 795

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: 795

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: 795

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...
by thatkeith
Mon Oct 05, 2020 11:02 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 795

Re: Execute permissions?

The shell way of checking and setting that does the trick very nicely, although a deb approach would be good. The the more LC apps can be part of every platform's mainstream the better.
by thatkeith
Sat Oct 03, 2020 7:02 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 795

Re: Execute permissions?

Answering my own question! :)

Code: Select all

chmod +x /path/to/the/file
does the trick, and I'll check the file's permissions with

Code: Select all

ls -l /path/to/the/file
first, on startup, and set it only if necessary.

But please do throw things at me if this isn't a wise move for some reason. :)

k
by thatkeith
Sat Oct 03, 2020 5:12 pm
Forum: Linux
Topic: Installing LiveCode in Linux Mint -- Cinnamon
Replies: 5
Views: 1132

Re: Installing LiveCode in Linux Mint -- Cinnamon

I also found that it was installed into a hidden (dot) directory in my home, which was quite a PITA. LiveCode doesn't show up in the All Applications list nor in a search. I had to Show Hidden Files, go into ~/.runrev/components/livecodebusiness-9.6.1.x86_64 and then Edit > Make Link for the program...
by thatkeith
Sat Oct 03, 2020 5:00 pm
Forum: Linux
Topic: Installing LiveCode in Linux Mint -- Cinnamon
Replies: 5
Views: 1132

Re: Installing LiveCode in Linux Mint -- Cinnamon

Yep, I found that too. After some head-scratching trying to get the 32-bit version to run, before I realised I'd downloaded the wrong one. (Yeah, what a doofus! :D )
by thatkeith
Sat Oct 03, 2020 4:58 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 795

Execute permissions?

I'm very new to Linux, please forgive me for any idiotic things I may say... ;) I have an app I created that uses an embedded copy of exiftool, so users don't need to have that installed separately. It's working well on Mac, Windows, and Linux... BUT on Linux it seems when I download the software I ...
by thatkeith
Thu Sep 17, 2020 9:19 am
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 7
Views: 547

Re: Use send for file cleanup?

Gotcha. Makes perfect sense. What I was wondering was would it (even) be possible to have the code in the web page have a 'send to handler in me in five minutes' so it would effectively do its own cleanup? How would that sit in this launch/run/die scenario? Cron is very likely the best option for th...
by thatkeith
Thu Sep 17, 2020 12:14 am
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 7
Views: 547

Re: Use send for file cleanup?

Good call, definitely my fallback if I can't find a LiveCode specific method. I'm rather interested to know how that might be approached in a server environment with the script embedded in a web page! :?
by thatkeith
Wed Sep 16, 2020 11:12 pm
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 7
Views: 547

Use send for file cleanup?

I have a site where images can be uploaded for exif data editing. The edited image is then downloaded by the user, but this leaves the images to build up on the server. Any suggestions for how I should automate a regular cleanup? Is 'send' a viable candidate for this, when it's all executed from cod...

Go to advanced search