Re: IDE line number doesn't update

2021-09-21 Thread Bob Sneidar via use-livecode
BTW I get this on the Mac as well. Not sure what causes it. Some have said 
having the message box open may caause issues? Just going by memory though. 
Makes sense that there may be some interaction between the SE and the variable 
watcher pane. 

Bob S


> On Sep 21, 2021, at 01:00 , Tiemo via use-livecode 
>  wrote:
> 
> Hello,
> 
> 
> 
> beside the horrible IDE performance in general (windows 10, fast machine) I
> often have the issue, that the line number doesn't gets updated when
> scrolling the code in the IDE. Which is e.g. annoying when scrolling to a
> compilation error line. You have to click the mouse into the code, to get
> the line # updated
> 
> 
> 
> I already have shut down almost all nice gimmicks in the IDE preferences, no
> project browser open, no messagebox open.
> 
> 
> 
> Has anybody perhaps found any tweak to get the line # working again?
> 
> 
> 
> Thanky
> 
> 
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Ralph, thanks for the tip. Those handlers were just what I needed. Not sure why 
I couldn’t find them when I perused the dictionary. Getting daft in my senior 
years I suppose. I still think it’s inane though, having the first record and 
last record be 0 when there’s one record. Cannot change it now though. 

Sent from my iPhone

> On Sep 17, 2021, at 16:35, Bob Sneidar via use-livecode 
>  wrote:
> 
> Oh sorry, I posted this just before Ralph replied. Thanks Ralph I will try 
> your suggestions. 
> 
> Bob S
> 
> 
>> On Sep 17, 2021, at 16:32 , Bob Sneidar  wrote:
>> 
>> Okay something is not right with the API! First, my query in my script is 
>> set to: 
>> 
>> SELECT * from files where siteid = '1659'
>> 
>> If I run this in mySQLWorkbench, I get one record, so I know the query 
>> works. Also, I know the cursor contains records, because as I step through 
>> the loops which get the column values, I can see the vlaues in the variables 
>> populate when I use: 
>> 
>> put revDatabaseColumnNumbered(pCursorID, i) into tColumnValue
>> 
>> Here is the rub though. The first record of a cursor is 0. ZERO!!! And if 
>> there is only one record, guess what the LAST record is??? ZERO!
>> 
>> Does that make the least bit of sense to ANYONE??? There is no call that I 
>> can find to get the number of records of a cursor! Therefore I can NEVER 
>> TELL if a cursor contains any records. 
>> 
>> If anyone has a method for doing so, your help will be very much 
>> appreciated. 
>> 
>> Bob S
>> 
>>>> On Sep 17, 2021, at 16:04 , Bob Sneidar via use-livecode 
>>>>  wrote:
>>> 
>>> Hi all. 
>>> 
>>> I am trying to discern between when I have an empty cursor, and when I have 
>>> reached the last record of a cursor. 
>>> 
>>> I have noticed that if I query a database that returns no results, I still 
>>> get a cursor ID, so I cannot test for a cursor ID. So after my loop to 
>>> convert a cursor to an array, I check to see if I am on the last record by 
>>> using put revCurrentRecord(pCursorID) into tLastRecord, then testing to see 
>>> if it returns 0, which it will if the cursor is empty. 
>>> 
>>> But it seems that if I am already on the last record of the cursor, then I 
>>> use revMoveToNextRecord pCursorID, revCurrentRecord ALSO RETURNS 0! So now 
>>> I am left without a way to tell if the cursor is empty, or if otherwise, I 
>>> have reached the last record. 
>>> 
>>> How is this done?? Normally I use sqlYoga so these things are spared me, 
>>> but in this instance I am using the native API calls. 
>>> 
>>> Bob S
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Oh sorry, I posted this just before Ralph replied. Thanks Ralph I will try your 
suggestions. 

Bob S


> On Sep 17, 2021, at 16:32 , Bob Sneidar  wrote:
> 
> Okay something is not right with the API! First, my query in my script is set 
> to: 
> 
> SELECT * from files where siteid = '1659'
> 
> If I run this in mySQLWorkbench, I get one record, so I know the query works. 
> Also, I know the cursor contains records, because as I step through the loops 
> which get the column values, I can see the vlaues in the variables populate 
> when I use: 
> 
> put revDatabaseColumnNumbered(pCursorID, i) into tColumnValue
> 
> Here is the rub though. The first record of a cursor is 0. ZERO!!! And if 
> there is only one record, guess what the LAST record is??? ZERO!
> 
> Does that make the least bit of sense to ANYONE??? There is no call that I 
> can find to get the number of records of a cursor! Therefore I can NEVER TELL 
> if a cursor contains any records. 
> 
> If anyone has a method for doing so, your help will be very much appreciated. 
> 
> Bob S
> 
>> On Sep 17, 2021, at 16:04 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Hi all. 
>> 
>> I am trying to discern between when I have an empty cursor, and when I have 
>> reached the last record of a cursor. 
>> 
>> I have noticed that if I query a database that returns no results, I still 
>> get a cursor ID, so I cannot test for a cursor ID. So after my loop to 
>> convert a cursor to an array, I check to see if I am on the last record by 
>> using put revCurrentRecord(pCursorID) into tLastRecord, then testing to see 
>> if it returns 0, which it will if the cursor is empty. 
>> 
>> But it seems that if I am already on the last record of the cursor, then I 
>> use revMoveToNextRecord pCursorID, revCurrentRecord ALSO RETURNS 0! So now I 
>> am left without a way to tell if the cursor is empty, or if otherwise, I 
>> have reached the last record. 
>> 
>> How is this done?? Normally I use sqlYoga so these things are spared me, but 
>> in this instance I am using the native API calls. 
>> 
>> Bob S
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Okay something is not right with the API! First, my query in my script is set 
to: 

SELECT * from files where siteid = '1659'

If I run this in mySQLWorkbench, I get one record, so I know the query works. 
Also, I know the cursor contains records, because as I step through the loops 
which get the column values, I can see the vlaues in the variables populate 
when I use: 

put revDatabaseColumnNumbered(pCursorID, i) into tColumnValue

Here is the rub though. The first record of a cursor is 0. ZERO!!! And if there 
is only one record, guess what the LAST record is??? ZERO!

Does that make the least bit of sense to ANYONE??? There is no call that I can 
find to get the number of records of a cursor! Therefore I can NEVER TELL if a 
cursor contains any records. 

If anyone has a method for doing so, your help will be very much appreciated. 

Bob S

> On Sep 17, 2021, at 16:04 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. 
> 
> I am trying to discern between when I have an empty cursor, and when I have 
> reached the last record of a cursor. 
> 
> I have noticed that if I query a database that returns no results, I still 
> get a cursor ID, so I cannot test for a cursor ID. So after my loop to 
> convert a cursor to an array, I check to see if I am on the last record by 
> using put revCurrentRecord(pCursorID) into tLastRecord, then testing to see 
> if it returns 0, which it will if the cursor is empty. 
> 
> But it seems that if I am already on the last record of the cursor, then I 
> use revMoveToNextRecord pCursorID, revCurrentRecord ALSO RETURNS 0! So now I 
> am left without a way to tell if the cursor is empty, or if otherwise, I have 
> reached the last record. 
> 
> How is this done?? Normally I use sqlYoga so these things are spared me, but 
> in this instance I am using the native API calls. 
> 
> Bob S
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Hi all. 

I am trying to discern between when I have an empty cursor, and when I have 
reached the last record of a cursor. 

I have noticed that if I query a database that returns no results, I still get 
a cursor ID, so I cannot test for a cursor ID. So after my loop to convert a 
cursor to an array, I check to see if I am on the last record by using put 
revCurrentRecord(pCursorID) into tLastRecord, then testing to see if it returns 
0, which it will if the cursor is empty. 

But it seems that if I am already on the last record of the cursor, then I use 
revMoveToNextRecord pCursorID, revCurrentRecord ALSO RETURNS 0! So now I am 
left without a way to tell if the cursor is empty, or if otherwise, I have 
reached the last record. 

How is this done?? Normally I use sqlYoga so these things are spared me, but in 
this instance I am using the native API calls. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-10 Thread Bob Sneidar via use-livecode
I’m going to propound on the politics of holey cheese makers in a moment! 

Sent from my iPhone

> On Sep 10, 2021, at 11:16, J. Landman Gay via use-livecode 
>  wrote:
> 
> You're talking about cheese. I'm telling Mom. Nyah.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On September 10, 2021 8:42:48 AM Trevor DeVore via use-livecode 
>>  wrote:
>> 
>> On Fri, Sep 10, 2021 at 8:15 AM Mark Waddingham via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
 On 2021-09-10 14:06, Mark Waddingham via use-livecode wrote:
>>> > The windows heap is much more prudent than UNIXy counterparts it would
>>> > seem - where UNIX heaps will happily leave plenty of free space (which
>>> > the heaps know about and thus can re-use), Windows appears to avoid
>>> > that like the plague (which I'm sure is the case for lots of
>>> > historical reasons and backwards compatibility). [ To give a very
>>> > rough analogy, the map of used space in a heap on windows is like a
>>> > block of cheddar; whereas on UNIXy systems it will be like a block of
>>> > edam ].
>>> 
>>> I of course meant 'Swiss', not 'Edam'!
>> 
>> 
>> Thanks for the clarification. I feel like I have a decent understanding of
>> cheeses, but I couldn’t figure out how cheddar and edam were different in
>> this analogy :-)
>> 
>> --
>> Trevor DeVore
>> ScreenSteps
>> 
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Hi, I'm back for more fish - and a malware query

2021-09-08 Thread Bob Sneidar via use-livecode
I’ve seen false positives just by downloading new signature files, but not 
specifically for Livecode, but I seem to recall someone on this list having an 
issue. 

Sent from my iPhone

> On Sep 8, 2021, at 17:29, Neville Smythe via use-livecode 
>  wrote:
> 
> OK, Bob S, so I have jumped through the small hoop and turned through 180 
> degrees. And I’m impressed even if you were not: that is to say, I am really 
> impressed with the generosity and goodwill of the great people at LC.
> 
> Many thanks to those who urged me contact Heather and Kevin about  licensing, 
> and I heartily echo the sentiment of Erik on the integrity of the company.
> 
> And now back to business: the very first compilation of a Windows standalone 
> with my brand spanking new 9.6.4 provokes a malware alarm for the Trojan 
> Sabsik.TE.A!ml on a Windows 10 machine.
> 
> I think it almost certain this is a false positive. My Mac reportedly cannot 
> run or spread this particular malware, and I’m pretty sure the only Windows 
> file on my Mac which could contain it (or rather the code sequence which 
> triggers the alert) would be the Windows engine in LC9.6.4. Just to be sure, 
> because no-one want to take chances with ransomware … has anyone seen or 
> heard reports like this ?
> 
> Neville Smythe
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Bob Sneidar via use-livecode
Then what does a few mean? 

Bob S


> On Sep 8, 2021, at 14:49 , matthias rebbe via use-livecode 
>  wrote:
> 
> How lucky we Germans are with having to write some words in capitals. ;) 
> 
> 'ein Paar' (a couple)  means 2
> 'ein Paar Schuhe' means a pair of shoes
> 
> 'ein paar' means two or three or somewhere in the range.
> 'ein paar Schuhe' means 2 or 3 or somewhere in the range shoes 
> 
> 
> In the English lessons in school  we learned  that for example  'a couple of 
> days' meant 2 or 3 or somewhere in that range.
> And when we used  'couple' as a noun then it was meant as  2 that belong to 
> each other or however you would call that.
> e.g. married couple, bird couple. That's the way i use 'couple" now for more 
> than 40 years. 
> 
> Don't tell me that i was wrong more than 40 years. ;) 
> 
> 
>> Am 08.09.2021 um 21:54 schrieb J. Landman Gay via use-livecode 
>> :
>> 
>> My husband said the same when I told him about this thread. "Couple" means 
>> two. I said yes, but colloquially it can mean "two or three or somewhere in 
>> that range." We almost started a longer discussion about it, but I reminded 
>> him of our 30+ years of ongoing talk about a "fact" so we both stopped.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Bob Sneidar via use-livecode
Okay I told you don't make me come over there and separate you two! ;-) 

This actually touches on the arbitrary nature of language. A word only means 
something because all the parties who want to use that word, agree (whether or 
not they think they do) that this word will mean this thing. If over time, a 
culture begins to use the word in a different way or differently in other 
contexts, it's not because of anything intrinsic to the word, but simply 
because the parties or societies decided (whether or not they think they have) 
to "renegotiate". 

Therefore your argument (Jacque) has no meaning. Sorry to disappoint you. 

Bob S


> On Sep 8, 2021, at 14:43 , Mark Waddingham via use-livecode 
>  wrote:
> 
> Heh - I think you are both right in different contexts...
> 
> For sure, when used as a noun in isolation (a couple) it refers to two - 
> specifically either a pair of parallel but opposing forces (physics) or a 
> pair of (usually romantically) involved individuals (some might wryly suggest 
> that these two things are much the same ;) ).
> 
> I’d say though that when applied to another noun, it generally implies ‘some’ 
> - not two specifically, or even three - but a definitely small number.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Bob Sneidar via use-livecode
The number of hairs on your head at a given point in space and time are a fact, 
and can be theoretically known. I always say that once we know everything about 
a subject, there can be no ambiguity, no "alternate point of view". A fact, or 
"the truth" about a thing is singular. Whether or not we perceive it is a 
different question. 

Bob S


> On Sep 8, 2021, at 13:20 , Brian Milby via use-livecode 
>  wrote:
> 
> Ah, the problem with calling things “facts” where the data isn’t actually 
> knowable.  The number of hairs on my head is a fact but not one that can be 
> accurately known.  Kind of like the number of people who watched the Super 
> Bowl.  In that context, true fact makes sense (also “cold hard fact”).  While 
> it should be redundant, it emphasizes that the data being referenced is an 
> actual fact and not an assumed fact.
> 
> My dad always was clear that “couple” of minutes was 2 and a few was 3.
> 
> Sent from my iPhone
> 
>> On Sep 8, 2021, at 3:55 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> My husband said the same when I told him about this thread. "Couple" means 
>> two. I said yes, but colloquially it can mean "two or three or somewhere in 
>> that range." We almost started a longer discussion about it, but I reminded 
>> him of our 30+ years of ongoing talk about a "fact" so we both stopped.
>> 
>> Addendum: he claims there are "true facts." I say that is redundant, that a 
>> fact is by definition true, and he's implying there are false facts (or as 
>> we say in the US, "alternative facts.") This has been going on for years. 
>> It's a friendly, amusing, kind of false disagreement. Then one day we just 
>> looked it up in the dictionary and...a fact can either be a true bit of 
>> information, or a generic datum.
>> 
>> And that spoiled all the fun.
>> 
>> On 9/8/21 6:14 AM, Keith Martin via use-livecode wrote:
> On Sep 7, 2021, at 11:04 PM, Martin Koob via use-livecode 
>  wrote:
 
 My wife and I have an ongoing disagreement about the term 'couple of’ in 
 terms of counting.  I say it means around 2 or 3ish.  She says it means 2. 
 Further she says if you wanted to say 3 or 4 you would say ‘a few’.
>>> I'm the kind of person that distinguishes between 'like' (exclusive: 
>>> similar to but not) and 'such as' (inclusive: similar to and part of the 
>>> comparison set), so this is coming from a position of pedantry, but that's 
>>> because I am a writer...
>>> Strictly speaking, 'a couple' means two, no more and no less. In casual use 
>>> (when counting, not when referring to relationship partnerships) it isn't 
>>> unusual for it to be used in place of 'a few' and possibly mean three or 
>>> even four, but it's not technically *correct.*
>>> I too hope your wife's logic is what holds true!
>>> :)
>>> k
>> 
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SE Show Globals inverted

2021-09-08 Thread Bob Sneidar via use-livecode
Good to know. Not a knockout blow by any means, and at least now I know the 
workaround. :-)

Sent from my iPhone

> On Sep 8, 2021, at 10:33, J. Landman Gay via use-livecode 
>  wrote:
> 
> This has been going on for years but I never reported it because... lazy. 
> For me, it happens when I'm stepping through a handler and I change or query 
> something in the message box.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On September 8, 2021 11:25:24 AM Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Here's a new one. I've noticed this before, that globals were appearing when 
>> show globals checkbox was not hilited. I just noticed that during this 
>> condition, checking the show globals checkbox hides the globals! LOL! I'll 
>> toss up a bug report later.
>> 
>> Bob S
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Send a table in an email.

2021-09-08 Thread Bob Sneidar via use-livecode
I have this need as well. I send emails with completed tickets that have table 
data. What I have done in the past is use fixed length data padded with spaces, 
then I send the email in a monospaced font. Having the ability to send an email 
as html formatted text would be great, but last time I attempted it, it does 
not get received as html displayed, but only as the html itself. 

Watching thread with interest. 

Bob S


> On Sep 8, 2021, at 09:41 , Rick Harrison via use-livecode 
>  wrote:
> 
> Hi Sean,
> 
> So you want the receiver of your emailed table to be able to modify the data 
> in it.
> 
> I would make it an HTML email so you can allow the user to enter the data
> directly into your server database table field.
> 
> That’s if I am understanding you correctly here.
> 
> Rick
> 
> 
>> On Sep 8, 2021, at 11:05 AM, Sean Cole (Pi) via use-livecode 
>>  wrote:
>> 
>> Hi Rick,
>> 
>> It's not strictly what I was asking as I am talking about the mimeEncode
>> library. Plus it's a file that is then not easily selectable directly from
>> the email. I just want to be able to display a small table of data in the
>> email that is easily readable with a small footprint and using specifically
>> the mimeEncodeFieldAsMIMEMultipartDocument(pField).
>> 
>> Sean
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


SE Show Globals inverted

2021-09-08 Thread Bob Sneidar via use-livecode
Here's a new one. I've noticed this before, that globals were appearing when 
show globals checkbox was not hilited. I just noticed that during this 
condition, checking the show globals checkbox hides the globals! LOL! I'll toss 
up a bug report later. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Bob Sneidar via use-livecode
I also have seen the autocomplete stop and start working, and that on a Mac. It 
may have something to do with the length of the script. I have also seen the 
extreme slowdown issue on Windows script editor and also in the performance. 
Most of the performance hit is in the frequent saves I inserted into my code to 
compensate for an old issue where the IDE would crash to desktop. But also I 
have tested sql queries, and they are also several times slower, as is 
populating datagrids and other things. 

As I have stated, I have done timing tests on several Windows platforms and 
have posted those results in the past, so I won't go through that exercise 
again. Suffice it to say that the Mac standalone I would be willing to market 
(if my code were good enough) but I would never attempt to market a Windows 
version of my code at this point. 

Bob S


> On Sep 8, 2021, at 08:47 , Lagi Pittas via use-livecode 
>  wrote:
> 
> Hi Ben,
> 
> I did some testing using the CPU% in the task manager - i was trying to do
> some more before sending in my results.
> It looks like if it has been running for some time but the time is not
> "quantified" at the moment as I have not been working
> on my project much these last few months.
> 
> When I do NOTICE the slowdown you cabn be sure i am not imagining seeing
> characters typing 1 per second or 2 or the debugger taking ages to go to
> the next step
> or the autocomplete stopping working even after a reboot and then starting
> again for no apparent reason.
> 
> Another real slowdown is when I have the project browser open or the
> messagebox - not always to the same extent or to the same sklowdown.
> 
> I will install 6 (although if I remember 6 was fine)
> 
> Regards Lagi
> 
> On Wed, 8 Sept 2021 at 13:14, Ben Rubinstein via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> May I repeat my request that anyone experiencing these issues on Windows
>> (Andre, Lagi, Bob), could if possible confirm whether they find the same
>> applies using LC 6.7?
>> 
>> It would be good to understand if this has always been an issue, or
>> whether it
>> came in with the switch to LC7, as we know some other Windows-specific
>> speed
>> issues did.
>> 
>> Ben


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Bob Sneidar via use-livecode
I don't use 6.7 anymore, but no, they do not. At least not to the degree they 
do now. 

Bob S


> On Sep 8, 2021, at 05:13 , Ben Rubinstein via use-livecode 
>  wrote:
> 
> May I repeat my request that anyone experiencing these issues on Windows 
> (Andre, Lagi, Bob), could if possible confirm whether they find the same 
> applies using LC 6.7?
> 
> It would be good to understand if this has always been an issue, or whether 
> it came in with the switch to LC7, as we know some other Windows-specific 
> speed issues did.
> 
> Ben
> 
> On 08/09/2021 11:17, Andre Garzia via use-livecode wrote:
>> I mean the script editor mostly but also the rest of the ide has a bit of 
>> jank. Laying out interfaces on Windows has been worse than doing it on a 
>> Mac. The worse offender is the script editor though.
>>> On 7 Sep 2021, at 23:28, Scott Morrow via use-livecode 
>>>  wrote:
>>> 
>>> Andre, when you say “so bad” do you mean the script editor or… ?
>>> --
>>> Scott Morrow
>>> 
 On Sep 7, 2021, at 12:57 PM, Andre Garzia via use-livecode 
  wrote:
 
 to be honest, the IDE on Windows has been so bad for me that it caused me 
 to switch back to a mac...
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Text encoding: summary of results and times.

2021-09-08 Thread Bob Sneidar via use-livecode
It sure helped me to understand it! Thanks. As I understand the performance 
issue thought between 6.7 and later versions of LC, it revolves around having 
to process all the unicode strings that are native now. Or so the discussion 
has gone in the past. If not, then the performance hit since v7 has yet to be 
explained sufficiently. 

Bob S


> On Sep 8, 2021, at 02:42 , Ben Rubinstein via use-livecode 
>  wrote:
> 
> 
> On 07/09/2021 17:22, Bob Sneidar via use-livecode wrote:
>> This makes sense to me (I think) because if I am not mistaken, UTF16 is 
>> Unicode, and UTF8 is simple ASCII. The slowdown from 6.7 to 7.0 was 
>> precicely the support for Unicode text. Someone will correct me if I am 
>> wrong about this. As a hobbyist, I try and stay away from localization 
>> issues. But I am interested in the idea that all text incoming should be 
>> text decoded and outgoing the inverse. (Did I get that right??)
> 
> Cue scenes of strong men reeling back in horror, ladies fainting, etc 
> (Bateman cartoons, for those of a British persuasion).
> 
> UTF16 is not Unicode, UTF8 is not simple ASCII, and I'm not even sure that 
> the slowdown from 6.7 to 7.0 was precisely the support for Unicode text, 
> though I'm not sure about that.
> 
> Unicode and ASCII are both conventions that assign character interpretations 
> to numbers. ASCII assigned approximately 94 character interpretations to the 
> numbers 32-126 (plus a few control interpretations to some other numbers). 
> WindowsLatin1, MacRoman, ISO-8859-1 etc all did the same but to a wider range 
> of numbers up to 255. Unicode does the same thing for a... much... larger 
> number of characters and glyphs, and hence using a... much... larger range of 
> numbers.
> 
> Unicode specifies numbers, not bytes. UTF8 and UTF16 are two of several ways 
> of representing Unicode strings in bytes. UTF8 is designed to do so in a way 
> that makes ASCII text compatible with UTF8, i.e. a file of ASCII text is a 
> valid UTF8 file; the reverse is not necessarily true.
> 
> A long-running problem with Metacard, Revolution, LC up to v6 was being 
> surprisingly platform-centric about character sets. To this day, textEncode 
> etc only support MacRoman on Mac, only support ISO-8859-1 on Linux, and so 
> on; as if we never are on one platform, needing to deal with character 
> streams generated on another. See
> https://quality.livecode.com/show_bug.cgi?id=12205
> https://quality.livecode.com/show_bug.cgi?id=22391
> https://quality.livecode.com/show_bug.cgi?id=21320
> 
> LC7 brought LiveCode into the later part of the 20th century by properly 
> supporting Unicode, and by breaking the assumed link between bytes and 
> characters. However if I understand correctly, the internal format of strings 
> does not, or at least not necessarily, correspond to any externally defined 
> standard, but can take various forms in order to maximise efficiencies of 
> processing and storage.
> 
> Not sure if this helps, but it helped me to write it!
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode community edition is gone

2021-09-08 Thread Bob Sneidar via use-livecode
Speaking of an educational license, perhaps consider, now that a lot of 
learning is online, having the ability to "assign" a seat license an email and 
password, so that someone could teach an online course, and distribute each 
seat license to students for the duration of the class. Upon graduation the 
teacher can direct the students to the Livecode site where they can purchase a 
(perhaps new user special deal) license of their own, and then turn off their 
per seat educational license. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-07 Thread Bob Sneidar via use-livecode
Yes, and this is really disconcerting. Not sure how many Mac vs. PC devs there 
are for LC, but I suspect it's weighed heavily towards Mac. I think in 
retrospect, it may have been better to retain UTF-8 as an option, that is be 
able to select unicode or not in an app. But I suspect that would be a lot of 
bloat in the IDE. 

Bob S


> On Sep 7, 2021, at 12:55 , Andre Garzia via use-livecode 
>  wrote:
> 
> to be honest, the IDE on Windows has been so bad for me that it caused me to 
> switch back to a mac...
> 
>> On 7 Sep 2021, at 09:00, Ben Rubinstein via use-livecode 
>>  wrote:
>> 
>> I was wondering this too: when Lagi mentioned 'fix the IDE' I thought this 
>> might be a reference to some of a number of usabiity snags - it didn't occur 
>> to me that it was just speed.
>> 
>> I develop on a nine-year old MacBook and have never noticed a speed issue 
>> with the IDE. I wonder if it's possible that the Windows IDE has been 
>> affected by the same issue to do with manipulating quantities of text that 
>> I've been talking about on the list, which Mark W has suggested might be 
>> fixed in a release very shortly? (Seems unlikely!) But definitely seems to 
>> be something platform specific.
>> 
>> Lagi, if you're still able to access a 6.7 installer, could you confirm 
>> whether the IDE under 6.7 has the same problem on your set up? The problems 
>> with speed on Windows that I'm seeing came in after 6.7.
>> 
>> Ben


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Suggestion: Non-Appbuilding Community Edition

2021-09-07 Thread Bob Sneidar via use-livecode
Two words: Unicode. 

Bob S


> On Sep 2, 2021, at 15:20 , Lagi Pittas via use-livecode 
>  wrote:
> 
> Sorry it's worse than I thought.It's 10th generation with 4 cores and 8
> logical processors.
> 
> Appleworks was blazingly fast on my 64K 1Mhz Apple 2  and so was Borland
> Turbo Pascal on my Microsoft Z80 card on said machine - software is going
> backwards speed wise.
> 
> Lagi
> 
> On Thu, 2 Sept 2021 at 23:00, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Lagi,
>> 
>> I wrote to Kevin earlier and gave the exact same advice. those exact 2
>> points needing to be addressed.
>> 
>> Give long trial, fix the most obvious IDE issues ASAP.
>> 
>> Without those two things how is any new developer going to join the
>> platform?
>> 
>> 
>> 
>> On Thu, Sep 2, 2021 at 5:34 PM Lagi Pittas via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Trials of 14 days or even 30 days are a waste of time. I can install
>>> something and use it for a couple of days - then life / work gets in the
>>> way
>>> so It sits on the computer for 31 days and then times out.
>>> 
>>> You then have to waste your time and the companies to get an extension,
>>> and by the time they answer
>>> you get cheesed off and remove the  program.
>>> 
>>> The BEST trial is the one that lasts for 30 actual executions or 6 months
>>> (whichever comes first).
>>> 
>>> This stops the clever  SOD who decides to keep it running without exiting
>>> for 6 months but it times out anyway.
>>> Even better if he keeps it on for 2 days it counts as "executing" twice
>> so
>>> it will last 30 days.
>>> 
>>> This means I have 30 days over a 6 month period to really test it without
>>> rushing.
>>> 
>>> The people who would game the system are the people who won't be loyal
>>> customer anyway, so not giving a worthwhile trial period handicaps those
>>> who want to give it a good try.
>>> 
>>> You can also put a  nag screen  at the start of any executable with an OK
>>> button  link to a special discounted price - free marketing (what a
>>> brilliant Idea, why didn't I think of it?).
>>> 
>>> But the best way of selling it is to FIX the bloody IDE - I am running
>> on a
>>> 16G 1 year Old 8th Generation CoreI7  processor and it  STILL runs like
>>> treacle.
>>> 
>>> If I downloaded it today as a new person it would be off my machine in
>> less
>>> than 30 minutes.
>>> 
>>> You could also use this as your "marketing" system by "giving it away"
>> to
>>> schools for nothing and without the trial period but the nag screen.
>>> 
>>> It can then be used by the students to learn programming at no cost - and
>>> some of the students parent might pony up for a paid for version at a
>>> student price (with no expiring standalones of cours - the most stupid
>> idea
>>> of the lot so far)
>>> 
>>> 
>>> Anyway Kevin, have I/we wastedour time again putting out these cranky,
>>> stupid and not workable suggestions?.
>>> 
>>> Lagi
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Thu, 2 Sept 2021 at 15:55, Kevin Miller via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 We *are* considering the length of the trial actively, we may well
>> give a
 longer trial a shot at some point.
 
 Kind regards,
 
 Kevin
 
 Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
 LiveCode: Develop Yourself
 
 On 02/09/2021, 15:51, "use-livecode on behalf of Ralph DiMola via
 use-livecode" >>> use-livecode@lists.runrev.com> wrote:
 
True, true.
 
There could be a small group of programmers that pass a stack
>> around
 but you would not be able to convince/teach a civilian to install a
 programming IDE and explain how to run the stack along with any other
 supporting files, SW or plug-ins... Mobile would be a non-starter. I
>>> would
 not dismiss this out-of-hand. A 90 day free IDE could also be an
>> option.
 
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 Kevin Miller via use-livecode
Sent: Thursday, September 02, 2021 10:31 AM
To: How to use LiveCode
Cc: Kevin Miller; Michael Kristensen
Subject: Re: Suggestion: Non-Appbuilding Community Edition
 
Thanks for the constructive suggestion. Unfortunately with a free
 non-app building version, everyone who needs to run an app can just
 download that.
 
Kind regards,
 
Kevin
 
Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Develop Yourself
 
On 02/09/2021, 14:49, "use-livecode on behalf of Michael
>> Kristensen
 via use-livecode" >>> use-livecode@lists.runrev.com> wrote:
 
Hi there
 
I suggest that there could be a Non-Appbuilding 

Re: Text encoding: summary of results and times.

2021-09-07 Thread Bob Sneidar via use-livecode
This makes sense to me (I think) because if I am not mistaken, UTF16 is 
Unicode, and UTF8 is simple ASCII. The slowdown from 6.7 to 7.0 was precicely 
the support for Unicode text. Someone will correct me if I am wrong about this. 
As a hobbyist, I try and stay away from localization issues. But I am 
interested in the idea that all text incoming should be text decoded and 
outgoing the inverse. (Did I get that right??) 

Bob S


> On Sep 3, 2021, at 17:29 , Alex Tweedly via use-livecode 
>  wrote:
> 
> I went back and re-did the tests, checking on the results.
> 
> The file *is* UTF8, so I need to textDecode() it; if I don't, the result are 
> simply wrong, and so the times are irrelevant.
> 
> 1. Once it has been textDecoded(), i.e. is in internal format, and I run my 
> algorithm it gets the correct results, taking 115.1 seconds.
> 
> 2. BUT, if just before the algorithm is run, I do a textEncode(tStr, "UTF8") 
> , it gets the correct results (identical to the above), but in only 3.3 
> seconds.
> 
> The code, in a zip file containing the test stack, SpellCheck Library, and 
> the 'bible' and "war" sample textfiles, can be downloaded from
> 
> https://www.tweedly.org/Downloads/SpellLib.gz
> 
> if anyone wants to look at it.
> 
> Alex.
> 
> 
> 
> On 03/09/2021 13:38, Alex Tweedly via use-livecode wrote:
>> 
>> On 03/09/2021 11:07, David V Glasgow via use-livecode wrote:
>> 
>>> Alex states that put textEncode(tWHoleText, "UTF8") into tWholeText speeds 
>>> replace up, but David B says LC internal format is UTF16.  Doesn’t the 8 vs 
>>> 16 difference matter?  Or matters less than other encodings?
>> 
>> I would regard that timing comparison with much suspicion. I was 
>> textEncoding() it inappropriately - I had just read it in from a file, so I 
>> *should* have been textDecoding() it. Therefore it is unclear whether the 
>> times I was seeing then are meaningful.
>> 
>> Alex.
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-07 Thread Bob Sneidar via use-livecode
It's worse than the unicode text issue. Saving stacks is from my setup 7 to 8 
times slower in Windows than on a Mac, and I have tried numerous Windows 
configurations from bare metal to VMWare servers running on a robust host. In 
discussions in the past, it seems there isn't a lot Livecode can do about it. 
The issues are with Windows itself. At least that was the upshot of the 
discussions. 

Bob S


> On Sep 3, 2021, at 06:56 , Ben Rubinstein via use-livecode 
>  wrote:
> 
> I was wondering this too: when Lagi mentioned 'fix the IDE' I thought this 
> might be a reference to some of a number of usabiity snags - it didn't occur 
> to me that it was just speed.
> 
> I develop on a nine-year old MacBook and have never noticed a speed issue 
> with the IDE. I wonder if it's possible that the Windows IDE has been 
> affected by the same issue to do with manipulating quantities of text that 
> I've been talking about on the list, which Mark W has suggested might be 
> fixed in a release very shortly? (Seems unlikely!) But definitely seems to be 
> something platform specific.
> 
> Lagi, if you're still able to access a 6.7 installer, could you confirm 
> whether the IDE under 6.7 has the same problem on your set up? The problems 
> with speed on Windows that I'm seeing came in after 6.7.
> 
> Ben


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-02 Thread Bob Sneidar via use-livecode
I am going to say no, because you still have to traverse the file once to get 
it into sqLite, then do the sort, then write out the file when done. I might be 
mistaken, the subsequent SQL sort may make up for lost time. Using a memory SQL 
really shines when you need to make multiple passes at the data using different 
queries. One pass may not impress you much. 

For instance, I have a File Management module built into my application. A file 
can belong to a customer, and also to a site, and also to a device. Like so:

custid  siteid  deviceidfilepath
123 disk/folder/file1
456 098 disk/folder/file2
789 765 432 disk/folder/file3

Note all have a custid, some have a siteid as well, and some also have a 
deviceid. 

So rather than query mySQL for the files for each site or device as I select 
them, I instead, upon selecting a customer, query mySQL for ALL the file 
records for that customer, (which of course contain the file records for all 
the sites and devices), then store that in a memory database. Then when a 
different site or device belonging to that customer is selected, I query the 
memory database for those belonging to that site, or that device in those 
modules respectively. 

The performance enhancement is significant. 

Another way I apply this is to get the objects on a card passing a list of 
properties I'm interested in, then store the data in a memory database. I can 
then query for objects with certain properties without having to iterate 
through all the objects on a card in a repeat loop. For instance, the farthest 
left, top, right and bottom object whose visible is true in 4 memory db 
queries, giving me the total rect of all the visible objects without 
grouping/ungrouping and the hell that can ensue. 

Bob S


> On Sep 2, 2021, at 11:22 , Bernard Devlin via use-livecode 
>  wrote:
> 
> Whilst waiting for a fix, would a temporary solution be to use sqlite to
> create an in-memory database and let sqlite do the sorting for you?
> 
> Regards, Bernard.
> 
> On Mon, Aug 30, 2021 at 8:23 PM Ben Rubinstein via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Thanks to Mark Waddingham's advice about using a buffer var when
>> accumulating
>> a large text variabel in stages, I've now got a script that took 8 hours
>> under
>> LC9, and (8 minutes under LC6) down by stages to just under 1 hour under
>> LC9.
>> 
>> However I have some remaining issues not amenable to this approach; of
>> which
>> the most significant relates to the sort command.
>> 
>> In all cases it seems to take much longer under LC9 than it did under LC6;
>> although the factor is quite variable. The most dramatic is one instance,
>> in
>> which this statement:
>> 
>>sort lines of tNewTable by item iSortCol of each
>> 
>> takes 35 minutes to execute. `tNewTable` is a variable consisting of some
>> 223,000 lines of text; approx 70MB. The exact same statement with the same
>> data on the same computer in LC6 takes just 1 second.
>> 
>> Has anyone else noticed something of this sort? As I said, the effect
>> varies:
>> e.g. 54 seconds versus 1 second; 22 seconds versus 1 second. So it may not
>> be
>> so noticeable in all cases.
>> 
>> TIA,
>> 
>> Ben
>> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bye, and thanks for the fish

2021-09-02 Thread Bob Sneidar via use-livecode
+1

> On Sep 2, 2021, at 01:38 , Bernard Devlin via use-livecode 
>  wrote:
> 
> Over on the forum Kevin has been encouraging people to contact support with
> any issues. Some are refusing to do so, making ridiculous demands in
> response.
> 
> Yesterday I had a look at the historical prices to see if LC was
> significantly more expensive than Metacard:
> 2001 - Metacard ($995)  [$288]
> 2005 - Revolution Enterprise (£899) [£243]
> 2021 - Livecode (3x distro platforms £720) [£1316]
> 
> In square brackets behind each is [the price of an ounce of gold] (if
> someone's got a better comparator, they can post it e.g. crude oil, pork
> bellies, cost of an entry level Mac, etc).
> 
> So Metacard cost 3 ounces of gold, Rev Enterprise cost 3.7 oz of gold,
> today's Livecode equivalent costs 0.54 oz of gold.  Even if one adds all 7
> of the distro platforms (3 of which certainly didn't exist in 2005), a full
> Livecode license costs just over 1oz of gold, so between 1/3rd of the price
> of 15 years ago (or as little as 1/6th the price of Metacard). Objectively
> speaking, the customer today gets so much more for so much less.  Apart
> from those who have been used to getting something for free.
> 
> It was only this time last year I stated how amazing it was that Livecode
> manages all the complexity of producing software that runs on so many
> divergent platforms (I was navigating the version compatibilities of Xcode,
> Android Studio, MacOS, iOS, AndroidOS, Windows OS, and Livecode), not to
> mention producing two different versions of Livecode (free and
> commercial).  Something had to give.
> 
> Regards, Bernard
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bye, and thanks for the fish

2021-09-01 Thread Bob Sneidar via use-livecode
It’s, “So long, and thanks for all the fish!” And unless you can do a double 
360 back flip while passing through a smallish ring suspended above the pool, I 
remain unimpressed. 

Sent from my iPhone

> On Sep 1, 2021, at 17:53, Neville Smythe via use-livecode 
>  wrote:
> 
> 
>> On 1 Sep 2021, at 11:36 pm, use-livecode-requ...@lists.runrev.com wrote:
>> 
>> i am not sure, if everyone is aware of it, but standalones that were created 
>> with the Starter Plan license will expire as soon as the Startert Plan 
>> subscription expires.
> 
> Not even Apple is that rapacious.
> 
> I used to have a commercial licence back when I was selling stuff (although 
> the economics of software never made sense). Since retiring I have been 
> “freeloading" with the Community edition as a hobbyist, my only LC uses being 
> for personal use, and maintaining admin and operating software I wrote for a 
> not-for-profit sporting organisation, and occasionally contributing bug 
> reports. I can well understand the need for LC to move to a profitable basis, 
> and I would be happy buy a plan if it made sense for our use, but there is no 
> way my NFP association can afford US$1000 every year - or even one year (we 
> would use 3 platforms, and not even the Server is thrown in with the desktop 
> platforms). And a Starter Kit that means the app would stop working when I 
> pass on (I have been around since Hypercard day 1) is an insult. Seems to me 
> the hobbyist use of LC has come to an end. A great pity, but I guess times 
> move on.
> 
> I have greatly enjoyed being part of this (mostly) friendly and generous 
> community for many years.
> 
> Neville Smythe 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Licensing model change

2021-08-31 Thread Bob Sneidar via use-livecode
I honestly never quite saw how offering a free version alongside commercial 
versions was going to fly. People need to eat, and if you give something away 
for free, people will simply not pay for it. 

I did the free version for a couple years, mainly because what I create helps 
almost exclusively myself, and I do not sell anything. I am on Indy for a 
couple years now because I feel bad about using the software for free, and I 
feel like I need to contribute to the "cause", which is not purely altruistic 
by the way. The loss of Livecode would pretty much mean the end of my 
development hobby. 

Overall I welcome this new approach. If you are using LC for free, please 
consider getting on a subscription, especially if you develop regularly. 

Bob S


> On Aug 31, 2021, at 09:16 , Mike Kerner via use-livecode 
>  wrote:
> 
> I just read and watched Kevin's announcement about LC licensing.
> The value for us in the OSS license was simply a greater level of assurance
> that there would be longevity in the event that LC the company failed, as
> the source was still there for someone else to pick up. I think that's how
> MC -> RR.
> So I am disappointed that the code will not be out in the open in the event
> of a business failure, however, I'm also respectful of the need for more
> revenue.
> I will leave it to others to discuss the failure of LC to deliver x,y,z and
> how that plays into the situation.
> I am also not privy to a recent P/L, so I am in a bad position to opine on
> what they should do or prioritize.
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Property inspector opening with wrong object

2021-08-25 Thread Bob Sneidar via use-livecode
What happens if you open the object inspector, then select an object on a card? 
It *should* change to the properties of the selected object. 

Bob S


> On Aug 25, 2021, at 06:24 , Craig Newman via use-livecode 
>  wrote:
> 
> Hi.
> 
> I have never seen this on my Mac. How do you open the inspector? By 
> double-clicking a selected object when with the pointer tool? By selecting 
> from the “Object” menu?
> 
> Craig
> 
>> On Aug 24, 2021, at 11:39 PM, Neville Smythe via use-livecode 
>>  wrote:
>> 
>> Has anyone else experienced this? It is very annoying.
>> 
>> Sometime when I open the Property Inspector for an object it opens the 
>> inspector for the stack instead. I don’t know what triggers it, but once it 
>> starts happening it always happens; relaunching LC restores sanity for a 
>> while. This is on a Mac using Catalina LC 9.6.3 but it has been happening 
>> for  while now.
>> 
>> Neville Smythe
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Whatever happened to on-rev?

2021-08-19 Thread Bob Sneidar via use-livecode
I am getting an error that I do not have permission to access the site. I have 
a lifetime license. 

Bob S


> On Aug 19, 2021, at 16:54 , Jerry Jensen via use-livecode 
>  wrote:
> 
> Eh, wot?
> For me it redirects to https://livecode.com (in Safari on a mac).
> .Jerry
> 
>> On Aug 19, 2021, at 4:43 PM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> ?
>> looks like it bit the dust.
>> 
>> http://on-rev.com/
>> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Whatever happened to on-rev?

2021-08-19 Thread Bob Sneidar via use-livecode
Well I'll be Pavlov's Lapdog! So it is! 

Bob S


> On Aug 19, 2021, at 16:43 , Mark Wieder via use-livecode 
>  wrote:
> 
> ?
> looks like it bit the dust.
> 
> http://on-rev.com/
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: oAuth2 window properties

2021-08-18 Thread Bob Sneidar via use-livecode
I do a similar thing for nested behavoirs for Datagrids. Just be aware that 
when you upgrade Livecode, these changes go away. What I do is I keep copies of 
the behaviors (or libraries if you please). When I get a new version of LC, I 
FIRST launch the app, license it then quit. This clears any OS hurdles 
concerning signing and whatever the other thingummy is you now need to do for 
MacOS. Then I replace the files with my custom files. 

Bob S


> On Aug 18, 2021, at 03:50 , Bob Hall via use-livecode 
>  wrote:
> 
> Thanks Bernd for the tip. You set me on the right path. Kudos and High Fives 
> coming your way!
> 
> What I ended up doing was opening the stack script from the Project Browser. 
> In there, the oauth2 stack height and cancel button locations are set via 
> script. I simply added an appropriate amount that I needed to get the stack's 
> height and cancel button where needed and viola, no more scroll bar or cut 
> off auth screen. BRILLIANT! My change lasts between launches as well as when 
> I built the standalone without modification to the app bundle.
> 
> I'll post in the forums the details on what I changed if anyone is interested.
> 
> Thanks again Bernd
> 
> Bob
> 
>> On Aug 17, 2021, at 1:40 PM, Niggemann, Bernd via use-livecode 
>>  wrote:
>> 
>> Hi Bob,
>> 
>> Have a look at "com.livecode.library.oauth2" in the Project Browser when 
>> "Show IDE Stacks in Lists" is on. That is the (library) stack that displays 
>> the information in a stack that is build on the fly.
>> It uses a browser widget to display.
>> You could change the dimensions of the browser widget. Additionally you 
>> could try to set the vScrollBar of the widget to false.
>> From the dictionary for the browser widget
>> set the vScrollbar of widget to pEnabled
>> 
>> If you make changes to "com.livecode.library.oauth2" they will not stick: 
>> the next time you start Livecode they will be gone. If you want to make them 
>> permanent you would have to change the write permissions for that file in 
>> the app bundle on a Mac (Windows ??) and save your changes from the Script 
>> Editor.
>> 
>> I could not test my suggestions because I don't know anything about oauth2 
>> but it should work.
>> 
>> Kind regards
>> Bernd
>> 
>> Bob wrote:
>> 
>> 
>> Is it possible to change any of the properties of the oAuth2 window? I'd like
>> to be able to set the size (and location) of the window to prevent a scroll 
>> bar
>> from showing with the service my App authenticates with.
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How Do We Stop A "Standalone Builder Progress" ?

2021-08-18 Thread Bob Sneidar via use-livecode
Alt-F4?

Bob S


> On Aug 16, 2021, at 14:14 , Ralph DiMola via use-livecode 
>  wrote:
> 
> Windows?
> 
> 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 J. Landman Gay via use-livecode
> Sent: Monday, August 16, 2021 2:39 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: How Do We Stop A "Standalone Builder Progress" ?
> 
> On 8/16/21 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
>> Now I get was “fiddling” with keystrokes. Voila! Cmn-w did it!
> 
> Well that's good to know. I tried Cmd-period but never thought to use Cmd-W.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Need to populate array into datagrid

2021-08-11 Thread Bob Sneidar via use-livecode
I have seen this sort of thing before. Try setting the dgData to empty, and 
also the dgText. Further, make sure that the column names of the datagrid match 
the keys of each record in the array. 

Sent from my iPhone

> On Aug 11, 2021, at 12:52, Mark Smith via use-livecode 
>  wrote:
> 
> Skip, are you putting this into a form style or table style datagrid?
> 
> Mark
> 
> 
>> On Aug 11, 2021, at 8:18 PM, Skip Kimpel  wrote:
>> 
>> So yes, I have tried this method but I am only getting the first element to 
>> appear in the data grid ("1,2") in each row
>> None of the other details appear in the datagrid.
>> 
>> SKIP
>> 
>> On Tue, Aug 10, 2021 at 3:24 PM Mark Smith > > wrote:
>> Hi Skip, I’m not sure if this is what you are looking for but if you want to 
>> set the datagrid to display the data in an array you use:
>> 
>> set the dgData of group "DataGrid" to pDataArray
>> 
>> If your data is just delimited text you can use:
>> 
>> set the dgText of group "DataGrid" to pData
>> 
>> Either way tiggers the LayoutControl and FillInData handlers in the 
>> datagrid, so these need to be the same as (or be modified to meet) the 
>> structure of the incoming data.
>> 
>> There is more in the dictionary under dgData and dgText.
>> 
>> Mark
>> 
>> 
 On Aug 10, 2021, at 7:52 PM, Skip Kimpel via use-livecode 
 mailto:use-livecode@lists.runrev.com>> 
 wrote:
>>> 
>>> What is the best way to do this?  I have searched my old code, online
>>> results, etc and cannot find a clear cut answer.  Having said that, it has
>>> been a VERY long time since I have done this so I am part of the "use it or
>>> lose it" club right now.
>>> 
>>> Any help would be greatly appreciated!
>>> 
>>> SKIP
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com 
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>>> 
>> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Good math/code lesson from HMS Queen Elizabeth

2021-08-11 Thread Bob Sneidar via use-livecode
Curious, what kind of neurotoxin? We get stingrays on our beaches during warm 
days and calm surf. They come in close to shore to rest and to hide from 
predators. If you get hit by their stinger, they have a toxin which is an 
enzyme catalyst, which will keep eating away at your flesh. There is no 
antidote, but very hot water will break down the enzyme, so the cure is to 
stick your foot (usually what gets stung) in a bucket of hot water, a little 
hotter than you think you can stand, for about 20 minutes to a half hour. 

Bob S


> On Aug 11, 2021, at 04:58 , Curry Kenworthy via use-livecode 
>  wrote:
> 
> Only 1 post this week; typing hurts.
> (Downtime after a neurotoxin exposure.)


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: List fields question...

2021-08-11 Thread Bob Sneidar via use-livecode
Amazing stuff Richard. It's always an inspiration to me, and I hope others also 
to see how creative and useful we can be with Livecode. 

Bob S


> On Aug 10, 2021, at 19:01 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Paul Dupuis wrote:
> 
> >  Using the message watcher is practically useless unless I took the
> >  time to filter out all the existing messages I am not looking for.
> 
> 
> How about in addition to filtering by message name you could also filter by 
> any part of the long name of the object containing the called handler...
> 
> And have results listed in indented outline format so you can easily see the 
> calling chain from user event all the way down...
> 
> And optionally save the session log to a file...
> 
> And have profiling info provided with relative timing and frequency of 
> calls...
> 
> And didn't want to wait for an enhancement request to find its way through 
> the company work queue...
> 
> 
> Here I took a moment to outline 4W Flight Recorder, a free tool I wrote some 
> time ago and rely on every week:
> 
> https://forums.livecode.com/viewtopic.php?f=6=35496=207822#p207822
> 
> 4W Flight Recorder is available in the Stacks section of the GoLiveNet plugin 
> in the IDE.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: List fields question...

2021-08-10 Thread Bob Sneidar via use-livecode
+1

Ran into the same thing myself. 

Bob S


> On Aug 10, 2021, at 13:58 , Craig Newman via use-livecode 
>  wrote:
> 
> I had made a suggestion (Forum, “Message Watcher Enhancement”) that the 
> message watcher have the ability to not only ignore certain messages, but to 
> allow only certain messages. I am amazed this got no traction from anyone. It 
> would also be terrific to only allow only those containing, say, the word 
> “mouse”.
> 
> Craig

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.6.3

2021-08-03 Thread Bob Sneidar via use-livecode
Don't make really big apps? :-) 

I'd start by going through all your graphics and using the lowest resolution 
that you can get away with. If you linked your graphics to an actual file on 
the disk this becomes really easy. If not you would have to re-import all your 
low res graphics and optionally script them. 

Also, the less cards and stacks, the better. I tend to put a LOT of 
functionality on my cards, then use tabs to show/hide groups accordingly. 

Bob S


> On Aug 2, 2021, at 19:17 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Aloha Panagiotis
> 
> But you cannot release an Android App which is more the 100MB!
> 
> See this screen shot
> 
> http://wiki.hindu.org/screenshots/You-Cannot-Release-Android-Over-100MB.png
> 
> What are we going to do?
> 
> 
> Svasti Astu – Be Well
> Brahmanathaswami
> 
> Get SivaSiva.app – It free!
> https://www.himalayanacademy.com/view/sivasiva

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Also looking for MSSQL integration person

2021-07-26 Thread Bob Sneidar via use-livecode
> MSSQL has a try_cast snf cast function. 

That should read MSSQL has a try_cast AND cast function. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Also looking for MSSQL integration person

2021-07-26 Thread Bob Sneidar via use-livecode
MAX is the argument for maximum VARCHAR size. SQL Server NVARCHAR data type is 
used to store variable-length, Unicode string data. 

MSSQL has a try_cast snf cast function. Try using that to have the SQL server 
convert the data into VARCHAR and see what you get. 

Bob S


> On Jul 26, 2021, at 15:54 , Skip Kimpel via use-livecode 
>  wrote:
> 
> I think it is how I have everything setup something is getting lost in
> translation.  Keep in mind it is only two fields I am getting the "?"
> results back instead of the text contained inside.  The MSSQL data types of
> those two fields are: nvarchar(max).   Interestingly enough, I have other
> nvarchar fields coming through just fine but the difference is the "(max)"
> piece.
> 
> It is a Azure SQL server and because I have not been able to figure out how
> to do a direct connection to it, I am using an ODBC connector with
> 32/64-bit ODBC Driver 13 for SQL server.
> 
> Does this help at all?  I went through all the encoding types but they all
> failed using the textEncode when I say fail, I mean not the desired
> result.
> 
> Maybe I hone in on the "max" piece of that code??
> 
> 
> SKIP


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Also looking for MSSQL integration person

2021-07-26 Thread Bob Sneidar via use-livecode
If it helps, I use InnoDB and my encoding is utf8_general_ci. That's probably 
not good for unicode though. I don't localize my app, it's just for use here at 
work. 

Bob S


> On Jul 26, 2021, at 13:59 , Paul Dupuis via use-livecode 
>  wrote:
> 
> I can't help you figure it out, but text coming through as questions marks is 
> almost always and text encoding issue.
> 
> For example, if the text is stored in the mySQL database as UTF8, then after 
> fetching it in LiveCode nd before placing it in a field, you need to 
> textDecode(,"UTF8") (see the textDecode 
> dictionary entry)
> 
> If you are going the other way, text entered into a LiveCode field needs to 
> be textEncode(,"UTF") before storing in the database.
> 
> You need to either look up what encoding you table(s) are using or set the 
> encoding of the table(s) in the database to what you want and then perform 
> the appropriate textEncode or textDecode operations in LC
> 
> 
> 
> On 7/26/2021 4:44 PM, Skip Kimpel via use-livecode wrote:
>> I have MSSQL data flowing into my project but two data input fields are
>> coming through as "?" instead of the actual text.
>> 
>> WIlling to pay someone to help me figure this out.
>> 
>> Please contact me directly at s...@magicgate.com
>> 
>> 
>> Thank you!
>> 
>> SKIP
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-26 Thread Bob Sneidar via use-livecode
Just hang out at American airports. I'm 65 and they ask ME for ID. :-)

Bob S


> On Jul 25, 2021, at 14:30 , Andre Garzia via use-livecode 
>  wrote:
> 
> I love when you folks call me a young man :-) I’ve been 41 for a while now 
> and no one asks for my ID when I buy a beer anymore.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending email with TLS (via Outlook) from LC 6.7 based app...

2021-07-16 Thread Bob Sneidar via use-livecode
So, yes you can set any windows device to operate as an SMTP relay. Server 
versions have this capability built in. You enable it in the features section 
of Server manager. You can then configure the local side to be an open relay 
not requiring auth or encryption, and configure the public side to do all the 
auth and encryption. 

Alternatively, and depending on the Office365 receive connectors configuration, 
you *should* be able to use the endpoint connector. Assuming my mail domain is 
slylabs.com, my endpoint connector would be 
slylabs-com.mail.protection.outlook.com. 

That system is in place precicely because Microsoft recognizes there are 
devices and applications that cannot use encryption, or have not or cannot be 
updated to the TLS 1.2 standard. 

Bob S


> On Jul 16, 2021, at 07:08 , Ben Rubinstein via use-livecode 
>  wrote:
> 
> 
> A very venerable app (original version perhaps 15 years ago) is still running 
> on a client's Windows box, every night, processing data and emailing a report.
> 
> The email is sent using Shao Sean's libSMTP library, which has performed 
> faithfully for all these years. Unfortunately, the client's replacing their 
> local smtp server with outlook365.com - which requires TLS authentication - 
> which I don't believe libSMTP supports.
> 
> The current version of the app is built in LiveCode 6.7.11. There is a huge 
> amount of text to be processed, and - as you might imagine after this long 
> development, with regular changes and additions - the processing is very 
> complex. A few years ago I did look at rebuilding it in LC 8/9, but because 
> of the changes to unicode handling there was a lot of perturbation in the 
> data, and there wasn't time/budget to track all this down in order to get a 
> reasonable new version. I still occasionally need to make tweaks to the 
> processing, but I do that in my trusty LC 6.7.11.
> 
> So now I've hit a problem. There still isn't budget for a major exercise to 
> rebuild it in a modern version of LiveCode, so I can't just switch to using 
> tsNet.
> 
> Is it theoretically possibly to tweak libSMTP to work with TLS, or is there 
> some basic limitation with LC 6.7 that would make that impossible? Are there 
> any other libraries that work with TLS? Or (I'm not a Windows person) is 
> there some simple way I could set up a local SMTP server on the Windows box 
> that would accept the email from my LiveCode app and forward it to outlook365?
> 
> Any suggestions or experience gratefully received.
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stuck on native database functions

2021-07-13 Thread Bob Sneidar via use-livecode
Thanks for the confirmation. On the bright side, I am not likely to forget that 
again. :-)

Bob S


> On Jul 13, 2021, at 08:12 , R.H. via use-livecode 
>  wrote:
> 
> @Bob Sneidar
> 
> Hello Bob
> 
> The documentation bug was resolved in the latest version:
> https://quality.livecode.com/show_bug.cgi?id=23074
> 
> It was also tricky for me until I found out how to quote variables and
> arrays that point to data when sending data to my mySQL database as the
> documentation was not quite up to the point.
> 
> Hope you solved your problem.
> 
> Roland
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How do I get the ID of a database?

2021-07-12 Thread Bob Sneidar via use-livecode
That's what I ended up doing. I am so used to using sqlYoga, so the standard 
API took a little getting used to. 

Bob S


> On Jul 9, 2021, at 19:30 , Tom Glod via use-livecode 
>  wrote:
> 
> Hey Bob I don't understand the problem. Why don't you just store the ID
> in a persistent place? i think you are over complicating something here.
> Why can't YOU give it the name that you need and wnat it to be and then
> store the ID with that name somewhere?
> 
> Maybe I'm just misunderstanding the problem.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How do I get the ID of a database?

2021-07-09 Thread Bob Sneidar via use-livecode
Something like put revdb_databaseNamed(":MEMORY:") into tDBID. 

But thinking about it more, it's kind of irrelevant. Opening a database isn't 
like loading the information into some variable. The cursor is the actual data 
that needs to have housekeeping done on it. 

Bob S


> On Jul 9, 2021, at 16:48 , Mark Wieder via use-livecode 
>  wrote:
> 
> How would you reference the database to get its ID?
> That's a bit of circular reasoning.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How do I get the ID of a database?

2021-07-09 Thread Bob Sneidar via use-livecode
Yeah thanks Rick, I know I can store the database id, I was hoping to simply 
call a function that could tell me what database name the ID belonged to, but 
apparently that is not a persistent thing. 

I stored it in a script local variable in the card that creates the database, 
then I have a custom property"memorydb"  that returns that stored value when I 
need it. 

What I cannot do however is close a database even if I have it's ID. I can 
close CURSORS, but not databases. I don't guess it's all that important. 

Bob S


> On Jul 9, 2021, at 16:30 , Rick Harrison via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
> When you open the database with revOpenDatabase you assign the whole thing to 
> yourDatabaseID.
> 
> Look it up in the dictionary towards the end and you’ll find what I’m 
> referring to.
> 
> yourDatabaseID will be an integer and you will use that to refer to your 
> database for other functions.
> 
> Hope that helps!
> 
> Rick

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


How do I get the ID of a database?

2021-07-09 Thread Bob Sneidar via use-livecode
Hi all. 

I am getting more into MEMORY sqLite databases, and perusing the dictionary, I 
find no way to close a database or find the ID of a currently open database. 

I know I can store the ID somewhere, but I am finding that after 
troubleshooting and tracing my code I have a lot of database IDs open and I 
want to start with a clean slate. 

Apart from quitting Livecode, is there a way to do this? There is nothing under 
the Database Library category. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


MouseDoubleUp in a datagrid

2021-07-09 Thread Bob Sneidar via use-livecode
Hi all. 

I want to handle mouseDoubleUp in a datagrid WITHOUT triggering 
SelectionChanged. What is happening now is that selectionChanged gets sent 
twice before mouseDoubleUp gets sent. Setting a delay in mouseDoubleUp or 
mouseUp won't work because selectionChanged gets sent BEFORE those messages. 

Any ideas? 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mySQL 8 destroyes umlaute

2021-07-09 Thread Bob Sneidar via use-livecode
I did something similar. I created a client-server library. The client encrypts 
using a unique method that only I know, and the server decrypts using the same 
method. This way you can have secure traffic without HAVING to go through a web 
server and all the hoopla that involves (for the uninitiate like myself) and 
only the server module accesses the database directly. 

Bob S


> On Jul 8, 2021, at 08:52 , Rick Harrison via use-livecode 
>  wrote:
> 
> Hi Tiemo,
> 
> Could you use a substitution table as a work around patch?
> 
> Rick
> 
>> On Jul 8, 2021, at 8:45 AM, Tiemo via use-livecode 
>>  wrote:
>> 
>> Thank you Matthias,
>> 
>> because it is an existing db and years old LC programs in different versions 
>> out at the customers, I can't modify my old LC programs out there.
>> 
>> I now have read that uft8 gets deprecated in mySQL 8 at some time, so that 
>> all new and migrated mySQL 8 databases gets by default uft8mb4 (4 byte 
>> chars), which LiveCode obviously doesn't like and can't display anymore the 
>> umlaute of my existing db. Perhaps everything would work with LC, when 
>> creating a new db and storing the data from the beginning in utf8mb4, but 
>> that’s not my use case. My live db has as the server character set "latin1" 
>> and as the db character set "utf8", which were both switched to utf8mb4 on 
>> mySQL 8.
>> 
>> Now I am looking for a solution either in the PHPs, which are called from LC 
>> and connect to the db, or changing the db itself.
>> Overwriting the charset in the PHP by: header ( 'Content-Type: text/html; 
>> Charset=latin1' ); doesn't affect the output to LiveCode at all, the umlaute 
>> stay corrupted. It seems that the settings of the db have priority.
>> 
>> I have read that you can alter the charset of a database and/or tables 
>> (ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE 
>> utf8_unicode_ci;) . I am not good in handling databases, so I am not sure yet
>> - if this changes just the default value for new db entries or if that 
>> changes also the existing db content
>> - even if this would work, this wouldn't be a long lasting solution, because 
>> uft8 gets deprecated in future and I need again another solution.
>> 
>> Anybody out here who is good in working with databases / mysql and has any 
>> idea how to repair this situation?
>> 
>> Thanks
>> Tiemo
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stuck on native database functions

2021-07-09 Thread Bob Sneidar via use-livecode
Okay, so here's an updated version of my ArrayToSQLITE function. It takes an 
array, and as the name suggests, converts it to an sqLite database and returns 
the Database ID. Of note is that it now works with EMBEDDED ARRAYS! If it 
detects that a key is an array in the supplied array, it will create a BLOB 
column, otherwise it will create a VARCHAR column. (This is largely for syntax 
compatibility as sqLITE does not have data type constraints, but anything 
larger than 255 characters will need to be a BLOB [I think]. 

Then when building the insert statement, it will arrayEncode the value. 

I have not tested this yet, as I have no need of it, but if anyone wants to 
try, feel free and let me know if you find any issues. 

FUNCTION arrayToSQLite pArrayDataA, pDBFile, pDBName
   put the keys of pArrayDataA into tArrayKeys
   sort tArrayKeys numeric ascending
   IF pDBFile is empty THEN put ":memory:" into pDBFile
   IF pDBName is empty THEN put "arraydata" into pDBName
   
   TRY
  put revOpenDatabase("sqlite", pDBFile) into tDBID
  
  IF "Error" is in tDBID THEN
 throw tDBID
 return empty
  END IF
  
  put "drop table " & pDBName into tDropSQL
  revExecuteSQL tDBID, tDropSQL
  put  the result into tResult
   CATCH tError
  answer tError
  IF the environment is "development" THEN exit to top ELSE quit
   END TRY
   
   -- create the table
   put "create table" && quote & pDBName & quote \
 & cr into tCreateCommand
   put "(" & quote & "recordid" & quote && "NUMERIC PRIMARY KEY UNIQUE, " \
 & cr AFTER tCreateCommand
   
   put the keys of pArrayDataA [1] into tRecordKeyList
   
   REPEAT for each line tRecordKey in tRecordKeyList
  if pArrayDataA [1] [tRecordKey] is an array then 
 put "BLOB" into tColumnType
  else
 put VARCHAR into tColumnType
  end if
  
  put quote & tRecordKey & quote && tColumnType & "," && cr AFTER 
tCreateCommand
   END REPEAT
   
   delete char -3 to -1 of tCreateCommand
   put ")" AFTER tCreateCommand
   
   TRY
  revExecuteSQL tDBID, tCreateCommand
  put the result into tResult
  IF tResult is not 0 THEN breakpoint
   CATCH tError
  breakpoint
   END TRY
   
   put 1 into tRecordCounter
   put "recordid" & cr & tRecordKeyList into tColumns
   
   repeat with i = 1 to the number of lines of tColumns
  put ":" & i into item i of tColumnList
   end repeat
   
   put "(" & tColumnList & ")" into tColumnList
   
   -- insert data
   REPEAT for each line tKey in tArrayKeys
  put 1 into tColumnCounter
  put pArrayDataA [tKey] into tRecordDataA
  put tRecordCounter into tQueryDataA [1]
  
  REPEAT for each line tRecordKey in tRecordKeyList
 add 1 to tColumnCounter
 
 if tRecordDataA [tRecordKey] is an array then
put arrayEncode(tRecordDataA [tRecordKey]) into tValue
 else
put tRecordDataA [tRecordKey] into tValue
 end if
 
 put tValue into tQueryDataA [tColumnCounter]
  END REPEAT
  
  put "insert into" && pDBName &&  "VALUES" && tColumnList into tInsertSQL
  
  TRY
 revExecuteSQL tDBID, tInsertSQL, "tQueryDataA"
 put the result into tResult
 if the result is not a number then breakpoint
  CATCH tError
 breakpoint
  END TRY
  
  add 1 to tRecordCounter
   END REPEAT
   
   return tDBID
END arrayToSQLite


> On Jul 9, 2021, at 08:09 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Okay I found out what I did wrong. The array variable needs to be enclosed in 
> quotes. I remember now some time in the past looking at that and saying, "Why 
> are their quotes around the array variable? That won't work!" So I removed 
> them and subsequently shot myself in the foot. 
> 
> For the record, having a parameter that can be either a string or an array, 
> and then having to enclose the name of the array in quotes to keep the 
> handler from confusing it as a string, strikes me as a really odd way to do 
> things. But hey, it is what it is. 
> 
> Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stuck on native database functions

2021-07-09 Thread Bob Sneidar via use-livecode
Okay I found out what I did wrong. The array variable needs to be enclosed in 
quotes. I remember now some time in the past looking at that and saying, "Why 
are their quotes around the array variable? That won't work!" So I removed them 
and subsequently shot myself in the foot. 

For the record, having a parameter that can be either a string or an array, and 
then having to enclose the name of the array in quotes to keep the handler from 
confusing it as a string, strikes me as a really odd way to do things. But hey, 
it is what it is. 

Bob S


> On Jul 7, 2021, at 09:52 , Mark Smith via use-livecode 
>  wrote:
> 
> Yes, using the numeric placeholders will do that for you. 
> 
>> On Jul 7, 2021, at 4:43 PM, Terence Heaford via use-livecode 
>>  wrote:
>> 
>> It also seems to do the escaping for you as it handled text containing 
>> commas in the description
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stuck on native database functions

2021-07-06 Thread Bob Sneidar via use-livecode
So I checked out the lessons. I do not find anything there for using 
substitutions like :1, :2. I am getting records inserted but with empty data. 
Really frustrating. 

I could use literal data, which I tested, and which works, but my real data 
contains commas, and in the future may contain any number of special characters 
that I will have to escape. Not my idea of fun. 

I was hoping to do a "quickie" implementation but it seems I will have to run 
this through sqlYoga like everything else I do these days. 

Bob S


> On Jul 6, 2021, at 16:26 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Well that won't work. How does it know I want to insert the data in 
> aRecordData? Also I put quotes around the column names but got the same 
> results. 
> 
> Bob S
> 
> 
>> On Jul 6, 2021, at 16:14 , Devin Asay via use-livecode 
>>  wrote:
>> 
>> revExecuteSQL “aRecordData”
>> 
>> Not tested, but I’m pretty sure if you sort these things it will start to 
>> work for you.
>> 
>> - Devin
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stuck on native database functions

2021-07-06 Thread Bob Sneidar via use-livecode
Well that won't work. How does it know I want to insert the data in 
aRecordData? Also I put quotes around the column names but got the same 
results. 

Bob S


> On Jul 6, 2021, at 16:14 , Devin Asay via use-livecode 
>  wrote:
> 
> revExecuteSQL “aRecordData”
> 
> Not tested, but I’m pretty sure if you sort these things it will start to 
> work for you.
> 
> - Devin

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Stuck on native database functions

2021-07-06 Thread Bob Sneidar via use-livecode
Hi all. 

I assemble an SQL statement that looks like this: 

insert into ObjectProperties (recordid,rect,controlname,owner,visible) VALUES 
(:1,:2,:3,:4,:5)

I then execute this statement: 

revExecuteSQL tDBID, tInsertSQL, aRecordData

I get records but with no data in them. I checked aRecordData and it has all 5 
columns as keys and data in each of them. 

I am at a complete loss. I was sure this was working before, now it is not. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Levure Dataview: hiding rows

2021-07-01 Thread Bob Sneidar via use-livecode
Delete the row data??

Bob S


> On Jul 1, 2021, at 01:16 , David Bovill via use-livecode 
>  wrote:
> 
> I took a look at the code to try and work out if hiding rows is a thing / 
> supported - but find only a private handler.
> 
> Trevor what is the recommended technique fir providing views of a DataView 
> with hidden rows?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS clipboard?

2021-06-29 Thread Bob Sneidar via use-livecode
There is a Mac Native Single Line Field. I wonder if that is the iOS field? 

Bob S


> On Jun 29, 2021, at 09:15 , Marty Knapp via use-livecode 
>  wrote:
> 
> Thanks. I don’t see a native iOS field available in the toolbar - I see one 
> for Mac and Android… but I do see there’s an online lesson to implement this:
> 
> https://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile
> 
> Marty
> 
>> On Jun 28, 2021, at 12:34 PM, Brian Milby via use-livecode 
>>  wrote:
>> 
>> Need to use native fields to enable copy/paste functionality.
>> 
>> On Mon, Jun 28, 2021 at 3:29 PM Marty Knapp via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Does anyone have a suggestion for LC’s lack of support for clipboardData
>>> in iOS? I’ve implemented my customer database as an iOS app so I can do
>>> tech support when I’m away from the office and not have to lug along a
>>> laptop. Typically when I need to look up an order number or email (received
>>> by email) - I either try to memorize it or I write it down on a piece of
>>> paper and then type it into my database. Very clunk to say the least. It
>>> seems kinda crazy that I can’t copy the email address from the customer
>>> email and then paste that into my iOS app… Or did I miss something?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Open a folder on the desktop from a LiveCode app

2021-06-23 Thread Bob Sneidar via use-livecode
Oooh nice. I have a use for that. 

Bob S


> On Jun 23, 2021, at 11:43 , Eller, Roger via use-livecode 
>  wrote:
> 
> I like to use the full path to the file and use the /SELECT switch.  This 
> opens the folder AND selects the file.
> 
> 
> on mouseUp
> 
>   set the hideConsoleWindows to true
> 
>   get shell("explorer.exe /SELECT," & quote & tPathToFile & quote)
> 
> end mouseUp
> 
> ~Roger


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Double cursor appearing

2021-06-17 Thread Bob Sneidar via use-livecode
Usually with VMs, there are special drivers or "tools" you need to install that 
among other things "sync" the local session cursor position and the VM cursor 
position. Have they installed those tools for their VM client software? 

Bob S


> On Jun 17, 2021, at 09:55 , Paul Dupuis via use-livecode 
>  wrote:
> 
> Hello hivemind,
> 
> I have a customer running our Windows app in a virtual machine under Linux 
> and they are seeing a "double cursor".
> 
> See screen shot here: 
> http://www.researchware.com/livecode/uselist/doublecursor.jpeg
> 
> Has anyone else seen anything like this and have any idea what it may be?
> 
> My Linux skills are horribly rusty. I don't even have Linux (any flavor) 
> setup on any computer currently. I am really hoping someone has an idea what 
> the root cause is here?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: codesigning FAILS with Umlaute

2021-06-17 Thread Bob Sneidar via use-livecode
That is what I said! :-)

Bob S


> On Jun 17, 2021, at 24:02 , Tiemo via use-livecode 
>  wrote:
> 
> So I think you'll have to tweak the app name in the S/B mac options to
> remove the umlaut - then the internal exe will be fine; then after you've
> built - just rename the app bundle to be the one with the umlaut.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: building standalone FAILS with German Umlaute in app name

2021-06-16 Thread Bob Sneidar via use-livecode
If you have code that refers to the stack name literally, what I do is I have a 
function called homeStack() that returns the name of the mainstack, so you can 
change it and your code will always work, and will be portable in that regard. 

Bob S


> On Jun 16, 2021, at 08:15 , Bob Sneidar via use-livecode 
>  wrote:
> 
> I think he is saying name the stack without the umlat before building, then 
> rename the resulting app bundle after the build. There should be no 
> consequences for that. Also in the Standalone Settings, you should be able to 
> provide a different name than the mainstack for the resulting app. 
> 
> Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: building standalone FAILS with German Umlaute in app name

2021-06-16 Thread Bob Sneidar via use-livecode
I think he is saying name the stack without the umlat before building, then 
rename the resulting app bundle after the build. There should be no 
consequences for that. Also in the Standalone Settings, you should be able to 
provide a different name than the mainstack for the resulting app. 

Bob S


> On Jun 16, 2021, at 24:51 , Tiemo via use-livecode 
>  wrote:
> 
> Hello Ludovic,
> 
> thank you for your idea!
> 
> I didn't dare to just rename the app because I don't know what the 
> consequences might be. Can I really just rename the app and leave all other 
> places in the bundle where the name of the app occurs (plist, etc.) as it is 
> without any problems, or do I have to rename the app name in every place I 
> find?
> 
> Any experiences?
> 
> Thanks
> Tiemo
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode  Im Auftrag von 
> Ludovic THEBAULT via use-livecode
> Gesendet: Mittwoch, 16. Juni 2021 07:16
> An: How to use LiveCode 
> Cc: Ludovic THEBAULT 
> Betreff: Re: building standalone FAILS with German Umlaute in app name
> 
> 
> 
>> Le 15 juin 2021 à 15:19, Tiemo via use-livecode 
>>  a écrit :
>> 
>> Hello,
>> 
>> 
>> 
>> macOS 11.2.3, LC 9.6.1 and 9.6.2
>> 
>> 
>> 
>> when the app name has German Umlaute, building a standalone fails with 
>> the
>> error:
>> 
>> “Adding ad-hoc signature failed. … Too many open files in subcomponent 
>> myÖApp.app/Contents/MacOS/myÖApp.app”
>> 
>> 
>> 
>> This was working for the last years without any problem. I don’t know, 
>> since which version it failed.
>> 
>> When replacing the Umlaut, everything works fine.
>> 
>> Since I have to build shortly an update to an existing app with an 
>> Umlaut in its name, this is pretty annoying!
>> 
>> 
>> 
>> Any workaround? Any help?
>> 
> 
> 
> Seem it’s the same bug : https://quality.livecode.com/show_bug.cgi?id=22791 
> 
> 
> Workaround : rename the app after building it
> 
> Ludovic
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: building standalone FAILS with German Umlaute in app name

2021-06-15 Thread Bob Sneidar via use-livecode
A man went to see hist doctor for a problem with his shoulder. He told the 
doctor, "When I move my arm like this, my shoulder really hurts!" They doctor 
replied, "Well, don't do that!" 

:-)

Bob S


> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode 
>  wrote:
> 
> Hello,
> 
> 
> 
> macOS 11.2.3, LC 9.6.1 and 9.6.2
> 
> 
> 
> when the app name has German Umlaute, building a standalone fails with the
> error:
> 
> "Adding ad-hoc signature failed. . Too many open files in subcomponent
> myÖApp.app/Contents/MacOS/myÖApp.app"
> 
> 
> 
> This was working for the last years without any problem. I don't know, since
> which version it failed.
> 
> When replacing the Umlaut, everything works fine.
> 
> Since I have to build shortly an update to an existing app with an Umlaut in
> its name, this is pretty annoying!
> 
> 
> 
> Any workaround? Any help?
> 
> 
> 
> Tiemo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Forum?

2021-06-15 Thread Bob Sneidar via use-livecode
Seems quiet too. :-)

Bob S


> On Jun 15, 2021, at 01:58 , Richmond Mathewson via use-livecode 
>  wrote:
> 
> Has the Forum gone bottom up?
> 
> Certainly seems quiescent just now.
> 
> Richmond.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Levure Dataview drag-reordering

2021-06-11 Thread Bob Sneidar via use-livecode
That's a good thing, yes? That means your Apple device is not phoning home. 

Bob S


> On Jun 11, 2021, at 08:24 , Stephen Barncard via use-livecode 
>  wrote:
> 
> yeah, Apple still thinks I live in Sevastopol, Ukraine!
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message Sent when Closing Stack

2021-06-10 Thread Bob Sneidar via use-livecode
Yes it DOES work, using closeStackRequest. Not sure what I was seeing before, 
but closeStackRequest DID trigger. 

That is great in the Development environment, but it does not work in a 
standalone. I think what we determined in prior posts is to disable the red 
close dot/square and have some other means for quitting the app. 

Bob S


> On Jun 10, 2021, at 14:54 , J. Landman Gay via use-livecode 
>  wrote:
> 
> On 6/10/21 11:59 AM, Bob Sneidar via use-livecode wrote:
>> Hi all.
>> We have gone around about this before, but I still cannot get this to work. 
>> I need to know if there is a message sent when a user clicks the close 
>> button in a window (on a Mac it's a little red dot in the upper left, on 
>> Windows a red square with an X).
>> I tried before closeStack, closeStackRequest etc, and these are not getting 
>> triggered when I close the stack this way.
> 
> You want closeStackRequest for that. Note that if you don't pass the message 
> the stack won't close.
> 
> Do you mean if you set a breakpoint it won't trigger at all?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Message Sent when Closing Stack

2021-06-10 Thread Bob Sneidar via use-livecode
Hi all. 

We have gone around about this before, but I still cannot get this to work. I 
need to know if there is a message sent when a user clicks the close button in 
a window (on a Mac it's a little red dot in the upper left, on Windows a red 
square with an X). 

I tried before closeStack, closeStackRequest etc, and these are not getting 
triggered when I close the stack this way.  

Bob S
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Finding out what changes a custom property

2021-06-07 Thread Bob Sneidar via use-livecode
Oooh never thought of that... so setprops get called before a property gets 
set? 

Bob S


> On Jun 6, 2021, at 14:10 , Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Paul:
> 
> > Is there an debugger feature or tip or trick anyone has
> > that can do the equivalent of set a break point when a property
> > is changed and let me see the executionContexts
> > to tell what the heck is changing it!
> 
> Add a setprop with either a breakpoint and/or the executionContexts?
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> LiveCode Training and Consulting
> http://livecodeconsulting.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stacks not removed from memory?

2021-05-15 Thread Bob Sneidar via use-livecode
This issue is so pervasive that I ended up converting all of my relative 
references to absolute ones. I wrote two handlers, getParentCard and 
getParentStack, so when I need absolute references I put getParentCard() into 
tParentCard and then use of tParentCard after any object I need to absolutely 
reference. I NEVER use this stack anymore. 

I agree that when a handler refers to this stack, it should ALWAYS refer to the 
stack the script object belongs to. 

Bob S


> On May 14, 2021, at 12:49 PM, Marty Knapp via use-livecode 
>  wrote:
> 
> When you close a stack that has its destroyStack set to true, it should not 
> remain in memory. In my case it also seems to get stuck as the default stack. 
> Even if my preference stack did not remove from memory as it should, 
> specifically going to stack "XYZ" and setting it as the defaultStack, one 
> would expect "this stack" to be be "XYZ" but it is not.
> 
> As mentioned I am now querying revLoadedStacks and manually deleting from 
> memory the preference stack and that seems to have taken care of it. But it 
> makes me nervous that the same issue may unexpectedly arise elsewhere in my 
> code. This is an app that has been working fine for years and this has not 
> been an issue till now.
> 
> Marty
> 
>> On May 14, 2021, at 12:35 PM, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> Thanks, Marty.
>> 
>> I used to use stacks for preferences, but I found arrays to be simpler in 
>> addition to being slightly faster.
>> 
>> But it seems the core of your issue isn't so much about LC's cache 
>> management as with object referencing with "this" - do I understand the 
>> issue correctly?
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
>> 
>> 
>>> In my case it's not a name conflict. Lets say I have a main stack "XYZ" and 
>>> then I query a separate Preference stack:
>>> put the cpCustomProperty of stack "full_path_to_pref_stack" into tPref
>>> close stack "pref_stack"
>>> (my preference stack has destroyStack set to true)
>>> Now thinking that I'm back in my main stack "XYZ" I do something like:
>>> put tPref into fld "123" of this stack
>>> This worked fine for me for years. In LC 9.6.2 rc 5, it would fail most of 
>>> the time. Curious, I inserted code to find out what LC thought was "this 
>>> stack" only to discover that *sometimes* it's the preference stack that I 
>>> just closed.
>>> Then after closing the preference stack, I tried "go stack "XYZ" and "set 
>>> the default stack to "XYZ" But "this stack" would still (most of the time) 
>>> report my supposedly closed preference stack.
>>> So now I'm having to query for revLoadedStacks and if my preference stack 
>>> is listed then I delete it from memory.
>>> I did file a bug report (#23194 ) but as it does not always happen I have 
>>> not provided a test stack.
>>> Marty
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Show Tree widget row contents on hover?

2021-04-23 Thread Bob Sneidar via use-livecode
Okay I see you are setting the tooltip. 

set the tooltip of widget "Tree View" to tDataA [1]

or whatever the element is. 

Bob S


> On Apr 23, 2021, at 11:13 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Is this what you are looking for? 
> 
> on mouseUp
>   put the arrayData of widget "Tree View" into tDataA
>   put tDataA [1] into tValue1
>   put tDataA [2] into tValue2
>   -- etc...
> end mouseUp
> 
> I am unsure of what you are trying to do. Are you trying to put the items of 
> a list into a tree view widget? 
> 
> put the arrayData of widget "Tree View" into tDataA
> put item 1 of tList into tDataA [1]
> put item 2 of tList into tDataA [2]
> -- etc...
> set the arrayData of widget "Tree View" to tDataA
> 
> you can do this in a loop of course. 
> 
> Bob S
> 
> 
>> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode 
>>  wrote:
>> 
>> Thanks for responding Henry. 
>> 
>> I did try that property when I found no hover capability on the Tree widget. 
>> I set the widget to read-only and scripted...
>> on actionInspect pPath
>> 
>>  put the arrayData of widget "Tree" into aContent
>> 
>>  replace comma with "][" in pPath
>> 
>>  answer aContent & "[" & pPath & "]"
>> 
>> end actionInspect
>> 
>> …however, like the highlightedElement property, this still returns the 
>> element’s key rather than its content, despite my feeble attempts at 
>> post-processing.
>> 
>> Hence the second part of my question which reveals my lack of array syntax 
>> knowledge! :)
>> Best,
>> Keith  
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Show Tree widget row contents on hover?

2021-04-23 Thread Bob Sneidar via use-livecode
Is this what you are looking for? 

on mouseUp
   put the arrayData of widget "Tree View" into tDataA
   put tDataA [1] into tValue1
   put tDataA [2] into tValue2
   -- etc...
end mouseUp

I am unsure of what you are trying to do. Are you trying to put the items of a 
list into a tree view widget? 

put the arrayData of widget "Tree View" into tDataA
put item 1 of tList into tDataA [1]
put item 2 of tList into tDataA [2]
-- etc...
set the arrayData of widget "Tree View" to tDataA

you can do this in a loop of course. 

Bob S


> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode 
>  wrote:
> 
> Thanks for responding Henry. 
> 
> I did try that property when I found no hover capability on the Tree widget. 
> I set the widget to read-only and scripted...
> on actionInspect pPath
> 
>   put the arrayData of widget "Tree" into aContent
> 
>   replace comma with "][" in pPath
> 
>   answer aContent & "[" & pPath & "]"
> 
> end actionInspect
> 
> …however, like the highlightedElement property, this still returns the 
> element’s key rather than its content, despite my feeble attempts at 
> post-processing.
> 
> Hence the second part of my question which reveals my lack of array syntax 
> knowledge! :)
> Best,
> Keith  

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Failed to get the keychain item

2021-04-23 Thread Bob Sneidar via use-livecode
That's because Germans use bigger words. :-)

Bob S


> On Apr 23, 2021, at 04:35 , matthias rebbe via use-livecode 
>  wrote:
> 
> If you want to, you can call me by phone. It's easier to explain in German. 
> ;) 
> 
> Regards
> 
> Matthias 
> 
> Von meinem iPhone gesendet


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug? Specific binary character throws errors in scripts (even when commented out)

2021-04-21 Thread Bob Sneidar via use-livecode
Hi Roland. I had similar issues with non-printing characters when drag-dropping 
data from an OCR'd PDF. Apparently in order for Adobe to get the OCR's text to 
get close to the positioning of the "text" in a scanned image, they have to 
pull some shenanigans. 

I used a similar approach to yours, which I call cleanAscii() which simply 
iterates through every character in the dragdata ["text"] and copies only the 
printable characters to a new variable which it returns. 

Bob S


> On Apr 21, 2021, at 09:12 , R.H. via use-livecode 
>  wrote:
> 
> I am reading binary data from a .LNK file on Windows 10 using LC 9.6.1.
> 
> There is a character that looks visually like a dot ".", but it is not, and
> using the chartonum() function or placing it in a script (even when
> commented out) results in an error message. The whole script will not work
> and be interpreted.
> 
> I overcame the problem using this fragment in my parseSymbolicLink()
> function.
> 
> ...put URL("binfile:") into tContent1
> ...put binaryDecode("a*",tContent1,tContent2)
> ...repeat for each char tChar in tContent1
> .put chartonum(tChar) into n
> .if n > 31 then put tChar after tContent3
> ...end repeat
> 
> But nevertheless, it made me be curious.
> 
> Also, probably everyone has seen this, sometimes, especially in list
> fields, characters scramble up in one place and become unreadable, this
> happens with some characters it seems, but also just with usual ASCII in
> long strings. It happens from time to time and I see it at least for the
> last 10 years...
> 
> Are there such codepoints/characters that are known to stop the system from
> working in a script and using any function on them?
> 
> Roland
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Typing Text Into a Locked Field -- Win Surface

2021-04-21 Thread Bob Sneidar via use-livecode
Duplicate field? 

Bob S


> On Apr 20, 2021, at 19:09 , Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi,
> 
> I have a customer (in China) who is reporting that she is able to type text 
> into a locked field on a Windows Surface device.
> 
> Context: a LC 9.6.1 runtime application installed on a Windows Surface 
> computer (appears to be a laptop).
> 
> Field settings:
> lockText = true
> transversalOn = true
> autoHilite = true


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
IOC I guess I did misunderstand after all.

Bob S


On Apr 19, 2021, at 12:32 PM, Mark Wieder via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

On 4/19/21 12:11 PM, Bob Sneidar via use-livecode wrote:
Someone needs to update the dictionary then.
wholeMatches
Syntax
set the wholeMatches to {true | false}
Summary
Specifies whether the lineOffset, wordOffset, and itemOffset functions search 
only for entire lines, words, or items.

Here's what I meant:

setting the wholeMatches to true will match the input string verbatim, without 
regard to wildcards. So

lineOffset("local tFunction", ttext) will only match
local tFunction
and
lineOffset("local*tFunction", tText) will only match
local*tFunction
not
local tFunction
and not
local someThing, tFunction, somethingElse

--
Mark Wieder
ahsoftw...@gmail.com<mailto:ahsoftw...@gmail.com>

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
Someone needs to update the dictionary then. 

wholeMatches

Syntax
set the wholeMatches to {true | false}

Summary
Specifies whether the lineOffset, wordOffset, and itemOffset functions search 
only for entire lines, words, or items.

Bob S

> On Apr 19, 2021, at 11:49 , Mark Wieder via use-livecode 
>  wrote:
> 
> On 4/19/21 11:13 AM, Bob Sneidar via use-livecode wrote:
>> Why even embed the function?
>> put "local" & tString & functionName() into tSearchString
>> set wholeMatches to true
>> put lineOffset(tSearchString) into tLine
>> Or am I misunderstanding the problem (again)? :-)
> 
> Been there.
> the wholematches doesn't affect the offset functions.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
Why even embed the function? 

put "local" & tString & functionName() into tSearchString
set wholeMatches to true
put lineOffset(tSearchString) into tLine

Or am I misunderstanding the problem (again)? :-)

Bob S


> On Apr 19, 2021, at 11:04 , J. Landman Gay via use-livecode 
>  wrote:
> 
> On 4/19/21 11:29 AM, Mark Wieder via use-livecode wrote:
>> I'm sure I'm missing something simple here but...
>> I need to use a wildcard in the lineOffset function but I can't seem to find 
>> the correct invocation.
>> put lineoffset("local*", tScript) into tPos
>> always returns zero
>> put lineoffset(tFunctionName, tScript) into tPos
>> of course returns a line number, but possibly not the right one
>> put lineoffset("local"&, tScript) into tPos
>> gives me the correct line in some cases but fails for
>> local tSomeFunction,tOtherFunction
>> Can anyone give me the correct syntax for using a wildcard string as an 
>> argument to lineOffset? Thanks in advance - I've spent enough time on my own 
>> trying to figger this out.
> 
> I don't think lineoffset supports wildcards, but you could do it with 
> matchChunk.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
I think either matchText, or else wholematches used with some form of xOffset 
is what you want. 

Bob S


> On Apr 19, 2021, at 09:29 , Mark Wieder via use-livecode 
>  wrote:
> 
> I'm sure I'm missing something simple here but...
> 
> I need to use a wildcard in the lineOffset function but I can't seem to find 
> the correct invocation.
> 
> put lineoffset("local*", tScript) into tPos
> always returns zero
> 
> put lineoffset(tFunctionName, tScript) into tPos
> of course returns a line number, but possibly not the right one
> 
> put lineoffset("local"&, tScript) into tPos
> gives me the correct line in some cases but fails for
> local tSomeFunction,tOtherFunction
> 
> Can anyone give me the correct syntax for using a wildcard string as an 
> argument to lineOffset? Thanks in advance - I've spent enough time on my own 
> trying to figger this out.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android splash and icon

2021-04-19 Thread Bob Sneidar via use-livecode
They can still find you and know everything about you. Unless your tin foil had 
is in working order. ;-)

Bob S


> On Apr 16, 2021, at 03:23 , Klaus major-k via use-livecode 
>  wrote:
> 
> P.S.
> Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever,
> and I am currently making my first steps on mobile.
> 
> However the phone is just for testing with LC, I do not intend to actually 
> make phone calls with it. :-)


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On the dangers of automated refactoring

2021-04-14 Thread Bob Sneidar via use-livecode
For my part, I call a function and put the result into a variable. I try not to 
nest fucntions because I cannot easily tell what the result of each function 
is, making it harder to troubleshoot, and also to read my own code! For that 
reason my code is fairly verbose. 

Bob S


> On Apr 14, 2021, at 13:06 , Curry Kenworthy via use-livecode 
>  wrote:
> 
> Me:
> 
> >> The biggest code is the most repetitive and least modular!
> 
> Jacqueline:
> 
> > Not always, but often. I try to aim for the smallest code base,
> > so I think the contest should be to solve a complex problem
> > with the least amount of code.
> 
> Yes, but not brevity for its own sake! Rather for maintainability,
> efficiency, and to avoid the code-org messes that people try to
> refactor their way out of after practicing bad habits.
> 
> The optimal balance of brevity with performance, readability, and 
> maintainability is where we'll find the best code!
> 
> That'll be fairly tight code, but not always the very smallest.
> I do love concise code; I've seen some whopping humongous scripts! :)
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> LiveCode Training and Consulting
> http://livecodeconsulting.com/


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows 64 bit LC Still slow

2021-04-14 Thread Bob Sneidar via use-livecode
I think we can eliminate the BITNESS (stupid spell correct)

Bob S


> On Apr 14, 2021, at 12:54 , Bob Sneidar via use-livecode 
>  wrote:
> 
>  I think we can eliminate the witness as a possible cause


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows 64 bit LC Still slow

2021-04-14 Thread Bob Sneidar via use-livecode
32 bit programs running under a 64 bit OS have to run through an “emulator” 
(that is probably not the right term for it). I was simply saying that I think 
we can eliminate the witness as a possible cause for why Windows standalone and 
the IDE run so much slower than on MacOS or Linux. 

Bob S


> On Apr 14, 2021, at 12:15 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Just an update to a prior thread (which I cannot seem to find), LC for 
> Windows 64 bit version is just as slow at accessing databases (and I will 
> assume saving files) as the 32 bit version. I had previously brain farted and 
> tested with the 32 bit version, but as far as I can tell there is not 
> improvement in performance with 64 bit. 
> 
> Bob S
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Windows 64 bit LC Still slow

2021-04-14 Thread Bob Sneidar via use-livecode
Just an update to a prior thread (which I cannot seem to find), LC for Windows 
64 bit version is just as slow at accessing databases (and I will assume saving 
files) as the 32 bit version. I had previously brain farted and tested with the 
32 bit version, but as far as I can tell there is not improvement in 
performance with 64 bit. 

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Offtopic: Can anybody create a small DLL for me?

2021-04-13 Thread Bob Sneidar via use-livecode
Plus sudo will require authentication, yes? That would not be automated. The 
purpose of my function is to be able to detect the default adapter and compare 
it to a stored last known adapter to see if it has changed. If it has, I have 
my app re-authenticate.

Bob S


On Apr 13, 2021, at 9:06 PM, Bob Sneidar via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

How do you tell which is the default adapter?

Bob S


On Apr 13, 2021, at 8:00 PM, Mark Wieder via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

On linux it's very easy

sudo arp-scan -l

will give you a nice sorted list.

--
Mark Wieder
ahsoftw...@gmail.com<mailto:ahsoftw...@gmail.com>

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Offtopic: Can anybody create a small DLL for me?

2021-04-13 Thread Bob Sneidar via use-livecode
How do you tell which is the default adapter?

Bob S


> On Apr 13, 2021, at 8:00 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On linux it's very easy
> 
> sudo arp-scan -l
> 
> will give you a nice sorted list.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On the dangers of automated refactoring

2021-04-13 Thread Bob Sneidar via use-livecode
How do you find that? Github? 

Bob S


> On Apr 13, 2021, at 08:59 , Paul Dupuis via use-livecode 
>  wrote:
> 
> On 4/13/2021 11:52 AM, Bob Sneidar via use-livecode wrote:
>> We should have a contest: Who has the biggest code base. Mine's pretty big, 
>> but I doubt it's the biggest.:-)
>> 
> ~ 83,000 lines of Livecode script, not counting 3rd party library stacks 
> (Wordlib, Spreadlib, lclSpell, ChartMaker) and some custom externals.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On the dangers of automated refactoring

2021-04-13 Thread Bob Sneidar via use-livecode
We should have a contest: Who has the biggest code base. Mine's pretty big, but 
I doubt it's the biggest. :-)

Bob S


> On Apr 13, 2021, at 03:48 , David Bovill via use-livecode 
>  wrote:
> 
> I’d be interested to understand the nature of the gazillion stack project to 
> see how it compares to my gazillion stack project (and I presume others). We 
> could learn things by comparing approaches.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On the dangers of automated refactoring

2021-04-13 Thread Bob Sneidar via use-livecode
It's nothing short of a miracle that the shot didn't go INTO your foot. :-) 

Bob S


> On Apr 13, 2021, at 03:05 , Andre Garzia via use-livecode 
>  wrote:
> 
> Let me tell you folks a recent story in which I tried to do exactly that and 
> shot myself on the foot.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.6.2 RC-4

2021-04-13 Thread Bob Sneidar via use-livecode
Hi Mark. 

I downloaded LC 9.6.2 for Windows and installed it on a Server 2012 VM. It 
installed in the Program Files (x86) folder. I was under the impression that 
only happens when the app is a 32 bit app. 

Are you implying the standalones are 64 bit but the LC app is 32? If that were 
the case, then no benchmarks done in the IDE would be valid. But it's more 
likely I am misinformed. 

Bob S


> On Apr 13, 2021, at 08:19 , Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2021-04-13 16:15, Mark Wieder via use-livecode wrote:
>> Do the release notes need updating?
> 
> Hah! Yes - we've had a 64-bit windows build (separate installer) available 
> since 9.5.
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Offtopic: Can anybody create a small DLL for me?

2021-04-13 Thread Bob Sneidar via use-livecode
On Windows it's pretty easy. On MacOS it's a little trickier. Here's a function 
I wrote to get the default connection, which contains methods for getting the 
network adapters for Windows and MacOS. Enjoy:

FUNCTION getDefaultNetwork pMode
   -- leave pMode empty for just IP and MAC info. Pass "Detail" to get more info
   IF the platform contains "WIN" THEN
  set hideconsolewindows to true
  put "netsh interface ip show config" into tShellCommand
  
  TRY
 put shell(tShellCommand) into tDefaultAdapter
  CATCH tError
 return tError
  END TRY
  
  -- if pMode is detail just return these results
  IF pMode is "Detail" THEN return tDefaultAdapter
  
  -- get the default adapter and Gateway IP addresses
  put lineoffset("IP Address:", tDefaultAdapter) into tIPAddressLine
  put word -1 of line tIPAddressLine of tDefaultAdapter into tLocalIPAddress
  put lineoffset("Default Gateway:", tDefaultAdapter)  into tGWAddressLine
  put word -1 of line tGWAddressLine of tDefaultAdapter into tGWIPAddress
  
  -- get the default adapter and gateway MAC addresses
  put "ipconfig /all" into tShellCommand
  
  TRY
 put shell(tShellCommand) into tConfigData
  CATCH tError
 return tError
  END TRY
  
  put lineoffset(tLocalIPAddress, tConfigData) -3 into tLocalMACLine
  put word -1 of line tLocalMACLine of tConfigData into tLocalMACAddress
  put "arp -a" into tShellCommand
  
  TRY
 put shell(tShellCommand) into tArpData
  CATCH tError
 return tError
  END TRY
  
  put lineoffset(tGWIPAddress, tArpData) into tGWMACAddressLine
  put word 2 of line tGWMACAddressLine of tArpData into tGWMACAddress
  
  put tLocalIPAddress && tLocalMACAddress & cr & \
 tGWIPAddress && tGWMACAddress into tCurrentAdapterInfo
   ELSE
  -- first we need to get the default adapter
  put "route get default" into tShellCommand
  
  TRY
 put shell(tShellCommand) into tDefaultAdapter
  CATCH tError
 return tError
  END TRY
  put lineoffset("Interface: ", tDefaultAdapter) into tInterfaceLine
  
  IF tInterfaceLine = 0 THEN
 return "ERROR: No default interface found!"
  END IF
  
  -- now we need the detail of the interface
  put word 2 of line tInterfaceLine of tDefaultAdapter into 
tDefaultInterface
  put "ipconfig getpacket " & tDefaultInterface into tShellCommand
  
  TRY
 put shell(tShellCommand) into tInterfaceDetail
  CATCH tError
 return tError
  END TRY
  
  -- if we didn't specifically ask for the interface and router MAC 
addresses, return here
  IF pMode is "Detail" THEN return tInterfaceDetail
  
  -- now we get  the interface MAC address
  put lineoffset("chaddr", tInterfaceDetail) into tInterfaceMACLine
  put word -1 of line tInterfaceMACLine of tInterfaceDetail into 
tDefaultMACAddress
  
  -- and the IP address
  put lineoffset("yiaddr", tInterfaceDetail) into tInterfaceIPLine
  put word -1 of line tInterfaceIPLine of tInterfaceDetail into 
tDefaultIPAddress
  
  -- next we get the router IP address
  put lineoffset("router (ip_mult): ", tInterfaceDetail) into tRouterLine
  put word 3 of line tRouterLine of tInterfaceDetail into tRouterIPAddress
  put char 2 to -2 of tRouterIPAddress into tRouterIPAddress
  
  -- next we get the MAC address of the router interface
  put "arp " & tRouterIPAddress into tShellCommand
  
  TRY
 put shell(tShellCommand) into tArpReply
  CATCH tError
 return tError
  END TRY
  
  put word 4 of tArpReply into tRouterMACAddress
  
  -- finally we return the MAC addresses of the default interface and the 
router interface
  put tDefaultIPAddress && tDefaultMACAddress & cr & \
 tRouterIPAddress && tRouterMACAddress into tCurrentAdapterInfo
   END IF
   
   return tCurrentAdapterInfo
END getDefaultNetwork

Bob S

> On Apr 13, 2021, at 05:27 , Tiemo via use-livecode 
>  wrote:
> 
> Thanks Matthias and Andre for pointing out for these options
> 
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode  Im Auftrag von 
> Andre Garzia via use-livecode
> Gesendet: Dienstag, 13. April 2021 11:38
> An: How to use LiveCode 
> Cc: Andre Garzia 
> Betreff: Re: Offtopic: Can anybody create a small DLL for me?
> 
> Tiemo,
> 
> Maybe it is possible to parse the result of
> 
> shell(“ipconfig /all”)
> 
> To get the same information. I’m not sure which information you’re collecting 
> but I just run that on my windows and I could see every interface and the 
> info about them.
> 
> Best
> A

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:

Re: Intermittent typing delay in script editor.

2021-04-13 Thread Bob Sneidar via use-livecode
Long scripts seems to be the recipe, at least for me. 

Bob S


> On Apr 13, 2021, at 03:11 , Andre Garzia via use-livecode 
>  wrote:
> 
> I see it on my two windows machine but never on the mac…. It is intermittent 
> and I’m yet to find a recipe, but it is real.
> 
>> On 8 Apr 2021, at 18:17, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> On 4/8/21 9:52 AM, thompsonmichael--- via use-livecode wrote:
>> 
>>> LC normally works lightning fast on this setup but over the last couple of
>>> years I would occasionally experience a sudden slow down in the script
>>> editor for no apparent reason. (Delays of seconds sometimes between typing
>>> and the type appearing on the screen) I would close everything and restart
>>> Livecode and all would be well again.
>> 
>> I see this on linux occasionally as well. It's erratic enough for me to 
>> suspect my own code, but I can never pin anything down. I'll keep an eye on 
>> my message box use. Thanks for the hint.
>> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Find Replace in Script Editor with cr

2021-04-10 Thread Bob Sneidar via use-livecode
+1

Sent from my iPhone

> On Apr 10, 2021, at 14:43, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Charles:
> 
> > Please do not ban anyone.
> 
> Somehow that struck me as a pure and beautiful sentiment!
> Short and simple. It grew on me during the list silence today.
> 
> We can be punitive, or else help each other as we imperfectly stumble.
> 
> I'd hate to see the entire list hurt for the sake of a careless word;
> and that is what would happen. Because weighing the pros and cons,
> we lose more than we gain as we dwindle in number and viewpoints/skills.
> 
> Here, please allow me to do the honors:
> 
> Sorry. Deepest apologies to one and all.
> And again sorry.
> 
> May those who are offended find healing and forgiveness.
> May love prevail in all our interactions here and elsewhere.
> 
> Hope we can move on. So many LC matters to discuss. Have a good weekend!
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> LiveCode Training and Consulting
> http://livecodeconsulting.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.6.2 RC-4

2021-04-09 Thread Bob Sneidar via use-livecode
Ya so LC for Windows is basically running in an emulator. 

Bob S


> On Apr 9, 2021, at 12:49 , JeeJeeStudio via use-livecode 
>  wrote:
> 
> Of course it's 32bits, even the builds are 32bits on windows except they are 
> packed in a 64bit container.
> 
> PLease correct me if I'm wrong
> 
> Op 8-4-2021 om 17:00 schreef Bob Sneidar via use-livecode:
>> To be fail, I do not think the problem is Livecode, I think it’s Windows, 
>> and I am not sure there is much LC can do to get around whatever it is 
>> causing these issues. It could be that LC is still a 32 bit app (it installs 
>> in the 32 bit app folder).
>> 
>> Bob S

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Find Replace in Script Editor with cr

2021-04-08 Thread Bob Sneidar via use-livecode
Thanks Jacqueline. I'll take that into consideration in future posts. 

Bob S


> On Apr 8, 2021, at 08:27 , J. Landman Gay via use-livecode 
>  wrote:
> 
> Guys, Sean is bipolar. He's told us so, and it isn't entirely under his 
> control. On the other hand, it isn't pleasant and it's disruptive.
> 
> Sean, the problem is, if the accusations and anger keep up, you may well be 
> banned from the list. I understand it's hard to control, but you can't 
> continue to berate people who've done you no harm and only mean the best. 
> From where we are, the accusations seem unreasonable. Your targets don't know 
> what they've done to make you angry.
> 
> BTW, I've never blocked anyone on any list and I read everything. But when 
> you get angry, I ignore it. I know what's going on but no response would help.
> 
> I've also hijacked your thread and could have answered privately but I 
> thought other listers might want to know why your recent posts are so 
> combative.
> 
> 
> 
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.6.2 RC-4

2021-04-08 Thread Bob Sneidar via use-livecode
To be fail, I do not think the problem is Livecode, I think it’s Windows, and I 
am not sure there is much LC can do to get around whatever it is causing these 
issues. It could be that LC is still a 32 bit app (it installs in the 32 bit 
app folder).

Bob S


On Apr 8, 2021, at 7:45 AM, Andre Garzia via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

LiveCode is wy less responsive on Windows than on a Mac.

The script editor hangs all the time, even when you turn off all the smart 
stuff. Removing it from defender and stuff helps but doesn’t solve the problem.

LC is quite neglected on Windows and Linux. I understand that mac is the money 
making machine, but the kind of hiccups I see can only be explained by no one 
at HQ using Windows, or they’d have noticed it by now.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Find Replace in Script Editor with cr

2021-04-08 Thread Bob Sneidar via use-livecode
Fine but I am on JB side on this one. I suggest everyone just create a mail 
rule that sends Sean’s posts to the trash. That is what I have done. Maybe at 
some point he will finally get that railing against people inevitably 
accomplishes the exact opposite of his intent, which I think is to get people 
to change the way they respond on the list. But somehow I do not think he WILL 
get it. In fact I get the sense that he just likes to rail against people. This 
isn’t the first time. 

Bob S


> On Apr 8, 2021, at 7:16 AM, Keith Martin via use-livecode 
>  wrote:
> 
> Mailing lists such as this aren’t perfect oracles and they’re not pure 
> technical reference sources either. Most importantly, they are not one-to-one 
> conversations; MANY more people will be reading a thread than may be actively 
> posting to it.
> 
> When a question is asked, people will respond with what they feel may be of 
> use. Sometimes it isn’t helpful, but often even those posts will help others 
> reading the thread to gain a better understanding of all sorts of areas 
> within the general topic.
> 
> I know I’ve learned a HUGE amount by reading threads on topics that 
> free-wheel around with all kinds of creative and sometimes off-target (and 
> even off topic) responses. For me, that is a big part of the value of a 
> mailing list. I don’t read every post in this or a number of other mailing 
> lists, but I keep everything for possible later trawling with searches. (I 
> have roughly 142k unread emails in my inbox – I practice inbox infinity 
> rather than inbox zero! But it works well for me.)
> 
> This is how mailing lists naturally work. If that’s not suitable, the forum 
> allows for a somewhat more focused approach to questions and answers. What’s 
> not so suitable or appropriate is personal abuse being thrown around. I don’t 
> know how many people are subscribed to this list, but it will not be a small 
> number. That’s a lot of inboxes. Frankly, anyone should be embarrassed to be 
> ’shouting’ at someone in such a large and semi-public environment.
> 
> k out.
> 
> ---
> Keith Martin
> Mobile: +44 (0)7909 541365
> 360 media production, consultancy and training: PanoramaPhotographer.com 
> 
> Exif Fixer 360 utility: ExifFixer.com 
> About me: thatkeith.com 
> ---
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Find Replace in Script Editor with cr

2021-04-07 Thread Bob Sneidar via use-livecode
I vote to ban. 

Bob S


> On Apr 7, 2021, at 15:59 , Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> Thanks Jacque,
> 
> That's all I needed to hear. As long as it is an absolute, definitive,
> knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course
> prefer it if there were a way, but hey ho!
> 
> I make no apology for 'insulting' 'people' if they cannot read instructions
> or get simple explanations. I had literally JUST said NOT to offer the
> likes of workaround buttons, plugins, etc. If they are so thick and
> demonstrate it by their (unneeded, unnecessary) responses then I WILL out
> them. I've seriously had enough of just 'putting-up' with this kind of
> behaviour anywhere and have vowed to continue in this 'spirit' whenever I
> am met with stupidity and ignorance. Here or anywhere. It is passive abuse
> and should be more intolerable than my provoked retaliations.
> 
> I thought you, Jacque, had already blacklisted me and said you would block
> my messages because of one of my previous provoked 'incidents', so I am
> surprised I got a response from you at all (although you mostly are one of
> those I can get the most sense from).
> 
> I truly value those who value me and who can respect my needs. Those who
> trample and disrespect I owe nothing to and do not care if they choose to
> block me. No real loss to me as they are clearly unable to offer me
> anything anyway other than try to pain me with threats of something like:
> 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm so
> stabbed to the heart by the pettiness.
> 
> All the best to the best of you all. The rest can rest in the best place of
> all - somewhere else ;)
> 
> Sean


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.6.2 RC-4

2021-04-07 Thread Bob Sneidar via use-livecode
I just DL LC 9.6.2 RC4 on a Windows VM running Server 2012R2. Saving is much 
faster, although not quite up to speed with the Mac OS. Querying a database 
however seems to be quite slow. 

When running a tick counter on my MacOS I get this:
sites: 7
devices: 4
accessories: 6
service: 7
service: 6
devices: 6
contacts: 7

On Windows I get this:
sites: 48
devices: 48
accessories: 47
service: 48
service: 48
devices: 47
contacts: 48

anywhere from roughly 6 to 10 times as long. 

The script editor in a large script is not very responsive. I get the typing 
delay as is described. 

Bob S



> On Apr 7, 2021, at 14:16 , Paul Dupuis via use-livecode 
>  wrote:
> 
> On 4/7/2021 3:57 PM, Lagi Pittas via use-livecode wrote:
>> Unresponsive to me is typing  10 characters and seeing  them appear one by
>> 1 after I  have finished typing , or waiting for 3 4 or more seconds
>> between each debugger step ..
> 
> I'm not saying you're not seeing an unacceptable slow down on your system, 
> but as another data point, I have a Windows 10, Dell laptop with a AMD Ryzen 
> 5 (equivalent of Intel i5) with 16GB and HDD (not SDD) and I don't see any 
> slow downs like this in LC9.6.2rc 1,2,3 or 4. When I am developing, I am 
> generally only running a email client, browser, text editor, and LiveCode. 
> Windows IDE responsiveness seems about the same as my 16gb MacBook Pro, maybe 
> a hair faster, but then again I use the Windows laptop a little more often 
> than the MacBook so its hard to say.
> 
> I do experience occasions where WIndows 10 slows down - badly - typing 10 
> characters and waiting 5-10 seconds before any of them appear. Some of these 
> occasions I have correlated with downloads of Windows updates. Other I can't 
> explain.
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help! I'm stuck

2021-04-07 Thread Bob Sneidar via use-livecode
+1

> On Apr 7, 2021, at 11:27 , J. Landman Gay via use-livecode 
>  wrote:
> 
> On 4/7/21 12:03 PM, Curry Kenworthy via use-livecode wrote:
>> The problems introduced were far more numerous than those "fixed."
> 
> A good compromise would be providing a checkbox in standalone settings where 
> we can decide whether we want to preserve local variables or not. If we don't 
> care, the SB should go ahead and lock messages. The default setting should be 
> to lock messages as it always has.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Find Replace in Script Editor with cr

2021-04-05 Thread Bob Sneidar via use-livecode
Probably want to use regex then. 

Bob S


> On Apr 5, 2021, at 08:42 , Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> No. I mean using the find/replace tool panel of the script editor to insert
> line feed characters to create a new line.
> 
> For instance, suppose I have multiple commands on one line separated by ;
> and I want to search for semicolon and replace with semicolon followed by
> return character to drop the remaining script onto a new line. That kind of
> thing. It’s just easier than taking the whole script and pasting into
> another text editor to do the same operation. With 17,000 scripts to go
> through, it’s a bit tedious doing it by copy paste fix copy paste all the
> time.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Behaviors and scripts and a new handler structure...

2021-04-01 Thread Bob Sneidar via use-livecode
I have already implemented this with the help of others, for Datagrids. I think 
it works already for other things. 

Bob S


> On Apr 1, 2021, at 12:51 , Paul Dupuis via use-livecode 
>  wrote:
> 
> I have increasingly been using behaviors in my applications where it makes 
> sense to assign a script to multiple objects or to override the actions of 
> existing script handlers by assign a behavior with different version of those 
> handlers.
> 
> The one thing I dislike about behaviors is all the objects I need to create 
> (a button for this behavior another button for that behavior script and so 
> on).
> 
> I'd love to see a new LCS structure like the following:
> 
> behavior 
> 
> 
> 
> end 
> 
> that you can just have in a script. Even multiple behaviors in the same 
> script perhaps each with their own 'mouseUp' handlers and then you can set 
> the behavior of an object to a behavior name and done. Obviously, any 
> messages (i.e mouseDown, mouseUp, etc. etc.) in the behavior block should 
> never received a mouseDown, mouseUp, etc. message unless sent to the object 
> tat have the behavior assigned to it.
> 
> I think it would make code maintenance potentially much easier. I don't have 
> any idea how much of a engine change such a addition to the language would 
> represent.
> 
> Anyone else think this is a good idea?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Star score graphic generator achievable with inks... or...?

2021-04-01 Thread Bob Sneidar via use-livecode
Actually I think you would have to set the width of the top group, then set the 
left of the top group to the left of the bottom group. Simply changing the 
right will move the group I think. Just going off memory.

Bob S


On Apr 1, 2021, at 9:59 AM, Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>> wrote:

I think what I would do is have 2 locked groups of stars overlaying each other. 
The back one the stars would be gray, and to top one whatever color you want. 
To register a value simply change the right of the top group to any value you 
want, to obscure the gray stars underneath.

Bob S


On Apr 1, 2021, at 9:49 AM, David V Glasgow via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi folks,

I am thinking about an app to create a 'star score' graphic for any given 
score/maximum value.

I don’t want it to be just integers up to the number of stars, but for one for 
the stars (if mean score is neither zero or the maximum) to be part golden and 
part grey.

I initially thought this would be straightforward but I am now scratching my 
head.

I was wondering whether there is an ink combination of two graphics (star and 
‘screen’) which would allow the covered part of the star to appear grey but the 
card bg  behind the screen to be unaffected.

Please assume I really don’t understand inks at all.  If that isn’t going to 
work, any other suggestions?


Best Wishes,
David G


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Star score graphic generator achievable with inks... or...?

2021-04-01 Thread Bob Sneidar via use-livecode
I think what I would do is have 2 locked groups of stars overlaying each other. 
The back one the stars would be gray, and to top one whatever color you want. 
To register a value simply change the right of the top group to any value you 
want, to obscure the gray stars underneath.

Bob S


On Apr 1, 2021, at 9:49 AM, David V Glasgow via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi folks,

I am thinking about an app to create a 'star score' graphic for any given 
score/maximum value.

I don’t want it to be just integers up to the number of stars, but for one for 
the stars (if mean score is neither zero or the maximum) to be part golden and 
part grey.

I initially thought this would be straightforward but I am now scratching my 
head.

I was wondering whether there is an ink combination of two graphics (star and 
‘screen’) which would allow the covered part of the star to appear grey but the 
card bg  behind the screen to be unaffected.

Please assume I really don’t understand inks at all.  If that isn’t going to 
work, any other suggestions?


Best Wishes,
David G

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   3   4   5   6   7   8   9   10   >