Re: Audio Control on Mobile?

2022-05-16 Thread Jim Lambert via use-livecode
> Dan wrote: > My client wants to make a music playing app. Need to replicate a music > player... so, we need to keep our [custom] transport in sync with the sound. > Stop, Start, Pause, Scrub, update current time and time remaining, etc. EASY > on desktop, can't seem to do this on mobile

Re: Widget properties

2022-04-07 Thread Jim Lambert via use-livecode
> After a day or two with BBC BASIC on a black screen teenagers will "do > anything for me" when they see the, supposedly, > old-fashioned LiveCode IDE and the ever-so-sexy WYSIWYG GUI. Using the ol' psychology on 'em. Wily! ___ use-livecode

Re: nsScriptDatabase 1.1

2022-03-17 Thread Jim Lambert via use-livecode
Neville, Thanks for the update. 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: nsScriptDatabase 1.1

2022-03-17 Thread Jim Lambert via use-livecode
Neville, Thanks for the update. 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: Browser Widget and Images

2022-03-13 Thread Jim Lambert via use-livecode
> > So accessing the URL of the image directly in the image object > puts the image there, which is a good first step. > > How is it stored however? > > If one looks at the image source it still shows the URL. > > I find I?m unable to paint on top of the image, probably > because that

Re: Problems with Filter?

2022-03-12 Thread Jim Lambert via use-livecode
Try: put "*THISISMYTEXTTOFIND*" into tTarget put “abcdefghijkTHISISMYTEXTTOFINDlmnopqrstuvwxyz” into tLargeTextString put tLargeTextString into pText filter pText with tTarget into tFilteredTextResult answer "tFilteredTextResult = " & tFilteredTextResult Or more simply: filter

RIP David Boggs

2022-03-01 Thread Jim Lambert via use-livecode
https://www.nytimes.com/2022/02/28/technology/david-boggs-dead.html?smid=url-share ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Sublime Fields Behavior

2022-02-26 Thread Jim Lambert via use-livecode
I whipped up this behavior just for fun after seeing Ali use SublimeText to edit code. https://livecodeshare.runrev.com/stack/1015/sublime-fields This behavior creates fields similar to the fields in the SublimeText Code Editor.

Re: Livecode and interactive video

2022-01-21 Thread Jim Lambert via use-livecode
A quarter of a century ago, we called this Interactive Multimedia. It was usually delivered on a CD-ROM. Ask your parents! ;) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Can I still change LC code?

2022-01-12 Thread Jim Lambert via use-livecode
Of course, you can start 'rolling your own' by cloning the IDE stacks then customizing those clones as you wish. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Happy New Year!

2021-12-31 Thread Jim Lambert via use-livecode
A very Happy, Prosperous and Safe 2022 to all! Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

a test

2021-11-28 Thread Jim Lambert via use-livecode
Ignore this test JimL ___ 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: Facebook -> Meta (Damaged Infinity!)

2021-10-31 Thread Jim Lambert via use-livecode
> MarkW wrote: > From a Boingboing user comment... > > META: Making Evil Totally Acceptable LOL LOL LOL ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Our survey - please don't discuss :)

2021-10-22 Thread Jim Lambert via use-livecode
> > never conciously I've tried that excuse but my wife never buys it. ;) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

RE: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Jim Lambert via use-livecode
> Jacque wrote: > And then there's "this me", which still tickles me. "This me" could be a quote from that Scottish author's tale The Strange Case of Dr. Jekyll and Mr. Hyde. ;) Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-10 Thread Jim Lambert via use-livecode
Cheddar, Edam and Swiss! Very daring references on this list. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-09 Thread Jim Lambert via use-livecode
> Jacque wrote: > > But while I agree completely with your definition, it got me concerned that > if I were to marry a very tall, large man, I would be a bigamist. A 24 carat post! ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Jim Lambert via use-livecode
> Matthias wrote: > > 'ein paar' means two or three or somewhere in the range. Ich kann Deutsch. Aber nur ein paar Wörter. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Apple App Store Agreement

2021-08-27 Thread Jim Lambert via use-livecode
FYI "Apple has agreed to a class action settlement that will allow apps developers to implement payment systems outside of the App Store and communicate directly with customers about them."

Re: Jim Lambert is not crazy!

2021-07-29 Thread Jim Lambert via use-livecode
浪 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: workaround for cut-off text in native scroller?

2021-06-03 Thread Jim Lambert via use-livecode
> Jacque wrote: > It's either the Flying Spaghetti Monster or fullscreenmode. ;) Flying Spaghetti Monster is what I call my code. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: 3-way slider control

2021-05-26 Thread Jim Lambert via use-livecode
go url "http://netrin.on-rev.com/misc/three_state_toggle.livecode; This stack contains a group which is a three-state toggle switch. The myState of the group contains its current state which is either "ON","OFF" or "MID" You can customize the states' colors by setting the color constants. See

Re: Bug, feature, or just something I need to program around?

2021-05-13 Thread Jim Lambert via use-livecode
Hi Alex, > I don't follow you Jim. You wrote: > if I TAB into the field the cursor is initially at the start of the > field and the key sequence above will move the cursor to the end > *without* selecting the characters. In Notes if you are in one note then select a different note and

Re: Bug, feature, or just something I need to program around?

2021-05-12 Thread Jim Lambert via use-livecode
> In a LC single line field (MacOS), the keys shift-cmd-rightarrow will > select from the current position to the end of the line, and add that to > the selection. > > BUT if I TAB into the field the cursor is initially at the start of the > field and the key sequence above will move the

Re: notarizing DMG fails - solved

2021-05-06 Thread Jim Lambert via use-livecode
> > Thank you Matthias! Your tools make my life SO much easier! You have > done a great service for this community. +100 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

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

  1   2   >