Mobile library for barcodes?

2017-01-31 Thread Devin Asay via use-livecode
Hi all, I have a vague memory that someone had created a barcode library or extension for mobile. Anybody know anything about that? Thanks, Devin Devin Asay Director Office of Digital Humanities Brigham Young University ___ use-livecode mailing

Re: Drag List Items Up and Down

2017-02-03 Thread Devin Asay via use-livecode
Excellent, Andy! Thanks for sharing this. The only minor, cosmetic change I made was on the next to last line: set the textColor of line tcl of me to empty My hilite color was set to a dark blue, and the black on dark blue was hard to read. Setting it back to empty means that it will go to

Re: Mobile library for barcodes?

2017-01-31 Thread Devin Asay via use-livecode
7 at 1:29 PM, John Dixon via use-livecode < use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: John Craig wrote a library called 'squirt' for QR codes... works a treat ! Sent from my iPhone On 31 Jan 2017, at 17:26, Devin Asay via use-livecode < use-livecode@

Re: dateitems day-of-week disjunction

2017-01-25 Thread Devin Asay via use-livecode
Fix submitted. https://github.com/livecode/livecode/pull/5118 Devin On Jan 25, 2017, at 10:28 AM, panagiotis merakos via use-livecode > wrote: It was confirmed as a docs bug some time ago:

Re: PUT method where is returned data?

2017-02-09 Thread Devin Asay via use-livecode
On Feb 8, 2017, at 2:02 PM, Richard Gaskin via use-livecode > wrote: Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into

Re: [ ANN ] Release 8.1.3 RC-2

2017-02-10 Thread Devin Asay via use-livecode
I had just barely encountered this bug, and was *thinking* about filing a bug report. And now it’s fixed already! That’s some fast work! On Feb 10, 2017, at 9:34 AM, panagiotis merakos via use-livecode > wrote: 19185 -

Provisioning Profiles list

2017-02-16 Thread Devin Asay via use-livecode
Does anyone know how to clear out expired Provisioning Profiles from the Standalone application settings for iOS? My option menu shows every PP that ever existed on my system, making it difficult to choose the most current one. Thanks, Devin Devin Asay Director Office of Digital Humanities

Re: Provisioning Profiles list

2017-02-16 Thread Devin Asay via use-livecode
ers//Library/MobileDevice/Provisioning Profiles/ Best, Panos -- On Thu, Feb 16, 2017 at 5:41 PM, Devin Asay via use-livecode < use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Does anyone know how to clear out expired Provisioning Profiles from the Standalone applicat

Re: [ANN] tinyDictionary

2017-03-23 Thread Devin Asay via use-livecode
On Mar 23, 2017, at 2:33 PM, BNig via use-livecode > wrote: Bob Sneidar via use-livecode wrote Then please also make sure to submit this to Edinburgh. I want this to be my official dictionary. Thanks Bob, I think the

Re: Hanging indents in LC fields?

2017-03-20 Thread Devin Asay via use-livecode
You can either set the left margin of the field to some large value like 20, or I believe there is a leftIndent property that you can set for a paragraph. Then set the first indent property of the paragraph to a negative number. Devin Sent from my iPhone > On Mar 20, 2017, at 5:15 PM, Terry

Re: Livecode cross platform delight

2017-04-21 Thread Devin Asay via use-livecode
+1 in behalf of my students deploying to iOS and Android devices for the first time! Devin On Apr 21, 2017, at 5:03 AM, David V Glasgow via use-livecode > wrote: I have been so busy recently developing an app (on Mac), I

Re: Standard icons included in standalone

2017-04-20 Thread Devin Asay via use-livecode
On Apr 20, 2017, at 6:19 AM, Paul Dupuis via use-livecode > wrote: Under 8.1.3, if I create a new stack and a new button and open the property inspector for the button and click on the icon tab of the property inspector and

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Devin Asay via use-livecode
On Apr 21, 2017, at 1:51 PM, Klaus major-k via use-livecode > wrote: Hi all, Am 21.04.2017 um 21:46 schrieb Richmond Mathewson via use-livecode >: Well,

JSON library on LC Server

2017-03-09 Thread Devin Asay via use-livecode
Can anyone tell me how/if one can use the JSON library from LC 8 on LC Server? I’m running Community Server v. 8.1.2 on a Linux server. I tried just calling JsonExport() in the .lc script, but it errors. Do I have to ‘include’ or ‘start using’ the library somehow? Thanks! Devin Asay Director

Re: JSON library on LC Server

2017-03-09 Thread Devin Asay via use-livecode
On Mar 9, 2017, at 10:31 AM, Devin Asay via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Can anyone tell me how/if one can use the JSON library from LC 8 on LC Server? I’m running Community Server v. 8.1.2 on a Linux server. I tried

Re: New Features?

2017-04-03 Thread Devin Asay via use-livecode
On Apr 3, 2017, at 1:49 PM, Dan Friedman via use-livecode > wrote: Anyone know where to write LC for a feature request? In case your curious… Don’t know if it’s possible or not, but I want to request the abliltiy to set the

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: 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
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: 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: 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: 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: 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: 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: 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: 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: Map Widget"

2017-04-27 Thread Devin Asay via use-livecode
Bill, Have you checked the mergMK extension referred to in the post? To my knowledge the widget referred ton in the post has not yet been created. To take another tack—have you looked at the Google Static Map API? If you’re comfortable using RESTful API’s in LiveCode you can get a pretty

Re: Getting a Google MAP

2017-04-27 Thread Devin Asay via use-livecode
Bill, As Mike mentioned, the API call returns image data, so set the filename of an image to the url. Here’s the script from a working demo: on mouseUp put urlEncode(fld "address") into tAddress put urlEncode(fld "city") into tCity put urlEncode(fld "state") into tState put the

Primes and primality checking

2017-04-25 Thread Devin Asay via use-livecode
Hey folks, This guy over on stackoverflow.com is asking for help generating and testing very large prime numbers. http://stackoverflow.com/questions/43600252/generate-and-check-the-primality-of-very-large-numbers-in-livecode I came up with this: on mouseUp local

Re: poking around near the end of a string

2017-05-10 Thread Devin Asay via use-livecode
And don’t forget ‘begins with’. They were both added in v. 2.9. Devin On May 10, 2017, at 8:47 AM, Mike Bonner via use-livecode > wrote: Ends with.. How did I not know about that? On Wed, May 10, 2017 at 8:46 AM, Mike Bonner

Re: ANN: new team member

2017-05-12 Thread Devin Asay via use-livecode
Congratulations, Ali! RE a new future programmer. As they say out here in the wild, wild west (paraphrased): Mommas, don’t let your babies grow up to be coders, Don’t let ‘em parse text files and wade through old cruft, Let ‘em be doctors and lawyers and such. Apologies to Ed Bruce and Waylon

Re: Word delimiters

2017-06-12 Thread Devin Asay via use-livecode
Added cross reference to dictionary entry for ‘words’ keyword, for good measure. https://github.com/livecode/livecode/pull/5593 Devin On Jun 12, 2017, at 5:18 PM, Devin Asay via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: F

Re: Word delimiters

2017-06-12 Thread Devin Asay via use-livecode
Fixed. https://github.com/livecode/livecode/pull/5592 On Jun 12, 2017, at 3:13 PM, hlowe via use-livecode > wrote: Done. http://quality.livecode.com/show_bug.cgi?id=19855 Henry -- View this message in context:

Re: RIP Dan Shafer

2017-06-22 Thread Devin Asay via use-livecode
So sad. What a good guy! Thoughts and prayers to the Shafer family. Devin On Jun 21, 2017, at 9:31 PM, Jerry Jensen via use-livecode > wrote: We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody who met

Re: First 1000 characters without loop?

2017-06-22 Thread Devin Asay via use-livecode
On Jun 22, 2017, at 12:03 PM, Rick Harrison via use-livecode wrote: > > I have a string variable which contains over 2500 characters. > I only want to grab the first 1000 characters of that string. > Rather than looping 1000 times to grab each character > is there

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

Re: Does MobileSensorReading work?

2017-05-26 Thread Devin Asay via use-livecode
Jonathan, I worked it out for my class. Here’s a sample app that takes you through the main points. http://livecode.byu.edu/mobile/sensorExercise.php Devin On May 26, 2017, at 9:30 AM, Jonathan Lynch via use-livecode >

Re: insanely long delays when moving several selected objects

2017-05-30 Thread Devin Asay via use-livecode
On May 30, 2017, at 5:39 PM, Dr. Hawkins via use-livecode > wrote: On Tue, May 30, 2017 at 2:51 PM, Ali Lloyd via use-livecode < use-livecode@lists.runrev.com> wrote: The workaround might

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

2017-06-13 Thread Devin Asay via use-livecode
So far I’m kind of partial to Scott R’s “Persistent rect”. Conversely, it could be something like “Auto-update rect”, but then the checkbox would be opposite the property setting. That’s almost as bad as something like dontUpdateRect. (Sorry, Scott, plug your ears.) Devin On Jun 13, 2017, at

Re: [ANN] Release 9.0.0 DP-7

2017-06-15 Thread Devin Asay via use-livecode
I opened the release notes and I notice some markdown formatting problems starting on page 10 under JavaScript Example:. It looks like a code block was not terminated correctly, and the next several pages are formatted as code. Are the release notes on GitHub? It should be an easy fix. Devin

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

2017-06-14 Thread Devin Asay via use-livecode
Great discussion! > On Jun 14, 2017, at 1:20 AM, Mark Waddingham via use-livecode > wrote: > > On 2017-06-14 02:18, Monte Goulding via use-livecode wrote: >> I think this is one of those cases where the default behaviour was a >> bad idea. Or perhaps was

Re: Instantiaing Grouped Controls - Templates - Responsive

2017-06-13 Thread Devin Asay via use-livecode
Jacque, I moved this tangent to a new thread. See thread "clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)”. FWIW I had the same reaction to “crop”. Devin On Jun 13, 2017, at 1:31 PM, J. Landman Gay via use-livecode

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

2017-06-13 Thread Devin Asay via use-livecode
be best for the PI? Devin On Jun 13, 2017, at 4:11 PM, Phil Davis via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: So it's about manually updating the rect vs. having it in an auto-update mode? Phil Davis On 6/13/17 3:01 PM, Devin

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

2017-06-13 Thread Devin Asay via use-livecode
> On Jun 13, 2017, at 4:19 PM, Devin Asay via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Yes, in essence. If you have a group and set the clipsToRect property to true > (there’s no way to set it in the PI yet—that’s what I’m going to add), you >

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

2017-06-14 Thread Devin Asay via use-livecode
On Jun 14, 2017, at 9:21 AM, Devin Asay via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: As one who teaches newbies LiveCode, I am a proponent of property labels that are both succinct and descriptive, while not straying too far fro

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

2017-06-13 Thread Devin Asay via use-livecode
in can follow" > perspective > > And.. since we don't iterate the name of the object in other property > labels… ie.. there is no label "Don't search group" … just "Don't search" > > I am pretty sure that > > Crops to rect > >

Re: Instantiaing Grouped Controls - Templates - Responsive

2017-06-13 Thread Devin Asay via use-livecode
On Jun 12, 2017, at 11:45 PM, Mark Waddingham via use-livecode > wrote: On 2017-06-12 22:22, Richard Gaskin via use-livecode wrote: For group controls you will find that it is. Try it. It's quite handy. Another useful thing

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: 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: 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

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

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: 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: 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: 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: 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

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: 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: [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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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,

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: 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

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

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: 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

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: 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: 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
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: 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: 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: 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: 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: 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: 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: 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: 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

  1   2   >