Re: how to refer to a custom prop that is a multidimensional array

2018-01-23 Thread dunbarx via use-livecode
Oh. Now I see. You want to retrieve "interior" elements of an array directly from a single call to a custom property. As said, I think you have to retrieve the property, and then retrieve the element. Two lines of code. Craig -- Sent from:

Re: how to refer to a custom prop that is a multidimensional array

2018-01-23 Thread dunbarx via use-livecode
Hi. I am not sure I understand your question. What is different about this: on mouseUp put 6 into myArray["x"]["a"] put 7 into myArray["x"]["b"] put 8 into myArray["x"]["c"] answer myArray["x"][any char of "abc"] end mouseUp Craig Newman -- Sent from:

Re: Standalone compile problem including more than two stack files to the mainstack

2018-03-08 Thread dunbarx via use-livecode
Jacque usually has a way out. But I have no problem making a standalone with two added stack files. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list

Re: Issues with storage of data in stack

2018-03-08 Thread dunbarx via use-livecode
Hi. I store data in both external files and within the stack itself. Never used a DB. But no issues of any kind ever. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing

Re: how to copy a card?

2018-03-08 Thread dunbarx via use-livecode
Note that one can also copy a card, navigate to another spot in the same or another stack, and paste. The advantage is that the copy can be inserted anywhere in the card suite. This can all be done under script control. Craig -- Sent from:

Re: formatForPrinting

2018-04-06 Thread dunbarx via use-livecode
I am intrigued as well. The dictionary is quite clear. Set this property before it ever is in memory. Does the engine store properties just in case a stack of the appropriate name opens? Are there other such properties? The dictionary states that this property can be cleared if text is to be

Re: 9.0 Crashes Constantluy

2018-04-10 Thread dunbarx via use-livecode
I have never seen this through 8.1.8. But all my stacks that I make standalones from are set to destroy themselves. Is that possibly the reason? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: name resolution stinker

2018-04-11 Thread dunbarx via use-livecode
Have not tried any of the offerings. But, at least in HC, it was important to isolate all card references with parentheses. Otherwise the engine would concatenate any text following the ostensible card reference and create a mess: blah, blah, blah of (cd id 1002) of stack Not sure if LC is

Re: how to print a csv as formatted table?

2018-04-12 Thread dunbarx via use-livecode
Why not, indeed? Is it more complicated than replacing all commas with tab? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: AW: How to get the line break char?

2018-04-18 Thread dunbarx via use-livecode
Tiemo. I guess I do not understand. put charToNum(the number of chars of line (lineOfInterest + 1) of yourText) into tChar Then tChar can be compared to the "tChar" of any other line. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: How to get the line break char?

2018-04-18 Thread dunbarx via use-livecode
Hi. You cannot ask for the "last" char of a line, because LC will give you the last "non-control" char. Say you have the below text in a field: abc def So the last char of line 1 is "c". But the number of chars of that text snippet is 7 But numToChar(char 4 of fld 1) = 10. That is a return

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread dunbarx via use-livecode
Hi. My most useful gadget is a very simple plug-in. It toggles the Browse and Pointer tools when right-clicking my mouse: on rawKeyUp tKey if (tKey = 65473 and the tool = "browse tool") then choose "pointer tool" else choose "browse tool" end rawKeyUp Craig Newman -- Sent from:

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread dunbarx via use-livecode
Randy. There must be something different in our setups. All I did was write a rawkeyUp handler to return the value of my mouse's right-click. Either you get a different value with that action, or something in your machine is intercepting that "message" before LC does. Craig -- Sent from:

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-24 Thread dunbarx via use-livecode
I wrote: "Randy. There must be something different in our setups. All I did was write a rawkeyUp handler to return the value of my mouse's right-click. Either you get a different value with that action, or something in your machine is intercepting that "message" before LC does. This was a

Re: [OT] Web based HyperCard

2018-03-27 Thread dunbarx via use-livecode
Could only see a black screen when opening in Safari on OS 10.9. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: Multiple Windows

2018-03-31 Thread dunbarx via use-livecode
Richmond. I saw your construction of two stacks displayed in a "frame", so it appeared that two cards were simultaneously present in a single "stack". I see what you are after; the goal being be able to navigate in each card separately. Why only two? Anyway, I have never needed such a feature,

Re: Mouse wheel scrolling support...

2018-03-19 Thread dunbarx via use-livecode
Paul. What beyond trapping the "scrollBarDrag" message were you looking for? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
This is a great example of the maxim "Everything in LC is simply a stack" Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
As a follow-up, is there anywhere a list of all IDE stacks? For example, the stack named "answer dialog", though perfectly logical, is not listed anywhere, and the names of some stacks, like the script editor, have changed over the several LC versions. It is a great way to get oneself in real

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
Panos. Ah, of course. Thanks. I see one can get into real trouble. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
I think this is expected behavior. If you have a group of three buttons: 1- disable one of them 2- disable the group 3 enable the group You do get all three buttons enabled. But the thinking is likely along the lines of: "That guy enabled the group, right? That means enable the group, which

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
Does it make it more palatable to think about it the other way around? There should be no real difference: You have a group where one button is already enabled, and one already disabled. By disabling the group, should the enabled button stay enabled? Craig -- Sent from:

Re: Groups do not receive mouseEnter messages?

2019-06-24 Thread dunbarx--- via use-livecode
Confirmed here. I have never really tried any of the things you mentioned, but no messages at all are sent to the group I just made.  Interestingly, and consistent so far, double clicking within the group boundary, but not in any child control, opens the inspector for the card. So although the

Re: Help with drawing in LiveCode...

2019-06-20 Thread dunbarx--- via use-livecode
I implemented a fairly complex drawing module to a stack we use all the time. It isn't CAD, but it looks like it, albeit rather less professional looking than, say, AutoCad or SoldWorks would produce. We send these drawings out daily to clients. They are based on data calculated within the

Re: Help with drawing in LiveCode...

2019-06-21 Thread dunbarx--- via use-livecode
the handler I posted earlier? It is a good start. Craig -Original Message- From: Paul Dupuis via use-livecode To: use-livecode Cc: Paul Dupuis Sent: Fri, Jun 21, 2019 9:29 am Subject: Re: Help with drawing in LiveCode... On 6/20/2019 11:34 PM, dunbarx--- via use-livecode wrote: >

Re: Setting conditional breakpoints

2019-06-21 Thread dunbarx--- via use-livecode
Not sure what you could mean. on mouseUp  if the mouseLoc is within the rect of btn 3 then breakPoint   if the visible  of btn 3 then breakPoint   if the... Surely I am missing this. Craig -Original Message- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar

Re: Rects Revisted

2019-06-26 Thread dunbarx--- via use-livecode
Probably a brain typo. But I cannot imagine that item 4 of the rect of a stack window that lies below the bottom of the screen can be less  item 4 of the screenRect. Craig -Original Message- From: Alex Tweedly via use-livecode To: use-livecode Cc: Alex Tweedly Sent: Wed, Jun 26, 2019

Re: Draw a line that follows an object

2019-06-28 Thread dunbarx--- via use-livecode
Hi. So much fun. Change the handler to this: local pointsListon mouseDown  show btn 1 at "200,200"  set the points of grc 1 to "0,0" & comma & the loc of btn 1  put the points of grc 1 into pointsList  trackButtonend mouseDown on trackButton  if the optionKey is down then exit to top -- exit

Re: Draw a line that follows an object

2019-06-28 Thread dunbarx--- via use-livecode
raw a line that follows an object Double click to stop drawing? Rick > On Jun 28, 2019, at 4:16 PM, dunbarx--- via use-livecode > wrote: > > Not sure how you want to stop drawing. Let me know how you decide that. > Craig ___ use-livecode

Re: Odd paste in 9.5

2019-09-11 Thread dunbarx--- via use-livecode
Richmond. I do not see this in either v 8 or v.9. Both methods work just fine. I am not sure that you will see this post. I am having issues with the use list. If I do not see it, I will forward to the forums Craig -Original Message- From: Richmond via use-livecode To: use-livecode

Re: Test post: Its awfully quiet around here...

2019-09-16 Thread dunbarx--- via use-livecode
I hear you, Mark. And yes it is. Craig -Original Message- From: Mark Waddingham via use-livecode To: How to use LiveCode Cc: Mark Waddingham Sent: Mon, Sep 16, 2019 9:17 am Subject: Test post: Its awfully quiet around here... Testing... -- Mark Waddingham ~ m...@livecode.com ~

Re: Help with an algorithm...

2019-08-05 Thread dunbarx--- via use-livecode
Hi. This seems like a good case for arrays (pseudo): You have to create an array for each parent. The only way i see to find those is to go through the list looking for lines that DO NOT start with a space. If you work from the bottom up, since children are always at the bottom and they always

Re: Windows, Underlines and Printing

2019-11-03 Thread dunbarx--- via use-livecode
Hi.  I don't suppose you have tested on a Mac? If not, I will when I get to my office tomorrow.  Craig -Original Message- From: Dan Friedman via use-livecode To: How to use LiveCode Cc: Dan Friedman Sent: Sat, Nov 2, 2019 1:04 pm Subject: Windows, Underlines and Printing Greeting!

Re: Y coordinate for a line of text

2019-11-13 Thread dunbarx--- via use-livecode
Mark, Yep, that will do the translation. But I am no longer sure what the OP originally wanted. OP? Craig -Original Message- From: Mark Wieder via use-livecode To: dunbarx--- via use-livecode Cc: Mark Wieder Sent: Wed, Nov 13, 2019 11:20 am Subject: Re: Y coordinate for a line

Re: Y coordinate for a line of text

2019-11-13 Thread dunbarx--- via use-livecode
The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed. Craig -Original Message-

Re: Y coordinate for a line of text

2019-11-14 Thread dunbarx--- via use-livecode
on the loc of the field, and otherwise has no relationship to the field itself, that is, the Y coordinate within that field. Craig -Original Message- From: Mark Wieder via use-livecode To: dunbarx--- via use-livecode Cc: Mark Wieder Sent: Wed, Nov 13, 2019 11:20 am Subject: Re: Y coordinate

Re: Disappearing "column lables" of Datagrid

2019-11-12 Thread dunbarx--- via use-livecode
Why not just ask Klaus? Craig -Original Message- From: Klaus major-k via use-livecode To: Tom Glod via use-livecode Cc: Klaus major-k Sent: Tue, Nov 12, 2019 11:59 am Subject: Disappearing "column lables" of Datagrid Hi friends, what might cause the fact that in my datagrids on card

Re: Identifying Un-used functions and commands

2019-11-12 Thread dunbarx--- via use-livecode
Hi. "unused functions and commands"? Do you mean handlers that exist in a script somewhere but are never called from anywhere? I suppose you can search all scripts, and if a certain handler name does not appear without being prepended by either "on" & space(s) or "function" & space(s) then you

Re: Y coordinate for a line of text

2019-11-12 Thread dunbarx--- via use-livecode
How do I format a simple handler so that it is not strung out like a 1960's hippie? Why is there no forum-like area to post scripts? Is this because I am using AOL as a portal to the use list? Craig -Original Message- From: dunbarx--- via use-livecode To: use-livecode Cc: dunbarx

Re: Y coordinate for a line of text

2019-11-12 Thread dunbarx--- via use-livecode
Hi. Assuming you have a field 1 with several lines of text in it, and have set the textHeight of that field, then in a button script somewhere; on mouseUpanswer the textHeight of fld 1 * lineOffset(yourText,fld 1) + the top  of fld 1end mouseUp Craig -Original Message- From: scott--- via

Re: remove DEFAULTMENUBAR?

2019-11-22 Thread dunbarx--- via use-livecode
Hi Klaus.  I never have worked at all with this group, and was surprised that it was a LC stack in the first place.  So I do not know why one cannot set it to empty, except maybe that something inside LC prevents that.  On a completely tangential note, my defaultMenubar contains ten buttons,

Re: Achilles Heel of Livecode

2019-12-03 Thread dunbarx--- via use-livecode
I used Compile-it forever. It was faster than the compiled v.2x HC by orders of magnitude. But, and this is hardly a fair test, I get over 8 million passes per second through a repeat loop in LC if I do not tax it overmuch, say, adding 1 to a variable on each pass. The point is, how much more

Re: Groups in the message path: Trapping Mouseup

2019-12-08 Thread dunbarx--- via use-livecode
Hi. It is hard for me to understand without more info about the case statements. But when you have this: # I click on button "starWidget" -- nothing happens…hmm, no errors either… Do you really mean nothing, not even that the:    put the short name of the target does not fire? Craig

Re: Table Text Livecode vs .....

2019-12-17 Thread dunbarx--- via use-livecode
Or perhaps post to the forum. Craig -Original Message- From: Pi Digital via use-livecode To: How to use LiveCode Cc: Pi Digital Sent: Tue, Dec 17, 2019 7:13 am Subject: Re: Table Text Livecode vs . Hi Terence This list doesn’t display images in the mail. Perhaps you could

Re: Red Dot Breakpoint Crashes

2019-10-27 Thread dunbarx--- via use-livecode
fine again. But that hardly recommends the original dot. Craig -Original Message----- From: dunbarx--- via use-livecode To: use-livecode Cc: dunbarx Sent: Sat, Oct 26, 2019 11:14 pm Subject: Re: Red Dot Breakpoint Crashes My red dots are fixed in 9.0.4. Not sure about 9.5, if that might be a regressi

Re: Learning from scratch - any recommendations?

2019-10-28 Thread dunbarx--- via use-livecode
Hi. I have taught several newbies. I always start with a simple app, like an address book. I show how controls are created, and how scripts are built. During that process, I am off in the weeds, writing short handlers showing how the cursor can trigger things like mouseEnter or mouseMove, these

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
Klaus. I get whatever I copied into that inspector field. But it retains the formatting of the source. Craig -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Mon, Oct 28, 2019 12:53 pm Subject: past unformatted & inspector field

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
ctor field "styled text" Hi Craig, > Am 28.10.2019 um 18:43 schrieb dunbarx--- via use-livecode > : > > Klaus. > Yes, from the menu. Works the same as CMD-V. > I get something each way. But it is NOT unformatted, each way. ??? That works here as advertized, no formatt

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
& inspector field "styled text" Hi Craig, > Am 28.10.2019 um 18:01 schrieb dunbarx--- via use-livecode > : > > Klaus. > I get whatever I copied into that inspector field. But it retains the > formatting of the source. sure you did "past UNformatted&quo

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
Message- From: dunbarx--- via use-livecode To: use-livecode Cc: dunbarx Sent: Mon, Oct 28, 2019 2:25 pm Subject: Re: past unformatted & inspector field "styled text" Klaus. All works for me here. It is possible you have not placed a blinking cursor into the inspector field?

Re: Slowdown when printing to PDF in a loop

2019-10-23 Thread dunbarx--- via use-livecode
Hi. Are you repeatedly using "open printing to PDF"? Craig -Original Message- From: Terry Judd via use-livecode To: use-livecode@lists.runrev.com Cc: Terry Judd Sent: Tue, Oct 22, 2019 9:11 pm Subject: Slowdown when printing to PDF in a loop I'm printing a whole bunch of PDFs

Re: Push Card

2019-10-22 Thread dunbarx--- via use-livecode
I still maintain a HC server stack, accessible by clients over a network, of many thousands of cards. Access to any of them using the "find" command is virtually instantaneous. It is LC that starts to visibly slow after about 2000 cards. Someone like Richard or Jacque may know a bit about why

Re: Slowdown when printing to PDF in a loop

2019-10-23 Thread dunbarx--- via use-livecode
but I seem to recall that I was unable to successfully or reliably create separate reports unless I closed printing after each one. Terry... Sent from my iPad > On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode > wrote: > > Hi. > Are you repeatedly

Re: Push Card

2019-10-22 Thread dunbarx--- via use-livecode
This goes back to 1987. The HC team assumed that most people would navigate like crazy, think rolodex, and being able to retrace ones history would be a very useful tool. There should be a "clear recent" command, so that the piles of cards in that history can be eliminated. But LC has things that

Re: Identifying Un-used functions and commands

2019-11-25 Thread dunbarx--- via use-livecode
Hi. This was posted a couple of weeks ago, no? I suggested then that you could write a short handler that loops through all the scripts in all the controls on all the cards, and isolate words that are not preceded by either "command", "on" or "function". In this way you might see, for example,

Re: Identifying Un-used functions and commands

2019-11-25 Thread dunbarx--- via use-livecode
yperActive Software | http://www.hyperactivesw.com On November 25, 2019 11:51:14 AM dunbarx--- via use-livecode wrote: > Hi. > This was posted a couple of weeks ago, no? > I suggested then that you could write a short handler that loops through > all the scripts in all the con

Re: How do I select graphics that are on top of each other with mousedown?

2019-11-25 Thread dunbarx--- via use-livecode
The "mouseControl" is very straightforward. The "target" would work just as well. In the card script: on mouseUp  answer the targetend mouseUp But for a line graphic, you must click right on the line, or the function will not work. In other words, the extent of each graphic is the same, but

Re: Learning from scratch - any recommendations?

2019-11-01 Thread dunbarx--- via use-livecode
I am with Richmond, mainly. I hate to learn another language. That is why I live in the United States. LC, if you introduce only a  handful or three of native words, controls and concepts, is accessible to anyone with a real desire to learn this sort of thing. Even a first grader; they just need

Re: Stacks and Sub Stacks

2019-09-25 Thread dunbarx--- via use-livecode
Hi. You probably mean script-only stacks. Substacks are just stacks, but they live in the same file as the mainStack. It helps with organization, and when you save one, you save them all. You can only have one mainStack, but as many subStacks as you like. For me, I have projects that use

Re: Stacks and Sub Stacks

2019-09-25 Thread dunbarx--- via use-livecode
Hi. Substacks are below (Hi, Jacque) the mainStack which own them in the message hierarchy. Try this: Make a new stack, name it "Main1". Make a sub stack of that stack, and name it "Sub1". Put this into the script of the main stack: on mouseUp   answer "Main" && random(99) end mouseUp Now put

Re: Stacks and Sub Stacks

2019-09-25 Thread dunbarx--- via use-livecode
Should, of course, be: on mouseUp   answer "Sub" && random(99)   -- pass mouseUp end mouseUp I really, really do not like the use-list. Craig -Original Message- From: dunbarx--- via use-livecode To: use-livecode Cc: dunbarx Sent: Wed, Sep 25, 2019 3:45 pm Subject:

Re: Button scripts

2019-10-05 Thread dunbarx--- via use-livecode
Hi. The "target" tells LC which control received a message. If you had a script in the card, something like: on mouseUp set the bordercolor of the Target to "orange" set the showBorder of the target to "true" --- do somethingend mouseUp You would not only have quotes in places you ought to, but

Re: How to revoke that bottom pane of the script editor?

2019-12-08 Thread dunbarx--- via use-livecode
Klaus. Type CMD-F as if you were trying to simply find something. All those lower tools will reappear. Craig -Original Message- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Fri, Dec 6, 2019 5:02 pm Subject: Re: How to revoke that bottom pane of the

Re: Nested numeric lists that include number of parent list item

2020-02-11 Thread dunbarx--- via use-livecode
Trevor. I am helping You?? I don't see anything in the dictionary about progressive indentation. Never used any of these, but it looks like you have to roll your own. Craig -Original Message- From: Trevor DeVore via use-livecode To: How to use LiveCode Cc: Trevor DeVore Sent: Tue,

Re: revprintfield and RIGHT tabalign?

2020-02-13 Thread dunbarx--- via use-livecode
Klaus. I made a test stack and printed to pdf. Mine had a long string at the right side of one line. Everything came out fine. Mac 10.13.4, LC 9.5.1 Why are you not in the forum, where it is so easy to post screen shots? Craig -Original Message- From: Klaus major-k via use-livecode To:

Re: Tab Button Colors

2020-01-23 Thread dunbarx--- via use-livecode
Hi. If you set the foregroundColor to, say, red, and the backgroundColor to, say, yellow, the text of the tabs will show one or the other as each tab is "selected". Is this what you are seeing? Or did you mean that the entirety of the tab is colored? For me, each tab, when selected, is blue.

Re: the fontnames and special names like (Menu)

2020-02-04 Thread dunbarx--- via use-livecode
Here is some unhelpful information from the dictionary: The list of font names includes a set of special-purpose names which automatically select the matching font for the platform. You can use these to request "the font used for buttons" without having to hard-code platform-specific font

Re: Automating User Input

2020-02-03 Thread dunbarx--- via use-livecode
Bob may have much of what you are asking for. Many years ago I made a form filling stack. The user clicked on various controls an/or images, and either a popup of available options or a dialog appeared. It worked as if each image, say, was its own popUp. Once the selection was made, the user

Re: Tab Button Colors

2020-01-24 Thread dunbarx--- via use-livecode
s blue and the text of the first tab is green when selected, > and the other tabs the text is yellow when selected. Again, it's no big > deal it just seems odd. > > Bob S > > >> On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode >> wrote: >> >> Hi

Re: revprintfield and RIGHT tabalign?

2020-02-14 Thread dunbarx--- via use-livecode
Klaus. Yep, I get the same thing you did as pdf. Craig -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Fri, Feb 14, 2020 8:24 am Subject: Re: revprintfield and RIGHT tabalign? > Am 13.02.2020 um 20:30 schrieb Klaus major-k via

Re: text copied form LC generated PDF, WTF?

2020-02-18 Thread dunbarx--- via use-livecode
@Curry, mainly. The easy one. WTF has lost most of its bite due to simple continued usage. As Lenny Bruce noted 60 years ago, if you use a bad word often enough, it loses its badness. The hard one. Several threads on the forum have bemoaned what is labeled an overarching bug issue in LC. There

Re: Quality, reputation, and improving both (was Re: text copied form LC generated PDF, WTF?)

2020-02-20 Thread dunbarx--- via use-livecode
Crashers are of course serious, but the good news is that you're only seeing it in one project.  Feel free to email me directly if you're in a position to allow me to review the errant code, and I'll see what we can do to both find a workaround to keep your progress moving along well, and

Re: Diagnosing a crasher (was Re: Quality, reputation, and improving both)

2020-02-20 Thread dunbarx--- via use-livecode
Richard.  I will keep a eye out to see if something I do or some particular section of code which causes a crash.  I have no issue with sending you my stack; it is only for internal use. But there are many handlers in many controls on many cards, all in a mainStack and a handful of substacks. I

Re: revprintfield and RIGHT tabalign?

2020-02-14 Thread dunbarx--- via use-livecode
This is done with "revPrintField", where it is only in the print dialog that I can divert the process to make a PDF. What is the story with "open printing to "PDF"...? -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Fri, Feb 14,

Re: revprintfield and RIGHT tabalign?

2020-02-14 Thread dunbarx--- via use-livecode
So I tried it. Works fine, though you have to use gadgetry to print only the field of interest. on mouseUpopen printing to pdf ("/users/yourPathNameHere/desktop/xxx"&  ".pdf")print this cdclose printingendmouseUp Craig -Original Message----- From: dunbarx--- v

Re: Diagnosing a crasher (was Re: Quality, reputation, and improving both)

2020-02-21 Thread dunbarx--- via use-livecode
Curry. We are all fortunate in that you found the culprit in a single command in a line of code. It crashes LC 9.5.1 in Mac OS. If I change the second parameter (tDel) to a single char, all is well, The issues I am having with my project occur in random places in different handlers at random

Re: Diagnosing a crasher (was Re: Quality, reputation, and improving both)

2020-02-21 Thread dunbarx--- via use-livecode
All. It did just occur to me that ALL my crashes occur when the SE is open. Never just playing with the stack. I am trying to remember now whether I am modifying code or not when the crash occurs. The problem, (actually the beauty, of course) of LiveCode is that one can jump in a and out of the

Re: revprintfield and RIGHT tabalign?

2020-02-13 Thread dunbarx--- via use-livecode
Sssh. OK. Craig -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Thu, Feb 13, 2020 3:50 pm Subject: Re: revprintfield and RIGHT tabalign? Hi Craig, > Am 13.02.2020 um 21:43 schrieb dunbarx--- via use-livecode > : >

Re: closeControl -- "switchable" ?

2020-01-21 Thread dunbarx--- via use-livecode
Hi. "SetControl" doesn't take a parameter, as far as I know, so a switch control structure would have to be managed by hand, perhaps looping through all the groups (or other controls of interest) on the card that one just navigated away from. Craig -Original Message- From: Sannyasin

Re: closeControl -- "switchable" ?

2020-01-21 Thread dunbarx--- via use-livecode
Sorry, I meant "closeControl". Craig -Original Message- From: Sannyasin Brahmanathaswami via use-livecode To: How LiveCode Cc: Sannyasin Brahmanathaswami Sent: Tue, Jan 21, 2020 9:12 am Subject: closeControl -- "switchable" ? Using text only script behavior files has advantages and

Re: Apple Mac menubar?

2020-01-21 Thread dunbarx--- via use-livecode
Hi. The menubar is fully configurable when LC is in front, but I do not believe it can be so modified when not. Are you just asking if LC is the right tool for such a thing? There must be other gadgets that perform this task. Craig -Original Message- From: Colin Kelly via use-livecode

Re: Apple Mac menubar?

2020-01-21 Thread dunbarx--- via use-livecode
@Sean What are the "system menu extensions" on the right side of the menubar? @Mark W. What is a "Mac Status Menu"? Craig -Original Message- From: Pi Digital via use-livecode To: How to use LiveCode Cc: Pi Digital Sent: Tue, Jan 21, 2020 11:39 am Subject: Re: Apple Mac menubar? Do

Re: Apple Mac menubar?

2020-01-21 Thread dunbarx--- via use-livecode
Mark. Ah. Never knew the name of those. Craig -Original Message- From: Mark Waddingham via use-livecode To: How to use LiveCode Cc: Mark Waddingham Sent: Tue, Jan 21, 2020 12:26 pm Subject: Re: Apple Mac menubar? On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: > @Sean >

Re: LiveCode won't recognize my stack

2019-12-30 Thread dunbarx--- via use-livecode
Hi. I have two monitors as well. And I use a key combination and a plug-in to reset the loc of the very stacks you mentioned, plus the SE. These change each time I save a stack.  The point being that I never have a problem saving, only that I have to reset the loc of the topStack and the others

Re: Stacks and Custom properties

2020-03-10 Thread dunbarx--- via use-livecode
Sure. Any object that has an inspector, and that means everything, can hold custom properties. Open the stack inspector and check it out. The trick is to know where to place these things. It depends on what is going to need them. In a sense, you might think they ought to fall into some sort of

Re: Long Standing Issue with the defaultStack

2020-04-18 Thread dunbarx--- via use-livecode
Bob. I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I quit LC and open "XXX" from the desktop. There is a single button on "XXX" that:on mouseUp   go stack"yyy"answer the  defaultStackend mouseUp I get "YYY" What are you seeing? Craig -Original Message-

Re: Long Standing Issue with the defaultStack

2020-04-18 Thread dunbarx--- via use-livecode
stack, then went back to the stack that called it, the defaultStack remained the database setup stack, and THAT wasn’t even a sub stack! Until I can figure out what is causing it, I cannot trust the defaultStack. Bob S > On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode >

Re: Visual Effect

2020-04-18 Thread dunbarx--- via use-livecode
Hi. I never use visual effects, but I think you may need to go to the dictionary. One thing it says is:  "The visual effect command affects only navigation within a window. If you want to create a transition effect when moving between stacks, use the go...in window form of the go command :

Re: LiveCode useless seems to be Junk

2020-04-12 Thread dunbarx--- via use-livecode
Richmond. I was going to lay into you, until I saw that "useless" was actually "use-list" Close one. Craig -Original Message- From: Richmond via use-livecode To: Skip Kimpel via use-livecode Cc: Richmond Sent: Sun, Apr 12, 2020 2:12 pm Subject: LiveCode useless seems to be Junk This

Re: Finding words with diacriticals

2020-03-15 Thread dunbarx--- via use-livecode
Hi. I may not really understand what you want, but doesn't the "Find string" variant solve your problem? If you have a field 1 with "cat" on line 1, with "cât" on line 2 and "cat" on line 3, that is, the line 2 "cat" has charToNum(137) in place of the standard "a". on mouseUpfind string 

Re: Disabled objects semi translucent??

2020-03-26 Thread dunbarx--- via use-livecode
Bob. Yep, disabled objects are translucent. The default blendLevel is 0, so no help there. You can fool around with the backColor, of course. Craig -Original Message- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Thu, Mar 26, 2020 11:46 am Subject:

Re: Groups placed on cards

2020-04-25 Thread dunbarx--- via use-livecode
ote: >> On the contrary, I want each instance of the group to be exactly the same. >> I’m not seeing that when I place a group—it now seems to be a new object. >> >> Peter >> >>> On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode >>> w

Re: Wildcard? replaceText, offset?

2020-04-27 Thread dunbarx--- via use-livecode
there was a very simple one liner or character that would do it for me. I think I have a solution now. Rick > On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode > wrote: > > on mouseUpput offset("(",yourString) into startCharput offset(")", > you

Re: How do I format a handler in the use-List?

2020-04-27 Thread dunbarx--- via use-livecode
? On 4/26/20 2:20 PM, dunbarx--- via use-livecode wrote: > Try as I might, I cannot format a handler example copied from the SE. The > result is always run-on, even though I add spaces and returns where > appropriate. The text seems readable when I send, but reverts to a run-on > s

Re: Counting unique items in a file

2020-04-27 Thread dunbarx--- via use-livecode
Hi. You are getting empty because the information returned from the function is an array. "combine " the array with "return and "comma" Craig -Original Message- From: Skip Kimpel via use-livecode To: Dan Friedman Cc: Skip Kimpel ; How to use LiveCode Sent: Mon, Apr 27, 2020 1:52 pm

Re: Three very simple questions

2020-04-28 Thread dunbarx--- via use-livecode
The user guide? It certainly is searchable. I do it all the time. Craig -Original Message- From: Graham Samuel via use-livecode To: How to use LiveCode Cc: Graham Samuel Sent: Tue, Apr 28, 2020 3:44 pm Subject: Re: Three very simple questions Bill, I think you’re right about the

Re: What is a real?

2020-04-25 Thread dunbarx--- via use-livecode
I am a little confused. I do not sea "real" as a valid LC word, unless the dictionary entry for "real number". in the  "synonyms", needs a comma after the word "real" in the string "real number". Craig -Original Message- From: Mark Waddingham via use-livecode To: How to use LiveCode

Re: Groups placed on cards

2020-04-24 Thread dunbarx--- via use-livecode
Hi. You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. Then any changes to the physical structure of your group will appear in all instances. But I am not sure how you

Re: Groups placed on cards

2020-04-24 Thread dunbarx--- via use-livecode
er Bogdanoff via use-livecode To: How to use LiveCode Cc: Peter Bogdanoff Sent: Fri, Apr 24, 2020 3:22 pm Subject: Re: Groups placed on cards Thanks Craig, > On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode > wrote: > > Hi. > You can certainly create a group and set its

Re: Wildcard? replaceText, offset?

2020-04-26 Thread dunbarx--- via use-livecode
Pay no attention to the previous post, which only dealt with a single integer. Sloppy. THIS old fashioned method works, though: on mouseUpput offset("(",yourString) into startCharput offset(")", yourString)  into endCharput random(999) into char (startChar + 1) to (endChar -1) of  yourStringend 

<    1   2   3   >