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

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

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

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

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

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

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

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

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

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

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

<    1   2