Re: Would anyone miss convertOctals?

2022-06-09 Thread Devin Asay via use-livecode
On Jun 9, 2022, at 9:53 AM, Mark Waddingham via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 2022-06-09 16:33, Devin Asay via use-livecode wrote: Wait, you said three questions. But no. What are those two hard problems of computer science again? ;) I forget, bu

Re: Would anyone miss convertOctals?

2022-06-09 Thread Devin Asay via use-livecode
On Jun 9, 2022, at 6:44 AM, Mark Waddingham via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: So I'm currently sitting here about to embark on fixing (which is the final thing to sort out before being able to merge my

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Devin Asay via use-livecode
I think Jacque has germaniums in her garden! On Jun 7, 2022, at 9:50 PM, Mark Wieder via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 6/7/22 20:24, J. Landman Gay via use-livecode wrote: I don't have an answer. But apparently it's a common problem: https://xkcd.com/2626/

Re: HTML font size in percentages

2022-05-20 Thread Devin Asay via use-livecode
Jacque, It sounds like the HTML tags are setting the size for runs of text in the field, so you can’t just set the textSize of the field? Are there varying sizes of text runs in the field? Could you set the textSize of the char 1 to -1 of the field to empty, then set it for the whole field? In

Re: Movie text tracks

2022-05-18 Thread Devin Asay via use-livecode
tools. This website explains how: https://forum.videohelp.com/threads/403944-Extract-and-convert-QuickTime-7-Pro-TextTracks Neither method was perfect, but both were good enough for what I wanted. - Devin On May 18, 2022, at 2:36 PM, Devin Asay via use-livecode mailto:use-livecode

Re: Movie text tracks

2022-05-18 Thread Devin Asay via use-livecode
Hi all, Thanks for the advice. I wanted to follow up with what I eventually ended up doing. So, both Jacque’s and Richmond’s suggestions were good, but too much work for just peeking at some text tracks. But they got me thinking: Hey, Windows 10 actually still runs QT 7, and I have an old QT

Movie text tracks

2022-05-17 Thread Devin Asay via use-livecode
Hi all, I’m resurrecting some QuickTime movies from years ago, and some of them have text tracks. (Remember those?) In the LC player object you can still see that there is a text track with `put the tracks of player 1`. But there doesn’t seem to be a way anymore to show text tracks, either in

Re: LC subscription and special characters

2022-05-11 Thread Devin Asay via use-livecode
Here is the bug report. It was reported as fixed as of LV 9.0.3 RC1. https://quality.livecode.com/show_bug.cgi?id=18702 On May 10, 2022, at 11:54 PM, jbv via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Thank you for your reply. Obviously, it was possible in earlier versions of

Re: OSS installer for Linux?

2022-04-08 Thread Devin Asay via use-livecode
Thanks, Richmond! On Apr 8, 2022, at 9:03 AM, Richmond via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: https://archive.org/download/live-code-community-linux-x64/LiveCodeCommunityInstaller-9_6_3-Linux.x64 On 8.04.22 17:58, Devin Asay via use-livecode wrote: Hi all, Does

OSS installer for Linux?

2022-04-08 Thread Devin Asay via use-livecode
Hi all, Does anyone still have the Community installer for LiveCode 9.6.3 Linux? I have a colleague I’m trying to show LC to, but he’s reluctant to d/l the trial version. - Devin Devin Asay Office of Digital Humanities Brigham Young University ___

Re: Speed up a slow loop

2022-03-02 Thread Devin Asay via use-livecode
Jacque, Have you tried put the keys of sDictFile into tCorrWdList repeat for each line I in pList if I is among the lines of tCorrWdList then put I & cr after tCheckedList else put I & cr after tNonWords end if end repeat I just wonder if there is some overhead with

Re: regex backreferences

2021-12-15 Thread Devin Asay via use-livecode
eline Landman Gay | jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com> HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi all, Does the replaceText() function allow

regex backreferences

2021-12-14 Thread Devin Asay via use-livecode
Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this: Good stuff here. I want to end up something like this: Good stuff here.” In BBedit I can search for (.*) and replace it with \1

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

2021-10-27 Thread Devin Asay via use-livecode
got three >>> other livecode newsletters in October. >>> >>> Tiemo >>> >>> -Ursprüngliche Nachricht- >>> Von: use-livecode Im Auftrag von >>> Devin Asay via use-livecode >>> Gesendet: Freitag, 22. Oktober 2021 20:

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

2021-10-22 Thread Devin Asay via use-livecode
I didn’t receive it either. - Devin > On Oct 22, 2021, at 11:17 AM, Heather Laine via use-livecode > wrote: > > @Sean - I can try. I didn't see an obvious way to do so in the interface. I > will return to this on Monday, when we will send out a survey reminder. > @Jacque and any others

Re: Keep stack proportions when resizing

2021-10-08 Thread Devin Asay via use-livecode
Peter, I asked this question several years ago and what I gathered is that it’s not easy because window resizing is under the control of the operating system, and LiveCode can’t really override it. My attempts were not completely satisfactory: I have a stack that I want to constrain to a 4:3

Re: Drag and drop within a list field

2021-07-16 Thread Devin Asay via use-livecode
Hi Paul, Some years back Scott Rossi created a nifty little demo called GetInLine that shows how to do the interface part of drag-reordering. It’s in his archive at http://tactilemedia.com/blog/2018/05/12/blasts-from-the-past/. It might give you a good foundation, even if you don’t use the

Re: Stuck on native database functions

2021-07-06 Thread Devin Asay via use-livecode
Bob, A couple of things: You should either be passing variable names, not variable contents, so put your variable names in quotes. revExecuteSQL “tDBID", “tInsertSQL", “tControlName”, etc OR you should be passing the name of an array variable, whose keys are numeric: revExecuteSQL

Re: Stacks not removed from memory?

2021-05-14 Thread Devin Asay via use-livecode
Marty, I had intended to respond to this, but got busy with other things. I have seen what you’re describing on all of the recent releases—9.5 - 9.6.x; i.e., a stack with destroyStack set to true, then closed, is not always removed from memory. Sometimes this has caused an infinite loop with

Re: Which Monitor to Open LC In

2021-02-23 Thread Devin Asay via use-livecode
Roger, Perhaps you need to set up Spaces first? - Devin > On Feb 22, 2021, at 10:52 PM, Roger Guay via use-livecode > wrote: > > Hmmm, I don’t have that option!?? I’m using LC 9.6.1 in OS 11.2 What is your > config? > > Thanks Paul! > > Roger > >> On Feb 22, 2021, at 8:48 PM, Paul

SSL Error - question from Stack Overflow

2021-02-16 Thread Devin Asay via use-livecode
Hi all, I came across this question on stack overflow. I like to try to give good LiveCode answers there when I can, just to do a little to boost the reputation of the LC community there. But I don’t have a clue on this one. A Livecode script: get URL

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Devin Asay via use-livecode
Ben, I have seen the “invalid database type” error on Linux because of a case error. Make sure you use “mysql” as the database type, not “MySQL” or anything else with upper case letters. LiveCode is not case-sensitive, but Linux is. Hope this helps. Devin > On Feb 1, 2021, at 2:32 PM, Ben

Re: OT Friendly customers....

2021-01-28 Thread Devin Asay via use-livecode
The H word gets tossed about far too casually nowadays. Commenting on alleged abuses perpetrated by government agencies is not hate. And if it is, then what are allusions to “dark forces” and “fake news”? Regardless, it’s just the wrong forum. And also, “cheese!” (That’s your cue, ListMom.)

Loading fonts not working

2020-12-16 Thread Devin Asay via use-livecode
Hi all, I recently upgraded my Mac to Catalina, and I notice now that I can’t dynamically load ttf or otf fonts with ’start using font file….’ I always get the error message ‘can’t load font file’. It worked fine before I upgraded. Has anyone else seen this? Devin Devin Asay Director

Re: Some sad news

2020-12-04 Thread Devin Asay via use-livecode
I think we all have been dazzled by what Hermann was able to do with LC HTML5. Our community has been enriched by Hermann and many others for whom LiveCode and the idea of “coding for everyone" is a passion. He will be missed. Condolences to his family. As others have noted, we also remember

Re: Script colorization not working

2020-11-19 Thread Devin Asay via use-livecode
> > Kind regards, > Panos > -- > > On Wed, 18 Nov 2020 at 23:18, Devin Asay via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi all, >> >> One of my students is having a problem where the script colorization is >> not working comp

Re: Script colorization not working

2020-11-18 Thread Devin Asay via use-livecode
ere > colorization is lost if the default font (Source Code Pro) is used. If this > is the case, she can try switching to a different font, and the issue will > be fixed. > > Kind regards, > Panos > -- > > On Wed, 18 Nov 2020 at 23:18, Devin Asay via use-livecode <

Script colorization not working

2020-11-18 Thread Devin Asay via use-livecode
Hi all, One of my students is having a problem where the script colorization is not working completely. That is, the bold face style is applied for things like **on** mouseUp and **end** mouseUp, and commands are boldfaced. But nothing else is colorized. We have checked all of her script

Audio recording in LC community on Windows?

2020-11-02 Thread Devin Asay via use-livecode
HI all, From the beginning of Rev/LC we could do basic audio recording cross platform, at least on Mac and Windows, using the QuickTime framework. QT went away a few years ago, and it took some time for that capability to be restored. On Mac we can do it in all LC editions, including

Re: Line length

2020-10-26 Thread Devin Asay via use-livecode
There is also a measureText() function that might help. Devin > On Oct 24, 2020, at 4:35 AM, Klaus major-k via use-livecode > wrote: > > Hi Richmond, > >> Am 24.10.2020 um 12:17 schrieb Richmond via use-livecode >> : >> >> Over in the Forums someone has asked a question about measuring the

Re: What Causes "##string##"

2020-10-02 Thread Devin Asay via use-livecode
Probably when the textAlign property of a line is set to “center”? > On Oct 2, 2020, at 9:09 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > When setting htmltext? > > BR > > ___ > use-livecode mailing list >

Re: Converting from unicode to ASCII

2020-09-22 Thread Devin Asay via use-livecode
Hi Jacque, Have you looked at the normalizeText function? I’m not sure that would help, but maybe it’s a start. But it that doesn’t help, and if nobody ever sees the filenames, why not just loop through the string and delete anything that’s not in ASCII range? Devin > On Sep 22, 2020, at

Re: Updating a menubar button on Mac

2020-09-21 Thread Devin Asay via use-livecode
Populate it on mouseDown? I’ve done this lots, but mainly with option menus. > On Sep 21, 2020, at 4:55 PM, David Epstein via use-livecode > wrote: > > I can use a “mouseEnter” handler to update a menu button’s contents just > before the user displays that menu. But if that menu button is

Re: Basic question about behaviors

2020-08-26 Thread Devin Asay via use-livecode
Only cheese puns. > On Aug 26, 2020, at 8:20 AM, Martin Koob via use-livecode > wrote: > > Is there a rule regarding puns? > > Martin > >> On Aug 26, 2020, at 9:30 AM, Paul Pystcat via use-livecode >> wrote: >> >> ROFL >> >> THAT was gouda! >> >> (I know, I know! I broke one of the

Re: New Campaign

2020-06-17 Thread Devin Asay via use-livecode
Ooops! Sorry folks, hit reply without looking at where it was going. Meant for Heather, obviously. Be well, everyone. Devin > On Jun 17, 2020, at 9:06 AM, Devin Asay via use-livecode > wrote: > > Heather, > > In light of this we’re going to go ahead and move up ou

Re: New Campaign

2020-06-17 Thread Devin Asay via use-livecode
Heather, In light of this we’re going to go ahead and move up our annual 2-license renewal and do them now instead of waiting for them to expire in the Fall. Could you send me an invoice so I can get the ball rolling? Best wishes, and stay well! Devin > On Jun 17, 2020, at 8:30 AM, Heather

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Devin Asay via use-livecode
Graham, If you click the lock icon on the property inspector while you’re in edit mode, the PI for that object will remain open when you switch back to run mode. Hope this helps. Devin > On May 19, 2020, at 3:10 PM, Graham Samuel via use-livecode > wrote: > > Well, I am happy to be wrong,

Externals Question from Stack Overflow

2020-05-14 Thread Devin Asay via use-livecode
Once more, this time with the link. Hi all, I came across a question on Stack Overflow from a sight-impaired user who is trying to figure out how to write and test a LiveCode external. I am pretty ignorant about externals in general, so I don’t think I can help in this case. But if anyone

Externals Question from Stack Overflow

2020-05-14 Thread Devin Asay via use-livecode
Hi all, I came across a question on Stack Overflow from a sight-impaired user who is trying to figure out how to write and test a LiveCode external. I am pretty ignorant about externals in general, so I don’t think I can help in this case. But if anyone here feels inclined, I think it would

Re: Building a standalone warns about duplicate stacks

2020-05-07 Thread Devin Asay via use-livecode
Jaque, I’ve seen this when building standalones with stacks that are using library stacks, and the same library stackflles are included in the standalone build. Apparently the included stacks are opened during the build process, thus colliding with the library stacks already in memory. If this

Re: mergAV Select specific rear camera

2020-04-30 Thread Devin Asay via use-livecode
Andrew, I’m not sure about mergAV, but if you gave an Indy license you might want to check out cameraControl, which keeps getting better with each new release. I was playing around with it in 9.6.0DP4 yesterday, and it seems pretty capable. It also has the advantage of being cross-platform on

Re: Livecode HTML5 and SQL

2020-04-29 Thread Devin Asay via use-livecode
the LC HTML5 engine. > Only "load URL" is supported and only for http / https. > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.04.2020 um 20:06 schrieb Devin Asay via use-livecode >> : >> >> Co

Re: Livecode HTML5 and SQL

2020-04-29 Thread Devin Asay via use-livecode
Colin, I haven’t tried it myself, but I would think you’d have to write an API layer using LiveCode Server scripting. All of the MySQL reads and writes would take place in your .lc scripts on LC Server. Then it would be simple, RESTful http calls from your HTML5 app. Of course, this all

Re: Can a stack know which standalone engine it's running on?

2020-04-27 Thread Devin Asay via use-livecode
ost uniquely identifies every public engine build - the > buildNumber always does. > > The platform together with the processor uniquely identify the target it was > built for. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 27 Apr 202

Can a stack know which standalone engine it's running on?

2020-04-27 Thread Devin Asay via use-livecode
The subject line says it. Is there a way for my stack to know which Windows standalone engine it is running on? For diagnostic purposes I would like to be able to report the current LiveCode standalone engine. I’m probably missing something obvious. Devin Devin Asay Director Office of Digital

Re: Scrollbar scale value not showing in Windows

2020-04-22 Thread Devin Asay via use-livecode
Verified on Windows 10. The default size of the scrollbar object obscures the scale values. Just increase the height of the scrollbar/slider (if your sb orientation is horizontal) or the width of the sb (if the orientation is vertical.) Devin > On Apr 21, 2020, at 10:01 PM, Devin Asay wrote:

Re: Scrollbar scale value not showing in Windows

2020-04-21 Thread Devin Asay via use-livecode
Michael, Sometimes resizing the scrollbar will reveal the scale values. Does that work? I’m not near my Windows machine, so can’t verify here. I know that on a Mac if the scrollbar bounds are too small the values disappear. Devin > On Apr 21, 2020, at 9:35 PM, Michael Lew via use-livecode >

Re: HTTPHeaders

2020-04-20 Thread Devin Asay via use-livecode
In my experience they are persistent throughout a session, sort of like setting the defaultFolder. Devin > On Apr 20, 2020, at 3:11 PM, J. Landman Gay via use-livecode > wrote: > > Are the httpHeaders persistent or do I need to set them before each server > call? > > -- > Jacqueline

Re: Making an iOS app look like one

2020-04-16 Thread Devin Asay via use-livecode
Hi Graham, TL/DR: It’s doable, but there is a learning curve. Making your apps look native is doable, but how to get there is a mixed bag. As you’ve discovered, you have to use a range of capabilities. 1. Widgets. They are mostly straightforward to figure out. See my lesson at

Re: Old Fossil seeks fast track assistance

2020-04-09 Thread Devin Asay via use-livecode
on the list) can > help as I am now completely stuck as far as proper testing goes. > > Graham > > >> On 6 Apr 2020, at 16:55, Devin Asay via use-livecode >> mailto:use-livecode@lists.runrev.com>> wrote: >> >> Graham, >> >> I’ve just been t

Re: Building a Board Game

2020-04-07 Thread Devin Asay via use-livecode
Roger, Rather than moving an object, think about using button icons. This is the basic process: - on mouseDown: check the icon of the target, set the icon of a hidden, moving button to the same icon, set the icon of the target to 0, set a flag—isDragging--to true, show the hidden button -

Re: Old Fossil seeks fast track assistance

2020-04-06 Thread Devin Asay via use-livecode
Graham, I’ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php. I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android

Re: Strange times, amazing projects

2020-04-03 Thread Devin Asay via use-livecode
Skip, have you tried the Google geocoding web service? Give it an address or landmark, and get back latitude/longitude coordinates. https://developers.google.com/maps/documentation/geocoding/start Fairly simple to get into, a snap to implement in LiveCode, and free until you exceed a certain

Re: Getting started with geographical coordinates

2020-04-03 Thread Devin Asay via use-livecode
Graham, You get back lat and long in degrees and fractions of degrees, as a decimal numeral. For instance, I get latitude: 40.248676 and longitude: -111.651062, and for good measure altitude in meters at 1398.380493. Wow, now you all know exactly where I am! Devin > On Apr 3, 2020, at 1:49

Re: Getting started with geographical coordinates

2020-04-03 Thread Devin Asay via use-livecode
Hi Graham, As fate would have it I just created a video tutorial for my students on reading mobile device sensors. http://livecode.byu.edu/mobile/devicesensors-index.php Hope you find these useful. Devin On Apr 3, 2020, at 9:18 AM, Graham Samuel via use-livecode

Re: Go to card has become slow

2020-04-02 Thread Devin Asay via use-livecode
I have seen delays when going to a card containing a large image with Resize Quality set to “Best”. It was more of an issue on a mobile device, but it’s worth looking into. Devin > On Apr 2, 2020, at 1:27 PM, Terence Heaford via use-livecode > wrote: > > I have a project that opens at a

Re: Android Studio 3.6 breaks LC Android deployment?

2020-03-20 Thread Devin Asay via use-livecode
- From: use-livecode mailto:use-livecode-boun...@lists.runrev.com>> On Behalf Of Devin Asay via use-livecode Sent: 19 March 2020 22:04 To: How to use LiveCode mailto:use-livecode@lists.runrev.com>> Cc: Devin Asay mailto:devin_a...@byu.edu>> Subject: Android Studio 3.6 breaks LC And

Re: Problem opening version 9.6.0 (dp3)

2020-03-19 Thread Devin Asay via use-livecode
Bill, Does this help? It was at the end of the release announcement: Known issues - This build (for Mac) is not notarized yet, so if your Mac is running MacOS Catalina (10.15.x) you will get a warning dialog saying that the app cannot be opened. In this case, you have to whitelist

Android Studio 3.6 breaks LC Android deployment?

2020-03-19 Thread Devin Asay via use-livecode
Hi all, Yesterday I had to install Android mobile tools on my laptop (since I’m having to work from home now. I downloaded the newest JDK 1.8 and the newest Android Studio (v. 3.6). (LC v. 9.5.1 on Mac 10.14.6). I spent a frustrating afternoon of getting an error every time I tried to specify

Re: Synchronisation of sound and vision

2020-02-12 Thread Devin Asay via use-livecode
ng two players and > audio feedback. > > Regards > Tore > >> 12. feb. 2020 kl. 19:57 skrev Devin Asay via use-livecode >> : >> >> Tore, >> >> I would agree if callbacks were 100% reliable. I have tried them in the past >> and found th

Re: Synchronisation of sound and vision

2020-02-12 Thread Devin Asay via use-livecode
d like to act upon. You could also store the callbacks for each audio file in a text file and set the callbacks as a part of the handler used to load each audio file. Regards Tore 12. feb. 2020 kl. 16:49 skrev Devin Asay via use-livecode mailto:use-livecode@lists.runrev.com>>: Graham,

Re: Synchronisation of sound and vision

2020-02-12 Thread Devin Asay via use-livecode
Graham, Take a look at the duration and the timeScale properties of player objects. By dividing duration by timeScale you get the length of the video in seconds. put the duration of player “foo” / the timescale of player “foo” into totalSeconds What you are contemplating is very doable,

Re: Do Mac OS apps stop working if your Mac Developer ID Application cert expires?

2020-01-23 Thread Devin Asay via use-livecode
I’ve done lots of test deployments to devices that are registered in my wildcard provisioning profile. After the cert expires the app no longer runs on the test devices. You have to renew the cert and provisioning profile, re-save and reinstall the app on the device if you want it to work

Re: Y coordinate for a line of text

2019-11-12 Thread Devin Asay via use-livecode
The selectedLoc function may also be helpful. > On Nov 12, 2019, at 7:27 AM, Paul Dupuis via use-livecode > wrote: > > You may want to look at the Dictionary entry for "measureText" > > > On 11/12/2019 1:43 AM, scott--- via use-livecode wrote: >> I’m needing to know the coordinate (Y is the

Re: Primary Student Livecode Interface (Simplified Developer Interface)

2019-10-10 Thread Devin Asay via use-livecode
ot;some odd reason" there were no takers as far as I am aware. I teach Primary kids LiveCode every summer and we do just fine with the standard set of tools: the kids use exactly what they require and are generally self-limiting. Richmond. On 10.10.19 18:53, Devin Asay via use-livecod

Re: Primary Student Livecode Interface (Simplified Developer Interface)

2019-10-10 Thread Devin Asay via use-livecode
Hi John, This idea has been discussed over the years, but I don’t know of anyone who has implemented it. The userLevels were: 1 - Browsing - the ability to run and explore stacks, but no ability to make changes. 2 - Typing - added the ability to type and edit text in fields. 3 - Painting -

Re: help with mobileSetKeyboardType

2019-09-26 Thread Devin Asay via use-livecode
Dan, I believe it’s because setting keyboard type with a mobile native control is done by setting a property with mobileControlSet: mobileControlCreate "input","_editingField” mobileControlSet “input”, “keyboardType”, “number” The mobileSetKeyboardType command works in all other circumstances,

Re: Checking the host OS

2019-08-30 Thread Devin Asay via use-livecode
On Aug 30, 2019, at 9:10 PM, Mark Wieder via use-livecode wrote: > >> On 8/30/19 12:22 PM, Devin Asay via use-livecode wrote: >> >> Now that we can build both 32 and 64 bit applications for Windows, it’s >> important to be able to tell whether the host OS is 32 or

Checking the host OS

2019-08-30 Thread Devin Asay via use-livecode
Hi all, I know we can get all manner of information about the host system our stack or application is running on, including platform(), processor(), and machine() but is there a way to check to see whether the host OS is 32 or 64 bit? The platform function on Windows always returns Win32

Re: Local files in browser widget

2019-07-12 Thread Devin Asay via use-livecode
On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode wrote: > > I think I asked this before but it isn't working now. I thought > specialFolderPath("resources") was okay for read-only files. It fails on > Android. > > put specialFolderPath("resources") & "/tFolder/tFile.html" into

Re: CTD meaning?

2019-06-28 Thread Devin Asay via use-livecode
>> On Jun 28, 2019, at 11:59 AM, Mark Wieder via use-livecode >> wrote: >> >> On 6/28/19 8:30 AM, Martin Koob via use-livecode wrote: >>> Sent from my iPhone On Jun 28, 2019, at 11:17 AM, Curry Kenworthy via use-livecode wrote: Edit Script Save and Crash - it doesn't have

Re: Groups do not receive mouseEnter messages?

2019-06-25 Thread Devin Asay via use-livecode
This is a great idea, Paul. I was just thinking that might be a good solution, especially with the addition of the (relatively) new clipsToRect property of fields. When that property is true, a group’s boundaries do not automatically snap to the area defined by its child objects. Instead the

Re: Groups do not receive mouseEnter messages?

2019-06-25 Thread Devin Asay via use-livecode
I have always thought of a group as a container object, like a card, but without a “canvas” that constitutes a part of the object. It’s always made sense to me that a group doesn’t get mouse messages, except as they are passed from child objects. If the group did get mouse click messages, it

Mobile slider control

2019-03-21 Thread Devin Asay via use-livecode
Hi all, So native LiveCode scrollbars (sliders, progress bars, and little arrows) look really bad on mobile devices. Has anyone produced a widget or just a scripted replacement for them? Thanks, Devin Devin Asay Director Office of Digital Humanities Brigham Young University

Re: Android SDK

2019-02-11 Thread Devin Asay via use-livecode
I just went through this with my class. To show your user library folder: 1. Open the Terminal application on your Mac, located in /Applications/Utilities. 2. Enter the following command and hit return: chflags nohidden ~/Library 3. You should now be able to see your Library folder, both

Re: HTML entity escaping?

2019-01-08 Thread Devin Asay via use-livecode
David, I assume you mean you want to render the named entity as the proper glyph? The way to do that is with the htmlText property. set the htmlText of fld “foo” to “The book costs 30." Devin On Jan 8, 2019, at 6:53 AM, David Bovill via use-livecode mailto:use-livecode@lists.runrev.com>>

Re: LC-apps for HC

2018-11-30 Thread Devin Asay via use-livecode
The authoritative guide for converting HyperCard stacks to LiveCode is still Jacque’s tutorial at https://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html Devin On Nov 30, 2018, at 10:02 AM, Ingar Roggen via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hello, André, I hope

Re: finding location on mobile device

2018-11-13 Thread Devin Asay via use-livecode
This has worked for me in the past, but I haven’t tried it in quite some time: mobileStartTrackingSensor "location", false put mobileCurrentLocation() into tLocArray mobileStopTrackingSensor "location" put "lat: " & tLocArray["latitude"] & cr & "long: " & tLocArray["longitude”] into fld "report"

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Devin Asay via use-livecode
On Oct 29, 2018, at 9:32 AM, Keith Clarke via use-livecode wrote: > > Folks, > Is there a simple way to find the offset of a character from the ‘right’ end > of a string, rather than the beginning - or alternatively get a list of all > occurrences? > > I’m trying to separate paths & pages

Re: Natural Programming

2018-09-11 Thread Devin Asay via use-livecode
On Sep 11, 2018, at 12:14 PM, Mark Wieder via use-livecode wrote: > On 09/11/2018 10:27 AM, Jerry Jensen via use-livecode wrote: >> Reminds me of the dyslexic cop that tried to give me an IUD. >>> On Sep 11, 2018, at 8:18 AM, Bob Sneidar via use-livecode >>> wrote: >>> >>> You know,

Re: ANN: LC Documentation Cache Cleaner

2018-09-07 Thread Devin Asay via use-livecode
On Sep 6, 2018, at 9:56 PM, J. Landman Gay via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: You have to open the LC tools palette occasionally. ;) At the top is a big plus sign. Clicking that opens a stack/window much as Sample Stacks does. A tabbed interface gives access to a

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Devin Asay via use-livecode
“Care” and “loke”. Habits from way back in the HyperCard days. Sent from my iPhone > On Aug 25, 2018, at 1:28 PM, Matthias Rebbe via use-livecode > wrote: > > > > CHAR rhymes with far > LOC rhymes with lock. > > This is at least how i pronounce them. But i am native German and not

Re: Not many people know this.

2018-08-16 Thread Devin Asay via use-livecode
On Aug 16, 2018, at 1:01 PM, Richmond Mathewson via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Of course it was too good to last . . . I merrily filled a field up with a series of letters from 2 different fonts and then did this: * **set the text of fld "f2" to the text of

Re: Not many people know this.

2018-08-16 Thread Devin Asay via use-livecode
On Aug 16, 2018, at 11:48 AM, Richard Gaskin via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Paragraph-level formatting opens up wholly new opportunities, beyond any xTalk I've ever seen. I'm not sure if this info has been incorporated into the docs system yet, but the

Re: [OT] Snakey Problem

2018-08-13 Thread Devin Asay via use-livecode
Richmond, One of my colleagues who teaches Python uses a cloud-based service called PythonAnywhere. The basic plan is free for anyone to use. You access it through a web browser. You may find it useful. Host, run, and code Python in the cloud: PythonAnywhere

When did highlighted text get fixed?

2018-05-30 Thread Devin Asay via use-livecode
Does anyone remember when text on highlighted lines on Mac started working properly? That is, when did black text on a dark colored background start showing up as white text on a colored background in a list-style field? Methinks is was in the 8.0 series, or was it in 7.x? Devin Devin Asay

Re: LCG Session Suggestions

2018-04-10 Thread Devin Asay via use-livecode
A couple of years ago, when I was doing lots of dictionary fixes, I created a checklist for myself of how to do it and what to look for. Maybe others will find it helpful: https://github.com/asayd/livecode/blob/asayd-docs_editing_checklist/docs/dictionary_editing_checklist.md Devin On Apr 10,

Re: LCG Session Suggestions

2018-04-10 Thread Devin Asay via use-livecode
Ali, I notice that in that doc you are still directing people to use the develop-8.2 branch for submitting PRs for dictionary updates. Is that still the branch you want us to use? Devin On Apr 10, 2018, at 9:56 AM, Ali Lloyd via use-livecode

Re: variable xref

2018-03-30 Thread Devin Asay via use-livecode
On Mar 29, 2018, at 10:34 PM, Mike Kerner via use-livecode wrote: > > I don't want to pretend to be an expert on the topic of writing compilers, > since I only ever wrote two, both under the watchful obsession of a > professor, and my lex and parse code were not

Re: LC 9 and Icon Families

2018-03-14 Thread Devin Asay via use-livecode
Good idea. Done. I also added my SVG Icon Picker stack. DNA On Mar 14, 2018, at 4:29 PM, hh via use-livecode > wrote: Thanks. Please put this on "Sample Stacks" (there are more visitors there).

LC 9 and Icon Families

2018-03-14 Thread Devin Asay via use-livecode
Hi folks, Couldn’t resist spending some time on the new RC of LC 9. One of the cool new features is the ability to add icon families to your instance of LiveCode. Using the release notes and the dictionary I worked out how to create and add new icon families. This finally makes it possible to

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Devin Asay via use-livecode
> On Feb 28, 2018, at 10:02 AM, Graham Samuel via use-livecode > wrote: > While I’m on to explanations, in all my years of using LC and its > predecessors, I have never understood what the right hand column in the > ‘colors’ tab of the object inspector is for.

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Devin Asay via use-livecode
Graham, I think what is happening is that when you run in the IDE the parent stack of the answer dialog stack is the LiveCode engine, which sets a platform-appropriate background color (or no background color) for all child stacks. When you include it in a standalone, your

Re: use SSL inside Mysql connection

2018-01-24 Thread Devin Asay via use-livecode
Heribito, Your revOpenDatabase call is incorrectly formed. The useSSL and autoReconnect parameters should be booleans, like this: put revOpenDatabase(“mysql”, tServer, tDatabaseName, tUser, tPass,true,,,true) into tConnectionID Note also that you have to put the values into the correct

Re: LiveCode University bug

2018-01-09 Thread Devin Asay via use-livecode
Andrew, It’s best just to send them to me; avoids the middleman. :) I’m in the final stages of creating an updated version that uses much more up-to-date content. Perhaps I can send you a “DP” status copy and have you take a look at it. I think it’s in pretty good shape except for a final,

Re: SQL Insert Syntax

2018-01-05 Thread Devin Asay via use-livecode
double quotes, I thought that would do the trick. I have tried escaling > quotes ie. \" but that doesn't work either. > > This BTW is why I use sqlYoga, so I don't have to deal with this syntax crap, > but I am writing a function that I want to be universally viable. > > B

Re: SQL Insert Syntax

2018-01-05 Thread Devin Asay via use-livecode
Bob, Some SQL dialects accept both single and double quotes as string delimiters. Might that be the problem? Devin On Jan 5, 2018, at 2:16 PM, Bob Sneidar via use-livecode > wrote: Can anyone find anything wrong with this

Re: Simulator woes

2017-12-27 Thread Devin Asay via use-livecode
9.0.0 (dp11) Xcode 9.2 Mac OS Sierra 10.13.2 Paul On Dec 27, 2017, at 11:27 AM, Devin Asay via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Hi all, I’m heading into my annual foray into teaching mobile development, and so

Simulator woes

2017-12-27 Thread Devin Asay via use-livecode
Hi all, I’m heading into my annual foray into teaching mobile development, and so testing running stacks in the simulator. For the life of me, I’m unable to get a stack to show up in the simulator, where I’ve had little trouble in the past. Has something changed? When I try to test a stack in

Re: ArrayToJSON in LCServer ?

2017-11-17 Thread Devin Asay via use-livecode
Alex, My recollection is that for functions in libraries, like this one, you have to find the library stack in the IDE installation and copy it to your server then ‘start using’ it, in the case of a stack, or ‘include’ it in the case of a .lc script. (The former is what I’ve done, I believe.)

  1   2   >