Re: the effective width of a stack?

2022-08-17 Thread Bob Sneidar via use-livecode
The effective keyword can be used with the following inherited properties : • backgroundColor property • backgroundPattern property • backgroundPixel property • bottomColor property • bottomPattern property • bottomPixel property •

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-16 Thread Bob Sneidar via use-livecode
Bug 23884<https://quality.livecode.com/show_bug.cgi?id=23884> Bob S On Aug 16, 2022, at 08:08 , Bob Sneidar mailto:bobsnei...@iotecdigital.com>> wrote: Thanks Craig for confirming, I will put in an enhancement request FWIW. Bob S On Aug 16, 2022, at 05:55 , Craig Newman via

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-16 Thread Bob Sneidar via use-livecode
Thanks Craig for confirming, I will put in an enhancement request FWIW. Bob S > On Aug 16, 2022, at 05:55 , Craig Newman via use-livecode > wrote: > > Bob. > > You can always roll your own, > > Craig ___ use-livecode mailing list

Re: Sorting [was: Polygrid sorting]

2022-08-15 Thread Bob Sneidar via use-livecode
Datagrids have this feature, so yes, I would expect there to be some way to specify what kind of sort you want to do. But it would have to be on a per column basis. But if you are sorting the text yourself, you can use the syntax: sort lines of tText by item n of each. I don't think any

Re: Polygrid sorting (problems)

2022-08-15 Thread Bob Sneidar via use-livecode
I think they are trying to be consistent with datagrid terminology, perhaps thinking that a tabular data object has become a new class of objects. Bob S > On Aug 15, 2022, at 16:22 , Alex Tweedly via use-livecode > wrote: > > > On 15/08/2022 20:34, Paul Dupuis via use-livecode wrote: >>

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Bob Sneidar via use-livecode
I should also mention that menuPick IS getting triggered, but if I use spacebar or return to select, the parameter for which item got picked is empty. If I click then the parameter is NOT empty it's the item I clicked. Bob S > On Aug 15, 2022, at 15:03 , Bob Sneidar via use-livec

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Bob Sneidar via use-livecode
clicking Enter or Return executes the menuPick handler. > > Craig > >> On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode >> wrote: >> >> Hi all. Very odd, I thought this worked. >> >> I am programmatically popping up a menu, then I want to

Shouldn't space or enter in a menu select the hilited item?

2022-08-12 Thread Bob Sneidar via use-livecode
Hi all. Very odd, I thought this worked. I am programmatically popping up a menu, then I want to be able to jse the arrow keys to traverse the selections available. If I click any of the choices, the menuPick handler gets the choice as the first parameter. If however I use the spacebar or the

Re: mobileControl placeholderText?

2022-08-11 Thread Bob Sneidar via use-livecode
I see a similar thing when I have a pulldown menu without a label. It will display the menu button name by default. What I will do then is set the label to some prompt or else a space. It's pretty annoying to have to do that though. Bob S > On Aug 11, 2022, at 16:27 , Dan Friedman via

Re: Email via IMAP with HTML body from a template

2022-08-11 Thread Bob Sneidar via use-livecode
I have to say, I've learned more about programming just from being a member of this list, than any book on the suject. Admittedly, I've read very few, as is manifestly evident when going back and re-reading my code. :-) Bob S > On Aug 10, 2022, at 23:23 , Charles Warwick via use-livecode >

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Bob Sneidar via use-livecode
It seems to me, someone who has done zero mobile development, that this function has no meaning on an android, and should therefore return empty to avoid unanticipated runtime errors. There should be however a function to get the screen rects of an android. Does the effective working

Re: Windows standalone settings

2022-08-10 Thread Bob Sneidar via use-livecode
I do only because I have a special case where I grabbled a 32 bit windows PC to serve mySQL and Spiceworks, and to host my SQL Socket Agent. Bob S > On Aug 10, 2022, at 13:14 , J. Landman Gay via use-livecode > wrote: > > Does anyone still build for Windows x86 or is x86-64 sufficient now?

Re: Datagrid internal error

2022-08-10 Thread Bob Sneidar via use-livecode
Well the question came up if there was some limit on the number of records, and controlling the population of the datagrid would solve that. As far as the number of columns, I suspect there may be a limit on the number of *displayed* columns, and probably an issue with what characters are

Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Bob Sneidar via use-livecode
Wait, there is a more effectiver working screenrect than the effective one?? ;-P Bob S > On Aug 10, 2022, at 08:44 , Klaus major-k via use-livecode > wrote: > > ah, yes, "the effectiver working screenrect"! 8-) ___ use-livecode mailing list

Re: Datagrid internal error

2022-08-10 Thread Bob Sneidar via use-livecode
, 2022, at 06:51 , Craig Newman via use-livecode > wrote: > > This seems like a fragment of a longer thread, but the “dgText” and the > “dgData” are the two methods I use to extract, process and reload the content > of a data grid. > > Craig > >> On Aug 9, 2022

Re: Datagrid internal error

2022-08-09 Thread Bob Sneidar via use-livecode
I believe there is a property you set, after which you programmatically control the population of the datagrid. I am in a hurry so I can't look it up right now, but it is in the datagrid API in livecode lessons. Bob S > On Aug 9, 2022, at 05:09 , Paul Dupuis via use-livecode > wrote: > >

Re: Datagrid internal error

2022-08-08 Thread Bob Sneidar via use-livecode
Nope I take that back it's lines. I remember now wondering why that was. Bob S > On Aug 8, 2022, at 16:53 , Bob Sneidar wrote: > > I believe dgProp ["columns"] is a comma delimited list. > > Bob S > > >> On Aug 8, 2022, at 09:26 , Pa

Re: Datagrid internal error

2022-08-08 Thread Bob Sneidar via use-livecode
I believe dgProp ["columns"] is a comma delimited list. Bob S > On Aug 8, 2022, at 09:26 , Paul Dupuis via use-livecode > wrote: > > A customer encountered the following execution error (below) in our app > (built on Livecode 9.6.7, MacOS 12.5). This error is occurring in the scrips > for

Code Signing Certificates: Where to put?

2022-08-08 Thread Bob Sneidar via use-livecode
I went through the process of creating the 2 certs needed to sign, notarize and staple an app bundle. I imported the certs into my Keychain in System (login didn't seem like the place to put it) and now MrSign'n'Notarize Helper V3 is generating an error which seems to indicate it cannot find

Re: Is there a way to create a generic setprop handler?

2022-08-03 Thread Bob Sneidar via use-livecode
If I understand you then no. The only thing I would suggest is to use dispatch to trigger the "general handler" in all of your virtual properties (custom property is not the right phrase when referring to getProp/setProp). Bob S > On Aug 3, 2022, at 11:13 , David Epstein via use-livecode >

Re: Dispatch

2022-08-03 Thread Bob Sneidar via use-livecode
One correction. If a value is returned by the handler that was called, the result will be that value. Bob S > On Aug 3, 2022, at 08:53 , Mark Wieder via use-livecode > wrote: > > One, if I'm calling a handler in a different object that is outside the > normal message path then I'll

Re: Is Livecode (the company) closed for holiday?

2022-08-03 Thread Bob Sneidar via use-livecode
All my prayers. Bob S > On Aug 3, 2022, at 08:33 , Heather Laine via use-livecode > wrote: > > *Monday was a bank holiday. I see that today is Wednesday so my comment that > yesterday was a bank holiday was erroneous. It was Tuesday. As previously > mentioned, I am working around some

Re: Dispatch

2022-08-03 Thread Bob Sneidar via use-livecode
That should read, "Dispatch cannot use 'in time'" > On Aug 3, 2022, at 08:23 , Bob Sneidar via use-livecode > wrote: > > Dispatch cannot use send in time ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Dispatch

2022-08-03 Thread Bob Sneidar via use-livecode
Send allows you to send in time. However the command or function must exist or you will throw an error. Dispatch cannot use send in time, but if a handler does not exist in the message path of the object you dispatch to, no error will be thrown. This can come in handy. Let's say you have

Re: wait 0 with messages (and the defaultStack)

2022-08-01 Thread Bob Sneidar via use-livecode
As my application(s) became more complex, I also ran into topstack and curentcard issues. As a result, I am in the habit now of either using "of me" appended to every command of in a card or stack script, or else sending the long id of an object to a command or function that is not in the

Re: wait 0 with messages (and the defaultStack)

2022-08-01 Thread Bob Sneidar via use-livecode
It's my understanding that wait allows idle messages from the engine to be sent. When that happens, any send in time messages are processed. Wait with messages allows any other messages including engine messages to be processed. For instance, I have a FindBar object that uses wait 1 second

Re: wait 0 with messages

2022-08-01 Thread Bob Sneidar via use-livecode
This is correct. Bob S > On Jul 31, 2022, at 12:14 , J. Landman Gay via use-livecode > wrote: > > On 7/31/22 12:04 AM, Mark Wieder via use-livecode wrote: >> I don't think "wait 0" by itself does anything useful. Make a stack with two >> buttons. Running the script in the first button will

Re: sqlYoga queries

2022-07-26 Thread Bob Sneidar via use-livecode
Thanks Trevor. I'll give it a go. Bob S > On Jul 26, 2022, at 08:47 , Trevor DeVore via use-livecode > wrote: > > On Tue, Jul 26, 2022 at 10:08 AM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> sqlYoga can define table objects and

sqlYoga queries

2022-07-26 Thread Bob Sneidar via use-livecode
Hi. This is directed at Trevor Devore, although if anyone else knows they can chime in. sqlYoga can define table objects and relations in a database object. Heretofore I have not availed myself of this, being content to only work with query objects and record objects. Now as I am trying to

Re: Debugging libraries

2022-07-19 Thread Bob Sneidar via use-livecode
, but apparently not. It's a function so the code never got around to executing. DOH! Bob S > On Jul 19, 2022, at 10:45 , Mark Wieder via use-livecode > wrote: > > On 7/19/22 09:00, Bob Sneidar via use-livecode wrote: >> Hi all. >> There is a global variable, I though

Debugging libraries

2022-07-19 Thread Bob Sneidar via use-livecode
Hi all. There is a global variable, I thought it was gRevDevelopment, where you set it to true if you need to debug a script which begins with "lib". I cannot think what that global is! Bob S ___ use-livecode mailing list

Re: remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Monte, I'll do that in the morning. They are kicking me out of the building. :-| Bob S > On Jul 13, 2022, at 16:07 , Monte Goulding via use-livecode > wrote: > > Hi Bob > > Could you create a bug report about this? The remote debugger obviously > shouldn’t be throwing bugs itself. It

Re: remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Returns "Professional" Bob S > On Jul 13, 2022, at 16:20 , matthias rebbe via use-livecode > wrote: > >> Am 14.07.2022 um 01:02 schrieb Bob Sneidar via use-livecode >> : >> >> Yup. Don't we all have to be on that license if we are running 9.6

Re: remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Yup. Don't we all have to be on that license if we are running 9.6.8? But I found the problem, just not how to prevent remoteDebugger from throwing unknown errors, or how to figure out what the error is. I basically had to step through my code until I found the culprit. Thanks though. I am

remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Whenever I open my Forms Generator project, I get a dialog pop up saying an error occured in the stack com.livecode.library.remotedebugger, and that there is no more information because the stack is password protected. It does not seem to affect to workings of my project though. Other stacks

Re: What is the best way to trigger an action at a certain time?

2022-07-12 Thread Bob Sneidar via use-livecode
Hmmm. Ok, but it seems having the LC app running invisibly all the time, listening for a command, something the cron service could do through the terminal easily enough, you could make it much more efficient. Just methods and madness I suppose. Bob S > On Jul 12, 2022, at 13:15 , Ben

Re: What is the best way to trigger an action at a certain time?

2022-07-12 Thread Bob Sneidar via use-livecode
It seems to me that if you have an open socket to listen for commands, you could have the chron or windows scheduler send those commands to your LC app. Ben, some syntax would be helpful. Bob S > On Jul 12, 2022, at 07:48 , Ben Rubinstein via use-livecode > wrote: > > Hi Tim, > > On

Re: macOS Ventura (13.x.x)...

2022-07-12 Thread Bob Sneidar via use-livecode
Ah. I stand corrected. Of course, nothing in nature is linear. And I still need to figure out how a stomache would have done us any good withour a circulatory system to get the food to the cells, or lungs to get oxygen to everything for that matter. It seems if you think about it that no

Re: macOS Ventura (13.x.x)...

2022-07-11 Thread Bob Sneidar via use-livecode
Like how did our stomaches evolve without a circulatory system, and without a circulatory system, how did we develop stomaches? Bob S > On Jul 10, 2022, at 23:53 , Richmond Mathewson via use-livecode > wrote: > > Running RevMedia 4 on Xubuntu 22.04 serves as a reminder of some of the >

Re: What is the best way to trigger an action at a certain time?

2022-07-11 Thread Bob Sneidar via use-livecode
Slight improvement: local lInterval constant cInterval = 300 on openStack put cInterval into lInterval checkTime end openStack on checkTime -- your code send checkTime to me in lInterval seconds end checkTime setProp interval, pInterval if pInterval is empty then ask

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
> On Jul 8, 2022, at 17:48 , Mark Wieder via use-livecode >> wrote: >> >> On 7/8/22 16:49, Bob Sneidar via use-livecode wrote: >>> Well I disabled encryption alltogether, sending and receiving an encoded >>> array instead. Upon trying to decode I

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
Okay apparently base64Encode/Decode is my friend. I have this working now without encryption. I will re-enable encryption and see if that works. Bob S > On Jul 8, 2022, at 19:14 , Bob Sneidar via use-livecode > wrote: > > It looks after the agent receives it generally like h

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
on the other end now, arrayDecode fails. I guess the question I *should* be asking is, how do I encode binary data to be sent over the wire so that it doesn't become corrupted? Bob S > On Jul 8, 2022, at 17:48 , Mark Wieder via use-livecode > wrote: > > On 7/8/22 16:49, Bob Sne

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
it works every time. Bob S > On Jul 8, 2022, at 16:35 , Mark Wieder via use-livecode > wrote: > > On 7/8/22 16:14, Bob Sneidar via use-livecode wrote: > >> My suspicion is that the hash contains a linefeed (sometimes). So the >> question I have is, w

Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
Hi all. I'm running into a curious thing. I am sending encrypted data over a socket connection. When I send the data, I am using blocking mode, where the commands look like this: if tCurrentConnectionA ["ssl"] is true then put slyEncrypt(tSocketData) into tSocketData

Re: Is LC encryption different for Mac than for Windows??

2022-07-06 Thread Bob Sneidar via use-livecode
Thanks. I still have to test outside the network. If I have issues I will definitely check the socketTimeoutInterval. Currently it is 1. I take it that is milliseconds. Bob S > On Jul 5, 2022, at 21:57 , Neville Smythe via use-livecode > wrote: > > Bob Sneider wrote >> So strange. I

Re: Is LC encryption different for Mac than for Windows??

2022-07-05 Thread Bob Sneidar via use-livecode
So strange. I built in some logging, removed the base64 stuff, and now it works! Timing problem of some sort? Who knows. Sent from my iPhone > On Jul 3, 2022, at 15:03, Bob Sneidar via use-livecode > wrote: > > Ill check later. > > Sent from my iPhone > >&g

Re: Images and arrays...

2022-07-05 Thread Bob Sneidar via use-livecode
Put the imageData? Sent from my iPhone > On Jul 5, 2022, at 18:40, Paul Dupuis via use-livecode > wrote: > > I am drawing a blank: > > If I have the following code: > > export snapshot from rect tRect of player "mediaConvert" of > stack "libHrAPI" to tImage as PNG >

Re: Is LC encryption different for Mac than for Windows??

2022-07-03 Thread Bob Sneidar via use-livecode
Ill check later. Sent from my iPhone > On Jul 2, 2022, at 17:20, Neville Smythe via use-livecode > wrote: > > Is socketTimeOut set high enough? > > > Neville > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
r the data before network >> transfer. But I have LC on both ends of the transfer, and you may not. But >> ultimately it shouldn't matter. >> >> Phil Davis >> >> >> On 7/1/22 6:05 PM, Bob Sneidar via use-livecode wrote: >>> Okay so I base64Encoded the encrypted

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
I do. The server agent was written in LC and I am running it in a community version. Just to eliminate the possibility that things are different between Community 9.5 and Pro 9.6.8, I am DL'ing the latest (which I am running on the Mac). I'll try with that. Basically I encrypt and decrypt

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
Okay so I base64Encoded the encrypted string before sending over the wire, and base64Decoded on the receiving end. Same thing coming back. I am still getting the error. It's not a problem with sending data over the wire. Bob S > On Jul 1, 2022, at 17:55 , Bob Sneidar via use-livec

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
That's supposed to be Binary Encoding > On Jul 1, 2022, at 17:08 , Bob Sneidar via use-livecode > wrote: > > Also when I was running it on my Mac, the client in the server we’re running > on the same Macintosh. On the windows machine however I’m going over the > wire.

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
Also when I was running it on my Mac, the client in the server we’re running on the same Macintosh. On the windows machine however I’m going over the wire. Should I buy Ineri encoded or something? Sent from my iPhone > On Jul 1, 2022, at 16:57, Bob Sneidar wrote: > > Hmmm... I th

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
data somehow. Bob S > On Jul 1, 2022, at 16:49 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > As I may have mentioned I wrote an SQL Server agent that uses sockets to > listen for data from a client. The client first arrayEncodes an array, then > e

Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
Hi all. As I may have mentioned I wrote an SQL Server agent that uses sockets to listen for data from a client. The client first arrayEncodes an array, then encrypts the result using an encryption library I wrote. Then it sends the data to the Server Agent. The Agent receives the encrypted

Re: nsScriptDatabase (and long id's)

2022-06-30 Thread Bob Sneidar via use-livecode
OIC this is for your library. I didn’t realize that your need was to access objects in projects you didn’t have control of.  Sent from my iPhone > On Jun 30, 2022, at 18:45, Neville Smythe via use-livecode > wrote: > > I have uploaded version 3 of nsScriptDatabase to Sample Stacks, and the

Re: sorting datagrids

2022-06-30 Thread Bob Sneidar via use-livecode
Or are you talking about sorting the DATA of a datagrid? put the dgText of group "myDataGrid" into tText set the itemDelimiter to tab repeat with i = 1 to the number of lines of tText put item i of tText into tLine sort items of tLine ascending put tLine into line i of tText end repeat

Re: sorting datagrids

2022-06-30 Thread Bob Sneidar via use-livecode
Sure there is! put the dgProp ["columns"] of group myDatagrid into tGridColumns sort tGridColumns ascending set the dgProp ["columns"] of group myDataGrid to tGridColumns I would store the original sort order first though so you can recover. Bob S > On Jun 30, 2022, at 15:59 , Hershel F via

Re: long id trap for the unwary

2022-06-29 Thread Bob Sneidar via use-livecode
So the *actual* long id reference to any object looks something like: field id 1388156 of group id 1388155 of group id 1388175 of card id 1002 of stack "/Users/bobsneidar/Documents/Livecode Projects/Forms Generator 8/Forms Generator 8.livecode" If you don't provide all of that as a reference,

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
You can find the definition of both send and dispatch in the dictionary. So an example of Dispatch being called from a card of a substack would be: put the long id of me into tParentCard dispatch extract to card "Main" of stack "Forms Generator" with tRecordA, tParentCard, tExclusions -- if

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
Send IF you need in time. Stupid spell correct. It cannot be me mistyping. Sent from my iPhone > On Jun 28, 2022, at 12:08, Bob Sneidar wrote: > > Send in you need in time. Dispatch if you are not sure the handler exists in > the target. Dispatch will not th

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
. > > I’m unclear as to how I would structure the command to call a function in a > card that’s not in the message path. > > send … ? > > Peter Bogdanoff > >> On Jun 28, 2022, at 8:34 AM, Bob Sneidar via use-livecode >> wrote: >> >> Your poin

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
Your point brings up something that was discussed before on this list. It's going to be cleaner in the long run to "compartmentalize" your handlers so that a handler is not trying access objects that are not in the message path, or belong to an object in the message path. A handler should not

Re: On API keys...

2022-06-24 Thread Bob Sneidar via use-livecode
Mr. (Or should I say Doctor) Waddingham! This is a really brilliant essay on the risk, benefits and rewards in multiple scenarios concerning the storage of keys. I’ve mentioned before that I came up with the idea of “poisoning” the encrypted data before the data was transmitted. If intercepted

Using card with the long id in a variable

2022-06-23 Thread Bob Sneidar via use-livecode
Hi all. I just ran across an interesting "bug". In the IDE I had erroneously used the keyword "card" with a reference to the long id of the card as in card pParentCard. Since the long id already contains the keyword card it resolved to card "card ID 12345 of stack x of stacks". The strange

Re: Stylistic question.

2022-06-23 Thread Bob Sneidar via use-livecode
OIC I didn't grok you were talking about standalone apps. Bob S > On Jun 23, 2022, at 10:25 , J. Landman Gay via use-livecode > wrote: > > Breakpoints work fine in the IDE. But script only stacks do not retain them > when remote debugging, or at least they didn't for me. Are you talking

Re: Stylistic question.

2022-06-23 Thread Bob Sneidar via use-livecode
Hi Jacqueline. I use script only stacks a LOT, and the red dot breakpoints are working for me. Try Clear All Breakpoints from the SE Debug menu (I think it will only clear breakpoints from open scripts though.) Also in the SE under the Breakpoints tab, you can uncheck all the existing

Re: Stylistic question.

2022-06-22 Thread Bob Sneidar via use-livecode
Well then Navigator is for you! If an object has a behavior and no script of it's own, it's color in the list is green. If it has a script but no behavior, it's color is blue. If it has both, it's purple. Simply double clicking an object opens it's behavior script if it has one, and it's native

Re: arrayencode

2022-06-22 Thread Bob Sneidar via use-livecode
Okay I looked up JSON and can see these are two different animals. JSON looks like an xml-ish sort of format or a bit like the PDF fdf format for data files. (In fact, now that I think about it Adobe may be using JSON as their format. Bob S > On Jun 22, 2022, at 09:13 , Richard Gaskin via

Re: arrayencode

2022-06-22 Thread Bob Sneidar via use-livecode
Richard I think I hear you say that JSON is an alternative to arrayEncode? What about storing to SQL blob and binary files? Will it suffice? I'd consider converting all my arrayEncoding to JSON if so. Bob S > On Jun 21, 2022, at 19:43 , Richard Gaskin via use-livecode > wrote: > > For

Re: Stylistic question.

2022-06-19 Thread Bob Sneidar via use-livecode
Well code shared commonly between multiple objects should generally be in an object shared by those objects. That can be the card, stack, behavior or front/back script. The script of a group as well. For example I have a behavior for all my datagrids. Each datagrid has a property called

Re: Referencing Livecode

2022-06-17 Thread Bob Sneidar via use-livecode
That’s absurd. Everyone knows it was a Sherland pony. Sent from my iPhone > On Jun 17, 2022, at 10:28, Richmond Mathewson via use-livecode > wrote: > > As I, or anyone else could write on Wikipedia about Hamlet being > Shakespeare's coded love notes to a camel he met in Oxford, I really

Re: Referencing Livecode

2022-06-17 Thread Bob Sneidar via use-livecode
I think no matter what you go to, inevitably you are looking for what other people have said in critiquing hamlet or anything else. We call some people experts because other people called experts certified them as such. It can’t be any other way. But I often wonder who the first expert in any

Re: Referencing Livecode

2022-06-17 Thread Bob Sneidar via use-livecode
I wonder why that is? While you may find inaccurate information on Wikipedia, the vastly overwhelming information there is absolutely accurate. But isn't that true of EVERY source? In my life experience I have found that settled science is very unsettled indeed. Salt causes high blood pressure.

Re: Challenge: converting python (or Javascript) code to Livecode

2022-06-15 Thread Bob Sneidar via use-livecode
For extra credit, try writing a handler in LC to convert the python/js code to LC script. Bob S > On Jun 15, 2022, at 02:46 , David Bovill via use-livecode > wrote: > > Thanks Craig - I dug around but no joy. I hate it when you loose code as I > had a function somewhere… The javascript

Re: char as word boundary

2022-06-13 Thread Bob Sneidar via use-livecode
"dirty hack" is my middle name! :-) Bob S > On Jun 13, 2022, at 09:13 , Mark Waddingham via use-livecode > wrote: > > This was primarily a very dirty hack (which was done before my time!) ___ use-livecode mailing list

Re: Best way to update a large DB ?

2022-06-13 Thread Bob Sneidar via use-livecode
If ID is a unique identifier, you should not need the limit. I agree with Mike, you shouldn't need to do anything fancy. A button and a loop should do it. If the data is critical, you may want to step through a few loops to verify, or backup the database first, always a good idea. Nothing worse

Re: Property sheets

2022-06-10 Thread Bob Sneidar via use-livecode
Hi Neville. A direct link, or where to go to get it would be helpful. Thanks. Bob S > On Jun 9, 2022, at 17:51 , Neville Smythe via use-livecode > wrote: > > I have uploaded version 2.2 of nsScriptDatabase which can display supported > properties of widgets, with their current and default

Re: Would anyone miss convertOctals?

2022-06-10 Thread Bob Sneidar via use-livecode
So it has nothing to do with eye surgery?? Dang. I thought I was going to get a prize or something. Bob S > On Jun 10, 2022, at 24:45 , Mark Waddingham via use-livecode > wrote: > > Given the responses so far, it looks to me like convertOctals is an > exceptionally rarely used feature

Re: Would anyone miss convertOctals?

2022-06-09 Thread Bob Sneidar via use-livecode
Does it have something to do with eye surgery? Bob S > On Jun 9, 2022, at 05:44 , Mark Waddingham via use-livecode > wrote: > > So I'm currently sitting here about to embark on fixing > (which is the final > thing to sort out before

Re: Case sensitivity in Livecode ??

2022-06-07 Thread Bob Sneidar via use-livecode
I thought we already had global constants?? I think they are called, "Literals." ;-) Bob S > On Jun 7, 2022, at 24:18 , Mark Waddingham via use-livecode > wrote: > > On 2022-06-01 19:54, Alex Tweedly via use-livecode wrote: >>> Also, you'll be able to do things like: >>> constant kPiBy2

Re: Limit on the number of parameters?

2022-06-06 Thread Bob Sneidar via use-livecode
> > > command tryThis >put the params -- the handler name and all 10 params are there > end tryThis > > > I often stuff lots of data items into an array and use the array as a param. > For me, that makes life easier. YMMV. > > Phil Davis > >

Limit on the number of parameters?

2022-06-06 Thread Bob Sneidar via use-livecode
Is the number of parameters passed to a custom handler limited to 4? I do not seem to be getting a 5th parameter to pass to a function I use. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: storing binary data in a "memory" database

2022-06-05 Thread Bob Sneidar via use-livecode
rom my iPhone > >> On Jun 3, 2022, at 6:56 PM, Bob Sneidar via use-livecode >> wrote: >> >> Hi Doc thanks for the response. I am using aes256 encryption so an ascii >> hash is not viable. If this were a file based sqLite database I could >> perhaps change t

Re: storing binary data in a "memory" database

2022-06-03 Thread Bob Sneidar via use-livecode
Hi Doc thanks for the response. I am using aes256 encryption so an ascii hash is not viable. If this were a file based sqLite database I could perhaps change the encoding. Maybe I can with a :memory: database too! Here's my code. I have posted this before, it's an incredibly useful handler. If

Re: storing binary data in a "memory" database

2022-06-03 Thread Bob Sneidar via use-livecode
Right now I am querying for the hash directly from the source database when I need it. Just curious why sqLite cannot handle storing an encrypted string. Bob S > On Jun 3, 2022, at 14:29 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I have set up a kind o

storing binary data in a "memory" database

2022-06-03 Thread Bob Sneidar via use-livecode
Hi all. I have set up a kind of database caching method where I take currently selected data in my display form and save it in a :memory: database. Everything works EXCEPT that the value for the encrypted hash is getting corrupted. It's not coming back the way it was stored. It looks like it

Re: MrSign'n'Notarize

2022-06-03 Thread Bob Sneidar via use-livecode
If I were Matthias, I would charge cash money for that. But then having LC release it in the distribution would kill the sales of it. Bob S > On Jun 3, 2022, at 10:01 , Richard Gaskin via use-livecode > wrote: > > Mark Smith wrote: > > > Hey Matthias, I just wanted to drop you a quick

Re: char as word boundary

2022-06-03 Thread Bob Sneidar via use-livecode
I get a compile error when using your syntax. If I insert the word "of" after "chars" I get 5 for version 9.6.8 as you would expect. Do you have the *actual* syntax that is causing you the problem? . Bob S > On Jun 3, 2022, at 06:56 , Jean-Jacques Wagner via use-livecode > wrote: > > Hi,

Re: Right click in field for menu

2022-06-02 Thread Bob Sneidar via use-livecode
More gems of LC wisdom from Klaus! Bob S > On Jun 2, 2022, at 03:07 , Klaus major-k via use-livecode > wrote: > > Hi Peter, > >> Am 01.06.2022 um 22:53 schrieb Peter Bogdanoff via use-livecode >> : >> >> Hi, I finding that after right-clicking in the field and then showing the >> button

Re: Right click in field for menu

2022-06-01 Thread Bob Sneidar via use-livecode
I didn't know mouse events were handled in an unlocked field! Nice to know. Curiously however, in that handler I substituted a put statement for the popup command using send "put " & quote & "this worked" & quote to me in 2 seconds In two seconds I get "worked" not "this worked" in the

Re: Case sensitivity in Livecode ??

2022-06-01 Thread Bob Sneidar via use-livecode
Not only that, but revOpenDatabase("sqlite", ":MEMORY:") will not work on Windows, but DOES on Mac. revOpenDatabase("sqlite", ":memory:") works on both platforms. Do you know why?? No you do not. No one knows, and will likely NEVER know. LOL! I suppose :memory: is a kind of system constant?!?

Re: Android,iOS stay in background?

2022-05-31 Thread Bob Sneidar via use-livecode
It's my understanding that iOS does not "load" apps like Android or other operating systems do. It simply "activates" apps already in "memory". The app may allocate more memory for itself of course, or access other services that are constantly running. Bob S > On May 30, 2022, at 23:53 ,

Re: Substacks

2022-05-28 Thread Bob Sneidar via use-livecode
Hide the mainstack, when opening the substack, then show the mainstack in the substack’s closestack handler. Sent from my iPhone > On May 28, 2022, at 12:41, General 2018 via use-livecode > wrote: > > Thanks for the tip but still no good. > > So button in “xyz” substack with close stack

Re: A test, move along

2022-05-27 Thread Bob Sneidar via use-livecode
Define, "all." Currently I have some code that is giving me fits... ;-) Bob S > On May 27, 2022, at 04:20 , Heather Laine via use-livecode > wrote: > > Just checking all is working as it should. > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >

Re: Maximum length of mySQL request ?

2022-05-24 Thread Bob Sneidar via use-livecode
There may be an environment variable you need to set to increase it. Because it's network based, it stands to reason that an unlimited query string can be exploited as a denial of service strategy. Bob S > On May 24, 2022, at 10:19 , doc hawk via use-livecode > wrote: > > When opening a

Re: Formatting code in word

2022-05-24 Thread Bob Sneidar via use-livecode
One word solution: Don't. (Actually two words it's a contraction. Word's grammar checker would probably have corrected that.) Bob S > On May 24, 2022, at 04:00 , Mark Smith via use-livecode > wrote: > > Hello list, > > Do you use anything to make code look more readable when inserted into

Re: Is it a bug?

2022-05-24 Thread Bob Sneidar via use-livecode
If you are seeing a different behavior then perhaps something in my code is doing it. I'll check the executionContexts to see. Bob S > On May 23, 2022, at 14:03 , Ralph DiMola via use-livecode > wrote: > > I also expect nothing is done if I click on anything and move the mouse > outside

Is it a bug?

2022-05-23 Thread Bob Sneidar via use-livecode
I found one thing I think is a bug, and I'd like to report it, but I want to see if anyone else thinks this may be the expected behavior: It seems to me that when clicking and holding the mouse button down on an pulldown menu, then releasing outside that menu so that no menu item is actually

<    1   2   3   4   5   6   7   8   9   10   >