Re: Beyond POSIX time

2016-01-09 Thread FlexibleLearning.com
> I get the date you first put in. Tried several, all the way back to the battle of > Hastings. All good The negative seconds do the math as well as ordinary > ones. If you got a Saturday for 14 October 1066, all good. Otherwise the algorithm is not accounting for the 1582 or 1752 calendar

Re: Beyond POSIX time

2016-01-09 Thread Richard Gaskin
dunbarx wrote: > On 1/8/2016 4:53 PM, Richard Gaskin wrote: >> Try this: >> >> on mouseUp >>put "1/1/69" into t >>convert t to secs >>convert t to short date >>put t >> end mouseUp > > I get the date you first put in. Tried several, all the way back > to the battle of Hastings.

Re: LiveCoders on Twitter - Are You There?

2016-01-09 Thread David Bovill
@fortyfoxes On Saturday, 9 January 2016, Lynn Fredricks wrote: > http://flockaflame.com/lists/LivecodeDevs/69 > > Are you posting about Livecode on Twitter? Reply with your @ and I can get > you added to this list. > > Best regards, > > Lynn Fredricks > Paradigma

Does user have network connection?

2016-01-09 Thread tbodine
For desktop standalones, is there a function or constant that will tell me if the user has an Internet connection or not? (Can't find one searching the dictionary.) Happy new year! Tom B. -- View this message in context:

RE: Does user have network connection?

2016-01-09 Thread John Dixon
on mouseUp put "http://www.google.com; into tURL put URL tURL into tempVar end mouseUp if the variable tempVar is empty then there is no internet connection > Date: Sat, 9 Jan 2016 13:55:56 -0800 > From: bod...@bodinetraininggames.com > To: use-revolut...@lists.runrev.com > Subject: Does

LiveCoders on Twitter - Are You There?

2016-01-09 Thread Lynn Fredricks
http://flockaflame.com/lists/LivecodeDevs/69 Are you posting about Livecode on Twitter? Reply with your @ and I can get you added to this list. Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Dr. Hawkins
On Sat, Jan 9, 2016 at 4:26 PM, Mark Wieder wrote: > I would think that ideally the user should be in control of whether > something goes on one screen or another, and that this ability shouldn't be > taken away from them. > AFAIK,live code offers no such option when

Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Dr. Hawkins
As I look through screenLoc, screenRect(s), etc., I'm not seeing *any* way to figure out which screen an object is on, short of manually comparing elements of its rect to the various bits of screensRects. In particular, I want to know if another stack (or group) that I set the position of will

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Scott Rossi
I believe the screenRects is the only function that determines if you have multiple monitors available. So comparing stack rects or plugging points from your group rect/s into the globalLoc function would be the way to go. The screenRect by itself determines the rect of the main monitor.

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Mark Wieder
On 01/09/2016 03:55 PM, Dr. Hawkins wrote: As I look through screenLoc, screenRect(s), etc., I'm not seeing *any* way to figure out which screen an object is on, short of manually comparing elements of its rect to the various bits of screensRects. In particular, I want to know if another stack

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Monte Goulding
> On 10 Jan 2016, at 10:55 am, Dr. Hawkins wrote: > > As I look through screenLoc, screenRect(s), etc., I'm not seeing *any* way > to figure out which screen an object is on, short of manually comparing > elements of its rect to the various bits of screensRects. put the

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread J. Landman Gay
Couldn't you just get the globalLoc of the field and set the stack to that, or an offset of it? On January 9, 2016 6:37:52 PM CST, "Dr. Hawkins" wrote: > > >Anyway, in this case, I'm popping up a stack over a field with the list >of valid choices (I needed more than the

Re: Beyond POSIX time

2016-01-09 Thread Kay C Lan
On Sat, Jan 9, 2016 at 7:21 PM, FlexibleLearning.com < ad...@flexiblelearning.com> wrote: > > If you got a Saturday for 14 October 1066, all good. Otherwise the > algorithm > is not accounting for the 1582 or 1752 calendar changes. > > Yes, often forgotten, as is the particular country you you

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread [-hh]
It's really hard to say how all the advices to this question apply to the new feature of "SplitView" of OSX 10.11 (https://support.apple.com/en-ca/HT204948) Luckily, in the sense of Mark Wieder (and TMHO). ___ use-livecode mailing list

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Monte Goulding
We get Split View for free if we implement fullscreen. I was going to do it for Hacktoberfest but it was interesting working out the syntax and how it interacts with the current fullscreen property and decorations so I went for something simpler instead. Cheers Monte Sent from my iPhone >