Android build executable on test device fails

2018-01-12 Thread Nicolas Cueto via use-livecode
Testing on an Android device, the "Standalone builder progress" window shows first "Building classes" and then for a brief moment "Building executable", after which an error window reads "Unable to build app for testing: could not open module file". Searched the forums but no mention at all of

Re: Identifying empty lines of text

2018-01-12 Thread hh via use-livecode
> hh wrote: > You could try to use (respects UCI word boundaries): > if the num of trueWords in myString is 0 > Works here in LC 7 and later. Sorry: ICU - International Components for Unicode (not UCI). >> I use “the number of words in myString = 0” to test whether >> a line of text appears

Re: Identifying empty lines of text

2018-01-12 Thread hh via use-livecode
You could try to use (respects UCI word boundaries): if the num of trueWords in myString is 0 Works here in LC 7 and later. > I use “the number of words in myString = 0” to test whether > a line of text appears empty, since I want a line with only > space characters to be understood as empty. >

Re: Identifying empty lines of text

2018-01-12 Thread Phil Davis via use-livecode
I wonder if the 202 value would disappear if you did this: put textDecode(the clipboarddata["text"], "utf8") into field 1 I don't know the answer, just putting it out there. Phil Davis On 1/12/18 4:48 PM, David Epstein via use-livecode wrote: I use “the number of words in myString = 0”

Identifying empty lines of text

2018-01-12 Thread David Epstein via use-livecode
I use “the number of words in myString = 0” to test whether a line of text appears empty, since I want a line with only space characters to be understood as empty. But a line of text I pasted from elsewhere contained an invisible character whose charToNum value is 202, and this was counted as a

Re: Problem pasting from Livecode to Mac Mail

2018-01-12 Thread Brian Milby via use-livecode
That is precisely why we are having this conversation. An assumption was made that creating an HTML version of plain text was needed for the clipboard. On Fri, Jan 12, 2018 at 4:51 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Non- starter. Can't make assumptions

Re: Problem pasting from Livecode to Mac Mail

2018-01-12 Thread Bob Sneidar via use-livecode
Non- starter. Can't make assumptions about the end user's intent. What if what he was copying was SUPPOSED to have double line breaks or carriage returns? The complaint would be that LC was taking liberties with user's data! Bob S > On Jan 12, 2018, at 09:42 , Brian Milby via use-livecode >

Re: Getting datagrid content from other stack in Standalone

2018-01-12 Thread Bob Sneidar via use-livecode
The last one is possible. As far as substacks getting moved and breaking references, the Standalone Builder takes that into account I believe. Also, if the stack files are contained in the folder the SB creates for them, I *believe* that the engine will upon failing to find a stack reference,

Re: Getting datagrid content from other stack in Standalone

2018-01-12 Thread Bob Sneidar via use-livecode
If the script of an object is running, the stack it belongs to is open. If you reference an object in a closed stack (correct me if I am wrong) LC will load the stack the object belongs to into memory. Bob S > On Jan 12, 2018, at 08:54 , Mike Bonner via use-livecode >

Re: LC Global schedule is online

2018-01-12 Thread Mark Wieder via use-livecode
On 01/11/2018 12:19 PM, Heather Laine via use-livecode wrote: Well, indeed, Mr TBA is currently overworked. Would anyone like to step up and relieve him of the pressure? I have attended several TBA sessions at various conferences over the years, and I can attest to the intriguing and often

Re: Problem pasting from Livecode to Mac Mail

2018-01-12 Thread Brian Milby via use-livecode
So there are 2 issues with how LiveCode is handling placing text onto the clipboard: - converting plain text to HTML on the clipboard - using tags for each line break when converting to HTML I’m not sure of the reasoning behind the first issue. I understand wanting to have the native LC format

Re: Getting datagrid content from other stack in Standalone

2018-01-12 Thread Mike Bonner via use-livecode
Would this work with a stack on disk that hasn't been opened yet? Definitely stealing your functions thx. :) Oh, as to the OP, my first thought on why it wasn't working, is that the stack wasn't open (hence the need to address it's on disk location), but another thought occurred to me. I'm

Re: Using this list

2018-01-12 Thread Bob Sneidar via use-livecode
> On Jan 11, 2018, at 15:17 , Warren Samples via use-livecode > wrote: > >> I get the list as an eMail in my inbox. If I want to reply, you click >> “Reply”. Then you have to change the name of the eMail, then copy and paste >> the text from the thread you

Re: Getting datagrid content from other stack in Standalone

2018-01-12 Thread Bob Sneidar via use-livecode
Don't you mean: put the dgdata of grp 1 of CARD 1 OF stack "path/to/dgstack.livecode" into tDataA If you are going to be using full paths for this, I recommend using my fine functions getParentCard() and getParentStack(). function getParentCard pObjectID put offset("card id", pObjectID)

Server-side xml validator anyone ?

2018-01-12 Thread jbv via use-livecode
Hi list, I have several server-side LC scripts that transform text and data uploaded by end users on web pages into xml to be stored in a database and used later in other web pages or apps. The problem is, despite all the correction scripts I have added, that sometimes the uploaded content

Re: Problem pasting from Livecode to Mac Mail

2018-01-12 Thread Peter Reid via use-livecode
Sorry, forgot to change Subject in previous posting... Hi Richard I found this problem was particularly annoying when trying to extract info from vCards exported from Contacts on the Mac, so I developed a tiny app in LC called vCardClipper. I've put together a web page about this app together