Do this:
repeat for each line thisLine in myTrainingLines
if the length of thisLine 5 then put thisLine return after myList
end repeat
delete last char of myList
put myList into field myTrainingOps
Phil Davis
On 4/1/14, 10:32 PM, la...@significantplanet.org wrote:
I have the following
Thanks Phil!
- Original Message -
From: Phil Davis rev...@pdslabs.net
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Wednesday, April 02, 2014 12:14 AM
Subject: Re: more trouble...
Do this:
repeat for each line thisLine in myTrainingLines
if the length of thisLine
Here is my script line:
sort field myTimes descending dateTime
And here is the result:
16:33
15:56
12:16
11:35
9:14
7:47
2:08
1:22
25:34
34:55
Here is my other script line:
sort field myTimes ascending dateTime
And here is the result for that:
25:34
34:55
1:22
2:08
7:47
9:14
hmm - in that case it must be something I've recently been doing more of that
is encouraging runaway conditions. Have been seeing it more often on my
local Win7 machine as well as a remote Windows server I remote into...
-
Some are born coders, some achieve coding, and some have coding
Larry,
that should be
sort lines of field myTimes descending dateTime
I assume that myTimes is a variable, but if it isn't, then your lines
should be
sort lines of field myTimes descending dateTime
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Quick aside: I'm assuming that use of 'char' (as in delete the last char of
tVar) in the new world of Unicode will still work to get rid of a
cr/return/tab - is that others' understanding too?
-
Some are born coders, some achieve coding, and some have coding thrust upon
them. - William
Hi Dave,
One reason why this may happen is the Geometry manager.
Another reason is the margins of the group. If the margins are set to 0
and you're using the GM or have a resizing script somewhere, the
controls often tend to walk.
Also, if you're using rect, top, left, bottom, right and
25:34 and 34:55 are not valid dateTimes, so where those lines get sorted
to is not well undefined; it looks as though LC simply decides to give
them a '0:00'.
Apart from those two lines, it looks (to me) like the result is correct.
Isn't it ?
-- Alex.
On 02/04/2014 08:41,
Dave,
I don't know anything about Unicode, but delete the last char of field
myField worked just fine in LC
- Original Message -
From: Dave Kilroy d...@applicationinsight.com
To: use-revolut...@lists.runrev.com
Sent: Wednesday, April 02, 2014 1:57 AM
Subject: Re: more trouble...
Sorry Alex, I do not understand.
16:33 is sixteen minutes and 33 seconds.
So why is 25:34 not twenty-five minutes and 34 seconds?
Last time I checked, there are 60 minutes in an hour.
- Original Message -
From: Alex Tweedly a...@tweedly.net
To: use-livecode@lists.runrev.com
Sent:
Hi Mark
Well in one of the stacks the relevant controls (fields and graphics) are
contained in a group with margins set to 0, which is itself contained in a
group with margins set to 0 - but in the other stack the controls are not
grouped.
I never mess the geometry manager and resize controls
Another way to do this would be to put a 0 in front of the 'hours minutes'
before you sort them...
Alex, it trying to help you... no need to be cheeky !...
on mouseUp
set itemdel to :
repeat with count = 1 to the number of lines of fld 1
if the number of chars of item 1 of line
Thanks John,
I'm not trying to be cheeky but I am frustrated. Sorry Alex.
John, what you propose may work - haven't tried it yet.
However, that still does not explain why WITHOUT the 0 in front of it, 9:14
was listed before 11:35 in my ascending sort. And just FYI, those are
minutes and
Hi Jacque,
I have tried executing javascript on the new browser control and it
works as expected. The following is what I tested with and the javscript
is used to fill in a web form and then submit the data-
/ put document.getElementById('user_email').value='t...@test.com';
John,
There's no need to use a repeat loop:
on mouseUp
put fld 1 into myList
set the itemDel to colon
sort lines of myList numeric by item 2 of each
sort lines of myList numeric by item 1 of each
put myList into fld 2
end mouseUp
--
Best regards,
Mark Schonewille
Larry,
I looked at this again. If I use the following script
on mouseUp
set the twelveHourTime to true
put fld 1 into myList
set the itemDel to colon
sort lines of myList descending numeric dateTime
put myList into fld 2
end mouseUp
I get this result:
16:33
15:56
12:16
11:35
Well Mark,
I guess I do not know how to state minutes and seconds in the proper syntax
for a correct dateTime sort.
However, your piece of code below works perfectly. Thanks very much!
Larry
on mouseUp
put fld 1 into myList
set the itemDel to colon
sort lines of myList numeric by
I think the point is that (since the new guessProgrammerIntent feature that
Devin spotted yesterday is no longer available today) the code for
interpreting as dateTime has to make assumptions when the data isn't explicit.
Not unreasonably, asked to interpret dd:dd as a datetime value, the code
Hi Larry
Yep I use 'delete the last char of tVar' currently - the thing is can we use
in the future? (I'm assuming so) - see this blog for info on LiveCode's
upcoming Unicodification
http://livecode.com/blog/2014/03/31/examining-unicode-part-i-the-dissection/
-
Some are born coders, some
-- Forwarded message --
From: J. Landman Gay jac...@hyperactivesw.com
To: How to use LiveCode use-livecode@lists.runrev.com
Cc:
Date: Tue, 01 Apr 2014 21:47:13 -0500
Subject: Re: Fiels as containers
On 4/1/14, 5:10 PM, Muaadh Salih wrote:
In a simple stack of five crads I put
Thank you Ben. I agree with what you say and just hadn't thought of that -
because my mind was locked in on MM:SS.
So Mark gave me a piece of code that works perfectly in sorting the field
how I want. And now I recognize that Mark's code is NOT a workaround, but
just taking into account what
I think of 16:33 as sixteen hours and 33 minutes - LC won't interpret it
as minutes and seconds, and thus anything above 23:59 is invalid - and
therefore apparently interpreted as 0:00
Unfortunately I can't find a definitive list of valid formats in the
docs, but nothing in the dictionary
The challenge with this issue (of automatically sending an email from a given
computer) is that I need to offer the easiest, most compatible, and the safest
method to the user. The users of this app can range from a single computer home
user to a large corporation with many Macs installed.
To
On 2 Apr 2014, at 12:30, Fraser Gordon fraser.gor...@runrev.com wrote:
On 2 Apr 2014, at 12:24, Richmond richmondmathew...@gmail.com wrote:
I have just been reading Fraser's seminal article here:
http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/
and got
I'm still surprised that your original approach of doing SMTP directly from
inside LC wasn't sucessful.
I have an app that does data transformation jobs on a regularly scheduled
basis, and sends reports via email. I coded it many years ago, basing this
part on Shao Shen's libSMTP; with
On 02/04/14 14:41, Fraser Gordon wrote:
On 2 Apr 2014, at 12:30, Fraser Gordon fraser.gor...@runrev.com wrote:
On 2 Apr 2014, at 12:24, Richmond richmondmathew...@gmail.com wrote:
I have just been reading Fraser's seminal article here:
(answering my own responses again :-)
It depends what your file contains if the time is more than one hour. If
the time was, say, sixty-five-and-a-half minutes, would the file entry
be 65:30 or 1:05:30
If it's the former, then Mark's two-step sort is the right answer.
If it's the
On 2 Apr 2014, at 13:15, Richmond richmondmathew...@gmail.com wrote:
Re: Diacritics. While you are a real computer programmer (which I am most
definitely not), I have an M.A. in Linguistics.
I remembered your interest in linguistics shortly after sending the email and
felt rather silly
Just to confirm - it looks like we are safe to continue using the delete the
last char of tList structure (Fraser just confirmed it in a reply to my
question over at
http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/
)
I can relax now without that niggling little
Yes, Ben... I agree with you. The frustration is that, in testing both
Shao's library and Sarah's with one client in particular (120 Mac's), we
couldn't get either to work with their mail settings (and we tried
numerous settings). It works fine using my GoDaddy settings, so I know
the
On 02/04/14 15:39, Fraser Gordon wrote:
On 2 Apr 2014, at 13:15, Richmond richmondmathew...@gmail.com wrote:
Re: Diacritics. While you are a real computer programmer (which I am most
definitely not), I have an M.A. in Linguistics.
I remembered your interest in linguistics shortly after
On 02/04/14 15:39, Fraser Gordon wrote:
snip
There should be an entry for it (at least there is in my copy). If you want to get an
idea of what properties are provided, go to http://www.unicode.org/reports/tr44/ and
scroll down to section 5 Properties. Not all the properties in that table
Has anybody implemented Google Maps or Google Earth? I notice the mergeMK
external looks like it has some nice features. I'd be interested in anybody's
experience and particularly if the mergeMK external is expected to work with
livecode 7.
Best,
Bill
William Prothero
http://es.earthednet.org
On 2 Apr 2014, at 15:04, Richmond richmondmathew...@gmail.com wrote:
and so to: http://www.unicode.org/reports/tr44/#Decomposition_Type
PropList.txt
would I be correct in thinking that in scripting phrases that are of this
sort;|
codepointProperty(c, Diacritic)
where you have
Dave Kilroy wrote:
Just to confirm - it looks like we are safe to continue using the
delete the last char of tList structure (Fraser just confirmed
it in a reply to my question over at
http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/
)
I can relax now without
I think if you set the numberFormat to “00” and itemDelimiter to “:” you can
add 0 to each item.
Bob
On Apr 2, 2014, at 01:15 , John Dixon dixo...@hotmail.co.uk wrote:
Another way to do this would be to put a 0 in front of the 'hours minutes'
before you sort them...
Alex, it trying to
I think he is saying that 9:14 and 11:35 is not a valid dateTime so the engine
reverts to a text sort. There is no date in the dateTime.
Bob
On Apr 2, 2014, at 01:25 , la...@significantplanet.org
la...@significantplanet.org wrote:
Thanks John,
I'm not trying to be cheeky but I am
On 02/04/14 17:39, Fraser Gordon wrote:
On 2 Apr 2014, at 15:04, Richmond richmondmathew...@gmail.com wrote:
and so to: http://www.unicode.org/reports/tr44/#Decomposition_Type
PropList.txt
would I be correct in thinking that in scripting phrases that are of this sort;|
codepointProperty(c,
This will produce a flurry of support calls, as home users in my experience
never remember their own email passwords unless they use webmail and have to
enter it each time, in which case that users email would be useless to you.
I install copiers for a living now, and by far the biggest snag,
Richard Miller wrote:
I am still looking into the PHP script option for corporate users.
One alternative solution is to have my app pop up a notification on
the users desktop alerting them to the problem. This avoids the need
to send an email altogether. But I have been told that this
Google maps work with liveCode 7 on the desktop and on mobile... Monte
Goulding's mergMK works on mobile.
Has anybody implemented Google Maps or Google Earth? I notice the mergeMK
external looks like it has some nice features. I'd be interested in anybody's
experience and particularly if
On Apr 2, 2014, at 4:33 AM, Richard Miller w...@together.net wrote:
I am still looking into the PHP script option for corporate users.
The PHP/LiveCode solution is completely silent, will work on both the internet
and intranet, require no mail config on the client side. The only requirement
This is an odd one. I'm developing a desktop app with a menu bar (Mac) all set
up and fully working in early development cycles. When running under the IDE,
one click on the mainstack which owns the menu replaces the IDE's own menu with
mine, as expected, and that menu works as normal. Then I
So; here I am bu**ering around in my Devawriter Pro
[ http://andregarzia.on-rev.com/richmond/dwriterpro.html ]
which is in what I, slightly pompously, call its 3rd System Development
Life-Cycle . . .
Anyway . . .
Inside a socking great rawKeyDown Case statement one of the
possibilities runs
On 4/2/14, 4:44 AM, Muaadh Salih wrote:
What I can not undrstand is why it DOES work when :
1- save the stack scripte
2- close
3- open stack (from file menu without quiting LC )
while it DOES NOT ( always goes to card one) when:
1- Save the stack scripte
2- Cose
3- Quit LC
4-Double click on
On 4/2/14, 3:47 AM, Neil Roger wrote:
Hi Jacque,
I have tried executing javascript on the new browser control and it
works as expected.
Thanks Neil, very helpful, especially the script. I'm no Javascript
programmer.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
On Apr 2, 2014, at 11:18 AM, Richmond richmondmathew...@gmail.com wrote:
So; here I am bu**ering around in my Devawriter Pro
[ http://andregarzia.on-rev.com/richmond/dwriterpro.html ]
which is in what I, slightly pompously, call its 3rd System Development
Life-Cycle . . .
Anyway . . .
On 02/04/14 20:49, Devin Asay wrote:
On Apr 2, 2014, at 11:18 AM, Richmond richmondmathew...@gmail.com wrote:
So; here I am bu**ering around in my Devawriter Pro
[ http://andregarzia.on-rev.com/richmond/dwriterpro.html ]
which is in what I, slightly pompously, call its 3rd System Development
Where are your menPick handlers? As I recall they have to be in the
menubar group not on each button that represents a menu. Doesn't fit your
problem exactly but maybe contributing.
Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
John,
It looks like I can run Google Earth in a browser window using JavaScript. Is
that the best way to access it? I would prefer a solution that works on both
mobile and desktop.
Bill
Bill
William Prothero
http://es.earthednet.org
On Apr 2, 2014, at 8:26 AM, John Dixon dixo...@hotmail.co.uk
Hi there,
Boy did I ever make a mistake trying to upgrade from LC 6.5.2 to 6.6.0!
After the upgrade, I discovered that 6.6.0 wouldn’t see the iOS SDKs.
Then I discovered in the notes that the fix was in LC 6.6.1 (rc-1).
So I started up 6.6.1 (rc-1) and discovered that my app which used
to run
Has anyone noticed a difference in screengamma in the last couple of
releases? I've got some images here that look darker on Mac than they
did a while back (not sure when it changed, but it's only a few weeks.)
Setting the screengamma in the message box to 2.2 fixes it, but the
default 1.7
I keep getting errors about splash screens not being the right format. I
tried changing that and it's not working. I'm using Livecode 6.6 and Xcode
5.1.
These are the errors from Application Loader:
Apple's web service operation was not successful
Unable to authenticate the package:
iOS SDK 5.1 is not recognized in 6.5.2. You must use pre 5.1 SDK. 5.0.2 will
work and get the green box back.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Make sure you are running the application loader in the 5.1 app bundle.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of James Little
Sent: Wednesday, April
Not sure what you mean by “running the application loader in the 5.1 app
bundle. I’m using Application Loader version 2.9.1 (441) if that helps.
On Apr 2, 2014, at 1:44 PM, Ralph DiMola rdim...@evergreeninfo.net wrote:
Make sure you are running the application loader in the 5.1 app bundle.
Doing quality GUI is not easy Livecode... But I won't rant on too much
about how easy it would be to ramp up the existing IDE to help
creatives (graphic design types) build beautiful UI without so much
pain... without having to do anything to the engine...
Is there a layout grid tool that we
That is the most recent version from the 5.1 SDK. H. Is the icon REALLY
in png format not a png in name only?
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
Hi Tom
Yes now that you mention it I also have seen your 'runaway selecting' in the
script editor - I've learnt to use the pageup and pagedown keys if I have a
lot to select - but it would be nice if I didn't have to ...
-
Some are born coders, some achieve coding, and some have coding
The files being complained about are the splash screens. But your question
still holds true, maybe they are JPEGs.
Or perhaps the splash screen has been placed in the icon path?
On Apr 2, 2014, at 5:24 PM, Ralph DiMola rdim...@evergreeninfo.net wrote:
That is the most recent version from the
On 4/2/14, 3:39 PM, James Little wrote:
I keep getting errors about splash screens not being the right
format. I tried changing that and it's not working. I'm using
Livecode 6.6 and Xcode 5.1.
I got that once. This may not be what's happening to you, but in my case
I had saved the images in
Ralph and Colin: I will try saving the splash screens again as PNGs and see if
that helps.
On Apr 2, 2014, at 2:33 PM, Colin Holgate co...@verizon.net wrote:
The files being complained about are the splash screens. But your question
still holds true, maybe they are JPEGs.
Or perhaps the
There are “rulers” you can turn on (View menu - Rulers) that can help you
position objects. As far as a grid or guides that objects can snap to, not sure
about that. If such a thing exists, I’d like to know myself. :-)
Chris
--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
On
On 4/2/14, 12:32 AM, la...@significantplanet.org wrote:
repeat for each line thisLine in myTrainingLines
if the length of thisLine 5 then
put thisLine return after field myTrainingOps
end if
end repeat
-- filter field myTrainingOps without empty -- WHY IN THE HECK DOESN'T THIS
LINE
So now if I cant sleep, instead of counting sheep I'll be counting bytes,
codeunits, codepoints, trueWords, segments, sentences and paragraphs :)
-
Some are born coders, some achieve coding, and some have coding thrust upon
them. - William Shakespeare Hugh Senior
--
View this message in
Brahmanathswami wrote:
I'm mentoring a young man (13 years old) who is eating up LiveCode like
it was granola, but he is used to better tools for the eye candy layer
and asked me if there was a grid tool.. (not data grid)
A few such tools have floated around the forums I think, but they're
On 4/2/14, 4:25 PM, Brahmanathswami wrote:
I'm mentoring a young man (13 years old) who is eating up LiveCode like
it was granola, but he is used to better tools for the eye candy layer
and asked me if there was a grid tool.. (not data grid)
It's built-in but invisible. In preferences, go to
I am trying to understand how to manage formatted text in fields and I am
missing something. I have field “in” that contains a long page of formatted
text that ultimately will be hidden. I have another field “out” where I am
trying to page the data from field “in” like pages of a book (no
Well, I learned something new today. Cool! Thanks Jacque and Richard.
On Apr 2, 2014, at 3:43 PM, J. Landman Gay jac...@hyperactivesw.com wrote:
On 4/2/14, 4:25 PM, Brahmanathswami wrote:
I'm mentoring a young man (13 years old) who is eating up LiveCode like
it was granola, but he is used
Hi,
you might want to have a look at
http://livecodeshare.runrev.com/stack/757/GridDrawer
It tries not to be intrusive, you drag group from a plug-in onto the card
you are just editing.
When done just delete the group.
Kind regards
Bernd
--
View this message in context:
This doesn't help you, but just to commiserate, PNGs have always been dark
for me, even when pasting from other apps. Not sure if they're darker
than usual in the recent versions.
It would be nice to know after all these years what the expected method
is for dealing with this. AFAIK, there's
Just experienced this again -- downloaded LC 6.6, opened the stack, half
the controls on the page were missing. This time I was prepared. I opened
navigator, selected the arrow tool, and started clicking lines in
navigator. Again, no group, no properties being changed -- navigator just
changes the
On 4/2/14, 5:13 PM, Scott Rossi wrote:
This doesn't help you, but just to commiserate, PNGs have always been dark
for me, even when pasting from other apps. Not sure if they're darker
than usual in the recent versions.
I didn't notice it much but my client did. They swear it didn't used to
If you're some who (like me) is visual, you can apply an image as the
backPattern of a card to get a visible grid overlaid on your card. The
backPattern property was changed (I believe) around version 6 to support
the transparency of bitmap images, so you can make make whatever pattern
you want.
On 4/2/14 3:45 PM, J. Landman Gay jac...@hyperactivesw.com wrote:
On 4/2/14, 5:13 PM, Scott Rossi wrote:
This doesn't help you, but just to commiserate, PNGs have always been
dark
for me, even when pasting from other apps. Not sure if they're darker
than usual in the recent versions.
I
Regarding paging of text.
I too have wanted to do this and have been flummoxed by the nature of text
fields and their visual appearance capabilities. Unfair I know but still
annoying.
I borrowed a solution from a stack on Livecodeshare (the name of which escapes
me, not being at my desk.)
On 4/2/14, 4:44 AM, Muaadh Salih wrote:
What I can not undrstand is why it DOES work when :
1- save the stack scripte
2- close
3- open stack (from file menu without quiting LC )
while it DOES NOT ( always goes to card one) when:
1- Save the stack scripte
2- Cose
3- Quit LC
4-Double
Hi Ralph,
Thanks for the tip.
I felt things were so bad that it was just best
for me to roll back my entire computer to my
Time Machine Backup from early this morning
before I started messing with things. I’m
happy with my older environment where
everything worked quickly.
I think LC 6.6.0 and
Rick Harrison wrote:
I think LC 6.6.0 and LC 6.6.1(rc-1) were released
too soon. The retina speed issue really needs to
be properly addressed, and it wasn’t for these
releases.
Any build labeled RC is for testing. I appreciate your help testing
that build and filing bug reports on any
Not sure if this helps but as of 6.1 there is a property named pageheights
which lists, one per line, the height in pixels of each page of a field.
Check the dictionary for more details.
Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
80 matches
Mail list logo