Re: New user

2022-03-30 Thread Craig Newman via use-livecode
Yes, welcome. Please know that there are two principal venues for LiveCode discussion. The other one (my personal favorite) is at: https://forums.livecode.com > On Mar 30, 2022, at 9:54 AM, Paul Dupuis via use-livecode > wrote: > > On 3/30/2022 9:50 AM, Guillaume Hédieu via use-livecode

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
A way I have always used was developed back in the HC days. Assuming you have your list in the variable “yourList" sort lines of yourList by word 1 of each & word 2 of each & word 3 of each Nothing shows off the stable sort power of either HC or LC like that. Craig > On Mar 30, 2022, at

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
I hate that one cannot edit previous posts here like we can on the forum. I meant “tabs”. not “tase”. Craig > On Mar 30, 2022, at 4:15 PM, Craig Newman wrote: > > I am assuming here that there are spaces separating the chars in your list. > The use of “words” will also delimit if those are

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
Is this what you meant, and intended? Craig > On Mar 30, 2022, at 4:26 PM, Paul Dupuis via use-livecode > wrote: > > On 3/30/2022 4:13 PM, Craig Newman via use-livecode wrote: >> A way I have always used was developed back in the HC days. Assuming you >> have your list i

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
I am assuming here that there are spaces separating the chars in your list. The use of “words” will also delimit if those are tase instead of spaces. But the method is worth exploring… Craig > On Mar 30, 2022, at 3:39 PM, Paul Dupuis via use-livecode > wrote: > > A B C > A A B > A B A > A A

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
13 PM, Craig Newman via use-livecode wrote: >> A way I have always used was developed back in the HC days. Assuming you >> have your list in the variable “yourList" >> >> sort lines of yourList by word 1 of each & word 2 of each & word 3 of each >> >>

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
second precedence and so on. There is no limit to the number of terms permitted in the code. Craig > On Mar 30, 2022, at 4:39 PM, Craig Newman via use-livecode > wrote: > > Paul > > I just reread your earlier post. Did you mean concatenating as if each line > beca

Re: Confirm sort container order...

2022-03-30 Thread Craig Newman via use-livecode
this. Craig > On Mar 30, 2022, at 5:16 PM, Paul Dupuis via use-livecode > wrote: > > On 3/30/2022 4:39 PM, Craig Newman via use-livecode wrote: >> Paul >> >> I just reread your earlier post. Did you mean concatenating as if each line >> became a single long

Re: Tools & techniques for one-off consolidation of multiple 'similar' CSV files?

2022-04-04 Thread Craig Newman via use-livecode
Hi. I rarely deal with the csv monster, but every time I have had to it all boiled down to the fact that a comma is a terrible character to use as a delimiter of ANY kind. Ideally it would be possible to simply replace every comma with a tab. The returns remain untouched. If that works, you

Re: Confirm sort container order...

2022-04-05 Thread Craig Newman via use-livecode
Time to check the forum. Bernd has made a very significant contribution. https://forums.livecode.com/viewtopic.php?f=9=36893 > On Apr 5, 2022, at 12:43 AM, Dick Kriesel via use-livecode > wrote: > > >> On Mar 30, 2022, at 2:16 PM, Paul Dupuis via use-livecode >> wrote: >> >> sort lines of

Re: Confirm sort container order...

2022-04-05 Thread Craig Newman via use-livecode
"item i of each" or > "token i of each" or whatever, the multiple sort commands is the LC > recommended way to perform multi-level sort. > > > On 3/30/2022 4:16 PM, Craig Newman via use-livecode wrote: >> I hate that one cannot edit previous posts here li

Re: Flash Talks - 3 slots remaining

2022-04-05 Thread Craig Newman via use-livecode
Heather. I probably am one of the oddest LC users. Entirely for either my own use or for my company. Only once did I sell a system commercially. But I do use LC to control three very different machines in our shop. Would it be of any interest to anyone to see one of these in operation?

Re: Confirm sort container order...

2022-04-05 Thread Craig Newman via use-livecode
f words or items. whatever. Craig > On Apr 5, 2022, at 12:08 PM, Paul Dupuis via use-livecode > wrote: > > On 4/5/2022 10:58 AM, Craig Newman via use-livecode wrote: >> The discussion may seem academic to some, and perhaps pointless to others. >> But I like this sort o

Re: Counting Syllables

2022-03-21 Thread Craig Newman via use-livecode
? > > Rick > >> “miaou” is two syllables > >> On Mar 21, 2022, at 10:56 AM, Craig Newman via use-livecode >> wrote: >> >> I would think one would need a database that maps all words with the number >> of syllables in those words. I am sure som

Re: Counting Syllables

2022-03-22 Thread Craig Newman via use-livecode
If you have a database at all, it would cost nothing much in speed to just use the whole thing all the time. Put the database into an array, of the form: “cat 1” "chicken 2” “elephant 3” ‘miaou 1" … The hard part is finding that database. It would take quite a while to build and finalize your

Re: There is no TextEdit.app???

2022-03-22 Thread Craig Newman via use-livecode
Bob. There is no way that the uppercase/lowercase difference in a character in a literal can have that sort of effect. Are you saying you can duplicate this??? Craig > On Mar 22, 2022, at 7:01 AM, Andre Garzia via use-livecode > wrote: > > Damn, I took a long time formatting that message so

Re: LC 9.6.6 oddities when showing/hiding text

2022-01-28 Thread Craig Newman via use-livecode
Hi. Still annoyed at having to answer in the use-list as opposed to the Forum. I made a new stack with a button an a field. In the button script: on mouseUp hide fld 1 put "fld 1" into lFieldRef put “dissolve" into tEffect put "show "&" with visual effect " into tDo do tDo end mouseUp

Re: Flash Talks - 3 slots remaining

2022-04-05 Thread Craig Newman via use-livecode
r talk Craig. > > On Tue, Apr 5, 2022 at 4:37 PM Mark Wieder via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On 4/5/22 10:36, Craig Newman via use-livecode wrote: >> >>> >>> But I do use LC to control three very different machines

Re: Flash Talks - 3 slots remaining

2022-04-05 Thread Craig Newman via use-livecode
a flash talk on it. > > Sent from my iPhone > >> On 5 Apr 2022, at 18:38, Craig Newman via use-livecode >> wrote: >> >> Heather. >> >> I probably am one of the oddest LC users. Entirely for either my own use or >> for my company. Only once did

Re: Flash Talks - 3 slots remaining

2022-04-06 Thread Craig Newman via use-livecode
So is this a video that I make beforehand and upload somewhere, or is it usually meant to be a live show? Craig > On Apr 5, 2022, at 8:28 PM, Ralph DiMola via use-livecode > wrote: > > Me too. > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net

Re: Sorting by item ... of each and item ... of each

2023-09-05 Thread Craig Newman via use-livecode
I may be simply misunderstanding… Since HC days, one could concatenate sort criteria using the “&” character, and obtain multiple stable sorts in one go. In LC as well, since given, in a field 1: 231 312 123 213 321 132 and in a button somewhere: on mouseUp get fld 1 sort it numeric

Re: Sorting by item ... of each and item ... of each

2023-09-05 Thread Craig Newman via use-livecode
missing something in all this? Craig > On Sep 5, 2023, at 10:29 AM, Craig Newman via use-livecode > wrote: > > I may be simply misunderstanding… > > Since HC days, one could concatenate sort criteria using the “&” character, > and obtain multiple stable sorts in one

Re: Sorting by item ... of each and item ... of each

2023-09-06 Thread Craig Newman via use-livecode
Matthias. I do not have your original data. But try using “&” instead of “and”. Craig > On Sep 5, 2023, at 5:05 PM, Ralph DiMola via use-livecode > wrote: > > You can at least detect if the sorting function has failed using a global > variable. > > global s1 > > command test1 > local t1

Re: sort bug

2023-09-07 Thread Craig Newman via use-livecode
Bob, If you remove the “numeric” the result is “2,3,4,6,a”. To me this implies that ASCII values are used as the sortKey. But that begs the issue why, as in your post, with “numeric” included, the “a” appears first. What makes the “a” a lower "numeric" value than “2”? Craig > On Sep 7, 2023,

Re: Sort bug and also multilevel sorting

2023-09-07 Thread Craig Newman via use-livecode
Neville. My example was only to show that the sort command still maintains the ability to accept concatenated sort criteria. This allows a single line of code to do the work, and obviates the need for multiple sorts. In that sense it was a bad example to use character "places" in a string.

Re: Oddity in 'currentCard' function?

2023-10-25 Thread Craig Newman via use-livecode
Paul. The construction "answer this card of stack “X” does not work if you are not on stack “X”: answer the currentCard of stack “X” —works answer the name of this card of stack “X —works answer this card of stack “X”—Nope Craig > On Oct 25, 2023, at 8:57 AM, Paul Dupuis via

Re: Oddity in 'currentCard' function?

2023-10-24 Thread Craig Newman via use-livecode
Paul. Having a more complete description seems right to me. You are essentially saying that if you use the moniker “the currentCard” that LC should know what you are intending, the is, the current “card”, and not the current “something else”. It has to be one of those cases where, as Danny

Re: Oddity in 'currentCard' function?

2023-10-24 Thread Craig Newman via use-livecode
NitPicking within myself, but I have always isolated variables in “do” constructions: do "set the myProperty of" && tCardName && "to" && tValue Craig > On Oct 24, 2023, at 1:59 PM, Craig Newman wrote: > > Paul. > > Having a more complete description seems right to me. You are essentially >

Re: Filter with wildcards

2023-10-30 Thread Craig Newman via use-livecode
Have not played with a method of keeping it all in one line. But can you filter twice, storing the first result and then running it again? Craig > On Oct 30, 2023, at 1:17 PM, David Glasgow via use-livecode > wrote: > > Hi folks, > > I am doing the above and struggling with an oddity that I

Re: Merging PDF pages

2023-08-25 Thread Craig Newman via use-livecode
Hi. Sure. Try this in a button on card 1 of a new stack with, say, three cards: on mouseUp get the desktop folder open printing to pdf it & "/" & “yourNamehere" & ".pdf" repeat with x = 1 to 3 print card x end repeat close printing end mouseUp And I wonder if the new pdf widget has

Re: Merging PDF pages

2023-08-25 Thread Craig Newman via use-livecode
Richmond. Did I mention this was a bit clunky? Craig > On Aug 25, 2023, at 9:39 AM, Craig Newman via use-livecode > wrote: > > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read > them, and then output a single new PDF? If so, I

Re: Merging PDF pages

2023-08-25 Thread Craig Newman via use-livecode
. Craig > On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode > wrote: > > Hi. > > Sure. Try this in a button on card 1 of a new stack with, say, three cards: > > on mouseUp > > get the desktop folder > > open printing to pdf it & "/"

Re: optionKeyDown message broken

2022-04-21 Thread Craig Newman via use-livecode
Have not played with your handler, but why not just: on rawKeyDown tKey if the optionkey is down then answer numToChar(tkey) end rawKeyDown Craig > On Apr 21, 2022, at 11:55 AM, Paul Dupuis via use-livecode > wrote: > > on optionKeyDown pKeyName > if platform() = "MacOS" then > put

Single Window LC IDE?

2022-04-26 Thread Craig Newman via use-livecode
Saw this on Kevin's keynote. Some parts of having such a thing, as opposed to a sea of separate palettes, are attractive indeed. But one aspect would prevent me from EVER upgrading to v10, and that is if the SE also had to be incorporated into that single window. Anyone know if this is in

Re: Divide Large Data Blob?

2022-05-16 Thread Craig Newman via use-livecode
Hi. Can you get the number of lines of the whole blob, if lines are pertinent, divide that number by 3, and search from there? Another words, if you had 1000 lines, divide by 3 and search from line 333 to 666. Craig > On May 16, 2022, at 1:46 PM, Rick Harrison via use-livecode > wrote: > >

my keyUp message has disappeared

2022-06-21 Thread Craig Newman via use-livecode
This is summarized from a couple of threads in the forum: - The "keyUp"message has disappeared. This happened to me once before, several weeks ago, and trashing the prefs file fixed it. But now even that does not cut it. So a new stack in a new

Re: my keyUp message has disappeared

2022-06-21 Thread Craig Newman via use-livecode
I neglected to write the modified “keyUp” handler I am now using when I posted. it should read: > on keyUp x > answer x & random(99) > end keyUp in order to get that “x56” I mentioned. Craig > On Jun 21, 2022, at 2:16 PM, Craig Newman via use-livecode > wrote: >

Re: How to color a "cell"?

2022-06-23 Thread Craig Newman via use-livecode
Richard. I think this was discussed on the forum a while back. I do not believe you can do what you want without another control overlying the “rect” of the “cell”. Craig > On Jun 22, 2022, at 8:11 PM, Richard Gaskin via use-livecode > wrote: > > I need to set the backgroundColor of a

Re: long id trap for the unwary

2022-06-28 Thread Craig Newman via use-livecode
Klaus. You are correct; I missed that the “long iD” was used, and that expression includes the work “field”. LC can then use that as a valid reference. Craig > On Jun 28, 2022, at 5:38 PM, Bob Sneidar via use-livecode > wrote: > > You can find the definition of both send and dispatch in the

Re: long id trap for the unwary

2022-06-28 Thread Craig Newman via use-livecode
I just glanced at this. Down at the very beginning, I noticed something odd. One cannot do anything with “the text" of a variable; that would not throw an error, but would always be empty, no? Craig > On Jun 28, 2022, at 3:49 PM, Peter Bogdanoff via use-livecode > wrote: > > Hi Bob, > > I

Re: long id trap for the unwary

2022-06-29 Thread Craig Newman via use-livecode
Neville. I know this thread has been broken into parts, but what exactly is your question? I made two stacks, The first with a button on it, and this in its script: on mouseup put the long id of field 1 of card 1 of stack "untitled 3" into fieldID put the long ID of the owner of fieldID into

Re: Would anyone miss convertOctals?

2022-06-09 Thread Craig Newman via use-livecode
Mark. Gong the other way, is your task made much simpler by losing “converOctals”? I assume so, or the issue would never have come up. Are there other similar language elements that also are on the block? Craig > On Jun 9, 2022, at 1:03 PM, Ben Rubinstein via use-livecode > wrote: > > 1)

Re: Limit on the number of parameters?

2022-06-07 Thread Craig Newman via use-livecode
I have never had any issues with the number of parameters that can be passed to a custom handler. Nor any issue with “seeing” them all in the debugger. I would say that the largest number of params I ever sent was about 15. Craig > On Jun 6, 2022, at 4:08 PM, Bob Sneidar via use-livecode >

Re: use-livecode Digest, Vol 225, Issue 4

2022-06-07 Thread Craig Newman via use-livecode
Though it is true that “numToChar” and “charToNum” are deprecated, they still live and work the same as always. Old habits die hard, andI still use them. One day I will move on., but the original issue has not changed. Craig > On Jun 7, 2022, at 9:01 AM, Jean-Jacques Wagner via use-livecode

Re: Pointlist to Bezier?

2022-06-14 Thread Craig Newman via use-livecode
There is a similar thread on the forum: https://forums.livecode.com/viewtopic.php?f=8=34550 Craig > On Jun 14, 2022, at 8:54 AM, David Bovill via use-livecode > wrote: > > I found some well documented python code: > > •

Re: char as word boundary

2022-06-06 Thread Craig Newman via use-livecode
Apart from omitting the “of” in any of your posted lines of code, I am confused.. The number of chars of any string of concatenated “numToChar” functions will be the number of those functions, that is, 5, since each returns a single character. How did you get any of the other results? Craig

Re: Would anyone miss convertOctals?

2022-06-09 Thread Craig Newman via use-livecode
I have never used an octal. But it well might break legacy handlers of others, however simple it is to write a custom function to replicate. Craig > On Jun 9, 2022, at 10:37 AM, Paul Dupuis via use-livecode > wrote: > > Never use octal. pretty much any entries theses days are decimal or >

Re: Curved text possible?

2022-04-27 Thread Craig Newman via use-livecode
How large is this curved text? You could certainly create an entire alphabet with polyLines, and insert them as needed to replace a body of text. But if you need 12 point size, those graphics are going to be, er, difficult to do nicely. Craig > On Apr 27, 2022, at 11:12 AM, William de Smet

Re: Curved text possible?

2022-04-27 Thread Craig Newman via use-livecode
The polyLine character substitution will be a simple. Creation will be a bear, but only once. If you had “Hello World” and wanted to “curve” it, you would simply pull the appropriate curved chars, “H”,, “e’, “l, etc. and string them together. Uh oh, what about kerning? I hope this is a

Re: Pulldownmenu button bug on Windows

2022-04-29 Thread Craig Newman via use-livecode
Hi. I will say again that the format of the forum is so much easier to work with. I made a pulldown and two fields, with these two handlers in the button script: on menuPick pItemName put pItemname into fld 1 end menuPick on mouseleave put random(999) into fld 2 end mouseleave On my Mac

Re: Re Pulldownmenu button bug on Windows

2022-05-09 Thread Craig Newman via use-livecode
Richard. So glad to have you in this world. Craig > On May 7, 2022, at 5:35 PM, Bob Sneidar via use-livecode > wrote: > > Well put. I wonder what the real world effect of the order of messages is, > and whether or not it could be compensated for by send in time? > > Sent from my iPhone >

Re: Decrypting (and encrypting) Large files

2022-05-09 Thread Craig Newman via use-livecode
I believe that there is no upper limit to the size of a variable in LC. So I am with Mike here. What makes you nervous about dealing with a large dataset within LC itself? Craig > On May 9, 2022, at 8:49 AM, Mike Kerner via use-livecode > wrote: > > have you tried ti? i have not run into a

Re: Decrypting (and encrypting) Large files

2022-05-09 Thread Craig Newman via use-livecode
board supports. on 32 bit > builds the limit is whatever the os will allow 1 process to have, > but then u need memory to store the decrypted data too. > you can use a command line program to outsource that work and memory > management. > > On Mon, May 9, 2022 at 9:44 AM Crai

Re: Set behavior of standalone

2022-10-18 Thread Craig Newman via use-livecode
The script only stack behavior not only should be set before the standalone is built, it must not reside in the executable. Craig > On Oct 18, 2022, at 4:46 PM, Geoff Canyon via use-livecode > wrote: > > If you mean set the behavior *after* creating the standalone, that should > be possible,

Re: Weird performance issue

2022-09-23 Thread Craig Newman via use-livecode
Geoff. I get over 5 seconds for the “revNavigatior” So I modified your handler just a bit, to only a But “revNaviigator” does not appear on that list. So there must be a longer pathway for LC to find a stack that certainly must be in memory, but that does not appear in the “stacks” list?

Re: Weird performance issue

2022-09-23 Thread Craig Newman via use-livecode
Something weird happened to my post. I modified your handler to access only those stacks that appear when calling the function “the stacks”. In all those cases, the return time was only a few tenths of a second. But “revNaviigator” does not appear on that list. So there must be a longer

Re: Control or right click to show popup menu

2022-10-03 Thread Craig Newman via use-livecode
Hi. On a new card make a field and a pulldown menu button. Place a few lines of text in the field and lock it. In the field script: on mouseUp set the loc of btn 1 to the mouseloc click at the mouseLoc end mouseUp The menu opens at the line clicked on. This has been discussed extensively

Re: Dispatch

2022-08-03 Thread Craig Newman via use-livecode
Hi. “Send” and “Dispatch” do much the same thing, but they do differ in how they interact with the message patch. They also each include their own personal gadgetry that comes in handy in different scenarios. Read about both in the dictionary, and do some experimentation with both. Craig >

Re: Datagrid internal error

2022-08-10 Thread Craig Newman via use-livecode
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, at 11:09 AM, Bob Sneidar via use-livecode > wrote: > > I believe there is a property you set, after

Re: Datagrid internal error

2022-08-10 Thread Craig Newman via use-livecode
Paul. All I saw was this: "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. Which is why I mentioned that the bulk of the thread

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

2022-08-15 Thread Craig Newman via use-livecode
Hi. I am missing something. Make a popup menu button. Ina mouseUp handler in another button: on mouseUp click at the loc of btn 1 end mouseUp Once the menu is open, the up and down arrow keys navigate among the menuItems. Craig > On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode >

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

2022-08-15 Thread Craig Newman via use-livecode
Hi, I was not complete. Once the arrow keys have found the menuItem of interest, 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

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

2022-08-16 Thread Craig Newman via use-livecode
item, the hilited item is NOT selected, it retains it's previous >> label. >> >> Bob S >> >> >>> On Aug 15, 2022, at 11:03 , Craig Newman via use-livecode >>> wrote: >>> >>> Hi, I was not complete. Once the arrow keys have found the

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

2022-08-16 Thread Craig Newman via use-livecode
em then use the space bar or return to select the >> hilited item, the hilited item is NOT selected, it retains it's previous >> label. >> >> Bob S >> >> >>> On Aug 15, 2022, at 11:03 , Craig Newman via use-livecode >>> wrote: >>>

Re: ChatGPT

2022-12-20 Thread Craig Newman via use-livecode
As Mark said… So if you have, say, 22, which is divisible by the prime “11”, then it is also divisible by 7""??? Craig > On Dec 19, 2022, at 8:10 PM, Mark Wieder via use-livecode > wrote: > > On 12/18/22 12:15, Richard Gaskin via use-livecode wrote: >> A Twitter thread with ChatGPT

Re: Lock screen and animated gif

2022-12-20 Thread Craig Newman via use-livecode
Jbv. "Every ten lines"??? Is your handler using a loop to massage each of those lines? If so update the scrollbar every 10 passes through. So if you are using “repeat with…” you can do something like: repeat with y = 1 to whatever if y mod 10 = 0 then updateYourThingie And if you are using

Re: ChatGPT

2022-12-20 Thread Craig Newman via use-livecode
Somehow that last was mixed up with the concept of any number being able to be expressed by a string of prime factors. So 77 can be resolved to ’11” and ”7”. “42” by “7’, “3” and”2’. > On Dec 9, 2022, at 4:54 PM, Jim Lambert via use-livecode > wrote: > > Even more interesting I issued the

Re: Anyone else experience this bug?

2023-01-04 Thread Craig Newman via use-livecode
I have been plagued by arbitrary crashes forever. Probably a few times per month. But since I cannot post a repeatable example, I have nothing but sympathy from the forum members. Note though that those members generally do NOT see this issue at all. Craig > On Jan 4, 2023, at 5:20 AM, Sean

Re: Lock screen challenge

2022-11-21 Thread Craig Newman via use-livecode
Jacque. Why aren’t you on the forum? Cant you just loop through each line in your handlers, and find the ones that contain “lock screen”, both with and without the visual effect thing. Search downstream until you find the “unlock” line, That gives you the start and finish lines for each

Re: Move in Reverse

2023-01-17 Thread Craig Newman via use-livecode
Roger. I will bet that you have to get the points, write a short routine to reverse them, and then use that “inverted” list. Craig > On Jan 17, 2023, at 3:06 PM, Roger Guay via use-livecode > wrote: > > Hi all, > > is there a simple way to move a grc to the points of a polygon in reverse?

Re: Maximum field size

2023-01-19 Thread Craig Newman via use-livecode
Guys, (and Jacque) I made my test with lines of 14 chars. Lots of lines. LC crashes. Craig > On Jan 19, 2023, at 10:10 AM, Craig Newman wrote: > > The stack I made to test this became corrupted after a couple of runs. I > guess the way to do this is to increase the length until a crash,

Re: Maximum field size

2023-01-19 Thread Craig Newman via use-livecode
Richard. As I mentioned, I wanted to make sure the field had scroll capabilities. ;-) > On Jan 19, 2023, at 12:54 PM, Richard Gaskin via use-livecode > wrote: > > David Epstein wrote: > > > How many rows or columns or characters can reasonably be displayed > > in a LiveCode field? A 1.39 GB

Re: Maximum field size

2023-01-19 Thread Craig Newman via use-livecode
The stack I made to test this became corrupted after a couple of runs. I guess the way to do this is to increase the length until a crash, not decrease. > On Jan 19, 2023, at 10:09 AM, Craig Newman wrote: > > But I assume that there is a value where a field can be loaded and display a > large

Re: Maximum field size

2023-01-19 Thread Craig Newman via use-livecode
David. You want to display 1.39 GB in a field? Will it scroll? I made a quick test stack that created a variable with a length of 1.4 GB. No problem. But when I tried to put that variable into a field, LC crashed. When I tried to put 140 MB into a field, same crash. I did not continue to

Re: Maximum field size

2023-01-19 Thread Craig Newman via use-livecode
But I assume that there is a value where a field can be loaded and display a large amount of text. It would be simple to find that value if LC didn’t crash each time it was attempted along the way. Craig > On Jan 19, 2023, at 10:06 AM, Craig Newman wrote: > > David. > > You want to display

Re: ChatGPT examples

2023-01-20 Thread Craig Newman via use-livecode
Geoff. Startling, and beautifully presented. I had no idea ChatGPT was that powerful and knowledgeable. We are doomed. Craig > On Jan 20, 2023, at 8:05 AM, Alex Tweedly via use-livecode > wrote: > > Fascinating. Thank you so much for that Geoff. > > I've been afraid to play with ChatGPT

Re: ENTER in scripts

2022-11-10 Thread Craig Newman via use-livecode
;>>> >>>> >>>>> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode >>>>> wrote: >>>>> >>>>> Well, you learn something exceedingly simple every day. OK I get it. >>>>> Enter is the same as clicking "

Re: ENTER in scripts

2022-11-07 Thread Craig Newman via use-livecode
All. "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so. This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space. Craig > On Nov 7, 2022, at 1:07 PM, Martin Koob via

Re: Return of Hilited text of Popup Menu items

2022-11-11 Thread Craig Newman via use-livecode
Roger. No messages are sent while a menu is open. Further, a “mouseMove” handler in, say, the card script stops receiving messages while that menu is open. Such a gadget, likely drawn by the underlying OS, seems to be blocking. So, I think, no. Craig > On Nov 10, 2022, at 9:28 PM, Roger Guay

Re: Return of Hilited text of Popup Menu items

2022-11-11 Thread Craig Newman via use-livecode
And a corsair is what a pirate aspires to. Craig > On Nov 11, 2022, at 11:11 AM, Bob Sneidar via use-livecode > wrote: > > A Curser is what I was as a sailor. A Cursor is the icon on your monitor that > indicates where the mouse is located. ;-) > > Bob S > > > On Nov 10, 2022, at 18:28 ,

Re: Return of Hilited text of Popup Menu items

2022-11-11 Thread Craig Newman via use-livecode
Nope Grumman F6F. > On Nov 11, 2022, at 12:03 PM, Bob Sneidar via use-livecode > wrote: > > Or the greatest WWII fighter plane ever made. > >> On Nov 11, 2022, at 08:56 , Craig Newman via use-livecode >> wrote: >> >> And a corsair is what a pirate

Re: Is it possible to use a reverse direction for offset

2023-03-23 Thread Craig Newman via use-livecode
ed version, I do a lot of text processing in my > app. > > Thanks to both of you! > François > >> Le 23 mars 2023 à 14:43, Craig Newman via use-livecode >> a écrit : >> >> @Ben. >> >> 20 years! Congratulations!. >> >> @Francois &

Re: Is it possible to use a reverse direction for offset

2023-03-23 Thread Craig Newman via use-livecode
s not a > sufficient gain for my usage. > > François > >> Le 23 mars 2023 à 16:21, Craig Newman via use-livecode >> a écrit : >> >> Francois. >> >> Who wouldn’t? >> >> But unless you are working with VERY large datasets, I bet a han

Re: Is it possible to use a reverse direction for offset

2023-03-23 Thread Craig Newman via use-livecode
@Ben. 20 years! Congratulations!. @Francois This can be scripted easily. Do you need help with that? Craig > On Mar 23, 2023, at 8:21 AM, Ben Rubinstein via use-livecode > wrote: > > https://quality.livecode.com/show_bug.cgi?id=584 (20th anniversary this > September!) > > Also >

Re: Is it possible to use a reverse direction for offset

2023-03-23 Thread Craig Newman via use-livecode
rt the search at the > beginning of the text to scan all the occurrences of the opening string that > stand before the text position (if any). The complexity of this approach is > not the same as in the case where a backwards search is available. > > François > >> Le 23 mars 2023 à

Re: REGRESSION in LC 9.6.9rc2

2023-03-07 Thread Craig Newman via use-livecode
Paul. Hi. What modal dialog has a dropDown menu? Craig > On Mar 7, 2023, at 12:58 PM, Paul Dupuis via use-livecode > wrote: > > Sadly, I just found another serious regression in LC 9.6.9rc2 that seems to > cause dropdown menus in modal dialogs to fail. > > Code that works in LC 9.6.8 does

Re: Bard AI

2023-03-24 Thread Craig Newman via use-livecode
ine Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On March 24, 2023 7:55:58 AM Craig Newman via use-livecode > wrote: > >> We are ether doomed or blessed. We shall see... >> >> One small snippet from Jacques “new res

Re: Bard AI

2023-03-24 Thread Craig Newman via use-livecode
We are ether doomed or blessed. We shall see... One small snippet from Jacques “new response” query: "and are typed at compile time based purely on context.” was a line I wrote in Wikipedia many years ago. It just made me realize how such engines comb the entire universe for pertinent content,

Re: Custom property retrieval incorrect

2023-04-27 Thread Craig Newman via use-livecode
Jacque. Have you tried another name, Like “XYZ”? Craig > On Apr 27, 2023, at 3:50 PM, J. Landman Gay via use-livecode > wrote: > > I have a custom stack property called "cVersion" that is used to determine > update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and >

Re: card background color

2023-04-19 Thread Craig Newman via use-livecode
Doug. I also find this annoying. But I have never found a property to disable it. Of course, I never asked, so let us both see what turns up. Craig > On Apr 19, 2023, at 2:04 PM, Douglas A. Ruisaard via use-livecode > wrote: > > Using LC v9.6.8 Business on Windows 10. When I drag a new

Re: Weird window behavior

2023-04-19 Thread Craig Newman via use-livecode
Marty. No more than I. I lead both the forum and this list for personally directed oddities. Nobody can touch me… Craig > On Apr 19, 2023, at 2:25 PM, Marty Knapp via use-livecode > wrote: > > Ever since I updated to Ventura on my Mac I've had this weird behavior both > in the IDE and in

Re: opencard and visual effect

2023-05-02 Thread Craig Newman via use-livecode
Klaus. I would guess that as soon as the card was navigated to, that is, before any visual effect starts or finishes. Not sure how to test this since I am not sure what messages or properties might be set before, during or after a visual effect runs. Craig > On May 2, 2023, at 9:06 AM, Klaus

Re: opencard and visual effect

2023-05-02 Thread Craig Newman via use-livecode
e: > > Hi Craig, > >> Am 02.05.2023 um 16:05 schrieb Craig Newman via use-livecode >> : >> >> Klaus. >> >> I would guess that as soon as the card was navigated to, that is, before any >> visual effect starts or finishes. >> Not sure h

Re: opencard and visual effect

2023-05-02 Thread Craig Newman via use-livecode
Klaus. Come back from the dark side. If you do I will send you the stack I made that seems to indicate that “openCard” is sent after the visual effect terminates. Craig > On May 2, 2023, at 1:08 PM, Klaus major-k via use-livecode > wrote: > > Hi Jacque, > >> Am 02.05.2023 um 18:59 schrieb

Re: opencard and visual effect

2023-05-02 Thread Craig Newman via use-livecode
Jacque. Go to the forum. I did just that, and the “openCard” message appears in the message watcher exactly after the visual effect finishes. Craig > On May 2, 2023, at 1:08 PM, Klaus major-k via use-livecode > wrote: > > Hi Jacque, > >> Am 02.05.2023 um 18:59 schrieb J. Landman Gay via

Re: How to loop through stacks with same name?

2023-04-04 Thread Craig Newman via use-livecode
Bi. There has been much discussion on the forum why, if the “destroyStack” property is set to “true”, there still seems to be remnants of that stack that linger when the “close stack” command is given. Nonetheless, have you established that this property is set? If not, set it, and let us

Re: test

2023-04-06 Thread Craig Newman via use-livecode
Mike. Why a failure? i see you. Craig > On Apr 6, 2023, at 8:22 AM, Mike Kerner via use-livecode > wrote: > > and it's a great, big, gigantic failburger > end of line. > > On Tue, Apr 4, 2023 at 11:33 AM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> This is a

Re: Training the AI to write better LiveCode

2023-02-06 Thread Craig Newman via use-livecode
A = -25 B = -20 C = -15 So, -60. Craig > On Feb 6, 2023, at 9:03 AM, Mike Kerner via use-livecode > wrote: > > there was also a thread on twitter this weekend, which was roughly this: > A - A - A = 25 > B - B - B = 20 > C - C - C = 15 > A + B + C = ? > It's still early. > > On Sun, Feb 5,

Re: Chat and textarea formatting

2023-02-14 Thread Craig Newman via use-livecode
Hi. Not sure I understand. You have an editable field that you cannot type into? Do you get a blinking cursor in that field if you click inside it? Perhaps some properties for that field are such that LC is preventing access? Craig > On Feb 14, 2023, at 3:35 PM, harrison--- via use-livecode

Re: opencard and visual effect

2023-05-03 Thread Craig Newman via use-livecode
Klaus. I never use visual effects, though I played with them a lot in about 1988. They are “blocking” in some sense, so I think you are beat served by losing them entirely in your planning. Craig > On May 3, 2023, at 2:59 PM, Klaus major-k via use-livecode > wrote: > > Hi Jim, > >> Am

<    1   2   3   >