sorting

2014-08-09 Thread larry
I have a field I want to sort. Each line has 4 words. I want to sort by the first word (ascending) and then do a 2nd sort by the 3rd word without changing the order of the first word. Example: apple box apple pie apple zoo baby blue baby rattle baby zoo etc. TIA Larry

Re: sorting

2014-08-09 Thread Björnke von Gierke
sort theList by word 2 of each sort theList by word 1 of each sort order is retained in-between commands, that's why it works. On 09 Aug 2014, at 08:24, la...@significantplanet.org wrote: I have a field I want to sort. Each line has 4 words. I want to sort by the first word (ascending) and

Re: Sorry

2014-08-09 Thread Richmond
Dear Hermann, et al, sic transit gloria mundi, The Use-List is full of prickly types [whether geniuses, would-be geniuses, people with complexes because they know they are not geniuses, morons plain-and-simple, and normal folk who got out of bed the wrong side that day]: but the whole world

Re: Sorry

2014-08-09 Thread Marc Van Cauwenberghe
Like. Op 9-aug.-2014, om 10:57 heeft Richmond richmondmathew...@gmail.com het volgende geschreven: Dear Hermann, et al, sic transit gloria mundi, The Use-List is full of prickly types [whether geniuses, would-be geniuses, people with complexes because they know they are not geniuses,

Re: sorting

2014-08-09 Thread Alex Tweedly
Larry, can you be more explicit about how it doesn't work ? Actually, can you explain better what you want to do ? You said you want to sort by the 2nd and then the 3rd word - but gave an example that appeared to show sorting by 2nd and 1st - and not even have a 3rd word in any line. So how

Using an internal file for PDF for manual

2014-08-09 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, FAO Charles Szasz, I hate Adobe Reader, and don’t really go for Preview (except for its useful options). I use SKIM (unfortunately this app is Mac Only), great appleScript interface, and as user friendly as you get. I open files from a LiveCode script like this :

Re: sorting

2014-08-09 Thread larry
Hello Alex, OK, in my previous email I gave some hypothetical data. In my app I actually have a field where the first word is either Advanced or Beginner The 2nd word is a number ranging from 2 to 25, showing how many items. There are some other words after those, but I'm not concerned about

Re: sorting

2014-08-09 Thread dunbarx
Way back from 1987, and undocumented everywhere except in the user notes in the dictionary here, is this; Multiple stable sorts may be implemented directly by concatenating sortKeys: sort container by sortKey1 sortKey2 sortKey3... Sortkey order determines the sorting sequence So you

Re: Using an internal file for PDF for manual

2014-08-09 Thread Charles Szasz
Francis, Thanks so much for your suggestions! I will take a look at SKIM. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Sorry

2014-08-09 Thread Dave Kilroy
like #2 Richmond Mathewson-2 wrote Dear Hermann, et al, sic transit gloria mundi, The Use-List is full of prickly types [whether geniuses, would-be geniuses, people with complexes because they know they are not geniuses, morons plain-and-simple, and normal folk who got out of bed the

Re: sorting

2014-08-09 Thread Paul Hibbert
Larry, If I understand right, just change the direction of the second sort to put the beginners first, this worked for my test: on mouseUp sort lines of fld sortField by word 2 of each sort lines of fld sortField descending by word 1 of each end mouseUp Paul On 2014-08-09, at 4:56 AM,

Re: Using an internal file for PDF for manual

2014-08-09 Thread Dr. Hawkins
On Fri, Aug 8, 2014 at 10:11 PM, Charles Szasz csz...@me.com wrote: I tried that script earlier (without the script for Ok button) before I posted a message for help. It did not work. I I use that for every error- check that shouldn't happen. I have a panic function for it, and the choices

Re: sorting

2014-08-09 Thread larry
Hello Craig, That doesn't work either. When I use the following line, it works: sort lines of field myList numeric by word 2 of each But then when I try to do two sorts with the following line, I get the error message below: sort lines of field myList descending by word 1 of each numeric by

Re: Selling a ticket for RevCon '14

2014-08-09 Thread Björnke von Gierke
Hmm, so everyone already has their ticket? Just to be clear, this is more then a 30% price reduction compared to the price from RunRev on the website. On 08 Aug 2014, at 03:37, Björnke von Gierke b...@mac.com wrote: Hi Due to Family business, I'll be unable to go to America this year.

Re: sorting - THANK YOU PAUL!!

2014-08-09 Thread larry
Hi Paul, After trying MANY suggestions and my own trial and ERRORS, you finally provided me with a solution that actually works. I very much appreciate that you actually tested it. I have the feeling that many times in this list well-meaning people post solutions that they have not tested and

Re: sorting - THANK YOU PAUL!!

2014-08-09 Thread Paul Hibbert
You're more than welcome. I often see the problems posted here as challenges, some I have no chance with (they are way over my head), some I learn from other's answers, some I get totally wrong. Occasionally I see what I think may be a solution, but I usually have to do a test first to be sure

Re: sorting - THANK YOU PAUL!!

2014-08-09 Thread Colin Holgate
I tried Craig’s approach, but with the correct syntax, not the condensed example he gave. I put your example list into field 1, and had this script in a button: on mouseUp put fld 1 into fld 2 sort fld 2 by word 1 of each word 2 of each end mouseUp I then scrambled (manually) the lines

Re: sorting - THANK YOU Colin!!

2014-08-09 Thread larry
Hi Colin Thanks for clarifying! Larry - Original Message - From: Colin Holgate co...@verizon.net To: How to use LiveCode use-livecode@lists.runrev.com Sent: Saturday, August 09, 2014 10:51 AM Subject: Re: sorting - THANK YOU PAUL!! I tried Craig’s approach, but with the correct

Re: sorting

2014-08-09 Thread dunbarx
Hi. You cannot put the numeric modifier in the second part of the sort. And only one by, please. Try this: sort lines of field myList numeric descending by word 1 of each word 2 of each -Original Message- From: larry la...@significantplanet.org To: How to use LiveCode

Re: RELEASE: LiveCode 6.7 DP8

2014-08-09 Thread Colin Holgate
I hadn’t spotted the change (it was there in earlier builds), but I like the Sample Projects area at the bottom of the Welcome screen. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: sorting - THANK YOU PAUL!!

2014-08-09 Thread Paul Hibbert
Sorry, I did miss the numeric sort, it worked with a short example, but using Colin's test script, this also works: on mouseUp sort lines of fld sortField numeric by word 2 of each sort lines of fld sortField descending by word 1 of each end mouseUp Paul On 2014-08-09, at 9:51 AM, Colin

Libraries, v7, and pdf

2014-08-09 Thread Dr. Hawkins
I have an absolute need to be able to stick pages in and out of pdf files. I don't need to change the number of pages; I'll just know that file realimage.pdf needs to replace page 3 of a pdf I create through livecode's pdf printing. I'll have 2-3 of these to insert into 30-90 pages of output.

Re: what is the property for the position of a scrolling field?

2014-08-09 Thread Dr. Hawkins
On Wed, Jul 30, 2014 at 12:30 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Are you sure it is a standard scrolling field? Not a list field, for example? If it is a list field, perhaps the last line gets selected when the card opens. If it is a scrolling field, check the

Re: Sorry

2014-08-09 Thread Mark Wieder
Richmond- +like #3 -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well

ChatRev

2014-08-09 Thread Mark Schonewille
Hi guys, Björnke just told me that a thunder storm took out his internet connection. DSL doesn't work anymore. Consequently, the ChatRev server has been disconnected. The equipment still works and Björnke expects to be back on-line within a few days. If you would like to know more about

Re: Libraries, v7, and pdf

2014-08-09 Thread Michael Doub
Richard, I am looking for a similar library to merge pdf’s but have not yet found one. I did find pdftk (server version) that seems consistent across the different platforms but it is a native tool that you need to direct via a shell command. This might get you by if you can’t find a

Standard Library

2014-08-09 Thread JB
Revolution Standard Library was put together by Richard Gaskin and Ken Ray and provides a lot of useful handlers. Is the code allowed to be used in a commercial program royalty free and if so what would be the proper information to list in the product showing it is being used and plus the proper

Re: Standard Library

2014-08-09 Thread JB
When I am asking about using the code I do not mean using all of the code I only mean using small parts of it which would be what appears it is made for. John Balgenorth On Aug 9, 2014, at 5:09 PM, JB sund...@pacifier.com wrote: Revolution Standard Library was put together by Richard Gaskin

Re: Standard Library

2014-08-09 Thread Richard Gaskin
JB wrote: Revolution Standard Library was put together by Richard Gaskin and Ken Ray and provides a lot of useful handlers. May I ask which ones you found useful? It might just motivate me to resume the project. Is the code allowed to be used in a commercial program royalty free and if

Re: Standard Library

2014-08-09 Thread JB
Hi Richard, Thanks for the fast reply. I was searching for a way to get file info so I could display things like the size and creation date and after using google I saw a post that you answered and you provided the handler to do it. Eventually I somehow ended up finding a download but I do not

Re: Standard Library

2014-08-09 Thread Mark Wieder
Richard- Saturday, August 9, 2014, 5:37:14 PM, you wrote: May I ask where you stumbled across it? If we still have that posted online we should definitely put a proper license on it. It is indeed still online:

Re: Standard Library

2014-08-09 Thread Kay C Lan
On Sun, Aug 10, 2014 at 9:08 AM, JB sund...@pacifier.com wrote: One of the things I am interested in seeing more handlers and examples is regex. It seems to be a very powerful tool with very few LiveCode examples. The matchChunk and matchText functions are pretty straight forward to use, it's

Re: Standard Library

2014-08-09 Thread JB
Thanks for the info about regex. I bookmarked the website and will be using your advice. I am pretty new to regex and even though I’ve spent a lot of time researching it you have helped me tremendously. John Balgenorth On Aug 9, 2014, at 8:15 PM, Kay C Lan lan.kc.macm...@gmail.com wrote: On

Convert a scrolling field to PDF

2014-08-09 Thread Charles Szasz
I have a scrolling that I use for printing in my app. How do you save a scrolling field as a PDF? Or is this possible? Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Convert a scrolling field to PDF

2014-08-09 Thread Paul Hibbert
This should start the ball rolling… on mouseUp answer page setup as sheet if the result is cancel then exit mouseUp ask file Save as PDF… with listPDF.pdf as sheet if the result is cancel then exit mouseUp put it into tPath open printing to pdf tPath revPrintField the

Marker image sizes

2014-08-09 Thread J. Landman Gay
Does anyone know how the engine calculates the size of an image used to draw the markers on a polygon graphic? I have an image that is 8 pixels square but when used as a marker it appears smaller. I've fiddled with the linesize of the graphic, which does change the marker size, but instead of