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.)

Re: The coming of SVG

2017-11-08 Thread Devin Asay via use-livecode
Having followed this discussion from digest purgatory while on a conference trip, my vote is for “Viewer” as well. Viewer has these advantages: - not already a token in either LCS or LCB (that I know of) - is descriptive of what it does - is a nice parallel to player, a container for

Re: Beginners Guide?

2017-10-06 Thread Devin Asay via use-livecode
John, The best place to get the most up-to-date platform support is in the release notes. Here’s what is in the release notes for 8.1.7RC3: Windows LiveCode supports the following versions of Windows: Windows XP SP2 and above Windows Server 2003 Windows Vista SP1 and above (both 32-bit and

Re: Arrow keys in SE

2017-09-26 Thread Devin Asay via use-livecode
Let me second Richard’s observation, but it’s effects are slightly different. On the Mac it is standard to be able to use Cmd + right arrow to move to the end of a line of text. With auto complete in the new SE that no longer works. Anyone else observing that? Devin > On Sep 26, 2017, at 3:02

Re: Behaviors

2017-09-18 Thread Devin Asay via use-livecode
Sorry, I should have said “Use 'before menuPick' or 'after menuPick' instead of ‘on menuPick’. On Sep 18, 2017, at 5:21 PM, Devin Asay via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Bob, Maybe the best way to do this is to us

Re: Behaviors

2017-09-18 Thread Devin Asay via use-livecode
Bob, Maybe the best way to do this is to use the before or after control structure in the behavior, rather than the menuPick. before menuPick pItem # do common behavior stuff here end menuPick That leaves the menuPick handler unencumbered in the actual object. Devin On Sep 18, 2017, at

Re: common code patterns

2017-08-10 Thread Devin Asay via use-livecode
I’d like to see one like this for conditional structures: if then -- do if true else -- do if false end if I always try to use the “full” form of if-then-else. It solves lots of confusion when you end up with nested if-thens. I teach my students to do it this way as best practice, and I

Re: common code patterns

2017-08-10 Thread Devin Asay via use-livecode
On Aug 10, 2017, at 11:30 AM, J. Landman Gay via use-livecode > wrote: How about every time I write a "case" statement inside a switch construct, the editor adds a blank line and then "break”? +2! Yes please. Devin Devin

Re: common code patterns

2017-08-10 Thread Devin Asay via use-livecode
On Aug 10, 2017, at 10:25 AM, Ralph DiMola via use-livecode > wrote: Monte, I find that I do this quite often local tIndex put 1 into tIndex repeat for each line tLine in tLines add 1 to tIndex end repeat What would be very

Re: Importing Unicode from MySQL

2017-07-26 Thread Devin Asay via use-livecode
Andy, Thanks for that tip. It’s one I never have heard about. I’ll try this next time I need to read UTF8 from my db. Devin On Jul 26, 2017, at 1:03 AM, AndyP via use-livecode > wrote: I had the same problems a while ago,

Re: Importing Unicode from MySQL

2017-07-25 Thread Devin Asay via use-livecode
Kaveh, The unicodeText property and uniEncode function are deprecated. Instead use textDecode as follows: Download your database data into a variable like tStringFromDatabase. Then, put textDecode(tStringFromDatabase,”UTF8”) into field “myDBText” HTH Devin On Jul 25, 2017, at 4:24 PM,

Re: iPad portrait size stack doesn't fit to display

2017-07-21 Thread Devin Asay via use-livecode
On Jul 21, 2017, at 11:52 AM, J. Landman Gay via use-livecode > wrote: On 7/21/17 6:14 AM, Antti Ilola via use-livecode wrote: I have 13.3 inch Macbook retina computer (2560x1600 pixels). Now I try to develop iPad software.

Re: iPad portrait size stack doesn't fit to display

2017-07-21 Thread Devin Asay via use-livecode
Obviously those statements in the mouseUp handler need to be on separate lines. The use-livecode mail server seems to be stripping out my formatting nowadays. Is anyone else seeing this? I’m using Mac Mail. Devin On Jul 21, 2017, at 9:53 AM, Devin Asay via use-livecode <use-livec

Re: iPad portrait size stack doesn't fit to display

2017-07-21 Thread Devin Asay via use-livecode
On Jul 21, 2017, at 9:24 AM, Bob Sneidar via use-livecode > wrote: I tried setting my stack to exact fit, then I went fullscreen on my stack. It did not scale. Is this a mobile feature only? Bob S No, it works on the

Re: iPad portrait size stack doesn't fit to display

2017-07-21 Thread Devin Asay via use-livecode
On Jul 21, 2017, at 5:14 AM, Antti Ilola via use-livecode > wrote: I have 13.3 inch Macbook retina computer (2560x1600 pixels). Now I try to develop iPad software. When I opened new iPad portrait size stack it didn't fit to my

Re: Native Livecode Pinch and Zoom

2017-07-12 Thread Devin Asay via use-livecode
On Jul 12, 2017, at 8:40 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where

Re: Text style is hit or miss for me

2017-07-07 Thread Devin Asay via use-livecode
Roger, The advantage of the array notation for textStyle is that you can explicitly set each style for a given run of text. The disadvantage of the array notation for textStyle is that you have to explicitly un-set each style for a given run of text. ;) set the textStyle[“bold”] of the

Re: Biased testing and micro-coaching

2017-07-07 Thread Devin Asay via use-livecode
Jonathan, Here’s a link to my lesson outline when I teach my students about conducting user evaluations of software. It’s still a bit sparse and needs to be fleshed out, but I include some links to a couple of really good articles on evaluation techniques, including one by our very own Jacque

Re: play sound plays the wrong sound

2017-07-06 Thread Devin Asay via use-livecode
> On Jul 6, 2017, at 9:14 AM, Keith Martin via use-livecode > wrote: > > On 6 Jul 2017, at 15:45, Matt Maier via use-livecode wrote: > >> Why is this stuff not in the dictionary? > > Also, given the massive prevalence of MP3, it would be great if the >

Re: First 1000 characters without loop?

2017-06-22 Thread Devin Asay via use-livecode
On Jun 22, 2017, at 1:05 PM, Rick Harrison via use-livecode > wrote: Hi Devin & Mark, Thanks for this solution. Does that statement create an implied loop? I don’t think so. It’s similar to substring functions in other

  1   2   >