Hi Phil,
A cron job needs a correct terminal command. If you can type it in your
terminal (e.g. over ssh) and don't need to enter a password and other
additional information then you can also use it as a cron job. I wonder if it
would work if you start your script with
#!/path/to/lc/server
You can also create a lc script and call it with curl such as
curl http://myserver/mycron.lc
This way, you don't need to know the path to the engine.
On Mon, Jan 16, 2012 at 8:51 AM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
Hi Phil,
A cron job needs a correct terminal
Thank you all for the feedback.
This is on a LAN and I will be able to use the 5.x engine there, so it seems
$_session will be my friend. Will need to put a little work into it.
Alex, facebook authentication sounds interesting, however, will not be
something I can do for this project. for
... or just:
if tDegrees 0 then put (360 + tDegrees) into tDegrees
or, with no conditional at all:
put (360 + tDegrees) wrap 360 into tDegrees
-- works for all values, positive or negative
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Jan 16, 2012, at
Tim,
Does a lap potentially include a figure 8? You will be on the same heading
twice per lap in a figure 8, but you could monitor the sweep of headings to
capture that possibility. Maybe a lap requires a reasonable progression through
southern, eastern, northern, and western headings.
--WS
If you don't want toe first line #! to output you can do another method.
Use a shell script with #!/bin/bash (wherever bash resides)
then /path/to/livecode scripttorun
Otherwise (unless they've changed things in the recent versions) lc will
output the #! line as part of the output.
On Mon, Jan
Hi All,
I'm playing around with visual effects. Can anyone tell me why the below won't
work for the mouseUp when both handlers are placed in the same button?
on mouseDown
lock screen for visual effect
set the visible of graphic Chip02 to not the visible of graphic Chip02
unlock screen
Randy,
I'm using 4.0 and it works if you use
lock screen
instead of
lock screen for visible effect
Mike
--- On Mon, 1/16/12, Randy Hengst iowahen...@mac.com wrote:
From: Randy Hengst iowahen...@mac.com
Subject: Visual Effects in LC 5.0.2
To: How to use Revolution
Mike,
It works in 5.0.2 that way, too. But, then you can't use visual effects.
In fact, the visual effect in the mouseDown is blocking the entire mouseUp.
Doesn't seem to matter what's in the mouseUp… it's not carried out unless you
hold the button down until the entire visual effect is
Thanks again, Mike! Much obliged.
Gregory
On Mon, Jan 16, 2012, at 6:16 AM, use-livecode-requ...@lists.runrev.com wrote:
Message: 9
Date: Sun, 15 Jan 2012 12:52:33 -0700
From: Mike Bonner bonnm...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: Getting the
Hi all.
I am a little bit concerned with defining integer types. The manual defines INT
as using 4 bytes for storage, for a maximum of 4294967296 values. However, I
read somewhere (possibly here) that for auto incrementing keys I should use
int(64) the maximum allowed. Does that mean that my
Hi Randy,
the mouseUP does not get sent while the visual effect is in progress. As one
can see in the Message Watcher.
If that qualifies as a bug I don't know.
if you really want to have the effects on mouseDown and the next effect when
the mouse is up then the only workaround I found is this:
In a program designed to teach Spanish orthography to children (and a few
adults), I have six fields that contain those chars: Á É Í Ó Ú Ü (accented
vowels). They are supposed to be moved ans dropped into words that lack the
right accents. It works fine on Mac.
The Dictionary states that:
Upon further investigation, I see that the number supplied as an argument to
the data type is the actual number of digits or significant bits. I guess for
my purposes bigint is all I will need for things like uniqueid's. I can write
an overflow function at some point that will use vacated
Thanks so much guys! I went with Andre's 'curl' suggestion since I don't know
the path to the livecode server engine.
Phil
On 1/16/12 6:38 AM, Mike Bonner wrote:
If you don't want toe first line #! to output you can do another method.
Use a shell script with #!/bin/bash (wherever bash
First of all, thanks to all of you who offered advice on this problem, with
special thanks to Craig Newman for definitively pointing out that The last
keyword is not stable when referring to groups. - apparently a LC bug
After doing a little exploring through the dictionary for a workaround, I
INT(64) is a 64-bits integer, so 8 instead of 64 bytes :-)
Still, that limit should keep you safe for some time to come...
Jan Schenkel.
=
Quartam Reports PDF Library for LiveCode
www.quartam.com
=
As we grow older, we grow both wiser and more foolish at the same time. (La
Hi Bernd
I like your idea… I simply placed everything in the mouseDown as the workaround.
Don't know if it's a bug or not.
be well,
randy
---
On Jan 16, 2012, at 1:16 PM, BNig wrote:
Hi Randy,
the mouseUP does not get sent while the visual effect is in progress. As one
can see in the
Hi Bob,
Int(64) refers to the external display of a column, not its internal
storage space. As you mentioned INT takes 4 bytes of storage but its
external display format can be up 10 chars.
I guess if you're really concerned about it, you could use BIGINT but there
is no theoretical software
Hi,
Almost all of my laps are on a straight line. Back and forth we go.
Swimmers in a pool.
Mark R
--
--
Ta.
Mark Rauterkus mark.rauter...@gmail.com
http://Rauterkus.blogspot.com
http://FixPA.wikia.com
http://CLOH.wikia.com
412 298 3432 = cell
On Jan 16, 2012, at 12:56 PM, Pete wrote:
In SQLite, if you define an INTEGER PRIMARY KEY column with AUTOINCREMENT
keyword, primary key values are always allocated as the next highest value
for the table, but if you omit the AUTOINCREMENT, then values freed up by
deleted rows may get
On 1/16/12 2:17 PM, user wrote:
First of all, thanks to all of you who offered advice on this
problem, with special thanks to Craig Newman for definitively
pointing out that The last keyword is not stable when referring to
groups. - apparently a LC bug
I'm not sure it's really a bug. I think
I remember in Trevor's original DB abstraction library (before SQL Yoga) he
used a manual indexing method, instead using a special table of indexes for
each table that is used. That allowed the changing the actual value of the
keys if needed. Automatic indexing is a feature that is not mandatory,
Jacque-
Monday, January 16, 2012, 1:28:22 PM, you wrote:
I'm not sure it's really a bug. I think the last keyword refers to the
highest-numbered object. If you put an object into a group, it won't be
the highest number unless the enclosing group is also the highest
numbered object.
English
Greetings listMates,
I've got a series of similar keyboard shortcuts that are called by a
commandKeyDown whichKey combination, where whichKey is intended to be a
number.
on commandKeyDown whichKey
switch whichKey
case 1
(do stuff)
OIC not the last object that was created but the last object in the numbered
list of objects! I think you may be right about that!
Bob
On Jan 16, 2012, at 1:28 PM, J. Landman Gay wrote:
On 1/16/12 2:17 PM, user wrote:
First of all, thanks to all of you who offered advice on this
problem,
I have found that key handling can be iffy for keys not part of the normal
characters. For instance, someone was having issues with the arrowKey message.
It only seems to be generated with one or two of the arrow keys. People in your
situation end up using rawKeyDown and figuring out what those
On Jan 16, 2012, at 3:17 PM, Alan Gayne wrote:
No issue at all when whichKey is one of the numbers at the top of
the QUERTY keyboard, but when I try to use the commandKeyDown number
combination using the numbers on the extended keyboard keypad it
didn't work.
You could do a quick translation
On 1/16/12 9:26 PM, J. Landman Gay wrote:
On Jan 16, 2012, at 3:17 PM, Alan Gayne wrote:
No issue at all when whichKey is one of the numbers at the top of
the QUERTY keyboard, but when I try to use the commandKeyDown number
combination using the numbers on the extended keyboard keypad it
Hi Thomas,
To me, determining laps by heading seems to be very inaccurate, but I don't
fully understand your requirements. The only thing I suggest is using the
'accuracy' value as returned by the iPhoneCurrentHeading() function rather
than your current fixed value of 150. If the number is very
30 matches
Mail list logo