Search found 257 matches

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

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...
by thatkeith
Wed Jun 26, 2019 11:30 pm
Forum: CGIs and the Server
Topic: Setting up a Rev CGI Environment in your Dreamhost Web Space
Replies: 14
Views: 14414

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

EDIT: I have found the answer! What I wrote originally (below) is not correct. Read the subsequent posts for the solution. Mod_alias is available but I was in a support chat today and this was what I was told – after he went through a few things to check. Perhaps things that need more than _alias p...
by thatkeith
Wed Jun 26, 2019 7:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to determine the color of a pixel?
Replies: 12
Views: 1036

Re: How to determine the color of a pixel?

Very helpful, both of you. Thanks! Time for some more pondering and testing... :)
by thatkeith
Wed Jun 26, 2019 7:42 pm
Forum: CGIs and the Server
Topic: Setting up a Rev CGI Environment in your Dreamhost Web Space
Replies: 14
Views: 14414

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

EDIT: I have found the answer! What I wrote originally (below) is not correct. Read the subsequent posts for the solution. After trying this for a while and chatting with Dreamhost's support team (who are always helpful) it turns out that running LiveCode Server as CGI is NOT possible in a shared s...
by thatkeith
Wed Jun 26, 2019 7:38 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 17752

Re: POLL: LiveCode Server deployment

EDIT for posterity: it IS possible to run LC Server in Dreamhost shared server space. See the link to a different thread in Richard’s post below. --- Figured out the problem. Unfortunately it's NOT possible on Dreamhost's shared servers. Three Apache modules are required for livecode-server to run ...
by thatkeith
Wed Jun 26, 2019 6:59 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 17752

Re: POLL: LiveCode Server deployment

Most of the posts seem to focus on the problems inherent in setting it up, which may be why we see so few actually programming it. I think you hit the nail on the head. I've asked for help from LC Towers, but no joy yet. I use shared hosting at Dreamhost and I'm happy with this; I'm hoping not to h...
by thatkeith
Wed Jun 26, 2019 6:38 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 17752

Re: POLL: LiveCode Server deployment

I tried that 'How To' page before, but I did it again (as I know I make mistakes) and got the same result. Here's my experience: In the web root .htaccess I added: AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-server I created a cgi-bin folder and added the contents of the ...
by thatkeith
Wed Jun 26, 2019 5:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to determine the color of a pixel?
Replies: 12
Views: 1036

Re: How to determine the color of a pixel?

FourthWorld wrote:
Tue May 14, 2019 9:22 pm
I would imagine it's much faster to get the imageData and walk through it in a loop.
I feel silly asking, but any pointers on getting this data out in a recognisable form? If I put it into a field it just displays a long single string like so:

Code: Select all

^^^^^^^^^^^^^^^^^^^^^^
by thatkeith
Wed Jun 26, 2019 5:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to determine the color of a pixel?
Replies: 12
Views: 1036

Re: How to determine the color of a pixel?

Added to QCC: bug (not really a bug) 22212.
by thatkeith
Wed Jun 26, 2019 1:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to determine the color of a pixel?
Replies: 12
Views: 1036

Re: How to determine the color of a pixel?

I have always wanted to have a function "the pixelColor", that would not require the actual cursor to be placed somewhere, only to specify a loc. Maybe we can propose an enhancement request. Craig Newman That would indeed be great! I've just scoured the LC dictionary for something like that and end...
by thatkeith
Wed Jun 19, 2019 11:08 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 17752

Re: POLL: LiveCode Server deployment

I read in a 2008 post on this topic (back in the Rev day’s) that Dreamhost requires .cgi as the filename extension, but my tests with htaccess suggest this may not be restricted like that – or at least it’s trivial to work around.
by thatkeith
Wed Jun 19, 2019 11:05 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 17752

Re: POLL: LiveCode Server deployment

Dreamhost is my preference, and the web root there is the domain name, for example thatkeith.com. So yes, it varies for each domain but in a logical manner.
by thatkeith
Wed Jun 19, 2019 10:48 am
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 17752

Re: POLL: LiveCode Server deployment

FourthWorld wrote:
Sat Mar 12, 2016 5:19 pm
I wonder how many folks who've had difficulty setting up LC Server would find it easy to upload and run a shell script on their server?
I would, relatively speaking. That sounds superb. I hope those things still work this long after you posted. :)
by thatkeith
Wed Jun 19, 2019 9:45 am
Forum: CGIs and the Server
Topic: Setting up in shared host environment (Dreamhost)
Replies: 3
Views: 439

Setting up in shared host environment (Dreamhost)

I have a web host account at Dreamhost, and I’d like to get LC Server set up. I won’t be able to alter Apache of course, but it seems possible to do this with just the standard level of control. But the posts about this are 11 years and MANY versions old – are there instructions anywhere that are re...
by thatkeith
Tue Jun 11, 2019 1:22 am
Forum: Talking LiveCode
Topic: Drag-drop image onto app icon?
Replies: 2
Views: 349

Drag-drop image onto app icon?

I have drag and drop working fine for dropping an image into an object in my stack. But is it possible to set things up so I can drag-drop an image onto my standalone icon in the Dock (I'm on a Mac) and have it work just the same?

Go to advanced search