Re: Revisiting Lock Screen

2024-03-28 Thread Craig Newman via use-livecode
Bob. I have no idea what you are facing with such a basic issue. To be sure, please, somewhere in the stack you are having the issue, make a button and a field and run this: on mouseup lock screen —comment out for the first run repeat 3 put random(999) into fld 1 wait 20 end repeat end

Re: Dropping file on an LC standalone...

2024-03-22 Thread Craig Newman via use-livecode
Klaus. AHA. I did, but did not see past the fact that the “$” keyword took parameters. Craig > On Mar 22, 2024, at 8:56 AM, Klaus major-k via use-livecode > wrote: > > Hi Craig, > >> Am 22.03.2024 um 13:44 schrieb Craig Newman via use-livecode >> mailto:us

Re: Dropping file on an LC standalone...

2024-03-22 Thread Craig Newman via use-livecode
What on earth is the “1$ special variable”? Craig > On Mar 21, 2024, at 6:58 PM, Bob Sneidar via use-livecode > wrote: > > Wow I just read that and it didn’t even make sense to me! > > Basically with Windows, dragging a file onto a taskbar icon only adds the > file to the icon’s Pinned

Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread Craig Newman via use-livecode
Mike. In a new stack I placed a button with this: on mouseUp beep 2 end mouseUp If I click on the button I hear two clicks. I disabled the button and clicked on it. I enabled the button. No clicks. I did this all by hand. Did you? Craig > On Feb 21, 2024, at 4:07 PM, Mike Kerner via

Re: Nasty filter bug

2024-01-24 Thread Craig Newman via use-livecode
matched so you can use [abc]* to > match any item that starts with a, b, or c. The dictionary entry for this is > pretty good. > > Brian Milby > br...@milby7.com <mailto:br...@milby7.com> > >> On Jan 24, 2024, at 3:35 PM, Craig Newman via use-livecode >

Re: Nasty filter bug

2024-01-24 Thread Craig Newman via use-livecode
ecial. > > To ensure that your filters work properly if you do not want to use any > wildcards (i.e. match * and ? literally) would require you to change *, ?, > and [ to [*], [?], and [[]. > > On Wed, Jan 24, 2024 at 1:19 PM Craig Newman via use-livecode < > use-liv

Re: Nasty filter bug

2024-01-24 Thread Craig Newman via use-livecode
cters that prevent the filter command from doing its job: ASCII 91 (“[“) and ASCII 10, the return char. Craig > On Jan 24, 2024, at 12:51 PM, Craig Newman via use-livecode > wrote: > > Brian. > > Nope. Those two chars pass through the filter, er, filtered. > > Ag

Re: Nasty filter bug

2024-01-24 Thread Craig Newman via use-livecode
; multiple char wildcards respectively. > > Brian Milby > br...@milby7.com > >> On Jan 24, 2024, at 10:21 AM, Craig Newman via use-livecode >> wrote: >> >> I did not test the ASCII set exhaustively, but the culprit is the char “[“ >> (ASCII 91). Any

Re: Nasty filter bug

2024-01-24 Thread Craig Newman via use-livecode
I did not test the ASCII set exhaustively, but the culprit is the char “[“ (ASCII 91). Any other char (including “]”) in the string works correctly, that is, nothing is left after the filter command executes. I do not know enough to say whether that particular char does something to the

Re: LockLoc and grab

2024-01-23 Thread Craig Newman via use-livecode
Aha. I did not see that you meant a single button in its own group. But it would not matter if I did the same with a control within a larger group of controls. And it does not matter if the lockLoc of the group is set or not. So is your question “Why does the control disappear when it is

Re: LockLoc and grab

2024-01-23 Thread Craig Newman via use-livecode
David. I could not understand your issue, so I made the controls you mentioned. The thing that matters is not the lockLoc property, but rather the “opaque” property. A group of controls is just a, er, group of controls. The “group” itself can, however, take on a life of its own if, as in this

Re: Anyone ever put a token into the Apple Wallet and Play (Android) wallet?

2023-12-22 Thread Craig Newman via use-livecode
Could not help myself from being unhelpful. I am positive LC can do this, whatever you meant. Craig > On Dec 22, 2023, at 10:43 AM, Mark Rauterkus via use-livecode > wrote: > > Hi, > > Wondering if there is a way to make a LiveCode app that can then generate a > membership card thingie /

Re: Application disappears unexpectedly (goes into background)

2023-12-22 Thread Craig Newman via use-livecode
t; On Dec 22, 2023, at 5:55 AM, Craig Newman via use-livecode >> wrote: >> >> Clicking on a titlebar sends no messages to LC, only to the OS, essentially >> saying “bring me to the front”. >> >> The fact that all the card windows reappear when you do that seem

Re: Application disappears unexpectedly (goes into background)

2023-12-22 Thread Craig Newman via use-livecode
Clicking on a titlebar sends no messages to LC, only to the OS, essentially saying “bring me to the front”. The fact that all the card windows reappear when you do that seems very odd to me. If I hide a stack and then go somewhere else on my computer, that stack does not reappear just because

Re: Which is faster...

2023-12-15 Thread Craig Newman via use-livecode
This is why LCMark gets the big bucks. Craig > On Dec 15, 2023, at 10:00 AM, Mark Waddingham via use-livecode > wrote: > > On 2023-12-14 21:22, Paul Dupuis via use-livecode wrote: >> Which is faster or more efficient (from an engine performance perspective)? >> To retrieve an array from a

Re: Which is faster...

2023-12-15 Thread Craig Newman via use-livecode
riddata [“hilitedkeys”] of tMainCard > Get the maingriddata [“hilitedindexes”] of tMainCard > Get the maingriddata [“customers”] > Put the queriedCustomersA into tMainGridDataA > Set the maingriddata to tMainGridDataA > > And so forth. Any kind of logic can be used in the getPr

Re: Which is faster...

2023-12-14 Thread Craig Newman via use-livecode
Laziness in the last post. BOTH took 10 mS to fill an ordinary variable. Craig > On Dec 14, 2023, at 5:32 PM, Craig Newman wrote: > > Typo in the last post. BOTH had 100,000 elements or lines. > > Craig > >> On Dec 14, 2023, at 5:25 PM, Craig Newman wrote: >> >> Anything to distract me

Re: Which is faster...

2023-12-14 Thread Craig Newman via use-livecode
Typo in the last post. BOTH had 100,000 elements or lines. Craig > On Dec 14, 2023, at 5:25 PM, Craig Newman wrote: > > Anything to distract me from my day job. > > An array with 100,000 elements and a variable with 100,00 lines take the same > time to place into a field. > > The only time

Re: Which is faster...

2023-12-14 Thread Craig Newman via use-livecode
Anything to distract me from my day job. An array with 100,000 elements and a variable with 100,00 lines take the same time to place into a field. The only time that took a while was building them. Each took 10 milliseconds. Craig > On Dec 14, 2023, at 4:55 PM, Paul Dupuis via use-livecode >

Re: greying out columns in a dataGrid

2023-12-01 Thread Craig Newman via use-livecode
Zyrip. Almost, and very good, since I do not understand DG’s at all. I changed your offering to: on mouseUp dispatch "DG_ColorColumn" to grp "datagrid 1" with "col 2", "211,211,211" —srcCopy —no such command end mouseUp on DG_ColorColumn pColName, pColor, yellow set the opaque of grp

Re: resizeControl wishes...

2023-11-30 Thread Craig Newman via use-livecode
Paul. “reSizeControl” is a message. What I mean by that is if you are already running under script control, why do you need to send such a message at all? Can’t your handler do whatever you needed to if the user did the actual resize action? Craig > On Nov 30, 2023, at 11:05 AM, Paul Dupuis

Re: [OT] The Fall of the British Empire???

2023-11-21 Thread Craig Newman via use-livecode
“... the bulk of Europe used French as the common language.” That is where the term “Lingua Franca” came from. Before that in Europe, which was the center of the universe, learned people used Latin. Just ask Newton or any cleric. English took over when the world got smaller. The US was the

Re: [OT] The Fall of the British Empire???

2023-11-20 Thread Craig Newman via use-livecode
I did not mean “British” English, just English. And true, the hegemony that the US had and still has on this planet, commerce, popular culture, sheer weight and all that implies, forced everyone else to learn English. The internet is the prime example, Americans are smug in that we do not need

Re: [OT] The Fall of the British Empire???

2023-11-20 Thread Craig Newman via use-livecode
Apparently a commonwealth does not an empire make. But whatever you think about empires overall, you have to give that tiny island credit… Craig > On Nov 18, 2023, at 6:37 PM, Ben Rubinstein via use-livecode > wrote: > > > When exactly did the British Empire fall?? > Just like Hemingway's

Re: [OT] The Fall of the British Empire???

2023-11-17 Thread Craig Newman via use-livecode
Empires these days are strictly economic. In fact, it was always that way. Forget California, which has the 6th largest GDP in the world. Texas and New York combined would also come in at #6, and just beat GB. England was #1 until 1916, when guess who took over. Craig > On Nov 17, 2023, at

Re: [OT] The Fall of the British Empire???

2023-11-17 Thread Craig Newman via use-livecode
When the United States took over. 1945. The only thing that remained is that the Lingua Franca of the world is English. I have a French friend who is constantly annoyed at that fact. Craig > On Nov 17, 2023, at 2:05 PM, Ralph DiMola via use-livecode > wrote: > > "When exactly did the

Re: What to set the clipboardData to for exchanging styled text with a 3rd party app

2023-11-13 Thread Craig Newman via use-livecode
Hi. I always use the “htmlText”. Of course this encodes the original text with HTML tags, so you cannot just: set the clipBoardData to the htmlText of fld 1 set the text of fld 2 to the clipBoardData you have to: set the htmltext of fld 2 to the clipBoardData Craig > On Nov 13, 2023, at

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: 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
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: 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: 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: 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: 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-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: 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: 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: Variable Watcher disappeared

2023-08-08 Thread Craig Newman via use-livecode
What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig > On Aug 8, 2023, at 1:39 PM, Bob

Re: Reorder fields

2023-07-28 Thread Craig Newman via use-livecode
Why does, as Paul suggests, changing the layer order in the Project Browser work, whereas changing the layer order explicitly does not? We know that layers cannot be assigned to a particular object class (like fields) but include all controls at once. Is it possible that the layer order of the

Re: Reorder fields

2023-07-28 Thread Craig Newman via use-livecode
I was sloppy, as usual. Trap the message in the card, and use the target to know where you are and where to go next. Craig > On Jul 28, 2023, at 9:36 AM, Craig Newman via use-livecode > wrote: > > Hi. > > Not sure why the tabbing order seems to be out of whack, but you c

Re: Reorder fields

2023-07-28 Thread Craig Newman via use-livecode
Hi. Not sure why the tabbing order seems to be out of whack, but you can always force the issue by trapping the tabKey message in each field, and directing it to the next one of you own choice. Craig > On Jul 28, 2023, at 6:19 AM, Mark Smith via use-livecode > wrote: > > How do you reorder

Re: Determine the screen DPI

2023-07-26 Thread Craig Newman via use-livecode
Hi. The “screenrect” gives you the factor required directly. If you measure the actual width, say, of the screen and divide that into the difference between item 3 and item 1 of the screenRect, you will get the number of pixels per inch. Craig > On Jul 26, 2023, at 2:23 PM, Bob Sneidar via

Re: What is your best practice for setting a script in a script?

2023-07-21 Thread Craig Newman via use-livecode
Paul. I assume you have a blueprint of what will become a stack with at least one card? And that stack will possibly contain other cards, controls, scripts and behaviors? But since all objects have properties, including scripts, and since LC has the “create” command, whatever you want to do

Re: Field highlited

2023-07-13 Thread Craig Newman via use-livecode
Paul. I think that Bob S. is correct. The change in focus is sort of built into the engine, and a field cannot “remember” such a thing. A fun kludge would be to create one or more overlays, however you like those to look, and apply them to the field of interest. These overlays can be managed

Re: Answer dialog text missing in standalone 9.6.9

2023-06-30 Thread Craig Newman via use-livecode
re (MacOS). >>> >>> Cheers, >>> Panos >>> -- >>> >>>> On Fri, 30 Jun 2023 at 09:54, General 2018 via use-livecode < >>>> use-livecode@lists.runrev.com> wrote: >>>> >>>> Hi, >>>> >>&g

Re: Answer dialog text missing in standalone 9.6.9

2023-06-29 Thread Craig Newman via use-livecode
Hi. I assume you mean the standard “Answer” command. There is no “Answer Text”. So if you: answer “Some Text" with “Yes" or “No" what exactly pops up? Craig > On Jun 29, 2023, at 4:21 PM, General 2018 via use-livecode > wrote: > > Hi, > > Answer Text missing in standalone , the icon

Re: Can Xavvi generate sensible text output as well as code?

2023-05-18 Thread Craig Newman via use-livecode
In Jacque’s “test” AI first had to create a list of ten “people”, garnered, I assume, from research into our planet’s knowledge base. It knew what a “name” should be. That is cool. That list could have been a list of actual humans, derived from, say, the staff of a particular bank. If the

Re: Am I using the best mail client?

2023-05-11 Thread Craig Newman via use-livecode
ounts. >>> >>> There are a lot of options so you can customize it however you want. >>> >>> -- >>> Jacqueline Landman Gay | jac...@hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On May 11, 2023 11:33:31 AM C

Am I using the best mail client?

2023-05-11 Thread Craig Newman via use-livecode
Since I got real help here, and not on the forum(hmph), I am wondering if the eMail client I am using is one reason I do not prefer this venue. I am using the native Mac “Mail’ client. Are there much better ones? Craig ___ use-livecode mailing list

Re: Cannot make a standalone after upgrading to Mac Mini and Ventura

2023-05-11 Thread Craig Newman via use-livecode
t; features and had only a > couple of platforms. I relicensed selected "pro" and had all platforms. > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto

Re: Cannot make a standalone after upgrading to Mac Mini and Ventura

2023-05-11 Thread Craig Newman via use-livecode
e email support :) > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 10 May 2023, at 21:51, Craig Newman via use-livecode >> wrote: >> >> All. >> Help >&g

Cannot make a standalone after upgrading to Mac Mini and Ventura

2023-05-10 Thread Craig Newman via use-livecode
All. Help I got a new Mac Mini a month ago. Lovely. Working with LC on it. Lovely. I tried to make a windows standalone from the same project I have for years. In the Applications Settings I cannot select the Windows pane. It is essentially disabled, and looks like it. In fact, I cannot select

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

Re: opencard and visual effect

2023-05-03 Thread Craig Newman via use-livecode
Klaus. That was fun. Oh yes, the point of this thread. To me it seems that preOpenCard is sent before, and openCard is sent after the effect terminates. The fact that you have 0 and 3 ticks is no different than having 0 and 125 ticks, The speed of the visual effect is not pertinent. Well,

Re: opencard and visual effect

2023-05-02 Thread Craig Newman via use-livecode
to attach an emoji, but, well, we are in the use-list. Otherwise, nothing significant. Craig > On May 2, 2023, at 1:28 PM, Klaus major-k via use-livecode > wrote: > > Hi Craig, > >> Am 02.05.2023 um 19:17 schrieb Craig Newman via use-livecode >> : >> >>

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: 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
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. 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: 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: 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: 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: 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: 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: 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: 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: 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
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
@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: 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: 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: 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: 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: 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
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
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
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: 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: 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: 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: 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: 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: 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: 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: 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
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: 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: 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: 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: 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: 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: 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: 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-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 >

  1   2   3   >