Search found 1473 matches

by sturgis
Fri Jul 10, 2015 1:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC crashing with repeat
Replies: 12
Views: 1753

Re: LC crashing with repeat

This does actually work.. repeat until (the hilite of button "stop") It even works with regular buttons if the mouse is down during the check, but of course would be unreliable under many circumstances unless you just click and hold. The wait with messages is rather important. :) I did this.. repeat...
by sturgis
Fri Jul 10, 2015 1:14 am
Forum: Off-Topic
Topic: Recently we've been investing ....[SOLVED?]
Replies: 112
Views: 24871

Re: Recently we've been investing ....[SOLVED?]

I'm one who doesn't make a living from LC, though I do quite a bit for friends around here coding whatever they need. I too understand the need to make a living, and don't wish to see RR going the way of the dodo. However, if I were still paying for LC, the whole "reverts" thing would chap my hide t...
by sturgis
Tue Jun 23, 2015 3:24 pm
Forum: Talking LiveCode
Topic: Simple handler crashes LC or worse
Replies: 7
Views: 1533

Re: Simple handler crashes LC or worse

As written, it just pian shouldn't work. When everything is resolved it ends up looking like the following: delete char 26 of char 12 to 16 of field 1 Or if there is only an insertion point.. delete char 29 - 1 of char 29 to 28 of field 1 Strangely, now I can't get it to crash, it doesn't actually d...
by sturgis
Mon Jun 22, 2015 10:47 pm
Forum: Bug Triage
Topic: Appcrash when compiled in LiveCode but not RunRev
Replies: 3
Views: 1484

Re: Appcrash when compiled in LiveCode but not RunRev

Do you have a password protected stack as part of your app? Livecode community doesn't support password protected stacks anymore.
by sturgis
Mon Jun 22, 2015 4:19 am
Forum: Internet
Topic: @#! daylight saving time…
Replies: 1
Views: 1462

Re: @#! daylight saving time…

One thing I do, when the exact hour doesn't matter, is use 12:00 noon of the day in question to generate my seconds.

Code: Select all

put the date && "12:00 PM" into tDay
convert tDay to seconds 
This helps avoid the crankiness caused by daylight savings when calculating days between.
by sturgis
Mon Jun 22, 2015 4:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't save stack
Replies: 3
Views: 950

Re: Can't save stack

I suspect you don't have rights to write to the sdk folder. Choose a different location. YOu can either browse to the documents folder, or prior to saving you can use the message box and execute "set the folder to specialfolderpath("documents") then try to save and it should open up the save dialog ...
by sturgis
Mon Jun 22, 2015 1:14 am
Forum: Mac OS
Topic: Yosemite, Server.app and LiveCode Server
Replies: 3
Views: 1657

Re: Yosemite, Server.app and LiveCode Server

Where are you editing the config files for apache? If you're doing it in the /etc hierarchy, that's not where the server app files are stored. Look in /Library/Server/web/config/apache2/ and dig around for what you need.
by sturgis
Mon Jun 22, 2015 1:09 am
Forum: Mac OS
Topic: Keydown Help..!
Replies: 7
Views: 4225

Re: Keydown Help..!

I notice you're using "spacebar" as the name of the parameter used in the keyDown handler. All that means is that you now have a local variable named "spacebar" with a numeric keycode value in it. To see what I mean, you should create a test handler.. on keyDown spacebar put spacebar -- will display...
by sturgis
Mon Jun 22, 2015 12:39 am
Forum: Talking LiveCode
Topic: Simple handler crashes LC or worse
Replies: 7
Views: 1533

Re: Simple handler crashes LC or worse

You're right, It seems the engine doesn't like trying to delete a char from a return value (IE delete char 104 of "char 94 to 93 of field 1") Its trying to delete a char from "the selectedchunk returned string, rather than the field. 7.0.5 spits up too. (though no hard crashes, just compiler errors ...
by sturgis
Mon Jun 22, 2015 12:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Creating an idle timer
Replies: 4
Views: 1457

Re: Creating an idle timer

If it were me, I'd keep a list of connected clients that includes "the seconds" of their last valid action. Perhaps even an in memory sqlite table. Then for the checks, you could use a send in time loop, check it every couple minutes. The pseudocode would be something like this.. on newConnection pV...
by sturgis
Sun Jun 21, 2015 11:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 'repeat until the mouseClick' not work
Replies: 5
Views: 2075

Re: 'repeat until the mouseClick' not work

My guess would be that mouseclick() isn't actually supported on mobile. YOu might have to tweak things so that you use touchstart, touchend, or a combination of the two. I'm not sure if mouseclick is or is not supported on mobile.. The dictionary says it is, but it also says its supported on server ...
by sturgis
Fri Jun 05, 2015 2:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lockLocation top of graphic "line" ??
Replies: 27
Views: 4239

Re: lockLocation top of graphic "line" ??

Ok. I'm stealing that. I thinko quite often.
by sturgis
Fri Jun 05, 2015 3:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lockLocation top of graphic "line" ??
Replies: 27
Views: 4239

Re: lockLocation top of graphic "line" ??

I thought it was like "think or thwim" ThinkO for short.
by sturgis
Thu Jun 04, 2015 11:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lockLocation top of graphic "line" ??
Replies: 27
Views: 4239

Re: lockLocation top of graphic "line" ??

Actually, setting the right of an object or the left of an object simply moves an existing object and doesn't change its size. Like setting the left of button 1 to the left of this card just moves it to the edge of the card. You would actually have to set the width of the object or change the rect o...

Go to advanced search