Re: autohilite FUBAR?

2021-04-03 Thread Jim Lambert via use-livecode
Richard, On Mac when I hold the mouse down on a LC button, I can move the cursor around within the button and the button remains hilited. As soon as the cursor exits the button the hilite disappears. To me this is the desired behavior one should see on all platforms. Jim Lambert

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Jim Lambert via use-livecode
Good suggestions. Thanks, all. Commenting out the answer command makes no difference. I quit LC and now cannot reproduce the behavior as it is intermittent. Next time it happens I'll try Scott's suggestions with the Tool Palette. Thanks, Jim Lambert

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Jim Lambert via use-livecode
Actually I'm not entirely crazy. Here is a MOV showing the anomalous behavior of mouse events executing even when the Pointer Tool is active. https://netrin.on-rev.com/videos/lc_select_issue.mov This is intermittent. I don't have a

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Jim Lambert via use-livecode
I wrote: > Every time I click on a button in the IDE with the pointer tool in order to > select and, say, move it, I'd prefer if the mousedown/up scripts didn't fire > off because I'm editing the UI not running it. Nevermind. Those scripts are not firing when using the pointer tool. I'm

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Jim Lambert via use-livecode
> Paul wrote: > > This is not a bug, but a feature. Our app contains a specialized network > drawing tool and we switch to the pointer tool to allow the user to > interact with drawn objects I'd respectfully suggest that is a fringe use case when compared to authoring in the LC IDE. Every

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Jim Lambert via use-livecode
> Klaus wrote: > when the pointer tool is active, "mouseenter" and "mouseleave" > handlers are executed nevertheless!? > > I don't this this is correct behaviour! I agree. When the pointer tool is selected in the IDE one is supposedly in Editing Mode. To have code execute when you simply enter

Re: New(?) Idea for Standalones

2021-03-28 Thread Jim Lambert via use-livecode
> Richard G. wrote: > > I raise my whiskey > to toast your whisky. Sláinte! JIm Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Multidimensional array issue

2021-03-10 Thread Jim Lambert via use-livecode
This is a very interesting discussion of LC arrays. But back to the original post: > HENRY LOWE wrote: > > I am using multidimensional arrays to process data read from JSON files. > Some of the data in the JSON files can be represented in alternative forms in > files from different sources. >

Re: Did I dream this ?

2021-03-05 Thread Jim Lambert via use-livecode
They would be handy properties. But in the meantime try this behavior: getProp xLoc return item 1 of the loc of me end xLoc getProp yLoc return item 2 of the loc of me end yLoc After assigning the behavior to any object you

Re: LC Roadmap

2021-02-15 Thread Jim Lambert via use-livecode
> Andre wrote: > > LC is a small company regardless of how much we love them. They can't provide > solution to all our needs. It is not because they don't want to, they have > limited resources. We can't treat LC as we treat Apple or Microsoft. So true. I absolutely marvel at how much the

Re: MP3 ID3 tag writer

2020-11-24 Thread Jim Lambert via use-livecode
Thank you for this, Matthias. Danke sehr. Jim Lambert > Matthias wrote: > > Re: MP3 ID3 tag writer > I just noticed, that the files are not available anymore. > > I've uploaded a zip archive of those files here > > https://dl.qck.nu/?dl=MarkSmith.zip > >

Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Jim Lambert via use-livecode
Klaus, Would this help you? https://zxing.org/w/decode.jspx Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Design Question

2020-11-17 Thread Jim Lambert via use-livecode
> The application's core is access to Earth data (that scientists used to > develop the theory of plate tectonics) and capturing and annotating plots > that can be incorporated into student writing. If the 'student writing' is created in some other program then wouldn't it be sufficient to

Re:TIL: JSON validator

2020-10-01 Thread Jim Lambert via use-livecode
Mark, Thanks for those useful links. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Possible : stack with transparent backgound?

2020-09-11 Thread Jim Lambert via use-livecode
Here's an example: go stack url "https://netrin.on-rev.com/misc/TransparentStack.livecode; JimL ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Possible : stack with transparent backgound?

2020-09-11 Thread Jim Lambert via use-livecode
> DavidB wrote: > > the text and some other elements to be visible but the stack background to > be transparent Start with a card having a field and a button. 1. Create a GRC retangle the same rect as the card. 2. Set its opaque to false. 3. Set its linesize to 0. 4. Send it to back. 5.

Re: Cross Platform Font Layout

2020-08-25 Thread Jim Lambert via use-livecode
Sean wrote: > Jim, > > You might want to give me more time for this kind of testing Granted! I give you all the time in the world. > and have a word with my clients to ensure this. Ah sorry, can't help there, for that would be your job when responding to requests for proposals. Jim Lambert

Re: Cross Platform Font Layout

2020-08-25 Thread Jim Lambert via use-livecode
> Sean wrote: > > So, after developing at a stupid rate, 12 solid 14-18hr days, we have the > finished app ... ready for deployment out to Mac and PC. Tick the boxes in > the standalone settings, build and open in their respective platforms. > > Only to find that everything you had laid out

Re: Browser Widget and Twitter on iOS 13

2020-08-15 Thread Jim Lambert via use-livecode
Ralph, Thanks for that switch statement. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: ProtonMail vs Apple

2020-08-10 Thread Jim Lambert via use-livecode
Yes, Apple's approach is very proprietary. But it is simply not monopolistic. Apple does not have a monopoly on smartphones or smartphone OSes. What they do have is a very strict proprietary control of their products. Some argue an overly strict control of their products. I like my Rolls Royce

Re: ProtonMail vs Apple

2020-08-08 Thread Jim Lambert via use-livecode
BrianM wrote: > One thing that seems to be missing in this discussion is the point of view of > the ?client?, the one who downloads the app and pays for it True. In the U.S. the laws against monopoly (the Sherman Act of 1890, the Clayton Act of 1914 and the Federal Trade Commission Act of

Re: ProtonMail vs Apple

2020-08-07 Thread Jim Lambert via use-livecode
"A monopoly refers to when a company and its product offerings dominate a sector or industry. Monopolies can be considered an extreme result of free-market capitalism in that absent any restriction or restraints, a single company or group

Re: ProtonMail vs Apple

2020-08-04 Thread Jim Lambert via use-livecode
That article is an interesting read. Still these two sentences: Apple is using its monopoly to hold all of us hostage Apple’s iOS controls 25% of the global smartphone market (the other 75%, is largely controlled by Google’s Android). are self contradictory. By definition a company with 25% of

Re: [ANN] Release 9.6.1 RC-1

2020-07-30 Thread Jim Lambert via use-livecode
LC Team, Thanks for this release. FYI. I noticed something I hadn’t seen before when installing earlier LC releases on OSX. I was unable to mount "LiveCodeBusiness-9_6_1_rc_1-Mac.dmg” because a LC resource was in use. Fix. Quit any open LCs first, then mount the dmg. Jim Lambert

Re: Object naming

2020-07-28 Thread Jim Lambert via use-livecode
Zanzibar Buck-Buck McFate was my lawyer. One day I asked if I could call him Zanz. He said, “Nah. Just call me Dave!” Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Is "import snapshot" without parameters broken?

2020-07-25 Thread Jim Lambert via use-livecode
Brian, Import Snapshot sans parameters works fine for me in LC 9.6.0 on macOS 10.15.5 Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: tsnetGetFile() example using HTTP?

2020-07-18 Thread Jim Lambert via use-livecode
Phil, Here’s some info on tsnet https://www.techstrategies.com.au/tsnet-resources/ Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: [off-topic-ish] do you prefer LC-related content as books or video courses?

2020-07-08 Thread Jim Lambert via use-livecode
Hi André, I previously always favored printed books. But now I prefer digital materials that are a combination of text (with copiable code!), interactive elements, and supplementary video. As Richard pointed out LC itself provides "the many learning benefits of direct engagement with

Platform Divergence

2020-06-23 Thread Jim Lambert via use-livecode
This year’s WWDC shows Apple is moving to a unified ‘system' for all their products: Mac, iPhone, iPad, Apple Watch, AppleTV. The Apple development environment promises to produce a single app capable of running on all, or almost all, of Apple devices. This unification promises to be quite

Re: Unicode and languages

2020-06-06 Thread Jim Lambert via use-livecode
Not LC native but take a look at Google Translate API

Re: Scrolling jitter

2020-06-05 Thread Jim Lambert via use-livecode
Clearly jitterbugs! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: upcoming online conferences

2020-05-10 Thread Jim Lambert via use-livecode
Mark, Thank for the links and for the Machine Learning intro link. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Counting unique items in a file

2020-04-28 Thread Jim Lambert via use-livecode
function getUniqueNames inData,pColumn split inData by column split inData[pColumn] by return and return combine inData[pColumn] by return and space return inData[pColumn] end getUniqueNames Jim Lambert ___

Re: MP3s

2020-04-13 Thread Jim Lambert via use-livecode
> Richard wrote: > > I miss the simplicity of delivering true stand-alone apps, but with so > many of the most lauded features of LC 8-and-later having been > implemented as externals, adding some media files to the mix doesn't > affect deployment options much. I suppose one could store the

Re: use-livecode Digest, Vol 198, Issue 20

2020-03-18 Thread Jim Lambert via use-livecode
> We are all sorted now. > > Best Regards, > > Heather Thanks, Heather and Team! Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Happy 2020!

2020-01-01 Thread Jim Lambert via use-livecode
Have a Happy LiveCode New Year! Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Setting hidden of lines very slow

2018-12-08 Thread Jim Lambert via use-livecode
> So I am looking to hide any line that contains no textcolor anywhere. You might save into a variable the HTMLTEXT of all the lines that contain the textcolor. Also save the HTMLTEXT of the whole field into another variable. Then in a blink of an eye you can instantly switch between the entire

Re: Will it ever be possible place controls over browser widget?

2018-10-05 Thread Jim Lambert via use-livecode
> Herman wrote: > > See my demo here: > > http://forums.livecode.com/viewtopic.php?p=152773#p152773 > > > Overlays the widget while this plays a video. So floating a second stack over the browser as I suggested does work and is

Re: Will it ever be possible place controls over browser widget?

2018-10-05 Thread Jim Lambert via use-livecode
> Herman wrote: > > See my demo here: > > http://forums.livecode.com/viewtopic.php?p=152773#p152773 > > > Overlays the widget while this plays a video. So floating a second stack over the browser as I suggested does work and is

Re: Will it ever be possible place controls over browser widget?

2018-10-04 Thread Jim Lambert via use-livecode
> Does anyone know if it will ever be possible to place controls on > layers above a browser widget? I don’t know if that is in the works or when it may be available. But you might be able to kludge it now on desktop: 1- place the control (say, a button) that you want to position within the

Re: [ANN] animationEngine is free now

2018-09-28 Thread Jim Lambert via use-livecode
Malte, Best of luck! AE was and is a wonderful tool. Viele Danke, Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Being stupid for a change

2018-09-09 Thread Jim Lambert via use-livecode
Richmond, you’re not stupid, just ‘clude’-less. ;) Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: use-livecode Digest, Vol 180, Issue 17

2018-09-08 Thread Jim Lambert via use-livecode
> MarkR wrote: > > Can LiveCode communicate with Bluetooth devices? There is an extension that comes with an Indy/Business license. mergBLE From the Dictionary: "mergBLE is a LiveCode external for iOS and OS X that enables CoreBluetooth (BLE) functionality. You can use the external to discover

Re: This is disturbing!

2018-09-07 Thread Jim Lambert via use-livecode
> Bob S wrote: > There is already a string keyword. > True. ‘Stringify()’ or ‘’evaluateAsString()’ It’s easy enough to write a function to force string comparisons for those rare edge cases like "6. " is equal to "6.” where the engine automatically converts the strings to numbers.

Re: This is disturbing!

2018-09-06 Thread Jim Lambert via use-livecode
> RichardG wrote: > Any suggestions for a new operator token to specify numeric equivalence? Or maybe to specify string equivalence. > Did anyone know that "6. " is equal to "6."??? string( "6. “) is not equal to string( "6.”) where the function string() would tell LC not to try to

Re: This is disturbing!

2018-09-06 Thread Jim Lambert via use-livecode
> Did anyone know that "6. " is equal to "6."??? It’s somewhat similar to value(“h “) is equal to value(“h”), while “h “ is not equal to “h”. I’m not disturbed but appreciative that the engine tries to convert both sides to numbers when doing a comparison. Just must remember

Re: ANN: LC Documentation Cache Cleaner

2018-09-03 Thread Jim Lambert via use-livecode
Mark, Very handy! Thanks, Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [OT] Accommodation in Edinburgh

2018-09-01 Thread Jim Lambert via use-livecode
> Hugh wrote: > We are (finally!) taking a week's holiday north of the border and want to > visit Edinburgh 10-15 September. > Any hotel recommendations? Does not have to be in the city centre! > These are not hotels. But we have stayed at both of these charming apartments. Hidden Glen was

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Jim Lambert via use-livecode
> I wrote: > > Then there is also this repeat-less approach using arrays and filter: > function findWordOffsets pText, pSearchTerm > put replaceText(pText,"\W+"," ") into pText > split pText by space > combine pText with cr and tab > filter pText with "*" & tab &

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Jim Lambert via use-livecode
> On 30/08/2018 10:24, Keith Clarke via use-livecode wrote: >> Folks, >> Is there a single-pass mechanism or more efficient way of returning the >> wordOffset of each instance of ?the? in ?the quick brown fox jumped over the >> lazy dog? than to use two passes through the text? Then there is

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-21 Thread Jim Lambert via use-livecode
A shootout between FSM vs. scripted resizing might make a good LC Global presentation. The pros and cons of each. Cases where one may be better than the other. Etc. Examples. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: drawing a Barcode without a Barcode font

2018-07-23 Thread Jim Lambert via use-livecode
> Matthias wrote: > > If we print the labels with a thermo printer (203 dpi) then the code cannot > be scanned with the values i posted before. > We had set the line thickness of the rectangles to 0 and had to increase the > width of the black bars and decrease the width of the clear ones. I

Re: Regex (matchChunk) help...

2018-06-15 Thread Jim Lambert via use-livecode
Building on what Mark Wieder elegantly wrote: > MarkW wrote: > > filter lotsOfText with "*selkirkst*skyrider1*” function extractStrings lotsOfText, startWord, endWord replace cr with space in lotsOfText -- Makes sure lotsOfText is just a single line replace startWord with cr

Re: Rotating PNG images

2018-03-05 Thread Jim Lambert via use-livecode
With the added WAIT this is a bit more fun to look at. And it checks for angles > 32767. You get an error if you set the angle of an image to greater than 32767. local ang on spin repeat forever add 13 to ang if ang > 32767 then beep put 0 into ang end if

Re: Rotating PNG images

2018-03-05 Thread Jim Lambert via use-livecode
Richmond wrote: > LiveCode is incapable of rotating anything other than SVG images > without a bad case of the "jaggies". RichardG wrote: > have you tried setting the angle property instead? Richmond wrote: > I set the angle on PNG images and they deteriorate. I find that rotate

Re: LC-Magick #11

2018-02-14 Thread Jim Lambert via use-livecode
The LC-Magick Collection is very useful and instructional. Herman et al, Thank you so much for this. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: [ANN] Release 9.0.0 DP-11

2017-12-22 Thread Jim Lambert via use-livecode
Nice release! For anyone playing with the new MAP widget, the dictionary entry for regionChanged states: on regionChanged UpdateCoordinateDisplay the centerCoordinate of the target end regionChanged command UpdateCoordinateDisplay pCenter put item 1 of pCenter into field "latitude"

Re: Copying text in boxes to clipboard

2017-12-08 Thread Jim Lambert via use-livecode
Jacque's suggestion for PDF printing is excellent. That will get you a file. But you mentioned you want this to end up on the clipboard for pasting into other programs. > Dunbarx wrote: > I did a quick test using the "import snapshot" command, and pasted the > result into another app. It seems

Re: sync LC applications

2017-11-25 Thread Jim Lambert via use-livecode
> Paolo wrote: > > I went through this tutorial about push notifications > ... > According to some comments, this technique is is out of date now, because > C2DM has been officially deprecated as of June 26, 2012. Wouldn’t it be nice if the lessons and any other coding examples posted by the

Re: sync LC applications

2017-11-16 Thread Jim Lambert via use-livecode
> Paolo wrote: > what?s the best way to sync several LC applications installed on many > different devices? > For example, consider having 100 smartphones connected to internet running > the same LC application, how can I send a signal/command so that an image > shows up at the same time

Re: Was I hallucinating? Totally OT, perhaps relevant

2017-11-08 Thread Jim Lambert via use-livecode
RichardG wrote: > > But there's no question that all voice-activated systems (Apple's Siri, > Amazon's Alexa, Microsoft's Corana, Google's voice navigation) must > listen at all times in order to be able to know when you call them by > name. > True. > It wouldn't be possible for them to do

Re: The coming of SVG

2017-11-08 Thread Jim Lambert via use-livecode
Viewer +1 Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: The coming of SVG

2017-11-05 Thread Jim Lambert via use-livecode
FRAME would be good except it is already defined in the Livecode Dictionary as: 'One of the images in the sequence of images that makes up an animation or video.’ And there’s also framecount and framerate relating to animated GIFs. Presumably some video widgets would also refer to movie frames,

Re: The coming of SVG

2017-11-03 Thread Jim Lambert via use-livecode
I like Mark's ‘picture' because it is general. A picture can contain both vectors and bitmaps. Any word with ‘icon’ in it seems overly specific as does ’SVG’-anything; while ‘vectorimage’ implies an image made up of vectors. set the filename of pct 1 to ‘blah blah.blah’ Jim Lambert

Re: results of SPLIT when keys not unique

2017-11-03 Thread Jim Lambert via use-livecode
> Monte wrote: > > Perhaps something like: > > split by and [{replacing | > splitting | ignoring} duplicates] Yes. +1 Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: how to split a list in two directions?

2017-10-28 Thread Jim Lambert via use-livecode
> Tiemo wrote: > > I have a delimiter separated list of two columns, first column is an ID, > second column a name. > > I need two arrays of this list, one with the first column (ID) as the key > and one with the second column (name) as the key. > > With split myArray by CR and ";"I get the

Re: Should engine be applying link or metadata to an LINEFEED (LF) character?

2017-10-25 Thread Jim Lambert via use-livecode
I wrote: put LF into char 15 of line 1 of fld 1 Oops, that should read: put LF into char 15 of fld 1 Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Should engine be applying link or metadata to an LINEFEED (LF) character?

2017-10-25 Thread Jim Lambert via use-livecode
If you put LF into char 15 of line 1 of fld 1 the appearance of Fld 1 doesn’t change, neither does its the htmltext. Yet the result of running your script does change. You only get ’10’ and no metadata after substituting a LF for a LF in char 15. Jim Lambert

Re: Should engine be applying link or metadata to an LINEFEED (LF) character?

2017-10-25 Thread Jim Lambert via use-livecode
Trevor wrote: > > ... > This is line > 1 > This is line 2 > > … > > set the htmltext of field 1 to the clipboarddata > put 15 into tChar > put charToNum(char tChar of field 1) & cr & the metadata of char tChar of > field 1 As you noted, one gets: 10 90660 Now select before char 1 of line 2

Re: Resizing stack window by scaling

2017-10-23 Thread Jim Lambert via use-livecode
RichardG wrote: > One curiosity, though: what computers offer the 1536x864 resolution that > apparently 5.48% of users are running? I can't recall even seeing that > resolution in any spec listings. A Windows thing?

Re: Resizing stack window by scaling

2017-10-22 Thread Jim Lambert via use-livecode
> RichardG wrote: > > With monitors, 1366x768 screens are by far the most common, the second > leading size only a bit more than half as popular, and it's a long tail > of single-digit market share from there: > > 1366x768: 29.87% > 1920x1080: 16.69% > 1440x900: 6.86% > 1600x900: 5.81% >

Re: [OT] Myst and The Manhole

2017-10-20 Thread Jim Lambert via use-livecode
Last year my wife and I visited Meow Wolf’s House of Eternal Return. It was clear there was a Myst-like puzzle at the heart of it. But we didn’t bother much trying to figure it out. It was just splendid fun to walk, dash, crawl, slide and climb through the wacky spaces. Even 67 year olds can get

Re: is a date

2017-10-15 Thread Jim Lambert via use-livecode
Roger wrote: > > put "11/20/2017" is a date > returns true > > put "10" is a date > returns true > > put "raccoon" is a date > returns false > > > WHY is "10" seen as a date? Because it is legitimately a date expressed in seconds? convert 10 to long date = Wednesday, December

Re: not really OT: The Coming Software Apocalypse

2017-10-04 Thread Jim Lambert via use-livecode
> Richmond wrote: > > once a system constructed by humans reaches a certain level of complexity > those humans are unable to predict how it will behave in certain > circumstances. And sometimes we’re unable to explain WHY a system behaved as it did, which is increasingly common with certain AI

Re: A modest proposal for a new property

2017-09-27 Thread Jim Lambert via use-livecode
> Herman wrote: > > Make a circular arc showing 70% of a pie and then tell us when clicking > into the oval which part is hit, the 70% or the transparent 30%. > > A one-liner? Here’s a kludge. But it’s no one liner. It takes a few milliseconds depending on size of the graphic. on mouseUp

Re: Scrolling Groups on Mobile - Show a little of what is below

2017-09-21 Thread Jim Lambert via use-livecode
Some mobile UI’s, when first showing a scrolling list that extends below the visible area, will slightly “bounce” the list contents up then back down. This does double duty. It briefly reveals the hidden content and indicates that the list is scrollable. And it works regardless of screen

RE: TSNet error 6

2017-09-02 Thread Jim Lambert via use-livecode
RalphM wrote: > The first thing I do before any network access is to ping my server with a > https request to a LC backend server script that returns "OK". I set the > timeout for 2 seconds. If the returned data is not "OK" or take more than 2 > seconds then I put the app into off-line mode. On

Re: [OT] Hello World

2017-09-01 Thread Jim Lambert via use-livecode
Richmond, Congratulations on your Hello World article. Very nice. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LC and Google Analytics?

2017-08-29 Thread Jim Lambert via use-livecode
Perhaps a widget could encapsulate the Google Analytics SDK. Alternately just using their regular API calls might work too. LiveCode Connect is all about API interfacing. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: slow listserv

2017-08-29 Thread Jim Lambert via use-livecode
I wonder if the Texas flooding affected it. Swimming increases latency. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-28 Thread Jim Lambert via use-livecode
RichardG wrote: > >> I have used cantSelect before to stop selection of a background image >> that has lots of objects on top. It means you can drag select them and >> won?t accidentally click-drag and move your background. > > How? Disable it in addition to setting the cantselect. Jim

Re: CouchDB, DayBed, etc.

2017-08-23 Thread Jim Lambert via use-livecode
Alex, > local storage, and that data is subsequently > synched to "the cloud” You might want to take a look at Mark Talluto’s LiveCloud. http://livecloud.io And I agree Greg's Daybed library and CouchDB course are very good. Jim Lambert ___

Re: Forum: Waves of Russian Nonsense

2017-08-14 Thread Jim Lambert via use-livecode
> Klaus wrote: > > I deleted the 49 slavic spam postings manually a couple of minutes ago… Спасибо ;) Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Web vs Native (was Re: HTML5 limitations?)

2017-07-29 Thread Jim Lambert via use-livecode
On 7/28/17 1:14 PM, Mark Waddingham via use-livecode wrote: > > I think the first thing we would need would be builtin > gesture support. In this case, this isn't even 'a gesture has happened' > but 'it looks like a swipe is just starting' (I think at least). e.g. > swipeBegin / swipeContinue

Swipe transitions

2017-07-19 Thread Jim Lambert via use-livecode
It would be cool if LiveCode could tap into underlying OS animation functions. For example, at WWDC 2017 Apple showed how UI KIT can support interactive and interruptible animations. These are very handy for doing smooth and interactive transitions. LiveCoders are used to building things like

RE: intersect . . . invisible images

2017-07-17 Thread Jim Lambert via use-livecode
> Richmond wrote: > > all the cheap American series... Oh, and, inevitably "Mission Impossible”. Yesterday the actor Martin Landau, who appeared in that show, died at the age of 89. Jim Lambert ___ use-livecode mailing list

Re: Verbosity and Lines of code

2017-06-30 Thread Jim Lambert via use-livecode
> RICHARDG wrote: > > This would allow us to exit a specific loop when loops are nested. > > I can't recall the specifics of his proposed syntax, but I remember > being impressed by how natural it seemed. Maybe it was along the lines of: > > repeat with i = 1 to tSomething named

Re: synonyms

2017-06-26 Thread Jim Lambert via use-livecode
OOOPS! I left out an important word Then simply set the icon of each to the ID of the appropriate image. should read Then simply set the icon of each BUTTON to the ID of the appropriate image. JimL ___ use-livecode mailing list

Re: synonyms

2017-06-26 Thread Jim Lambert via use-livecode
> BobS wrote: > > For the record, I have given up on my Object Library. The problem is buttons. > Button can have icons. That means that I would need to copy all the linked > icons along with the button, then manage the relinking of the copied icons > that now have their own ID's, then manage

Re: RIP Dan Shafer

2017-06-22 Thread Jim Lambert via use-livecode
But Dan’s excellent work lives on. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Global - my experience

2017-06-18 Thread Jim Lambert via use-livecode
> Alex Tweedly wrote: > > the replay link gives you a web page showing the video and the scrolling > 'chat' alongside it. The video responds *only* to "pause" (and then to > "play") - there's no > - rewind (say 30 seconds) if you got distracted > - fast forward / backward > - go directly to

Re: "clipsToRect" property

2017-06-14 Thread Jim Lambert via use-livecode
‘Visible rectangle’ I can see that. ;) Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)

2017-06-13 Thread Jim Lambert via use-livecode
or ‘Clip Group to rect’ Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)

2017-06-13 Thread Jim Lambert via use-livecode
Group crops to rect > Jacque wrote: > I agree with the concept in general, but the word "crop" implies permanent > removal. When you crop an image, it permanently erases the parts outside the > rectangle. Unfortunately I can't think of a better term. Maybe something like > "prevent

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Jim Lambert via use-livecode
> Jacque wrote: > I've done this often, it's a nice clean solution. And now that we can > set tabstops to 0, the second item won't be visible whether there's a > horizontal scrollbar or not. That’s right! tabwidths are handy for this hiding too. But I realized Tiemo might not even need to

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Jim Lambert via use-livecode
Tiemo, > I have a list field of words and a correspondent array with the words of the > field as the keys plus some data per key. I can store the array in a file, > read it later from file and rebuild the list of words from the keys of the > array. Up to now, I had this list of words

Re: looking for a smart approach to "sort" an array

2017-05-05 Thread Jim Lambert via use-livecode
Might a numbered array work for you, where the key corresponds to the line number? [1][theWordonLineOne][otherData] [2][theWordonLineTwo][otherData] Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: mouseMove & backgoundBehavior

2017-04-27 Thread Jim Lambert via use-livecode
RichardG wrote: > when you set the backgroundBehavior of a group to true... that group's script > then occupies a different > place in the message path, between the card and the stack Ah, yes, the light dawns - the message path. Because LC ‘backgrounds” can be smaller than the card, checking the

mouseMove & backgoundBehavior

2017-04-26 Thread Jim Lambert via use-livecode
Make a group that is smaller than your card. Place this in the group’s script: on mousemove newMouseH, newMouseV put newMouseH, newMouseV end mousemove When the cursor moves around within the group the current mouseLoc is put into the message box. When the cursor

Re: Import or export snapshot at current scaleFactor

2017-04-05 Thread Jim Lambert via use-livecode
Terry, Try this import snapshot from ObjRef at size (the width of ObjRef * scaleBy),(the height of ObjRef * scaleBy) Where ObjRef is the object whose snapshot you want to import and scaleBy is the scaling factor. So something like: import snapshot from grp 1 at size (the

  1   2   >