Re: charIndex property

2023-07-26 Thread Paul Dupuis via use-livecode
On 7/26/2023 8:00 PM, Mike Kerner via use-livecode wrote: actually, i have a couple of questions, which are maybe suggestions, but are actually questions, because maybe someone else will be curious enough to try to solve them * did you check the oss source to see if the function is available? No.

Re: charIndex property

2023-07-26 Thread Mike Kerner via use-livecode
actually, i have a couple of questions, which are maybe suggestions, but are actually questions, because maybe someone else will be curious enough to try to solve them * did you check the oss source to see if the function is available? * have you messed with using regex to get around the issue? On

Re: LC on Sonoma beta

2023-07-26 Thread Paul Dupuis via use-livecode
On 7/26/2023 4:20 PM, Marty Knapp via use-livecode wrote: Anyone have any input regarding LC apps running on the Apple Sonoma beta? I have not installed it but have some customers who have and saying my app crashes. Also, anyone using the Levure framework to build Universal apps with LC 9.6.9?

LC on Sonoma beta

2023-07-26 Thread Marty Knapp via use-livecode
Anyone have any input regarding LC apps running on the Apple Sonoma beta? I have not installed it but have some customers who have and saying my app crashes. Also, anyone using the Levure framework to build Universal apps with LC 9.6.9? Thanks for any input --- Marty Knapp ___

Re: Determine the screen DPI

2023-07-26 Thread Bob Sneidar via use-livecode
Yes, and that is what I did eventually. What I decided to do at any rate is assume 110 PPI for MacOS and 96 PPI for Windows. Not sure what Linux is or if there is anything such as a standard. My goal is to create a popup menu for selecting stack/card size when creating a new stack. Bob S >

Re: charIndex property

2023-07-26 Thread Paul Dupuis via use-livecode
On 7/26/2023 1:13 PM, Bob Sneidar via use-livecode wrote: OIC what that does. I suggest having a hidden field, setting the text of that field to your variable, then operating on that field. Bob S That is what I am currently doing. And I have a hidden field, hidden image, hidden player - all

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 use

Re: Determine the screen DPI

2023-07-26 Thread Bob Sneidar via use-livecode
NVM. Apparently it depends on several things, including manufacturer, OS, scaling etc. Bob S > On Jul 26, 2023, at 11:23 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I am trying to convert size in inches to size in pixels given a certain > monitor in use. To do that I need to

Determine the screen DPI

2023-07-26 Thread Bob Sneidar via use-livecode
Hi all. I am trying to convert size in inches to size in pixels given a certain monitor in use. To do that I need to obtain the DPI of the current monitor. So for example let’s say I want to set the card size to 4x6 in inches. The monitor may be 72 dpi, 96 dpi or something else depending on the

Re: charIndex property

2023-07-26 Thread Bob Sneidar via use-livecode
OIC what that does. I suggest having a hidden field, setting the text of that field to your variable, then operating on that field. Bob S > On Jul 26, 2023, at 10:06 AM, Bob Sneidar via use-livecode > wrote: > > Offset? > > Bob S > > >> On Jul 26, 2023, at 10:02 AM, Paul Dupuis via use-l

Re: charIndex property

2023-07-26 Thread Bob Sneidar via use-livecode
Offset? Bob S > On Jul 26, 2023, at 10:02 AM, Paul Dupuis via use-livecode > wrote: > > If I have some text in a field, I can use the "charIndex" property (see > Dictionary) to obtain teh character position of the first character of a > chunk. > > For example, if the field contains: > > T

charIndex property

2023-07-26 Thread Paul Dupuis via use-livecode
If I have some text in a field, I can use the "charIndex" property (see Dictionary) to obtain teh character position of the first character of a chunk. For example, if the field contains: The quick brown fox jumps over the lazy dog. The lazy dog was named "Oz". The lazy dog was a great dog.

closeStackRequest resolved

2023-07-26 Thread Bob Sneidar via use-livecode
Hi all. FYI I've struggled a long time to try and figure out why I get the Save Stack dialog when I clicked the close window button and before my own closeStackRequest got a chance to auto-save the stack. The reason I want to do auto-save is that all my standalones use a splash stack that then

Re: Which Livecode/Xcode/macOS/iOS version

2023-07-26 Thread Bob Sneidar via use-livecode
+1 A lot of support sites are like that. You cannot find anything unless you know where to look, and if you know that, you probably don’t need to find it. :-) One of my pet peeves is searching for something on a support site and getting 1000 entries, none of which have anything to do with what

Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-07-26 Thread Ben Rubinstein via use-livecode
Oooh - I hadn't spotted that. (With only a little bit of fear) I'll venture back into 10dp5 and turn that off. Thanks Geoff! On 26/07/2023 03:49, Geoff Canyon via use-livecode wrote: So, not to be too much of an apologist, but the issue doesn't seem like a showstopper to me. On Tue, Jul 25, 20