Re: OT: Idiot UX

2018-01-17 Thread Peter Bogdanoff via use-livecode
Bad design? NO design! > On Jan 16, 2018, at 4:23 PM, Mark Wieder via use-livecode > wrote: > > https://boingboing.net/2018/01/16/bad-design-this-is-the-menu-w.html > > From the comments: > > * Acronym stew > * Not alphabetized > * No clear separation between

Re: Script editor won't compile

2018-01-03 Thread Peter Bogdanoff via use-livecode
to Mac? TextEdit was able to fix the text so that the Mac text editor could read it. Peter > On Jan 3, 2018, at 10:28 PM, Peter Bogdanoff via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi, > > LC 8.1.7 Windows > LC 9.1.7 Mac > > I worked o

Script editor won't compile

2018-01-03 Thread Peter Bogdanoff via use-livecode
Hi, LC 8.1.7 Windows LC 9.1.7 Mac I worked on a card script in Windows (using Parallels), copied that script, and went to the Mac version, pasted it in the script window. It saves, but won’t compile. My various handlers don’t show on the left panel and clicking Apply doesn’t do anything. And

Re: lineHeight different Mac vs. Windows

2018-01-01 Thread Peter Bogdanoff via use-livecode
; <use-livecode@lists.runrev.com> wrote: > > I wonder if you could figure out a general ratio for the size difference and > adjust the width of the field to correct the text wrap on Windows. That's > about all I can think of. > > On 1/1/18 5:04 PM, Peter Bogdanoff via

Re: lineHeight different Mac vs. Windows

2018-01-01 Thread Peter Bogdanoff via use-livecode
/18 2:39 AM, Peter Bogdanoff via use-livecode wrote: >> My page layout is fixed — no user settings of font face or size. Also the >> card height doesn’t have room for text fields to get taller. And there was >> the design decision not to show scroll bars. >> Text also often ha

Re: lineHeight different Mac vs. Windows

2018-01-01 Thread Peter Bogdanoff via use-livecode
. Peter > On Dec 31, 2017, at 2:36 PM, Warren Samples via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 12/31/2017 03:11 PM, Peter Bogdanoff via use-livecode wrote: >> text sometimes flows off the bottom of the field. Changing the font size is >> too ex

lineHeight different Mac vs. Windows

2017-12-31 Thread Peter Bogdanoff via use-livecode
Hi, I thought I would bring this to the attention of the LiveCode team. I filed a bug on 2016-05-22 Bug 17707 - Line height different Mac vs. Windows in fields with fixedLineHeight set to false EXPECTED RESULT: I would have expected to see the line height of a field with fixedLineHeight set

Re: preloading an mages dimensions

2017-12-28 Thread Peter Bogdanoff via use-livecode
Hi Nick, Look in the dictionary for formattedWidth formattedHeight Peter Bogdanoff > On Dec 27, 2017, at 9:02 PM, Nicolas Cueto via use-livecode > wrote: > > Before setting the filename of an image object, how do I get the original > dimensions of an image

Re: Resizing stack window by scaling

2017-10-20 Thread Peter Bogdanoff via use-livecode
Marty, Thanks, that seems to be a good idea. I don’t have option menus, and I could reset the window position after the scaling. Peter > On Oct 20, 2017, at 4:11 PM, Marty Knapp via use-livecode > wrote: > > Hi Peter, > I was faced with the same issue and for

Resizing stack window by scaling

2017-10-20 Thread Peter Bogdanoff via use-livecode
Hi, I’m needing to allow the user resize a stack window using scaleFactor and am needing advice about interface. First of all, I see that some Livecoders are using scripts to scale controls and text when the user drags the stack size larger or smaller. In my case, there are too many controls

Re: Ethereal Breakpoints

2017-07-21 Thread Peter Bogdanoff via use-livecode
On Mac, you never know for sure if a BP will trigger. Then you may also see spurious BPs listed in the Breakpoints tab below, or in the script above. Peter Bogdanoff > On Jul 21, 2017, at 2:31 PM, Ralph DiMola via use-livecode > wrote: > > Interesting, I

Re: Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Thierry, I ended up using your first Regex example—works great! It is very good to know about \p{} matches—everything from Arabic to Yi. That may come in handy later. Thanks, Peter > On Jul 17, 2017, at 8:54 PM, Thierry Douez via use-livecode > wrote: > >

Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Is there a easy way to do this?: Given this htmlText that may contain Chinese characters and/or some horizontal tabs— I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the “#” and the “;” Only data containing 5 numbers between the “#” and the

Livecode Soraco

2017-07-15 Thread Peter Bogdanoff via use-livecode
Hi all, I’m investigating the use of software license protection, and a particular service, since it seems to have most of the features that I need in my desktop app—protection, license management, integrating with WooCommerce, etc. https://soraco.co/quick-license-manager/

Re: Mobile Check Bandwidth Function

2017-07-02 Thread Peter Bogdanoff via use-livecode
lan) but I can do everything if > I am in proximity of our wifi, so for android I can just turn off wifi and > the phone is "off line" for sure, but iOS? > > > BR > > > > > On 7/2/17, 4:44 PM, "use-livecode on behalf of Peter Bogdanoff via > us

Re: Mobile Check Bandwidth Function

2017-07-02 Thread Peter Bogdanoff via use-livecode
I’m also very interested in this. I’m thinking that it might be possible to use a LC-only method: 1. A player control starts downloading a known-size media file. 2. The player reports when its is no longer “loading,” then you calculate the data rate based on the elapsed time. (In LC for

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Peter Bogdanoff via use-livecode
Try— put your text into tText, then repeat forever if offset("[",tText) is not empty then delete char (offset("[",tText)) to (offset("]",tText)) of tText else exit repeat end repeat On May 9, 2017, at 8:54 PM, Peter Bo

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Peter Bogdanoff via use-livecode
use offset. Peter On May 9, 2017, at 8:41 PM, Nicolas Cueto via use-livecode wrote: > Given this snippet... > > --- > CANTO XXXIV > CÍRCULO IX: TRAIDORES. > «Vexilla regis prodeunt[307] del Abismo > hacia

Re: http calls blocked by virus protection?

2017-05-05 Thread Peter Bogdanoff via use-livecode
Thank you all; this gives me a start! Peter > On May 5, 2017, at 8:02 AM, Trevor DeVore via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On Thu, May 4, 2017 at 11:06 PM Peter Bogdanoff via use-livecode < > use-livecode@lists.runrev.com> wrote: >

http calls blocked by virus protection?

2017-05-04 Thread Peter Bogdanoff via use-livecode
Hi, I have a user who seems to have a good Internet connection, but my Livecode application can’t connect to a remote server using http. He’s on Windows. Is it possible that some virus protection software blocks such connections? He’s an older user, far away, and I really don’t know what he

Speed test in LC application

2017-04-26 Thread Peter Bogdanoff via use-livecode
Hi, I’m sometimes having trouble with my application downloading audio and image files from a remote server when they are requested. I’m thinking of adding some diagnostic tools to the application to see what is going on and I would like to know if anyone has experience with this and can give

Re: Standard icons included in standalone

2017-04-20 Thread Peter Bogdanoff via use-livecode
the button and click on the icon tab of the > property inspector and click on an icon, the usual dialog appears with > the Standard Icons, Standard Patterns, Metacard Icons, Metacard > Patterns, and This Stack popup options. All the icon appear to be there. > > > >> On 4/20/20

Re: Standard icons included in standalone

2017-04-19 Thread Peter Bogdanoff via use-livecode
I’m asking if Standard Icons from the Image Library are available in a standalone. I’m not seeing them show in the standalone as they do in the IDE. Peter On Apr 19, 2017, at 8:16 PM, Peter Bogdanoff via use-livecode <use-livecode@lists.runrev.com> wrote: > Hi all, > >

Standard icons included in standalone

2017-04-19 Thread Peter Bogdanoff via use-livecode
Hi all, I’m using some of the Standard Icons (button icons) in a standalone. Has there been any work to make them available in LC 8.1 +? Peter Bogdanoff ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: LC crashing when trying to save a standalone

2017-04-09 Thread Peter Bogdanoff via use-livecode
I was working on a new Mac, and had transferred the data over from an old. I had the same issue and had to delete the LC preferences to be able to make a runtime. Also, on another Mac, I sometimes get crashes when I just save a stack with a particular external hard drive attached. The drive

Re: Stack focus

2017-04-06 Thread Peter Bogdanoff via use-livecode
Yes, when I start afresh with making two stacks one with a button that goes from one stack to the other and back again, all is well. I was doing this same thing earlier, but running the script from the multi-line message box. There, of course, the focus is on the message box and stays on the

Stack focus

2017-04-05 Thread Peter Bogdanoff via use-livecode
I’m seeing this issue where going from stack “A” to stack “B” doesn’t focus on stack “B”: script: go card 1 of stack "A" go card 1 of stack “B" goes to stack “B” but its titlebar is greyed out until you physically click on stack “B.” This: go card 1 of stack "A" go card 1 of stack “B" click

Re: Mysterious customer

2017-04-04 Thread Peter Bogdanoff via use-livecode
My application is 728 high. This covers 99% of users. I know that you’re not releasing it for Windows, but there are Windows users with 11” screens. If the OS reports screen resolution < 800 I hide the Taskbar as well. Peter Bogdanoff On Apr 4, 2017, at 6:30 AM, Rick Harrison via use-livecode

Re: Script to find bottom of lowest field

2017-04-03 Thread Peter Bogdanoff via use-livecode
Yes, max and an array. Thanks Hermann!! On Apr 3, 2017, at 2:58 PM, hh via use-livecode wrote: > on mouseUp > put 20+maxbottom() > end mouseUp > > -- note: invisible or hidden fields are included > function maxbottom > repeat with i=1 to the num of fields of

Script to find bottom of lowest field

2017-04-03 Thread Peter Bogdanoff via use-livecode
Hi script wizards! I have a card containing a number of fields. I want to add another field, but position this new field to have its top 20 pixels lower than the bottom of any of the existing fields. Does anyone already have a magic script to do this? I also want to learn something new!

Re: playing multiple audio files simultaneously

2017-03-29 Thread Peter Bogdanoff via use-livecode
it until sound() = "done" with messages > > in order to avoid playing sounds simultaneously. Right? > > On 3/29/2017 2:34 PM, Peter Bogdanoff via use-livecode wrote: >> What I’m doing now is… >> I’m using the Livecode 8.1 series >> Converting my QT files to wmv and

Re: playing multiple audio files simultaneously

2017-03-29 Thread Peter Bogdanoff via use-livecode
t; discontinued for so long now. > > Do you know of anything else Peter or are we pretty much resigned to > Quicktime on the desktop for simultaneous sounds? > > On 3/29/2017 2:02 PM, Peter Bogdanoff via use-livecode wrote: >> You do have QuickTime installed on your Windows mac

Re: playing multiple audio files simultaneously

2017-03-29 Thread Peter Bogdanoff via use-livecode
You do have QuickTime installed on your Windows machine? …if you are trying to play a QT file. Peter On Mar 29, 2017, at 10:40 AM, Ray via use-livecode wrote: > I've lo0oked into playing multiple audio files simultaneously, for Windows > and Mac desktops, and

Re: Searching "teh" or tihs"

2017-03-09 Thread Peter Bogdanoff via use-livecode
hh, This looks intriguing! I’m working on a commercial project that could use this. What is your license? Peter Bogdanoff On Mar 9, 2017, at 4:26 PM, hh via use-livecode wrote: > Searching is important for your project? > Would you like to ask "Did you mean

Re: Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
v.com> wrote: >> >> I may be mistaken, but I think that script locals are accessible to a >> behavior script. If so, you could keep the script local variables in the >> card, and the handlers in a library or backscript. I will set up a test for >> that. >>

Re: Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
value" handlers, the parameters are sent directly to >>> the target handler, rather than being extracted from the string used to >>> call the handler. This negates the need to surround our parameters in >>> quotes and also allows us to pass arrays >>> >>

Re: Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
quot;value" handlers, the parameters are sent directly to > the target handler, rather than being extracted from the string used to > call the handler. This negates the need to surround our parameters in > quotes and also allows us to pass arrays > > On Thu, Feb 23,

Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
Hi, I’m reading on http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object this: put value("myFunction(hello, world)", group "myGroup" of card "myCard") into tResult I want to use a variable as a parameter instead of “hello, world” as in the page

Re: Size of Image in RAM

2017-02-07 Thread Peter Bogdanoff via use-livecode
I think I can answer the Photoshop question. It seems that 1.6 Mb size is the file size for PS to do its work in the application. If you save that file as a .psd, I suspect you’ll see a file size of 1.6 Mb. I find the Save for Web dialog (in the File>Export menu) useful. You can choose the

Re: repeated crashing on save in 8.x

2017-02-03 Thread Peter Bogdanoff via use-livecode
I have trouble with 8 crashing on save also. I found that I have an external La Cie drive that spins up on open and save activity, which is normal, but seems to cause this. When I dismount the drive, no problem. Peter > On Feb 3, 2017, at 11:26 AM, Dr. Hawkins via use-livecode >

Re: Using a variable for an array name

2017-02-01 Thread Peter Bogdanoff via use-livecode
OK, I’ll test the two methods when I get the general procedure working. > On Feb 1, 2017, at 7:52 PM, Richard Gaskin via use-livecode > wrote: > > Peter Bogdanoff wrote: > > > Richard, I’ve heard that “do” is slow because it must be compiled > > every time. I

Re: Auto scrolling a locked field when mouse comes to edge

2017-02-01 Thread Peter Bogdanoff via use-livecode
Is this an issue with “Focus with Keyboard” not checked or traversalOn not true? > On Feb 1, 2017, at 6:33 PM, David Epstein via use-livecode > wrote: > > When the mouse drags across text in an unlocked (horizontally and vertically) > scrolling field, the

Re: Using a variable for an array name

2017-02-01 Thread Peter Bogdanoff via use-livecode
Yes, “do” does it. Thank you Ralph and Bob. Richard, I’ve heard that “do” is slow because it must be compiled every time. I am reiterating this possibly hundreds of times, so it is probably much better to combine the arrays into a Big Array? Peter > On Feb 1, 2017, at 7:16 PM, Bob Sneidar via

Using a variable for an array name

2017-02-01 Thread Peter Bogdanoff via use-livecode
I have arrays: tArray1 tArray2 tArray3 tArray4 I want to get data from one of them: put “tArray” & “1” into tVar put tVar [“Text”] into tText1 tText1 is empty. Is there a way to get the data from the arrays without doing this kind of thing for each array: put tArray1 [“Text”] into tText1

Re: copyKey

2017-01-26 Thread Peter Bogdanoff via use-livecode
I think you don’t want to pass copyKey, but trap it. > On Jan 26, 2017, at 2:46 PM, Richmond Mathewson via use-livecode > wrote: > > I'm trying to disable copying from textFields throughout a stack and tried > this in > the stackScript: > > on copyKey >

<    1   2   3