Re: Seeking philosophical guidance on library interface design.

2019-04-23 Thread Richard Gaskin via use-livecode
R is among the world's most popular tools for this. When in doubt, following their proven popular designs would seem a good bet. R's plot function is a thing of beauty. Their default is to produce the most commonly-used result. You can even pass nothing but data to it and get a very useful re

Re: specialFolderPath("preferences") returns empty on Windows???

2019-04-23 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: On 4/23/19 11:25 AM, Richard Gaskin via use-livecode wrote: Bob Sneidar wrote: > NVM I just read further. Preferences is not one I can use for Windows. The bad news is that, as you've discovered, Windows has no "Preferences" folder per se. The good news is that it does h

Re: Seeking philosophical guidance on library interface design.

2019-04-23 Thread Mark Wieder via use-livecode
On 4/23/19 4:19 PM, Bob Sneidar via use-livecode wrote: My thinking is to ask what visual impact if any would having the extra attributes have? Is there a scenario where the graphs would be created so small that the extras would be visually unappealing? Also, I think less to start with is bett

Re: Seeking philosophical guidance on library interface design.

2019-04-23 Thread Tom Glod via use-livecode
interesting thread. sounds like a useful library. * watching * thanks Alex On Tue, Apr 23, 2019 at 7:19 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > My thinking is to ask what visual impact if any would having the extra > attributes have? Is there a scenario where th

Re: specialFolderPath("preferences") returns empty on Windows???

2019-04-23 Thread Mark Wieder via use-livecode
On 4/23/19 11:25 AM, Richard Gaskin via use-livecode wrote: Bob Sneidar wrote: > NVM I just read further. Preferences is not one I can use for Windows. The bad news is that, as you've discovered, Windows has no "Preferences" folder per se. The good news is that it does have a commonly-used

Re: Seeking philosophical guidance on library interface design.

2019-04-23 Thread Bob Sneidar via use-livecode
My thinking is to ask what visual impact if any would having the extra attributes have? Is there a scenario where the graphs would be created so small that the extras would be visually unappealing? Also, I think less to start with is better, because adding more features makes the end user feel l

Seeking philosophical guidance on library interface design.

2019-04-23 Thread Alex Tweedly via use-livecode
Hi folks, I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app ca

Re: Open Printing to PDF

2019-04-23 Thread Bob Sneidar via use-livecode
Not all my doing. Got help from a number of people on this list who I am too senile to recall now. ;-) Bob S > On Apr 23, 2019, at 11:35 , General 2018 via use-livecode > wrote: > > Very nice ! > ___ use-livecode mailing list use-livecode@lists.

Re: Open Printing to PDF

2019-04-23 Thread Bob Sneidar via use-livecode
That should read: sample: put cleanASCII("This is a test!<>?", "uppercase,lowercase,custom", "?" > On Apr 23, 2019, at 11:24 , Bob Sneidar via use-livecode > wrote: > > sample: put cleanASCII("This is a test!<>?", "uppercase,lowercase", "?" ___

RE: Open Printing to PDF

2019-04-23 Thread General 2018 via use-livecode
Very nice ! -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: 23 April 2019 19:24 To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Open Printing to PDF This may help to clean up all kinds of badness in

Re: specialFolderPath("preferences") returns empty on Windows???

2019-04-23 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > NVM I just read further. Preferences is not one I can use for Windows. The bad news is that, as you've discovered, Windows has no "Preferences" folder per se. The good news is that it does have a commonly-used place for that sort of thing, and that LC's specialFolderPath

Re: Open Printing to PDF

2019-04-23 Thread Bob Sneidar via use-livecode
This may help to clean up all kinds of badness in text used for a number of things: function cleanASCII pString, pModeList, pCustomList /* pModeList is a comma delimited list that may contain the following values: "lowercase,uppercase,numbers,tabs,newlines,returns,spaces,symbols,custom"

RE: Open Printing to PDF

2019-04-23 Thread General 2018 via use-livecode
Not a bug - my fault !! The part of the heading text for the pdf is used for the saved filename which cannot be ">" ! of course ... The issue was the file save naming not open printing to pdf command , your replies made me look for odd characters. Regards Cam -Original Message- F

Open Printing to PDF

2019-04-23 Thread General 2018 via use-livecode
Scott , Craig It would not save the pdf and the text was different for each stack. The failing stack had ">" within the text , once removed the pdf saved !! cheers guys . Is this a bug ? Regards Cam -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com]

Re: specialFolderPath("preferences") returns empty on Windows???

2019-04-23 Thread Bob Sneidar via use-livecode
NVM I just read further. Preferences is not one I can use for Windows. Bob S > On Apr 23, 2019, at 08:06 , Bob Sneidar via use-livecode > wrote: > > Sorry, Win 7 and LC 9.0.2 > > >> On Apr 23, 2019, at 08:06 , Bob Sneidar wrote: >> >> Hi all. Subject line says it all. On Mac it returns f

Re: specialFolderPath("preferences") returns empty on Windows???

2019-04-23 Thread Bob Sneidar via use-livecode
Sorry, Win 7 and LC 9.0.2 > On Apr 23, 2019, at 08:06 , Bob Sneidar wrote: > > Hi all. Subject line says it all. On Mac it returns for me: > "/Users/bobsneidar/Library/Preferences" > > I copy/paste the command into LC for Windows message box it returns empty! > That explains why my preferenc

specialFolderPath("preferences") returns empty on Windows???

2019-04-23 Thread Bob Sneidar via use-livecode
Hi all. Subject line says it all. On Mac it returns for me: "/Users/bobsneidar/Library/Preferences" I copy/paste the command into LC for Windows message box it returns empty! That explains why my preferences are not working for Windows!!! Bob S ___

[ANN] This Week in LiveCode 175

2019-04-23 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #175 here: http://bit.ly/2Vf7ILv This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: "do as 'LiveCode Server'"?

2019-04-23 Thread Sannyasin Brahmanathaswami via use-livecode
Agreed that this would have "serious" positive benefits. I imagine at least one use case where input at the UX/UI level would fork the "narrative" response from your script in different directions. It would be so easy to write! BR Richard Gaskin You can write: Here

Re: Open Printing to PDF

2019-04-23 Thread dunbarxx via use-livecode
Hi. Are you saying the "open printing to pdf" command itself does not work, or that you get blank output? In other words, in the stack that does NOT work, what happens if you: open printing to pdf "yourFilePathHere/xxx.pdf" revPrintText "Hello world" close printing This will eliminate