Search found 301 matches

by thatkeith
Mon Oct 05, 2020 11:02 pm
Forum: Linux
Topic: Execute permissions?
Replies: 11
Views: 3357

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

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

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

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

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

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

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

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...
by thatkeith
Sun Aug 30, 2020 10:38 pm
Forum: CGIs and the Server
Topic: Image file handling with LC on server?
Replies: 4
Views: 784

Re: Image file handling with LC on server?

[bows in thanks] :D
by thatkeith
Sat Aug 29, 2020 10:51 pm
Forum: CGIs and the Server
Topic: Image file handling with LC on server?
Replies: 4
Views: 784

Re: Image file handling with LC on server?

Hi Richard,

Thanks! I've just read through some of this and it is *definitely* going to help!

Wow. [grins widely]

k
by thatkeith
Sat Aug 29, 2020 6:23 pm
Forum: CGIs and the Server
Topic: Image file handling with LC on server?
Replies: 4
Views: 784

Image file handling with LC on server?

I have LC set up on one of my servers and I've managed to get myself into first gear (as it were) with very basic operations: returning HTML with logic-based content, and driving exiftool using shell(). But I'm still struggling to understand the core concepts and differences between LC running on re...
by thatkeith
Tue Apr 14, 2020 10:52 pm
Forum: iOS Deployment
Topic: Which camera, which lens?
Replies: 0
Views: 1415

Which camera, which lens?

Is there a way to select which lens is used when shooting on an iPhone with multiple front lenses?
by thatkeith
Thu Feb 20, 2020 11:03 pm
Forum: Talking LiveCode
Topic: Drag-drop image onto app icon?
Replies: 4
Views: 1873

Re: Drag-drop image onto app icon?

Reviving an old(ish) thread:

THANKS for this! I'm sorry I didn't say this before.

One more question: any suggestions for how I should try to get this working for Windows users as well?
by thatkeith
Wed Nov 27, 2019 2:42 pm
Forum: Talking LiveCode
Topic: cameraControlSet issue
Replies: 1
Views: 1014

cameraControlSet issue

I'm refreshing my memory of LC tricks, which often means reminding myself of things by using examples from the LC Dictionary. The code samples provided there are very helpful... except when they don't work as expected – or at all. This is from the cameraControlCreate entry: cameraControlCreate "myFi...
by thatkeith
Fri Jun 28, 2019 4:47 pm
Forum: CGIs and the Server
Topic: Setting up a Rev CGI Environment in your Dreamhost Web Space
Replies: 14
Views: 26764

Re: Setting up a Rev CGI Environment in your Dreamhost Web Space

For a while I was still getting the same old error. In the end, after browsing the htaccess section of askapache.com, I put ".cgi" at the end of the livecode-server name and tweaked the htaccess reference – and it's working! Curious that you don't have to do that, but I am delighted to have found th...

Go to advanced search