From peter.brett at livecode.com Thu Sep 1 04:48:40 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 1 Sep 2016 09:48:40 +0100 Subject: What's everyone working on this month? (September 2016) Message-ID: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Hi all, What exciting LiveCode project(s) are you working on at the moment? Where can we find out more about them? Have you run into any interesting problems (or solutions) that you'd like to share? ---------- In the office, I'm currently trying to figure out what tools I can build to help with core dev team productivity. For example, I'm planning to create a tool that keeps our Bugzilla site (http://quality.livecode.com/) synchronised with what's going on in our git repositories (https://github.com/livecode/) In my spare time: - I've been adding some stuff to my somewhat-insane open source "undergrowth" library of pure-LCB bits and pieces (https://github.com/peter-b/undergrowth), including a templated string formatting function: u_format("There are {} lights", [5]) --> "There are 5 lights" - I've now written a reasonably usable Emacs mode for LCB source code (https://github.com/peter-b/lcb-mode), with syntax highlighting and indentation support. It turns out LCB code (and LiveCode script) is actually very difficult to highlight well without compiler support because of LiveCode's English-like syntax, but lcb-mode does the job adequately for the time being - I've got the idea of making it possible to write externals in Rust going round (and round) inside my head but I haven't yet got round to getting it working. ---------- What are you up to? Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From blueback09 at gmail.com Thu Sep 1 06:07:21 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 1 Sep 2016 13:07:21 +0300 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: I've been building a website in Livecode and revIgniter. I wanted a passwordless authentication system so I had to roll that from scratch. Now I'm connecting my desktop app to the website so that users can sync their projects and make them available online. This way people who know how to make things, and want to share (focusing on open source hardware) can easily keep track of all the details. People who need to know how to make things can get a BOM and instructions all neatly organized and up to date. The website (bare bones at the moment) is https://www.howstr.com You can learn about and download Howstr here http://github.howstr.com If you're a Livecode developer looking for contract work I'd be interested in discussing specific projects. There aren't many Livecode devs around. On Thu, Sep 1, 2016 at 11:48 AM, Peter TB Brett wrote: > Hi all, > > What exciting LiveCode project(s) are you working on at the moment? Where > can we find out more about them? Have you run into any interesting > problems (or solutions) that you'd like to share? > > ---------- > > In the office, I'm currently trying to figure out what tools I can build > to help with core dev team productivity. For example, I'm planning to > create a tool that keeps our Bugzilla site (http://quality.livecode.com/) > synchronised with what's going on in our git repositories ( > https://github.com/livecode/) > > In my spare time: > > - I've been adding some stuff to my somewhat-insane open source > "undergrowth" library of pure-LCB bits and pieces ( > https://github.com/peter-b/undergrowth), including a templated string > formatting function: > > u_format("There are {} lights", [5]) --> "There are 5 lights" > > - I've now written a reasonably usable Emacs mode for LCB source code ( > https://github.com/peter-b/lcb-mode), with syntax highlighting and > indentation support. It turns out LCB code (and LiveCode script) is > actually very difficult to highlight well without compiler support because > of LiveCode's English-like syntax, but lcb-mode does the job adequately for > the time being > > - I've got the idea of making it possible to write externals in Rust going > round (and round) inside my head but I haven't yet got round to getting it > working. > > ---------- > > What are you up to? > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mail at richard-hillen.de Thu Sep 1 06:35:31 2016 From: mail at richard-hillen.de (Hillen Richard) Date: Thu, 1 Sep 2016 12:35:31 +0200 Subject: Standalone stops running (Hillen Richard) In-Reply-To: References: Message-ID: <318CCD79-FAD7-475D-ADAB-6E16B7E54A62@richard-hillen.de> Hello all together, problem solved,I?m very relieved. > -> Richard Gaskin > Hello Richard., Stack Data is a substack of stack main; it is automatically choosen in ?Stacks in the selected stack file". > -> Klaus major-k > looks like it is as bad as I was afraid of when I read the filename: > the ? umlaut is the culprit > > This app runs fine: > ../PK-Beitragsuebersicht 2.0/PK-Beitragsuebersicht 2.0.app > > These don't: > ../PK-Beitrags?bersicht 2.0/PK-Beitragsuebersicht 2.0.app > ../PK-Beitragsuebersicht 2.0/PK-Beitrags?bersicht 2.0.app > Hello Klaus, That solved the problem. But surely in the beginning of this year it worked with Umlauts in the filename. > -> Bob Sneidar > No special characters, no spaces. > ->Dr. Hawkins > I allow periods, but not hyphens. I've used things over the year where > they have meaning . . . > Hello Bob, hello Dr. Hawkins, I trusted in unicode :-( in future I will follow this rule, for my own security. Thank you all very much for your helpfull and quick response, Richard. From klaus at major-k.de Thu Sep 1 06:39:25 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 1 Sep 2016 12:39:25 +0200 Subject: Standalone stops running (Hillen Richard) In-Reply-To: <318CCD79-FAD7-475D-ADAB-6E16B7E54A62@richard-hillen.de> References: <318CCD79-FAD7-475D-ADAB-6E16B7E54A62@richard-hillen.de> Message-ID: <45669D31-E313-4439-81F4-9F780DBA0A43@major-k.de> Hi Richard, > Am 01.09.2016 um 12:35 schrieb Hillen Richard : > > Hello all together, > > problem solved,I?m very relieved. > ... >> -> Klaus major-k >> looks like it is as bad as I was afraid of when I read the filename: >> the ? umlaut is the culprit >> >> This app runs fine: >> ../PK-Beitragsuebersicht 2.0/PK-Beitragsuebersicht 2.0.app >> >> These don't: >> ../PK-Beitrags?bersicht 2.0/PK-Beitragsuebersicht 2.0.app >> ../PK-Beitragsuebersicht 2.0/PK-Beitrags?bersicht 2.0.app >> > Hello Klaus, > That solved the problem. > But surely in the beginning of this year it worked with Umlauts in the filename. be sure to report this real showstopper here: so they can fix this as soon as possible! > ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From iowahengst at mac.com Thu Sep 1 08:41:53 2016 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 01 Sep 2016 07:41:53 -0500 Subject: Set the fillGradient .... In-Reply-To: <5B8AADA9-0286-44B4-ADA3-31A1422D72D2@mac.com> References: <66e2ac60-4604-39e1-a229-0f3f6ed125fc@gmail.com> <3eb57934-0d08-6e89-0583-2721e5b2064c@gmail.com> <79985ed3-a6b5-3df5-5a9f-979f7c8fb139@gmail.com> <1D8C3FAD-6CED-40FE-8DEF-9EB4D9D178C5@mac.com> <43c1a65e-39bc-4bfb-2e84-de556055275e@pdslabs.net> <97ACCEA8-23BA-4B70-B253-234C3525D0FD@mac.com> <5B8AADA9-0286-44B4-ADA3-31A1422D72D2@mac.com> Message-ID: <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> To make this work via script, I?ve done two things? the easiest is to set the grc that I want to change to the size and position of the a grc master with the fill gradient I want to match? in this example, the script is in the grc to be changed: on mouseDown local tStartLoc put the loc of target into tStartLoc set the loc of target to the loc of grc "Blue MasterChip" set the fillGradient of target to the fillGradient of grc "Blue MasterChip" set the loc of target to tStartLoc end mouseDown > On Aug 31, 2016, at 9:10 PM, Roger Guay wrote: > > Yes it is. > > >> On Aug 31, 2016, at 6:49 PM, Scott Rossi wrote: >> >> Is the noGradientYet graphic opaque? >> >> >> Scott Rossi >> Creative Director >> Tactile Media UX/UI Design >> >>> On Aug 31, 2016, at 6:43 PM, Roger Guay wrote: >>> >>> Why does this not work? >>> >>> Set the fillGradient of grc ?noGradientYet" to the fillGradient of grc ?NiceGradient?. >>> >>> Something happens . . . indeed the object browser seems to show that they have the same gradient, yet they don?t! >>> >>> Probably something simple, again. >>> >>> LC 8.0.2 and Mac >>> >>> >>> Thanks, >>> >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Sep 1 10:06:22 2016 From: irog at mac.com (Roger Guay) Date: Thu, 01 Sep 2016 07:06:22 -0700 Subject: Set the fillGradient .... In-Reply-To: <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> References: <66e2ac60-4604-39e1-a229-0f3f6ed125fc@gmail.com> <3eb57934-0d08-6e89-0583-2721e5b2064c@gmail.com> <79985ed3-a6b5-3df5-5a9f-979f7c8fb139@gmail.com> <1D8C3FAD-6CED-40FE-8DEF-9EB4D9D178C5@mac.com> <43c1a65e-39bc-4bfb-2e84-de556055275e@pdslabs.net> <97ACCEA8-23BA-4B70-B253-234C3525D0FD@mac.com> <5B8AADA9-0286-44B4-ADA3-31A1422D72D2@mac.com> <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> Message-ID: Wow, Randy, that works! Is this a workaround to a bug or what?? Thanks, Randy. Roger > On Sep 1, 2016, at 5:41 AM, Randy Hengst wrote: > > To make this work via script, I?ve done two things? the easiest is to set the grc that I want to change to the size and position of the a grc master with the fill gradient I want to match? in this example, the script is in the grc to be changed: > > on mouseDown > local tStartLoc > put the loc of target into tStartLoc > set the loc of target to the loc of grc "Blue MasterChip" > set the fillGradient of target to the fillGradient of grc "Blue MasterChip" > set the loc of target to tStartLoc > end mouseDown > > > >> On Aug 31, 2016, at 9:10 PM, Roger Guay wrote: >> >> Yes it is. >> >> >>> On Aug 31, 2016, at 6:49 PM, Scott Rossi wrote: >>> >>> Is the noGradientYet graphic opaque? >>> >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media UX/UI Design >>> >>>> On Aug 31, 2016, at 6:43 PM, Roger Guay wrote: >>>> >>>> Why does this not work? >>>> >>>> Set the fillGradient of grc ?noGradientYet" to the fillGradient of grc ?NiceGradient?. >>>> >>>> Something happens . . . indeed the object browser seems to show that they have the same gradient, yet they don?t! >>>> >>>> Probably something simple, again. >>>> >>>> LC 8.0.2 and Mac >>>> >>>> >>>> Thanks, >>>> >>>> Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 1 10:23:21 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 1 Sep 2016 10:23:21 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: Let's see: ? Peter challenged me to do better than the new Documentation setup. Maybe he didn't mean it that way, but that's the way I took it, so I'm going to have a go. ? Finishing a new app that allows machine shops to quickly determine how to run particular operations, what tooling to use, etc. ? Writing an app for making a tablet into a timeclock. ? Adding new features to an existing app that allows for easy warehouse inventory management and posts updates in real time to a series of Google spreadsheets. ? Messing with RFID scanning On Thu, Sep 1, 2016 at 6:07 AM, Matt Maier wrote: > I've been building a website in Livecode and revIgniter. I wanted a > passwordless authentication system so I had to roll that from scratch. > > Now I'm connecting my desktop app to the website so that users can sync > their projects and make them available online. > > This way people who know how to make things, and want to share (focusing on > open source hardware) can easily keep track of all the details. People who > need to know how to make things can get a BOM and instructions all neatly > organized and up to date. > > The website (bare bones at the moment) is https://www.howstr.com > > You can learn about and download Howstr here http://github.howstr.com > > If you're a Livecode developer looking for contract work I'd be interested > in discussing specific projects. There aren't many Livecode devs around. > > On Thu, Sep 1, 2016 at 11:48 AM, Peter TB Brett > wrote: > > > Hi all, > > > > What exciting LiveCode project(s) are you working on at the moment? Where > > can we find out more about them? Have you run into any interesting > > problems (or solutions) that you'd like to share? > > > > ---------- > > > > In the office, I'm currently trying to figure out what tools I can build > > to help with core dev team productivity. For example, I'm planning to > > create a tool that keeps our Bugzilla site (http://quality.livecode.com/ > ) > > synchronised with what's going on in our git repositories ( > > https://github.com/livecode/) > > > > In my spare time: > > > > - I've been adding some stuff to my somewhat-insane open source > > "undergrowth" library of pure-LCB bits and pieces ( > > https://github.com/peter-b/undergrowth), including a templated string > > formatting function: > > > > u_format("There are {} lights", [5]) --> "There are 5 lights" > > > > - I've now written a reasonably usable Emacs mode for LCB source code ( > > https://github.com/peter-b/lcb-mode), with syntax highlighting and > > indentation support. It turns out LCB code (and LiveCode script) is > > actually very difficult to highlight well without compiler support > because > > of LiveCode's English-like syntax, but lcb-mode does the job adequately > for > > the time being > > > > - I've got the idea of making it possible to write externals in Rust > going > > round (and round) inside my head but I haven't yet got round to getting > it > > working. > > > > ---------- > > > > What are you up to? > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Technical Project Manager > > > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pystcat at gmail.com Thu Sep 1 10:29:33 2016 From: pystcat at gmail.com (PystCat) Date: Thu, 1 Sep 2016 10:29:33 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <7E546A33-38FF-49D3-9A8A-87EF5A240191@gmail.com> I've been working on an interface that creates specialized calendars that contain Stock Exchange holidays to connect tow rather large Oracle database that handles millions of transactions a day. On a different note, I love the subtle reference to ST:TNG with Picard held captive by a Cardassian Gul. > On Sep 1, 2016, at 4:48 AM, Peter TB Brett wrote: > > Hi all, > > What exciting LiveCode project(s) are you working on at the moment? Where can we find out more about them? Have you run into any interesting problems (or solutions) that you'd like to share? > > ---------- > > In the office, I'm currently trying to figure out what tools I can build to help with core dev team productivity. For example, I'm planning to create a tool that keeps our Bugzilla site (http://quality.livecode.com/) synchronised with what's going on in our git repositories (https://github.com/livecode/) > > In my spare time: > > - I've been adding some stuff to my somewhat-insane open source "undergrowth" library of pure-LCB bits and pieces (https://github.com/peter-b/undergrowth), including a templated string formatting function: > > u_format("There are {} lights", [5]) --> "There are 5 lights" > > - I've now written a reasonably usable Emacs mode for LCB source code (https://github.com/peter-b/lcb-mode), with syntax highlighting and indentation support. It turns out LCB code (and LiveCode script) is actually very difficult to highlight well without compiler support because of LiveCode's English-like syntax, but lcb-mode does the job adequately for the time being > > - I've got the idea of making it possible to write externals in Rust going round (and round) inside my head but I haven't yet got round to getting it working. > > ---------- > > What are you up to? > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Sep 1 10:41:58 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 01 Sep 2016 10:41:58 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <57C83E36.1090005@researchware.com> On 9/1/2016 4:48 AM, Peter TB Brett wrote: > What exciting LiveCode project(s) are you working on at the moment? > Where can we find out more about them? Have you run into any > interesting problems (or solutions) that you'd like to share? I am working on trying to create code to print a Data Grid pixel perfectly onto pages however many pages across and down is needed to faithfully print the contents of the Data Grid. The goal is to not have columns or rows "split" across pages, so it is more complex that just mapping the formattedHeight and formattedWidth to the print area of each page. You have to determine the scroll points (pageWidths and pageHeights) based on how many variable width columns and rows fit to each page and handle columns of rows that may be larger than the print area of a page. I have rows dead on (perhaps still off by a 'borderWidth' somewhere), but something is wrong with columns (either in my code or a Data Grid bug) that I am still working on. I anyone has already coded this, I'd be interested in seeing that code. Happy to share mine once it is done. From iowahengst at mac.com Thu Sep 1 11:53:18 2016 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 01 Sep 2016 10:53:18 -0500 Subject: Set the fillGradient .... In-Reply-To: References: <66e2ac60-4604-39e1-a229-0f3f6ed125fc@gmail.com> <3eb57934-0d08-6e89-0583-2721e5b2064c@gmail.com> <79985ed3-a6b5-3df5-5a9f-979f7c8fb139@gmail.com> <1D8C3FAD-6CED-40FE-8DEF-9EB4D9D178C5@mac.com> <43c1a65e-39bc-4bfb-2e84-de556055275e@pdslabs.net> <97ACCEA8-23BA-4B70-B253-234C3525D0FD@mac.com> <5B8AADA9-0286-44B4-ADA3-31A1422D72D2@mac.com> <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> Message-ID: <8CB00F6E-1991-4320-8647-7671DB7173A2@mac.com> That?s a good question, Roger? I have no idea if it?s a bug? Glad it helped you. > On Sep 1, 2016, at 9:06 AM, Roger Guay wrote: > > Wow, Randy, that works! Is this a workaround to a bug or what?? > > Thanks, Randy. > > Roger > > >> On Sep 1, 2016, at 5:41 AM, Randy Hengst wrote: >> >> To make this work via script, I?ve done two things? the easiest is to set the grc that I want to change to the size and position of the a grc master with the fill gradient I want to match? in this example, the script is in the grc to be changed: >> >> on mouseDown >> local tStartLoc >> put the loc of target into tStartLoc >> set the loc of target to the loc of grc "Blue MasterChip" >> set the fillGradient of target to the fillGradient of grc "Blue MasterChip" >> set the loc of target to tStartLoc >> end mouseDown >> >> >> >>> On Aug 31, 2016, at 9:10 PM, Roger Guay wrote: >>> >>> Yes it is. >>> >>> >>>> On Aug 31, 2016, at 6:49 PM, Scott Rossi wrote: >>>> >>>> Is the noGradientYet graphic opaque? >>>> >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media UX/UI Design >>>> >>>>> On Aug 31, 2016, at 6:43 PM, Roger Guay wrote: >>>>> >>>>> Why does this not work? >>>>> >>>>> Set the fillGradient of grc ?noGradientYet" to the fillGradient of grc ?NiceGradient?. >>>>> >>>>> Something happens . . . indeed the object browser seems to show that they have the same gradient, yet they don?t! >>>>> >>>>> Probably something simple, again. >>>>> >>>>> LC 8.0.2 and Mac >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 1 12:00:45 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Sep 2016 09:00:45 -0700 Subject: Set the fillGradient .... In-Reply-To: References: Message-ID: <7483e56e-90b2-38d6-4436-ebaaa2e02a37@fourthworld.com> Roger Guay wrote: > >> On Sep 1, 2016, at 5:41 AM, Randy Hengst wrote: >> >> To make this work via script, I?ve done two things? the easiest is >> to set the grc that I want to change to the size and position of >> the a grc master with the fill gradient I want to match? in this >> example, the script is in the grc to be changed: >> >> on mouseDown >> local tStartLoc >> put the loc of target into tStartLoc >> set the loc of target to the loc of grc "Blue MasterChip" >> set the fillGradient of target to the fillGradient of grc "Blue MasterChip" >> set the loc of target to tStartLoc >> end mouseDown > > Wow, Randy, that works! Is this a workaround to a bug or what?? At the moment it's just how it works. Some of the elements for gradients use positioning, which is currently most commonly handled throughout LiveCode in coordinates local to the card. This may be among the cases we come across now and then where it would be helpful if we had coordinates local to the object. I don't believe we have any functions or other language elements that use object-local coordinates, but if we did what should those look like? But as I think about that, even if we did have something like localToObjectLocal that would take at least as many lines of code to copy gradient data from one object to another as simply setting the loc and having the coords update themselves. Hmmm.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Thu Sep 1 12:12:09 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 01 Sep 2016 12:12:09 -0400 Subject: Set the fillGradient .... In-Reply-To: <7483e56e-90b2-38d6-4436-ebaaa2e02a37@fourthworld.com> References: <7483e56e-90b2-38d6-4436-ebaaa2e02a37@fourthworld.com> Message-ID: <57C85359.1000900@researchware.com> On 9/1/2016 12:00 PM, Richard Gaskin wrote: > I don't believe we have any functions or other language elements that > use object-local coordinates, but if we did what should those look like? The other main area where object-local coordinates come up frequently is with groups. It would be a real asset (IMHO) to be able to refer to the position of object in a group relative to the topLeft of the group being 0,0. Of course, scripts/behaviors and getprop/setprop handlers can help with this, but as with many thing, having it a true part of LiveCode - as delivered - is often better than an add-on home grown solution. From bobsneidar at iotecdigital.com Thu Sep 1 13:27:00 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Sep 2016 17:27:00 +0000 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <00566520-CD2E-473E-957F-ABEFF30F4192@iotecdigital.com> I have an app called Forms Generator (you've probably seen me talk about it in the list) which has data entry forms that populate a mySQL or sqLite database. It also has the ability to import fillable PDF forms, analyze the structure of the PDF and save the PDF file binary in the database so I can easily re-create the fillable form anywhere on demand. When importing the form I have a card which allows the user to associate table columns with fillable form controls, and then save those settings as a template. This adds the form to a forms menu for selection later. Once all the desired forms have been imported and the associations made, a user can query for the data he wants in the data entry forms (stacks/cards) and select the form he wants to fill. The app can then launch the acrobat app of his choice (defined in the preferences pane) and populate the fillable form from the queried data. The app is more like a framework for building Forms Generating applications, and could work for any mySQL or sqLite database, but currently I am using it for our service forms for the company I presently work for. Not only do we have clean professional looking forms to present to our customers for signing, but the data entered (copier setup, IP configuration, SMTP settings etc) is shared among my technicians for future reference. Currently it is in production (I have been using it for over 2 years) but I am adding features. I am working on adding a Contacts feature. There are customers and sites. A contact belongs to a customer, but can be the default customer contact, the default site contact for a site for that customer, or a default IT contact for a site. Additionally more contacts can be added like alternate site contact, Accounts Receivable, Department manager etc. which are customizable by the end users. I have in the way of modules, Customers, Sites, Devices, Accessories, Service and Inventory (equipment and accessories). I also, of course have the forms import/maintenance module which makes the whole thing work. I am adding the contacts feature now. If anyone is curious, I can put up some screen shots somewhere so you can get an idea of what it does. Now that I have two techs working for me I have ready made compliant beta testers at my disposal. :-) Bob S On Sep 1, 2016, at 01:48 , Peter TB Brett > wrote: Hi all, What exciting LiveCode project(s) are you working on at the moment? Where can we find out more about them? Have you run into any interesting problems (or solutions) that you'd like to share? From bobsneidar at iotecdigital.com Thu Sep 1 13:32:09 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Sep 2016 17:32:09 +0000 Subject: postgres "serial primary key" recycling values In-Reply-To: References: Message-ID: <24F40E3A-C2A5-46C2-973D-8F655CA9AD49@iotecdigital.com> Right. I don't think any SQL database does. They all store the next unique key value(s) in some kind of master table for the database. That is what nextval() returns, not the next unused sequence. Bob S On Aug 31, 2016, at 14:31 , Dr. Hawkins > wrote: I think I see what is happening. The nextval() in postgres does *not* consider the numbers in use in the sequence; I thought it had. So adding put "ALTER SEQUENCE " & dhtbl_dbtr & "_unqKy_seq RESTART WITH 1001;" & cr after dcmd Instead of inserting ckCap solves the problem. I tried MIN(1001, MAX(unqKy)) but it didn't like the min From bernd.niggemann at uni-wh.de Thu Sep 1 14:47:40 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 1 Sep 2016 11:47:40 -0700 (PDT) Subject: LineGraph widget Message-ID: <1472755660810-4707994.post@n4.nabble.com> Hi all, I modified the line graph widget that ships with LC 8.1.0 RC1 per user request to show optionally decimal Y-values up to 5 digits and optionally values at the vertices of the graph. needs LC 8.1.0 RC1 http://forums.livecode.com/viewtopic.php?f=7&t=27490&start=15#p145912 feature requests and feedback welcome. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LineGraph-widget-tp4707994.html Sent from the Revolution - User mailing list archive at Nabble.com. From me at jerrydaniels.com Thu Sep 1 15:10:41 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Thu, 1 Sep 2016 14:10:41 -0500 Subject: SVG management Message-ID: I have not had time to check this out, but here's a Mac app for managing and tweaking SVGs. Might be helpful. https://www.producthunt.com/tech/svgsus-2 Best, Jerry From jacque at hyperactivesw.com Thu Sep 1 15:15:19 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 1 Sep 2016 14:15:19 -0500 Subject: Failed to load external error Message-ID: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> Due to an audio bug fix we needed, we were forced to compile and release an app using 8.1rc1. Some Windows users are regularly receiving the error "failed to load external" when the app launches. This renders the app useless. So far we have heard from both Windows 7 and Windows 10 users. The external folder in the app contains revBrowser.dll and tsNet.dll. Does anyone know why this would happen? The externals are obviously there (we got screen shots) so I assume they are being found. Could virus scanners block this? Are there any other reasons? It would be nice if the error message would tell us which external wouldn't load. Right now the students who use the app are pretty pissed off because they can't complete their assignments. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Thu Sep 1 15:54:52 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 2 Sep 2016 05:54:52 +1000 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: He probably did mean it that way ;-) Sent from my iPhone > On 2 Sep 2016, at 12:23 AM, Mike Kerner wrote: > > ? Peter challenged me to do better than the new Documentation setup. Maybe > he didn't mean it that way, but that's the way I took it, so I'm going to > have a go From jacque at hyperactivesw.com Thu Sep 1 15:56:12 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 1 Sep 2016 14:56:12 -0500 Subject: Failed to load external error In-Reply-To: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> References: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> Message-ID: <6037351d-b222-153e-f81d-b7dc32f14d19@hyperactivesw.com> On 9/1/2016 2:15 PM, J. Landman Gay wrote: > Due to an audio bug fix we needed, we were forced to compile and release > an app using 8.1rc1. Some Windows users are regularly receiving the > error "failed to load external" when the app launches. This renders the > app useless. > > So far we have heard from both Windows 7 and Windows 10 users. The > external folder in the app contains revBrowser.dll and tsNet.dll. > > Does anyone know why this would happen? The externals are obviously > there (we got screen shots) so I assume they are being found. Could > virus scanners block this? Are there any other reasons? > > It would be nice if the error message would tell us which external > wouldn't load. Right now the students who use the app are pretty pissed > off because they can't complete their assignments. > Addendum: at least some of these students are running on a Surface Pro. Not sure if that matters, but we've had reports from users on Surface Pro 2,3, and 4 machines. Some may be using other Windows hardware, we aren't sure yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skiplondon at gmail.com Thu Sep 1 16:21:54 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 1 Sep 2016 16:21:54 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: I am in the process of creating an applicant tracking system for our HR department. The online application will be submitted through a WordPress website leveraging Gravity Forms. Thanks to Todd and the Digital Pomegranate team, I was able to utilize some of the code they have been writing for the community for this exact purpose. Once the data is submitted online, I have a standalone that extracts that XML data and injects it into our internal corporate SQL database. The second part of the project is a standalone interface that allows retrieving and manipulating the database of applicants and perform reports critical to HR operations. Automatic routing of applications based on job function and location, statistical data, export capabilities to Excel, auto formatting of data into a standardized application, etc. Right up my alley! SKIP KIMPEL On Thu, Sep 1, 2016 at 4:48 AM, Peter TB Brett wrote: > Hi all, > > What exciting LiveCode project(s) are you working on at the moment? Where > can we find out more about them? Have you run into any interesting > problems (or solutions) that you'd like to share? > > ---------- > > In the office, I'm currently trying to figure out what tools I can build > to help with core dev team productivity. For example, I'm planning to > create a tool that keeps our Bugzilla site (http://quality.livecode.com/) > synchronised with what's going on in our git repositories ( > https://github.com/livecode/) > > In my spare time: > > - I've been adding some stuff to my somewhat-insane open source > "undergrowth" library of pure-LCB bits and pieces ( > https://github.com/peter-b/undergrowth), including a templated string > formatting function: > > u_format("There are {} lights", [5]) --> "There are 5 lights" > > - I've now written a reasonably usable Emacs mode for LCB source code ( > https://github.com/peter-b/lcb-mode), with syntax highlighting and > indentation support. It turns out LCB code (and LiveCode script) is > actually very difficult to highlight well without compiler support because > of LiveCode's English-like syntax, but lcb-mode does the job adequately for > the time being > > - I've got the idea of making it possible to write externals in Rust going > round (and round) inside my head but I haven't yet got round to getting it > working. > > ---------- > > What are you up to? > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jeff at siphonophore.com Thu Sep 1 16:24:55 2016 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 1 Sep 2016 13:24:55 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: Message-ID: Just updated content the presenter interface system for the auditorium programs at Monterey bay aquarium. It's been run on MetaCard/rev/livecode since the 90s and still going strong! They have a number of presenter shows that run in the auditorium all the time that utilize a large HD video library. Now working on the proposal to move the system to the surface tablets to run the show wirelessly and also to switch over to handheld access to the video library after shows to answer questions with folks one on one between shows. They are also adding new education systems based on the same system in new classrooms. Jeff From monte at appisle.net Thu Sep 1 16:43:59 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 2 Sep 2016 06:43:59 +1000 Subject: LineGraph widget In-Reply-To: <1472755660810-4707994.post@n4.nabble.com> References: <1472755660810-4707994.post@n4.nabble.com> Message-ID: That?s cool. Playing with the Line Chart is fun ;-) I would say if the chart crosses between positive and negative on the Y axis we should have a 0 line. I?d generally rather see the Y axis move to a rounded range that makes sense for the data and an option to set the range and step size of the grid. This reminds me we still need to sort out the decimal number formatting we discussed at the conference! Cheers Monte > On 2 Sep 2016, at 4:47 AM, BNig wrote: > > Hi all, > > I modified the line graph widget that ships with LC 8.1.0 RC1 per user > request to show optionally decimal Y-values up to 5 digits and optionally > values at the vertices of the graph. > > needs LC 8.1.0 RC1 > > http://forums.livecode.com/viewtopic.php?f=7&t=27490&start=15#p145912 > > feature requests and feedback welcome. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LineGraph-widget-tp4707994.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Sep 1 16:50:50 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 1 Sep 2016 15:50:50 -0500 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: On 9/1/2016 3:48 AM, Peter TB Brett wrote: > What exciting LiveCode project(s) are you working on at the moment? > Where can we find out more about them? Have you run into any > interesting problems (or solutions) that you'd like to share? I'm working on lots of stuff right now (too much, actually.) 1. My long-term project that delivers university courseware dynamically to students via AWS. The company offers many different full-semester courses, with more in the pipeline. This is a fairly complicated system that interacts with a remote gradebook, tracks student activity and their scores, supports several types of multimedia, provides little in-app games, and much more. Besides writing the code that actually runs all the courses, I also needed to write automation software that allows the company to build and update the courseware from hundres of files on disk. Current problems are that the app can't load externals correctly on some Windows machines. I have no solution yet. For most students the app works well and is in use all over the U.S. 2. I'm also a team member for Brahmanathaswami's project to get the entire Hinduism Today web site into Android and iOS apps. This is an ambitious undertaking given the extent of their existing content. They have a beautiful site: So far, no particular problems outside of some bugs the LC team has corrected. The app will support artwork, quotations, music, narration, and more. This is fun stuff to work with. BR himself did much of the coding, I'm mostly implementing the mobile port and some optimizations. 3. An upcoming project involving healthcare and RFID tags. I will need LC help with an external for this one. I am currently researching various possibilities for implementation. 4. Eventual update to AirLaunch, my utility that seamlessly creates test iOS ipa packages directly from within LC. This one has to be on hold while I work on the other things. Dropbox will be suspending some html capabilities which could impact AirLaunch soon. If I ever had time I'd also do some personal projects but that never seems to happen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Thu Sep 1 17:08:05 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 1 Sep 2016 22:08:05 +0100 Subject: Failed to load external error In-Reply-To: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> References: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> Message-ID: Hi Jacque, It might not be this, but it sounds awfully similar to a problem I had, attempting to deploy a standalone built with 8.1.0 dp 3 to Windows. Details here, including a patched version of tsNet.dll which fixed the issue for me: http://quality.livecode.com/show_bug.cgi?id=18205 The bug report changed status to "AWAITING_RELEASE" just this afternoon (UK time) so my guess is that the new dll didn't make it into rc1. If you're in a hurry to solve this, I suggest trying the patched version - note Charles Warwick's comment #2, it may be necessary to build with the new version, rather than just replacing it after the fact. HTH, Ben On 01/09/2016 20:15, J. Landman Gay wrote: > Due to an audio bug fix we needed, we were forced to compile and release an > app using 8.1rc1. Some Windows users are regularly receiving the error "failed > to load external" when the app launches. This renders the app useless. > > So far we have heard from both Windows 7 and Windows 10 users. The external > folder in the app contains revBrowser.dll and tsNet.dll. > > Does anyone know why this would happen? The externals are obviously there (we > got screen shots) so I assume they are being found. Could virus scanners block > this? Are there any other reasons? > > It would be nice if the error message would tell us which external wouldn't > load. Right now the students who use the app are pretty pissed off because > they can't complete their assignments. > From jacque at hyperactivesw.com Thu Sep 1 17:25:23 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 1 Sep 2016 16:25:23 -0500 Subject: Failed to load external error In-Reply-To: References: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> Message-ID: <9e33e357-cefa-6949-d790-d0fbb2fc7c7a@hyperactivesw.com> Thank you! That sounds like exactly the problem we're seeing. We're in a rush so I'll try the file Charles uploaded to the QCC. If I had more time I'd read the bug reports every day. :) On 9/1/2016 4:08 PM, Ben Rubinstein wrote: > Hi Jacque, > > It might not be this, but it sounds awfully similar to a problem I had, > attempting to deploy a standalone built with 8.1.0 dp 3 to Windows. > > Details here, including a patched version of tsNet.dll which fixed the > issue for me: > http://quality.livecode.com/show_bug.cgi?id=18205 > > The bug report changed status to "AWAITING_RELEASE" just this afternoon > (UK time) so my guess is that the new dll didn't make it into rc1. > > If you're in a hurry to solve this, I suggest trying the patched version > - note Charles Warwick's comment #2, it may be necessary to build with > the new version, rather than just replacing it after the fact. > > HTH, > > Ben > > On 01/09/2016 20:15, J. Landman Gay wrote: >> Due to an audio bug fix we needed, we were forced to compile and >> release an >> app using 8.1rc1. Some Windows users are regularly receiving the error >> "failed >> to load external" when the app launches. This renders the app useless. >> >> So far we have heard from both Windows 7 and Windows 10 users. The >> external >> folder in the app contains revBrowser.dll and tsNet.dll. >> >> Does anyone know why this would happen? The externals are obviously >> there (we >> got screen shots) so I assume they are being found. Could virus >> scanners block >> this? Are there any other reasons? >> >> It would be nice if the error message would tell us which external >> wouldn't >> load. Right now the students who use the app are pretty pissed off >> because >> they can't complete their assignments. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kevin at stallibrass.com Thu Sep 1 17:47:11 2016 From: kevin at stallibrass.com (kevin at stallibrass.com) Date: Thu, 1 Sep 2016 22:47:11 +0100 Subject: What's everyone working on this month? (September 2016) Message-ID: A server/client system to allow a railway network to remotely print large format images at any station with a print facility on the line. Software works really well but probably won't be pressed into service because the prints are subsequently distributed to sub stations via train and they can't rely on safe delivery! That made me laugh A simple tool to look into a folder hierarchy on a web server, check combinations of content and format the results as CSV so that my management can manipulate the output in Excel. Takes a couple of mins to process but will save me hours a month working on the most mind numbing task Also an app to grab info on who downloaded what from a webserver, associate the user with a sales rep, generate a report and send it to the rep via mail. At 11.30 each night. The office think I work all night. Shame I don't get overtime Kevin S Sent from my iPad From ambassador at fourthworld.com Thu Sep 1 18:18:05 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Sep 2016 15:18:05 -0700 Subject: libURL gone mad Message-ID: <29ae0188-41fa-72a2-0a4a-fc99f93ad7cb@fourthworld.com> My quest today began with a seemingly simple question: If I have a button that gets data from a URL via libURL, how do I prevent a second request if the user double-clicks? In this case we have too many entry points to disable and re-enable the controls that trigger URL access for that to be a practical option. Besides, occasionally libURL neither completes a URL request nor provides an error for it, so relying on disabling a control risks getting into a state where the control is disabled with no way to know to re-enable it. In brief, sometimes GET or POST with libURL returns with no data in either "it" or "the result". And looking through the forum and list archives, it seems I'm far from alone in this experience. Then today I was working on this code in v8.1, when I encountered this new error message: tsneterr: Sync request already in progress Hmmm...so now we need to rewrite the error handling for our URL code to account for new strings? Good to know. So.... Does anyone here have a handler which reliably accesses a URL while preventing re-entrant attempts until the first one completes? The example Dave Cragg offers on his web site is: global gUrlBlocking on mouseUp put "http://www.xxxxxx.com/images/mykids1.jpg" into tUrl if gUrlBlocking is true then beep else put true into gUrlBlocking get url tUrl put false into gUrlBlocking if the result is empty then put it into image 1 else answer the result end if end if end mouseUp http://www.lacscentre.com/liburl/liburldoc.html#post ...but in practice I find libURL occasionally doesn't complete a request, nor provides any way of letting me know that, so gUrlBlocking never get cleared. Who among us mortals has found a way to adequately handle error-checking in libURL with reliable consistency? I imagine I'm missing something simple here. Hoping that's the case, anyway. Fingers crossed....looking forward to any reasonable tips for reliable URL access.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bernd.niggemann at uni-wh.de Thu Sep 1 18:22:41 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 1 Sep 2016 15:22:41 -0700 (PDT) Subject: LineGraph widget In-Reply-To: References: <1472755660810-4707994.post@n4.nabble.com> Message-ID: <1472768561019-4708007.post@n4.nabble.com> Hi Monte, I agree that the Y axis should have a rounded range (though the first feature request in the forum was 2 decimal digits for Y axis values) also agreed on the 0 line. >> This reminds me we still need to sort out the decimal number formatting >> we discussed at the conference! You will see a workaround for the decimal number formatting in the LCB file. It returns the decimal digits regardless of integer length. look for "decimalFormattedString" and "wholeNumberToString" I am still thinking about a module for formatting numbers for string display. Not sure about the syntax and features. Kind regards Bernd Monte Goulding-2 wrote > That?s cool. Playing with the Line Chart is fun ;-) > > I would say if the chart crosses between positive and negative on the Y > axis we should have a 0 line. I?d generally rather see the Y axis move to > a rounded range that makes sense for the data and an option to set the > range and step size of the grid. > > This reminds me we still need to sort out the decimal number formatting we > discussed at the conference! > > Cheers > > Monte > >> On 2 Sep 2016, at 4:47 AM, BNig < > bernd.niggemann@ > > wrote: >> >> Hi all, >> >> I modified the line graph widget that ships with LC 8.1.0 RC1 per user >> request to show optionally decimal Y-values up to 5 digits and optionally >> values at the vertices of the graph. >> >> needs LC 8.1.0 RC1 >> >> http://forums.livecode.com/viewtopic.php?f=7&t=27490&start=15#p145912 >> >> feature requests and feedback welcome. >> >> Kind regards >> Bernd >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/LineGraph-widget-tp4707994.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> > use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LineGraph-widget-tp4707994p4708007.html Sent from the Revolution - User mailing list archive at Nabble.com. From bodine at bodinetraininggames.com Thu Sep 1 18:40:53 2016 From: bodine at bodinetraininggames.com (tbodine) Date: Thu, 1 Sep 2016 15:40:53 -0700 (PDT) Subject: LC performance change from Win 7 to Win 10 In-Reply-To: <1472653628242-4707966.post@n4.nabble.com> References: <1472596524249-4707954.post@n4.nabble.com> <1472600577456-4707959.post@n4.nabble.com> <1472653628242-4707966.post@n4.nabble.com> Message-ID: <1472769653522-4708008.post@n4.nabble.com> UPDATE: For my immediate deadline, I cannot make the leap to LC 8.x. But I have found most of the issues I cited above have improved or cleared up after updating to LC 7.1.4. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-performance-change-from-Win-7-to-Win-10-tp4707954p4708008.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmac at consensustech.com Thu Sep 1 18:43:46 2016 From: jmac at consensustech.com (Jim MacConnell) Date: Thu, 1 Sep 2016 15:43:46 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: Message-ID: <02ef01d204a2$4ccd1f10$e6675d30$@consensustech.com> Lots of little things but definitely not cutting edge stuff and, frankly, mostly for my own satisfaction. I'd love to get involved in cloud stuff but that's outside of where I work's comfort zone since we need to maintain production regardless of outside influences (note: this production involves metals and bending and welding and.... not software production). I mostly code to show possibilities of electronic information access and to demonstrate the potential of simple tools in a manufacturing environment. Livecode not being a "real" language that IT can support means most of the things I do don't get implemented unless they are really "non-mission critical". At some point in the future, I may be able to generate enough demand that we decide to do real in-house development. Still, it's fun to poke people with... of course that's doable... see... here it is! Some of my current activities: . Update to an app to simply display phone numbers for people, conference rooms, etc. - Actually cute "phone shaped" app with slide out search /result display area. . Update to an app to provide product safety info and facilitate access MSDS sheets stored as PDFs (search based on material description, vendor or MSDS ID#) and display results in format of standard diamond label and separate window with actual PDF . Update to an app to display operational info (operator guides, setup sheets, etc.) for production machines (presses, lathes, etc.) based on which part and operation is needed. Allows barcode reader based selection. . Developing an app to extract information from specifically formatted Excel spreadsheets in order to generate mobile friendly work instructions. . Developing a vision based inspection system for tubes that require specific tape label wraps at specific locations and directions. . Creating a simple inkjet pattern simulator (to be used to create "image" of printed info to be used to search for matching area on tube in above system) . (Complete but unwanted) App to parse text data from an ERP system (Shop floor work orders) to extract references to external data (sketches, specifications, etc.), creating links to that data on the fly and presenting the work order on a touchscreen enabling single touch access to all the data needed by the shop floor employees. Plus other non-livecode projects that would love to be Livecode projects but can't be yet due to institutional biases. From charles at techstrategies.com.au Thu Sep 1 19:13:38 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 2 Sep 2016 09:13:38 +1000 Subject: libURL gone mad In-Reply-To: <29ae0188-41fa-72a2-0a4a-fc99f93ad7cb@fourthworld.com> References: <29ae0188-41fa-72a2-0a4a-fc99f93ad7cb@fourthworld.com> Message-ID: Hi Richard, I am keen to see as many of these issues resolved as possible, so please let me know if you have any more details for requests that don't seem to ever complete or error. By the sounds of it, you are using a commercial version of LC that includes tsNet and its libUrl wrapper. There are a number of fixes for tsNet that will be coming out in 8.1RC2 when it is released (they did not quite make it into RC1). In particular, the "tsneterr: Sync request already in progress" should only be seen if you are calling the tsNet handlers directly, not if you are using libUrl. In RC2, you will only ever see the standard "Previous request not yet completed" error if you are using libUrl commands. It also has some improved request handling that will hopefully resolve some of issues with requests not completing properly. And in answer to your main question there.... this release will also include a new function tsNetIsSyncBlocked() that will do exactly what you want. This function will return true if an existing synchronous network request is in progress (libUrl commands like post x to url y, put url x into y, etc...) that will prevent another synchronous request from being initiated (async or non-blocking requests can still be made). Note that in the LC Business edition, multiple requests can be sent at the same time, so this will always return false. So, to rewrite the handler you have below, you will be able to simply do: on mouseUp if tsNetIsSyncBlocked() is true then beep else get url tURL if the result is empty then put it into image 1 else answer the result end if end if end mouseUp Regards, Charles On 2/09/2016 8:18 am, Richard Gaskin wrote: > My quest today began with a seemingly simple question: > > If I have a button that gets data from a URL via libURL, how do I > prevent a second request if the user double-clicks? > > In this case we have too many entry points to disable and re-enable > the controls that trigger URL access for that to be a practical > option. Besides, occasionally libURL neither completes a URL request > nor provides an error for it, so relying on disabling a control risks > getting into a state where the control is disabled with no way to know > to re-enable it. > > In brief, sometimes GET or POST with libURL returns with no data in > either "it" or "the result". > > And looking through the forum and list archives, it seems I'm far from > alone in this experience. > > Then today I was working on this code in v8.1, when I encountered this > new error message: > > tsneterr: Sync request already in progress > > Hmmm...so now we need to rewrite the error handling for our URL code > to account for new strings? Good to know. > > So.... > > Does anyone here have a handler which reliably accesses a URL while > preventing re-entrant attempts until the first one completes? > > The example Dave Cragg offers on his web site is: > > global gUrlBlocking > on mouseUp > put "http://www.xxxxxx.com/images/mykids1.jpg" into tUrl > if gUrlBlocking is true then > beep > else > put true into gUrlBlocking > get url tUrl > put false into gUrlBlocking > if the result is empty then > put it into image 1 > else > answer the result > end if > end if > end mouseUp > http://www.lacscentre.com/liburl/liburldoc.html#post > > ...but in practice I find libURL occasionally doesn't complete a > request, nor provides any way of letting me know that, so gUrlBlocking > never get cleared. > > Who among us mortals has found a way to adequately handle > error-checking in libURL with reliable consistency? > > I imagine I'm missing something simple here. Hoping that's the case, > anyway. > > Fingers crossed....looking forward to any reasonable tips for reliable > URL access.... > From charles at techstrategies.com.au Thu Sep 1 19:27:02 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 2 Sep 2016 09:27:02 +1000 Subject: Failed to load external error In-Reply-To: <9e33e357-cefa-6949-d790-d0fbb2fc7c7a@hyperactivesw.com> References: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> <9e33e357-cefa-6949-d790-d0fbb2fc7c7a@hyperactivesw.com> Message-ID: <070dc77a-ea1f-2e90-4418-d5a1c4579f9b@techstrategies.com.au> Hi Jacque, Ben, Yes, unfortunately that fix just missed making it into the RC1 release. It will be in RC2. Regards, Charles On 2/09/2016 7:25 am, J. Landman Gay wrote: > Thank you! That sounds like exactly the problem we're seeing. We're in > a rush so I'll try the file Charles uploaded to the QCC. > > If I had more time I'd read the bug reports every day. :) > > > On 9/1/2016 4:08 PM, Ben Rubinstein wrote: >> Hi Jacque, >> >> It might not be this, but it sounds awfully similar to a problem I had, >> attempting to deploy a standalone built with 8.1.0 dp 3 to Windows. >> >> Details here, including a patched version of tsNet.dll which fixed the >> issue for me: >> http://quality.livecode.com/show_bug.cgi?id=18205 >> >> The bug report changed status to "AWAITING_RELEASE" just this afternoon >> (UK time) so my guess is that the new dll didn't make it into rc1. >> >> If you're in a hurry to solve this, I suggest trying the patched version >> - note Charles Warwick's comment #2, it may be necessary to build with >> the new version, rather than just replacing it after the fact. >> >> HTH, >> >> Ben >> >> On 01/09/2016 20:15, J. Landman Gay wrote: >>> Due to an audio bug fix we needed, we were forced to compile and >>> release an >>> app using 8.1rc1. Some Windows users are regularly receiving the error >>> "failed >>> to load external" when the app launches. This renders the app useless. >>> >>> So far we have heard from both Windows 7 and Windows 10 users. The >>> external >>> folder in the app contains revBrowser.dll and tsNet.dll. >>> >>> Does anyone know why this would happen? The externals are obviously >>> there (we >>> got screen shots) so I assume they are being found. Could virus >>> scanners block >>> this? Are there any other reasons? >>> >>> It would be nice if the error message would tell us which external >>> wouldn't >>> load. Right now the students who use the app are pretty pissed off >>> because >>> they can't complete their assignments. >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ambassador at fourthworld.com Thu Sep 1 19:41:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Sep 2016 16:41:11 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: <3800ca42-89c0-d5d6-1062-50decc4ac627@fourthworld.com> Super-cool info, Charles! Thanks for taking the time to ponder my query. Very much looking forward to v8.1rc2. If you can make it to our local LiveCode User Group meeting tonight in Pasadena I'll buy you dinner. If not, consider the offer open for whenever we have a chance to meet in person. Between now and the final release of v8.1 I have two apps that could benefit from some reliable solution for this in v6.0 (long story as to why, but that's where we are until we get to v8.1). Anyone here know a way to prevent situations in which libURL has both "it" and "the result" empty in v6? Ancient history, I know, and soon behind me. But it'd be nice to have a solution in hand to tide me over for these remaining weeks that I'm tied to that old version. -- Richard Gaskin Fourth World Systems Charles Warwick wrote: > Hi Richard, > > I am keen to see as many of these issues resolved as possible, so please > let me know if you have any more details for requests that don't seem to > ever complete or error. > > By the sounds of it, you are using a commercial version of LC that > includes tsNet and its libUrl wrapper. > > There are a number of fixes for tsNet that will be coming out in 8.1RC2 > when it is released (they did not quite make it into RC1). > > In particular, the "tsneterr: Sync request already in progress" should > only be seen if you are calling the tsNet handlers directly, not if you > are using libUrl. In RC2, you will only ever see the standard "Previous > request not yet completed" error if you are using libUrl commands. > > It also has some improved request handling that will hopefully resolve > some of issues with requests not completing properly. > > And in answer to your main question there.... this release will also > include a new function tsNetIsSyncBlocked() that will do exactly what > you want. > > This function will return true if an existing synchronous network > request is in progress (libUrl commands like post x to url y, put url x > into y, etc...) that will prevent another synchronous request from being > initiated (async or non-blocking requests can still be made). Note that > in the LC Business edition, multiple requests can be sent at the same > time, so this will always return false. > > So, to rewrite the handler you have below, you will be able to simply do: > > on mouseUp > if tsNetIsSyncBlocked() is true then > beep > else > get url tURL > if the result is empty then > put it into image 1 > else > answer the result > end if > end if > end mouseUp > > Regards, > > Charles From ambassador at fourthworld.com Thu Sep 1 19:47:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Sep 2016 16:47:23 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: Follow-up: how much in the way of libURL reliability will find its way into v8.1 Community Edition? I have some ambitious goals for the open source version down the road, and I'm hoping we can have robust, reliable HTTP access there as well. -- Richard Gaskin Fourth World Systems Charles Warwick wrote: > Hi Richard, > > I am keen to see as many of these issues resolved as possible, so please > let me know if you have any more details for requests that don't seem to > ever complete or error. > > By the sounds of it, you are using a commercial version of LC that > includes tsNet and its libUrl wrapper. > > There are a number of fixes for tsNet that will be coming out in 8.1RC2 > when it is released (they did not quite make it into RC1). > > In particular, the "tsneterr: Sync request already in progress" should > only be seen if you are calling the tsNet handlers directly, not if you > are using libUrl. In RC2, you will only ever see the standard "Previous > request not yet completed" error if you are using libUrl commands. > > It also has some improved request handling that will hopefully resolve > some of issues with requests not completing properly. > > And in answer to your main question there.... this release will also > include a new function tsNetIsSyncBlocked() that will do exactly what > you want. > > This function will return true if an existing synchronous network > request is in progress (libUrl commands like post x to url y, put url x > into y, etc...) that will prevent another synchronous request from being > initiated (async or non-blocking requests can still be made). Note that > in the LC Business edition, multiple requests can be sent at the same > time, so this will always return false. > > So, to rewrite the handler you have below, you will be able to simply do: > > on mouseUp > if tsNetIsSyncBlocked() is true then > beep > else > get url tURL > if the result is empty then > put it into image 1 > else > answer the result > end if > end if > end mouseUp From charles at techstrategies.com.au Thu Sep 1 19:56:07 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 2 Sep 2016 09:56:07 +1000 Subject: libURL gone mad In-Reply-To: <3800ca42-89c0-d5d6-1062-50decc4ac627@fourthworld.com> References: <3800ca42-89c0-d5d6-1062-50decc4ac627@fourthworld.com> Message-ID: <61d76d8e-cb48-ec53-011a-173be1c038d3@techstrategies.com.au> Pasadena is probably a bit too far away for me at the moment but I do hope to make it to the next conference ;-) If you want a quick and roughly equivalent function for v6, you could always add the following to the libUrl library code: function libUrlIsSyncBlocked if lvBlockingUrl is not empty then return true else return false end if end libUrlIsSyncBlocked And then just replace tsNetIsSyncBlocked() with libUrlIsSyncBlocked() in my example handler. Hope that helps, Cheers, Charles On 2/09/2016 9:41 am, Richard Gaskin wrote: > Super-cool info, Charles! Thanks for taking the time to ponder my query. > > Very much looking forward to v8.1rc2. > > If you can make it to our local LiveCode User Group meeting tonight in > Pasadena I'll buy you dinner. If not, consider the offer open for > whenever we have a chance to meet in person. > > Between now and the final release of v8.1 I have two apps that could > benefit from some reliable solution for this in v6.0 (long story as to > why, but that's where we are until we get to v8.1). > > Anyone here know a way to prevent situations in which libURL has both > "it" and "the result" empty in v6? > > Ancient history, I know, and soon behind me. But it'd be nice to have > a solution in hand to tide me over for these remaining weeks that I'm > tied to that old version. > From charles at techstrategies.com.au Thu Sep 1 19:59:28 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 2 Sep 2016 09:59:28 +1000 Subject: libURL gone mad In-Reply-To: References: Message-ID: <872b34f5-3c33-e5c9-f453-f867e948cdaf@techstrategies.com.au> I would like to resolve as many libUrl reliability issues as possible in the community edition as well. Having worked on the tsNet libUrl wrapper, I have some ideas about what is going on but what always helps is a sample script that can reproduce the problem. On 2/09/2016 9:47 am, Richard Gaskin wrote: > Follow-up: how much in the way of libURL reliability will find its > way into v8.1 Community Edition? > > I have some ambitious goals for the open source version down the road, > and I'm hoping we can have robust, reliable HTTP access there as well. > From jacque at hyperactivesw.com Thu Sep 1 20:34:45 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 1 Sep 2016 19:34:45 -0500 Subject: Failed to load external error In-Reply-To: <070dc77a-ea1f-2e90-4418-d5a1c4579f9b@techstrategies.com.au> References: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> <9e33e357-cefa-6949-d790-d0fbb2fc7c7a@hyperactivesw.com> <070dc77a-ea1f-2e90-4418-d5a1c4579f9b@techstrategies.com.au> Message-ID: <905c8b03-0e88-0b6f-cfc1-a7837babc304@hyperactivesw.com> Just to be sure...I should replace the dll in the Ext folder, right? I couldn't find one in Runtime/Windows/x86-32/Externals folder. On 9/1/2016 6:27 PM, Charles Warwick wrote: > Hi Jacque, Ben, > > Yes, unfortunately that fix just missed making it into the RC1 release. > It will be in RC2. > > Regards, > > Charles > > > On 2/09/2016 7:25 am, J. Landman Gay wrote: >> Thank you! That sounds like exactly the problem we're seeing. We're in >> a rush so I'll try the file Charles uploaded to the QCC. >> >> If I had more time I'd read the bug reports every day. :) >> >> >> On 9/1/2016 4:08 PM, Ben Rubinstein wrote: >>> Hi Jacque, >>> >>> It might not be this, but it sounds awfully similar to a problem I had, >>> attempting to deploy a standalone built with 8.1.0 dp 3 to Windows. >>> >>> Details here, including a patched version of tsNet.dll which fixed the >>> issue for me: >>> http://quality.livecode.com/show_bug.cgi?id=18205 >>> >>> The bug report changed status to "AWAITING_RELEASE" just this afternoon >>> (UK time) so my guess is that the new dll didn't make it into rc1. >>> >>> If you're in a hurry to solve this, I suggest trying the patched version >>> - note Charles Warwick's comment #2, it may be necessary to build with >>> the new version, rather than just replacing it after the fact. >>> >>> HTH, >>> >>> Ben >>> >>> On 01/09/2016 20:15, J. Landman Gay wrote: >>>> Due to an audio bug fix we needed, we were forced to compile and >>>> release an >>>> app using 8.1rc1. Some Windows users are regularly receiving the error >>>> "failed >>>> to load external" when the app launches. This renders the app useless. >>>> >>>> So far we have heard from both Windows 7 and Windows 10 users. The >>>> external >>>> folder in the app contains revBrowser.dll and tsNet.dll. >>>> >>>> Does anyone know why this would happen? The externals are obviously >>>> there (we >>>> got screen shots) so I assume they are being found. Could virus >>>> scanners block >>>> this? Are there any other reasons? >>>> >>>> It would be nice if the error message would tell us which external >>>> wouldn't >>>> load. Right now the students who use the app are pretty pissed off >>>> because >>>> they can't complete their assignments. >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Sep 1 20:48:59 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 2 Sep 2016 00:48:59 +0000 Subject: Set the fillGradient .... In-Reply-To: <57C85359.1000900@researchware.com> References: <7483e56e-90b2-38d6-4436-ebaaa2e02a37@fourthworld.com> <57C85359.1000900@researchware.com> Message-ID: <01F1A577-50E7-4579-98A0-2F67E1FAC623@hindu.org> paul at researchware.com> wrote: ? It would be a real asset (IMHO) to be able to refer to the position of object in a group relative to the topLeft of the group being 0,0. My vote for that! Perhaps an enhancement request can be submitted? These are the kind functions we really need for working the presentation layer, which is LC's weak area (IMHO). CSS has this (absolute, relative positioning? If one is building scrolling groups where some area of the group is below the bottom of the card, you can of course script to placement relative to the card bottom, but it gets tricky, Being able to talk to the group child elements relative to 0,0 of the group would be "liberating" to say the least. My gut is also thinking? this one new property (s) could be be instrumental in the larger endeavor to make responsive programming in LC a bit more facile. (which is one main reason some think HTML5 is better?because CSS just "does it all for you") From scott at elementarysoftware.com Thu Sep 1 21:35:45 2016 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 1 Sep 2016 18:35:45 -0700 Subject: Set the fillGradient .... In-Reply-To: <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> References: <66e2ac60-4604-39e1-a229-0f3f6ed125fc@gmail.com> <3eb57934-0d08-6e89-0583-2721e5b2064c@gmail.com> <79985ed3-a6b5-3df5-5a9f-979f7c8fb139@gmail.com> <1D8C3FAD-6CED-40FE-8DEF-9EB4D9D178C5@mac.com> <43c1a65e-39bc-4bfb-2e84-de556055275e@pdslabs.net> <97ACCEA8-23BA-4B70-B253-234C3525D0FD@mac.com> <5B8AADA9-0286-44B4-ADA3-31A1422D72D2@mac.com> <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> Message-ID: <2AE61969-8AA2-4762-9768-4F78ED1DA977@elementarysoftware.com> Ah, thanks Randy! I was familiar with this behavior but (slaps forehead) your straight forward solution never occurred to me. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Sep 1, 2016, at 5:41 AM, Randy Hengst wrote: > > To make this work via script, I?ve done two things? the easiest is to set the grc that I want to change to the size and position of the a grc master with the fill gradient I want to match? in this example, the script is in the grc to be changed: > > on mouseDown > local tStartLoc > put the loc of target into tStartLoc > set the loc of target to the loc of grc "Blue MasterChip" > set the fillGradient of target to the fillGradient of grc "Blue MasterChip" > set the loc of target to tStartLoc > end mouseDown > > > >> On Aug 31, 2016, at 9:10 PM, Roger Guay wrote: >> >> Yes it is. >> >> >>> On Aug 31, 2016, at 6:49 PM, Scott Rossi wrote: >>> >>> Is the noGradientYet graphic opaque? >>> >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media UX/UI Design >>> >>>> On Aug 31, 2016, at 6:43 PM, Roger Guay wrote: >>>> >>>> Why does this not work? >>>> >>>> Set the fillGradient of grc ?noGradientYet" to the fillGradient of grc ?NiceGradient?. >>>> >>>> Something happens . . . indeed the object browser seems to show that they have the same gradient, yet they don?t! >>>> >>>> Probably something simple, again. >>>> >>>> LC 8.0.2 and Mac >>>> >>>> >>>> Thanks, >>>> >>>> Roger From charles at techstrategies.com.au Thu Sep 1 22:13:56 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 2 Sep 2016 12:13:56 +1000 Subject: Failed to load external error In-Reply-To: <905c8b03-0e88-0b6f-cfc1-a7837babc304@hyperactivesw.com> References: <14470b8e-37c2-5b22-9eae-159de2955fd5@hyperactivesw.com> <9e33e357-cefa-6949-d790-d0fbb2fc7c7a@hyperactivesw.com> <070dc77a-ea1f-2e90-4418-d5a1c4579f9b@techstrategies.com.au> <905c8b03-0e88-0b6f-cfc1-a7837babc304@hyperactivesw.com> Message-ID: <70c915fc-c1ce-b838-2149-f24d449dd944@techstrategies.com.au> Hi Jacque, Yes. In the Ext folder should be all the externals that are included with Livecode. Inside that there should be a tsNet folder - just replace the dll file in there. Regards, Charles On 2/09/2016 10:34 am, J. Landman Gay wrote: > Just to be sure...I should replace the dll in the Ext folder, right? I > couldn't find one in Runtime/Windows/x86-32/Externals folder. > > On 9/1/2016 6:27 PM, Charles Warwick wrote: >> Hi Jacque, Ben, >> >> Yes, unfortunately that fix just missed making it into the RC1 release. >> It will be in RC2. >> >> Regards, >> >> Charles >> >> >> On 2/09/2016 7:25 am, J. Landman Gay wrote: >>> Thank you! That sounds like exactly the problem we're seeing. We're in >>> a rush so I'll try the file Charles uploaded to the QCC. >>> >>> If I had more time I'd read the bug reports every day. :) >>> >>> >>> On 9/1/2016 4:08 PM, Ben Rubinstein wrote: >>>> Hi Jacque, >>>> >>>> It might not be this, but it sounds awfully similar to a problem I >>>> had, >>>> attempting to deploy a standalone built with 8.1.0 dp 3 to Windows. >>>> >>>> Details here, including a patched version of tsNet.dll which fixed the >>>> issue for me: >>>> http://quality.livecode.com/show_bug.cgi?id=18205 >>>> >>>> The bug report changed status to "AWAITING_RELEASE" just this >>>> afternoon >>>> (UK time) so my guess is that the new dll didn't make it into rc1. >>>> >>>> If you're in a hurry to solve this, I suggest trying the patched >>>> version >>>> - note Charles Warwick's comment #2, it may be necessary to build with >>>> the new version, rather than just replacing it after the fact. >>>> >>>> HTH, >>>> >>>> Ben >>>> >>>> On 01/09/2016 20:15, J. Landman Gay wrote: >>>>> Due to an audio bug fix we needed, we were forced to compile and >>>>> release an >>>>> app using 8.1rc1. Some Windows users are regularly receiving the >>>>> error >>>>> "failed >>>>> to load external" when the app launches. This renders the app >>>>> useless. >>>>> >>>>> So far we have heard from both Windows 7 and Windows 10 users. The >>>>> external >>>>> folder in the app contains revBrowser.dll and tsNet.dll. >>>>> >>>>> Does anyone know why this would happen? The externals are obviously >>>>> there (we >>>>> got screen shots) so I assume they are being found. Could virus >>>>> scanners block >>>>> this? Are there any other reasons? >>>>> >>>>> It would be nice if the error message would tell us which external >>>>> wouldn't >>>>> load. Right now the students who use the app are pretty pissed off >>>>> because >>>>> they can't complete their assignments. >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From revolution at jaedworks.com Fri Sep 2 03:54:41 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 2 Sep 2016 00:54:41 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: For an application with a complicated set of data types and a growing ability to collect and export them, I'm working on a set of routines to export ALL the things - text, HTMLText, tabular data (as HTMLText, plain text, or a 2D array), images, or any combination of several of the above - to a variety of file formats including text, Word, Excel, PDF, or XTHML-compliant web page. Right at the moment, I'm working on recognizing tabular data in text or HTMLText, and converting it to a "real" HTML element before exporting as part of a web page. At 9:48 AM +0100 9/1/2016, Peter TB Brett wrote: >Hi all, > >What exciting LiveCode project(s) are you working on at the moment? >Where can we find out more about them? Have you run into any >interesting problems (or solutions) that you'd like to share? > >---------- > >In the office, I'm currently trying to figure out what tools I can >build to help with core dev team productivity. For example, I'm >planning to create a tool that keeps our Bugzilla site >(http://quality.livecode.com/) synchronised with what's going on in >our git repositories (https://github.com/livecode/) > >In my spare time: > >- I've been adding some stuff to my somewhat-insane open source >"undergrowth" library of pure-LCB bits and pieces >(https://github.com/peter-b/undergrowth), including a templated >string formatting function: > > u_format("There are {} lights", [5]) --> "There are 5 lights" > >- I've now written a reasonably usable Emacs mode for LCB source >code (https://github.com/peter-b/lcb-mode), with syntax highlighting >and indentation support. It turns out LCB code (and LiveCode >script) is actually very difficult to highlight well without >compiler support because of LiveCode's English-like syntax, but >lcb-mode does the job adequately for the time being > >- I've got the idea of making it possible to write externals in Rust >going round (and round) inside my head but I haven't yet got round >to getting it working. > >---------- > >What are you up to? > > Peter > >-- >Dr Peter Brett >LiveCode Technical Project Manager > >lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri Sep 2 05:51:13 2016 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 2 Sep 2016 10:51:13 +0100 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: On 01/09/2016 09:48, Peter TB Brett wrote: > Hi all, > > What exciting LiveCode project(s) are you working on at the moment? I'll answer that later today (hopefully), but first a rather negative alternative Q&A. Q. What exciting LC projects am I *NOT* working on ? A. Widgets. (any of them, many of them) At the conference at the start of August, I learned enough about widgets and LCB to be very excited about the possibilities (I still am). So I spent a good chunk of August working on a couple of widgets (out of a long list of exciting widgets I would like to do, or have, or use, or ...) But in the end I found the programming experience in LCB just too frustrating. I've been spoiled :-) I'm used to symbolic, interactive debuggers - been using them pretty much continually for the last 45 years that I've been programming, starting with DDT and a proprietary one in the 70s, on to GDB in the 80s and 90s, then interpreted languages for a little while, before finally moving up to Revolution / Livecode. And after trying it for a while, I'm just not willing to go back to the dark ages and program in LCB without a decent toolset that provides really effective diagnostics and debugging features. So - I'm not doing any more with widgets until the tools are mature enough for it to be an enjoyable experience. And that really bugs me - because there's so much I want to do in widgets, and so much to like about LCB - but for me this is a hobby and programming is a pleasure, and I just don't enjoy working in the dark and the dark ages :-) -- Alex. P.S. I skipped the rant about the missed opportunity to provide an interactive, symbolic debugger for website development, that was almost there, briefly, with LC Server and on-rev; website scripts are the one other situation where we (the entire industry) is still (AFAIK) missing a good debugging environment. From dave at applicationinsight.com Fri Sep 2 07:04:02 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 2 Sep 2016 12:04:02 +0100 Subject: What's everyone working on this month? (September 2016) Message-ID: <2354CB8B-DF17-47DB-BB1B-BAAA1BE77341@applicationinsight.com> What a great list, we should do this every month :) I?m also doing too much: 1. Developing the ?DiADeM? dementia diagnosis app as featured at the recent LC conference - we?ll be going for pilot testing in Yorkshire and Buckinghamshire on 3rd October so I still have a lot to finish off. 2. Tweaking a pretty cool RFID card reading system created by another LiveCode developer - (RFID hardware using BLE to connect to iPods which connect to a server). Last month I was working on the BLE and this month looks like my focus will be sockets? 3. Putting on a LiveCode workshop here in Plymouth, UK where the topic will be creating an iOS/Android app that allows participants to take photos of their friends, deface them and then send them the ?enhanced? photos http://www.meetup.com/The-THINQTANQ-Events-Meetups-and-More-in-Plymouth/events/226749341/ 4. Updating a simple video app for iOS and Android for a local group. I really like the people involved and the cause they are working for, have just helped them set up a Google Play account and am trying to train them enough to make their own apps as time goes by. 5. Looking for a developer who can take on a health-related project I don?t have time for. If you are interested please get in touch. This project could be a great ?in? to health-related work - it will involve developing for iOS and Android, working with video recording and uploading to a server. Initially it may well be that you would have to construct your own web service to receive and store video recordings and to manage some sharing between users - but this may not be necessary and instead you would have to learn how to connect to OpenEHR from the off (I can help with this). There is a UK based pilot due to start in February 2017 with a lot of work to be done - not even a spec document has been created so this project could very much be ?your baby?. The client is based in the London area. Get in touch if you?re interested 6. Going to the next NHS Hackday 1 & 2 October in Newcastle http://nhshackday.com/ - it would be smashing to see some other LiveCoder?s there! (Peter Reid I?m looking at you...) From alex at tweedly.net Fri Sep 2 07:13:08 2016 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 2 Sep 2016 12:13:08 +0100 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <2354CB8B-DF17-47DB-BB1B-BAAA1BE77341@applicationinsight.com> References: <2354CB8B-DF17-47DB-BB1B-BAAA1BE77341@applicationinsight.com> Message-ID: <0d28d7ac-76ba-bcb9-c0a8-7c6bf4ebfc3e@tweedly.net> On 02/09/2016 12:04, Dave Kilroy wrote: > What a great list, we should do this every month :) > > I?m also doing too much: > 3. Putting on a LiveCode workshop here in Plymouth, UK where the topic will be creating an iOS/Android app that allows participants to take photos of their friends, deface them and then send them the ?enhanced? photos http://www.meetup.com/The-THINQTANQ-Events-Meetups-and-More-in-Plymouth/events/226749341/ > I would be tempted to tweak the description of this project - it sounds a bit like a "play" app, when in fact it could also be a very useful app. Last week I needed to describe to someone staying in my flat (the other side of the country) how to dismantle something (a slightly complex electric wheelchair which can then be folded/collapsed for transport). It was hard to describe (or indeed remember) exactly which parts had to be twisted which way in which order; in the end I got him to send me a photo, marked it up on my computer and sent it back to him. Then I could say things like "turn the black knobs marked 'A' outwards", "slide the battery back and up through gap 'C'", etc. I suspect this app you are developing would have made it possible / easy to do this with just our phones. And that might make it sound like a more "serious" app to some people. -- Alex. From iowahengst at mac.com Fri Sep 2 08:02:29 2016 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 02 Sep 2016 07:02:29 -0500 Subject: Set the fillGradient .... In-Reply-To: <2AE61969-8AA2-4762-9768-4F78ED1DA977@elementarysoftware.com> References: <66e2ac60-4604-39e1-a229-0f3f6ed125fc@gmail.com> <3eb57934-0d08-6e89-0583-2721e5b2064c@gmail.com> <79985ed3-a6b5-3df5-5a9f-979f7c8fb139@gmail.com> <1D8C3FAD-6CED-40FE-8DEF-9EB4D9D178C5@mac.com> <43c1a65e-39bc-4bfb-2e84-de556055275e@pdslabs.net> <97ACCEA8-23BA-4B70-B253-234C3525D0FD@mac.com> <5B8AADA9-0286-44B4-ADA3-31A1422D72D2@mac.com> <47C81A87-4080-4A62-B9CB-CB7374588BFE@mac.com> <2AE61969-8AA2-4762-9768-4F78ED1DA977@elementarysoftware.com> Message-ID: Glad it was helpful, Scott. > On Sep 1, 2016, at 8:35 PM, Scott Morrow wrote: > > Ah, thanks Randy! I was familiar with this behavior but (slaps forehead) your straight forward solution never occurred to me. > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > office 1-800-615-0867 > ------------------------------------------------------ > >> On Sep 1, 2016, at 5:41 AM, Randy Hengst wrote: >> >> To make this work via script, I?ve done two things? the easiest is to set the grc that I want to change to the size and position of the a grc master with the fill gradient I want to match? in this example, the script is in the grc to be changed: >> >> on mouseDown >> local tStartLoc >> put the loc of target into tStartLoc >> set the loc of target to the loc of grc "Blue MasterChip" >> set the fillGradient of target to the fillGradient of grc "Blue MasterChip" >> set the loc of target to tStartLoc >> end mouseDown >> >> >> >>> On Aug 31, 2016, at 9:10 PM, Roger Guay wrote: >>> >>> Yes it is. >>> >>> >>>> On Aug 31, 2016, at 6:49 PM, Scott Rossi wrote: >>>> >>>> Is the noGradientYet graphic opaque? >>>> >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media UX/UI Design >>>> >>>>> On Aug 31, 2016, at 6:43 PM, Roger Guay wrote: >>>>> >>>>> Why does this not work? >>>>> >>>>> Set the fillGradient of grc ?noGradientYet" to the fillGradient of grc ?NiceGradient?. >>>>> >>>>> Something happens . . . indeed the object browser seems to show that they have the same gradient, yet they don?t! >>>>> >>>>> Probably something simple, again. >>>>> >>>>> LC 8.0.2 and Mac >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> Roger > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Fri Sep 2 08:02:34 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 2 Sep 2016 13:02:34 +0100 Subject: What's everyone working on this month? (September 2016) Message-ID: <58ADB49A-E8D4-4B1D-866F-02D469D2F63D@applicationinsight.com> Alex yes of course you?re right (although it does sound like what you needed was a copy of Trevor?s Clarify (http://www.clarify-it.com/ ) I first used the ?scribbling on images? when I was doing a mobile prototype for a health related project called OpenEyes (http://www.openeyes.org.uk/ ) where clinicians did special ?scribbling? to indicate various clinical things (I never was clear what exactly they meant?) So doodling doesn?t have to be just moustaches and spectacles - however in my desperation to get people to attend I?m gambling that pitching what we?ll make at the ?fun? end of the spectrum will lead to more people turning up (I hope) BTW: I was going to cannibalise my OpenEyes app to form the base learning resource for the workshop when John Dixon told me he has already done the work (using his own ?Scribble? app that was actually on the App Store for some time) Dave PS: did your person manage to dismantle the wheelchair? > On 02/09/2016 12:04, Dave Kilroy wrote: > > What a great list, we should do this every month :) > > > > I?m also doing too much: > > > 3. Putting on a LiveCode workshop here in Plymouth, UK where the topic will be creating an iOS/Android app that allows participants to take photos of their friends, deface them and then send them the ?enhanced? photos http://www.meetup.com/The-THINQTANQ-Events-Meetups-and-More-in-Plymouth/events/226749341/ > > > > I would be tempted to tweak the description of this project - it sounds > a bit like a "play" app, when in fact it could also be a very useful app. > > Last week I needed to describe to someone staying in my flat (the other > side of the country) how to dismantle something (a slightly complex > electric wheelchair which can then be folded/collapsed for transport). > It was hard to describe (or indeed remember) exactly which parts had to > be twisted which way in which order; in the end I got him to send me a > photo, marked it up on my computer and sent it back to him. Then I > could say things like "turn the black knobs marked 'A' outwards", "slide > the battery back and up through gap 'C'", etc. > > I suspect this app you are developing would have made it possible / easy > to do this with just our phones. > And that might make it sound like a more "serious" app to some people. > > -- Alex. > From bobsneidar at iotecdigital.com Fri Sep 2 11:20:09 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 2 Sep 2016 15:20:09 +0000 Subject: CTD when stepping through code reprise Message-ID: Hi all. So version 8.0.2 I have seen on numerous examples that while stepping through code I crash to desktop. Launch again, step through code again, CTD in same spot. 8.0.1 same code same breakpoint NO CTD. The particular code I am executing is put the dgHilitedIndex of group "dgCustomers" into tCustIndex I just noticed that on this card there IS no dgCustomers, it's dgSites (I copy/pasted code) so the script has an error, but instead of reporting it as an error I get a CTD. The CTD may have something to do with calling a handler in a behavior, or else in reference to a datagrid. It only seems to happen on red dot breakpoints NOT coded BREAKPOINT commands. If anyone else can confirm this behavior I will submit a bug report. Otherwise it might be a corrupted datagrid template or something like that. Bob S From peter.brett at livecode.com Fri Sep 2 11:25:37 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 2 Sep 2016 16:25:37 +0100 Subject: CTD when stepping through code reprise In-Reply-To: References: Message-ID: <700787b6-8c7e-5be2-69df-243dd1e1c726@livecode.com> On 02/09/2016 16:20, Bob Sneidar wrote: > Hi all. > > So version 8.0.2 I have seen on numerous examples that while stepping > through code I crash to desktop. Launch again, step through code > again, CTD in same spot. 8.0.1 same code same breakpoint NO CTD. The > particular code I am executing is > > put the dgHilitedIndex of group "dgCustomers" into tCustIndex > > I just noticed that on this card there IS no dgCustomers, it's > dgSites (I copy/pasted code) so the script has an error, but instead > of reporting it as an error I get a CTD. The CTD may have something > to do with calling a handler in a behavior, or else in reference to a > datagrid. It only seems to happen on red dot breakpoints NOT coded > BREAKPOINT commands. > > If anyone else can confirm this behavior I will submit a bug report. > Otherwise it might be a corrupted datagrid template or something like > that. Hi Bob, Please always file a bug report for reproducible crashes to desktop! Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From MikeKerner at roadrunner.com Fri Sep 2 11:37:53 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 2 Sep 2016 11:37:53 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <58ADB49A-E8D4-4B1D-866F-02D469D2F63D@applicationinsight.com> References: <58ADB49A-E8D4-4B1D-866F-02D469D2F63D@applicationinsight.com> Message-ID: Hey, Peter, thanks for starting the thread. I've seen four people, so far, that are working on things that might help me, so I've reached out to them. On Fri, Sep 2, 2016 at 8:02 AM, Dave Kilroy wrote: > Alex yes of course you?re right (although it does sound like what you > needed was a copy of Trevor?s Clarify (http://www.clarify-it.com/ < > http://www.clarify-it.com/>) > > I first used the ?scribbling on images? when I was doing a mobile > prototype for a health related project called OpenEyes ( > http://www.openeyes.org.uk/ ) where > clinicians did special ?scribbling? to indicate various clinical things (I > never was clear what exactly they meant?) > > So doodling doesn?t have to be just moustaches and spectacles - however in > my desperation to get people to attend I?m gambling that pitching what > we?ll make at the ?fun? end of the spectrum will lead to more people > turning up (I hope) > > BTW: I was going to cannibalise my OpenEyes app to form the base learning > resource for the workshop when John Dixon told me he has already done the > work (using his own ?Scribble? app that was actually on the App Store for > some time) > > Dave > > PS: did your person manage to dismantle the wheelchair? > > > > > On 02/09/2016 12:04, Dave Kilroy wrote: > > > What a great list, we should do this every month :) > > > > > > I?m also doing too much: > > > > > 3. Putting on a LiveCode workshop here in Plymouth, UK where the topic > will be creating an iOS/Android app that allows participants to take photos > of their friends, deface them and then send them the ?enhanced? photos > http://www.meetup.com/The-THINQTANQ-Events-Meetups-and- > More-in-Plymouth/events/226749341/ THINQTANQ-Events-Meetups-and-More-in-Plymouth/events/226749341/> < > http://www.meetup.com/The-THINQTANQ-Events-Meetups-and- > More-in-Plymouth/events/226749341/ THINQTANQ-Events-Meetups-and-More-in-Plymouth/events/226749341/>> > > > > > I would be tempted to tweak the description of this project - it sounds > > a bit like a "play" app, when in fact it could also be a very useful app. > > > > Last week I needed to describe to someone staying in my flat (the other > > side of the country) how to dismantle something (a slightly complex > > electric wheelchair which can then be folded/collapsed for transport). > > It was hard to describe (or indeed remember) exactly which parts had to > > be twisted which way in which order; in the end I got him to send me a > > photo, marked it up on my computer and sent it back to him. Then I > > could say things like "turn the black knobs marked 'A' outwards", "slide > > the battery back and up through gap 'C'", etc. > > > > I suspect this app you are developing would have made it possible / easy > > to do this with just our phones. > > And that might make it sound like a more "serious" app to some people. > > > > -- Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jbv at souslelogo.com Fri Sep 2 11:51:01 2016 From: jbv at souslelogo.com (jbv) Date: Fri, 2 Sep 2016 17:51:01 +0200 Subject: LC & BLE for Android Message-ID: Hi list I might be working soon on a mobile app that will intereact with peripherals through BLE. I am aware of theexistence of MergExt mergBLE for iOS and OSX. But has anyone found a solution for Android ? Thanks in advance. jbv From bobsneidar at iotecdigital.com Fri Sep 2 12:01:00 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 2 Sep 2016 16:01:00 +0000 Subject: Another Menu Builder Bug Message-ID: <73453D8C-C40A-495C-B063-A9EE221DE8F2@iotecdigital.com> I looked but could not find a similar bug so I reported it. Bug# 18316. Menu Builder is not displaying sub-menus. Bob S From ambassador at fourthworld.com Fri Sep 2 12:28:34 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 2 Sep 2016 09:28:34 -0700 Subject: libURL gone mad In-Reply-To: <872b34f5-3c33-e5c9-f453-f867e948cdaf@techstrategies.com.au> References: <872b34f5-3c33-e5c9-f453-f867e948cdaf@techstrategies.com.au> Message-ID: <680415eb-85fe-e0c0-0a2d-21a1de1343ed@fourthworld.com> Charles Warwick wrote: > I would like to resolve as many libUrl reliability issues as possible > in the community edition as well. > > Having worked on the tsNet libUrl wrapper, I have some ideas about > what is going on but what always helps is a sample script that can > reproduce the problem. Thanks for your interest. I've modded my libURL and have been experimenting, will deliver a sample stack soon. Thus far I've found that your libURL function is much more reliable than the recommended flag option, but still problematic in some cases unless I slow things down with the introduction of an otherwise-unnecessary wait. Chipp Walters uses a brute-force method since picked up by Jacque and others in which he calls libURL in a repeat loop until it returns a meaningful result. Sad to have to work that hard. At the heart of why so many people seem to be having problems with libURL is that the so-called "blocking" form only blocks the current execution instance of the handler calling libURL. Messages still happen, any handlers that are calling libURL are re-entrant, and that's where people are seeing blocked connections, engine hangs, and occasional cursor locking (WTH is up with that?). The ideal solution would be for an option to have true blocking, without the semi-quasi-difficult-to-predict-exactly-what's-happening form of threading in place for the so-called "blocking" form offered currently. Those who need non-blocking can use "load url". Works fine, at least for GET. Maybe the issue is that POST doesn't currently have a non-blocking form, so the design in place now attempts to hit some mystifying middle path between true blocking and truly async behavior, hitting neither quit spot-on. I'll continue my experiments with various permutions, including Chipp's now-famous hammer-on-it-until-it-behaves option, and see if I can come up with something that doesn't require slowing down the workflow with an otherwise-unnecessary wait statement. It's not a long wait (right now the shortest wait that prevent hangs is around 250 ms), but the issue of preventing re-entrance remains a challenge. I may wind up keeping a checksum hash of the url + POST data, monitored in a timer to prevent duplicate attempts from happening too close together. Seems a lot of work, though, for something where the code would be MUCH simpler if we only have a truly blocking GET and POST option. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Fri Sep 2 12:51:16 2016 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 2 Sep 2016 09:51:16 -0700 Subject: libURL gone mad In-Reply-To: <680415eb-85fe-e0c0-0a2d-21a1de1343ed@fourthworld.com> References: <872b34f5-3c33-e5c9-f453-f867e948cdaf@techstrategies.com.au> <680415eb-85fe-e0c0-0a2d-21a1de1343ed@fourthworld.com> Message-ID: Richard, You could always write yourself a curl wrapper... just sayin'. Phil Davis On 9/2/16 9:28 AM, Richard Gaskin wrote: > Charles Warwick wrote: > > > I would like to resolve as many libUrl reliability issues as possible > > in the community edition as well. > > > > Having worked on the tsNet libUrl wrapper, I have some ideas about > > what is going on but what always helps is a sample script that can > > reproduce the problem. > > Thanks for your interest. I've modded my libURL and have been > experimenting, will deliver a sample stack soon. > > Thus far I've found that your libURL function is much more reliable > than the recommended flag option, but still problematic in some cases > unless I slow things down with the introduction of an > otherwise-unnecessary wait. > > Chipp Walters uses a brute-force method since picked up by Jacque and > others in which he calls libURL in a repeat loop until it returns a > meaningful result. Sad to have to work that hard. > > At the heart of why so many people seem to be having problems with > libURL is that the so-called "blocking" form only blocks the current > execution instance of the handler calling libURL. Messages still > happen, any handlers that are calling libURL are re-entrant, and > that's where people are seeing blocked connections, engine hangs, and > occasional cursor locking (WTH is up with that?). > > The ideal solution would be for an option to have true blocking, > without the semi-quasi-difficult-to-predict-exactly-what's-happening > form of threading in place for the so-called "blocking" form offered > currently. > > Those who need non-blocking can use "load url". Works fine, at least > for GET. > > Maybe the issue is that POST doesn't currently have a non-blocking > form, so the design in place now attempts to hit some mystifying > middle path between true blocking and truly async behavior, hitting > neither quit spot-on. > > I'll continue my experiments with various permutions, including > Chipp's now-famous hammer-on-it-until-it-behaves option, and see if I > can come up with something that doesn't require slowing down the > workflow with an otherwise-unnecessary wait statement. > > It's not a long wait (right now the shortest wait that prevent hangs > is around 250 ms), but the issue of preventing re-entrance remains a > challenge. > > I may wind up keeping a checksum hash of the url + POST data, > monitored in a timer to prevent duplicate attempts from happening too > close together. Seems a lot of work, though, for something where the > code would be MUCH simpler if we only have a truly blocking GET and > POST option. > -- Phil Davis From ambassador at fourthworld.com Fri Sep 2 13:15:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 2 Sep 2016 10:15:39 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: <3d427afc-d9ae-a22d-6b64-0b48724d3958@fourthworld.com> Phil Davis wrote: > Richard, > You could always write yourself a curl wrapper... just sayin'. Good for OS X; doable on Linux if I wrap shell calls to wget instead (seems many Debian-based distros include wget but not curl by default); non-starter on Windows since I don't believe either is included by default, are they? I believe that's why Charles went down the externals road with curl, to ensure its code is available. When using wget from shell, in my earlier tests it seemed the overhead of establishing the shell session wound up making that about 20% slower than libURL. Not the end of the world, but coupled with the simplicity of not having to rely on external components libURL is a better option for me if I can get it to run reliably. And a hopeful follow-up on that: I simplified my test case using Charles' recommended libURL mod. At this time it seems I can hammer away at the button that calls my "get url..." script as much as I want and ultimately get one good result back. Not quite as simple as having true blocking for GET and POST, but I'll take it. Q for Charles: For me the convenience of being able to deliver a true standalone, with no externals or other components, is very useful on this project. I appreciate the new capabilities Charles is providing in v8.1, but for those projects where I only need simple GET and POST I'm hoping I'll be able to deliver true standalones that don't require that external - is that the case, Charles, or is libURL now fully dependent on the external? Back to the main issue, since I'm seeing good results thus far in my testing (thanks again, Charles) I've submitted an enhancement request to have the function Charles suggested be added to libURL for those who may need it: http://quality.livecode.com/show_bug.cgi?id=18318 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Fri Sep 2 13:45:14 2016 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 2 Sep 2016 10:45:14 -0700 Subject: libURL gone mad In-Reply-To: <3d427afc-d9ae-a22d-6b64-0b48724d3958@fourthworld.com> References: <3d427afc-d9ae-a22d-6b64-0b48724d3958@fourthworld.com> Message-ID: <37845466-0c06-7e80-7a8c-826549a403c4@pdslabs.net> On 9/2/16 10:15 AM, Richard Gaskin wrote: > Phil Davis wrote: > > > Richard, > > You could always write yourself a curl wrapper... just sayin'. > > Good for OS X; doable on Linux if I wrap shell calls to wget instead > (seems many Debian-based distros include wget but not curl by > default); non-starter on Windows since I don't believe either is > included by default, are they? > > I believe that's why Charles went down the externals road with curl, > to ensure its code is available. Sorry, I didn't realize Charles had done that. I should listen better. :-) Phil > > When using wget from shell, in my earlier tests it seemed the overhead > of establishing the shell session wound up making that about 20% > slower than libURL. Not the end of the world, but coupled with the > simplicity of not having to rely on external components libURL is a > better option for me if I can get it to run reliably. > > And a hopeful follow-up on that: > > I simplified my test case using Charles' recommended libURL mod. > > At this time it seems I can hammer away at the button that calls my > "get url..." script as much as I want and ultimately get one good > result back. > > Not quite as simple as having true blocking for GET and POST, but I'll > take it. > > > Q for Charles: > For me the convenience of being able to deliver a true standalone, > with no externals or other components, is very useful on this > project. I appreciate the new capabilities Charles is providing in > v8.1, but for those projects where I only need simple GET and POST I'm > hoping I'll be able to deliver true standalones that don't require > that external - is that the case, Charles, or is libURL now fully > dependent on the external? > > > Back to the main issue, since I'm seeing good results thus far in my > testing (thanks again, Charles) I've submitted an enhancement request > to have the function Charles suggested be added to libURL for those > who may need it: > http://quality.livecode.com/show_bug.cgi?id=18318 > -- Phil Davis From paul at researchware.com Fri Sep 2 14:04:35 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 02 Sep 2016 14:04:35 -0400 Subject: IDE puzzler... Message-ID: <57C9BF33.9060006@researchware.com> So I just wasted an hour tracking down a sort of "problem" that was not really a problem. My desktop app has printing and selecting "Print..." from the File menu of my app was doing the "right" think, but Comand/Control-P was not. Sadly, it took me a whole hour to realize that the Command-P was being passed to the IDE and invoking the IDE's File > Print Card... menu item, which looked enough like a very old version of our printing code in this case to make me think that tons of recent changes had someone "been undone". So, problem solved in once sense in that when the Standalone gets built, Command/Control-P will end up invoking my printer code, but the IDEs. But, here is the puzzler, is there a way to tell the IDE to NOT handle menu keyboard equivalents and send those keyboard commands to the Applications menu so that all the functions of the App's menu can really be tested in the IDE? I could see nothing in Preferences. From dcragg at lacscentre.co.uk Fri Sep 2 14:08:37 2016 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2016 19:08:37 +0100 Subject: libURL gone mad In-Reply-To: <29ae0188-41fa-72a2-0a4a-fc99f93ad7cb@fourthworld.com> References: <29ae0188-41fa-72a2-0a4a-fc99f93ad7cb@fourthworld.com> Message-ID: <14D4EE0F-3F2C-4E64-970A-E56F149AE0B5@lacscentre.co.uk> > On 1 Sep 2016, at 23:18, Richard Gaskin wrote: > > In brief, sometimes GET or POST with libURL returns with no data in either "it" or "the result". Richard, I haven't looked at libUrl in a long time. But my memory tells me that a fairly common problem of calls not resolving could be solved by setting 'Connection: close' on the httpHeaders. set the httpHeaders to "Connection: close" I've no idea if this is still relevant, but just in case, I thought I'd mention it. (Looking at past mails, it seems it was 10 years ago this issue arose. Should we hope it's no longer relevant?) Cheers all. Dave Cragg From m.schonewille at economy-x-talk.com Fri Sep 2 14:14:28 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 2 Sep 2016 20:14:28 +0200 Subject: IDE puzzler... In-Reply-To: <57C9BF33.9060006@researchware.com> References: <57C9BF33.9060006@researchware.com> Message-ID: You can do this by handling the commandKey or controlKey message. Use a front script if necessary. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 02-Sep-16 om 20:04 schreef Paul Dupuis: > So I just wasted an hour tracking down a sort of "problem" that was not > really a problem. > > My desktop app has printing and selecting "Print..." from the File menu > of my app was doing the "right" think, but Comand/Control-P was not. > > Sadly, it took me a whole hour to realize that the Command-P was being > passed to the IDE and invoking the IDE's File > Print Card... menu item, > which looked enough like a very old version of our printing code in this > case to make me think that tons of recent changes had someone "been undone". > > So, problem solved in once sense in that when the Standalone gets built, > Command/Control-P will end up invoking my printer code, but the IDEs. > > But, here is the puzzler, is there a way to tell the IDE to NOT handle > menu keyboard equivalents and send those keyboard commands to the > Applications menu so that all the functions of the App's menu can really > be tested in the IDE? > > I could see nothing in Preferences. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Sep 2 14:18:49 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 2 Sep 2016 21:18:49 +0300 Subject: IDE puzzler... In-Reply-To: <57C9BF33.9060006@researchware.com> References: <57C9BF33.9060006@researchware.com> Message-ID: I feel a "Richmond naive remark" coming on: On 2.09.2016 21:04, Paul Dupuis wrote: > So I just wasted an hour tracking down a sort of "problem" that was not > really a problem. > > My desktop app has printing and selecting "Print..." from the File menu > of my app was doing the "right" think, but Comand/Control-P was not. > > Sadly, it took me a whole hour to realize that the Command-P was being > passed to the IDE and invoking the IDE's File > Print Card... menu item, > which looked enough like a very old version of our printing code in this > case to make me think that tons of recent changes had someone "been undone". > > So, problem solved in once sense in that when the Standalone gets built, > Command/Control-P will end up invoking my printer code, but the IDEs. > > But, here is the puzzler, is there a way to tell the IDE to NOT handle > menu keyboard equivalents and send those keyboard commands to the > Applications menu so that all the functions of the App's menu can really > be tested in the IDE? But's that what I thought 'Browse' mode was for. Obviously I was wrong . . . So; here's an idea (probably almost as naive as that remark): How about an 'App' mode where one can get a feel for how the stack(s) will run when compiled as a standalone? At least as far as the OS the stacks is being developed on. > I could see nothing in Preferences. > Richmond. From richmondmathewson at gmail.com Fri Sep 2 14:22:18 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 2 Sep 2016 21:22:18 +0300 Subject: IDE puzzler... In-Reply-To: <57C9BF33.9060006@researchware.com> References: <57C9BF33.9060006@researchware.com> Message-ID: <89ee3dfa-1bd4-c745-23c3-99c738633ab9@gmail.com> Hey look: http://www.theregister.co.uk/2007/02/27/revolution_runtime/ "One of the best features of" . . . Livecode . . . "is the ability to flip flop between edit mode and run mode." Um . . . tooth-sucking time. Richmond. On 2.09.2016 21:04, Paul Dupuis wrote: > So I just wasted an hour tracking down a sort of "problem" that was not > really a problem. > > My desktop app has printing and selecting "Print..." from the File menu > of my app was doing the "right" think, but Comand/Control-P was not. > > Sadly, it took me a whole hour to realize that the Command-P was being > passed to the IDE and invoking the IDE's File > Print Card... menu item, > which looked enough like a very old version of our printing code in this > case to make me think that tons of recent changes had someone "been undone". > > So, problem solved in once sense in that when the Standalone gets built, > Command/Control-P will end up invoking my printer code, but the IDEs. > > But, here is the puzzler, is there a way to tell the IDE to NOT handle > menu keyboard equivalents and send those keyboard commands to the > Applications menu so that all the functions of the App's menu can really > be tested in the IDE? > > I could see nothing in Preferences. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 2 14:27:12 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 2 Sep 2016 21:27:12 +0300 Subject: IDE puzzler... In-Reply-To: <57C9BF33.9060006@researchware.com> References: <57C9BF33.9060006@researchware.com> Message-ID: What about "Suspend Development Tools"? The Whole IDE vanishes, and you are left with your work . . . . Richmond. On 2.09.2016 21:04, Paul Dupuis wrote: > So I just wasted an hour tracking down a sort of "problem" that was not > really a problem. > > My desktop app has printing and selecting "Print..." from the File menu > of my app was doing the "right" think, but Comand/Control-P was not. > > Sadly, it took me a whole hour to realize that the Command-P was being > passed to the IDE and invoking the IDE's File > Print Card... menu item, > which looked enough like a very old version of our printing code in this > case to make me think that tons of recent changes had someone "been undone". > > So, problem solved in once sense in that when the Standalone gets built, > Command/Control-P will end up invoking my printer code, but the IDEs. > > But, here is the puzzler, is there a way to tell the IDE to NOT handle > menu keyboard equivalents and send those keyboard commands to the > Applications menu so that all the functions of the App's menu can really > be tested in the IDE? > > I could see nothing in Preferences. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at jaedworks.com Fri Sep 2 15:16:48 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 2 Sep 2016 12:16:48 -0700 Subject: IDE puzzler... In-Reply-To: <57C9BF33.9060006@researchware.com> References: <57C9BF33.9060006@researchware.com> Message-ID: At 2:04 PM -0400 9/2/2016, Paul Dupuis wrote: >But, here is the puzzler, is there a way to tell the IDE to NOT handle >menu keyboard equivalents and send those keyboard commands to the >Applications menu so that all the functions of the App's menu can really >be tested in the IDE? Develop > Suspend Development Tools should do it. From paul at researchware.com Fri Sep 2 15:54:44 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 02 Sep 2016 15:54:44 -0400 Subject: AW: IDE puzzler... In-Reply-To: <57C9BF33.9060006@researchware.com> References: <57C9BF33.9060006@researchware.com> Message-ID: <57C9D904.10108@researchware.com> Development > Suspend Development tools was probably the way to go. I was so busy looking for a "Preference" I missed seeing that in the Development menu In the mean time, since I already have a front-script that had a commandKeyDown message handler for other things, I just added a condition for the letter p to invoke my print command vs being passed to the IDE To one of Richmond's points - one I have no idea whether it is technically possible in the LiveCode architecture or not, but if it is - I'd really like an "Run As App mode where my desktop app behaved exactly like a Standalone but with access to the debugger/script editor OR A inclusion option, where I could embed the script editor/debugger in my Standalone, so that I can debug bugs that surface in the standalone and mysteriously disappear in the IDE. I guess that would be sort of like replacing the errordialog with some sort of call to the debugger? Anyway, thank you all. From ahsoftware at sonic.net Fri Sep 2 17:08:31 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Fri, 2 Sep 2016 14:08:31 -0700 Subject: Fwd: Re: AW: IDE puzzler... In-Reply-To: <66a2b575-9ff5-7745-f12f-17bc34e4c806@ahsoftware.net> References: <66a2b575-9ff5-7745-f12f-17bc34e4c806@ahsoftware.net> Message-ID: <4d5415a4-7161-056f-6937-a238a3c18685@sonic.net> On 09/02/2016 12:54 PM, Paul Dupuis wrote: > A inclusion option, where I could embed the script editor/debugger in my > Standalone, so that I can debug bugs that surface in the standalone and > mysteriously disappear in the IDE. I guess that would be sort of like > replacing the errordialog with some sort of call to the debugger? Unfortunately, it's nowhere near that easy. Breakpoints and runtime errors are triggered in standalone applications, but they're ignored since there's nowhere to pass them to. PowerDebug does let you debug standalone applications if you include the library, because it handles communication between the standalone app and the debugger through socket calls and frontscript message wrappers. http://powerdebug.ahsoftware.net -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Sep 2 17:09:02 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Fri, 2 Sep 2016 14:09:02 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: On 09/02/2016 10:15 AM, Richard Gaskin wrote: > Phil Davis wrote: > >> Richard, >> You could always write yourself a curl wrapper... just sayin'. > > Good for OS X; doable on Linux if I wrap shell calls to wget instead > (seems many Debian-based distros include wget but not curl by default); > non-starter on Windows since I don't believe either is included by > default, are they? I've been off the list for a while, so I don't know the context of this discussion (but I'm not letting that hold me back)... That seems to be the case: you either get wget or curl by default with whatever OS you're using, but not both. On the other hand, I avoid both of those in favor of httpie on all platforms. https://github.com/jkbrzt/httpie -- Mark Wieder ahsoftware at gmail.com From tore.nilsen at me.com Fri Sep 2 17:33:53 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 02 Sep 2016 23:33:53 +0200 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: The academic year has just started here in Norway, and I have just finished a preliminary edition of a digital textbook about using LiveCode in the subject ?Information Technology 2?, for my students. The textbook covers all the objectives in the national curriculum with explanations and examples of how to use LiveCode in this particular course. The textbook currently has 15 chapters, most of them completed, but the final edition will see two or three chapters added to the book. I am on a path to have a final version ready by Christmas, as an iBook. The plan is to transfer all this stuff into a standalone application, built in LiveCode of course, in time for next year. This version will have som added benefits, as it will allow me to link directly to downloadable example scripts and stacks, that can easily be changed/updated, without the need for a complete update of the book. I am also working on a couple of small applications for my English students. One will be a ?private dictionary?, where they will add words and phrases they come across during their studies, in order to expand their vocabulary. They will be able to add words and phrases along with explanations and links to the sources where they found the words and/or the explanations of the words. I am also working on a small ?Notes and tasks? application, where they will write their own notes from their studies, as well as answers to written or oral tasks. This application will let them export their notes or tasks as rtf-files/ or sound files and hand in through our LMS as links. I also have plans for a third application which will be a collection of phrasal verbs and idioms. I guess this will be finished by Christmas and ready for my students in the last term. (We have just two terms in the academic year in Norway. Tore From charles at techstrategies.com.au Sat Sep 3 06:30:15 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 3 Sep 2016 20:30:15 +1000 Subject: libURL gone mad In-Reply-To: <680415eb-85fe-e0c0-0a2d-21a1de1343ed@fourthworld.com> References: <872b34f5-3c33-e5c9-f453-f867e948cdaf@techstrategies.com.au> <680415eb-85fe-e0c0-0a2d-21a1de1343ed@fourthworld.com> Message-ID: <59359e25-7acd-3a09-1630-7be16a873899@techstrategies.com.au> Hi Richard, On 3/09/2016 2:28 am, Richard Gaskin wrote: > > Thus far I've found that your libURL function is much more reliable > than the recommended flag option, but still problematic in some cases > unless I slow things down with the introduction of an > otherwise-unnecessary wait. > Interesting. I would like to see an example of this, so that I can see if this issue is actually a bug. > Chipp Walters uses a brute-force method since picked up by Jacque and > others in which he calls libURL in a repeat loop until it returns a > meaningful result. Sad to have to work that hard. > > At the heart of why so many people seem to be having problems with > libURL is that the so-called "blocking" form only blocks the current > execution instance of the handler calling libURL. Messages still > happen, any handlers that are calling libURL are re-entrant, and > that's where people are seeing blocked connections, engine hangs, and > occasional cursor locking (WTH is up with that?). > > The ideal solution would be for an option to have true blocking, > without the semi-quasi-difficult-to-predict-exactly-what's-happening > form of threading in place for the so-called "blocking" form offered > currently. > If I understand correctly what you are after, how about just arbitrating the network requests yourself and then the issue would go away entirely. For example, use some code like this: local lRequestArray, lRequestSent on mouseUp put the number of lines of (the keys of lRequestArray) into tIndex add 1 to tIndex put "https://www.google.com/" into lRequestArray[tIndex] send "sendRequest" && tIndex to me in 0 milliseconds end mouseUp on sendRequest pIndex if lRequestSent is not 1 then put 1 into lRequestSent put URL lRequestArray[pIndex] & cr after field 1 delete local lRequestArray[pIndex] put the keys of lRequestArray into tKeys if the number of lines of tKeys is not 0 then send "sendRequest" && line 1 of tKeys to me in 0 milliseconds end if put 0 into lRequestSent end if end sendRequest This will ensure that only one request is sent at a time and that if the mouseUp handler is fired multiple times before the first request is completed, any additional requests will be queued and executed as soon as they can be. It could easily be adapted to include a "method" parameter and even a "targetVariable" parameter to the sendRequest handler so that it could be used for all network requests in your application. > Those who need non-blocking can use "load url". Works fine, at least > for GET. > > Maybe the issue is that POST doesn't currently have a non-blocking > form, so the design in place now attempts to hit some mystifying > middle path between true blocking and truly async behavior, hitting > neither quit spot-on. As I am sure you are aware, the tsNet external provides non-blocking (async) POST, along with non-blocking versions of every other request type that it supports. Implementing your handler in a non-blocking manner would be another alternative to the above example. > > I'll continue my experiments with various permutions, including > Chipp's now-famous hammer-on-it-until-it-behaves option, and see if I > can come up with something that doesn't require slowing down the > workflow with an otherwise-unnecessary wait statement. > > It's not a long wait (right now the shortest wait that prevent hangs > is around 250 ms), but the issue of preventing re-entrance remains a > challenge. > > I may wind up keeping a checksum hash of the url + POST data, > monitored in a timer to prevent duplicate attempts from happening too > close together. Seems a lot of work, though, for something where the > code would be MUCH simpler if we only have a truly blocking GET and > POST option. > A variation of the above code could possibly be added to the libUrl library to provide these options. I will contemplate this a bit further. :-) Hope that helps, Cheers, Charles From charles at techstrategies.com.au Sat Sep 3 06:43:22 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 3 Sep 2016 20:43:22 +1000 Subject: libURL gone mad In-Reply-To: <3d427afc-d9ae-a22d-6b64-0b48724d3958@fourthworld.com> References: <3d427afc-d9ae-a22d-6b64-0b48724d3958@fourthworld.com> Message-ID: <07e55fcd-9253-d76a-f265-fd302895b4d7@techstrategies.com.au> Hi Richard, On 3/09/2016 3:15 am, Richard Gaskin wrote: > Q for Charles: > For me the convenience of being able to deliver a true standalone, > with no externals or other components, is very useful on this > project. I appreciate the new capabilities Charles is providing in > v8.1, but for those projects where I only need simple GET and POST I'm > hoping I'll be able to deliver true standalones that don't require > that external - is that the case, Charles, or is libURL now fully > dependent on the external? > The theory is that you can issue the following command while in the IDE: dispatch "revUnloadLibrary" to stack "tsNetLibUrl" Which will remove the dependency of tsNet from libUrl. From the moment you do that, libUrl will revert to its old behaviour and the external will not be included in standalones. Unfortunately, there is a bug in the current RC1 release that means this doesn't work. I have been meaning to get around to working out why - hopefully I can do so in the next day or two and get this resolved before the final 8.1 release. > Back to the main issue, since I'm seeing good results thus far in my > testing (thanks again, Charles) I've submitted an enhancement request > to have the function Charles suggested be added to libURL for those > who may need it: > http://quality.livecode.com/show_bug.cgi?id=18318 > Thanks for doing that. If I get a moment, I will submit a PR for it. Regards, Charles From ambassador at fourthworld.com Sat Sep 3 10:05:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 3 Sep 2016 07:05:56 -0700 Subject: libURL gone mad In-Reply-To: <07e55fcd-9253-d76a-f265-fd302895b4d7@techstrategies.com.au> References: <07e55fcd-9253-d76a-f265-fd302895b4d7@techstrategies.com.au> Message-ID: Charles Warwick wrote: > On 3/09/2016 3:15 am, Richard Gaskin wrote: >> Q for Charles: >> For me the convenience of being able to deliver a true standalone, >> with no externals or other components, is very useful on this >> project. I appreciate the new capabilities Charles is providing in >> v8.1, but for those projects where I only need simple GET and POST >> I'm hoping I'll be able to deliver true standalones that don't >> require that external - is that the case, Charles, or is libURL now >> fully dependent on the external? >> > The theory is that you can issue the following command while in the > IDE: > > dispatch "revUnloadLibrary" to stack "tsNetLibUrl" > > Which will remove the dependency of tsNet from libUrl. From the > moment you do that, libUrl will revert to its old behaviour and the > external will not be included in standalones. Very nice. Thank you. As useful as the new capabilities will be in some projects, in this one I need a truly stand-alone app, so having that option will be very valuable. I appreciate your anticipating that and providing an option to support it. > Unfortunately, there is a bug in the current RC1 release that means > this doesn't work. > > I have been meaning to get around to working out why - hopefully I > can do so in the next day or two and get this resolved before the > final 8.1 release. No worries. I'm patient. Your externals are adding good value, and though I won't need them often I appreciate that they'll be there when I do, and omittable when I don't. Along these lines, I'm hoping the docs will include a detailed listing of which features from your external are included in which LC edition (Community, Indy, Business), so folks can choose those which best serve whatever needs they may have. For example, most of the code I write, esp. where it pertains to reusable libraries, doesn't use anything not available in Community if at all possible, so I can later have the option of re-releasing it under GPL. An additional note in the docs letting people know how to deploy apps that don't need to include the external will be very useful for some of us. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Sep 3 10:43:45 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 3 Sep 2016 07:43:45 -0700 Subject: libURL gone mad In-Reply-To: <59359e25-7acd-3a09-1630-7be16a873899@techstrategies.com.au> References: <59359e25-7acd-3a09-1630-7be16a873899@techstrategies.com.au> Message-ID: Charles Warwick wrote: > If I understand correctly what you are after, how about just arbitrating > the network requests yourself and then the issue would go away entirely. So I had thought. But "GET" and "POST" are handled in an unusual way in LC: they're kinda synchronous, and kinda not, behaving in a semi-quasi-threaded way that sometimes makes it difficult to know how to work with them. For example, I like to use functions for things that access data from the Internet. As sources of value they fit well with how my code flows. I often like being able to handle libURL errors returned in "the result" generically within the function, leaving any server-side errors returned from my CGI to the routine that calls the function. To handle errors generically within the function, I sometimes show an answer dialog, and then "exit to top" - here's a simplified example: on mouseUp put cgiRequest("http://something/on/a/server") into tDataFromServer if word 1 of tDataFromServer is "error" then -- provide some meaningful feedback based on what the -- the server is telling us else put tDataFromServer into fld "ShowMeWhatsOnTheServer" end if end mouseUp function cgiRequest pURL get url pURL put the result into tRequestError put it into tDataReturnedFromServer -- -- Check errors reported by libURL: if tRequestError is not empty then answer "Whoops! Something went wrong: "& tRequestError exit to top ---< NOTE THIS - we'll discuss it below end if -- -- No errors reported, presumably good data: return tDataReturnedFromServer end cgiRequest With your libURL mod you posted the other day, we can extend that to exclude requests being syncblocked as well: function cgiRequest pURL if libUrlIsSyncBlocked() is true then answer "Slow down, I'm still working" exit to top --< NOTE THIS - see below end if -- get url pURL put the result into tRequestError put it into tDataReturnedFromServer -- -- Check errors reported by libURL: if tRequestError is not empty then answer "Whoops! Something went wrong: "& tRequestError exit to top ---< NOTE THIS - we'll discuss it below end if -- -- No errors reported, presumably good data: return tDataReturnedFromServer end cgiRequest In terms of the non-threaded LiveCode we know and love, the above would seem logically sound. Indeed, I use functions, with "exit to top" as part of error handling, to access all sorts of values stored in files, fields, properties, etc. without issue, allowing me to centralize generic error handling while still providing super-simple syntax in my libraries for the UI elements that call it. But in practice, I've found that if I call "exit to top" within a second call to a handler that calls libURL, the previous call to libURL never completes, and any subsequent calls have no effect. Even more interestingly, in the second version of the cgiRequest function above, "exit to top" can be called before anything in libURL is called (if the syncblock is encountered), yet somehow the current libURL execution stack from the previous call to that function is still affected. At some point I can give up and call libUrlResetAll and start over, but it's difficult to know in code exactly when I should give up, and I really don't like calling libUrlResetAll if I can avoid it since it's a fairly deep reset best avoided unless absolutely necessary. I can use "exit to top" as part of error handling within functions safely in just about every other context. But if used in any handler that calls libURL, it seems to throw off previous calls that use libURL, in ways I haven't been able to wrap my head around. It would be possible to rewrite my cgiRequest function as a command, but stylistically it's less desirable, and materially it would mean rewriting everything in the code base that calls it. If absolutely necessary, then of course I'd have no choice. It's nothing a cup of coffee and a few hours can't fix. :) But I'm hoping there's some way to better understand LC's semi-quasi-threaded behavior with "GET" and "POST" which would allow me to handle errors within a function that accesses a server resource as gracefully as I can when accessing just about anything else. Any tips? PS: In some cases in my testing I've been able to come up with a sequence of calls in which running "GET" through libURL produces no value in either "it" or "the result". This leaves me in the uniquely disadvantageous state of having encountered some sort of error without any means of knowing it. That one will take more time to pin down the recipe for, but when I do I'll submit a report for it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Sep 3 11:07:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 3 Sep 2016 08:07:23 -0700 Subject: Forum request: YAML Message-ID: <61ca570a-4430-bdb2-7ad4-a204a1748735@fourthworld.com> There's a request in the forum for a YAML lib, and I believe someone here (Mark Weider?) once mentioned having one. If you do, and if the code is sharable, please consider providing link to it in this thread: http://forums.livecode.com/viewtopic.php?f=7&t=21434 Thanks. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From matthias_livecode_150811 at m-r-d.de Sat Sep 3 11:36:29 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 3 Sep 2016 17:36:29 +0200 Subject: Forum request: YAML In-Reply-To: <61ca570a-4430-bdb2-7ad4-a204a1748735@fourthworld.com> References: <61ca570a-4430-bdb2-7ad4-a204a1748735@fourthworld.com> Message-ID: Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 03.09.2016 um 17:07 schrieb Richard Gaskin : > > There's a request in the forum for a YAML lib, and I believe someone here (Mark Weider?) once mentioned having one. > Yes, he mentioned it on the 20th April this year in a message to this list with the topic "YAMLtoArray, ArrayToYAML? "Not a library as such, but I've got functions for converting. It's all pretty simple. The only tricky part in converting from yaml to arrays is keeping track of the indentation. ? > If you do, and if the code is sharable, please consider providing link to it in this thread: > http://forums.livecode.com/viewtopic.php?f=7&t=21434 > > Thanks. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sat Sep 3 20:27:57 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 4 Sep 2016 00:27:57 +0000 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <024A0B37-AB69-4FE4-BB2B-C9163501BFC0@hindu.org> The app is called "SivaSiva" and the main source of content is not (as Jacque said) from www.hinduismtoday.com but from http://www.himalayanacademy.com The app endeavors to provide a more facile interface to a vast array of media resources on the web site via mobile; AND some interactive edutainment content on top of static media delivery (audio, images, video, ebooks, web pages are all easy), to support the spiritual life of Saivite Hindus, but the app does not sell anything as such? and will be approachable by pretty much anyone with any level of interest in eastern thought?. goal is just to provide a rich "buffet"? take what you like, no preaching or pushing anything. I wanted to have a highly module, "pluggable" architecture where we can have many separate components (called "modules") allowing for independent parallel development that can then be added easily to the app, but all of which will use common libs. But allow different developers to work independently (somewhat, we do have to coordinate closely on Asana?) Andre Garzia created the overall framework and I finally had to get my Git Hub skills working. We have a mix of binary LC stacks for the top "Views" where we try as best we can to abstract as much code as possible "out" to text only libs/behaviors and/or LC binary stack libraries we can call from anywhere I worked up use cases with input from over 40 beta testers and we followed a "professional" recommendation by getting them to write full "personas" and the app seeks to meet all the needs of a wide ranges of users. Interesting problems: From our users requests we end up with a rather huge set of requirements. From 14 year old girls who want answers to questions. to 55 year-old pharma exec who spend 3 hours commuting and needs audio in his car, to "dedicated" practitioners who want to track progress in their reading/exercises to "fun stuff" like coloring and puzzles and "two clicks to content" for people on the go? They would rather just be able to go to one app? but making a "robust" (some would say "bloated") app where at least in the "west" we see many small apps? into one "mega app" (which is more popular in China and Korea?) and still make it navigable, actually fit on the phone etc. is challenging. But certainly interesting! So we have a lot of discussion about tracking, "hoisting" (letting users push what they like to the front of the app) Collaborating with GIT newbies (= me and Jacque) where many of the files are LC binaries and Jacque and I get the willies when we see "merge conflict" is another fun game we are learning. The new browser widget has had issues and libURL +TSNet upgrade also causing some issues, but we have so much content to develop I move to that while waiting for the new LC upgrades. 8.1RC2 should pretty much let us run with our ideas with nothing in the way! This app is scary big? wish us luck! We will probably open the source a bit later? in case anyone is interested or would like to help/participate. Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com On 9/1/16, 10:50 AM, "use-livecode on behalf of J. Landman Gay" wrote: 2. I'm also a team member for Brahmanathaswami's project to get the entire Hinduism Today web site into Android and iOS apps. This is an ambitious undertaking given the extent of their existing content. They have a beautiful site: So far, no particular problems outside of some bugs the LC team has corrected. The app will support artwork, quotations, music, narration, and more. This is fun stuff to work with. BR himself did much of the coding, I'm mostly implementing the mobile port and some optimizations. From capellan2000 at gmail.com Sun Sep 4 14:56:49 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Sep 2016 14:56:49 -0400 Subject: Android Stack Player Message-ID: Hi All, Does exist an Android LiveCode Stack Player that we could download from Google Play? I am talking about an Android APK that works like Ken Ray's Stack Runner: http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm Thanks in advance! Alejandro From benr_mc at cogapp.com Sun Sep 4 15:09:31 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 4 Sep 2016 20:09:31 +0100 Subject: How to tell the engine version of a Windows standalone? Message-ID: I've been trying to make a very minor mod (replacing a logo!) to an app I built some years ago; but the client has a problem with it that I can't reproduce. The easiest thing would be if the problem was caused by a subtle difference in the version of LC used to compiled the standalone - I made a quess for which version that would have been, it doesn't seem to help. Does anyone know of a good way to analyse a compiled Windows standalone to discover which version it relates to? (It would be easier on Mac because we can open the package...). TIA, Ben From colinholgate at gmail.com Sun Sep 4 18:19:59 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 4 Sep 2016 15:19:59 -0700 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: Message-ID: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Open with a hex editor, and search for Win32. One of the two matches has the LiveCode version following it. > On Sep 4, 2016, at 12:09 PM, Ben Rubinstein wrote: > > I've been trying to make a very minor mod (replacing a logo!) to an app I built some years ago; but the client has a problem with it that I can't reproduce. > > The easiest thing would be if the problem was caused by a subtle difference in the version of LC used to compiled the standalone - I made a quess for which version that would have been, it doesn't seem to help. > > Does anyone know of a good way to analyse a compiled Windows standalone to discover which version it relates to? (It would be easier on Mac because we can open the package...). > > TIA, > > Ben From smudge.andy at googlemail.com Mon Sep 5 02:23:45 2016 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 4 Sep 2016 23:23:45 -0700 (PDT) Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: Message-ID: <1473056625537-4708060.post@n4.nabble.com> Something you may want to consider for the future is a secret keyboard combination that pops up an info panel..just for this type of situation. I've done this in a couple of apps and it has really helped to tie down some of the parameters I've used in previous builds. You can add things such as: LC Version Build Date OS Version used for build etc... ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-tell-the-engine-version-of-a-Windows-standalone-tp4708058p4708060.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Mon Sep 5 02:40:50 2016 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 4 Sep 2016 23:40:50 -0700 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: Message-ID: <4ff8d2da-4d32-9985-e2a9-aa7f684ea679@pdslabs.net> Hi Ben, I recently simplified my approach to this (hat tip to Richard Gaskin) and am very pleased with the outcome. In the card script of my 1-card app mainstack I have this code: on saveStackRequest set the uStandaloneVersion of the owner of me to the cRevStandaloneSettings["OSX,longVersion"] of the owner of me pass saveStackRequest end saveStackRequest Then in the stack script of the same stack I have this: function appLongVersion return the uStandaloneVersion of me end appLongVersion So any code anywhere in the app (like in the "about" window) can "put appLongVersion() into x" and it'll work. Of course you can change which 'cRevStandaloneSettings' you use to suit your needs. Thanks - Phil Davis On 9/4/16 12:09 PM, Ben Rubinstein wrote: > I've been trying to make a very minor mod (replacing a logo!) to an > app I built some years ago; but the client has a problem with it that > I can't reproduce. > > The easiest thing would be if the problem was caused by a subtle > difference in the version of LC used to compiled the standalone - I > made a quess for which version that would have been, it doesn't seem > to help. > > Does anyone know of a good way to analyse a compiled Windows > standalone to discover which version it relates to? (It would be > easier on Mac because we can open the package...). > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From revdev at pdslabs.net Mon Sep 5 03:06:19 2016 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 5 Sep 2016 00:06:19 -0700 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: <4ff8d2da-4d32-9985-e2a9-aa7f684ea679@pdslabs.net> References: <4ff8d2da-4d32-9985-e2a9-aa7f684ea679@pdslabs.net> Message-ID: <40931299-674d-2fc1-0883-ef527baa4578@pdslabs.net> It would help if I carefully read your question. Sorry for the non-answer. (wiping egg off face) Phil On 9/4/16 11:40 PM, Phil Davis wrote: > Hi Ben, > > I recently simplified my approach to this (hat tip to Richard Gaskin) > and am very pleased with the outcome. > > In the card script of my 1-card app mainstack I have this code: > > on saveStackRequest > set the uStandaloneVersion of the owner of me to the > cRevStandaloneSettings["OSX,longVersion"] of the owner of me > pass saveStackRequest > end saveStackRequest > > > Then in the stack script of the same stack I have this: > > function appLongVersion > return the uStandaloneVersion of me > end appLongVersion > > > So any code anywhere in the app (like in the "about" window) can "put > appLongVersion() into x" and it'll work. > > Of course you can change which 'cRevStandaloneSettings' you use to > suit your needs. > > Thanks - > Phil Davis > > > On 9/4/16 12:09 PM, Ben Rubinstein wrote: >> I've been trying to make a very minor mod (replacing a logo!) to an >> app I built some years ago; but the client has a problem with it that >> I can't reproduce. >> >> The easiest thing would be if the problem was caused by a subtle >> difference in the version of LC used to compiled the standalone - I >> made a quess for which version that would have been, it doesn't seem >> to help. >> >> Does anyone know of a good way to analyse a compiled Windows >> standalone to discover which version it relates to? (It would be >> easier on Mac because we can open the package...). >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Phil Davis From monte at appisle.net Mon Sep 5 05:29:44 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 5 Sep 2016 19:29:44 +1000 Subject: [ANN] This week in LiveCode 49 Message-ID: Hi LiveCoders Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #49 here: http://goo.gl/izsyCN This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode?! Cheers Monte From benr_mc at cogapp.com Mon Sep 5 06:09:06 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 5 Sep 2016 11:09:06 +0100 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> References: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Message-ID: On 04/09/2016 23:19, Colin Holgate wrote: > Open with a hex editor, and search for Win32???. One of the two matches has the LiveCode version following it. Hi Colin, Thanks for this - looks like an excellent method but AFAICT this only works for more recent versions (i.e. works for LC8, doesn't work for LC6, I'm looking at something like LC3-LC5....! Anyone know a way that works with older versions? (Also thanks Andy and Phil; as well as adding the logo, I updated the logger to include the engine version as well as my build number - some of my other apps have done this for years, alas this one didn't...) Many thanks, Ben From panos.merakos at livecode.com Mon Sep 5 08:58:33 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 5 Sep 2016 13:58:33 +0100 Subject: [[ ANN ]] Release 8.1.0 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.0 RC-2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.1.0 RC-2 contains 9 bug fixes for regressions introduced in LiveCode 8.1.0 RC-1. The full release notes are available from: http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_rc_2.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Mon Sep 5 09:19:13 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 5 Sep 2016 09:19:13 -0400 Subject: [[ ANN ]] Release 8.1.0 RC-2 In-Reply-To: References: Message-ID: WOOHOO! 8.1! 8.1! On Mon, Sep 5, 2016 at 8:58 AM, panagiotis merakos < panos.merakos at livecode.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.0 RC-2. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 8.1.0 RC-2 contains 9 bug fixes for regressions introduced in > LiveCode 8.1.0 RC-1. > > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_rc_2.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mark at livecode.com Mon Sep 5 09:49:30 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 05 Sep 2016 15:49:30 +0200 Subject: Should size be extended to =?UTF-8?Q?variables=3F?= In-Reply-To: <10feb920-2532-2af4-7b4a-7f812a5d1358@fourthworld.com> References: <31CAA89C-9273-4A47-BA01-B1A35849F029@livecode.com> <10feb920-2532-2af4-7b4a-7f812a5d1358@fourthworld.com> Message-ID: <6ea62162f0f0f7c71e88636ea2e4fc09@livecode.com> On 2016-08-20 23:11, Richard Gaskin wrote: > In all cases, the data is read and written in binary mode. > > If neither "number of bytes of" or "number of chars" will help, how > can I know the true byte length of a chunk of data? The true byte length of a chunk of data is 'the number of bytes of' so I'm not entirely clear on what you are asking for. If you are existing data from a file, and finding where it is then surely you know: 1) its offset 2) its length (in bytes) If you didn't know either you wouldn't be able to load it and use it (after decoding it). A value only gets a 'byte length' when it is actually encoded as binary data. For example, the length of a string encoded as UTF8 can be determined by using: the number of bytes in textEncode(tString, "utf8") However, an encoding of a string on disk might include a prefix describing the size of the string, and might or might not include a trailing NUL byte. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Mon Sep 5 10:00:34 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 05 Sep 2016 16:00:34 +0200 Subject: Garbage collection (crashing on Windows) In-Reply-To: <7584f9ee-ecc0-29ca-9715-bb587e167e5a@cogapp.com> References: <58904964-04d1-62de-6ffb-c6fd464eb974@cogapp.com> <2e32b41260a5c4d38c983334892b4a8f@livecode.com> <7584f9ee-ecc0-29ca-9715-bb587e167e5a@cogapp.com> Message-ID: <9e439b13bbdda286b64f74776e4c50f2@livecode.com> On 2016-08-22 14:47, Ben Rubinstein wrote: >> https://blogs.technet.microsoft.com/askperf/2007/03/23/memory-management-demystifying-3gb/ > This looks like a great tip - before I go into the ring with the > client's IT dept (always a tricky exercise) can I just check that > LiveCode does have the IMAGE_FILE_LARGE_ADDRESS_AWARE flag set in the > image header as described in that article? And do you know from which > version that is true? That is a good question... It probably isn't (looking at the linker flags) - however you can set it on your standalone exe yourself: http://stackoverflow.com/questions/1346480/how-to-make-a-net-application-large-address-aware I'm pretty sure the LC codebase will be fine for use under this mode although it hasn't been explicitly tested. > But does 'freed' literally release the memory, or just mark the object > as available? Surely you still need to do some kind of garbage > collection in order to collapse what may be isolated fragments of > 'free' memory? When a value is no longer referenced, the area(s) of memory occupied by it are returned to the heap for future allocation. Note that LiveCode relies on the standard memory management functions (malloc / free) on the various OSes - they handle any coalescing of free regions (and handing unused pages back to the OS - some OSes are better at this than others). > How can we do this? As noted hasMemory is defunct; heapSpace is Mac > only; is there a method I can use to profile the memory usage? On Mac there is - yes. The 'heap' command line tool lets you poke another process for its current memory usage (what is and isn't allocated in the C heap). On Windows, I think ProcExplorer can do a similar thing - https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx (if not I'm almost 100% certain there is a sysinternals tool which *does* give the usage information of any C heaps - win apps can have more than one - allocated by a process). Hope this helps, Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bonnmike at gmail.com Mon Sep 5 11:30:00 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 5 Sep 2016 09:30:00 -0600 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Message-ID: Try this.. (should work in a message box) put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring get matchtext(url ("binfile:" & "path/to/standalone.exe",tstring,tMatch) put tMatch Not sure it'll work every time, but it's worked on everything I've tried from 4.6.1 to 8.0.1 On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein wrote: > On 04/09/2016 23:19, Colin Holgate wrote: > >> Open with a hex editor, and search for Win32???. One of the two matches >> has the LiveCode version following it. >> > > Hi Colin, > > Thanks for this - looks like an excellent method but AFAICT this only > works for more recent versions (i.e. works for LC8, doesn't work for LC6, > I'm looking at something like LC3-LC5....! > > Anyone know a way that works with older versions? > > (Also thanks Andy and Phil; as well as adding the logo, I updated the > logger to include the engine version as well as my build number - some of > my other apps have done this for years, alas this one didn't...) > > Many thanks, > > > Ben > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Sep 5 11:30:51 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 5 Sep 2016 09:30:51 -0600 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Message-ID: Correction, change it to: get matchtext(url ("binfile:" & "path/to/standalone.exe"),tstring,tMatch) I accidentally dropped a paren. On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner wrote: > Try this.. (should work in a message box) > > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext(url ("binfile:" & "path/to/standalone.exe", > tstring,tMatch) > put tMatch > > Not sure it'll work every time, but it's worked on everything I've tried > from 4.6.1 to 8.0.1 > > On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein wrote: > >> On 04/09/2016 23:19, Colin Holgate wrote: >> >>> Open with a hex editor, and search for Win32???. One of the two matches >>> has the LiveCode version following it. >>> >> >> Hi Colin, >> >> Thanks for this - looks like an excellent method but AFAICT this only >> works for more recent versions (i.e. works for LC8, doesn't work for LC6, >> I'm looking at something like LC3-LC5....! >> >> Anyone know a way that works with older versions? >> >> (Also thanks Andy and Phil; as well as adding the logo, I updated the >> logger to include the engine version as well as my build number - some of >> my other apps have done this for years, alas this one didn't...) >> >> Many thanks, >> >> >> Ben >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From hh at hyperhh.de Mon Sep 5 12:49:39 2016 From: hh at hyperhh.de (hh) Date: Mon, 5 Sep 2016 18:49:39 +0200 Subject: How to tell the engine version of a Windows standalone? Message-ID: <49D1CFEC-48DF-42C1-8C42-23ABECD94EB0@hyperhh.de> > Mike B. wrote: > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch This is admirable insight. But why don't you like 6.7.11? ;-) From bonnmike at gmail.com Mon Sep 5 13:01:36 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 5 Sep 2016 11:01:36 -0600 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: <49D1CFEC-48DF-42C1-8C42-23ABECD94EB0@hyperhh.de> References: <49D1CFEC-48DF-42C1-8C42-23ABECD94EB0@hyperhh.de> Message-ID: oops. :) My regex fu is weak. On Mon, Sep 5, 2016 at 10:49 AM, hh wrote: > > Mike B. wrote: > > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > > get matchtext url ("binfile:" & \ > > "path/to/standalone.exe",tstring,tMatch) > > put tMatch > > This is admirable insight. > But why don't you like 6.7.11? ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Mon Sep 5 13:01:16 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 5 Sep 2016 18:01:16 +0100 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Message-ID: Blimey Mike, that works! Thank you. Ben On 05/09/2016 16:30, Mike Bonner wrote: > Correction, change it to: get matchtext(url ("binfile:" & > "path/to/standalone.exe"),tstring,tMatch) > I accidentally dropped a paren. > > On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner wrote: > >> Try this.. (should work in a message box) >> >> put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring >> get matchtext(url ("binfile:" & "path/to/standalone.exe", >> tstring,tMatch) >> put tMatch >> >> Not sure it'll work every time, but it's worked on everything I've tried >> from 4.6.1 to 8.0.1 >> >> On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein wrote: >> >>> On 04/09/2016 23:19, Colin Holgate wrote: >>> >>>> Open with a hex editor, and search for Win32???. One of the two matches >>>> has the LiveCode version following it. >>>> >>> >>> Hi Colin, >>> >>> Thanks for this - looks like an excellent method but AFAICT this only >>> works for more recent versions (i.e. works for LC8, doesn't work for LC6, >>> I'm looking at something like LC3-LC5....! >>> >>> Anyone know a way that works with older versions? >>> >>> (Also thanks Andy and Phil; as well as adding the logo, I updated the >>> logger to include the engine version as well as my build number - some of >>> my other apps have done this for years, alas this one didn't...) >>> >>> Many thanks, >>> >>> >>> Ben >>> >>> From bonnmike at gmail.com Mon Sep 5 13:07:37 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 5 Sep 2016 11:07:37 -0600 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Message-ID: Change it to this.. put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring for double digit version coverage On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein wrote: > Blimey Mike, that works! Thank you. > > Ben > > On 05/09/2016 16:30, Mike Bonner wrote: > >> Correction, change it to: get matchtext(url ("binfile:" & >> "path/to/standalone.exe"),tstring,tMatch) >> I accidentally dropped a paren. >> >> On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner wrote: >> >> Try this.. (should work in a message box) >>> >>> put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring >>> get matchtext(url ("binfile:" & "path/to/standalone.exe", >>> tstring,tMatch) >>> put tMatch >>> >>> Not sure it'll work every time, but it's worked on everything I've tried >>> from 4.6.1 to 8.0.1 >>> >>> On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein >>> wrote: >>> >>> On 04/09/2016 23:19, Colin Holgate wrote: >>>> >>>> Open with a hex editor, and search for Win32???. One of the two matches >>>>> has the LiveCode version following it. >>>>> >>>>> >>>> Hi Colin, >>>> >>>> Thanks for this - looks like an excellent method but AFAICT this only >>>> works for more recent versions (i.e. works for LC8, doesn't work for >>>> LC6, >>>> I'm looking at something like LC3-LC5....! >>>> >>>> Anyone know a way that works with older versions? >>>> >>>> (Also thanks Andy and Phil; as well as adding the logo, I updated the >>>> logger to include the engine version as well as my build number - some >>>> of >>>> my other apps have done this for years, alas this one didn't...) >>>> >>>> Many thanks, >>>> >>>> >>>> Ben >>>> >>>> >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Mon Sep 5 13:13:59 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 5 Sep 2016 18:13:59 +0100 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: References: <4C7AEEEF-CF57-484B-9CF3-82827A2FBA1D@gmail.com> Message-ID: Thanks Mike - it's already answered my question! Ben On 05/09/2016 18:07, Mike Bonner wrote: > Change it to this.. put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring > > for double digit version coverage > > On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein wrote: > >> Blimey Mike, that works! Thank you. >> >> Ben >> >> On 05/09/2016 16:30, Mike Bonner wrote: >> >>> Correction, change it to: get matchtext(url ("binfile:" & >>> "path/to/standalone.exe"),tstring,tMatch) >>> I accidentally dropped a paren. >>> >>> On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner wrote: >>> >>> Try this.. (should work in a message box) >>>> >>>> put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring >>>> get matchtext(url ("binfile:" & "path/to/standalone.exe", >>>> tstring,tMatch) >>>> put tMatch >>>> >>>> Not sure it'll work every time, but it's worked on everything I've tried >>>> from 4.6.1 to 8.0.1 >>>> >>>> On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein >>>> wrote: >>>> >>>> On 04/09/2016 23:19, Colin Holgate wrote: >>>>> >>>>> Open with a hex editor, and search for Win32???. One of the two matches >>>>>> has the LiveCode version following it. >>>>>> >>>>>> >>>>> Hi Colin, >>>>> >>>>> Thanks for this - looks like an excellent method but AFAICT this only >>>>> works for more recent versions (i.e. works for LC8, doesn't work for >>>>> LC6, >>>>> I'm looking at something like LC3-LC5....! >>>>> >>>>> Anyone know a way that works with older versions? >>>>> >>>>> (Also thanks Andy and Phil; as well as adding the logo, I updated the >>>>> logger to include the engine version as well as my build number - some >>>>> of >>>>> my other apps have done this for years, alas this one didn't...) >>>>> >>>>> Many thanks, >>>>> >>>>> >>>>> Ben >>>>> >>>>> >>>>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Mon Sep 5 13:45:25 2016 From: hh at hyperhh.de (hh) Date: Mon, 5 Sep 2016 19:45:25 +0200 Subject: How to tell the engine version of a Windows standalone? Message-ID: <9A37BBB4-7910-4667-83CC-1971995B9599@hyperhh.de> > Mike B. wrote (summarized): > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch My first example "6.7.11" was pure fun because your 'old' script finds of course the substring "6.7.1". But know we are even ready for "8.111.0"! Thanks again for this useful detail about the version of the building engine of standalones. This works for all available platforms, not only for Windows. In case of a HTML5 standalone we have to use "path/to/generated/*.html.mem" instead of "path/to/standalone.exe". From hh at hyperhh.de Mon Sep 5 13:48:16 2016 From: hh at hyperhh.de (hh) Date: Mon, 5 Sep 2016 19:48:16 +0200 Subject: How to tell the engine version of a Windows standalone? Message-ID: <26F774CC-565A-47EC-8AAB-A507576AE510@hyperhh.de> Correction (forgot "+" after "]"): > Mike B. wrote (summarised): > put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch My first example "6.7.11" was pure fun because your 'old' script finds of course the substring "6.7.1". But know we are even ready for "8.111.0"! Thanks again for this useful detail about the version of the building engine of standalones. This works for all available platforms, not only for Windows. In case of a HTML5 standalone we have to use "path/to/generated/*.html.mem" instead of "path/to/standalone.exe". From bonnmike at gmail.com Mon Sep 5 14:07:27 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 5 Sep 2016 12:07:27 -0600 Subject: How to tell the engine version of a Windows standalone? In-Reply-To: <26F774CC-565A-47EC-8AAB-A507576AE510@hyperhh.de> References: <26F774CC-565A-47EC-8AAB-A507576AE510@hyperhh.de> Message-ID: I wasn't sure it would work on the others (not tested) but cool that it does. I've been wondering how things are shoved together in the builder... If there just happens to be a match in someones properties, fields, labels.. whatever.. Is there a chance that the wrong data would be returned? (guess it depends on order of appearance) On Mon, Sep 5, 2016 at 11:48 AM, hh wrote: > Correction (forgot "+" after "]"): > > > Mike B. wrote (summarised): > > put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring > > get matchtext url ("binfile:" & \ > > "path/to/standalone.exe",tstring,tMatch) > > put tMatch > > My first example "6.7.11" was pure fun because your 'old' > script finds of course the substring "6.7.1". > But know we are even ready for "8.111.0"! > > Thanks again for this useful detail about the version of the > building engine of standalones. This works for all available > platforms, not only for Windows. > > In case of a HTML5 standalone we have to use > "path/to/generated/*.html.mem" > instead of "path/to/standalone.exe". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Mon Sep 5 14:55:29 2016 From: hh at hyperhh.de (hh) Date: Mon, 5 Sep 2016 20:55:29 +0200 Subject: How to tell the engine version of a Windows standalone? Message-ID: > Mike B. wrote: > I wasn't sure it would work on the others (not tested) but > cool that it does. I've been wondering how things are shoved > together in the builder... If there just happens to be a > match in someones properties, fields, labels.. whatever.. > Is there a chance that the wrong data would be returned? > (guess it depends on order of appearance) Perhaps one should do a "find all"? I found also in my (newer) examples, that it's always a few chars only after a "textual" listing of the tools (browse ... text). From bogdanoff at me.com Mon Sep 5 15:12:13 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 05 Sep 2016 12:12:13 -0700 Subject: OS an HTML5 application in running in? Message-ID: <7A636C64-9CFC-45A4-93EC-CDA729112F47@me.com> I?m planning an HTML5 application that will use audio files. I will have already prepared for Macs .mov, for Windows .avi. How would I determine which type to use in any particular browser? The LCS dictionary says: The platform returns "HTML5" when running in a web browser. On HTML5 the systemVersion is empty. Is there something else that would tell me which file type to use? I will need to use callbacks, which AVI and MOV can handle. Peter Bogdanoff UCLA From capellan2000 at gmail.com Mon Sep 5 15:24:36 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 5 Sep 2016 15:24:36 -0400 Subject: Set the fillGradient Message-ID: Hi All, Years ago, Scott Rossi published this stack: http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev.zip Does Scott Rossi still sells a Palette to work with gradients? By the way, there a few different ways to paste a gradient in another graphic. For example: 1) paste a gradient of exact size on the location of a new graphic. 2) paste a gradient of exact size at a new angle on the location of a new graphic. 3) paste a gradient proportionally on the rectangle of a new graphic. 4) paste a gradient proportionally at a new angle on the rectangle of a new graphic. Creating these handlers just require basic math and the most scarce resource of all: Time, quality time to devote to this task. :) Have a nice week! Alejandro Randy Hengst wrote, On Thursday, Sep 1 2016: > To make this work via script, I?ve done two things? > the easiest is to set the grc that I want to change > to the size and position of the a grc master with > the fill gradient I want to match? in this example, > the script is in the grc to be changed: on mouseDown local tStartLoc put the loc of target into tStartLoc set the loc of target to the loc of grc "Blue MasterChip" set the fillGradient of target to the fillGradient of grc "Blue MasterChip" set the loc of target to tStartLoc end mouseDown From matthias_livecode_150811 at m-r-d.de Mon Sep 5 16:59:59 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 5 Sep 2016 22:59:59 +0200 Subject: write data to an XML file Message-ID: Hi, am i missing something or is there really no command to write XML data created/edited using revXML library back to an XML file? I need to read in an xml file, modifiy some values and write it then back to disk. Reading the file into memory and accessing and editing the nodes is no problem. But how do i write the changed file back to disk as structured xml? Regards, Matthias From colinholgate at gmail.com Mon Sep 5 17:31:25 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 5 Sep 2016 14:31:25 -0700 Subject: write data to an XML file In-Reply-To: References: Message-ID: See if revXMLText in the dictionary will do what you need. > On Sep 5, 2016, at 1:59 PM, Matthias Rebbe wrote: > > Hi, > > am i missing something or is there really no command to write XML data created/edited using revXML library back to an XML file? > > I need to read in an xml file, modifiy some values and write it then back to disk. Reading the file into memory and accessing and editing the nodes is no problem. But how do i write the changed file back to disk as structured xml? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Mon Sep 5 18:12:50 2016 From: hh at hyperhh.de (hh) Date: Tue, 6 Sep 2016 00:12:50 +0200 Subject: OS an HTML5 application in running in? Message-ID: > Peter Bogd. wrote: > > I?m planning an HTML5 application that will use audio files ... AFAIK audio is not (yet) implemented in the HTML5 standalone builder. From matthias_livecode_150811 at m-r-d.de Mon Sep 5 18:16:36 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 6 Sep 2016 00:16:36 +0200 Subject: write data to an XML file In-Reply-To: References: Message-ID: <07755643-7B5E-4105-82D6-2E803F470E9F@m-r-d.de> Thanks Colin. I needed to process the xml with livecode server and tried that function already, but only the values were shown in the browser and not the structured xml file. I forgot that the browser ?renders? (or how is that called) the xml tags. Writing it to a file gives me the complete xml structure. Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 05.09.2016 um 23:31 schrieb Colin Holgate : > > See if revXMLText in the dictionary will do what you need. > > >> On Sep 5, 2016, at 1:59 PM, Matthias Rebbe wrote: >> >> Hi, >> >> am i missing something or is there really no command to write XML data created/edited using revXML library back to an XML file? >> >> I need to read in an xml file, modifiy some values and write it then back to disk. Reading the file into memory and accessing and editing the nodes is no problem. But how do i write the changed file back to disk as structured xml? >> >> Regards, >> Matthias >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue Sep 6 02:27:57 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 6 Sep 2016 06:27:57 +0000 Subject: Capturing QR codes using mergAV - how to? Message-ID: <56A29BCC-D345-4DA2-91BD-8332353B64A8@unimelb.edu.au> Hi ? I?m trying to build a simple iOS app to capture and decode QR codes (for marking student attendance at compulsory activities) and am a bit stuck getting the mergAV external to work its magic. I can capture an image ok using the mergAVPick() function with the rear camera but I was thinking that perhaps I should be using mergAVCamCaptureImage instead? If so then I?m going wrong somewhere as it does nothing when I call that command. I?m assuming I need to call mergAVCamCreate first and then set it up using the mergAVCamSet command. Is that right? I seem to recall someone mentioning that they were using mergAV successfully to ?scan? QR codes a while back (and that it was superior to mergXZing in that regard). Does anyone have any tips/samples they would be willing to share? Best regards. Terry... Terry Judd | Senior Lecturer in Medical Education Department of Medical Education The University of Melbourne M: 0435 961 594 | E: terry.judd at unimelb.edu.au Publications From scott at elementarysoftware.com Tue Sep 6 02:58:53 2016 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 5 Sep 2016 23:58:53 -0700 Subject: Capturing QR codes using mergAV - how to? In-Reply-To: <56A29BCC-D345-4DA2-91BD-8332353B64A8@unimelb.edu.au> References: <56A29BCC-D345-4DA2-91BD-8332353B64A8@unimelb.edu.au> Message-ID: <6EB1F58C-135C-4D4A-BE15-13A32BF13735@elementarysoftware.com> Hello Terry, The thing that tripped me up initially with mergAV (even though it was clearly part of the demo stack) was the two-part request for: mergAVRequestMediaAccess ?audio" which, when granted then requests mergAVRequestMediaAccess ?video? I didn?t figure that I needed to request ?audio? access for scanning a QR code. Fortunately Mike Kerner straightened me out. Audio access is required in order to use the camera. If that isn?t the problem then give another shout. (I switched from using mergZXing to mergAV when building an app that let my students scan QR codes.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Sep 5, 2016, at 11:27 PM, Terry Judd wrote: > > Hi ? I?m trying to build a simple iOS app to capture and decode QR codes (for marking student attendance at compulsory activities) and am a bit stuck getting the mergAV external to work its magic. > > I can capture an image ok using the mergAVPick() function with the rear camera but I was thinking that perhaps I should be using mergAVCamCaptureImage instead? If so then I?m going wrong somewhere as it does nothing when I call that command. I?m assuming I need to call mergAVCamCreate first and then set it up using the mergAVCamSet command. Is that right? > > I seem to recall someone mentioning that they were using mergAV successfully to ?scan? QR codes a while back (and that it was superior to mergXZing in that regard). Does anyone have any tips/samples they would be willing to share? > > Best regards. > > Terry... > > > Terry Judd | Senior Lecturer in Medical Education > Department of Medical Education > The University of Melbourne > M: 0435 961 594 | E: terry.judd at unimelb.edu.au > Publications > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue Sep 6 03:59:03 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 6 Sep 2016 07:59:03 +0000 Subject: Capturing QR codes using mergAV - how to? In-Reply-To: <6EB1F58C-135C-4D4A-BE15-13A32BF13735@elementarysoftware.com> References: <56A29BCC-D345-4DA2-91BD-8332353B64A8@unimelb.edu.au> <6EB1F58C-135C-4D4A-BE15-13A32BF13735@elementarysoftware.com> Message-ID: <1F6954D0-8E87-4498-9736-F60FFE8B8ACE@unimelb.edu.au> Thanks Scott ? ok, I?ve got mergAVCamCaptureImage doing something now now so that?s a step in the right direction (I actually had a spelling syntax error ? mergeAV instead of mergAV ? doh). With respect to the barcode stuff, does that work on a captured image or does it access the specified camera directly? Looking at the code in the sample stack (which I now have) it seems like the latter but I didn?t get a response when I put a QR code in front of it. Regards, Terry... BTW, where did you get the mergAV sample stack from On 6/09/2016 4:58 pm, "use-livecode on behalf of Scott Morrow" wrote: Hello Terry, The thing that tripped me up initially with mergAV (even though it was clearly part of the demo stack) was the two-part request for: mergAVRequestMediaAccess ?audio" which, when granted then requests mergAVRequestMediaAccess ?video? I didn?t figure that I needed to request ?audio? access for scanning a QR code. Fortunately Mike Kerner straightened me out. Audio access is required in order to use the camera. If that isn?t the problem then give another shout. (I switched from using mergZXing to mergAV when building an app that let my students scan QR codes.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Sep 5, 2016, at 11:27 PM, Terry Judd wrote: > > Hi ? I?m trying to build a simple iOS app to capture and decode QR codes (for marking student attendance at compulsory activities) and am a bit stuck getting the mergAV external to work its magic. > > I can capture an image ok using the mergAVPick() function with the rear camera but I was thinking that perhaps I should be using mergAVCamCaptureImage instead? If so then I?m going wrong somewhere as it does nothing when I call that command. I?m assuming I need to call mergAVCamCreate first and then set it up using the mergAVCamSet command. Is that right? > > I seem to recall someone mentioning that they were using mergAV successfully to ?scan? QR codes a while back (and that it was superior to mergXZing in that regard). Does anyone have any tips/samples they would be willing to share? > > Best regards. > > Terry... > > > Terry Judd | Senior Lecturer in Medical Education > Department of Medical Education > The University of Melbourne > M: 0435 961 594 | E: terry.judd at unimelb.edu.au > Publications > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue Sep 6 04:14:37 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 6 Sep 2016 08:14:37 +0000 Subject: Capturing QR codes using mergAV - how to? In-Reply-To: <1F6954D0-8E87-4498-9736-F60FFE8B8ACE@unimelb.edu.au> References: <56A29BCC-D345-4DA2-91BD-8332353B64A8@unimelb.edu.au> <6EB1F58C-135C-4D4A-BE15-13A32BF13735@elementarysoftware.com> <1F6954D0-8E87-4498-9736-F60FFE8B8ACE@unimelb.edu.au> Message-ID: OK ? I went back to the sample stack again and poked around some more and I think I?ve got it sussed now. Regards, Terry... On 6/09/2016 5:59 pm, "use-livecode on behalf of Terry Judd" wrote: Thanks Scott ? ok, I?ve got mergAVCamCaptureImage doing something now now so that?s a step in the right direction (I actually had a spelling syntax error ? mergeAV instead of mergAV ? doh). With respect to the barcode stuff, does that work on a captured image or does it access the specified camera directly? Looking at the code in the sample stack (which I now have) it seems like the latter but I didn?t get a response when I put a QR code in front of it. Regards, Terry... BTW, where did you get the mergAV sample stack from On 6/09/2016 4:58 pm, "use-livecode on behalf of Scott Morrow" wrote: Hello Terry, The thing that tripped me up initially with mergAV (even though it was clearly part of the demo stack) was the two-part request for: mergAVRequestMediaAccess ?audio" which, when granted then requests mergAVRequestMediaAccess ?video? I didn?t figure that I needed to request ?audio? access for scanning a QR code. Fortunately Mike Kerner straightened me out. Audio access is required in order to use the camera. If that isn?t the problem then give another shout. (I switched from using mergZXing to mergAV when building an app that let my students scan QR codes.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Sep 5, 2016, at 11:27 PM, Terry Judd wrote: > > Hi ? I?m trying to build a simple iOS app to capture and decode QR codes (for marking student attendance at compulsory activities) and am a bit stuck getting the mergAV external to work its magic. > > I can capture an image ok using the mergAVPick() function with the rear camera but I was thinking that perhaps I should be using mergAVCamCaptureImage instead? If so then I?m going wrong somewhere as it does nothing when I call that command. I?m assuming I need to call mergAVCamCreate first and then set it up using the mergAVCamSet command. Is that right? > > I seem to recall someone mentioning that they were using mergAV successfully to ?scan? QR codes a while back (and that it was superior to mergXZing in that regard). Does anyone have any tips/samples they would be willing to share? > > Best regards. > > Terry... > > > Terry Judd | Senior Lecturer in Medical Education > Department of Medical Education > The University of Melbourne > M: 0435 961 594 | E: terry.judd at unimelb.edu.au > Publications > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Sep 6 06:00:10 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 6 Sep 2016 06:00:10 -0400 Subject: Capturing QR codes using mergAV - how to? In-Reply-To: References: <56A29BCC-D345-4DA2-91BD-8332353B64A8@unimelb.edu.au> <6EB1F58C-135C-4D4A-BE15-13A32BF13735@elementarysoftware.com> <1F6954D0-8E87-4498-9736-F60FFE8B8ACE@unimelb.edu.au> Message-ID: Well, let me know if you're still struggling with it. Yes, AV requires video and audio. I don't remember if I put in an enhancement request to remove the audio requirement, but if I didn't one of us should. AV is pulling a live video feed and looking for the barcode (QR is just another barcode). When it sees the barcode, Monte is drawing the blue line through it to tell you that it sees the code. On Tue, Sep 6, 2016 at 4:14 AM, Terry Judd wrote: > OK ? I went back to the sample stack again and poked around some more and > I think I?ve got it sussed now. > > Regards, > > Terry... > > > On 6/09/2016 5:59 pm, "use-livecode on behalf of Terry Judd" < > use-livecode-bounces at lists.runrev.com on behalf of > terry.judd at unimelb.edu.au> wrote: > > Thanks Scott ? ok, I?ve got mergAVCamCaptureImage doing something now > now so that?s a step in the right direction (I actually had a spelling > syntax error ? mergeAV instead of mergAV ? doh). With respect to the > barcode stuff, does that work on a captured image or does it access the > specified camera directly? Looking at the code in the sample stack (which I > now have) it seems like the latter but I didn?t get a response when I put a > QR code in front of it. > > Regards, > > Terry... > > > BTW, where did you get the mergAV sample stack from > > > On 6/09/2016 4:58 pm, "use-livecode on behalf of Scott Morrow" < > use-livecode-bounces at lists.runrev.com on behalf of > scott at elementarysoftware.com> wrote: > > Hello Terry, > > The thing that tripped me up initially with mergAV (even though it > was clearly part of the demo stack) was the two-part request for: > > mergAVRequestMediaAccess ?audio" > > which, when granted then requests > > mergAVRequestMediaAccess ?video? > > I didn?t figure that I needed to request ?audio? access for > scanning a QR code. Fortunately Mike Kerner straightened me out. Audio > access is required in order to use the camera. If that isn?t the problem > then give another shout. (I switched from using mergZXing to mergAV when > building an app that let my students scan QR codes.) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > office 1-800-615-0867 > ------------------------------------------------------ > > > On Sep 5, 2016, at 11:27 PM, Terry Judd < > terry.judd at unimelb.edu.au> wrote: > > > > Hi ? I?m trying to build a simple iOS app to capture and decode > QR codes (for marking student attendance at compulsory activities) and am a > bit stuck getting the mergAV external to work its magic. > > > > I can capture an image ok using the mergAVPick() function with > the rear camera but I was thinking that perhaps I should be using > mergAVCamCaptureImage instead? If so then I?m going wrong somewhere as it > does nothing when I call that command. I?m assuming I need to call > mergAVCamCreate first and then set it up using the mergAVCamSet command. Is > that right? > > > > I seem to recall someone mentioning that they were using mergAV > successfully to ?scan? QR codes a while back (and that it was superior to > mergXZing in that regard). Does anyone have any tips/samples they would be > willing to share? > > > > Best regards. > > > > Terry... > > > > > > Terry Judd | Senior Lecturer in Medical Education > > Department of Medical Education unimelb.edu.au/medical-education> > > The University of Melbourne > > M: 0435 961 594 | E: terry.judd at unimelb.edu.au tsj at unimelb.edu.au> > > Publications XC5s6wwAAAAJ&hl=en> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Sep 6 08:30:27 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 6 Sep 2016 08:30:27 -0400 Subject: Android Externals Writers Message-ID: I'm looking for Android External writers to give me a quote. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From warren at warrensweb.us Tue Sep 6 09:22:12 2016 From: warren at warrensweb.us (Warren Samples) Date: Tue, 6 Sep 2016 08:22:12 -0500 Subject: widget inclusion in standalones 8.0.2 Message-ID: I've looked through a number of release notes but haven't been able to find this information. Is it expected that we have to manually select widgets for inclusion when building standalones in 8.0.2? I'm running Linux, and I note that this happens automatically in 8.1 RC2. Warren From roger.e.eller at sealedair.com Tue Sep 6 09:57:52 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 6 Sep 2016 09:57:52 -0400 Subject: write data to an XML file In-Reply-To: <07755643-7B5E-4105-82D6-2E803F470E9F@m-r-d.de> References: <07755643-7B5E-4105-82D6-2E803F470E9F@m-r-d.de> Message-ID: So, "view page source" should display what's actually under the hood. ~Roger On Sep 5, 2016 6:16 PM, "Matthias Rebbe" wrote: > Thanks Colin. > > I needed to process the xml with livecode server and tried that function > already, but only the values were shown in the browser and not the > structured xml file. > I forgot that the browser ?renders? (or how is that called) the xml tags. > Writing it to a file gives me the complete xml structure. > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 portfolio/produkte/brx/> > > Am 05.09.2016 um 23:31 schrieb Colin Holgate : > > > > See if revXMLText in the dictionary will do what you need. > > > > > >> On Sep 5, 2016, at 1:59 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> > >> Hi, > >> > >> am i missing something or is there really no command to write XML data > created/edited using revXML library back to an XML file? > >> > >> I need to read in an xml file, modifiy some values and write it then > back to disk. Reading the file into memory and accessing and editing the > nodes is no problem. But how do i write the changed file back to disk as > structured xml? > >> > >> Regards, > >> Matthias > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Tue Sep 6 10:29:11 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 6 Sep 2016 15:29:11 +0100 Subject: widget inclusion in standalones 8.0.2 In-Reply-To: References: Message-ID: <0f6c3a38-062e-3af4-0b90-b25318f4be22@livecode.com> On 06/09/2016 14:22, Warren Samples wrote: > I've looked through a number of release notes but haven't been able to > find this information. Is it expected that we have to manually select > widgets for inclusion when building standalones in 8.0.2? Hi Warren, Yes, just like in LiveCode 8.0.0, you will need to manually choose widget inclusions in 8.0.2. Best regards, Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From warren at warrensweb.us Tue Sep 6 10:43:21 2016 From: warren at warrensweb.us (Warren Samples) Date: Tue, 6 Sep 2016 09:43:21 -0500 Subject: widget inclusion in standalones 8.0.2 In-Reply-To: <0f6c3a38-062e-3af4-0b90-b25318f4be22@livecode.com> References: <0f6c3a38-062e-3af4-0b90-b25318f4be22@livecode.com> Message-ID: <7cb25cd7-f63d-a836-d537-94f2dcbcec09@warrensweb.us> On 09/06/2016 09:29 AM, Peter TB Brett wrote: > > > On 06/09/2016 14:22, Warren Samples wrote: >> I've looked through a number of release notes but haven't been able to >> find this information. Is it expected that we have to manually select >> widgets for inclusion when building standalones in 8.0.2? > > Hi Warren, > > Yes, just like in LiveCode 8.0.0, you will need to manually choose > widget inclusions in 8.0.2. > > Best regards, > > Peter > Thank you! I feel better now :D Warren From ilola.antti at gmail.com Tue Sep 6 13:21:17 2016 From: ilola.antti at gmail.com (Antti Ilola) Date: Tue, 6 Sep 2016 20:21:17 +0300 Subject: System date Message-ID: Is it the time to you to get the system date work.I have done everything I found your guide, but no avail, every time english date. I made it a bug report since version 6 was announced. and still it doesn't work. Now I'm using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun and even it I got finnish date without any larger measures, just "answer the date" and that's it. And it is not the only software which understands the finnish date, for example Xcode and Xojo knows how it should be display. You made many wondrous things into your software, but simple as date won't work. I think there are many people in this world who use different date form than english. Antti From tore.nilsen at me.com Tue Sep 6 14:13:06 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 06 Sep 2016 20:13:06 +0200 Subject: System date In-Reply-To: References: Message-ID: I have no problem using the system date here in Norway. It works when I use the following: answer the system date and when I use: set the useSystemDate to true answer the date In the last example, remember to set the useSystemDate to true every time you want to use the system date, as it resets to US date once the handler is finished. Regards Tore > 6. sep. 2016 kl. 19.21 skrev Antti Ilola : > > Is it the time to you to get the system date work.I have done everything I > found your guide, but no avail, every time english date. I made it a bug > report since version 6 was announced. and still it doesn't work. Now I'm > using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun and > even it I got finnish date without any larger measures, just "answer the > date" and that's it. And it is not the only software which understands the > finnish date, for example Xcode and Xojo knows how it should be display. > You made many wondrous things into your software, but simple as date won't > work. I think there are many people in this world who use different date > form than english. > > Antti > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Sep 6 14:36:40 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 6 Sep 2016 21:36:40 +0300 Subject: System date In-Reply-To: References: Message-ID: You should have taken a bit longer to read the documention, this: on mouseUp set the useSystemDate to true put the long date into fld "fDATE" end mouseUp returned this: ???????, ????????? 6, 2016 as I am using a machine running Xubuntu 16.04 64-bit with the system date system running in Bulgarian - mainly because I live and work on Bulgaria. Richmond. On 6.09.2016 20:21, Antti Ilola wrote: > Is it the time to you to get the system date work.I have done everything I > found your guide, but no avail, every time english date. I made it a bug > report since version 6 was announced. and still it doesn't work. Now I'm > using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun and > even it I got finnish date without any larger measures, just "answer the > date" and that's it. And it is not the only software which understands the > finnish date, for example Xcode and Xojo knows how it should be display. > You made many wondrous things into your software, but simple as date won't > work. I think there are many people in this world who use different date > form than english. > > Antti > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at jaedworks.com Tue Sep 6 15:38:38 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 6 Sep 2016 12:38:38 -0700 Subject: Resolving an imageSource object reference Message-ID: I need to take an imageSource (short ID or short name) and figure out a full object reference to the image in question. Before I do it, has anybody done this already? Or has a built-in way to get the object been added at some point and I missed it? From monte at appisle.net Tue Sep 6 16:05:41 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 7 Sep 2016 06:05:41 +1000 Subject: Resolving an imageSource object reference In-Reply-To: References: Message-ID: You could use the resolve image command. It was my first open source contribution a few years ago ;-) Sent from my iPhone > On 7 Sep 2016, at 5:38 AM, Jeanne A. E. DeVoto wrote: > > Before I do it, has anybody done this already? > Or has a built-in way to get the object been added at some point and I missed it? From ambassador at fourthworld.com Tue Sep 6 16:06:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 6 Sep 2016 13:06:14 -0700 Subject: Resolving an imageSource object reference In-Reply-To: References: Message-ID: Jeanne A. E. DeVoto wrote: > I need to take an imageSource (short ID or short name) and figure out > a full object reference to the image in question. > > Before I do it, has anybody done this already? > Or has a built-in way to get the object been added at some point and > I missed it? See the "resolve image" command, introduced in v6.5. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at hyperhh.de Tue Sep 6 16:21:33 2016 From: hh at hyperhh.de (hh) Date: Tue, 6 Sep 2016 22:21:33 +0200 Subject: Resolving an imageSource object reference Message-ID: > Jeanne DeV. wrote: > I need to take an imageSource (short ID or short name) and > figure out a full object reference to the image in question. If I understand your question correctly: The HTMLtext of the field holds the source info that is used to set the imageSource. For example or . or . You can now "get the imageSource of char 3 of field 1", what may result in a name, an id or an imageURL. And you have to deduce from that a full object reference (AFAIK there is no built-in-way to do the latter, "resolve image" does similar things for icons and patterns of objects). From revolution at jaedworks.com Tue Sep 6 16:27:42 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 6 Sep 2016 13:27:42 -0700 Subject: Resolving an imageSource object reference In-Reply-To: References: Message-ID: At 6:05 AM +1000 9/7/2016, Monte Goulding wrote: >You could use the resolve image command. It was my first open source >contribution a few years ago ;-) I'm so glad I don't have to do it. ;-) From revolution at jaedworks.com Tue Sep 6 16:43:13 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 6 Sep 2016 13:43:13 -0700 Subject: Resolving an imageSource object reference In-Reply-To: References: Message-ID: At 1:06 PM -0700 9/6/2016, Richard Gaskin wrote: >See the "resolve image" command, introduced in v6.5. Excellent! Thanks. From bobsneidar at iotecdigital.com Tue Sep 6 17:14:29 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 6 Sep 2016 21:14:29 +0000 Subject: Debugger forgetting soft breakpoints Message-ID: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> Hi all. I can in my app reproduce the bug where the debugger is not stopping at soft breakpoints. If I edit code with a soft breakpoint set, then compile it, the soft breakpoint will be skipped the next time the code executes. HOWEVER... I cannot reproduce this with a new stack and a single button!!! I woder if it has anything to do with the size of the app, or perhaps the fact that I have code inserted into front and back scripts. I could poke around further, but frankly I can just unset and reset the breakpoint and it works like a charm. Bob S From ahsoftware at sonic.net Tue Sep 6 17:18:09 2016 From: ahsoftware at sonic.net (mwieder) Date: Tue, 6 Sep 2016 14:18:09 -0700 (PDT) Subject: Debugger forgetting soft breakpoints In-Reply-To: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> Message-ID: <1473196689445-4708107.post@n4.nabble.com> Bob- Soft breakpoints in the IDE are a bit weird. They're tied to the line number, for one thing, so if you edit the code so that your saved soft breakpoint no longer matches the line number it was saved with, it will no longer trigger. -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Debugger-forgetting-soft-breakpoints-tp4708106p4708107.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Tue Sep 6 17:22:35 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 6 Sep 2016 17:22:35 -0400 Subject: Debugger forgetting soft breakpoints In-Reply-To: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> Message-ID: <15701619818-20aa-12b14@webprd-a03.mail.aol.com> See forum post: http://forums.livecode.com/viewtopic.php?f=6&t=27093&p=141458&hilit=breakpoint#p141458 So annoying. And soft breakpoints could be so powerful: very visible, easy to find and change. HC had no such silly issue/ Craig Newman -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Tue, Sep 6, 2016 5:15 pm Subject: Debugger forgetting soft breakpoints Hi all. I can in my app reproduce the bug where the debugger is not stopping at soft breakpoints. If I edit code with a soft breakpoint set, then compile it, the soft breakpoint will be skipped the next time the code executes. HOWEVER... I cannot reproduce this with a new stack and a single button!!! I woder if it has anything to do with the size of the app, or perhaps the fact that I have code inserted into front and back scripts. I could poke around further, but frankly I can just unset and reset the breakpoint and it works like a charm. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Sep 6 17:27:58 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 6 Sep 2016 23:27:58 +0200 Subject: write data to an XML file In-Reply-To: References: <07755643-7B5E-4105-82D6-2E803F470E9F@m-r-d.de> Message-ID: Thanks for tip, Roger. Regards, Matthias > Am 06.09.2016 um 15:57 schrieb Roger Eller : > > So, "view page source" should display what's actually under the hood. > > ~Roger > > On Sep 5, 2016 6:16 PM, "Matthias Rebbe" > > wrote: > >> Thanks Colin. >> >> I needed to process the xml with livecode server and tried that function >> already, but only the values were shown in the browser and not the >> structured xml file. >> I forgot that the browser ?renders? (or how is that called) the xml tags. >> Writing it to a file gives me the complete xml structure. >> >> >> Matthias Rebbe >> Bramkampsieke 13 >> 32312 L?bbecke >> Tel +49 5741 310000 >> +49 160 5504462 >> Fax: +49 5741 310002 >> eMail: matthias at m-r-d.de > >> >> BR5 Konverter - BR5 -> MP3 >> portfolio/produkte/brx/> >>> Am 05.09.2016 um 23:31 schrieb Colin Holgate : >>> >>> See if revXMLText in the dictionary will do what you need. >>> >>> >>>> On Sep 5, 2016, at 1:59 PM, Matthias Rebbe < >> matthias_livecode_150811 at m-r-d.de> wrote: >>>> >>>> Hi, >>>> >>>> am i missing something or is there really no command to write XML data >> created/edited using revXML library back to an XML file? >>>> >>>> I need to read in an xml file, modifiy some values and write it then >> back to disk. Reading the file into memory and accessing and editing the >> nodes is no problem. But how do i write the changed file back to disk as >> structured xml? >>>> >>>> Regards, >>>> Matthias >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Tue Sep 6 18:13:25 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 7 Sep 2016 08:13:25 +1000 Subject: Debugger forgetting soft breakpoints In-Reply-To: <15701619818-20aa-12b14@webprd-a03.mail.aol.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> Message-ID: <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> Is there a bug report about this? > On 7 Sep 2016, at 7:22 AM, dunbarx at aol.com wrote: > > See forum post: > > > http://forums.livecode.com/viewtopic.php?f=6&t=27093&p=141458&hilit=breakpoint#p141458 > > > So annoying. And soft breakpoints could be so powerful: very visible, easy to find and change. HC had no such silly issue/ > > > Craig Newman > From dunbarx at aol.com Tue Sep 6 18:42:43 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 6 Sep 2016 18:42:43 -0400 Subject: Debugger forgetting soft breakpoints In-Reply-To: <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> Message-ID: <15701aaf5b0-20aa-12fb8@webprd-a03.mail.aol.com> Monte. Yes, about a year ago (15830) in v 6.6.5. The issue is really that the line numbers do not stick if you edit the script and change the line order. Of course, just to confirm this long-standing issue, I made a stack with a lot of lines of code in a button handler. Now I cannot get it to fail at all. Tried it with another stack with lots of stuff in it, that I know I had to include hard breakpoints for any stability at all, and cannot get it to fail. It is well known there are ghosts in LC. Craig -----Original Message----- From: Monte Goulding To: How to use LiveCode Sent: Tue, Sep 6, 2016 6:15 pm Subject: Re: Debugger forgetting soft breakpoints Is there a bug report about this? > On 7 Sep 2016, at 7:22 AM, dunbarx at aol.com wrote: > > See forum post: > > > http://forums.livecode.com/viewtopic.php?f=6&t=27093&p=141458&hilit=breakpoint#p141458 > > > So annoying. And soft breakpoints could be so powerful: very visible, easy to find and change. HC had no such silly issue/ > > > Craig Newman > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Tue Sep 6 19:03:33 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 7 Sep 2016 09:03:33 +1000 Subject: Debugger forgetting soft breakpoints In-Reply-To: <15701aaf5b0-20aa-12fb8@webprd-a03.mail.aol.com> References: <15701aaf5b0-20aa-12fb8@webprd-a03.mail.aol.com> Message-ID: Hi Craig It looks to me like 15830 is something else entirely where poorly formed breakpoint conditions aren?t recognised when set. Cheers Monte > On 7 Sep 2016, at 8:42 AM, dunbarx at aol.com wrote: > > Monte. > > > Yes, about a year ago (15830) in v 6.6.5. > > > The issue is really that the line numbers do not stick if you edit the script and change the line order. > > > Of course, just to confirm this long-standing issue, I made a stack with a lot of lines of code in a button handler. Now I cannot get it to fail at all. Tried it with another stack with lots of stuff in it, that I know I had to include hard breakpoints for any stability at all, and cannot get it to fail. > > > It is well known there are ghosts in LC. > > > Craig > > > > -----Original Message----- > From: Monte Goulding > To: How to use LiveCode > Sent: Tue, Sep 6, 2016 6:15 pm > Subject: Re: Debugger forgetting soft breakpoints > > Is there a bug report about this? > >> On 7 Sep 2016, at 7:22 AM, dunbarx at aol.com wrote: >> >> See forum post: >> >> >> http://forums.livecode.com/viewtopic.php?f=6&t=27093&p=141458&hilit=breakpoint#p141458 >> >> >> So annoying. And soft breakpoints could be so powerful: very visible, easy to find and change. HC had no such silly issue/ >> >> >> Craig Newman >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 6 19:32:34 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 6 Sep 2016 23:32:34 +0000 Subject: Debugger forgetting soft breakpoints In-Reply-To: <1473196689445-4708107.post@n4.nabble.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <1473196689445-4708107.post@n4.nabble.com> Message-ID: Hi Mark. Yes but the problem occurs even when I have made changes AFTER the point of the soft break. So the line number does not change, but I am still seeing the breakpoints missed. Also I vaguely remember this coming up back in version 6, and it was addressed back then, after which breakpoints worked flawlessly for a long time. I think this might be a regression. Bob S On Sep 6, 2016, at 14:18 , mwieder > wrote: Bob- Soft breakpoints in the IDE are a bit weird. They're tied to the line number, for one thing, so if you edit the code so that your saved soft breakpoint no longer matches the line number it was saved with, it will no longer trigger. -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Tue Sep 6 19:35:36 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 6 Sep 2016 23:35:36 +0000 Subject: Debugger forgetting soft breakpoints In-Reply-To: <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> Message-ID: <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> Hi Monte. I hesitate to submit a bug report when I cannot reliably reproduce the problem. Again, the app this occurs in has database dependencies, logins etc which would prevent you from seeing the actual problem because you could not get that far. I attempted to make a simple stack to demonstrate it, but the problem won't occur then. That is why Iwas hoping others who have seen this could chime in so maybe we could produce some short list of commonality to zero in on a possible cause. Bob S On Sep 6, 2016, at 15:13 , Monte Goulding > wrote: Is there a bug report about this? From ahsoftware at sonic.net Tue Sep 6 19:43:47 2016 From: ahsoftware at sonic.net (mwieder) Date: Tue, 6 Sep 2016 16:43:47 -0700 (PDT) Subject: Debugger forgetting soft breakpoints In-Reply-To: <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> Message-ID: <1473205427460-4708115.post@n4.nabble.com> Bob- Here are a couple of things to look at: First of all, in the message box you can "put the breakpoints", and that will tell you what's active at the moment. Second, if you've got a repeatably weird action, you can check the custom property that contains the soft breakpoints for the topstack. From my notes in PowerDebug: * breakpoints are stored as long id of object, line number. * the IDE's script editor unfortunately stores them * in the cREVGeneral["breakpoints"] of the owning stack * as short id, line # As a last resort, you might look at the cREVGeneral["breakpoints"] of stack "revPreferences". -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Debugger-forgetting-soft-breakpoints-tp4708106p4708115.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Sep 7 00:27:21 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 6 Sep 2016 23:27:21 -0500 Subject: Debugger forgetting soft breakpoints In-Reply-To: <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> Message-ID: On 9/6/2016 6:35 PM, Bob Sneidar wrote: > I hesitate to submit a bug report when I cannot reliably reproduce > the problem. Again, the app this occurs in has database dependencies, > logins etc which would prevent you from seeing the actual problem > because you could not get that far. I attempted to make a simple > stack to demonstrate it, but the problem won't occur then. > > That is why Iwas hoping others who have seen this could chime in so > maybe we could produce some short list of commonality to zero in on a > possible cause. Mostly I see this when the script calls into a LC library or external in the IDE. The editor won't break at those places unless you have gRevDevelopment set to true (I think) which allows you to step into the IDE scripts. Doing that is a snake pit. Since your stack has databases, internet access, etc. it sounds like a candidate. What I usually do is put a breakpoint dot on the line right below the one that doesn't trigger so it will break immediately afterward. I think I've seen skipped breakpoints at other times too but I can't remember what was involved. Those are pretty elusive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ilola.antti at gmail.com Wed Sep 7 01:02:21 2016 From: ilola.antti at gmail.com (Antti Ilola) Date: Wed, 7 Sep 2016 08:02:21 +0300 Subject: System date In-Reply-To: References: Message-ID: Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010), because I have used different version of MacOs's and different versions of Livecode and both of your scripts and the answer is all the same - english date. My computers primary language is Finnish. Regards Antti 2016-09-06 21:36 GMT+03:00 Richmond : > You should have taken a bit longer to read the documention, this: > > on mouseUp > set the useSystemDate to true > put the long date into fld "fDATE" > end mouseUp > > returned this: > > ???????, ????????? 6, 2016 > > as I am using a machine running Xubuntu 16.04 64-bit with the system date > system running > in Bulgarian - mainly because I live and work on Bulgaria. > > Richmond. > > > On 6.09.2016 20:21, Antti Ilola wrote: > >> Is it the time to you to get the system date work.I have done everything I >> found your guide, but no avail, every time english date. I made it a bug >> report since version 6 was announced. and still it doesn't work. Now I'm >> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun >> and >> even it I got finnish date without any larger measures, just "answer the >> date" and that's it. And it is not the only software which understands the >> finnish date, for example Xcode and Xojo knows how it should be display. >> You made many wondrous things into your software, but simple as date won't >> work. I think there are many people in this world who use different date >> form than english. >> >> Antti >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From selander at tkf.att.ne.jp Wed Sep 7 01:17:10 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 07 Sep 2016 14:17:10 +0900 Subject: System date In-Reply-To: References: Message-ID: <57CFA2D6.20008@tkf.att.ne.jp> This thread has been instructive, as I've had the same grief as Antti. I've been using dateItems for all my date stuff, and reconstructing my own Japanese dates. However, I didn't know about the useSystemDate command. It's working great here. Mac OS10.11.5, system running in Japanese, LC 8.0.2 community edition. This info doesn't help Antti much, though.... sorry. But thanks for asking the question! Tim Selander Tokyo, Japan On 2016/09/07 14:02, Antti Ilola wrote: > Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010), > because I have used different version of MacOs's and different versions of > Livecode and both of your scripts and the answer is all the same - english > date. My computers primary language is Finnish. > > Regards > Antti > > 2016-09-06 21:36 GMT+03:00 Richmond : > >> You should have taken a bit longer to read the documention, this: >> >> on mouseUp >> set the useSystemDate to true >> put the long date into fld "fDATE" >> end mouseUp >> >> returned this: >> >> ???????, ????????? 6, 2016 >> >> as I am using a machine running Xubuntu 16.04 64-bit with the system date >> system running >> in Bulgarian - mainly because I live and work on Bulgaria. >> >> Richmond. >> >> >> On 6.09.2016 20:21, Antti Ilola wrote: >> >>> Is it the time to you to get the system date work.I have done everything I >>> found your guide, but no avail, every time english date. I made it a bug >>> report since version 6 was announced. and still it doesn't work. Now I'm >>> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun >>> and >>> even it I got finnish date without any larger measures, just "answer the >>> date" and that's it. And it is not the only software which understands the >>> finnish date, for example Xcode and Xojo knows how it should be display. >>> You made many wondrous things into your software, but simple as date won't >>> work. I think there are many people in this world who use different date >>> form than english. >>> >>> Antti >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Wed Sep 7 01:20:09 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 7 Sep 2016 05:20:09 +0000 Subject: System date In-Reply-To: References: Message-ID: <0FB9E0C8-C704-40B6-84A0-25383632D21B@unimelb.edu.au> Hi Antti ? I just tried changing my Mac?s default language to Finnish (Suomi) then restarted it, opened Livecode (several versions up to 8.0.2) and typed ?put the long system date? into the message box. All returned an English style date (Wednesday, 7 September 2016) even though the date in the menubar clock was in Finnish. So, it?s not just you. Best regards, Terry... Terry Judd | Senior Lecturer in Medical Education Department of Medical Education The University of Melbourne M: 0435 961 594 | E: terry.judd at unimelb.edu.au Publications On 7/09/2016 3:02 pm, "use-livecode on behalf of Antti Ilola" wrote: Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010), because I have used different version of MacOs's and different versions of Livecode and both of your scripts and the answer is all the same - english date. My computers primary language is Finnish. Regards Antti 2016-09-06 21:36 GMT+03:00 Richmond : > You should have taken a bit longer to read the documention, this: > > on mouseUp > set the useSystemDate to true > put the long date into fld "fDATE" > end mouseUp > > returned this: > > ???????, ????????? 6, 2016 > > as I am using a machine running Xubuntu 16.04 64-bit with the system date > system running > in Bulgarian - mainly because I live and work on Bulgaria. > > Richmond. > > > On 6.09.2016 20:21, Antti Ilola wrote: > >> Is it the time to you to get the system date work.I have done everything I >> found your guide, but no avail, every time english date. I made it a bug >> report since version 6 was announced. and still it doesn't work. Now I'm >> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun >> and >> even it I got finnish date without any larger measures, just "answer the >> date" and that's it. And it is not the only software which understands the >> finnish date, for example Xcode and Xojo knows how it should be display. >> You made many wondrous things into your software, but simple as date won't >> work. I think there are many people in this world who use different date >> form than english. >> >> Antti >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Wed Sep 7 01:23:10 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 7 Sep 2016 05:23:10 +0000 Subject: System date In-Reply-To: <57CFA2D6.20008@tkf.att.ne.jp> References: <57CFA2D6.20008@tkf.att.ne.jp> Message-ID: <0B908421-038E-441F-A6F0-ACC75EB0E44A@unimelb.edu.au> So, with respect to my previous message, what I actually tried in the message box was... set the useSystemDate to true; put the long system date ...but it still returned an English style date. Terry... On 7/09/2016 3:17 pm, "use-livecode on behalf of Tim Selander" wrote: This thread has been instructive, as I've had the same grief as Antti. I've been using dateItems for all my date stuff, and reconstructing my own Japanese dates. However, I didn't know about the useSystemDate command. It's working great here. Mac OS10.11.5, system running in Japanese, LC 8.0.2 community edition. This info doesn't help Antti much, though.... sorry. But thanks for asking the question! Tim Selander Tokyo, Japan On 2016/09/07 14:02, Antti Ilola wrote: > Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010), > because I have used different version of MacOs's and different versions of > Livecode and both of your scripts and the answer is all the same - english > date. My computers primary language is Finnish. > > Regards > Antti > > 2016-09-06 21:36 GMT+03:00 Richmond : > >> You should have taken a bit longer to read the documention, this: >> >> on mouseUp >> set the useSystemDate to true >> put the long date into fld "fDATE" >> end mouseUp >> >> returned this: >> >> ???????, ????????? 6, 2016 >> >> as I am using a machine running Xubuntu 16.04 64-bit with the system date >> system running >> in Bulgarian - mainly because I live and work on Bulgaria. >> >> Richmond. >> >> >> On 6.09.2016 20:21, Antti Ilola wrote: >> >>> Is it the time to you to get the system date work.I have done everything I >>> found your guide, but no avail, every time english date. I made it a bug >>> report since version 6 was announced. and still it doesn't work. Now I'm >>> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun >>> and >>> even it I got finnish date without any larger measures, just "answer the >>> date" and that's it. And it is not the only software which understands the >>> finnish date, for example Xcode and Xojo knows how it should be display. >>> You made many wondrous things into your software, but simple as date won't >>> work. I think there are many people in this world who use different date >>> form than english. >>> >>> Antti >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Wed Sep 7 04:05:59 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 07 Sep 2016 08:05:59 +0000 Subject: System date In-Reply-To: <0B908421-038E-441F-A6F0-ACC75EB0E44A@unimelb.edu.au> References: <57CFA2D6.20008@tkf.att.ne.jp> <0B908421-038E-441F-A6F0-ACC75EB0E44A@unimelb.edu.au> Message-ID: This is a problem we have with any language that uses the 'c' format specifier for date format - i.e. stand alone day of week (see here for example: http://cldr.unicode.org/translation/date-time#TOC-Stand-Alone-vs.-Format-Styles ) There is a bug report already here: http://quality.livecode.com/show_bug.cgi?id=11633 On Wed, Sep 7, 2016 at 6:23 AM Terry Judd wrote: > So, with respect to my previous message, what I actually tried in the > message box was... > > set the useSystemDate to true; put the long system date > > ...but it still returned an English style date. > > Terry... > > > On 7/09/2016 3:17 pm, "use-livecode on behalf of Tim Selander" < > use-livecode-bounces at lists.runrev.com on behalf of selander at tkf.att.ne.jp> > wrote: > > This thread has been instructive, as I've had the same grief as Antti. > I've been using dateItems for all my date stuff, and reconstructing my > own Japanese dates. > > However, I didn't know about the useSystemDate command. It's working > great here. Mac OS10.11.5, system running in Japanese, LC 8.0.2 > community edition. > > This info doesn't help Antti much, though.... sorry. But thanks for > asking the question! > > Tim Selander > Tokyo, Japan > > On 2016/09/07 14:02, Antti Ilola wrote: > > Then maybe I have problems on my machines( MacBook Pro 2007 and iMac > 2010), > > because I have used different version of MacOs's and different > versions of > > Livecode and both of your scripts and the answer is all the same - > english > > date. My computers primary language is Finnish. > > > > Regards > > Antti > > > > 2016-09-06 21:36 GMT+03:00 Richmond : > > > >> You should have taken a bit longer to read the documention, this: > >> > >> on mouseUp > >> set the useSystemDate to true > >> put the long date into fld "fDATE" > >> end mouseUp > >> > >> returned this: > >> > >> ???????, ????????? 6, 2016 > >> > >> as I am using a machine running Xubuntu 16.04 64-bit with the > system date > >> system running > >> in Bulgarian - mainly because I live and work on Bulgaria. > >> > >> Richmond. > >> > >> > >> On 6.09.2016 20:21, Antti Ilola wrote: > >> > >>> Is it the time to you to get the system date work.I have done > everything I > >>> found your guide, but no avail, every time english date. I made it > a bug > >>> report since version 6 was announced. and still it doesn't work. > Now I'm > >>> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard > for fun > >>> and > >>> even it I got finnish date without any larger measures, just > "answer the > >>> date" and that's it. And it is not the only software which > understands the > >>> finnish date, for example Xcode and Xojo knows how it should be > display. > >>> You made many wondrous things into your software, but simple as > date won't > >>> work. I think there are many people in this world who use > different date > >>> form than english. > >>> > >>> Antti > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Sep 7 05:10:52 2016 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 7 Sep 2016 10:10:52 +0100 Subject: The Joy of Removing Features - Part 3: Presenting the duplicate files / photos info to the user. Message-ID: Update to Part 2. Part 2 of this series described a scheme for collecting the info about duplicate photos. This included some justification for not bothering to collect or store md5Hash info for each (relevant) file - and it turned out that my investigative / benchmark code was buggy. There were two bugs - one was just a simple bug of mine, which led to much shorter apparent times for some operations, while the other was misleading times due to a significant improvement in LC8 compared to earlier versions. After correcting these two bugs of mine, the justification became much weaker - but the conclusion remained unchanged. Part 3 - how to present this data to the user. There are many possibilities, from the simplest (long list of duplicate files path names - simple but unusable !!), to the complex (coloured context diffs of the directory structures). If LC had a built-in "accordian" view or tree view with expanding/contracting disclosure triangles, I'd probably use that. However, it doesn't (yet), so I decided to stick with the really simple. But before describing it, let's talk a little bit about how/why all these duplicate photos have arisen in the first place. 1. You import a bunch of photos from a camera, choose NOT to delete them from the camera, and then later re-import the same photos (possibly along with some additional ones that have been taken in the meantime). 1a. if you do this into the same folder (e.g. same import program, same settings), you probably get a message asking if you want to "replace, skip or keep both" (or something like that). Of course, you choose "keep both" :-) - and now you have a set of photos called e.g. IMGP0021 and IMGP0021-1, etc. Note you can get this same effect by importing the photos twice, on different laptops - and subsequently copying / merging the folders between them. 1b. if you do this into different folders (e.g. once with say Picasa, once with Lightroom - with their differing default naming schemes), you might finish up with two folders (say "2015-06-01" and "01 June 2016"). And again these could be exact duplicates, or the latter could contain additional photos taken later. Or one or other folder could have had some 'sidecar' files added (e.g. Thumbs.db for some viewing apps, etc). 2. You want to copy some of the photos from a folder to another machine. First you copy the whole folder, then delete some files you know you don't need - then you can put this tidied folder onto a USB stack, or use an FTP app, or .... and in the end, you forget to remove this temp copy. 3. Almost any other thing you can imagine ... So I decided to keep the output very simple, and only try to distinguish two cases (1a and all the rest). See below for the gory details, if you want :-) This gave me a rather long, but usable set of output descriptions. It then took me less than an hour of slightly tedious work (one IDE window, one terminal/shell window and two Finder windows ...) to eliminate roughly 20 fully duplicated directories, plus an additional 20-30 partially duplicated ones and a lot of file-name duplicated ones (i.e. case 1a above) - removing just over 10% of the total number of files and disk space in use. Design choices. If I had been developing an app to market (either for sale, or as a freebie for people to just *use*), it would have been an easy choice to spend an extra day programming, provide some in-built display and deletion options - and reduce the "tedious one hour" to a "mildly annoying 10 minutes" of time to remove the files. On the other hand, if this had been just a tool for myself to find and eliminate these 4-5000 files, I'd have stopped programming a day or two earlier and spent two tedious hours doing "rm *-2.jpg" etc., and achieved the same end result. But because I wanted to make the stack available for others, and I wanted to think about and write about the choices I make along the way - but not make it anything like a polished app - this middle-path feels right. But the point is that there is no single *right* answer to the question of how much development time is justified until you are clear on your target and purpose for doing the development in the first place. Now on to the interesting challenge of finding and dealing with "non-interesting" photos ... -- Alex. P.S. the gory details of the output format I chose in the end. The first case is handled by reporting Folder has N files, with M self-matches, followed y a paried-lisr of matching files (i.e. M cases of duplicated files (directly) within the same folder out of N total files). e.g. Folder /Users/alextweedly/Dropbox (Personal)/Pictures/2014/2014-06-18 has 38 files, and 18 self matches IMGP0128-2.JPG IMGP0128.JPG IMGP0118-2.JPG IMGP0118.JPG IMGP0129-2.JPG IMGP0129.JPG ..... IMGP0120-2.JPG IMGP0120.JPG All other cases report as Folders and have N1 and N2 files with NN matches, followed by a list of matches. Generally this will result in something like Folders /Users/alextweedly/Dropbox (Personal)/Pictures/2011/2011-09-13 /Users/alextweedly/Dropbox (Personal)/Pictures/2011/9 Oct 2011 Have 9 54 files, and 9 matches IMG_0236.JPG IMG_0236.JPG IMG_0237.JPG IMG_0237.JPG .... In this particular example, the names all match, there are 9 matches for the 9 files in "folder1" - so as a user, you then need to decide whether (a) you should just delete folder1 and all its contents (b) there are other duplicated folders/files (e.g. 2011-09-12, 2011-09-10, etc.) which between them contain all the other files from the 54 in "9 Oct 2011" and that's the one you should completely delete. On fact, that's what I did. I'm sticking with Lightroom rather than the other photo management apps - so the 2011-09-13 style of folder naming is the one I 'd prefer to use. From benr_mc at cogapp.com Wed Sep 7 05:20:24 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 7 Sep 2016 10:20:24 +0100 Subject: Debugger forgetting soft breakpoints In-Reply-To: <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> Message-ID: <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> On 07/09/2016 00:35, Bob Sneidar wrote: > I hesitate to submit a bug report when I cannot reliably reproduce the problem. Again, the app this occurs in has database dependencies, logins etc which would prevent you from seeing the actual problem because you could not get that far. I attempted to make a simple stack to demonstrate it, but the problem won't occur then. > > That is why Iwas hoping others who have seen this could chime in so maybe we could produce some short list of commonality to zero in on a possible cause. Hi Bob, FWIW I saw this yesterday using 8.1.0rc2 - like you I can't pin down exactly what was going on but a breakpoint with a condition seemed to go missing. If it was a matter of adding code above (I don't think I did, but I can't swear I didn't) wouldn't that just cause the breakpoint to shift rather than disappear? I'll try to keep an eye open for it, but consider this a second straw in the wind indicating that there's something awry somewhere... Ben From richmondmathewson at gmail.com Wed Sep 7 07:08:32 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 7 Sep 2016 14:08:32 +0300 Subject: System date In-Reply-To: <0FB9E0C8-C704-40B6-84A0-25383632D21B@unimelb.edu.au> References: <0FB9E0C8-C704-40B6-84A0-25383632D21B@unimelb.edu.au> Message-ID: <9a8ebd39-b18d-725c-ad26-ec68366f00c4@gmail.com> It might just be that Livecode only parses certain countries . . . Why do I think only these languages will work: English Arabic Bulgarian Chinese Greek Hebrew Japanese Korean Polish Roman Russian Thai Turkish SimpleChinese Ukrainian What we should really do is ask Mark Schonewille to try on a computer with a Netherlandish system. Richmond. On 7.09.2016 08:20, Terry Judd wrote: > Hi Antti ? I just tried changing my Mac?s default language to Finnish (Suomi) then restarted it, opened Livecode (several versions up to 8.0.2) and typed ?put the long system date? into the message box. All returned an English style date (Wednesday, 7 September 2016) even though the date in the menubar clock was in Finnish. So, it?s not just you. > > Best regards, > > Terry... > > Terry Judd | Senior Lecturer in Medical Education > Department of Medical Education > The University of Melbourne > M: 0435 961 594 | E: terry.judd at unimelb.edu.au > Publications > > > > On 7/09/2016 3:02 pm, "use-livecode on behalf of Antti Ilola" wrote: > > Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010), > because I have used different version of MacOs's and different versions of > Livecode and both of your scripts and the answer is all the same - english > date. My computers primary language is Finnish. > > Regards > Antti > > 2016-09-06 21:36 GMT+03:00 Richmond : > > > You should have taken a bit longer to read the documention, this: > > > > on mouseUp > > set the useSystemDate to true > > put the long date into fld "fDATE" > > end mouseUp > > > > returned this: > > > > ???????, ????????? 6, 2016 > > > > as I am using a machine running Xubuntu 16.04 64-bit with the system date > > system running > > in Bulgarian - mainly because I live and work on Bulgaria. > > > > Richmond. > > > > > > On 6.09.2016 20:21, Antti Ilola wrote: > > > >> Is it the time to you to get the system date work.I have done everything I > >> found your guide, but no avail, every time english date. I made it a bug > >> report since version 6 was announced. and still it doesn't work. Now I'm > >> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun > >> and > >> even it I got finnish date without any larger measures, just "answer the > >> date" and that's it. And it is not the only software which understands the > >> finnish date, for example Xcode and Xojo knows how it should be display. > >> You made many wondrous things into your software, but simple as date won't > >> work. I think there are many people in this world who use different date > >> form than english. > >> > >> Antti > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjb at robelko.com Wed Sep 7 08:47:58 2016 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 7 Sep 2016 14:47:58 +0200 Subject: System date In-Reply-To: <9a8ebd39-b18d-725c-ad26-ec68366f00c4@gmail.com> References: <0FB9E0C8-C704-40B6-84A0-25383632D21B@unimelb.edu.au> <9a8ebd39-b18d-725c-ad26-ec68366f00c4@gmail.com> Message-ID: The problem might be that changing the language does not always change the date formats. These are separate settings under OSX. On 7.09.2016 08:20, Terry Judd wrote: >Hi Antti - I just tried changing my Mac's default language to >Finnish (Suomi) then restarted it, opened Livecode (several versions >up to 8.0.2) and typed "put the long system date" into the message >box. All returned an English style date (Wednesday, 7 September >2016) even though the date in the menubar clock was in Finnish. So, >it's not just you. > >Best regards, > >Terry... > From roger.e.eller at sealedair.com Wed Sep 7 10:35:38 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 7 Sep 2016 10:35:38 -0400 Subject: [OT] Running LiveCode on Android X86 tablets Message-ID: The key is the cpu, which must be an Intel x86 processor. I have not tried this, but I want to. My current tablet has an ARM-based cpu, so I can't try it (yet). http://www.androidpolice.com/2016/09/02/crossover-android-preview-runs-windows-apps-android-chromebooks-even-photoshop/ ~Roger From bobsneidar at iotecdigital.com Wed Sep 7 10:44:28 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 14:44:28 +0000 Subject: Debugger forgetting soft breakpoints In-Reply-To: References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> Message-ID: <3EA37349-AB0E-49B6-A444-C0C9F00F47A1@iotecdigital.com> I think you've nailed it Jacque. The scripts I use indeed make calls to externals, in this case sqlYoga (if you can call a stack in use an *external*). Of course almost everything I write does that. I like your idea of double soft points. It's also not that much trouble to just type BREAKPOINT on some line above where I want to break. Mark, I will check those properties before and after the compile to see if anything changed. Bob S > On Sep 6, 2016, at 21:27 , J. Landman Gay wrote: > > On 9/6/2016 6:35 PM, Bob Sneidar wrote: >> I hesitate to submit a bug report when I cannot reliably reproduce >> the problem. Again, the app this occurs in has database dependencies, >> logins etc which would prevent you from seeing the actual problem >> because you could not get that far. I attempted to make a simple >> stack to demonstrate it, but the problem won't occur then. >> >> That is why Iwas hoping others who have seen this could chime in so >> maybe we could produce some short list of commonality to zero in on a >> possible cause. > > Mostly I see this when the script calls into a LC library or external in the IDE. The editor won't break at those places unless you have gRevDevelopment set to true (I think) which allows you to step into the IDE scripts. Doing that is a snake pit. > > Since your stack has databases, internet access, etc. it sounds like a candidate. What I usually do is put a breakpoint dot on the line right below the one that doesn't trigger so it will break immediately afterward. > > I think I've seen skipped breakpoints at other times too but I can't remember what was involved. Those are pretty elusive. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Sep 7 11:30:36 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 7 Sep 2016 08:30:36 -0700 Subject: Debugger forgetting soft breakpoints In-Reply-To: References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> Message-ID: On Tue, Sep 6, 2016 at 9:27 PM, J. Landman Gay wrote: > What I usually do is put a breakpoint dot on the line right below the one > that doesn't trigger so it will break immediately afterward. I've generally rested to surrounding breakpoints with if, as the conditional rarely triggers on a pcd. I've also found that pcd rarely trigger unless the script in which they occur have actually been in the tab open for editing, and possibly need an action taken (clicking is enough). A pcd whose script was opened for editing by another script and has never been "visited" will *never* trigger. Even an explicit breakpoint will not trigger if no "idea" has been hit, so when I need to debug startup code, it's answer "stopping";breakpoint as without the "answer", it blows right past. Like the Pirate Code, the IDE sees breakpoints of any sort as merely advisory, rather than binding, thus "pirate code dots'" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From benr_mc at cogapp.com Wed Sep 7 12:57:02 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 7 Sep 2016 17:57:02 +0100 Subject: Debugger forgetting soft breakpoints In-Reply-To: <3EA37349-AB0E-49B6-A444-C0C9F00F47A1@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <3EA37349-AB0E-49B6-A444-C0C9F00F47A1@iotecdigital.com> Message-ID: <5f6ec9d5-ec18-3e17-e9a8-9cf2fe794e8f@cogapp.com> FWIW the script I was playing with last night wasn't using any externals. So I'm not sure that's always implicated. On 07/09/2016 15:44, Bob Sneidar wrote: > I think you've nailed it Jacque. The scripts I use indeed make calls to externals, in this case sqlYoga (if you can call a stack in use an *external*). Of course almost everything I write does that. I like your idea of double soft points. It's also not that much trouble to just type BREAKPOINT on some line above where I want to break. > > Mark, I will check those properties before and after the compile to see if anything changed. > > Bob S > > >> On Sep 6, 2016, at 21:27 , J. Landman Gay wrote: >> >> On 9/6/2016 6:35 PM, Bob Sneidar wrote: >>> I hesitate to submit a bug report when I cannot reliably reproduce >>> the problem. Again, the app this occurs in has database dependencies, >>> logins etc which would prevent you from seeing the actual problem >>> because you could not get that far. I attempted to make a simple >>> stack to demonstrate it, but the problem won't occur then. >>> >>> That is why Iwas hoping others who have seen this could chime in so >>> maybe we could produce some short list of commonality to zero in on a >>> possible cause. >> >> Mostly I see this when the script calls into a LC library or external in the IDE. The editor won't break at those places unless you have gRevDevelopment set to true (I think) which allows you to step into the IDE scripts. Doing that is a snake pit. >> >> Since your stack has databases, internet access, etc. it sounds like a candidate. What I usually do is put a breakpoint dot on the line right below the one that doesn't trigger so it will break immediately afterward. >> >> I think I've seen skipped breakpoints at other times too but I can't remember what was involved. Those are pretty elusive. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Wed Sep 7 13:09:48 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 7 Sep 2016 10:09:48 -0700 Subject: Debugger forgetting soft breakpoints In-Reply-To: <5f6ec9d5-ec18-3e17-e9a8-9cf2fe794e8f@cogapp.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <3EA37349-AB0E-49B6-A444-C0C9F00F47A1@iotecdigital.com> <5f6ec9d5-ec18-3e17-e9a8-9cf2fe794e8f@cogapp.com> Message-ID: On Wed, Sep 7, 2016 at 9:57 AM, Ben Rubinstein wrote: > FWIW the script I was playing with last night wasn't using any externals. > So I'm not sure that's always implicated. > I have no externals at all, anywhere. I have now broken down to multiple stacks which are loaded by the central stack, but the issue is unchanged from when they were substacks. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Wed Sep 7 13:19:38 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 17:19:38 +0000 Subject: Another scary bug?? Message-ID: <2FFD11BE-43C8-4C70-831F-7709B2100715@iotecdigital.com> Can someone please explain to me how the following code can produce 0 in tSiteItem? on mouseUp set the itemDelimiter to "|" set wholeMatches to true put "|6|" into tITIDList put "6" into tSiteID put itemOffset(tSiteID, tITIDList) into tSiteItem breakpoint end mouseUp But this code produces 2? on mouseUp set the itemDelimiter to "|" set wholeMatches to true put "1|6|3" into tITIDList put "6" into tSiteID put itemOffset(tSiteID, tITIDList) into tSiteItem breakpoint end mouseUp Seems that if the first item of a list is empty, itemOffset (and perhaps other offset functions) breaks. Bob S From bobsneidar at iotecdigital.com Wed Sep 7 13:22:25 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 17:22:25 +0000 Subject: Debugger forgetting soft breakpoints In-Reply-To: References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <3EA37349-AB0E-49B6-A444-C0C9F00F47A1@iotecdigital.com> <5f6ec9d5-ec18-3e17-e9a8-9cf2fe794e8f@cogapp.com> Message-ID: <3099D584-6D58-4B8E-94DA-A389BD0F6BCE@iotecdigital.com> How about front and back scripts? Bob S > On Sep 7, 2016, at 10:09 , Dr. Hawkins wrote: > > On Wed, Sep 7, 2016 at 9:57 AM, Ben Rubinstein wrote: > >> FWIW the script I was playing with last night wasn't using any externals. >> So I'm not sure that's always implicated. >> > > I have no externals at all, anywhere. > > I have now broken down to multiple stacks which are loaded by the central > stack, but the issue is unchanged from when they were substacks. > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Sep 7 13:31:45 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 7 Sep 2016 13:31:45 -0400 Subject: Another scary bug?? In-Reply-To: <2FFD11BE-43C8-4C70-831F-7709B2100715@iotecdigital.com> References: <2FFD11BE-43C8-4C70-831F-7709B2100715@iotecdigital.com> Message-ID: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> Bob. I get a "2' in both handlers. v.6.7.9 Craig -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Wed, Sep 7, 2016 1:20 pm Subject: Another scary bug?? Can someone please explain to me how the following code can produce 0 in tSiteItem? on mouseUp set the itemDelimiter to "|" set wholeMatches to true put "|6|" into tITIDList put "6" into tSiteID put itemOffset(tSiteID, tITIDList) into tSiteItem breakpoint end mouseUp But this code produces 2? on mouseUp set the itemDelimiter to "|" set wholeMatches to true put "1|6|3" into tITIDList put "6" into tSiteID put itemOffset(tSiteID, tITIDList) into tSiteItem breakpoint end mouseUp Seems that if the first item of a list is empty, itemOffset (and perhaps other offset functions) breaks. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Sep 7 13:36:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 7 Sep 2016 10:36:11 -0700 Subject: Another scary bug?? In-Reply-To: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> Message-ID: dunbarx wrote: > I get a "2' in both handlers. > > > v.6.7.9 In v8.1rc2 on Ubuntu I get 0 for the first one (didn't run the second). I'd file a bug report, looks like a regression while handling some of the other chunk issues. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From merakosp at gmail.com Wed Sep 7 14:10:59 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 7 Sep 2016 21:10:59 +0300 Subject: Another scary bug?? In-Reply-To: References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> Message-ID: It looks like "set the wholeMatches to true" is the culprit. Removing this line results in the expected behavior. On Wed, Sep 7, 2016 at 8:36 PM, Richard Gaskin wrote: > dunbarx wrote: > > > I get a "2' in both handlers. > > > > > > v.6.7.9 > > In v8.1rc2 on Ubuntu I get 0 for the first one (didn't run the second). > > I'd file a bug report, looks like a regression while handling some of the > other chunk issues. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ethan at lish.net Wed Sep 7 15:01:49 2016 From: ethan at lish.net (ethan at lish.net) Date: Wed, 7 Sep 2016 15:01:49 -0400 Subject: Livecode and Swift Message-ID: <3ead0470-4b95-e4d4-56a6-3dd39db285a8@lish.net> Has anyone done any work on Livecode / Swift integration? There are a few platforms (watchOS, and tvOS) which are not available as delivery platforms via Livecode. In a perfect world, these deployment platforms would be added to the compile options for Livecode. E From jacque at hyperactivesw.com Wed Sep 7 15:54:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Sep 2016 14:54:18 -0500 Subject: Debugger forgetting soft breakpoints In-Reply-To: <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> Message-ID: <15706371e10.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Okay, there's definitely something wrong with 8.1 rc 2. I now have a stack that will not break anywhere, whether using soft breakpoints or inserting the word "breakpoint" into the scripts. It doesn't matter where or which script I put it in. I relaunched LC and it worked once, then stopped. In one instance, the handler does break, but not at the breakpoint line (either type.) Instead it breaks about 10 lines down in an unrelated handler. I chose "clear all breakpoints" from the Debug menu. The breakpoints custom property in the stack clears and is empty. The script still breaks at the incorrect line in spite of the fact that there are no breakpoints anywhere. I set and removed breakpoints manually (both types) and it still breaks at the unrelated line. Which bug report needs this info? Or should I start a new one? Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 7, 2016 4:34:27 AM Ben Rubinstein wrote: > On 07/09/2016 00:35, Bob Sneidar wrote: >> I hesitate to submit a bug report when I cannot reliably reproduce the >> problem. Again, the app this occurs in has database dependencies, logins >> etc which would prevent you from seeing the actual problem because you >> could not get that far. I attempted to make a simple stack to demonstrate >> it, but the problem won't occur then. >> >> That is why Iwas hoping others who have seen this could chime in so maybe >> we could produce some short list of commonality to zero in on a possible cause. > > Hi Bob, > > FWIW I saw this yesterday using 8.1.0rc2 - like you I can't pin down exactly > what was going on but a breakpoint with a condition seemed to go missing. If > it was a matter of adding code above (I don't think I did, but I can't swear I > didn't) wouldn't that just cause the breakpoint to shift rather than disappear? > > I'll try to keep an eye open for it, but consider this a second straw in the > wind indicating that there's something awry somewhere... > > Ben > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Sep 7 16:08:37 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 7 Sep 2016 15:08:37 -0500 Subject: Debugger forgetting soft breakpoints In-Reply-To: <15706371e10.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> <15706371e10.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57b3bac5-f4b4-3c3d-5553-a3dd15d99da8@hyperactivesw.com> On 9/7/16 2:54 PM, J. Landman Gay wrote: > Okay, there's definitely something wrong with 8.1 rc 2. I now have a > stack that will not break anywhere, whether using soft breakpoints or > inserting the word "breakpoint" into the scripts. It doesn't matter > where or which script I put it in. Sorry, false flag. A script error was aborting the script. The break I saw was the error line. In my defense, the error was hard to spot. But I'm embarrassed anyway. Fixing the error restored normal debugging. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Wed Sep 7 16:22:01 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 7 Sep 2016 13:22:01 -0700 Subject: Debugger forgetting soft breakpoints In-Reply-To: <3099D584-6D58-4B8E-94DA-A389BD0F6BCE@iotecdigital.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <3EA37349-AB0E-49B6-A444-C0C9F00F47A1@iotecdigital.com> <5f6ec9d5-ec18-3e17-e9a8-9cf2fe794e8f@cogapp.com> <3099D584-6D58-4B8E-94DA-A389BD0F6BCE@iotecdigital.com> Message-ID: On Wed, Sep 7, 2016 at 10:22 AM, Bob Sneidar wrote: > How about front and back scripts? > Nope. A single stack is used as a library, but there is no change in behavior from when it was the script of the main stack. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Wed Sep 7 16:26:30 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 8 Sep 2016 06:26:30 +1000 Subject: Debugger forgetting soft breakpoints In-Reply-To: <57b3bac5-f4b4-3c3d-5553-a3dd15d99da8@hyperactivesw.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> <15706371e10.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57b3bac5-f4b4-3c3d-5553-a3dd15d99da8@hyperactivesw.com> Message-ID: > On 8 Sep 2016, at 6:08 AM, J. Landman Gay wrote: > > Sorry, false flag. A script error was aborting the script. The break I saw was the error line. In my defense, the error was hard to spot. But I'm embarrassed anyway. > > Fixing the error restored normal debugging. Yay, because nobody did any work on the debugger for 8.1 so it?s good that it didn?t break all by itself ;-) For what it?s worth this thread prompted me to do some work for 8.2 fixing a couple of breakpoint dialog related issues. https://github.com/livecode/livecode-ide/pull/1380 Cheers Monte From bobsneidar at iotecdigital.com Wed Sep 7 16:59:03 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 20:59:03 +0000 Subject: Another scary bug?? In-Reply-To: References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> Message-ID: <8C91A862-4598-4DA5-AF05-17EE62E6ACB1@iotecdigital.com> Thanks Panagiotis. I will submit a bug report to that effect. Unfortunately I need wholeMatches because contacttypes can be IT or SITES among other things and replacing IT in contacttypes will result in SE instead of SITE. I am working around it but this can bite someone in the arse hard if they are not carefule. Bob S > On Sep 7, 2016, at 11:10 , panagiotis merakos wrote: > > It looks like "set the wholeMatches to true" is the culprit. Removing this > line results in the expected behavior. > > On Wed, Sep 7, 2016 at 8:36 PM, Richard Gaskin > wrote: > From ambassador at fourthworld.com Wed Sep 7 17:27:30 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 7 Sep 2016 14:27:30 -0700 Subject: SSL with "accept" command? Message-ID: I know it's a long shot, but I wonder if perhaps any of the goodies in the next network externals have anything that can help with this request: http://quality.livecode.com/show_bug.cgi?id=16871 That's for the equivalent of something like: accept secure connections on port That syntax is apparently valid in as much as it doesn't throw an error, but according to comment #9 there it doesn't currently do anything. If there's nothing currently in the hopper for this, anyone here have a feel for how much effort would be involved in making that happen? FWIW the Dictionary in v8.1 includes a "secure socket" command, apparently introduced in v6.6 but somehow I'd missed it. Might there be a way a socket server could use that to secure a socket connection opened by a client? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Wed Sep 7 17:45:28 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 21:45:28 +0000 Subject: Another scary bug?? In-Reply-To: <8C91A862-4598-4DA5-AF05-17EE62E6ACB1@iotecdigital.com> References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> <8C91A862-4598-4DA5-AF05-17EE62E6ACB1@iotecdigital.com> Message-ID: <09C4B0E6-941E-43A6-AA13-B36DE4668F5C@iotecdigital.com> Here's a nice little twist! This works if the arguements for itemOffset come from fields. it only breaks if you hard code them (or in my case pull the values from a database. I am willing to bet a nice steak dinner this is being caused by uniCode. The engine is probably expecting to search for unicode values and instead is finding UTF8 (or whatever it is). Bob S > On Sep 7, 2016, at 13:59 , Bob Sneidar wrote: > > Thanks Panagiotis. I will submit a bug report to that effect. Unfortunately I need wholeMatches because contacttypes can be IT or SITES among other things and replacing IT in contacttypes will result in SE instead of SITE. I am working around it but this can bite someone in the arse hard if they are not carefule. > > Bob S > > >> On Sep 7, 2016, at 11:10 , panagiotis merakos wrote: >> >> It looks like "set the wholeMatches to true" is the culprit. Removing this >> line results in the expected behavior. >> >> On Wed, Sep 7, 2016 at 8:36 PM, Richard Gaskin >> wrote: >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Sep 7 18:09:47 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 22:09:47 +0000 Subject: Another scary bug?? In-Reply-To: <09C4B0E6-941E-43A6-AA13-B36DE4668F5C@iotecdigital.com> References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> <8C91A862-4598-4DA5-AF05-17EE62E6ACB1@iotecdigital.com> <09C4B0E6-941E-43A6-AA13-B36DE4668F5C@iotecdigital.com> Message-ID: <535E679F-C6E6-46FE-B6F8-72ADC9D7D7AB@iotecdigital.com> And now, even scarier, I copied the values out of the field I was testign with, and pasted the value into the code which uses hard coded values and THAT WORKS NOW when a second ago before I pasted the value, it did NOT work!!! This is definitely an issue where the formatting of the text is coming into play. I submitted a bug report 18343. I attached a sample stack. I'd be interested if this is happening under 8.1 RC2. They may have fixed this and I don't know it yet. I'd also be interested if this is happening with Windows 8.0.1, but I have a real job here and have spent a LOT of time chasing this one. Bob S > On Sep 7, 2016, at 14:45 , Bob Sneidar wrote: > > Here's a nice little twist! This works if the arguements for itemOffset come from fields. it only breaks if you hard code them (or in my case pull the values from a database. I am willing to bet a nice steak dinner this is being caused by uniCode. The engine is probably expecting to search for unicode values and instead is finding UTF8 (or whatever it is). > > Bob S > > >> On Sep 7, 2016, at 13:59 , Bob Sneidar wrote: >> >> Thanks Panagiotis. I will submit a bug report to that effect. Unfortunately I need wholeMatches because contacttypes can be IT or SITES among other things and replacing IT in contacttypes will result in SE instead of SITE. I am working around it but this can bite someone in the arse hard if they are not carefule. >> >> Bob S >> >> >>> On Sep 7, 2016, at 11:10 , panagiotis merakos wrote: >>> >>> It looks like "set the wholeMatches to true" is the culprit. Removing this >>> line results in the expected behavior. >>> >>> On Wed, Sep 7, 2016 at 8:36 PM, Richard Gaskin >>> wrote: >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Sep 7 18:16:09 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 8 Sep 2016 08:16:09 +1000 Subject: Another scary bug?? In-Reply-To: <535E679F-C6E6-46FE-B6F8-72ADC9D7D7AB@iotecdigital.com> References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> <8C91A862-4598-4DA5-AF05-17EE62E6ACB1@iotecdigital.com> <09C4B0E6-941E-43A6-AA13-B36DE4668F5C@iotecdigital.com> <535E679F-C6E6-46FE-B6F8-72ADC9D7D7AB@iotecdigital.com> Message-ID: Thanks Bob Lots of parts of the engine that deal with strings have two code paths. One for native encoding and one for unicode. This is an attempt to maintain as close to pre LC 7 performance as possible. I suspect based on your description that the bug only impacts the native encoding side of things. I can?t recall anyone working on anything like this for 8.1 but I could be wrong there. You never know this could be bug of the week on `This week in LiveCode` ;-) Cheers Monte > On 8 Sep 2016, at 8:09 AM, Bob Sneidar wrote: > > And now, even scarier, I copied the values out of the field I was testign with, and pasted the value into the code which uses hard coded values and THAT WORKS NOW when a second ago before I pasted the value, it did NOT work!!! > > This is definitely an issue where the formatting of the text is coming into play. > > I submitted a bug report 18343. I attached a sample stack. I'd be interested if this is happening under 8.1 RC2. They may have fixed this and I don't know it yet. I'd also be interested if this is happening with Windows 8.0.1, but I have a real job here and have spent a LOT of time chasing this one. > > Bob S > > >> On Sep 7, 2016, at 14:45 , Bob Sneidar wrote: >> >> Here's a nice little twist! This works if the arguements for itemOffset come from fields. it only breaks if you hard code them (or in my case pull the values from a database. I am willing to bet a nice steak dinner this is being caused by uniCode. The engine is probably expecting to search for unicode values and instead is finding UTF8 (or whatever it is). >> >> Bob S >> >> >>> On Sep 7, 2016, at 13:59 , Bob Sneidar wrote: >>> >>> Thanks Panagiotis. I will submit a bug report to that effect. Unfortunately I need wholeMatches because contacttypes can be IT or SITES among other things and replacing IT in contacttypes will result in SE instead of SITE. I am working around it but this can bite someone in the arse hard if they are not carefule. >>> >>> Bob S >>> >>> >>>> On Sep 7, 2016, at 11:10 , panagiotis merakos wrote: >>>> >>>> It looks like "set the wholeMatches to true" is the culprit. Removing this >>>> line results in the expected behavior. >>>> >>>> On Wed, Sep 7, 2016 at 8:36 PM, Richard Gaskin >>>> wrote: >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Sep 7 18:30:40 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Sep 2016 22:30:40 +0000 Subject: SSL with "accept" command? In-Reply-To: References: Message-ID: <012899C8-BAA8-4FCA-8670-9DC76D357C3B@iotecdigital.com> I have looked into this some and it gets really dicey. First of all, SSL (if you mean openSSL) has licensing requirements. This is why the compiled versions of mySQL for windows do not use openSSL, they use yaml ssl which I think is a fork of openSSL. They could not distribute compiled versions of the openSSL library for some reason I do not understand. It violates the license I guess, or maybe money had to change hands or something. Then there are versions of SSL and TLS. OpenSSL 2.0 was apparently compromised a couple years back (if you recall the heartbleed bug) and TLS got caught up in it because TLS 1.0 was written to fall back on SSL if TLS failed. Now we have SSL 1.0, 2.0 and 3.0, as well as TLS 1.0, 1.1 and 1.2. Additionally, there was an update to TLS 1.2 to no longer fall back on SSL. So the upshot is, SSL is a mess right now. I would love to see an updated SSL library that actually works without too much trouble, but certificate handling and the various ciphers and what have you all conspire to make it fairly difficult to support. There is a neat telnet utility called SMTPConsole where a company called Socket Labs compiled a console based telnet client with SSL libraries, so you can test SMTP connections end to end. You can find this easily by googling for it. I posted a support request at their web site, so let's see what they come back with. Unfortunately I am not a C programmer by any means so I'd get lost after the 3rd sentence with any of them. Bob S On Sep 7, 2016, at 14:27 , Richard Gaskin > wrote: I know it's a long shot, but I wonder if perhaps any of the goodies in the next network externals have anything that can help with this request: http://quality.livecode.com/show_bug.cgi?id=16871 That's for the equivalent of something like: accept secure connections on port That syntax is apparently valid in as much as it doesn't throw an error, but according to comment #9 there it doesn't currently do anything. If there's nothing currently in the hopper for this, anyone here have a feel for how much effort would be involved in making that happen? FWIW the Dictionary in v8.1 includes a "secure socket" command, apparently introduced in v6.6 but somehow I'd missed it. Might there be a way a socket server could use that to secure a socket connection opened by a client? -- Richard Gaskin From jacque at hyperactivesw.com Wed Sep 7 18:35:26 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 7 Sep 2016 17:35:26 -0500 Subject: Device rotation and browser widget Message-ID: <8a055adc-8648-d159-a0b6-a3a8c433d808@hyperactivesw.com> For a mobile app, I am trying to get a card containing a browser widget to rotate and resize/reposition when the device is rotated. It seems I can't set the rect of the widget, it doesn't respond correctly or errors, though the orientation of its content does change. I've tried too many things to list them all but no success. OrientationChanged does trigger but resizeStack usually doesn't for some reason. Basically what I'm seeing is that LC handles the rotation but doesn't reposition or resize the widget. Has anyone done this? I'm testing on Android for now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Wed Sep 7 19:32:24 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 8 Sep 2016 09:32:24 +1000 Subject: Device rotation and browser widget In-Reply-To: <8a055adc-8648-d159-a0b6-a3a8c433d808@hyperactivesw.com> References: <8a055adc-8648-d159-a0b6-a3a8c433d808@hyperactivesw.com> Message-ID: <59E95D52-3D2A-41A4-9537-A78BEA326E1B@appisle.net> Hmm... Have you tried wrapping the resizestack handler in try and putting any error or otherwise logging the message Sent from my iPhone > On 8 Sep 2016, at 8:35 AM, J. Landman Gay wrote: > > For a mobile app, I am trying to get a card containing a browser widget to rotate and resize/reposition when the device is rotated. It seems I can't set the rect of the widget, it doesn't respond correctly or errors, though the orientation of its content does change. I've tried too many things to list them all but no success. OrientationChanged does trigger but resizeStack usually doesn't for some reason. > > Basically what I'm seeing is that LC handles the rotation but doesn't reposition or resize the widget. > > Has anyone done this? I'm testing on Android for now. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Sep 7 20:38:56 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 8 Sep 2016 00:38:56 +0000 Subject: Browser Widget Is Not Responsive Message-ID: <43CB2643-0165-437E-9917-891749071693@hindu.org> 1) Has anyone solved the problem of the browser widget not being responsive on mobile? Livecode *does* detect user rotation, and we *can* trap for resize stack and we *can* resize the browser from, e.g. portrait rect of 414w X 736h and change the browser dynamically to 736w X 414h. But the web content rendering is broken. The rect to the web page will have a 0,0 top left point way off in space somewhere or down in the lower corner? one never know what one will get. In a normal browser, changing the window size auto triggers any CSS or JS rules that would re-position content. 2) Does the old revBrowser render content properly if the rect of the image that is used to display the content it resized? BR From brahma at hindu.org Wed Sep 7 21:53:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 8 Sep 2016 01:53:38 +0000 Subject: List Field - Outline - Sub-Levels Message-ID: Has anyone wired up a script for a list field that automatically will create outline indents with the next indent style I'm document more of my own procedures right in side LiveCode fields, but would like some better outlining options. e.g. I can take a list of instructions for some content operations like this and run a script on mouseUp repeat with x = 1 to the number of lines of fld "documentation" set the liststyle of line x of fld "documentation" to "decimal" end repeat end mouseUp and when you start adding lines it behaves nicely? but if you want to indent and switch to 1) Top Level Entries i) second level entries a) third level entries it's not automatic? of course somewill say this is a perfect case for a widget? but I'm wondering if anyone has already write a field script that traps for the tab key and switch the list style on the fly? or something like that. Below is an overview of a series of operations, some of these have more detail for work at each stage that I need to document. Of course I could to this in some other program, Google Docs, or OmniOutliner, but having it in LC itself is useful because these operation usually refer to buttons on the UI that so the work. 1. Rename all folders to meeting your criteria. Be very careful as you will live with these for a longtime. 2. Create folders for all images and move the images into those folders in preparation for upload. 3. Do one set/category at time 4. get the list of the folder names 5. post as text file on server 6. upload folders/files FTP 7. run script to make records 8. dump the record ID's 9. save as text to disk 10. get format rect and 11. upload to format table 12. get category ID's 13. insert records into category_item table with appropriate categories for that upload Repeat for each set of images in a given category ------- I'm thinking someone must have already written this? seems like a common requirement. From brahma at hindu.org Wed Sep 7 22:02:02 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 8 Sep 2016 02:02:02 +0000 Subject: List Field - Outline - Sub-Levels In-Reply-To: References: Message-ID: <50233DCC-E6C9-4F83-8540-B49A93258889@hindu.org> I'm trying some things myself. here is an attempt to indent a line and have it be in a different style? on mouseUp put tab before the selectedLine set the liststyle the selectedLine to "lower latin" end mouseUp if you do this to a line mid way through a decimal list. the tab is insert after the list designator and LC resets the list counter to 0 and subsequent lines start again at 1. (this even happens on Google docs sometimes, so I guess it is not an easy one to solve) 1. Rename all folders to meeting your criteria. Be very careful as you will live with these for a longtime. 2. Create folders for all images and move the images into those folders in preparation for upload. 3. Do one set/category at at time a. 1. get the list of the folder names 2. post as text fileon server 3. upload folders/files 4. run script to make records 5. dump the record ID's 6. save as text to disk 7. get format rect and 8. upload to format table 9. get category ID's 10. insert records into category_item table 11. Has anyone wired up a script for a list field that automatically will create outline indents with the next indent style From brahma at hindu.org Wed Sep 7 22:11:41 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 8 Sep 2016 02:11:41 +0000 Subject: Browser Widget Is Not Responsive In-Reply-To: <43CB2643-0165-437E-9917-891749071693@hindu.org> References: <43CB2643-0165-437E-9917-891749071693@hindu.org> Message-ID: Ignore this? keep it all on Jacque's thread (she's helping us with our app) Outlook seems to have some delay in passing me msg form this list at times. I did not she had posted already about the responsive browser issue. BR On 9/7/16, 2:38 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: 1) Has anyone solved the problem of the browser widget not being responsive on mobile? Livecode *does* detect user rotation, and we *can* trap for resize stack and we *can* resize the browser from, e.g. portrait rect of 414w X 736h and change the browser dynamically to 736w X 414h. But the web content rendering is broken. The rect to the web page will have a 0,0 top left point way off in space somewhere or down in the lower corner? one never know what one will get. In a normal browser, changing the window size auto triggers any CSS or JS rules that would re-position content. 2) Does the old revBrowser render content properly if the rect of the image that is used to display the content it resized? BR From ahsoftware at sonic.net Wed Sep 7 23:03:23 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Wed, 7 Sep 2016 20:03:23 -0700 Subject: SSL with "accept" command? In-Reply-To: <012899C8-BAA8-4FCA-8670-9DC76D357C3B@iotecdigital.com> References: <012899C8-BAA8-4FCA-8670-9DC76D357C3B@iotecdigital.com> Message-ID: <3a0a8e7e-690a-5214-ac96-ac1a6accae6e@sonic.net> On 09/07/2016 03:30 PM, Bob Sneidar wrote: > I have looked into this some and it gets really dicey. First of all, SSL (if you mean openSSL) has licensing requirements. This is why the compiled versions of mySQL for windows do not use openSSL, they use yaml ssl which I think is a fork of openSSL. They could not distribute compiled versions of the openSSL library for some reason I do not understand. It violates the license I guess, or maybe money had to change hands or something. OpenSSL is dual-licensed. LiveCode uses OpenSSL and there is no conflict there. MySQL is messy because Oracle. > > Then there are versions of SSL and TLS. If you mean the library called SSL, it's been deprecated for quite some time. OpenSSL 2.0 was apparently compromised a couple years back (if you recall the heartbleed bug) and TLS got caught up in it because TLS 1.0 was written to fall back on SSL if TLS failed. Now we have SSL 1.0, 2.0 and 3.0, as well as TLS 1.0, 1.1 and 1.2. Additionally, there was an update to TLS 1.2 to no longer fall back on SSL. Heh. https://xkcd.com/1354/ Again, SSL is outdated. Even Microsoft issued a notice about it. Heartbleed affected OpenSSL version 1.0.1 only. The fix was released in 1.0.1g, although Debian patched its own version ahead of the official release with a separate version number (1.0.1e-2), which provided false positives on heartbleed scanners. HTTPS uses TLS, which is sometimes erroneously called SSL. I believe the fallback removal was just to disable fallback to SSL 2.0 (which should never have seen the light of day in the first place), but I'm sure someone will correct me if I'm wrong. > So the upshot is, SSL is a mess right now. Again, if you're referring to OpenSSL, it's always been a mess. There are half a dozen different technologies inside, and their cooperation is so fragile that tweaking things gets ugly quickly. And it's so big that nobody wants to take on the task of rewriting it. I would love to see an updated SSL library that actually works... No. The first rule of creating your own encryption is don't. > There is a neat telnet utility called SMTPConsole I read as far as "Requires Windows and .Net Framework 2.0 or greater." -- Mark Wieder ahsoftware at gmail.com From peter.brett at livecode.com Thu Sep 8 03:57:55 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 8 Sep 2016 08:57:55 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Hi all, Since Xcode 8 GM is now available for download by members of the Apple developer program, I thought it might be helpful to give you an update on our plans for enabling LiveCode app deployment using Xcode 8. - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release - If you need to deploy to iOS using LiveCode 8.1.0 you will need to keep a copy of Xcode 7.3.1 around I currently expect that we'll release 8.1.1-rc-1 sometime between 15th-20th September. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From ilola.antti at gmail.com Thu Sep 8 05:05:57 2016 From: ilola.antti at gmail.com (Antti Ilola) Date: Thu, 8 Sep 2016 12:05:57 +0300 Subject: System date In-Reply-To: References: <0FB9E0C8-C704-40B6-84A0-25383632D21B@unimelb.edu.au> <9a8ebd39-b18d-725c-ad26-ec68366f00c4@gmail.com> Message-ID: Checked. 2016-09-07 15:47 GMT+03:00 Robert Brenstein : > The problem might be that changing the language does not always change the > date formats. These are separate settings under OSX. > > From benr_mc at cogapp.com Thu Sep 8 05:19:26 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 8 Sep 2016 10:19:26 +0100 Subject: Another scary bug?? In-Reply-To: <535E679F-C6E6-46FE-B6F8-72ADC9D7D7AB@iotecdigital.com> References: <15705b49c54-2701-16607@webprd-a66.mail.aol.com> <8C91A862-4598-4DA5-AF05-17EE62E6ACB1@iotecdigital.com> <09C4B0E6-941E-43A6-AA13-B36DE4668F5C@iotecdigital.com> <535E679F-C6E6-46FE-B6F8-72ADC9D7D7AB@iotecdigital.com> Message-ID: It is still happening in 8.1-rc2. On 07/09/2016 23:09, Bob Sneidar wrote: > And now, even scarier, I copied the values out of the field I was testign with, and pasted the value into the code which uses hard coded values and THAT WORKS NOW when a second ago before I pasted the value, it did NOT work!!! > > This is definitely an issue where the formatting of the text is coming into play. > > I submitted a bug report 18343. I attached a sample stack. I'd be interested if this is happening under 8.1 RC2. They may have fixed this and I don't know it yet. I'd also be interested if this is happening with Windows 8.0.1, but I have a real job here and have spent a LOT of time chasing this one. > > Bob S > > >> On Sep 7, 2016, at 14:45 , Bob Sneidar wrote: >> >> Here's a nice little twist! This works if the arguements for itemOffset come from fields. it only breaks if you hard code them (or in my case pull the values from a database. I am willing to bet a nice steak dinner this is being caused by uniCode. The engine is probably expecting to search for unicode values and instead is finding UTF8 (or whatever it is). >> >> Bob S >> >> >>> On Sep 7, 2016, at 13:59 , Bob Sneidar wrote: >>> >>> Thanks Panagiotis. I will submit a bug report to that effect. Unfortunately I need wholeMatches because contacttypes can be IT or SITES among other things and replacing IT in contacttypes will result in SE instead of SITE. I am working around it but this can bite someone in the arse hard if they are not carefule. >>> >>> Bob S >>> >>> >>>> On Sep 7, 2016, at 11:10 , panagiotis merakos wrote: >>>> >>>> It looks like "set the wholeMatches to true" is the culprit. Removing this >>>> line results in the expected behavior. >>>> >>>> On Wed, Sep 7, 2016 at 8:36 PM, Richard Gaskin >>>> wrote: >>>> >>> From benr_mc at cogapp.com Thu Sep 8 05:23:00 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 8 Sep 2016 10:23:00 +0100 Subject: Redpark serial cables Message-ID: Has anyone used LiveCode on iOS with any of the Redpark serial cables, e.g. http://redpark.com/ttl-serial-cable-c2-ttl/ ? TIA, Ben From rodmccall491 at gmail.com Thu Sep 8 05:32:42 2016 From: rodmccall491 at gmail.com (Rod McCall) Date: Thu, 8 Sep 2016 11:32:42 +0200 Subject: Threading (plus random question) Message-ID: Dear All, I asked a similar question a few years back, but is threading now supported in LiveCode? Or indeed are there any plans to support it? Out of curiosity does anyone else have problems with the script editor closing when the Enter key on the numeric keypad is pressed? (Keyboard: Swiss German). I am using LC 8.02. Kind regards, Rod Rod McCall Researcher on HCI, Augmented Reality, Games and In-car Systems www.rodmc.com twitter: rodlux From lan.kc.macmail at gmail.com Thu Sep 8 05:37:48 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 8 Sep 2016 17:37:48 +0800 Subject: The Joy of Removing Features - Part 3: Presenting the duplicate files / photos info to the user. In-Reply-To: References: Message-ID: Thanks for sharing. You have at least one avid fan. From dvglasgow at gmail.com Thu Sep 8 07:31:04 2016 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 8 Sep 2016 12:31:04 +0100 Subject: Very OT - Bad pun In-Reply-To: <527790C8-7298-4F26-B55A-140E44923D81@iotecdigital.com> References: <677062E1-58F7-48D7-A52E-A37CCF6E7210@jerrydaniels.com> <0E429C81-BBBC-4D3D-8649-7581230F2BDF@jerrydaniels.com> <99980660-7B77-4A4D-906B-ED790D9C2519@appisle.net> <1465669282569-4705678.post@n4.nabble.com> <69AA4C74-4E9C-40DD-A10F-5E69C73619AD@hindu.org> <4E3B0BCA-2908-41D7-8FA5-DDF0DA95E937@iotecdigital.com> <17D5B7DA-CC3B-4549-9B6D-1DC5CDA2CE4E@gmail.com> <527790C8-7298-4F26-B55A-140E44923D81@iotecdigital.com> Message-ID: <63842FEE-B26E-43EB-BA7D-DC91856386BE@gmail.com> Are you thinking of A1? That is a famous road which runs from London to Edinburgh via Leicestershire, and is also a steak sauce ;-) > On 27 Aug 2016, at 12:25 am, Bob Sneidar wrote: > > Isn't that a steak sauce? > > Bob S > > > On Aug 25, 2016, at 08:28 , David V Glasgow > wrote: > > I use to live in Leicestershire ? > > > On 25 Aug 2016, at 4:25 pm, Bob Sneidar > wrote: > > Not even the French could pronounce a word so different from how it is spelled. (I'm half French so I can make fun of us). > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 8 08:47:38 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 08:47:38 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: It still is not directly supported, you still do it the "old" way - one app launches and messages multiple instances of the "process" apps. I only occasionally have an issue where KB enter closes the SE, but usually it is when all tabs are green. On Thu, Sep 8, 2016 at 5:32 AM, Rod McCall wrote: > Dear All, > > I asked a similar question a few years back, but is threading now supported > in LiveCode? Or indeed are there any plans to support it? > > Out of curiosity does anyone else have problems with the script editor > closing when the Enter key on the numeric keypad is pressed? (Keyboard: > Swiss German). > > I am using LC 8.02. > > Kind regards, > > Rod > > Rod McCall > Researcher on HCI, Augmented Reality, Games and In-car Systems > www.rodmc.com > twitter: rodlux > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Thu Sep 8 08:58:16 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 8 Sep 2016 06:58:16 -0600 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: IIRC thats the editor tabs closing on enter is a feature. Press once on a dirty tab and it compiles, press it on a green tab and it closes. I think the purpose is to speed up quicky edits. Open the editor, make a change, tap enter twice and the change is applied and gone. Unfortunately, a clumsy person like me sometimes holds the enter key a hair too long, or accidentally taps enter while the script editor is focused... poof, tabs closing all over the place. :) especially with the first option, because keyboard repeat is FAST. On Thu, Sep 8, 2016 at 6:47 AM, Mike Kerner wrote: > It still is not directly supported, you still do it the "old" way - one app > launches and messages multiple instances of the "process" apps. > I only occasionally have an issue where KB enter closes the SE, but usually > it is when all tabs are green. > > On Thu, Sep 8, 2016 at 5:32 AM, Rod McCall wrote: > > > Dear All, > > > > I asked a similar question a few years back, but is threading now > supported > > in LiveCode? Or indeed are there any plans to support it? > > > > Out of curiosity does anyone else have problems with the script editor > > closing when the Enter key on the numeric keypad is pressed? (Keyboard: > > Swiss German). > > > > I am using LC 8.02. > > > > Kind regards, > > > > Rod > > > > Rod McCall > > Researcher on HCI, Augmented Reality, Games and In-car Systems > > www.rodmc.com > > twitter: rodlux > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Thu Sep 8 09:18:41 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 8 Sep 2016 23:18:41 +1000 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> I wonder how many people would scream if we removed the enter closes an applied tab feature? Keep enter to apply though. Sent from my iPhone > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: > > Open the editor, make a change, > tap enter twice and the change is applied and gone From MikeKerner at roadrunner.com Thu Sep 8 09:19:33 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 09:19:33 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: Yes, it's an old, old, old feature from HC, if I remember, but sometimes I wind up with the focus going from the IDE to the SE for some reason (and sometimes the other way, but that seems to have been mostly fixed in 8.1, I believe), so I think I'm finishing a property edit in the IDE, but instead the SE disappears when I hit Enter. On Thu, Sep 8, 2016 at 8:58 AM, Mike Bonner wrote: > IIRC thats the editor tabs closing on enter is a feature. Press once on a > dirty tab and it compiles, press it on a green tab and it closes. I think > the purpose is to speed up quicky edits. Open the editor, make a change, > tap enter twice and the change is applied and gone. > > Unfortunately, a clumsy person like me sometimes holds the enter key a hair > too long, or accidentally taps enter while the script editor is focused... > poof, tabs closing all over the place. :) especially with the first > option, because keyboard repeat is FAST. > > On Thu, Sep 8, 2016 at 6:47 AM, Mike Kerner > wrote: > > > It still is not directly supported, you still do it the "old" way - one > app > > launches and messages multiple instances of the "process" apps. > > I only occasionally have an issue where KB enter closes the SE, but > usually > > it is when all tabs are green. > > > > On Thu, Sep 8, 2016 at 5:32 AM, Rod McCall > wrote: > > > > > Dear All, > > > > > > I asked a similar question a few years back, but is threading now > > supported > > > in LiveCode? Or indeed are there any plans to support it? > > > > > > Out of curiosity does anyone else have problems with the script editor > > > closing when the Enter key on the numeric keypad is pressed? (Keyboard: > > > Swiss German). > > > > > > I am using LC 8.02. > > > > > > Kind regards, > > > > > > Rod > > > > > > Rod McCall > > > Researcher on HCI, Augmented Reality, Games and In-car Systems > > > www.rodmc.com > > > twitter: rodlux > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Sep 8 09:20:15 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 09:20:15 -0400 Subject: Threading (plus random question) In-Reply-To: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: Monte, why not make it a preference? I personally like it, except when I get the focus flip. On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding wrote: > I wonder how many people would scream if we removed the enter closes an > applied tab feature? Keep enter to apply though. > > Sent from my iPhone > > > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: > > > > Open the editor, make a change, > > tap enter twice and the change is applied and gone > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rodmccall491 at gmail.com Thu Sep 8 09:23:20 2016 From: rodmccall491 at gmail.com (Rod McCall) Date: Thu, 8 Sep 2016 15:23:20 +0200 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: >From my perspective the Enter key issue is driving me nuts... Rod McCall Researcher: HCI, Augmented Reality, Games and In-car Systems www.rodmc.com twitter: rodlux On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner wrote: > Monte, why not make it a preference? I personally like it, except when I > get the focus flip. > > On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding wrote: > > > I wonder how many people would scream if we removed the enter closes an > > applied tab feature? Keep enter to apply though. > > > > Sent from my iPhone > > > > > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: > > > > > > Open the editor, make a change, > > > tap enter twice and the change is applied and gone > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Thu Sep 8 09:34:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 8 Sep 2016 13:34:38 +0000 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> , Message-ID: "From my perspective the Enter key issue is driving me nuts... " Please! Don't make us have go to the mouse to close an SE tab...i love the feature (hit enter twice) Not screaming. Just sayin' got a bad enough wrist as it is .... In fact more robust, user configurable keyboard short cuts for the SE would great. What key stroke will take you back and forth between open SE tabs? ( from my mobile ) On Thu, Sep 8, 2016 at 3:23 AM -1000, "Rod McCall" > wrote: >From my perspective the Enter key issue is driving me nuts... Rod McCall Researcher: HCI, Augmented Reality, Games and In-car Systems www.rodmc.com twitter: rodlux On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner wrote: > Monte, why not make it a preference? I personally like it, except when I > get the focus flip. > > On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding wrote: > > > I wonder how many people would scream if we removed the enter closes an > > applied tab feature? Keep enter to apply though. > > > > Sent from my iPhone > > > > > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: > > > > > > Open the editor, make a change, > > > tap enter twice and the change is applied and gone > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 8 09:52:29 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 09:52:29 -0400 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: I have a number of preferences that I'd like to add, anyway, so this is a great time to talk about them, and maybe get a little community project going. Here are some others: ? Relative paths: I use multiple machines, and even though I store everything in Google Drive, the usernames aren't the same. Thus, my extensions location, "Copy Files" locations, build locations would all be starting with ~ instead of the absolute path to the user ? Shortcut to switch between browse and pointer ? Width of version number in standalone is too narrow On Thu, Sep 8, 2016 at 9:34 AM, Sannyasin Brahmanathaswami wrote: > "From my perspective the Enter key issue is driving me nuts... " > > Please! Don't make us have go to the mouse to close an SE tab...i love the > feature (hit enter twice) > > Not screaming. Just sayin' got a bad enough wrist as it is .... > > In fact more robust, user configurable keyboard short cuts for the SE > would great. > > What key stroke will take you back and forth between open SE tabs? > > ( from my mobile ) > > > > > On Thu, Sep 8, 2016 at 3:23 AM -1000, "Rod McCall" > wrote: > > From my perspective the Enter key issue is driving me nuts... > > Rod McCall > Researcher: HCI, Augmented Reality, Games and In-car Systems > www.rodmc.com > twitter: rodlux > > > On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner > wrote: > > > Monte, why not make it a preference? I personally like it, except when I > > get the focus flip. > > > > On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding > wrote: > > > > > I wonder how many people would scream if we removed the enter closes an > > > applied tab feature? Keep enter to apply though. > > > > > > Sent from my iPhone > > > > > > > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: > > > > > > > > Open the editor, make a change, > > > > tap enter twice and the change is applied and gone > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From benr_mc at cogapp.com Thu Sep 8 09:47:40 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 8 Sep 2016 14:47:40 +0100 Subject: Script Editor focus (was Re: Threading (plus random question)_ In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> FWIW I use enter to compile, and then close, the Script Editor all the time - hardly ever use the mouse - and have never to the best of my recollection had problems with too many tabs closing. Maybe my keyboard repeat is slower than other peoples? I'm not sure how hard I'd scream if enter to close was removed. I'd scream pretty hard if enter to compile was removed. To hijack the thread a little (more) the change in LC8 that is irritating me is that if the script editor is invoked for a script that's already open, the appropriate tab is activated, but the window isn't brought to the front - so in some cases it appears that the command has been ignored. This is new in LC8. Ben On 08/09/2016 14:34, Sannyasin Brahmanathaswami wrote: > "From my perspective the Enter key issue is driving me nuts... " > > Please! Don't make us have go to the mouse to close an SE tab...i love the feature (hit enter twice) > > Not screaming. Just sayin' got a bad enough wrist as it is .... > > In fact more robust, user configurable keyboard short cuts for the SE would great. > > What key stroke will take you back and forth between open SE tabs? > > ( from my mobile ) > > > > > On Thu, Sep 8, 2016 at 3:23 AM -1000, "Rod McCall" > wrote: > >>From my perspective the Enter key issue is driving me nuts... > > Rod McCall > Researcher: HCI, Augmented Reality, Games and In-car Systems > www.rodmc.com > twitter: rodlux > > > On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner > wrote: > >> Monte, why not make it a preference? I personally like it, except when I >> get the focus flip. >> >> On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding wrote: >> >>> I wonder how many people would scream if we removed the enter closes an >>> applied tab feature? Keep enter to apply though. >>> >>> Sent from my iPhone >>> >>>> On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: >>>> >>>> Open the editor, make a change, >>>> tap enter twice and the change is applied and gone >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> From bonnmike at gmail.com Thu Sep 8 10:02:42 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 8 Sep 2016 08:02:42 -0600 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: Despite my own clumsiness issues, I like it the way it is. (if everything that was affected by my fluctuating dexterity was "fixed" all that would be left is one really big hard to press button) On Thu, Sep 8, 2016 at 7:52 AM, Mike Kerner wrote: > I have a number of preferences that I'd like to add, anyway, so this is a > great time to talk about them, and maybe get a little community project > going. > Here are some others: > ? Relative paths: I use multiple machines, and even though I store > everything in Google Drive, the usernames aren't the same. Thus, my > extensions location, "Copy Files" locations, build locations would all be > starting with ~ instead of the absolute path to the user > ? Shortcut to switch between browse and pointer > ? Width of version number in standalone is too narrow > > > On Thu, Sep 8, 2016 at 9:34 AM, Sannyasin Brahmanathaswami < > brahma at hindu.org > > wrote: > > > "From my perspective the Enter key issue is driving me nuts... " > > > > Please! Don't make us have go to the mouse to close an SE tab...i love > the > > feature (hit enter twice) > > > > Not screaming. Just sayin' got a bad enough wrist as it is .... > > > > In fact more robust, user configurable keyboard short cuts for the SE > > would great. > > > > What key stroke will take you back and forth between open SE tabs? > > > > ( from my mobile ) > > > > > > > > > > On Thu, Sep 8, 2016 at 3:23 AM -1000, "Rod McCall" < > rodmccall491 at gmail.com > > > wrote: > > > > From my perspective the Enter key issue is driving me nuts... > > > > Rod McCall > > Researcher: HCI, Augmented Reality, Games and In-car Systems > > www.rodmc.com > > twitter: rodlux > > > > > > On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner > > wrote: > > > > > Monte, why not make it a preference? I personally like it, except > when I > > > get the focus flip. > > > > > > On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding > > wrote: > > > > > > > I wonder how many people would scream if we removed the enter closes > an > > > > applied tab feature? Keep enter to apply though. > > > > > > > > Sent from my iPhone > > > > > > > > > On 8 Sep 2016, at 10:58 PM, Mike Bonner > wrote: > > > > > > > > > > Open the editor, make a change, > > > > > tap enter twice and the change is applied and gone > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From nabble at mad.pink Thu Sep 8 10:35:34 2016 From: nabble at mad.pink (pink) Date: Thu, 8 Sep 2016 07:35:34 -0700 (PDT) Subject: urlResponse empty in 8.1.0RC1 Message-ID: <1473345334720-4708176.post@n4.nabble.com> I am using CouchDB in 8.1 and here is my problem: these are the two crucial commands for putting a document into CouchDB put tJson into URL(tURL) put the urlResponse into tResult the urlResponse should contain a JSON with the result of the REST call, for example it could say: {"error":"conflict","reason":"Document update conflict."} regardless if it is an error, or a successful call, urlResponse is coming up empty if it isn't obvious, for my program, I need to know if there is an error is there a way to get the equivalent of what I would have gotten with urlResponse? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/urlResponse-empty-in-8-1-0RC1-tp4708176.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Thu Sep 8 10:40:23 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 10:40:23 -0400 Subject: Script Editor focus (was Re: Threading (plus random question)_ In-Reply-To: <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> Message-ID: This may be related to fixing the other focus issue that was causing me to toss lappies about, namely when the SE LOST the focus, and a delete/backspace caused carefully crafted objects to magically die (while their SE tab remained open). I'm with you, I like the enter shortcut, but I'm also all for adding a preference to let the developer decide. On Thu, Sep 8, 2016 at 9:47 AM, Ben Rubinstein wrote: > FWIW I use enter to compile, and then close, the Script Editor all the > time - hardly ever use the mouse - and have never to the best of my > recollection had problems with too many tabs closing. Maybe my keyboard > repeat is slower than other peoples? > > I'm not sure how hard I'd scream if enter to close was removed. I'd scream > pretty hard if enter to compile was removed. > > To hijack the thread a little (more) the change in LC8 that is irritating > me is that if the script editor is invoked for a script that's already > open, the appropriate tab is activated, but the window isn't brought to the > front - so in some cases it appears that the command has been ignored. This > is new in LC8. > > Ben > > On 08/09/2016 14:34, Sannyasin Brahmanathaswami wrote: > >> "From my perspective the Enter key issue is driving me nuts... " >> >> Please! Don't make us have go to the mouse to close an SE tab...i love >> the feature (hit enter twice) >> >> Not screaming. Just sayin' got a bad enough wrist as it is .... >> >> In fact more robust, user configurable keyboard short cuts for the SE >> would great. >> >> What key stroke will take you back and forth between open SE tabs? >> >> ( from my mobile ) >> >> >> >> >> On Thu, Sep 8, 2016 at 3:23 AM -1000, "Rod McCall" < >> rodmccall491 at gmail.com> wrote: >> >> From my perspective the Enter key issue is driving me nuts... >>> >> >> Rod McCall >> Researcher: HCI, Augmented Reality, Games and In-car Systems >> www.rodmc.com >> twitter: rodlux >> >> >> On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner >> wrote: >> >> Monte, why not make it a preference? I personally like it, except when I >>> get the focus flip. >>> >>> On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding >>> wrote: >>> >>> I wonder how many people would scream if we removed the enter closes an >>>> applied tab feature? Keep enter to apply though. >>>> >>>> Sent from my iPhone >>>> >>>> On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: >>>>> >>>>> Open the editor, make a change, >>>>> tap enter twice and the change is applied and gone >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Sep 8 10:52:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2016 09:52:18 -0500 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: <1570a48fcd0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I use it all the time, more than any other method. What's the "focus flip"? What other issues are there? Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 8, 2016 8:25:33 AM Rod McCall wrote: > From my perspective the Enter key issue is driving me nuts... > > Rod McCall > Researcher: HCI, Augmented Reality, Games and In-car Systems > www.rodmc.com > twitter: rodlux > > > On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner > wrote: > >> Monte, why not make it a preference? I personally like it, except when I >> get the focus flip. >> >> On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding wrote: >> >> > I wonder how many people would scream if we removed the enter closes an >> > applied tab feature? Keep enter to apply though. >> > >> > Sent from my iPhone >> > >> > > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: >> > > >> > > Open the editor, make a change, >> > > tap enter twice and the change is applied and gone >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Thu Sep 8 10:53:16 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Thu, 8 Sep 2016 07:53:16 -0700 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> On 09/08/2016 06:52 AM, Mike Kerner wrote: > ? Shortcut to switch between browse and pointer control-tab? -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Thu Sep 8 11:06:32 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 8 Sep 2016 11:06:32 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Message-ID: What is the timeline for LiveCode support in Android 7.0? https://www.android.com/versions/nougat-7-0/ ~Roger From jacque at hyperactivesw.com Thu Sep 8 11:14:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2016 10:14:24 -0500 Subject: Script Editor focus (was Re: Threading (plus random question)_ In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> Message-ID: <1570a5d3880.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The "window appears behind" problem happens with the dictionary too when you choose to look up a term using the contextual menu in the script editor. Is there a bug report on this? I'll add a comment. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 8, 2016 9:42:56 AM Mike Kerner wrote: > This may be related to fixing the other focus issue that was causing me to > toss lappies about, namely when the SE LOST the focus, and a > delete/backspace caused carefully crafted objects to magically die (while > their SE tab remained open). > > I'm with you, I like the enter shortcut, but I'm also all for adding a > preference to let the developer decide. > > On Thu, Sep 8, 2016 at 9:47 AM, Ben Rubinstein wrote: > >> FWIW I use enter to compile, and then close, the Script Editor all the >> time - hardly ever use the mouse - and have never to the best of my >> recollection had problems with too many tabs closing. Maybe my keyboard >> repeat is slower than other peoples? >> >> I'm not sure how hard I'd scream if enter to close was removed. I'd scream >> pretty hard if enter to compile was removed. >> >> To hijack the thread a little (more) the change in LC8 that is irritating >> me is that if the script editor is invoked for a script that's already >> open, the appropriate tab is activated, but the window isn't brought to the >> front - so in some cases it appears that the command has been ignored. This >> is new in LC8. >> >> Ben >> >> On 08/09/2016 14:34, Sannyasin Brahmanathaswami wrote: >> >>> "From my perspective the Enter key issue is driving me nuts... " >>> >>> Please! Don't make us have go to the mouse to close an SE tab...i love >>> the feature (hit enter twice) >>> >>> Not screaming. Just sayin' got a bad enough wrist as it is .... >>> >>> In fact more robust, user configurable keyboard short cuts for the SE >>> would great. >>> >>> What key stroke will take you back and forth between open SE tabs? >>> >>> ( from my mobile ) >>> >>> >>> >>> >>> On Thu, Sep 8, 2016 at 3:23 AM -1000, "Rod McCall" < >>> rodmccall491 at gmail.com> wrote: >>> >>> From my perspective the Enter key issue is driving me nuts... >>>> >>> >>> Rod McCall >>> Researcher: HCI, Augmented Reality, Games and In-car Systems >>> www.rodmc.com >>> twitter: rodlux >>> >>> >>> On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner >>> wrote: >>> >>> Monte, why not make it a preference? I personally like it, except when I >>>> get the focus flip. >>>> >>>> On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding >>>> wrote: >>>> >>>> I wonder how many people would scream if we removed the enter closes an >>>>> applied tab feature? Keep enter to apply though. >>>>> >>>>> Sent from my iPhone >>>>> >>>>> On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: >>>>>> >>>>>> Open the editor, make a change, >>>>>> tap enter twice and the change is applied and gone >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Thu Sep 8 11:17:39 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 8 Sep 2016 16:17:39 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Message-ID: <16387b89-2fac-59fc-5fb0-5ff95566a0bc@livecode.com> On 08/09/2016 16:06, Roger Eller wrote: > What is the timeline for LiveCode support in Android 7.0? > > https://www.android.com/versions/nougat-7-0/ LiveCode already supports deployment to Android 7.0. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From mark at canelasoftware.com Thu Sep 8 11:19:58 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 8 Sep 2016 08:19:58 -0700 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Message-ID: <1B0A0CEA-BA6E-475A-80E3-1DF9D575E9D5@canelasoftware.com> > On Sep 8, 2016, at 12:57 AM, Peter TB Brett wrote: > > Hi all, > > Since Xcode 8 GM is now available for download by members of the Apple developer program, I thought it might be helpful to give you an update on our plans for enabling LiveCode app deployment using Xcode 8. > > - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release > > - If you need to deploy to iOS using LiveCode 8.1.0 you will need to keep a copy of Xcode 7.3.1 around > > I currently expect that we'll release 8.1.1-rc-1 sometime between 15th-20th September. Thanks Peter. I will hang on to Xcode 7.3.1. Always good to know where we are on keeping up with Apple. Best regards, Mark Talluto livecloud.io canelasoftware.com From MikeKerner at roadrunner.com Thu Sep 8 11:33:48 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 11:33:48 -0400 Subject: Threading (plus random question) In-Reply-To: <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: ctrl-tab is a good idea, that's what you use in a browser The focus flip is a problem that causes the ide window to get the focus when the script editor had the focus (or vice versa). I forget the bug number, but you could be editing scripts in the SE, hit backspace, and wind up deleting the object whose script you were editing (because you had clicked on the object, right-clicked, and then picked "Edit Script"). I've also had it go the other way, where I had the property inspector open and the SE, and when I was editing a property and hit Enter, the SE would get the event. On Thu, Sep 8, 2016 at 10:53 AM, ahsoftware wrote: > On 09/08/2016 06:52 AM, Mike Kerner wrote: > > ? Shortcut to switch between browse and pointer >> > > control-tab? > > -- > Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From devin_asay at byu.edu Thu Sep 8 12:01:33 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 8 Sep 2016 16:01:33 +0000 Subject: Threading (plus random question) In-Reply-To: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> Message-ID: <12F57EE1-0101-498F-A1AC-6B248F1D2424@byu.edu> > On Sep 8, 2016, at 7:18 AM, Monte Goulding wrote: > > I wonder how many people would scream if we removed the enter closes an applied tab feature? Keep enter to apply though. Keep it please. I use it constantly and it saves a lot of mousing. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Thu Sep 8 12:02:39 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 8 Sep 2016 16:02:39 +0000 Subject: Threading (plus random question) In-Reply-To: <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: > On Sep 8, 2016, at 8:53 AM, ahsoftware wrote: > > On 09/08/2016 06:52 AM, Mike Kerner wrote: > >> ? Shortcut to switch between browse and pointer > > control-tab? And Cmd/cntl - 9 for Browse/run mode and cmd/cntl - 0 for pointer/edit mode. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From MikeKerner at roadrunner.com Thu Sep 8 12:23:27 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 12:23:27 -0400 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: The thing I don't like about ctrl/cmd 0 and 9 is that it's an awkward reach when you're trying to do it by touch, and if you're right-handed, you can't do it while having your right on the mouse or trackpad, either. ctrl/cmd-` would be better IMHO, not that I miss HC's cmd-tab, or anything. I'd also like it to be a toggle, but I can understand folks wanting it to be two separate keys. On Thu, Sep 8, 2016 at 12:02 PM, Devin Asay wrote: > > > On Sep 8, 2016, at 8:53 AM, ahsoftware wrote: > > > > On 09/08/2016 06:52 AM, Mike Kerner wrote: > > > >> ? Shortcut to switch between browse and pointer > > > > control-tab? > > And Cmd/cntl - 9 for Browse/run mode and cmd/cntl - 0 for pointer/edit > mode. > > Devin > > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Sep 8 12:32:20 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2016 11:32:20 -0500 Subject: Forum digests Message-ID: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does anyone else get the forum digest? I haven't received one for a couple of days and want to know if it's my server or LC. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Thu Sep 8 12:34:00 2016 From: irog at mac.com (Roger Guay) Date: Thu, 08 Sep 2016 09:34:00 -0700 Subject: Forum digests In-Reply-To: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <03140DC7-085C-46CD-9D2B-0E0089C9A03C@mac.com> I?m getting now, but it is irregular to say the least? > On Sep 8, 2016, at 9:32 AM, J. Landman Gay wrote: > > Does anyone else get the forum digest? I haven't received one for a couple of days and want to know if it's my server or LC. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 8 12:34:13 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 12:34:13 -0400 Subject: Forum digests In-Reply-To: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I do and I did On Thu, Sep 8, 2016 at 12:32 PM, J. Landman Gay wrote: > Does anyone else get the forum digest? I haven't received one for a couple > of days and want to know if it's my server or LC. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Sep 8 12:36:38 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2016 11:36:38 -0500 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I have the same issue with ctrl/cmd 0 and 9?and being right handed. I have been capturing control -tab for years in a frontscript. It would be very convenient if LC adopted that. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 8, 2016 11:26:11 AM Mike Kerner wrote: > The thing I don't like about ctrl/cmd 0 and 9 is that it's an awkward reach > when you're trying to do it by touch, and if you're right-handed, you can't > do it while having your right on the mouse or trackpad, either. ctrl/cmd-` > would be better IMHO, not that I miss HC's cmd-tab, or anything. I'd also > like it to be a toggle, but I can understand folks wanting it to be two > separate keys. > > On Thu, Sep 8, 2016 at 12:02 PM, Devin Asay wrote: > >> >> > On Sep 8, 2016, at 8:53 AM, ahsoftware wrote: >> > >> > On 09/08/2016 06:52 AM, Mike Kerner wrote: >> > >> >> ? Shortcut to switch between browse and pointer >> > >> > control-tab? >> >> And Cmd/cntl - 9 for Browse/run mode and cmd/cntl - 0 for pointer/edit >> mode. >> >> Devin >> >> >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Thu Sep 8 12:37:08 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 8 Sep 2016 12:37:08 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <16387b89-2fac-59fc-5fb0-5ff95566a0bc@livecode.com> References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> <16387b89-2fac-59fc-5fb0-5ff95566a0bc@livecode.com> Message-ID: On Thu, Sep 8, 2016 at 11:17 AM, Peter TB Brett wrote: > > > On 08/09/2016 16:06, Roger Eller wrote: > >> What is the timeline for LiveCode support in Android 7.0? >> >> https://www.android.com/versions/nougat-7-0/ >> > > LiveCode already supports deployment to Android 7.0. > > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > What I meant to ask is, which specific NEW Android 7.0 features are supported in LC? Where is the latest list of mobile features that would show LiveCodes commitment for keeping parity between supported mobile platforms? ~Roger From ambassador at fourthworld.com Thu Sep 8 12:40:35 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 09:40:35 -0700 Subject: Threading (plus random question) In-Reply-To: <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> J. Landman Gay wrote: > I have the same issue with ctrl/cmd 0 and 9 and being right handed. > I have been capturing control -tab for years in a frontscript. It > would be very convenient if LC adopted that. Control-Tab is handy on a Mac, but the rest of the world has been using it to switch applications for nearly two decades. Personally I prefer SuperCard's Cmd-[ and Cmd-]. But like you say, easy enough to make a plugin with a frontScript to have any combination you want. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Thu Sep 8 12:42:58 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2016 11:42:58 -0500 Subject: Device rotation and browser widget In-Reply-To: <59E95D52-3D2A-41A4-9537-A78BEA326E1B@appisle.net> References: <8a055adc-8648-d159-a0b6-a3a8c433d808@hyperactivesw.com> <59E95D52-3D2A-41A4-9537-A78BEA326E1B@appisle.net> Message-ID: <1570aae4e50.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I tried to do that but I'm not getting any resizestack message at all. One permutation did send the message but the browser still failed to resize correctly so I changed the script and now I can't remember what I did when the message was sent. I've been juggling things between orientationChanged, resizestack, and a browser setup handler, and only one combination gave me a resizestack message. Too many variables. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 8, 2016 11:32:11 AM Monte Goulding wrote: > Hmm... Have you tried wrapping the resizestack handler in try and putting > any error or otherwise logging the message > > Sent from my iPhone > >> On 8 Sep 2016, at 8:35 AM, J. Landman Gay wrote: >> >> For a mobile app, I am trying to get a card containing a browser widget to >> rotate and resize/reposition when the device is rotated. It seems I can't >> set the rect of the widget, it doesn't respond correctly or errors, though >> the orientation of its content does change. I've tried too many things to >> list them all but no success. OrientationChanged does trigger but >> resizeStack usually doesn't for some reason. >> >> Basically what I'm seeing is that LC handles the rotation but doesn't >> reposition or resize the widget. >> >> Has anyone done this? I'm testing on Android for now. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 8 12:52:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 09:52:53 -0700 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: Message-ID: <6b695ee9-071a-9d92-434e-2b2c097136db@fourthworld.com> Roger Eller wrote: > On Thu, Sep 8, 2016 at 11:17 AM, Peter TB Brett wrote: >> LiveCode already supports deployment to Android 7.0. > > What I meant to ask is, which specific NEW Android 7.0 features are > supported in LC? I didn't see anything in the Release Notes for the latest build that was Android 8.0-specific. There was one Android-specific enhancement related to improved GPS time stamps, but I don't believe that's limited to Android 8.0. What Android 8.0 features would you like to see supported that we don't have access to now? > Where is the latest list of mobile features that would show LiveCodes > commitment for keeping parity between supported mobile platforms? The Release Notes are the best way to keep abreast of changes in the engine. For ongoing work, I search the Dictionary for features I need, and so far what I've needed on mobile is available on both the iOS and Android builds of LiveCode. As we see on the desktop, from time to time there will be a feature implemented for one platform but not others simply because the other OSes don't support it (Windows Registry, AppleScript, etc.). With both desktop and mobile, OSes have become sufficiently commoditized that they tend to have far more in common than they have differences, which works out well for us (and those devs using any tool who are making money, since with a few exceptions the most popular apps in either app store are available for both). Is there something LC supports on one platform but not another that you'd like to see added to the other? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Sep 8 12:57:49 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 12:57:49 -0400 Subject: Threading (plus random question) In-Reply-To: <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> References: <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> Message-ID: Again, not convenient for right-handers. On Thu, Sep 8, 2016 at 12:40 PM, Richard Gaskin wrote: > J. Landman Gay wrote: > > > I have the same issue with ctrl/cmd 0 and 9 and being right handed. > > I have been capturing control -tab for years in a frontscript. It > > would be very convenient if LC adopted that. > > Control-Tab is handy on a Mac, but the rest of the world has been using it > to switch applications for nearly two decades. > > Personally I prefer SuperCard's Cmd-[ and Cmd-]. But like you say, easy > enough to make a plugin with a frontScript to have any combination you want. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Thu Sep 8 13:02:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 10:02:59 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: Rod McCall wrote: > I asked a similar question a few years back, but is threading now > supported in LiveCode? Or indeed are there any plans to support it? Like Mike said, if you need concurrency you can get that today with multiprocessing. On OS X and Linux this is nearly as efficient as multithreading, and on all platforms often regarded as less of a headache. :) We've discussed multithreading support in discussions here in the past, but once the conversation got around to the difficult work of design details it seems folks lost interest and we moved on to other things. If you merely need parallelism, some tasks can benefit from using idle clock cycles with timers. I made a quickie sample stack to play around with some of that: http://fourthworld.net/channels/lc/IdleHour.rev I've considered crafting a library to help manage multiprocessing, but I have to admit that while it's a fun prospect I don't actually have any project requiring it at the moment. If you can describe your anticipated use for threads perhaps we can help either find a solution with what we have, or refine a feature request into something actionable. And if your threading interest is for asynchronous GIF playback, ohdeargawd how we need that now, and I've submitted a request for that particular piece already: http://quality.livecode.com/show_bug.cgi?id=7600 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Sep 8 13:08:29 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 10:08:29 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <3b8c921f-7363-1e57-6b3a-f6972de2b2d7@fourthworld.com> Mike Kerner wrote: > On Thu, Sep 8, 2016 at 12:40 PM, Richard Gaskin wrote: > >> J. Landman Gay wrote: >> >> > I have the same issue with ctrl/cmd 0 and 9 and being right handed. >> > I have been capturing control -tab for years in a frontscript. It >> > would be very convenient if LC adopted that. >> >> Control-Tab is handy on a Mac, but the rest of the world has been >> using it to switch applications for nearly two decades. >> >> Personally I prefer SuperCard's Cmd-[ and Cmd-]. But like you say, >> easy enough to make a plugin with a frontScript to have any >> combination you want. >> > Again, not convenient for right-handers. ...if you're using a keyboard that has only one Control/Command key (who makes those? Even my smallish Dell laptop has both a right and a left Control key) But like Jacque reminds us, it's easy enough to take a minute and make a plugin so we can have any combo we want. Vive le difference. Let a thousand flowers bloom... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From benr_mc at cogapp.com Thu Sep 8 13:08:18 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 8 Sep 2016 18:08:18 +0100 Subject: Script Editor focus (was Re: Threading (plus random question)_ In-Reply-To: <1570a5d3880.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> <1570a5d3880.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 08/09/2016 16:14, J. Landman Gay wrote: > The "window appears behind" problem happens with the dictionary too when you > choose to look up a term using the contextual menu in the script editor. > > Is there a bug report on this? I'll add a comment. It's not very good, but it will be improved by your comment! http://quality.livecode.com/show_bug.cgi?id=18351 Ben From dochawk at gmail.com Thu Sep 8 13:16:02 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 8 Sep 2016 10:16:02 -0700 Subject: SQL joining from list of values to match single value? Message-ID: I've been trying to wrap my head around this query for weeks, and hope someone can point out what I'm missing. In my table, the main key is uniqDna, an integer. There can also be dpdnDnas and parDnas, the uniqDna of a dependent or parent dna. I'm not seeking any good way to keep the dndDnas and parDnas fields other than as space departed lists. I'm trying to find a sane way to SELECT upon values contained in one of those lists. (if there could only be one value, this would be trivial). The closest I'm seeing is making sure that there are spaces before and after the list, so uniqDna 2 might have dpdDnas " 6 7 8 ", and then "SELECT uniqDna, stuff FROM theTable WHERE parDnas LIKE '% 2 %'"--but this has to be done one by one. What I'm looking for is something like "SELECT uniqDna, stuff, parDnas FROM theTABLE WHERE some_other_entry.parDnas CONTAINS uniqDna" That is, a list of all the uniqDna that have parents, with there associated parDnas As i understand it, IS IN () needs a list of literals, rather than another query result. I'm looking at tables with dozens, not thousands, of entries. Hundreds *might* be conceivable as a rare case, but isn't a concern for general use. I'm assuming that some kind of JOIN might do this, but the problem still remains of the operator to use to check for an integer value in one column being one of the words in another . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Thu Sep 8 13:22:32 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 8 Sep 2016 13:22:32 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <6b695ee9-071a-9d92-434e-2b2c097136db@fourthworld.com> References: <6b695ee9-071a-9d92-434e-2b2c097136db@fourthworld.com> Message-ID: On Thu, Sep 8, 2016 at 12:52 PM, Richard Gaskin wrote: > Roger Eller wrote: > > > On Thu, Sep 8, 2016 at 11:17 AM, Peter TB Brett wrote: > >> LiveCode already supports deployment to Android 7.0. > > > > What I meant to ask is, which specific NEW Android 7.0 features are > > supported in LC? > > I didn't see anything in the Release Notes for the latest build that was > Android 8.0-specific. There was one Android-specific enhancement related > to improved GPS time stamps, but I don't believe that's limited to Android > 8.0. > > What Android 8.0 features would you like to see supported that we don't > have access to now? > > > > Where is the latest list of mobile features that would show LiveCodes > > commitment for keeping parity between supported mobile platforms? > > The Release Notes are the best way to keep abreast of changes in the > engine. > > For ongoing work, I search the Dictionary for features I need, and so far > what I've needed on mobile is available on both the iOS and Android builds > of LiveCode. > > As we see on the desktop, from time to time there will be a feature > implemented for one platform but not others simply because the other OSes > don't support it (Windows Registry, AppleScript, etc.). > > With both desktop and mobile, OSes have become sufficiently commoditized > that they tend to have far more in common than they have differences, which > works out well for us (and those devs using any tool who are making money, > since with a few exceptions the most popular apps in either app store are > available for both). > > Is there something LC supports on one platform but not another that you'd > like to see added to the other? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Hi Richard, Android 7.0 Nougat is the latest version currently. The killer feature of 7 is the ability to run 2 apps at the same time, and share screen space (side by side). Also the ability to drag text and images from one app to the other. You mention that popular apps exist in both the App Store as well as on Google Play. Have you ever just randomly picked such an app as an exercise, and went through the process of evaluation to see where you might run into a roadblock while using LC's "built-in" features, not a mashup of externals and roll-your-own C code mess? Most of the folks I've heard from on this list anyway are relying on externals for iOS that aren't available on Android (even for the older versions). ~Roger From ambassador at fourthworld.com Thu Sep 8 13:50:52 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 10:50:52 -0700 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: Message-ID: Roger Eller wrote: > Android 7.0 Nougat is the latest version currently. > > The killer feature of 7 is the ability to run 2 apps at the same > time, and share screen space (side by side). It looks like that's declarable in the manifest: What else is needed for an app to support that in Android 7? Given that LC already issues a resizeStack message whenever the OS changes dimensions, I'd guess this might possibly work out of the box with a mod to the manifest, no? > Also the ability to drag text and images from one app to the other. That would probably require new API support. But that's just a guess. Since Android already supports drag-and-drop, I wonder if they merely extended the existing APIs to automatically support that across app instances. Seems worth researching... Does LC support multiwindowing in iOS? > You mention that popular apps exist in both the App Store as well as > on Google Play. Have you ever just randomly picked such an app as an > exercise, and went through the process of evaluation to see where you > might run into a roadblock while using LC's "built-in" features, not > a mashup of externals and roll-your-own C code mess? Most of the > folks I've heard from on this list anyway are relying on externals > for iOS that aren't available on Android (even for the older > versions). I don't think that's a mobile thing, as much as it is just part of the art of making software. If we were using C for everything we could do everything any other app does. We'd just spend a LOT more time doing it. And we'd have to do it all over and over again for every platform we support. LiveCode provides the basics for a wide range of apps on every major desktop and mobile platform. Some features take only minutes where they might take days in C. Other features might take hours. And once in a while it may even take the same amount of time if that specific feature can only be implemented in the same language. Sure, I'd love to see LiveCode with infinite features. And indeed, we just funded that, Infinite LiveCode, to extend Builder to allow us to access OS APIs from a high-level scripting language. But no language is a magic pony that can do everything best. There is no best. All languages and tools provide some things they do better than others, which is the reason they're made. But we live in a world where new languages are created every year because each one delivers its own unique balance of tradeoffs that favor a particular set of tasks more than the others. For making multi-platform GUI apps, I can't find another tool that has integrated GUI objects as a core part of the language and runs on as many platforms. And as luck would have it, aside from the security DLLs and occasionally the DB externals, I haven't needed any externals in my apps for many years. But when folks do, we have an interface that keeps that scope of work isolated and small. And we still get to use LC for everything else. And when the extensions to LC Builder are in place, it only gets better because we'll have another scripting layer available for working directly with the host OS without ever having to boot a C compiler. All in all, not a bad situation, IMO. For the apps I build, LiveCode works quite well. If I needed things I can only do in another language, I just use another language. The worst that can happen is that I'd be merely on par with the entire rest of the developer world. And most days I have a head start over them because I let the LiveCode team write a million lines of code for me. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From fraser.gordon at livecode.com Thu Sep 8 14:15:18 2016 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 8 Sep 2016 19:15:18 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> <16387b89-2fac-59fc-5fb0-5ff95566a0bc@livecode.com> Message-ID: <2264ee4d-b134-7e0e-5852-e0bf1bc77aec@livecode.com> On 08/09/2016 17:37, Roger Eller wrote: > What I meant to ask is, which specific NEW Android 7.0 features > aresupported in LC? Where is the latest list of mobile features that > wouldshow LiveCodes commitment for keeping parity between supported > mobileplatforms? > ~Roger The reason more work seems to happen on iOS is because every time Apple releases a new iOS update (e.g 9.0 to 9.1 or, in this case, the release of iOS 10.0), we need to do a lot of work building new iOS engines and adjusting to the (unannounced!) changes made in the new SDKs. Because the versions of Xcode, macOS and iOS are tied together, this means that we need to support a wide range of iOS SDKs simultaneously. (Currently, the list is 8.2, 9.2 and 9.3 for device builds and 6.1, 7.1, 8.2, 9.2 and 9.3 for simulator builds). Of these, all but the 6.1 simulator build are 32-bit/64-bit "fat binaries", meaning that the current release of LiveCode ships 15 iOS engines (per edition, per release). All this work is needed just to keep up with changes Apple have made - it isn't about adding support for new features, it's just keeping things working. Android, on the other hand, is very good about maintaining compatibility. We currently build one engine that works with a wide range of NDKs and SDKs. Currently, we're at API level 17 needed to build the engine (Android 4.2.2) but it'll run on Android releases from 2.3.3 onwards (though with a reduced feature set). Adding new platform-specific features to the core engine is surprisingly difficult and writing externals using Android APIs can be tricky (due to needing to use both C++ and Java) so not many third-parties do it, which is why we're busy working on the 'Infinite LiveCode' project (https://livecode.com/project/infinite-livecode/). Currently, we're improving LiveCode Builder to get FFI bindings for Java working (see https://github.com/livecode/livecode/pull/4438 for progress) so that widgets and libraries can be written to access Java APIs, the main use-case of which is to make wrapping Android features much easier. Fraser From MikeKerner at roadrunner.com Thu Sep 8 14:16:50 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 14:16:50 -0400 Subject: Threading (plus random question) In-Reply-To: <3b8c921f-7363-1e57-6b3a-f6972de2b2d7@fourthworld.com> References: <3b8c921f-7363-1e57-6b3a-f6972de2b2d7@fourthworld.com> Message-ID: Then it's two hands, at least on every keyboard I use, which still takes the right hand out of commission. Yes, there's a lot you can do with a script. If we got a few people together who are interested in hacking LC, though, we could add it as a feature on a community hack day. On Thu, Sep 8, 2016 at 1:08 PM, Richard Gaskin wrote: > Mike Kerner wrote: > > > On Thu, Sep 8, 2016 at 12:40 PM, Richard Gaskin wrote: > > > >> J. Landman Gay wrote: > >> > >> > I have the same issue with ctrl/cmd 0 and 9 and being right handed. > >> > I have been capturing control -tab for years in a frontscript. It > >> > would be very convenient if LC adopted that. > >> > >> Control-Tab is handy on a Mac, but the rest of the world has been > >> using it to switch applications for nearly two decades. > >> > >> Personally I prefer SuperCard's Cmd-[ and Cmd-]. But like you say, > >> easy enough to make a plugin with a frontScript to have any > >> combination you want. > >> > > Again, not convenient for right-handers. > > ...if you're using a keyboard that has only one Control/Command key (who > makes those? Even my smallish Dell laptop has both a right and a left > Control key) > > But like Jacque reminds us, it's easy enough to take a minute and make a > plugin so we can have any combo we want. > > Vive le difference. Let a thousand flowers bloom... > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Thu Sep 8 14:19:05 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 11:19:05 -0700 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <2264ee4d-b134-7e0e-5852-e0bf1bc77aec@livecode.com> References: <2264ee4d-b134-7e0e-5852-e0bf1bc77aec@livecode.com> Message-ID: <4f4c6fde-3b37-2802-cd4b-4d6d9a423a7f@fourthworld.com> Fraser Gordon wrote: > Adding new platform-specific features to the core engine is > surprisingly difficult and writing externals using Android APIs > can be tricky (due to needing to use both C++ and Java) so not > many third-parties do it, which is why we're busy working on > the 'Infinite LiveCode' project (https://livecode.com/project/infinite-livecode/). > Currently, we're improving LiveCode Builder to get FFI bindings > for Java working (see https://github.com/livecode/livecode/pull/4438 for progress) > so that widgets and libraries can be written to access Java APIs, > the main use-case of which is to make wrapping Android features much > easier. Thanks for the links, Fraser. I always learn a lot watching how things unfold on Github. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Sep 8 14:22:27 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 8 Sep 2016 14:22:27 -0400 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: I would make IS IN work, and do it in two queries, OR, in the case where you have something less than 10k values, just build a container and chunk it. If that wasn't an option, I'd N:N it, and just add the extra tables and a join. On Thu, Sep 8, 2016 at 1:16 PM, Dr. Hawkins wrote: > I've been trying to wrap my head around this query for weeks, and hope > someone can point out what I'm missing. > > In my table, the main key is uniqDna, an integer. There can also be > dpdnDnas and parDnas, the uniqDna of a dependent or parent dna. > > I'm not seeking any good way to keep the dndDnas and parDnas fields other > than as space departed lists. > > I'm trying to find a sane way to SELECT upon values contained in one of > those lists. (if there could only be one value, this would be trivial). > > The closest I'm seeing is making sure that there are spaces before and > after the list, so uniqDna 2 might have dpdDnas " 6 7 8 ", and then "SELECT > uniqDna, stuff FROM theTable WHERE parDnas LIKE '% 2 %'"--but this has to > be done one by one. > > What I'm looking for is something like > > "SELECT uniqDna, stuff, parDnas FROM theTABLE WHERE > some_other_entry.parDnas CONTAINS uniqDna" > > That is, a list of all the uniqDna that have parents, with there associated > parDnas > > As i understand it, IS IN () needs a list of literals, rather than another > query result. > > I'm looking at tables with dozens, not thousands, of entries. Hundreds > *might* be conceivable as a rare case, but isn't a concern for general use. > > I'm assuming that some kind of JOIN might do this, but the problem still > remains of the operator to use to check for an integer value in one column > being one of the words in another . . . > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Sep 8 14:25:38 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 8 Sep 2016 13:25:38 -0500 Subject: Debugger forgetting soft breakpoints In-Reply-To: References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> <15706371e10.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57b3bac5-f4b4-3c3d-5553-a3dd15d99da8@hyperactivesw.com> Message-ID: <10fb2158-baef-55fa-dbf7-630ea93cedbf@hyperactivesw.com> On 9/7/16 3:26 PM, Monte Goulding wrote: > ay, because nobody did any work on the debugger for 8.1 so it?s good > that it didn?t break all by itself ;-) *I* broke all by myself. I wish I could blame it on you guys. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Sep 8 14:26:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 11:26:44 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <118949af-6561-ce37-e8b2-2546ca71ce3d@fourthworld.com> Mike Kerner wrote: > Yes, there's a lot you can do with a script. If we got a few people > together who are interested in hacking LC, though, we could add it as > a feature on a community hack day. If we can get some movement on bug fixes I'd happily support a Hack Day. As for this particular feature, so many like it as it is and others like it a different way, etc., that maybe a good session on a Hack Day would be Personal IDE Mods, showing off how easy it is to mod anything you like however you like from a plugin. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Thu Sep 8 14:29:31 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 8 Sep 2016 13:29:31 -0500 Subject: Forum digests In-Reply-To: References: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 9/8/16 11:34 AM, Mike Kerner wrote: > I do and I did > > On Thu, Sep 8, 2016 at 12:32 PM, J. Landman Gay > wrote: > >> Does anyone else get the forum digest? I haven't received one for a couple >> of days and want to know if it's my server or LC. Thanks. Oddly enough, after I posted, I got yesterday's digest (or maybe it was today's, I haven't read it yet.) My server had an issue yesterday which is probably the cause. I also just got a few duplicate list emails from yesterday too. So, the problem is me again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Sep 8 14:41:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 8 Sep 2016 13:41:18 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: Message-ID: <09179de0-2d3d-a77d-a916-1a76ec50bdfe@hyperactivesw.com> On 9/8/16 12:50 PM, Richard Gaskin wrote: > LiveCode provides the basics for a wide range of apps on every major > desktop and mobile platform. Some features take only minutes where they > might take days in C. A couple of years ago my nephew had just finished an intro programming class. I was showing him LC and he asked how I'd make a button. I dragged one onto a new card and put "beep" into the default mouseUp handler. It took about five seconds. His jaw just dropped. He said one of his first class assignments was to create a button and it took him three days. I'm sure an experienced programmer could have cut down that time, but still... I can't remember what language they were using but it sure wasn't LC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Sep 8 14:42:37 2016 From: pete at lcsql.com (Peter Haworth) Date: Thu, 08 Sep 2016 18:42:37 +0000 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: Never a good idea to put lists of items into a single column. If you need that capability, best to define another table with uniqdna column as a foreign key to your main table and a column to hold a single pardna, then have 1 row for each uniqdna/pardna pair. With thst structure the query is just a matter of a simple join between the two tables. On Thu, Sep 8, 2016 at 11:23 AM Mike Kerner wrote: > I would make IS IN work, and do it in two queries, OR, in the case where > you have something less than 10k values, just build a container and chunk > it. If that wasn't an option, I'd N:N it, and just add the extra tables > and a join. > > On Thu, Sep 8, 2016 at 1:16 PM, Dr. Hawkins wrote: > > > I've been trying to wrap my head around this query for weeks, and hope > > someone can point out what I'm missing. > > > > In my table, the main key is uniqDna, an integer. There can also be > > dpdnDnas and parDnas, the uniqDna of a dependent or parent dna. > > > > I'm not seeking any good way to keep the dndDnas and parDnas fields other > > than as space departed lists. > > > > I'm trying to find a sane way to SELECT upon values contained in one of > > those lists. (if there could only be one value, this would be trivial). > > > > The closest I'm seeing is making sure that there are spaces before and > > after the list, so uniqDna 2 might have dpdDnas " 6 7 8 ", and then > "SELECT > > uniqDna, stuff FROM theTable WHERE parDnas LIKE '% 2 %'"--but this has to > > be done one by one. > > > > What I'm looking for is something like > > > > "SELECT uniqDna, stuff, parDnas FROM theTABLE WHERE > > some_other_entry.parDnas CONTAINS uniqDna" > > > > That is, a list of all the uniqDna that have parents, with there > associated > > parDnas > > > > As i understand it, IS IN () needs a list of literals, rather than > another > > query result. > > > > I'm looking at tables with dozens, not thousands, of entries. Hundreds > > *might* be conceivable as a rare case, but isn't a concern for general > use. > > > > I'm assuming that some kind of JOIN might do this, but the problem still > > remains of the operator to use to check for an integer value in one > column > > being one of the words in another . . . > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Thu Sep 8 14:45:47 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 8 Sep 2016 11:45:47 -0700 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <4f4c6fde-3b37-2802-cd4b-4d6d9a423a7f@fourthworld.com> References: <2264ee4d-b134-7e0e-5852-e0bf1bc77aec@livecode.com> <4f4c6fde-3b37-2802-cd4b-4d6d9a423a7f@fourthworld.com> Message-ID: <939D7FD5-411A-41FD-955B-02537E8D09EC@gmail.com> Another factor in the iOS support compared to Android is that with iOS the majority of users update to the latest version right away, whereas with Android you?re at the mercy of the phone manufacturer, who may never get around to updating their version of the OS. The percentage of users with the current Android version is somewhere just over 15%. iOS 9 is above 89%. Will be interesting to see how quick iOS 10 is adopted when it?s released on Tuesday. 0.6% are already on it! From brahma at hindu.org Thu Sep 8 14:51:48 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 8 Sep 2016 18:51:48 +0000 Subject: Device rotation and browser widget In-Reply-To: <1570aae4e50.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8a055adc-8648-d159-a0b6-a3a8c433d808@hyperactivesw.com> <59E95D52-3D2A-41A4-9537-A78BEA326E1B@appisle.net> <1570aae4e50.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The caveat is: Safari app in iOS and Chrome app on Android "own" the entire card rect. Since, in LC we can set that rect for the browser widget to anything we want? how exactly should it be have when the phone is turned sideways? or turned "upright" (if watching a movie in e.g. Youtube, sideways) see: http://quality.livecode.com/show_bug.cgi?id=17906 I offered one algorithm (brainstorm) at the bug report above. Anyone else interested can please add themselves to watch that bug and possibly comment on a better option for how a truly "responsive" browser widget should work. What hooks, props, are needed to fine tune the control of the browser widget? both placement on the card and orientation of web content in that rect? BR On 9/8/16, 6:42 AM, "use-livecode on behalf of J. Landman Gay" wrote: I tried to do that but I'm not getting any resizestack message at all. One permutation did send the message but the browser still failed to resize correctly so I changed the script and now I can't remember what I did when the message was sent. I've been juggling things between orientationChanged, resizestack, and a browser setup handler, and only one combination gave me a resizestack message. Too many variables. From roger.e.eller at sealedair.com Thu Sep 8 14:56:02 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 8 Sep 2016 14:56:02 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <2264ee4d-b134-7e0e-5852-e0bf1bc77aec@livecode.com> References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> <16387b89-2fac-59fc-5fb0-5ff95566a0bc@livecode.com> <2264ee4d-b134-7e0e-5852-e0bf1bc77aec@livecode.com> Message-ID: On Thu, Sep 8, 2016 at 2:15 PM, Fraser Gordon wrote: > All this work is needed just to keep up with changes Apple have made - > it isn't about adding support for new features, it's just keeping things > working. > > Android, on the other hand, is very good about maintaining > compatibility. We currently build one engine that works with a wide > range of NDKs and SDKs. Currently, we're at API level 17 needed to build > the engine (Android 4.2.2) but it'll run on Android releases from 2.3.3 > onwards (though with a reduced feature set). > > Fraser > And I _DO_ very much appreciate all the work done by you and the LC team, and community contributors. Ya'll are GREAT!!! So, "in your spare time" (haha), just go ahead and add AndroidWear as a platform choice. :-) ~Roger From monte at appisle.net Thu Sep 8 15:14:02 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 05:14:02 +1000 Subject: Script Editor focus (was Re: Threading (plus random question)_ In-Reply-To: <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> Message-ID: Actually that annoys me too. I've had multiple times where I thought the it didn't open but actually it was just behind a stack. I'll see if I can find some time to look into that. Sent from my iPhone > On 8 Sep 2016, at 11:47 PM, Ben Rubinstein wrote: > > To hijack the thread a little (more) the change in LC8 that is irritating me is that if the script editor is invoked for a script that's already open, the appropriate tab is activated, but the window isn't brought to the front - so in some cases it appears that the command has been ignored. This is new in LC8. From monte at appisle.net Thu Sep 8 15:22:27 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 05:22:27 +1000 Subject: Threading (plus random question) In-Reply-To: <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> References: <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> Message-ID: I have plans for to use those for in/outdent which they are commonly used for. Particularly in multiline comments but also when auto format is off. Sent from my iPhone > On 9 Sep 2016, at 2:40 AM, Richard Gaskin wrote: > > Personally I prefer SuperCard's Cmd-[ and Cmd-] From monte at appisle.net Thu Sep 8 15:37:01 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 05:37:01 +1000 Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: <1473345334720-4708176.post@n4.nabble.com> References: <1473345334720-4708176.post@n4.nabble.com> Message-ID: <0538BF1A-1F85-4D1E-B4BE-BB03E8CB5749@appisle.net> Please open a bug report as this sounds like a tsNet regression. Thanks Monte Sent from my iPhone > On 9 Sep 2016, at 12:35 AM, pink wrote: > > I am using CouchDB in 8.1 and here is my problem: > > these are the two crucial commands for putting a document into CouchDB > put tJson into URL(tURL) > put the urlResponse into tResult > > the urlResponse should contain a JSON with the result of the REST call, for > example it could say: > {"error":"conflict","reason":"Document update conflict."} > > regardless if it is an error, or a successful call, urlResponse is coming up > empty > > if it isn't obvious, for my program, I need to know if there is an error > > is there a way to get the equivalent of what I would have gotten with > urlResponse? > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/urlResponse-empty-in-8-1-0RC1-tp4708176.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 8 15:38:27 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 12:38:27 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: Monte Goulding wrote: >> On 9 Sep 2016, at 2:40 AM, Richard Gaskin wrote: >> >> Personally I prefer SuperCard's Cmd-[ and Cmd-] > > I have plans for to use those for in/outdent which they are commonly > used for. Particularly in multiline comments but also when auto > format is off. In a word processor I wrote for a client we used Tab for that, and Shift+Tab for outdent. But since the SE has used Tab for handler reformatting, I suppose it wouldn't work there. Speaking of: I dislike being overwhelmed with too many Prefs settings as much as teams hate the technical debt they impose, but - I wonder if it makes sense to add some sort of option to stop the real-time reformatting so I can type at my natural speed without waiting for LC to finish figuring out how it thinks my typing should be altered. It's not that I type that fast, but the SE works *really* hard trying to second-guess what I'm doing. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Sep 8 15:46:50 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 12:46:50 -0700 Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: <1473345334720-4708176.post@n4.nabble.com> References: <1473345334720-4708176.post@n4.nabble.com> Message-ID: <0cff3159-ba21-a151-7889-4bd17c6f5bbe@fourthworld.com> pink wrote: > put tJson into URL(tURL) LC supports PUT in addition to GET and POST? I thought that only worked for FTP. When was that added for HTTP? I see that's now part of the Dict entry for "put", but the only version number is "1.0" for the introduction of the token, and I didn't see a note when libURL was updated with that. I'm assuming DELETE works the same, yes? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Thu Sep 8 15:50:42 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 8 Sep 2016 14:50:42 -0500 Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: <0cff3159-ba21-a151-7889-4bd17c6f5bbe@fourthworld.com> References: <1473345334720-4708176.post@n4.nabble.com> <0cff3159-ba21-a151-7889-4bd17c6f5bbe@fourthworld.com> Message-ID: On Thu, Sep 8, 2016 at 2:46 PM, Richard Gaskin wrote: > LC supports PUT in addition to GET and POST? > > I thought that only worked for FTP. When was that added for HTTP? I see > that's now part of the Dict entry for "put", but the only version number is > "1.0" for the introduction of the token, and I didn't see a note when > libURL was updated with that. > PUT and DELETE have been around for as long as I can remember. I used them years ago with a web service. > I'm assuming DELETE works the same, yes Yes. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From monte at appisle.net Thu Sep 8 16:08:36 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 06:08:36 +1000 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> > On 9 Sep 2016, at 5:38 AM, Richard Gaskin wrote: > > Speaking of: I dislike being overwhelmed with too many Prefs settings as much as teams hate the technical debt they impose, but - > > I wonder if it makes sense to add some sort of option to stop the real-time reformatting so I can type at my natural speed without waiting for LC to finish figuring out how it thinks my typing should be altered. > > It's not that I type that fast, but the SE works *really* hard trying to second-guess what I'm doing. I think it? the colorization that is causing you pain here rather than the script editor actually doing anything significant. This shouldn?t need to be a preference we just need to work out how to do it better. I?m trying to sort out multiline comment colorization and formatting when I get a chance on rainy weekends etc and I?ve ended up realising there that we need to let the user type and track the dirty line range then have a callback that does the colorization which we cancel and send again as they type to avoid doing any significant work while they are typing. It?s particularly an issue with multiline comments because they can change the colorisation of large areas. Type /* at the top of a 10000 line script and you don?t really want the entire thing colorized if you just want to type return return */. I don?t think users will mind very much if things aren?t correctly colorized for a few milliseconds while they type fast. Anyway, it?s bit of a long term when I have time project to sort that out so I?m happy for ideas. Cheers Monte From benr_mc at cogapp.com Thu Sep 8 16:10:04 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 8 Sep 2016 21:10:04 +0100 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: <49a88133-bac4-cb8e-8435-7c5d5be1296f@cogapp.com> This may be one of those unhelpful responses which suggests doing something different instead of answering your question, so apologies in advance - I don't know how to do the thing you're trying to do. But if you have control of the database structure, could you re-engineer to do use a separate table to represent parent child relationships? This is really exactly what relational databases are designed to do, after all. That is, instead of (or as well as, if you need it for some other reason) having dpdnDnas and parDnas as columns in your main table, have a separate table with those columns. Then your query is something like SELECT uniqDna, stuff, parDnas FROM theTABLE, relatTable WHERE relatTable.parDnas = theTABLE.uniDna HTH, and apologies if it's something you've already rejected, Ben On 08/09/2016 18:16, Dr. Hawkins wrote: > I've been trying to wrap my head around this query for weeks, and hope > someone can point out what I'm missing. > > In my table, the main key is uniqDna, an integer. There can also be > dpdnDnas and parDnas, the uniqDna of a dependent or parent dna. > > I'm not seeking any good way to keep the dndDnas and parDnas fields other > than as space departed lists. > > I'm trying to find a sane way to SELECT upon values contained in one of > those lists. (if there could only be one value, this would be trivial). > > The closest I'm seeing is making sure that there are spaces before and > after the list, so uniqDna 2 might have dpdDnas " 6 7 8 ", and then "SELECT > uniqDna, stuff FROM theTable WHERE parDnas LIKE '% 2 %'"--but this has to > be done one by one. > > What I'm looking for is something like > > "SELECT uniqDna, stuff, parDnas FROM theTABLE WHERE > some_other_entry.parDnas CONTAINS uniqDna" > > That is, a list of all the uniqDna that have parents, with there associated > parDnas > > As i understand it, IS IN () needs a list of literals, rather than another > query result. > > I'm looking at tables with dozens, not thousands, of entries. Hundreds > *might* be conceivable as a rare case, but isn't a concern for general use. > > I'm assuming that some kind of JOIN might do this, but the problem still > remains of the operator to use to check for an integer value in one column > being one of the words in another . . . > From ambassador at fourthworld.com Thu Sep 8 17:21:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 14:21:56 -0700 Subject: new IDE command for revDocumentationGo? Message-ID: <4f2b899d-717c-5d28-4678-70ed30bb0fb0@fourthworld.com> In IDE < 8.0 the revDocumentationGo command could be used to open the Dictionary to a specific entry, e.g.: revDocumentationGo "securityPermissions" What is the current command for this in v8.0? Where can I find a guide to such IDE commands and functions? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Thu Sep 8 17:27:32 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 8 Sep 2016 21:27:32 +0000 Subject: SSL with "accept" command? In-Reply-To: <3a0a8e7e-690a-5214-ac96-ac1a6accae6e@sonic.net> References: <012899C8-BAA8-4FCA-8670-9DC76D357C3B@iotecdigital.com> <3a0a8e7e-690a-5214-ac96-ac1a6accae6e@sonic.net> Message-ID: <2BC86569-63A8-4C3B-BDA3-D809FCB303B7@iotecdigital.com> Somewhat oversimplified to say the least. :-) Bob S On Sep 7, 2016, at 20:03 , ahsoftware > wrote: OpenSSL 2.0 was apparently compromised a couple years back (if you recall the heartbleed bug) and TLS got caught up in it because TLS 1.0 was written to fall back on SSL if TLS failed. Now we have SSL 1.0, 2.0 and 3.0, as well as TLS 1.0, 1.1 and 1.2. Additionally, there was an update to TLS 1.2 to no longer fall back on SSL. Heh. https://xkcd.com/1354/ From bobsneidar at iotecdigital.com Thu Sep 8 17:30:16 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 8 Sep 2016 21:30:16 +0000 Subject: SSL with "accept" command? In-Reply-To: References: Message-ID: I got this back: Robert, That tool is written using the .Net framework. The framework has an SSLStream class built in that allows you to easily secure any stream. If you are looking for a cross platform solution you might want to look at (SSLSocketFactory) for java or Open SSL if native. -- Bill Volz SocketLabs, Inc. On Sep 7, 2016, at 14:27 , Richard Gaskin > wrote: I know it's a long shot, but I wonder if perhaps any of the goodies in the next network externals have anything that can help with this request: http://quality.livecode.com/show_bug.cgi?id=16871 From monte at appisle.net Thu Sep 8 17:51:54 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 07:51:54 +1000 Subject: new IDE command for revDocumentationGo? In-Reply-To: <4f2b899d-717c-5d28-4678-70ed30bb0fb0@fourthworld.com> References: <4f2b899d-717c-5d28-4678-70ed30bb0fb0@fourthworld.com> Message-ID: <284B18A3-49EB-4CF0-BC85-F3B2FDB57B0A@appisle.net> > On 9 Sep 2016, at 7:21 AM, Richard Gaskin wrote: > > In IDE < 8.0 the revDocumentationGo command could be used to open the Dictionary to a specific entry, e.g.: > > revDocumentationGo ?securityPermissions" > > What is the current command for this in v8.0? revIDEGoToLCSDictionaryEntry "securityPermissions","property" > > Where can I find a guide to such IDE commands and functions? Nowhere, unfortunately. Eventually all IDE APIs will have lcdoc comments and we will generate a separate dictionary for it. It would be a great help if anyone finding a useful IDE API would add a lcdoc comment and contribute it. Cheers Monte From ahsoftware at sonic.net Thu Sep 8 18:09:54 2016 From: ahsoftware at sonic.net (mwieder) Date: Thu, 8 Sep 2016 15:09:54 -0700 (PDT) Subject: new IDE command for revDocumentationGo? In-Reply-To: <4f2b899d-717c-5d28-4678-70ed30bb0fb0@fourthworld.com> References: <4f2b899d-717c-5d28-4678-70ed30bb0fb0@fourthworld.com> Message-ID: <1473372594383-4708227.post@n4.nabble.com> Here's what I do: local tText, tData put the clicktext into tText if the version > 7 then put ideDocsFetchLCSData(tText) into tData if tData is not empty then revIDEGoToLCSDictionaryEntry tText, tData[1]["type"] end if else revDocumentationGo tText end if -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/new-IDE-command-for-revDocumentationGo-tp4708223p4708227.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Thu Sep 8 18:19:11 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 8 Sep 2016 22:19:11 +0000 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: I beg to differ. Sometimes lists are the best way to do it. I have a column that can contain any combination of 3 values: customer, site, and IT or nothing at all. I use vert bars as delimiter, so my query is ex. "... where contacttype LIKE '%|site|%'". I also have another column where a contact can be linked to several different sites. So "... where sited LIKE '%|1546|%'". This is a MUCH simpler way of managing a list of possible values without using lookup tables and joins. I am not an SQL guru and few and far between are the times I ever actually have to craft a join. If I need relational data, I pull the data into Livecode as arrays and do multiple queries on the chid tables if necessary. I understand this is not efficient for large datasets. I think often if I am having a problem developing a query, it is because I haven't created the database structure very well. Bob S > On Sep 8, 2016, at 11:42 , Peter Haworth wrote: > > Never a good idea to put lists of items into a single column. If you need > that capability, best to define another table with uniqdna column as a > foreign key to your main table and a column to hold a single pardna, then > have 1 row for each uniqdna/pardna pair. With thst structure the query is > just a matter of a simple join between the two tables. > > On Thu, Sep 8, 2016 at 11:23 AM Mike Kerner > wrote: > >> I would make IS IN work, and do it in two queries, OR, in the case where >> you have something less than 10k values, just build a container and chunk >> it. If that wasn't an option, I'd N:N it, and just add the extra tables >> and a join. >> >> On Thu, Sep 8, 2016 at 1:16 PM, Dr. Hawkins wrote: >> >>> I've been trying to wrap my head around this query for weeks, and hope >>> someone can point out what I'm missing. >>> >>> In my table, the main key is uniqDna, an integer. There can also be >>> dpdnDnas and parDnas, the uniqDna of a dependent or parent dna. >>> >>> I'm not seeking any good way to keep the dndDnas and parDnas fields other >>> than as space departed lists. >>> >>> I'm trying to find a sane way to SELECT upon values contained in one of >>> those lists. (if there could only be one value, this would be trivial). >>> >>> The closest I'm seeing is making sure that there are spaces before and >>> after the list, so uniqDna 2 might have dpdDnas " 6 7 8 ", and then >> "SELECT >>> uniqDna, stuff FROM theTable WHERE parDnas LIKE '% 2 %'"--but this has to >>> be done one by one. >>> >>> What I'm looking for is something like >>> >>> "SELECT uniqDna, stuff, parDnas FROM theTABLE WHERE >>> some_other_entry.parDnas CONTAINS uniqDna" >>> >>> That is, a list of all the uniqDna that have parents, with there >> associated >>> parDnas >>> >>> As i understand it, IS IN () needs a list of literals, rather than >> another >>> query result. >>> >>> I'm looking at tables with dozens, not thousands, of entries. Hundreds >>> *might* be conceivable as a rare case, but isn't a concern for general >> use. >>> >>> I'm assuming that some kind of JOIN might do this, but the problem still >>> remains of the operator to use to check for an integer value in one >> column >>> being one of the words in another . . . >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 8 18:24:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 15:24:31 -0700 Subject: new IDE command for revDocumentationGo? In-Reply-To: <1473372594383-4708227.post@n4.nabble.com> References: <1473372594383-4708227.post@n4.nabble.com> Message-ID: <7978929d-e74c-be90-19ff-0e3389873947@fourthworld.com> Mark Wieder wrote: > Here's what I do: > > local tText, tData > put the clicktext into tText > if the version > 7 then > put ideDocsFetchLCSData(tText) into tData > if tData is not empty then > revIDEGoToLCSDictionaryEntry tText, tData[1]["type"] > end if > else > revDocumentationGo tText > end if Nicely done - thanks Mark, Monte. I discovered the ideDocsFetchLCSData function earlier today while poking around. I like the array structure, very handy if you need that sort of info. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Thu Sep 8 18:30:21 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 08:30:21 +1000 Subject: Script Editor focus (was Re: Threading (plus random question)_ In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <5c9427cb-0ee7-e395-c69c-3885e0dd179e@cogapp.com> Message-ID: <614B7CF0-0FA8-44B4-95ED-C1C282ED1045@appisle.net> > On 9 Sep 2016, at 5:14 AM, Monte Goulding wrote: > > Actually that annoys me too. I've had multiple times where I thought the it didn't open but actually it was just behind a stack. I'll see if I can find some time to look into that. Easily fixed: https://github.com/livecode/livecode-ide/pull/1381 From dochawk at gmail.com Thu Sep 8 18:37:58 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 8 Sep 2016 15:37:58 -0700 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: On Thu, Sep 8, 2016 at 11:22 AM, Mike Kerner wrote: > I would make IS IN work, and do it in two queries, > Something like put revDataFromQuery(tab,vtab, theDb,"SELECT uniqDna, parDnas FROM theTable WHERE (parDnas <>'');" into theData split theData by vtab and tab or would > OR, in the case where > you have something less than 10k values, just build a container and chunk > it. > SELECT p.uniqDna , d.uniqDna, d.parDnas d.stuff FROM theTable d INNER JOING theTable p ON p.uniqDna IS IN (d.parDnas) Or can I even use IS IN in a join? If that wasn't an option, I'd N:N it, and just add the extra tables > and a join. > On Thu, Sep 8, 2016 at 1:10 PM, Ben Rubinstein wrote: > But if you have control of the database structure, could you re-engineer > to do use a separate table to represent parent child relationships? This is > really exactly what relational databases are designed to do, after all. Mathematically, I think this increases the complexity by a t least one, and possibly two orders . . . In :memory:, sqlite has two main tables for each "debtor". One, the dinfo table, has a few entries per row (key, value, default value, and a couple of others), and has a few hundred entities. The second has the debts and assets (dna), with typically a couple of dozen to a few dozen rows, but with close to 100 different columns of data. Both tables have columns to indicate change. Periodically, the changed elements are stored in the postres database (local or remote), and any changed data there comes back. In fact, the data just written comes right back. In the "remote" database, I simply store the INSERT statements to recreate the entry in memory. I use almost no relational features (perhaps none); this turned out to be a perfect solution to synchronizing multiple users working on the same file. The most recent change (by the postgres clock) governs (for my application, if conflicting values were to be entered, the attorney would be dealing with far more serious problems than software can deal with). I suppose there could be a third table, but I'd need a clean way to update the remote. (The uniq identifiers are actually created there, with only a temporary id until write/writeback). I *think* it could be done in roughly the same way, but I haven't hashed it out. On Thu, Sep 8, 2016 at 3:19 PM, Bob Sneidar wrote: > I beg to differ. Sometimes lists are the best way to do it. I have a > column that can contain any combination of 3 values: customer, site, and IT > or nothing at all. I use vert bars as delimiter, so my query is ex. "... > where contacttype LIKE '%|site|%'". I also have another column where a > contact can be linked to several different sites. So "... where sited LIKE > '%|1546|%'". This is a MUCH simpler way of managing a list of possible > values without using lookup tables and joins. > This is sort of what I"m thinking. And maybe commas for the separators, to feed straight to IS IN if that is allowed (I don't have addresses, just integers). Do you include a delimiter after your first and last entries? It seems clumsy, but I don't see a way around it with LIKE -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Sep 8 18:39:33 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 8 Sep 2016 17:39:33 -0500 Subject: Threading (plus random question) In-Reply-To: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> References: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> Message-ID: On 9/8/16 3:08 PM, Monte Goulding wrote: > >> On 9 Sep 2016, at 5:38 AM, Richard Gaskin >> wrote: >> I wonder if it makes sense to add some sort of option to stop the >> real-time reformatting so I can type at my natural speed without >> waiting for LC to finish figuring out how it thinks my typing >> should be altered. >> >> It's not that I type that fast, but the SE works *really* hard >> trying to second-guess what I'm doing. > > > I think it? the colorization that is causing you pain here rather > than the script editor actually doing anything significant. I'm sure it's the colorization. Being old-school, I don't use it and I see no delays. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Sep 8 18:53:15 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Sep 2016 15:53:15 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: J. Landman Gay wrote: > On 9/8/16 3:08 PM, Monte Goulding wrote: >> >>> On 9 Sep 2016, at 5:38 AM, Richard Gaskin >>> wrote: >>> I wonder if it makes sense to add some sort of option to stop the >>> real-time reformatting so I can type at my natural speed without >>> waiting for LC to finish figuring out how it thinks my typing >>> should be altered. >>> >>> It's not that I type that fast, but the SE works *really* hard >>> trying to second-guess what I'm doing. >> >> I think it? the colorization that is causing you pain here rather >> than the script editor actually doing anything significant. > > I'm sure it's the colorization. Being old-school, I don't use it and I > see no delays. I don't use colorization, but typing in the SE isn't nearly as snappy as typing in any other field. It's gotten better since v7, but not quite up to v6 speeds. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Thu Sep 8 18:57:49 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 08:57:49 +1000 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <5412B702-2DCF-4EE7-B689-EED923203553@appisle.net> > On 9 Sep 2016, at 8:53 AM, Richard Gaskin wrote: > > I don't use colorization, but typing in the SE isn't nearly as snappy as typing in any other field. It's gotten better since v7, but not quite up to v6 speeds. I?m not actually sure if it makes any difference if you use colorization or not. The mutated lines still get tokenized as you type. I?ll check on that but regardless we need it to have reasonable performance with or without colorization. Cheers Monte From monte at appisle.net Thu Sep 8 19:12:21 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 09:12:21 +1000 Subject: Threading (plus random question) In-Reply-To: <5412B702-2DCF-4EE7-B689-EED923203553@appisle.net> References: <5412B702-2DCF-4EE7-B689-EED923203553@appisle.net> Message-ID: <9C815750-815E-427E-B0B8-1E715B5F27C5@appisle.net> > On 9 Sep 2016, at 8:57 AM, Monte Goulding wrote: > > I?m not actually sure if it makes any difference if you use colorization or not. The mutated lines still get tokenized as you type. I?ll check on that but regardless we need it to have reasonable performance with or without colorization. Yep, still tokenized? obviously this is low hanging fruit for optimization where users don?t want colorization From dochawk at gmail.com Thu Sep 8 19:13:20 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 8 Sep 2016 16:13:20 -0700 Subject: Debugger forgetting soft breakpoints In-Reply-To: <10fb2158-baef-55fa-dbf7-630ea93cedbf@hyperactivesw.com> References: <786BDB17-8D66-42EF-90FC-21EE63C2C57F@iotecdigital.com> <15701619818-20aa-12b14@webprd-a03.mail.aol.com> <11338170-F166-4F0D-837A-6AF421C71DED@appisle.net> <00C3A9AF-D1A0-4F9F-90B3-5D69381A2C5D@iotecdigital.com> <056eaab7-1c55-1922-39de-77482c97a912@cogapp.com> <15706371e10.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57b3bac5-f4b4-3c3d-5553-a3dd15d99da8@hyperactivesw.com> <10fb2158-baef-55fa-dbf7-630ea93cedbf@hyperactivesw.com> Message-ID: On Thu, Sep 8, 2016 at 11:25 AM, J. Landman Gay wrote: > On 9/7/16 3:26 PM, Monte Goulding wrote: > >> ay, because nobody did any work on the debugger for 8.1 so it?s good >> that it didn?t break all by itself ;-) >> > > *I* broke all by myself. I wish I could blame it on you guys. :) Blame me; I've been breaking it seven ways for Sunday since I started using it. About once a day, I quit Livecode simply to reset it . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Sep 8 19:14:41 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 8 Sep 2016 16:14:41 -0700 Subject: Threading (plus random question) In-Reply-To: <9C815750-815E-427E-B0B8-1E715B5F27C5@appisle.net> References: <5412B702-2DCF-4EE7-B689-EED923203553@appisle.net> <9C815750-815E-427E-B0B8-1E715B5F27C5@appisle.net> Message-ID: On Thu, Sep 8, 2016 at 4:12 PM, Monte Goulding wrote: > Yep, still tokenized? obviously this is low hanging fruit for optimization > where users don?t want colorization > That used to be the only use I saw for color displays, so I generally stayed to monochrome, which was sharper. Then friends and relatives started sending pictures of children . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ahsoftware at sonic.net Thu Sep 8 21:52:45 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Thu, 8 Sep 2016 18:52:45 -0700 Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: References: <1473345334720-4708176.post@n4.nabble.com> <0cff3159-ba21-a151-7889-4bd17c6f5bbe@fourthworld.com> Message-ID: <69f323dd-589a-f356-907f-b09f818d376f@sonic.net> On 09/08/2016 12:50 PM, Trevor DeVore wrote: > PUT and DELETE have been around for as long as I can remember. I used them > years ago with a web service. > > >> I'm assuming DELETE works the same, yes the DELETE verb, of course, requires that the server you're talking to supports it for the service you're using. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Sep 8 21:57:25 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Thu, 8 Sep 2016 18:57:25 -0700 Subject: SSL with "accept" command? In-Reply-To: <2BC86569-63A8-4C3B-BDA3-D809FCB303B7@iotecdigital.com> References: <012899C8-BAA8-4FCA-8670-9DC76D357C3B@iotecdigital.com> <3a0a8e7e-690a-5214-ac96-ac1a6accae6e@sonic.net> <2BC86569-63A8-4C3B-BDA3-D809FCB303B7@iotecdigital.com> Message-ID: On 09/08/2016 02:27 PM, Bob Sneidar wrote: > Somewhat oversimplified to say the least. :-) Not really. The fix was just to return only the proper amount. It's a one-line code change to the heartbeat algorithm. Voila - no more buffer overflow. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Sep 8 21:58:55 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Thu, 8 Sep 2016 18:58:55 -0700 Subject: SSL with "accept" command? In-Reply-To: References: Message-ID: On 09/08/2016 02:30 PM, Bob Sneidar wrote: > If you are looking for a cross platform solution you might want to look at (SSLSocketFactory) for java or Open SSL if native. Thanks for that. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Sep 8 22:01:28 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Thu, 8 Sep 2016 19:01:28 -0700 Subject: Threading (plus random question) In-Reply-To: <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> References: <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> Message-ID: On 09/08/2016 09:40 AM, Richard Gaskin wrote: > Control-Tab is handy on a Mac, but the rest of the world has been using > it to switch applications for nearly two decades. That's alt-tab. (Command-tab on macs). I've had control-tab integrated into PowerTools for so long I didn't realize the IDE didn't support it any more. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Sep 8 22:03:43 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Thu, 8 Sep 2016 19:03:43 -0700 Subject: Forum digests In-Reply-To: References: <1570aa428a8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <64466b31-c72c-2297-970a-7c86c2ebff24@sonic.net> On 09/08/2016 11:29 AM, J. Landman Gay wrote: > Thanks. Oddly enough, after I posted, I got yesterday's digest (or maybe > it was today's, I haven't read it yet.) My server had an issue yesterday > which is probably the cause. I also just got a few duplicate list emails > from yesterday too. > > So, the problem is me again. > I think the listserver must have burped because I also go a slew of duplicate emails from the day before. -- Mark Wieder ahsoftware at gmail.com From lan.kc.macmail at gmail.com Fri Sep 9 00:42:09 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 9 Sep 2016 12:42:09 +0800 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: On Fri, Sep 9, 2016 at 6:37 AM, Dr. Hawkins wrote: > > Do you include a delimiter after your first and last entries? It seems > clumsy, but I don't see a way around it with LIKE WHERE dpdDnas LIKE '7,%' OR dpdDnas LIKE '%,7,%' OR dpdDnas LIKE '%,7' I've found that leaving the list as a 'natural' LC List creates less headaches down the track than the SQL triplicate OR statement. From bernd.niggemann at uni-wh.de Fri Sep 9 01:51:52 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 8 Sep 2016 22:51:52 -0700 (PDT) Subject: Threading (plus random question) In-Reply-To: References: <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> Message-ID: <1473400312807-4708244.post@n4.nabble.com> Hi, currently on a Mac command-alt-tab switches between browse and edit mode. I use it all the time. If I remember correctly keyboard switching between edit and browse mode was broken for a while and it took Mark Waddingham some magic to implement it in the refactored Mac engine a while to get it working. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Threading-plus-random-question-tp4708161p4708244.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Fri Sep 9 02:39:48 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 9 Sep 2016 06:39:48 +0000 Subject: Threading (plus random question) In-Reply-To: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> References: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> Message-ID: <3ABFF1E7-59E0-4B0F-98BB-5B075FB05860@hindu.org> "happy for idea" this may be OT, and I'm sure it's on your list Code folding in the SE! Collapse all handlers and functions? On 9/8/16, 10:08 AM, "use-livecode on behalf of Monte Goulding" wrote: Anyway, it?s bit of a long term when I have time project to sort that out so I?m happy for ideas. From monte at appisle.net Fri Sep 9 03:06:13 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 9 Sep 2016 17:06:13 +1000 Subject: Threading (plus random question) In-Reply-To: <3ABFF1E7-59E0-4B0F-98BB-5B075FB05860@hindu.org> References: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> <3ABFF1E7-59E0-4B0F-98BB-5B075FB05860@hindu.org> Message-ID: <9D9F04F7-64B3-4D04-AA62-4C2E923A066B@appisle.net> I think this would require a complete rewrite of the script editor so it's not going to be on the agenda for a while. Cheers Monte Sent from my iPhone > On 9 Sep 2016, at 4:39 PM, Sannyasin Brahmanathaswami wrote: > > Code folding in the SE! Collapse all handlers and functions? From MikeKerner at roadrunner.com Fri Sep 9 08:31:56 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 9 Sep 2016 08:31:56 -0400 Subject: Threading (plus random question) In-Reply-To: <9D9F04F7-64B3-4D04-AA62-4C2E923A066B@appisle.net> References: <62948F69-03F9-49EC-AACD-1E81983846DF@appisle.net> <3ABFF1E7-59E0-4B0F-98BB-5B075FB05860@hindu.org> <9D9F04F7-64B3-4D04-AA62-4C2E923A066B@appisle.net> Message-ID: STOP SANNYASIN! I have a whole list of SE improvements, so don't start! On Fri, Sep 9, 2016 at 3:06 AM, Monte Goulding wrote: > I think this would require a complete rewrite of the script editor so it's > not going to be on the agenda for a while. > > Cheers > > Monte > > Sent from my iPhone > > > On 9 Sep 2016, at 4:39 PM, Sannyasin Brahmanathaswami > wrote: > > > > Code folding in the SE! Collapse all handlers and functions? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Fri Sep 9 08:34:39 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 9 Sep 2016 08:34:39 -0400 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: If you really only have hundreds of records, and you aren't doing many queries as part of the same operation, you have spent more time fighting through this than you will save in the rest of your life running it. On Fri, Sep 9, 2016 at 12:42 AM, Kay C Lan wrote: > On Fri, Sep 9, 2016 at 6:37 AM, Dr. Hawkins wrote: > > > > Do you include a delimiter after your first and last entries? It seems > > clumsy, but I don't see a way around it with LIKE > > WHERE dpdDnas LIKE '7,%' OR dpdDnas LIKE '%,7,%' OR dpdDnas LIKE '%,7' > > I've found that leaving the list as a 'natural' LC List creates less > headaches down the track than the SQL triplicate OR statement. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pmbrig at gmail.com Fri Sep 9 09:19:19 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 9 Sep 2016 09:19:19 -0400 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: I have this in my frontscript, so I can use control-tab to switch modes: on tabkey if "revNewScriptEditor" is in line 1 of the openstacks then pass tabkey if the controlkey is down then if the tool = "browse tool" then set the tool to "pointer tool" else set the tool to "browse ttol" end if else pass tabkey end if end tabkey Works on a Mac. -- Peter Peter M. Brigham pmbrig at gmail.com On Sep 8, 2016, at 12:23 PM, Mike Kerner wrote: > The thing I don't like about ctrl/cmd 0 and 9 is that it's an awkward reach > when you're trying to do it by touch, and if you're right-handed, you can't > do it while having your right on the mouse or trackpad, either. ctrl/cmd-` > would be better IMHO, not that I miss HC's cmd-tab, or anything. I'd also > like it to be a toggle, but I can understand folks wanting it to be two > separate keys. > > On Thu, Sep 8, 2016 at 12:02 PM, Devin Asay wrote: > >> >>> On Sep 8, 2016, at 8:53 AM, ahsoftware wrote: >>> >>> On 09/08/2016 06:52 AM, Mike Kerner wrote: >>> >>>> ? Shortcut to switch between browse and pointer >>> >>> control-tab? >> >> And Cmd/cntl - 9 for Browse/run mode and cmd/cntl - 0 for pointer/edit >> mode. >> >> Devin >> >> >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From preid at reidit.co.uk Fri Sep 9 09:44:06 2016 From: preid at reidit.co.uk (Peter Reid) Date: Fri, 9 Sep 2016 14:44:06 +0100 Subject: vCard/vCal Parsing? Message-ID: <17557216-3AC4-4BB4-B5F1-0A7FC1675E38@reidit.co.uk> Has anyone got a library for parsing vCard and vCal files? I found some forum chat from 2006 about a library called vObjectPackage developed by Andre Garzia but the links to this are dead. Does anyone know whether this is still available or whether there are alternatives? Thanks Peter -- Peter Reid Loughborough, UK From ambassador at fourthworld.com Fri Sep 9 10:57:06 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 9 Sep 2016 07:57:06 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <5034ecb5-2d18-8c82-26a8-a62ef46228f0@fourthworld.com> Mark Wieder wrote: > On 09/08/2016 09:40 AM, Richard Gaskin wrote: > >> Control-Tab is handy on a Mac, but the rest of the world has been using >> it to switch applications for nearly two decades. > > That's alt-tab. (Command-tab on macs). Indeed it is. My bad. Ctrl-Tab is used for navigation, and these days only at the application level, e.g. switching between tabs in a browser, or between worksheets in a spreadsheet, or between open documents in Visual Studio. In the older Windows MDI UI it was the the OS-provided shortcut for moving between sub-windows within the parent window. But thankfully MDI was retired long ago and nothing anyone needs to think about today. Since modern use seems to be application-defined, the only conflict we have is with its current use in LiveCode: as with browsers, the LC Script Editor supports Ctrl-Tab to switch left-to-right between tabs (with Ctrl-Shift-Tab to navigate right-to-left between tabs) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Sep 9 11:02:38 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 9 Sep 2016 08:02:38 -0700 Subject: vCard/vCal Parsing? In-Reply-To: <17557216-3AC4-4BB4-B5F1-0A7FC1675E38@reidit.co.uk> References: <17557216-3AC4-4BB4-B5F1-0A7FC1675E38@reidit.co.uk> Message-ID: <8da56416-afb0-506f-565d-1276c15dc456@fourthworld.com> Peter Reid wrote: > Has anyone got a library for parsing vCard and vCal files? I found > some forum chat from 2006 about a library called vObjectPackage > developed by Andre Garzia but the links to this are dead. Does > anyone know whether this is still available or whether there are > alternatives? 1.: 2.: :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rodmccall491 at gmail.com Fri Sep 9 11:22:53 2016 From: rodmccall491 at gmail.com (Rod McCall) Date: Fri, 9 Sep 2016 17:22:53 +0200 Subject: LiveCode Server Message-ID: Dear All, I am considering using LiveCode server over my current platform web2py as LiveCode has some advantages when used in other parts of the project. I wonder, what are people's experiences so far of using LiveCode server? In this case the load will be quite low (although some simultaneous users may be around from time to time), but it should be secure and it will predominantly be used to provide webservices via Json. Any views welcome on aspects such as reliability, concurrency and security... Cheers, Rod Rod McCall Researcher: HCI, Augmented Reality, Games and In-car Systems www.rodmc.com twitter: rodlux From dochawk at gmail.com Fri Sep 9 12:40:06 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 9 Sep 2016 09:40:06 -0700 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: On Fri, Sep 9, 2016 at 5:34 AM, Mike Kerner wrote: > If you really only have hundreds of records, and you aren't doing many > queries as part of the same operation, you have spent more time fighting > through this than you will save in the rest of your life running it. > Absolutely. It's not about performance, but about accurately keeping and retrieving these relations in a manner consistent with my storage model . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Fri Sep 9 15:18:03 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 9 Sep 2016 15:18:03 -0400 Subject: Threading (plus random question) In-Reply-To: <5034ecb5-2d18-8c82-26a8-a62ef46228f0@fourthworld.com> References: <5034ecb5-2d18-8c82-26a8-a62ef46228f0@fourthworld.com> Message-ID: But it looks like line 1 of his script handles that. On Fri, Sep 9, 2016 at 10:57 AM, Richard Gaskin wrote: > Mark Wieder wrote: > >> On 09/08/2016 09:40 AM, Richard Gaskin wrote: >> >> Control-Tab is handy on a Mac, but the rest of the world has been using >>> it to switch applications for nearly two decades. >>> >> >> That's alt-tab. (Command-tab on macs). >> > > Indeed it is. My bad. > > Ctrl-Tab is used for navigation, and these days only at the application > level, e.g. switching between tabs in a browser, or between worksheets in a > spreadsheet, or between open documents in Visual Studio. > > In the older Windows MDI UI it was the the OS-provided shortcut for moving > between sub-windows within the parent window. But thankfully MDI was > retired long ago and nothing anyone needs to think about today. > > Since modern use seems to be application-defined, the only conflict we > have is with its current use in LiveCode: as with browsers, the LC Script > Editor supports Ctrl-Tab to switch left-to-right between tabs (with > Ctrl-Shift-Tab to navigate right-to-left between tabs) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Fri Sep 9 16:05:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 9 Sep 2016 13:05:44 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: <32bc514c-c5f5-635b-be43-285304e578de@fourthworld.com> Mike Kerner wrote: > On Fri, Sep 9, 2016 at 10:57 AM, Richard Gaskin wrote: > >> Mark Wieder wrote: >> >>> On 09/08/2016 09:40 AM, Richard Gaskin wrote: >>>> Control-Tab is handy on a Mac, but the rest of the world has been >>>> using it to switch applications for nearly two decades. >>> >>> That's alt-tab. (Command-tab on macs). >> >> Indeed it is. My bad. ... >> Since modern use seems to be application-defined, the only conflict >> we have is with its current use in LiveCode: as with browsers, the >> LC Script Editor supports Ctrl-Tab to switch left-to-right between >> tabs (with Ctrl-Shift-Tab to navigate right-to-left between tabs) > > But it looks like line 1 of his script handles that. Given that Mark's very thorough it's not surprising he's accounted for that. That's the point I was raising, about diligence: Any shortcut conflict with an existing feature need not absolutely prevent a plugin from overloading it. But when we're looking at the more common shortcuts (such as those with a single modifier key, like Ctrl-Tab), we need to study the existing feature set well enough to know where conflicts may occur, and then be prepared to write additional code to accommodate those cases. Plugins are easy to write; plugins with features that can be triggered from common single-modifier-key shortcuts, sometimes not so much. For that we need Wieder-quality thoroughness. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Fri Sep 9 17:51:28 2016 From: ahsoftware at sonic.net (mwieder) Date: Fri, 9 Sep 2016 14:51:28 -0700 (PDT) Subject: Threading (plus random question) In-Reply-To: <32bc514c-c5f5-635b-be43-285304e578de@fourthworld.com> References: <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> <1570aa881f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <117a3b94-f5e1-3793-b88c-7670d8725c29@fourthworld.com> <5034ecb5-2d18-8c82-26a8-a62ef46228f0@fourthworld.com> <32bc514c-c5f5-635b-be43-285304e578de@fourthworld.com> Message-ID: <1473457888137-4708257.post@n4.nabble.com> > Given that Mark's very thorough it's not surprising he's accounted for that. That's as may be, but the code snippet was actually Peter Brigham's, so he gets credit for the post. -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Threading-plus-random-question-tp4708161p4708257.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Fri Sep 9 18:55:36 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 9 Sep 2016 22:55:36 +0000 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: I got around the need for or-liking (I just made that up) by making sure the first (and last??) item of a list was blank. Ex. "|14|28|763|" If you do this, you can always look for LIKE '%|763|&'. Of course we know that to Livecode, a trailing delimiter does NOT mean the last item is blank, but Sequel doesn't know that! Bob S On Sep 8, 2016, at 21:42 , Kay C Lan > wrote: WHERE dpdDnas LIKE '7,%' OR dpdDnas LIKE '%,7,%' OR dpdDnas LIKE '%,7' From bobsneidar at iotecdigital.com Fri Sep 9 18:56:38 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 9 Sep 2016 22:56:38 +0000 Subject: SQL joining from list of values to match single value? In-Reply-To: References: Message-ID: <9E1FE66E-3FED-4F0B-860C-71492E6FB7E2@iotecdigital.com> Correction: LIKE '%|763|%' On Sep 9, 2016, at 15:55 , Bob Sneidar > wrote: LIKE '%|763|&' From bobsneidar at iotecdigital.com Fri Sep 9 19:00:11 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 9 Sep 2016 23:00:11 +0000 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: I bet that is why you could never get the browse part to work. ;-) Bob S On Sep 9, 2016, at 06:19 , Peter M. Brigham > wrote: set the tool to "browse ttol" From preid at reidit.co.uk Sat Sep 10 06:28:01 2016 From: preid at reidit.co.uk (Peter Reid) Date: Sat, 10 Sep 2016 11:28:01 +0100 Subject: use-livecode Digest, Vol 156, Issue 20 In-Reply-To: References: Message-ID: <096413D0-0B2D-4AF8-86CD-FE4442F275F9@reidit.co.uk> Hi Richard Very good - informative and humorous! Peter -- Peter Reid Loughborough, UK > On 10 Sep 2016, at 11:00am, use-livecode-request at lists.runrev.com wrote: > > Date: Fri, 9 Sep 2016 08:02:38 -0700 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: vCard/vCal Parsing? > Message-ID: <8da56416-afb0-506f-565d-1276c15dc456 at fourthworld.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Peter Reid wrote: > >> Has anyone got a library for parsing vCard and vCal files? I found >> some forum chat from 2006 about a library called vObjectPackage >> developed by Andre Garzia but the links to this are dead. Does >> anyone know whether this is still available or whether there are >> alternatives? > > 1.: > > > 2.: > > > :) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Sat Sep 10 07:13:38 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 10 Sep 2016 07:13:38 -0400 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > I bet that is why you could never get the browse part to work. ;-) > > Bob S > > > On Sep 9, 2016, at 06:19 , Peter M. Brigham > wrote: > > set the tool to "browse ttol" Sometimes my typing accuracy is not tto great?. -- Peter Peter M. Brigham pmbrig at gmail.com From admin at FlexibleLearning.com Sat Sep 10 07:22:31 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 10 Sep 2016 12:22:31 +0100 Subject: vCard/vCal Parsing? Message-ID: <007001d20b55$a0430c40$e0c924c0$@FlexibleLearning.com> Peter Reid wrote: > Has anyone got a library for parsing vCard and vCal files? I found some forum > chat from 2006 about a library called vObjectPackage developed by Andre > Garzia but the links to this are dead. Does anyone know whether this is still > available or whether there are alternatives? > > Thanks > > Peter > -- > Peter Reid > Loughborough, UK Hi Peter VCard is a pig. I have a set of handlers that do an import and export for VCard3.0 if you want them. You will have to edit app-specific object references, but they are pretty obvious. I cannot help you with vCal. If interested, perhaps contact me off-list. Best regards Hugh Senior FLCo From richmondmathewson at gmail.com Sat Sep 10 11:32:29 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 10 Sep 2016 18:32:29 +0300 Subject: clickChunk discrepancy Message-ID: <1f83c05b-d1c5-ea9c-c695-eef82bd6acdf@gmail.com> Why, if one clicks on a word (a set of chars bounded by spaces) in a standard *textField* does *clickChunk* yield that word, while in a scrolling *listField* does it yield the whole of the line? This is a problem if one wishes to know which word in a specific line in a scrolling listField an end-user has clicked. http://forums.livecode.com/viewtopic.php?f=7&t=27919 Richmond. From bonnmike at gmail.com Sat Sep 10 12:03:15 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 10 Sep 2016 10:03:15 -0600 Subject: clickChunk discrepancy In-Reply-To: <1f83c05b-d1c5-ea9c-c695-eef82bd6acdf@gmail.com> References: <1f83c05b-d1c5-ea9c-c695-eef82bd6acdf@gmail.com> Message-ID: You can turn off "list behavior" in the properties, and it will work, but even then if you still want the clicked line to be selected, you'll have to do that in code yourself. On Sat, Sep 10, 2016 at 9:32 AM, Richmond wrote: > Why, if one clicks on a word (a set of chars bounded by spaces) in a > standard *textField* > does *clickChunk* yield that word, while in a scrolling *listField* does > it yield the whole of the line? > > This is a problem if one wishes to know which word in a specific line in a > scrolling > listField an end-user has clicked. > > http://forums.livecode.com/viewtopic.php?f=7&t=27919 > > Richmond. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Sep 10 12:08:12 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 10 Sep 2016 19:08:12 +0300 Subject: clickChunk discrepancy In-Reply-To: References: <1f83c05b-d1c5-ea9c-c695-eef82bd6acdf@gmail.com> Message-ID: <94fd4eba-c9cf-34a7-4bd3-80f967d2e9e0@gmail.com> 'Twould be nice . . . if: clickChunk always yielded a 'word', and clickLine always yielded a line. Richmond. On 10.09.2016 19:03, Mike Bonner wrote: > You can turn off "list behavior" in the properties, and it will work, but > even then if you still want the clicked line to be selected, you'll have to > do that in code yourself. > > On Sat, Sep 10, 2016 at 9:32 AM, Richmond > wrote: > >> Why, if one clicks on a word (a set of chars bounded by spaces) in a >> standard *textField* >> does *clickChunk* yield that word, while in a scrolling *listField* does >> it yield the whole of the line? >> >> This is a problem if one wishes to know which word in a specific line in a >> scrolling >> listField an end-user has clicked. >> >> http://forums.livecode.com/viewtopic.php?f=7&t=27919 >> >> Richmond. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Sep 10 14:49:05 2016 From: hh at hyperhh.de (hh) Date: Sat, 10 Sep 2016 20:49:05 +0200 Subject: clickChunk discrepancy Message-ID: <68C6B4FB-0AC8-4D02-85B2-21A6A68F9E5F@hyperhh.de> > Richmond M. wrote: > 'Twould be nice . . . if: > clickChunk always yielded a 'word', and clickLine always yielded a line. This works for here in a field's script (also listField). function clickWord return word clickWordNum() of me end clickWord function clickWordNum if the clickChar is in space&tab&cr then -- exclude whitespace return 0 else return the num of words of char 1 to (word 2 of the clickCharChunk) of me end if end clickWordNum From capellan2000 at gmail.com Sat Sep 10 15:14:37 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 10 Sep 2016 15:14:37 -0400 Subject: Strategies to test stacks in different platforms Message-ID: Hi All, In this moment, I am testing an application (saved as an stack, not an executable) in Linux and Windows. As professional developers, many of you have to do this every day. Could you share some true and tried strategies to test stacks as users (not as developers) in different platforms? Thanks in advance! Al From MikeKerner at roadrunner.com Sat Sep 10 16:22:46 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 10 Sep 2016 16:22:46 -0400 Subject: Threading (plus random question) In-Reply-To: References: <6CEC8C9D-92C9-4A3E-BA73-67BEF04F64DE@appisle.net> <2f2256be-d34a-58f5-18af-eb7bcee92b74@sonic.net> Message-ID: Dumb question - is ctrl-tab supposed to switch tabs in the SE? It doesn't for me with or without this script. On Sat, Sep 10, 2016 at 7:13 AM, Peter M. Brigham wrote: > On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > > > I bet that is why you could never get the browse part to work. ;-) > > > > Bob S > > > > > > On Sep 9, 2016, at 06:19 , Peter M. Brigham pmbrig at gmail.com>> wrote: > > > > set the tool to "browse ttol" > > Sometimes my typing accuracy is not tto great?. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Sat Sep 10 16:28:32 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Sep 2016 13:28:32 -0700 Subject: List Field - Outline - Sub-Levels In-Reply-To: References: Message-ID: Sannyasin Brahmanathaswami wrote: > Has anyone wired up a script for a list field that automatically will > create outline indents with the next indent style Here's a quickie to get you started: go url "http://fourthworld.net/channels/lc/ListIndent.livecode" -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Sep 10 16:37:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Sep 2016 13:37:53 -0700 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: Mike Kerner wrote: > Dumb question - is ctrl-tab supposed to switch tabs in the SE? > It doesn't for me with or without this script. LC usually maps the Control key on other platforms to the Command key (I guess now called the Apple key) on Mac. Here I get SE tab navigation with Ctrl-Tab, since I'm in a PC and have no Command Key. Haven't tried Peter's script (my Mac is resting this afternoon) but these functions often cause confusion because on a PC ControlKey() and CommandKey() are synonymous, but IIRC on a Mac ControlKey() returns the state of the actual Control key, treating the Command key separately. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Sat Sep 10 16:47:16 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 10 Sep 2016 16:47:16 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: On a mac, ctrl-tab does not seem to be mapped to changing tabs in the SE. Cmd-tab is mapped to the application switcher. From MikeKerner at roadrunner.com Sat Sep 10 16:59:54 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 10 Sep 2016 16:59:54 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: and as long as we're on the topic, does anyone else have any interesting front/backscripts to share? On Sat, Sep 10, 2016 at 4:47 PM, Mike Kerner wrote: > On a mac, ctrl-tab does not seem to be mapped to changing tabs in the SE. > Cmd-tab is mapped to the application switcher. > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sat Sep 10 17:06:17 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 10 Sep 2016 17:06:17 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: Interesting: The shortcut is called out as command-tab and command-shift-tab in the code. I wonder why. Well, there's another community project: custom shortcuts in the various IDE elements. On Sat, Sep 10, 2016 at 4:59 PM, Mike Kerner wrote: > and as long as we're on the topic, does anyone else have any interesting > front/backscripts to share? > > On Sat, Sep 10, 2016 at 4:47 PM, Mike Kerner > wrote: > >> On a mac, ctrl-tab does not seem to be mapped to changing tabs in the >> SE. Cmd-tab is mapped to the application switcher. >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Sep 10 17:09:28 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 10 Sep 2016 16:09:28 -0500 Subject: Strategies to test stacks in different platforms In-Reply-To: References: Message-ID: <634aed49-06a4-7578-bb42-c8f3c0513073@hyperactivesw.com> On 9/10/16 2:14 PM, Alejandro Tejada wrote: > Hi All, > > In this moment, I am testing an application > (saved as an stack, not an executable) > in Linux and Windows. > > As professional developers, many of you > have to do this every day. > > Could you share some true and tried strategies > to test stacks as users (not as developers) > in different platforms? I wrote this almost 20 years ago for the AOL HC forum, but it still applies: Really the only way to test thoroughly is to find someone else to do it, someone who has never seen your stack before. As a developer, you know too much to test in an unbiased way. Also, watching a new user try to figure out what to do will tell you a lot about your interface. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sat Sep 10 17:13:23 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 10 Sep 2016 17:13:23 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: and I added a bug report. On Sat, Sep 10, 2016 at 5:06 PM, Mike Kerner wrote: > Interesting: The shortcut is called out as command-tab and > command-shift-tab in the code. I wonder why. Well, there's another > community project: custom shortcuts in the various IDE elements. > > On Sat, Sep 10, 2016 at 4:59 PM, Mike Kerner > wrote: > >> and as long as we're on the topic, does anyone else have any interesting >> front/backscripts to share? >> >> On Sat, Sep 10, 2016 at 4:47 PM, Mike Kerner >> wrote: >> >>> On a mac, ctrl-tab does not seem to be mapped to changing tabs in the >>> SE. Cmd-tab is mapped to the application switcher. >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Sat Sep 10 18:00:45 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 10 Sep 2016 15:00:45 -0700 Subject: "lightening" a color Message-ID: I am adding the ability to have multiple clients open, and want to use colors as a cue. Is there a way to "lighten" a color. That is (I suppose), to grab the numeric representation, and convert that to a much paler shade of the color? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From harrison at all-auctions.com Sat Sep 10 18:40:55 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 10 Sep 2016 18:40:55 -0400 Subject: "lightening" a color In-Reply-To: References: Message-ID: <3910E599-DEFB-4941-9A45-30C7EE4ADEBB@all-auctions.com> Have you considered just changing the border color of the object? If you made the border wider, and then changed the color a little that might be the best way to indicate to the user that they are using a different selection. It would certainly be a lot easier than changing the color of the entire beast. Hope that helps! Rick > On Sep 10, 2016, at 6:00 PM, Dr. Hawkins wrote: > > I am adding the ability to have multiple clients open, and want to use > colors as a cue. > > Is there a way to "lighten" a color. That is (I suppose), to grab the > numeric representation, and convert that to a much paler shade of the color? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sat Sep 10 19:09:24 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 11 Sep 2016 01:09:24 +0200 Subject: "lightening" a color In-Reply-To: References: Message-ID: Since white in the rgb space is made by adding max value of all three primary colours, and getting the colour will give you a list of numerical values in the form of 255,0,0 for maximum red, 0,255,0 for maximum green and 0,0,255 for maximum blue, you can always change any of these values to produce a paler shade. You can either decrease the value for the primary colour you want but this will very soon change the colour to a darker colour, or you can increase the value of the other colours. If you increase the value of the other colours, setting the different amount of these will give a different colour, not a paler shade of the original colour. If you start out with a maximum red colour (255,0,0) and change the values of green and blue to 128 each, you will get a pink colour (255,128,128). The same goes for green (128,255,128) and blue (128,128,255). The higher the value of the two colours you change, the lighter the overall result. Regards Tore > 11. sep. 2016 kl. 00.00 skrev Dr. Hawkins : > > I am adding the ability to have multiple clients open, and want to use > colors as a cue. > > Is there a way to "lighten" a color. That is (I suppose), to grab the > numeric representation, and convert that to a much paler shade of the color? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Sep 10 19:36:52 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 10 Sep 2016 19:36:52 -0400 Subject: Strategies to test stacks in different platforms Message-ID: Hi Jacque, Many Thanks for publishing a link to your webpage! After posting my first message, I found this webpage written by Devin Asay: http://revolution.byu.edu/design/InterfaceDes.php Among many useful references cited by Devin, I found this webpage: https://www.nngroup.com/articles/ten-usability-heuristics/ In Devin's webpage, there are a few dead links like: 1) http://homepage.mac.com/bradster/iarchitect/ 2) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/uidesign.asp Does exists (for stacks) a checklist that I could print and fill? A checklist similar to this, but created just for stacks: https://www.ncsu.edu/mmania/mm_docs/mm_judge_rubric2.html Many Thanks in advance! Alejandro On Sat, Sep 10, 2016, Jacqueline Landman Gay wrote: > I wrote this almost 20 years ago for the AOL HC forum, > but it still applies: > Really the only way to test thoroughly is to find > someone else to do it, someone who has never seen > your stack before. As a developer, you know > too much to test in an unbiased way. Also, watching > a new user try to figure out what to do will tell you > a lot about your interface. From hh at hyperhh.de Sat Sep 10 19:52:00 2016 From: hh at hyperhh.de (hh) Date: Sun, 11 Sep 2016 01:52:00 +0200 Subject: "lightening" a color Message-ID: Yet another option could be to set the ink of the object to "blendLighten". From scott at tactilemedia.com Sat Sep 10 21:31:41 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 10 Sep 2016 18:31:41 -0700 Subject: "lightening" a color In-Reply-To: References: Message-ID: Here's a tint function from way back. pRGB is an RGB triplet, pValue is a decimal percent value for the desired tint of the color. function colorTint pRGB, pValue -- pRGB is RGB triplet -- pValue is between 0 and 1 put pRGB into theTint repeat with N = 1 to 3 put item N of pRGB into theColorItem put round ((1- pValue) * theColorItem + (pValue * 255)) into item N of theTint end repeat return theTint end colorTint Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/10/16, 3:00 PM, "use-livecode on behalf of Dr. Hawkins" wrote: >I am adding the ability to have multiple clients open, and want to use >colors as a cue. > >Is there a way to "lighten" a color. That is (I suppose), to grab the >numeric representation, and convert that to a much paler shade of the >color? > >-- >Dr. Richard E. Hawkins, Esq. >(702) 508-8462 >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Sep 10 22:34:54 2016 From: ahsoftware at sonic.net (ahsoftware) Date: Sat, 10 Sep 2016 19:34:54 -0700 Subject: ANN: new glx2 script editor now on line Message-ID: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> Zombie alert: the dead glx2 script editor has come back to life. From the release notes: 2016.09.10 GLX2 3.0.19 Fraser Gordon and I sat down for half an hour at the LiveCode 16 conference in Edinburgh and figured out what was causing the problem with taking up the CPU cycles. The engine problem still isn't fixed, but that gave me enough knowledge of what's going on to come up with a workaround for it, so I'm bringing this project back on line. http://quality.livecode.com/show_bug.cgi?id=16880 new features: Line numbers. Yes, finally. Unit test generation. Click a command declaration, then select from the contextual menu. The tests will be created in a file named "tests.text" in the same directory as the stack file. Documentation generation. Inline javadoc-style - select from the contextual menu. Pressing enter on a compiled script closes the tab ala the built-in editor. I never thought that was a thing. bugs fixed: Lots of little things I had time to fix up while waiting. For one thing, the splitter bar between the handlers and script panels is more accessible now. known issues: Line wrapping doesn't change the line numbering. If you turn on line wrapping, the line numbers after a line wraps will be wrong. I don't currently know any way of telling when a line is being wrapped. Still some problems recognizing that text inside a block comment is not actionable. Swapping back and forth between glx2 and the IDE's script editor gets a bit wonky. Very little testing has been done on any Windows platform. If it works, it works. Also, I haven't quite figured out placement of the status bar in conjunction with Richard Gaskin's 4Wdevolution vertical menu bar. https://bitbucket.org/mwieder/glx2/downloads -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sat Sep 10 22:37:07 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 10 Sep 2016 21:37:07 -0500 Subject: "lightening" a color In-Reply-To: References: Message-ID: On 9/10/16 5:00 PM, Dr. Hawkins wrote: > Is there a way to "lighten" a color. This showed up on the list some time ago: function lightenColor origColor try repeat with i = 1 to 3 add 50 to item i of origColor if item i of origColor > 255 then put 255 into item i of origColor if item i of origColor < 0 then put 0 into item i of origColor end repeat return origColor catch tSomeErr return origColor end try end lightenColor I also made this note from StackOverflow, which I haven't quite wrapped my head around yet: For combining 2 colours using RGB values, there are 2 ways. If you need a lighter texture, the formulae you need to use is (r1, g1, b1) + (r2, g2, b2) = (min(r1+r2, 255), min(g1+g2, 255), min(b1+b2, 255)) If you need a slightly darker texture , use (r1, g1, b1) + (r2, g2, b2) = ((r1 + r2) / 2, (g1 + g2) / 2, (b1 + b2) / 2) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sat Sep 10 23:34:39 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 10 Sep 2016 23:34:39 -0400 Subject: Threading (plus random question) In-Reply-To: References: Message-ID: OK, it also turns out that there is another issue, namely that LC doesn't seem to track ctrl presses in the SE. On other platforms it looks like it treats ctrl like cmd but on the mac it just ignores it. Once I've got it tested and working on all platforms, I'll submit a pull request. There's no sense in having a shortcut on a platform that doesn't work because it conflicts with an OS shortcut. On Sat, Sep 10, 2016 at 5:13 PM, Mike Kerner wrote: > and I added a bug report. > > On Sat, Sep 10, 2016 at 5:06 PM, Mike Kerner > wrote: > >> Interesting: The shortcut is called out as command-tab and >> command-shift-tab in the code. I wonder why. Well, there's another >> community project: custom shortcuts in the various IDE elements. >> >> On Sat, Sep 10, 2016 at 4:59 PM, Mike Kerner >> wrote: >> >>> and as long as we're on the topic, does anyone else have any interesting >>> front/backscripts to share? >>> >>> On Sat, Sep 10, 2016 at 4:47 PM, Mike Kerner >>> wrote: >>> >>>> On a mac, ctrl-tab does not seem to be mapped to changing tabs in the >>>> SE. Cmd-tab is mapped to the application switcher. >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sun Sep 11 07:52:55 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 11 Sep 2016 07:52:55 -0400 Subject: message path function Message-ID: I'm trying to find out where the next "pass" goes (I'm working on the script editor, so breakpoints don't work). I don't remember there being any way to see what the next stop in the message path is (the script editor is now goverened by a pile of behavior scripts, and I am either overlooking something in one, or the next stop is some other script that I've missed). -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dunbarx at aol.com Sun Sep 11 09:11:06 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 11 Sep 2016 09:11:06 -0400 Subject: message path function In-Reply-To: References: Message-ID: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> Hi. Breakpoints don't work? Hard breakpoints? Has v.8 (?) gone that batty? But what does the "next pass" mean? Or the "next stop"? Are we talking about the message path or subsequent breakpoints in the execution flow of your handlers? Craig Newman -----Original Message----- From: Mike Kerner To: How to use LiveCode Sent: Sun, Sep 11, 2016 7:55 am Subject: message path function I'm trying to find out where the next "pass" goes (I'm working on the script editor, so breakpoints don't work). I don't remember there being any way to see what the next stop in the message path is (the script editor is now goverened by a pile of behavior scripts, and I am either overlooking something in one, or the next stop is some other script that I've missed). -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Sep 11 11:30:30 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 11 Sep 2016 11:30:30 -0400 Subject: message path function In-Reply-To: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> Message-ID: When you are debugging the script editor, things like breakpoints don't work. When I hit a "pass", figuring out who the caller was can be a little hairy. On Sun, Sep 11, 2016 at 9:11 AM, wrote: > Hi. > > > Breakpoints don't work? Hard breakpoints? Has v.8 (?) gone that batty? > > > But what does the "next pass" mean? Or the "next stop"? Are we talking > about the message path or subsequent breakpoints in the execution flow of > your handlers? > > > Craig Newman > > > > -----Original Message----- > From: Mike Kerner > To: How to use LiveCode > Sent: Sun, Sep 11, 2016 7:55 am > Subject: message path function > > I'm trying to find out where the next "pass" goes (I'm working on the > script editor, so breakpoints don't work). I don't remember there being > any way to see what the next stop in the message path is (the script editor > is now goverened by a pile of behavior scripts, and I am either overlooking > something in one, or the next stop is some other script that I've missed). > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sun Sep 11 12:02:27 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 11 Sep 2016 11:02:27 -0500 Subject: message path function In-Reply-To: References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> Message-ID: <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Did you try setting the gRevDevelopment global to true? That is supposed to allow you access to normal debugging in the IDE. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 11, 2016 10:32:22 AM Mike Kerner wrote: > When you are debugging the script editor, things like breakpoints don't > work. When I hit a "pass", figuring out who the caller was can be a little > hairy. > > On Sun, Sep 11, 2016 at 9:11 AM, wrote: > >> Hi. >> >> >> Breakpoints don't work? Hard breakpoints? Has v.8 (?) gone that batty? >> >> >> But what does the "next pass" mean? Or the "next stop"? Are we talking >> about the message path or subsequent breakpoints in the execution flow of >> your handlers? >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Mike Kerner >> To: How to use LiveCode >> Sent: Sun, Sep 11, 2016 7:55 am >> Subject: message path function >> >> I'm trying to find out where the next "pass" goes (I'm working on the >> script editor, so breakpoints don't work). I don't remember there being >> any way to see what the next stop in the message path is (the script editor >> is now goverened by a pile of behavior scripts, and I am either overlooking >> something in one, or the next stop is some other script that I've missed). >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sun Sep 11 13:34:05 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 11 Sep 2016 13:34:05 -0400 Subject: OSX/Xcode/LC Version Compatibility Panic In-Reply-To: <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <005101d20c52$b1bc6090$153521b0$@net> I just upgraded my Mac getting ready for iOS 10. I thought I remember someone having a more complete list than the one on the LC web site. My current setup (that I have been submitting apps to the app store) isn't even on the LC list. (Mavericks/Xcode 6.2/ LC 6.7.x). A list like below would be very helpful not only to me but to the newbie. OSX version / Xcode version / LC version(s) / iOS version(s) / Simulator Version(s) Does anyone have a complete matrix? I just upgraded to OSX 10.11.6. I need to use LC 6.7.x/7.1.4/8.02/8.1.0 What versions of Xcode do I need to support what versions of iOS for the 4 LC versions I am using? I'm getting everything moved to 8.x but I am not there yet. ***One customer said an app choked on iOS 10 pre-release. I am upgrading a device to iOS 10 now to see what's happening. I might have a serious issue so I want to get this Xcode/LC version thing sorted out today if possible. Thank in advance! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Sun Sep 11 15:14:16 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 11 Sep 2016 14:14:16 -0500 Subject: OSX/Xcode/LC Version Compatibility Panic In-Reply-To: <005101d20c52$b1bc6090$153521b0$@net> References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005101d20c52$b1bc6090$153521b0$@net> Message-ID: <9dc44ffa-d77f-3cef-4678-e64abb0008a8@hyperactivesw.com> On 9/11/16 12:34 PM, Ralph DiMola wrote: > A list like below would be > very helpful not only to me but to the newbie. > > OSX version / Xcode version / LC version(s) / iOS version(s) / Simulator > Version(s) > > Does anyone have a complete matrix? There is a partial list in the Release Notes. You may also have already seen this, but: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From merakosp at gmail.com Sun Sep 11 15:20:05 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 11 Sep 2016 22:20:05 +0300 Subject: OSX/Xcode/LC Version Compatibility Panic In-Reply-To: <005101d20c52$b1bc6090$153521b0$@net> References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005101d20c52$b1bc6090$153521b0$@net> Message-ID: Hi Ralph, You can see that in the Release notes. IIRC, the following holds for all the LC versions you are interested: Xcode 6.2 on MacOSX 10.9 Xcode 6.2 and 7.2 on MacOSX 10.10 Xcode 7.3 on MacOSX 10.11 Regarding the problem your customer noticed on iOS 10, I guess it is this one: http://quality.livecode.com/show_bug.cgi?id=18327 If yes, the fix is merged and it will be included in the next LC 8.1.1 RC-1 release. Best, Panos -- On Sun, Sep 11, 2016 at 8:34 PM, Ralph DiMola wrote: > I just upgraded my Mac getting ready for iOS 10. I thought I remember > someone having a more complete list than the one on the LC web site. My > current setup (that I have been submitting apps to the app store) isn't > even > on the LC list. (Mavericks/Xcode 6.2/ LC 6.7.x). A list like below would be > very helpful not only to me but to the newbie. > > OSX version / Xcode version / LC version(s) / iOS version(s) / Simulator > Version(s) > > Does anyone have a complete matrix? > > I just upgraded to OSX 10.11.6. I need to use LC 6.7.x/7.1.4/8.02/8.1.0 > What > versions of Xcode do I need to support what versions of iOS for the 4 LC > versions I am using? I'm getting everything moved to 8.x but I am not there > yet. > > ***One customer said an app choked on iOS 10 pre-release. I am upgrading a > device to iOS 10 now to see what's happening. I might have a serious issue > so I want to get this Xcode/LC version thing sorted out today if possible. > > Thank in advance! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sun Sep 11 16:26:48 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 11 Sep 2016 16:26:48 -0400 Subject: message path function In-Reply-To: <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: yes, but it makes it harder to work on other things. On Sun, Sep 11, 2016 at 12:02 PM, J. Landman Gay wrote: > Did you try setting the gRevDevelopment global to true? That is supposed > to allow you access to normal debugging in the IDE. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > > On September 11, 2016 10:32:22 AM Mike Kerner > wrote: > > When you are debugging the script editor, things like breakpoints don't >> work. When I hit a "pass", figuring out who the caller was can be a >> little >> hairy. >> >> On Sun, Sep 11, 2016 at 9:11 AM, wrote: >> >> Hi. >>> >>> >>> Breakpoints don't work? Hard breakpoints? Has v.8 (?) gone that batty? >>> >>> >>> But what does the "next pass" mean? Or the "next stop"? Are we talking >>> about the message path or subsequent breakpoints in the execution flow of >>> your handlers? >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: Mike Kerner >>> To: How to use LiveCode >>> Sent: Sun, Sep 11, 2016 7:55 am >>> Subject: message path function >>> >>> I'm trying to find out where the next "pass" goes (I'm working on the >>> script editor, so breakpoints don't work). I don't remember there being >>> any way to see what the next stop in the message path is (the script >>> editor >>> is now goverened by a pile of behavior scripts, and I am either >>> overlooking >>> something in one, or the next stop is some other script that I've >>> missed). >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dfepstein at comcast.net Sun Sep 11 17:46:31 2016 From: dfepstein at comcast.net (David Epstein) Date: Sun, 11 Sep 2016 17:46:31 -0400 Subject: getProp puzzle Message-ID: <8B0B01C8-1F8C-46DD-80E9-BB249F93B11D@comcast.net> The script of stack ?A? has a getProp handler to report the number of lines in an object?s script: getProp nSL return the number of lines in the script of the target end nSL With stack A frontmost, I type in the message box ?the nSL of this stack? or ?the nSL of stack?A??, and I get the expected result. But with stack A still frontmost, if I type in the message box ?the nSL of stack ?B?? I get an empty result (not even a ?0?). What am I missing? Thanks very much. David Epstein From bonnmike at gmail.com Sun Sep 11 17:59:32 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 11 Sep 2016 15:59:32 -0600 Subject: getProp puzzle In-Reply-To: <8B0B01C8-1F8C-46DD-80E9-BB249F93B11D@comcast.net> References: <8B0B01C8-1F8C-46DD-80E9-BB249F93B11D@comcast.net> Message-ID: The "of stack b" part, delineates where the pseudo property resides. Since there is no getprop nSL of stack b, you get nothing back. Better off to create a function that takes an object reference as a parameter, and make sure its in the message path so you can hit it from anywhere. On Sun, Sep 11, 2016 at 3:46 PM, David Epstein wrote: > The script of stack ?A? has a getProp handler to report the number of > lines in an object?s script: > > getProp nSL > return the number of lines in the script of the target > end nSL > > With stack A frontmost, I type in the message box ?the nSL of this stack? > or ?the nSL of stack?A??, and I get the expected result. But with stack A > still frontmost, if I type in the message box ?the nSL of stack ?B?? I get > an empty result (not even a ?0?). > > What am I missing? > > Thanks very much. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Sep 11 18:03:13 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 11 Sep 2016 16:03:13 -0600 Subject: getProp puzzle In-Reply-To: References: <8B0B01C8-1F8C-46DD-80E9-BB249F93B11D@comcast.net> Message-ID: Hmm. Ok. My mistake. Seems to work.. is stack B a substack of stack A? If not, that might be the issue.. If stack b is a mainstack, then the request can't go up the message path to stack a, which then makes my previous point applicable. On Sun, Sep 11, 2016 at 3:59 PM, Mike Bonner wrote: > The "of stack b" part, delineates where the pseudo property resides. Since > there is no getprop nSL of stack b, you get nothing back. Better off to > create a function that takes an object reference as a parameter, and make > sure its in the message path so you can hit it from anywhere. > > On Sun, Sep 11, 2016 at 3:46 PM, David Epstein > wrote: > >> The script of stack ?A? has a getProp handler to report the number of >> lines in an object?s script: >> >> getProp nSL >> return the number of lines in the script of the target >> end nSL >> >> With stack A frontmost, I type in the message box ?the nSL of this stack? >> or ?the nSL of stack?A??, and I get the expected result. But with stack A >> still frontmost, if I type in the message box ?the nSL of stack ?B?? I get >> an empty result (not even a ?0?). >> >> What am I missing? >> >> Thanks very much. >> >> David Epstein >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > From alex at tweedly.net Sun Sep 11 19:30:23 2016 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 12 Sep 2016 00:30:23 +0100 Subject: vCard/vCal Parsing? In-Reply-To: <17557216-3AC4-4BB4-B5F1-0A7FC1675E38@reidit.co.uk> References: <17557216-3AC4-4BB4-B5F1-0A7FC1675E38@reidit.co.uk> Message-ID: <53bf1699-9257-b151-f514-0516f7092b14@tweedly.net> Do you actually mean vCal ? or (more likely) vCalendar - which is the one that is very similar to vCard ? vCalendar (better known nowadays as iCalendar) is probably as much of a minefield for incompatability as vCard :-) I have a library for *helping to* deal with these, called icsLib. It was released late 2013 and Jan 2014 (but has been very little used). It comes as a libray stack, with a demo/test stack and some test data. The documentation is below (after my signature) to help you decide if it's likely to be any help to you. Hmmm - and the web link for it is stale .... so if you would like to try it out, let me know and I'll email a copy directly, until I get the web site updated. It is available under GPL or commercial license, so can be used with the Community version of Livecode (and I'm going to change it to MIT license to make it easier and simpler to understand - so feel free to use it any way you want - by the time anything happens it'll be MIT licensed). -- Alex. -- icsLib Both Commercial and GPL / Trial version -- ? 2013 Pebble Beach Apps. To get in touch contact support at pebblebeachapps.com -- This stack was written by Alex Tweedly Current version matching these docs is 1.0 Overview ------- The library is intended to aid in reading ics (ical) files, created according to rfc5545. The library includes a number of small utility functions, and two significant functions which provide all the main capabilities. These allow you to import a ".ics" (aka ical) file, and build a calendar array of the data, and subsequently to "expand" a calendar to extract all events (and instances of events) which impact a specific "period of interest" in time. Note that since many calendars include open-ended recurring events, it is not possible to just "expand" a calendar - it MUST be for a limited time period. The parameters and results of these functions are described below in the detailed functionality section. Here we have simply a description of the calendar array that is created. Calendar array definition ------------------- All data from the ics file is maintained in the calendar array. Note that (although LC is generally case insensitive), I have followed a convention on the use of case for array elements - all data from the ics file is stored using an upper case key (actually, using the case present in the ics file - which is upper case) using "-" (minus sign) to separate 'words' in the key; and all data generated by the library is stored in a lower-case named key, using "_" (underscore) as a word separator. So for example, an event will generally have its start date as stored in the ics file CalA["events"][2]["DTSTART"] will have 20131025T080000Z CalA["events"][2]["start_date"] will have 20131025 and CalA["events"][2]["start_date_time"] will have 20131025.060000 (NB even though the event specifies a date+time, "start_date" is just the date. "start_date_time" has both date and time - and it has been adjusted to the correct local timezone). Since all the data in the ics file is fully described by the RFC, I have not repeated all that info here, but instead only described a small subset of the original data, only those which I think are most often likely to be used. CalA["X-WR-TIMEZONE"] :: the default timezone for any event which doesn't specify its own time zone CalA["default_time_zone"] :: the ultimate default timezone specified by the app, in case X-WR-TIMEZONE isn't set CalA["event_count"] :: the number of events in the calendar CalA["timezones"] :: array of timezone info [] :: the name of the timezone, and it contains an array ofdata about it ["TZID"] :: the name of the TZ - should be the same as the key ["daylight_saving_dates"] :: a sorted CR-delimited list of dates when clocks change has the decimal-date/time of the change, and the offset (from UTC) before, and after, the change ["DAYLIGHT"] ["STANDARD"] For each of daylight and standard time periods, a numerically indexed array of event-like info specifying the rules for changing between the two time periods. CalA["events"] :: a numerically-indexed list of event structures (i.e. 1 ... CalA["event_count"]) Each event structure (i.e. within ["events"][N] or ["timezones"][][][N]) has the following data ...["SUMMARY"] :: the short summary description of the event ...["start_date"] :: the date on which the event starts ...["start_date_time"] :: the date+time the event starts (IF it is a timed event) ...["whole_day"] :: boolean true if the event is a 'whole day' event (i.e. untimed) ...["end_date"] and ...["end_date_time"] same as start_date, start_date_time above, but for the end of the event ...["days_delta_to_end"] :: the number of days from start_date to end_date ...["recur_rule"] :: an array (numericaly indexed - can be multiple of them) holding the expanded info from any RRULE ...["list_of_rdates"] ;; a CR delimited list of dateItems for the dates specified by an RDATE entry Licensing terms ------------ -- These scripts are licensed to you if you agree to be bound to one of the following -- License types at your choice. -- 1) GPL 3 -- You may use icsLib as FREE Software as outlined in the terms of the GPL3 or any -- higher version of the GPL as found here: http://www.gnu.org/licenses/gpl-3.0.html -- 2) Commercial license: -- If you do not want to disclose the sources of your application you have the option to purchase a commercial license -- by paying a fee. You can buy a commercial license from the runrev marketplace. At the time of the writing of this document -- this can be done following this link: http://www.pebblebeachapps.com/??? -- You are paying a license fee for the major version of icsLib. If you are licensing icsLib 1.x, you will be -- able to use all upgrades that carry the same major version number (in this case 1.x). Once the switch is made to a version -- 2.x of the library, you will need to upgrade your license to use the latest version. However, of course you may continue to use -- any version of the library you currently have licensed, without needing to purchase an upgrade. -- Such a commercial license releases you from the requirements of the copyleft GPL license, which include: distribution of all -- source code, including your own product; licensing of your own product under the GPL license; prominent mention of the -- Pebble Beach Apps copyright and the GPL license; and disclosure of modifications to the library. -- Code Contributions -- If you want to contribute to icsLib's codebase and want your changes to be accepted into the main trunk, -- you will have to accept our open source contribution agreement as found here: http: Dates, Times, etc. -------------- The interface to the library uses two main styles of dates/times. One is LC's "dateItems" (q.v.) format, the other is a 8-char date format (YYYYMMDD) and/or 15 character date+time (YYYYMMDD.HHMMSS). I wanted to choose a format which satisfied as many as possible of the following criteria: 1. It should be easy to compare two dates or date/times. 2. It should be easy to do arithmetic (add days, find difference between dates, etc) 3. It should be easy to work with. One obvious choice would have been Julian days / dates; they are comparable and easy for arithmetic, but I found them so hard to deal with ( is 2456590.89948 today or tomorrow ? ...) They YYYYMMDD.HHMMSS format dates are comparable and very easy to use. You can't do arithmetic on them easily, but that is only needed in a couple of places - hence that was the format chosen. Note the dates and date/times within the ICS files are in a different (again) format, YYYYMMDD'T'HHMMSS(Z) using the letter 'T' where I used a ".", and optionally having a 'Z' on the end to indicate UTC time. So if you look at the calendar info, you will see that format of dates. Detailed Function descriptions ------------------------ function icsParseICSData pData, @pCalA, pDefaultTimeZone Returns the string of wanrings / exceptions from processing. The real result is the modification of pCalA Parameters pData - the string contining the calendar data (i.e. .ics format) @pCalA - an array passed by reference - it will be filled in with the calendar contents. pDefaultTimeZone - the timezone to be used by default, for events which do not specify their own timezone, and where there is no calendar-wide default. function icsExpandCal pCalName, pCalA, @pDays, @pInstances, pStart, pEnd Returns the affected days and the event number+ date of all instances of events affecting the specified time period, Note that an event which extends over 3 days within the period of interest will therefore have 3 entriesin the "days" list, and a single entry on the "instance" list. Parameters pCalName - the name of the calendar (used in some error reporting) pCalA - the calendar array (e.g. as filled in by icsParseICSData) @pdays - passed by reference - filled in with the affected days. This is a CR-delimited list of days affected by the events of the calendar; each line consists of event-ID,day (event-ID is a number - the index within pCalA["events"] day is in YYYYMMDD format) @pInstances - passed by reference - filled in with the instance of any event affecting the time period This is a CR-delimited list of instances, each line consisting of event-ID,start-day,end-day (event-ID is a number - the index within pCalA["events"] start-day and end-day are in YYYYMMDD format) pStart - the start date of the period of interest pEnd - end date of the period of interest function icsVersion Returns the version number of the library e.g. 1.7 function icsTimeAdjust @pWholeCalA, @pDateTimeItems, pTZID Returns empty (for future use) Adjust pDateTimeItems appropriately by the first available of - the timezone pTZID - a calendar-wide default timezone (i.e. if defined by X-WR-TIMEZONE) - an app-defined default timezone (i.e. if defined in an earlier call to icsPasrseCSData) Parameters: @pWholeCalA - calendar array (for timezone definitions and pehaps default timezone) passed by reference, but not modified @pDateItems - passed in a date+time (as LC dateItems), modified according to the timezone @pTZID - name of the timezone to be used; empty to use a default function icsGetBuiltInTZAsCalendar Returns a calendar array for all the built-in timezones function icsGetTZPeriodName @pWholeCalA, pDateTimeItems, pTZID Returns the name of the period of the timezone on the specified date+time (e.g. BST, CDT, ...) Parameters: @pWholeCalA - calendar array (for timezone definitions and pehaps default timezone) passed by reference, but not modified @pDateItems - passed in a date+time (as LC dateItems), modified according to the timezone @pTZID - name of the timezone to be used; empty to use a default function icsDOWName pDateItems Return the name of the day of the week Parameters pDateItems - the date+time for which the name is to be given function icsDOY pDateItems Return the day number within the year of a given date+time Parameters pDateItems - the date+time for which the name is to be given function icsISOCW pY, pM, pD Returns the ISO week number within the year Parameters pY, pM, pD - the Year, Month and Day of the date in question function icsLastDayInMonth pY, pM Returns the number of days in the specified month Parameters pY, pM - the Year and Month function icsAddDays pDate, pCount Returns the result (in YYYYMMDD format ) of adding some days to an initial date Parameters pDate - the initial date in YYYYMMDD format pCount - the number of days to add function icsDateItemsDelta p1, p2 Returns the number of seconds between two dates (NB positive if second is later than first) Parameters p1, p2 - dates in dateItems format function icsDateTime2Items pDate Returns the dateItems corresponding to a 15 or 16 character date/time (i.e. suitable inputs are either floating or UTC date/time from an ICS file) The result does not distinguish between floating and UTC - that is left for the caller. Parameters pDate - either a 15 char floating (20131028T123530) or 16-char UTC (20131028T123530Z) function icsDate2Items pDate Returns a date in dateItems format Parameters pDate - a date (i.e. no time specified), primarily in YYYYMMDD format such as 20131028, but will also (mostly for historical reasons) also accept YYYY-MM-DD format, or even DD-MM-YYYY function icsItems2Date pDate Returns a YYYYMMDD format date given a dateItems format Parameters pDate - a dateItems format date function icsItems2DateTime pDateItems Returns a "decimal date time" from a dateItems format date/time. Result will be in format YYYYMMDDT.HHMMSS Note the decimal part is in HHMMSS format - NOT a decimal fraction of a day !! This allows comparison against simple date/time (YYYYMMDD) or with another decimal date/time. Parameters pDateItems - a dateItems format date/time function icsDate2DayNum pDate Returns the day number within the week of a YYYYMMDD Parameters pDate - YYYYMMDD format date ----------------------------------------------- On 09/09/2016 14:44, Peter Reid wrote: > Has anyone got a library for parsing vCard and vCal files? I found some forum chat from 2006 about a library called vObjectPackage developed by Andre Garzia but the links to this are dead. Does anyone know whether this is still available or whether there are alternatives? > > Thanks > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richard.burkett at sbcglobal.net Sun Sep 11 21:03:32 2016 From: richard.burkett at sbcglobal.net (Richard Burkett) Date: Sun, 11 Sep 2016 18:03:32 -0700 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: References: Message-ID: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> When I build a standalone using LiveCode 8.1 (any version so far) the icons that I have selected from the ?Standard Icons? tab for button icons don?t show up in the standalone. They?re there when I?m using LiveCode to open and edit the stacks. Is this a bug, or are the non-resizable icons now deprecated and being replaced by SVG images? Just wondering before I go to a lot of trouble to build new icons for a bunch of things. Richard Burkett richard.burkett at sbcglobal.net From monte at appisle.net Sun Sep 11 21:15:31 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 12 Sep 2016 11:15:31 +1000 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> References: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> Message-ID: <5874E6BB-B4C6-40A0-B220-C892F7910E4E@appisle.net> Sounds like a bug to me (could you please open a report) although I?ve got to admit the icon picker needs a rethink. It probably should just allow you to pick any loaded stack that has 1 or more image objects. Cheers Monte > On 12 Sep 2016, at 11:03 AM, Richard Burkett wrote: > > When I build a standalone using LiveCode 8.1 (any version so far) the icons that I have selected from the ?Standard Icons? tab for button icons don?t show up in the standalone. They?re there when I?m using LiveCode to open and edit the stacks. Is this a bug, or are the non-resizable icons now deprecated and being replaced by SVG images? > Just wondering before I go to a lot of trouble to build new icons for a bunch of things. > > Richard Burkett > richard.burkett at sbcglobal.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Sep 11 22:08:09 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 11 Sep 2016 21:08:09 -0500 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: <5874E6BB-B4C6-40A0-B220-C892F7910E4E@appisle.net> References: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> <5874E6BB-B4C6-40A0-B220-C892F7910E4E@appisle.net> Message-ID: <24df3f4a-7c81-1c4f-e44e-30f40717c5cd@hyperactivesw.com> On 9/11/16 8:15 PM, Monte Goulding wrote: > I?ve got to admit the icon picker needs a rethink. It probably should > just allow you to pick any loaded stack that has 1 or more image > objects. It does allow you to choose from "this stack". I agree that it needs a rethink, but I'm leery of having it accept any open stack. If you happen to have stacks open that are unrelated to your project, it would be easy for users to assume the icons would always be available, which wouldn't be true. That's the idea behind the icon library, which does let you move images to the current stack. But that one requires you to create your own libraries for your images, which presents a different kind of problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sun Sep 11 22:08:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 02:08:28 +0000 Subject: Bug or Feature - Tranparent Buttons Non-Responsive Message-ID: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Is it just me that thinks the ideal button should be responsive across it's whole rect regardless of the opacity status? That that should be the default/in the engine itself? We discussed this issue before under the heading of "Grabbing Image with Transparent Mask" where the underlying challenge was the same. and I have adopted Scott's "hack" to make a button that works across whole rect by using this technique "Use a graphic instead of a button. Apply a two color gradient to the graphic of the same color (i.e. white to white). Set the opacity of each color stop of the gradient to 1%. Set the showName of the graphic to true and set the label of the graphic to your text. use case is an "info" button with the letter "I" which is a thin target for small finger tips.. what you want is the button to respond, even if the user doesn?t exactly touch the label/name. and FYI? there is no label option exposed in the property inspector for graphics. it is available, since you can set it from the msg box? should I report that? yes.. you can code for the cords of the mouse within your button, but that seems too much work for something that one expects to work out of the box: Draw big button, enter single char label, uncheck opacity. click on button "oops.. what? nothing happens?" later click on the label? only the it reacts? IMHO this is a "gotcha" moment (= stuck/frustrated) for a newbie. Even I was stymied "what am I doing wrong?" until I reflected back on our Grab Me discussion. BR From monte at appisle.net Sun Sep 11 22:18:58 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 12 Sep 2016 12:18:58 +1000 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: <24df3f4a-7c81-1c4f-e44e-30f40717c5cd@hyperactivesw.com> References: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> <5874E6BB-B4C6-40A0-B220-C892F7910E4E@appisle.net> <24df3f4a-7c81-1c4f-e44e-30f40717c5cd@hyperactivesw.com> Message-ID: > On 12 Sep 2016, at 12:08 PM, J. Landman Gay wrote: > > It does allow you to choose from "this stack". I agree that it needs a rethink, but I'm leery of having it accept any open stack. If you happen to have stacks open that are unrelated to your project, it would be easy for users to assume the icons would always be available, which wouldn't be true. Yes we really need the concept of an open project to do this properly > > That's the idea behind the icon library, which does let you move images to the current stack. But that one requires you to create your own libraries for your images, which presents a different kind of problem. Indeed? I think image libraries are deprecated now. At least the menu item is no longer there. It could be it just needs some work. I think the object library probably shouldn?t come back (or only come back when we have something much better that covers widgets and custom controls) but there?s some reasonable use cases still for image libraries. http://quality.livecode.com/show_bug.cgi?id=17485 From brahma at hindu.org Sun Sep 11 22:22:46 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 02:22:46 +0000 Subject: Why Chained Behaviors May Be A Bad Idea Message-ID: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> A bit OT, but this was interesting to me.. https://www.quora.com/Is-inheritance-bad-practice-in-OOP "kinda" validated my gut feeling about nesting behaviors BR From ahsoftware at sonic.net Sun Sep 11 22:51:54 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 11 Sep 2016 19:51:54 -0700 Subject: Why Chained Behaviors May Be A Bad Idea In-Reply-To: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> References: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> Message-ID: <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> On 09/11/2016 07:22 PM, Sannyasin Brahmanathaswami wrote: > A bit OT, but this was interesting to me.. > > https://www.quora.com/Is-inheritance-bad-practice-in-OOP > > "kinda" validated my gut feeling about nesting behaviors Well, most of the article rants about multiple inheritance, which is indeed a bad idea. But of course you know that's different from chained behaviors, so no worries there. I had to laugh about a self-proclaimed "Perl expert" arguing about OOP, but he does have one great quote: "If none of the AOP stuff that I wrote made any sense, let me paraphrase: AOP was a an experiment that accidentally made its way into the wild and when found, should be beaten to death viciously with hammers." -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sun Sep 11 23:02:49 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 11 Sep 2016 22:02:49 -0500 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Message-ID: On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote: > Is it just me that thinks the ideal button should be responsive > across it's whole rect regardless of the opacity status? That that > should be the default/in the engine itself? > > We discussed this issue before under the heading of "Grabbing Image > with Transparent Mask" where the underlying challenge was the same. Transparent buttons have always responded to a click in any part of the rectangle. If it isn't happening in LC 8 then I'd call it a bug. I just tried it here though and it seemed to work okay, at least on desktop. Is it different on mobile? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Sep 11 23:23:02 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 11 Sep 2016 22:23:02 -0500 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Message-ID: On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote: > I have adopted Scott's "hack" to make a button that works across whole rect Hm, if both you and Scott needed a hack to solve a problem I've never seen, then I wonder what's different. I dragged a standard button to a new stack, resized it to be fairly large, and in the property inspector I turned off "opaque". I put a script into the button that just put the seconds into the msg box on mouseUp. It responded no matter where I clicked. Then I turned off showborder, threeD, and autohilite and it still responded. Then I made a new button and just chose "Transparent" from the button style in the inspector. That one also responded at any loc inside its rect. What's different in your setup? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Mon Sep 12 00:47:00 2016 From: irog at mac.com (Roger Guay) Date: Sun, 11 Sep 2016 21:47:00 -0700 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: <24df3f4a-7c81-1c4f-e44e-30f40717c5cd@hyperactivesw.com> References: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> <5874E6BB-B4C6-40A0-B220-C892F7910E4E@appisle.net> <24df3f4a-7c81-1c4f-e44e-30f40717c5cd@hyperactivesw.com> Message-ID: <970AC5BB-3CBA-4963-979F-603C72448495@mac.com> I?m confused. It used to be that one had to place icons into one?s stack with the Object Library, if I remember correctly. But apparently that?s not the case with v8. How does one include the required icons in standalones using v8? Where is this ?icon library? you speak of? Thanks! > On Sep 11, 2016, at 7:08 PM, J. Landman Gay wrote: > > On 9/11/16 8:15 PM, Monte Goulding wrote: >> I?ve got to admit the icon picker needs a rethink. It probably should >> just allow you to pick any loaded stack that has 1 or more image >> objects. > > It does allow you to choose from "this stack". I agree that it needs a rethink, but I'm leery of having it accept any open stack. If you happen to have stacks open that are unrelated to your project, it would be easy for users to assume the icons would always be available, which wouldn't be true. > > That's the idea behind the icon library, which does let you move images to the current stack. But that one requires you to create your own libraries for your images, which presents a different kind of problem. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Sep 12 01:57:55 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 11 Sep 2016 22:57:55 -0700 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Message-ID: The "hack" mentioned by Brahmanatha is a technique to make clickable/draggable transparent images, it doesn't have to do with buttons at all: http://runtime-revolution.278305.n4.nabble.com/Grabbing-Image-with-Transpar ent-Mask-td4699808.html#a4699809 I agree with Jacque's findings. AFAIK, buttons have always responded across their entire rect. Maybe there's some odd rendering bug occurring, but perhaps it would be good to double-check what types of objects are being used there. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/11/16, 8:23 PM, "use-livecode on behalf of J. Landman Gay" wrote: >On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote: >> I have adopted Scott's "hack" to make a button that works across whole >>rect > >Hm, if both you and Scott needed a hack to solve a problem I've never >seen, then I wonder what's different. > >I dragged a standard button to a new stack, resized it to be fairly >large, and in the property inspector I turned off "opaque". I put a >script into the button that just put the seconds into the msg box on >mouseUp. It responded no matter where I clicked. > >Then I turned off showborder, threeD, and autohilite and it still >responded. > >Then I made a new button and just chose "Transparent" from the button >style in the inspector. That one also responded at any loc inside its >rect. > >What's different in your setup? > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Sep 12 03:02:32 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 12 Sep 2016 17:02:32 +1000 Subject: [ANN] This week in LiveCode 50 Message-ID: <3163FB1C-5DA6-48DD-883D-C4E3A916BAC7@appisle.net> Hi LiveCoders Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #50 here: http://goo.gl/kXAaNW This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode?! Cheers Monte From matthias_livecode_150811 at m-r-d.de Mon Sep 12 06:04:30 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 12 Sep 2016 12:04:30 +0200 Subject: very often "Scripts externally modified" popup Message-ID: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> Hi, am i the only one who is noticing the ?Scripts externally modified? popup very very often in LC 8.1RC2 here on Mac OS X 10.11.6? With the script editor opened switching from LC to an other program and back to LC opens the popup. Or within LC switching from the script editor to another window in LC and back to scripts editor opens that annoying pop again. This is driving me crazy. So is anyone else noticing this and i should submit it as a bug or is there something on my side what i can change to ged rid of that popup. Regards, Matthias Rebbe From monte at appisle.net Mon Sep 12 06:19:31 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 12 Sep 2016 20:19:31 +1000 Subject: very often "Scripts externally modified" popup In-Reply-To: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> Message-ID: <90C25247-61F5-4806-A896-927528147907@appisle.net> If you have a reliable recipe then please open a report. Thanks Monte Sent from my iPhone > On 12 Sep 2016, at 8:04 PM, Matthias Rebbe wrote: > > This is driving me crazy. So is anyone else noticing this and i should submit it as a bug or is there something on my side what i can change > to ged rid of that popup. From benr_mc at cogapp.com Mon Sep 12 07:08:18 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 12 Sep 2016 12:08:18 +0100 Subject: very often "Scripts externally modified" popup In-Reply-To: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> Message-ID: <7d4a0f1f-e639-d75f-d334-b55b417d28f2@cogapp.com> FWIW I've not noticed this at all (LC 8.1.0 rc2 on Mac OS X 10.11.6). I switch apps a lot (but don't do anything editing scripts externally). Ben On 12/09/2016 11:04, Matthias Rebbe wrote: > Hi, > > am i the only one who is noticing the ?Scripts externally modified? popup very very often in LC 8.1RC2 here on Mac OS X 10.11.6? > > With the script editor opened switching from LC to an other program and back to LC opens the popup. > > Or within LC switching from the script editor to another window in LC and back to scripts editor opens that annoying pop again. > > This is driving me crazy. So is anyone else noticing this and i should submit it as a bug or is there something on my side what i can change > to ged rid of that popup. > > Regards, > Matthias Rebbe From benr_mc at cogapp.com Mon Sep 12 07:17:42 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 12 Sep 2016 12:17:42 +0100 Subject: Best way to extend IDE (toolbar)? Message-ID: Since time immemorial, I've had a plugin which attempts/pretends to add additional buttons to the standard toolbar. Actually what it used to do is locate the last button on the toolbar, tell the toolbar to adjust its width to just beyond this, resize itself to be the same height and fit the remaining space on the main monitor, and install itself as a palette in the appropriate location. This used to work better than it does. Somehow the new LC 8 regime with the toolbar being 'modeless' instead of palette often causes my toolbar extension to go somewhere strange when apps switch, monitors plugged/unplugged etc). I hear rumours about 'script-only stacks' and suggestions that some parts of the IDE are now in this format, and that this is supposed to be more extensible. Is there a better/cleaner/more fashionable way in the newest versions of LiveCode to add one's own controls to the toolbar? TIA, Ben From MikeKerner at roadrunner.com Mon Sep 12 08:27:00 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 12 Sep 2016 08:27:00 -0400 Subject: Best way to extend IDE (toolbar)? In-Reply-To: References: Message-ID: Hey, Ben, Funny you should bring this up, as I spent most of yesterday in the script editor, which is a bunch of script-only stacks (text files with LC script in them with the ".livecode" suffix). a) What are you adding, and would this be something that my long-standing goal of hoarde-sourcing the IDE might want to add to the to-do list? b) Instead of adding a palette, why not just expand the toolbar itself and add to it? c) This sounds like it might be a good chance to build an IDE extension, which can be fairly easy to do. From benr_mc at cogapp.com Mon Sep 12 08:41:38 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 12 Sep 2016 13:41:38 +0100 Subject: Best way to extend IDE (toolbar)? In-Reply-To: References: Message-ID: Hi Mike, thanks for responding. > Funny you should bring this up, as I spent most of yesterday in the script > editor, which is a bunch of script-only stacks (text files with LC script > in them with the ".livecode" suffix). Do you (does anyone) know where script-only stacks are actually documented? I can't find it in the User Guide - I see references in the release notes to changes relating, I'm vaguely aware from mailing lists of conversations about them; but I can't find anything for a new person to discover that these exist, how they are used, what are the constraints, etc. For example, do they really have the same suffix as traditional stack files? That seems pretty odd. > a) What are you adding, and would this be something that my long-standing > goal of hoarde-sourcing the IDE might want to add to the to-do list? My toolbar is a rag-bag of things I've found useful over the years; the most important is 'backup+save', which I've used since the pre-history of Revolution (before 1.0) when crashes were uncomfortably common. Also shortcut buttons to edit stack and card scripts, to open the Application Overview, to edit recent scripts (popup keeps track of five most recent), to paste object references into scripts (currently broken due to some bugs in LC8), to build a standalone with automatic versioning, to fish windows that have slipped under the toolbar back into the useable area, etc etc etc... Dunno about the horde-sourcing - it's a question of what's useful to who. Maybe if there was a convenient way to maintain a library of such things which could easily be selected from. > b) Instead of adding a palette, why not just expand the toolbar itself and > add to it? Because at any time I maintain lots of versions of LiveCode, and I prefer to keep the distribution 'clean'. > c) This sounds like it might be a good chance to build an IDE extension, > which can be fairly easy to do. Aha! So there is a thing called an "IDE extension"? That sounds like what I might be looking for. Where is this documented, how does it differ from plugins, widgets, libraries etc? TIA, Ben On 12/09/2016 13:27, Mike Kerner wrote: > Hey, Ben, > Funny you should bring this up, as I spent most of yesterday in the script > editor, which is a bunch of script-only stacks (text files with LC script > in them with the ".livecode" suffix). > a) What are you adding, and would this be something that my long-standing > goal of hoarde-sourcing the IDE might want to add to the to-do list? > b) Instead of adding a palette, why not just expand the toolbar itself and > add to it? > c) This sounds like it might be a good chance to build an IDE extension, > which can be fairly easy to do. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Sep 12 09:19:13 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 12 Sep 2016 09:19:13 -0400 Subject: Best way to extend IDE (toolbar)? In-Reply-To: References: Message-ID: Sorry! .livecodescript is the suffix I'm don't know where script-only stacks are documented, other than in conversations, here, but there are plenty of them in the LC bundle. For example, look in Contents->Tools->Toolset->Libraries, or Contents->Tools->Toolset->Palettes->Script Editor->Behaviors. It just looks like a regular LC script. You could also build this as a widget in LC8. The syntax for liveCodeBuilder is a different, but I hear a vicious rumor that there is an LCB class that is extensive, mostly done, has been tried out on a few people, and is being actively tweaked to prepare it for release. What I meant by an IDE Extension was a stack that you build in LC and stick in My LiveCode->Extensions or My LiveCode->Plugins, and then tell LC to run at startup in the Development->Plugins->Plugin settings menu On Mon, Sep 12, 2016 at 8:41 AM, Ben Rubinstein wrote: > Hi Mike, thanks for responding. > > > Funny you should bring this up, as I spent most of yesterday in the > script > > editor, which is a bunch of script-only stacks (text files with LC script > > in them with the ".livecode" suffix). > > Do you (does anyone) know where script-only stacks are actually > documented? I can't find it in the User Guide - I see references in the > release notes to changes relating, I'm vaguely aware from mailing lists of > conversations about them; but I can't find anything for a new person to > discover that these exist, how they are used, what are the constraints, etc. > > For example, do they really have the same suffix as traditional stack > files? That seems pretty odd. > > > a) What are you adding, and would this be something that my long-standing > > goal of hoarde-sourcing the IDE might want to add to the to-do list? > > My toolbar is a rag-bag of things I've found useful over the years; the > most important is 'backup+save', which I've used since the pre-history of > Revolution (before 1.0) when crashes were uncomfortably common. Also > shortcut buttons to edit stack and card scripts, to open the Application > Overview, to edit recent scripts (popup keeps track of five most recent), > to paste object references into scripts (currently broken due to some bugs > in LC8), to build a standalone with automatic versioning, to fish windows > that have slipped under the toolbar back into the useable area, etc etc > etc... > > Dunno about the horde-sourcing - it's a question of what's useful to who. > Maybe if there was a convenient way to maintain a library of such things > which could easily be selected from. > > > b) Instead of adding a palette, why not just expand the toolbar itself > and > > add to it? > > Because at any time I maintain lots of versions of LiveCode, and I prefer > to keep the distribution 'clean'. > > > c) This sounds like it might be a good chance to build an IDE extension, > > which can be fairly easy to do. > > Aha! So there is a thing called an "IDE extension"? That sounds like what > I might be looking for. Where is this documented, how does it differ from > plugins, widgets, libraries etc? > > TIA, > > Ben > > > On 12/09/2016 13:27, Mike Kerner wrote: > >> Hey, Ben, >> Funny you should bring this up, as I spent most of yesterday in the script >> editor, which is a bunch of script-only stacks (text files with LC script >> in them with the ".livecode" suffix). >> a) What are you adding, and would this be something that my long-standing >> goal of hoarde-sourcing the IDE might want to add to the to-do list? >> b) Instead of adding a palette, why not just expand the toolbar itself and >> add to it? >> c) This sounds like it might be a good chance to build an IDE extension, >> which can be fairly easy to do. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Sep 12 09:22:21 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 12 Sep 2016 09:22:21 -0400 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Message-ID: Also, you need to do that with groups, as groups are not clickable areas. Are you sure your button is at the top of the pile and not partially behind something else? On Mon, Sep 12, 2016 at 1:57 AM, Scott Rossi wrote: > The "hack" mentioned by Brahmanatha is a technique to make > clickable/draggable transparent images, it doesn't have to do with buttons > at all: > http://runtime-revolution.278305.n4.nabble.com/Grabbing- > Image-with-Transpar > ent-Mask-td4699808.html#a4699809 > > I agree with Jacque's findings. AFAIK, buttons have always responded > across their entire rect. Maybe there's some odd rendering bug occurring, > but perhaps it would be good to double-check what types of objects are > being used there. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/11/16, 8:23 PM, "use-livecode on behalf of J. Landman Gay" > jacque at hyperactivesw.com> wrote: > > >On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote: > >> I have adopted Scott's "hack" to make a button that works across whole > >>rect > > > >Hm, if both you and Scott needed a hack to solve a problem I've never > >seen, then I wonder what's different. > > > >I dragged a standard button to a new stack, resized it to be fairly > >large, and in the property inspector I turned off "opaque". I put a > >script into the button that just put the seconds into the msg box on > >mouseUp. It responded no matter where I clicked. > > > >Then I turned off showborder, threeD, and autohilite and it still > >responded. > > > >Then I made a new button and just chose "Transparent" from the button > >style in the inspector. That one also responded at any loc inside its > >rect. > > > >What's different in your setup? > > > >-- > >Jacqueline Landman Gay | jacque at hyperactivesw.com > >HyperActive Software | http://www.hyperactivesw.com > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dfepstein at comcast.net Mon Sep 12 10:38:32 2016 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Mon, 12 Sep 2016 14:38:32 +0000 (UTC) Subject: getProp puzzle In-Reply-To: <477375878.15452229.1473687661839.JavaMail.zimbra@comcast.net> Message-ID: <1025032770.15503126.1473691112125.JavaMail.zimbra@comcast.net> Thanks to Mike Bonner for his helpful suggestions. Stack A and Stack B are both mainStacks. Further tests seem to confirm this rule: ? A setProp or getProp handler in the script of stack A cannot be invoked for a target in Stack B UNLESS we have "started using" stack A (even if Stack A is the frontmost stack). ? On first thought this seems a little strange to me. For function or command handlers, we only need to "start using" a stack if we want to call its script's handlers when that stack is not frontmost; and when we "start using" it those handlers are just as accessible as the handlers in the frontmost stack's script. But for getProp and setProp handlers, the script of the frontmost stack and the script of a stack we have started using do not have the same efficacy. ? Perhaps the logic is clearer if Stack B has?its own?getProp myProp handler whose script differs from Stack A's getProp myProp handler.? In that case it?probably makes?sense for the virtual property?of an object in?Stack B to follow the getProp rules of its own stack, when called from Stack A?(even though a function handler in Stack A that queries properties of?Stack B, invoked while Stack A is frontmost, would take priority over a function handler in Stack B). ? David Epstein From brahma at hindu.org Mon Sep 12 10:55:33 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 14:55:33 +0000 Subject: Algoritm for RGB Values for Color Wheel Message-ID: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> before I go after this myself I wonder if anyone has already coded runtime display of the 12 segment color wheel as RGB values red (primary) red-orange (tertiary) orange (secondary etc? through to red-purple (tertiary) BR From matthias_livecode_150811 at m-r-d.de Mon Sep 12 11:11:34 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 12 Sep 2016 17:11:34 +0200 Subject: very often "Scripts externally modified" popup In-Reply-To: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> Message-ID: <7133D058-5D13-4F12-BC5F-10E52880DDD0@m-r-d.de> Hi again, i found out, what was causing the problem. I?ve pasted an utf encoded script into the script editor. With that script i can reproduce the behaviour. If i paste the same script iso or mac roman encoded into the script editor the problem is solved. Is this a known behaviour or should i file a bug? Matthias > If you have a reliable recipe then please open a report. > > Thanks > > Monte > > Sent from my iPhone > > > On 12 Sep 2016, at 8:04 PM, Matthias Rebbe > wrote: > > > > This is driving me crazy. So is anyone else noticing this and i should submit it as a bug or is there something on my side what i can change > > to ged rid of that popup. From brahma at hindu.org Mon Sep 12 11:15:24 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 15:15:24 +0000 Subject: Why Chained Behaviors May Be A Bad Idea In-Reply-To: <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> References: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> Message-ID: <2D7EA28B-5B38-4703-8700-552E2B1878C2@hindu.org> Mark Wieder" wrote: Well, most of the article rants about multiple inheritance, which is indeed a bad idea. But of course you know that's different from chained behaviors, so no worries there. BR: actually I don't know how that is different, probably I just don't understand it well enough, if I did, perhaps I would not be afraid of it. Backscripts are "easy" but I am seeing instances where better encapsulation will help avoid issues and if some functions truly are not needed globally then a strong case could be made to use behaviors for specific event sequences. In our current app, we are using independent modules(stacks) that use global functions in the loader stack and a core API backscript (and a few others) But some of these modules are so unique that requirements for Module Y will never appear as a requirement for Modules A, B, C (separate stacks) Theoretically I could have (I will declare these as objects, but of course now we can also use livecodescript text only stacks) Behavior_button A Behavior Buttons B and C # both have behavior A assigned Button D # with button C assigned as behavior How is this not "inheritance"? From brahma at hindu.org Mon Sep 12 11:29:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 15:29:31 +0000 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Message-ID: <2836EA32-5FD8-40AA-94BC-19BDAEF64BAB@hindu.org> OK, this seems to be another case of the mysterious LC 8.* IDE issues. e.g. after rebooting and making a big button with opaque false and small label.. it works? a few moments ago I could not invoke the property inspector for any object. I had to reboot LC then I copied a button from one stack to another and tried to edit the script of that button, but the script editor will not accept any keyboard input even though my cursor is blinking there.. Close the SE and then control click on the button again, SE opens? now keyboard input is accepted. I get this a lot in LC 8? mysterious anomalies? vary hard to get recipes for them. this makes one nervous? how may issues that are in the IDE are pose as "bugs" in our own code, when in fact they are not? On 9/11/16, 7:57 PM, "use-livecode on behalf of Scott Rossi" wrote: I agree with Jacque's findings. AFAIK, buttons have always responded across their entire rect. From harrison at all-auctions.com Mon Sep 12 11:36:07 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 12 Sep 2016 11:36:07 -0400 Subject: Algoritm for RGB Values for Color Wheel In-Reply-To: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> References: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> Message-ID: <6CEC5E7D-8948-4220-A4F2-8B698B61A25A@all-auctions.com> I think when I looked into this I found there wasn?t any predicable logic to this. You just have to look up the values for the colors you want. I suppose you could create a table for just the colors you need and then make your selection based on your table. I found this on Wikipedia: The web-safe color palette consists of the 216 (63) combinations of red, green, and blue where each color can take one of six values (in hexadecimal ): #00, #33, #66, #99, #CC or #FF (based on the 0 to 255 range for each value discussed above). These hexadecimal values = 0, 51, 102, 153, 204, 255 in decimal, which = 0%, 20%, 40%, 60%, 80%, 100% in terms of intensity. There is more information there and I imagine there are probably even better resources/explanations you?ll find when you search for them. Good luck! Rick > On Sep 12, 2016, at 10:55 AM, Sannyasin Brahmanathaswami wrote: > > before I go after this myself I wonder if anyone has already coded runtime display of the 12 segment color wheel as RGB values > > red (primary) > red-orange (tertiary) > orange (secondary > > etc? through to > > red-purple (tertiary) > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 12 12:58:39 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 11:58:39 -0500 Subject: very often "Scripts externally modified" popup In-Reply-To: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> Message-ID: <1571f561a18.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've been seeing it too, though not much more often than in LC 7. I still haven't figured out what triggers it and I never use an external editor. If someone could tell us what the algorithm is for determining the warning I could note what I've done right before it happens the next time I see it. It's been an ongoing issue for a while and I've never been able to figure out what makes it happen. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 12, 2016 5:05:42 AM Matthias Rebbe wrote: > Hi, > > am i the only one who is noticing the ?Scripts externally modified? popup > very very often in LC 8.1RC2 here on Mac OS X 10.11.6? > > With the script editor opened switching from LC to an other program and > back to LC opens the popup. > > Or within LC switching from the script editor to another window in LC and > back to scripts editor opens that annoying pop again. > > This is driving me crazy. So is anyone else noticing this and i should > submit it as a bug or is there something on my side what i can change > to ged rid of that popup. > > Regards, > Matthias Rebbe > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Mon Sep 12 13:05:14 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 12 Sep 2016 19:05:14 +0200 Subject: very often "Scripts externally modified" popup In-Reply-To: <1571f561a18.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> <1571f561a18.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8BC253E0-6A41-4D1D-A0FC-779C167EF428@me.com> One instance in which I have seen this message is if I decide to name/rename a stack after I have added script to it. Going to the script editor window after renaming and saving triggers this message. Tore > 12. sep. 2016 kl. 18.58 skrev J. Landman Gay : > > I've been seeing it too, though not much more often than in LC 7. I still haven't figured out what triggers it and I never use an external editor. If someone could tell us what the algorithm is for determining the warning I could note what I've done right before it happens the next time I see it. It's been an ongoing issue for a while and I've never been able to figure out what makes it happen. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On September 12, 2016 5:05:42 AM Matthias Rebbe wrote: > >> Hi, >> >> am i the only one who is noticing the ?Scripts externally modified? popup very very often in LC 8.1RC2 here on Mac OS X 10.11.6? >> >> With the script editor opened switching from LC to an other program and back to LC opens the popup. >> >> Or within LC switching from the script editor to another window in LC and back to scripts editor opens that annoying pop again. >> >> This is driving me crazy. So is anyone else noticing this and i should submit it as a bug or is there something on my side what i can change >> to ged rid of that popup. >> >> Regards, >> Matthias Rebbe >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Sep 12 13:37:29 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 12 Sep 2016 10:37:29 -0700 Subject: Algoritm for RGB Values for Color Wheel In-Reply-To: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> References: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> Message-ID: I posted a stack that creates a color wheel in a graphic using a conical fill gradient. You may want to adjust the colors if you need different values. In your message box: go url "http://tactilemedia.com/download/colorwheel.livecode" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/16, 7:55 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >before I go after this myself I wonder if anyone has already coded >runtime display of the 12 segment color wheel as RGB values > >red (primary) >red-orange (tertiary) >orange (secondary > >etc? through to > >red-purple (tertiary) >BR > From dunbarx at aol.com Mon Sep 12 13:38:22 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 12 Sep 2016 13:38:22 -0400 Subject: Algoritm for RGB Values for Color Wheel In-Reply-To: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> References: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> Message-ID: <1571f7a770c-2701-28117@webprd-a66.mail.aol.com> Hi. Not sure what you are asking, but do you know about the "colorNames" property"? Craig Newman -----Original Message----- From: Sannyasin Brahmanathaswami To: How LiveCode Sent: Mon, Sep 12, 2016 10:56 am Subject: Algoritm for RGB Values for Color Wheel before I go after this myself I wonder if anyone has already coded runtime display of the 12 segment color wheel as RGB values red (primary) red-orange (tertiary) orange (secondary etc? through to red-purple (tertiary) BR _______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Mon Sep 12 14:00:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 18:00:35 +0000 Subject: Algoritm for RGB Values for Color Wheel In-Reply-To: References: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> Message-ID: <23EE410C-83A8-4C01-B0EF-E48C9D1BF764@hindu.org> Thanks Scott.. this gets me very close and I can see the pattern. I can tweak this to get to the "official" formal color wheel which has the three primaries, three secondaries and six tertiaries in proper order see: e.g. http://artfusion.info/arttimeline/artelements_principles/color/colorwheeltertiary.jpg Also given screen gammas being so bright these days I'll have to lower values to get something closer to a pigment based "look and feel" but you gave me all I need. I think I just need to reorder the constants. @ craig?the requirements are to programmatically show not only flat background colors but also (hopefully) some interesting animations. that fall in the formal color wheel range. So I was looking for how to use numeric RGB values so we could handle all that "mathematically" On 9/12/16, 7:37 AM, "use-livecode on behalf of Scott Rossi" wrote: I posted a stack that creates a color wheel in a graphic using a conical fill gradient. You may want to adjust the colors if you need different values. In your message box: go url "http://tactilemedia.com/download/colorwheel.livecode" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From jacque at hyperactivesw.com Mon Sep 12 14:42:09 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 13:42:09 -0500 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: <970AC5BB-3CBA-4963-979F-603C72448495@mac.com> References: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> <5874E6BB-B4C6-40A0-B220-C892F7910E4E@appisle.net> <24df3f4a-7c81-1c4f-e44e-30f40717c5cd@hyperactivesw.com> <970AC5BB-3CBA-4963-979F-603C72448495@mac.com> Message-ID: On 9/11/16 11:47 PM, Roger Guay wrote: > How does one include the required icons in standalones using v8? > Where is this ?icon library? you speak of? I misspoke, I meant the Image Library which is no longer available in the menus. We can still import images manually as before. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 12 14:54:16 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 13:54:16 -0500 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: <2836EA32-5FD8-40AA-94BC-19BDAEF64BAB@hindu.org> References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> <2836EA32-5FD8-40AA-94BC-19BDAEF64BAB@hindu.org> Message-ID: <1babd2fa-d3aa-ef96-98e3-34c84e3bab99@hyperactivesw.com> On 9/12/16 10:29 AM, Sannyasin Brahmanathaswami wrote: > OK, this seems to be another case of the mysterious LC 8.* IDE > issues. > > > e.g. after rebooting and making a big button with opaque false and > small label.. it works? a few moments ago I could not invoke the > property inspector for any object. I had to reboot LC > > then I copied a button from one stack to another and tried to edit > the script of that button, but the script editor will not accept any > keyboard input even though my cursor is blinking there.. Close the > SE and then control click on the button again, SE opens? now keyboard > input is accepted. > > I get this a lot in LC 8? mysterious anomalies? vary hard to get > recipes for them. I'm seeing similar things, and wondering if a few crashes and lockups I've had are related. There seems to be a problem with window identification in general but I can't pin it down. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 12 15:29:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 14:29:24 -0500 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: <1babd2fa-d3aa-ef96-98e3-34c84e3bab99@hyperactivesw.com> References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> <2836EA32-5FD8-40AA-94BC-19BDAEF64BAB@hindu.org> <1babd2fa-d3aa-ef96-98e3-34c84e3bab99@hyperactivesw.com> Message-ID: <1fec5724-bb53-3b79-a1cb-587340a04662@hyperactivesw.com> On 9/12/16 1:54 PM, J. Landman Gay wrote: > I'm seeing similar things, and wondering if a few crashes and lockups > I've had are related. There seems to be a problem with window > identification in general but I can't pin it down. I'm wondering if it's related to script-only stacks. If anyone has more info about these misbehaviors, please add to this report, especially if you think it's related to script-only stacks: http://quality.livecode.com/show_bug.cgi?id=18362 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Mon Sep 12 15:37:07 2016 From: ahsoftware at sonic.net (mwieder) Date: Mon, 12 Sep 2016 12:37:07 -0700 (PDT) Subject: Why Chained Behaviors May Be A Bad Idea In-Reply-To: <2D7EA28B-5B38-4703-8700-552E2B1878C2@hindu.org> References: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> <2D7EA28B-5B38-4703-8700-552E2B1878C2@hindu.org> Message-ID: <1473709027921-4708332.post@n4.nabble.com> Sannyasin Brahmanathaswami wrote > Theoretically I could have (I will declare these as objects, but of course > now we can also use livecodescript text only stacks) > > Behavior_button A > > Behavior Buttons B and C > # both have behavior A assigned > > Button D > # with button C assigned as behavior > > How is this not "inheritance"? That is indeed classical inheritance. Multiple inheritance is properly not allowed in LiveCode and would look like this Behavior_button A Behavior Button B Behavior Button C # has both button A and button B assigned as behaviors # not chained, but in parallel Inheritance (behaviors) in LiveCode *allow* you to use functionality in parent objects, but don't force you to do so. And you can override the parent behaviors by placing handlers of the same name in the child object. -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Why-Chained-Behaviors-May-Be-A-Bad-Idea-tp4708303p4708332.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Mon Sep 12 15:49:59 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 19:49:59 +0000 Subject: Algoritm for RGB Values for Color Wheel In-Reply-To: <23EE410C-83A8-4C01-B0EF-E48C9D1BF764@hindu.org> References: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> <23EE410C-83A8-4C01-B0EF-E48C9D1BF764@hindu.org> Message-ID: <79B11948-230B-4753-881F-3534CEDEAECD@hindu.org> @ Scott: changing constants to constant color1 = "255,0,0" -- red - primary constant color2 = "255,64,0" -- red-orange - tertiary constant color3 = "255,127,0" -- orange - secondary constant color4 = "255,191,0" -- orange-yellow - tertiary constant color5 = "255,255,0" -- yellow - primary constant color6 = "191,255,0" -- yellow- green - tertiary constant color7 = "0,255,0" -- green - secondary constant color8 = "0,191,255" -- green-blue - tertiary constant color9 = "0,0,255" -- blue - primary constant color10 = "127,0,255" -- blue-violet - tertiary constant color11 = "127,0,127" -- violet - secondary constant color12 = "191,0,127" -- red-violet- tertiary We get close to the so-called "official" color wheel. Of course we enter the quicksand territory of subjective choices, CMYK gamut (geared to pigment) vs RGB gamut (light based), using yellow, cyan, magenta as primary apexes instead of RGB 255 on three channels etc. So the precise logic for setting values starts to blur as we move toward "recognition" colors that people expect.. which are more pigment based. The algorithm: "go up and down by halves" (255, 127, 64) worked in the yellow to orange-red range, but did not work, or works differently, in the blue to violet-red range. If we wanted to drop back to the pigment based gamut, then we have to find a way to algorithmically "add mud" to all of them? tricky? Interesting? at any rate? I got what I needed? a lot easier (an less messy!) than the old days when I had to actually mix inks for the KORD! BR On 9/12/16, 8:00 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: Thanks Scott.. this gets me very close and I can see the pattern. I can tweak this to get to the "official" formal color wheel which has the three primaries, three secondaries and six tertiaries in proper order From brahma at hindu.org Mon Sep 12 16:00:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 20:00:28 +0000 Subject: Why Chained Behaviors May Be A Bad Idea In-Reply-To: <1473709027921-4708332.post@n4.nabble.com> References: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> <2D7EA28B-5B38-4703-8700-552E2B1878C2@hindu.org> <1473709027921-4708332.post@n4.nabble.com> Message-ID: <8D89D171-AB1D-42D3-A122-B2986FBE5544@hindu.org> Mark Weider wrote: That is indeed classical inheritance. Multiple inheritance is properly not allowed in LiveCode and would look like this Behavior_button A Behavior Button B Behavior Button C # has both button A and button B assigned as behaviors # not chained, but in parallel BR: right, you can't do that? but the example was Parent X (a behavior for) Child Y and Child X, where Child X was also a behavior for Child A Mark: Inheritance (behaviors) in LiveCode *allow* you to use functionality in parent objects, but don't force you to do so. And you can override the parent behaviors by placing handlers of the same name in the child object. BR: Ahha! that's an important point/option. Thanks for listening? I learned something there. From jacque at hyperactivesw.com Mon Sep 12 16:01:15 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 15:01:15 -0500 Subject: Saving script-only stacks Message-ID: I'm undecided about how to classify this behavior. I have LC prefs set to always save stacks in their original stackfile format. That mostly works transparently except in the case of script-only stacks. LC stores the original stackfile version as a custom property in the stack, and since script-only stacks don't have properties, every time I try to save one I get the warning dialog about how the minimum required version is LC 7.0, and do I really want to save it as LC 2.4. I assume since there's no property at all, the dialog is defaulting to the oldest version in its list. It isn't a huge deal, but it does require me to click the "7.0" button on every save, which happens often. Should LC just assume that script-only stacks are always to be saved in 7.0 format? What about adding the version to the "script" declaration at the top? Or I could just live with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Mon Sep 12 16:20:29 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 06:20:29 +1000 Subject: Saving script-only stacks In-Reply-To: References: Message-ID: Actually this should be resolved in RC 2. I presume you are still seeing it there? Sent from my iPhone > On 13 Sep 2016, at 6:01 AM, J. Landman Gay wrote: > > Or I could just live with it. From jacque at hyperactivesw.com Mon Sep 12 16:29:01 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 15:29:01 -0500 Subject: Saving script-only stacks In-Reply-To: References: Message-ID: On 9/12/16 3:20 PM, Monte Goulding wrote: > Actually this should be resolved in RC 2. I presume you are still seeing it there? Yup. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Mon Sep 12 16:32:33 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 12 Sep 2016 21:32:33 +0100 Subject: Algoritm for RGB Values for Color Wheel In-Reply-To: <79B11948-230B-4753-881F-3534CEDEAECD@hindu.org> References: <0965F44F-98E5-4B2B-96C8-B500AE88983F@hindu.org> <23EE410C-83A8-4C01-B0EF-E48C9D1BF764@hindu.org> <79B11948-230B-4753-881F-3534CEDEAECD@hindu.org> Message-ID: http://www.easyrgb.com/index.php?X=MATH&H=02#text2 followed by http://www.easyrgb.com/index.php?X=MATH&H=16#text16 ? On 12/09/2016 20:49, Sannyasin Brahmanathaswami wrote: > @ Scott: > > changing constants to > > constant color1 = "255,0,0" -- red - primary > > constant color2 = "255,64,0" -- red-orange - tertiary > constant color3 = "255,127,0" -- orange - secondary > constant color4 = "255,191,0" -- orange-yellow - tertiary > > constant color5 = "255,255,0" -- yellow - primary > > constant color6 = "191,255,0" -- yellow- green - tertiary > constant color7 = "0,255,0" -- green - secondary > constant color8 = "0,191,255" -- green-blue - tertiary > > constant color9 = "0,0,255" -- blue - primary > > constant color10 = "127,0,255" -- blue-violet - tertiary > constant color11 = "127,0,127" -- violet - secondary > constant color12 = "191,0,127" -- red-violet- tertiary > > We get close to the so-called "official" color wheel. Of course we enter the quicksand territory of subjective choices, CMYK gamut (geared to pigment) vs RGB gamut (light based), using yellow, cyan, magenta as primary apexes instead of RGB 255 on three channels etc. So the precise logic for setting values starts to blur as we move toward "recognition" colors that people expect.. which are more pigment based. > > The algorithm: > > "go up and down by halves" (255, 127, 64) > > worked in the yellow to orange-red range, but did not work, or works differently, in the blue to violet-red range. If we wanted to drop back to the pigment based gamut, then we have to find a way to algorithmically "add mud" to all of them? tricky? > > Interesting? at any rate? I got what I needed? a lot easier (an less messy!) than the old days when I had to actually mix inks for the KORD! > > BR > > > On 9/12/16, 8:00 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: > > Thanks Scott.. this gets me very close and I can see the pattern. > > I can tweak this to get to the "official" formal color wheel which has the three primaries, three secondaries and six tertiaries in proper order > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Mon Sep 12 16:43:22 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 06:43:22 +1000 Subject: Saving script-only stacks In-Reply-To: References: Message-ID: <97E7D59E-46BE-4024-A8BB-0CCB526FB268@appisle.net> > On 13 Sep 2016, at 6:29 AM, J. Landman Gay wrote: > >> Actually this should be resolved in RC 2. I presume you are still seeing it there? > > Yup. Sorry Jacque I was pretty certain we had identified and sorted that out but I can see we haven?t. Have you opened a report? It?s a fairly easy fix which I?ll submit today for 8.1.1 RC 1. Cheers Monte From jacque at hyperactivesw.com Mon Sep 12 17:07:58 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 16:07:58 -0500 Subject: Saving script-only stacks In-Reply-To: <97E7D59E-46BE-4024-A8BB-0CCB526FB268@appisle.net> References: <97E7D59E-46BE-4024-A8BB-0CCB526FB268@appisle.net> Message-ID: <74c70c01-698d-3296-ada7-b9edfbc05aff@hyperactivesw.com> On 9/12/16 3:43 PM, Monte Goulding wrote: > I was pretty certain we had identified and sorted that out but I can > see we haven?t. Have you opened a report? It?s a fairly easy fix > which I?ll submit today for 8.1.1 RC 1. I didn't open a report, I thought the behavior was either intentional or unavoidable. If you're submitting a fix anyway, probably no need for a report, right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 12 17:15:38 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 16:15:38 -0500 Subject: Android device not recognized Message-ID: <2180293e-b89f-9068-220a-243e33072a23@hyperactivesw.com> Was there a change in RC2 in recognizing Android test devices? I've tried three different ones and LC won't allow any of them. Terminal ("adb devices") sees them, and they are in the LC Test Target menu, but the device name is dimmed and can't be selected. I've relaunched LC several times, plugged and unplugged the device, etc. The path to the SDK is accurate, though I reset it anyway. It all worked last week though it took some tinkering. If others see the same thing I'll report it but I'm unsure if it's me or not right now. Is there a way to tell LC to re-assess its device menu? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Mon Sep 12 17:17:10 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 07:17:10 +1000 Subject: Saving script-only stacks In-Reply-To: <74c70c01-698d-3296-ada7-b9edfbc05aff@hyperactivesw.com> References: <97E7D59E-46BE-4024-A8BB-0CCB526FB268@appisle.net> <74c70c01-698d-3296-ada7-b9edfbc05aff@hyperactivesw.com> Message-ID: <15FB35B9-D0B5-4C15-8E7C-7BA089EB3629@appisle.net> Everything needs a report so it can be tracked for testing. Sent from my iPhone > On 13 Sep 2016, at 7:07 AM, J. Landman Gay wrote: > > I didn't open a report, I thought the behavior was either intentional or unavoidable. If you're submitting a fix anyway, probably no need for a report, right? From brahma at hindu.org Mon Sep 12 17:23:57 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 12 Sep 2016 21:23:57 +0000 Subject: Maintain Order in JSON Import Message-ID: If you import JSON like this: { "colormeds": { "progress": { "level": "1", "cycle": "1" }, "colorwheel": { "Red": "255,0,0", "Red-Orange": "255,64,0", "Orange": "255,127,0", "Orange-Yellow": "255,191,0", "Yellow": "255,255,0", "Yellow-Green": "191,255,0", "Green": "0,255,0", "Green-Blue": "0,191,255", "Blue": "0,0,255", "Blue-Violet": "127,0,255", "Violet": "127,0,127", "Red-Violet": "191,0,127" } } the keys for: sConfigColor["colormeds"]["colorwheel"] are returned as expected in a hashed order Blue Orange-Yellow Violet Green Green-Blue Red-Violet Blue-Violet Red Yellow Red-Orange Orange Yellow-Green is there a simple method for restoring the sequential order as entered in the JSON? or a way to store in the JSON that facilitates that requirement? I solved it by put the values into an array, with a extra delimited, but this seems "hacky" but can now order the keys because they default to numeric index "colorwheel": [ "Red|255,0,0", "Red-Orange|255,64,0", "Orange|255,127,0", "Orange-Yellow|255,191,0", "Yellow|255,255,0", "Yellow-Green|191,255,0", "Green|0,255,0", "Green-Blue|0,191,255", "Blue|0,0,255", "Blue-Violet|127,0,255", "Violet|127,0,127", "Red-Violet|191,0,127"] }, Now I have to set the delimiter to pipe and then fetch the item? Is there a better way? From monte at appisle.net Mon Sep 12 17:31:28 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 07:31:28 +1000 Subject: Maintain Order in JSON Import In-Reply-To: References: Message-ID: > On 13 Sep 2016, at 7:23 AM, Sannyasin Brahmanathaswami wrote: > > this seems "hacky" but can now order the keys because they default to numeric index It is not hacky. It is the way you represent sequences in JSON. The hacky part is the pipe delimiter. Try: "colorwheel": [ { ?name?: ?Red?, ?color?: ?255,0,0" }, ... or "colorwheel": [ { ?Red?: ?255,0,0" }, ... From bogdanoff at me.com Mon Sep 12 17:31:14 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 12 Sep 2016 14:31:14 -0700 Subject: Callbacks in Windows in LC8 Message-ID: <920E4ABC-4DE3-49AD-AEA2-812BB5939A85@me.com> I?m happy to report that callbacks seem to be working with DirectShow in Windows in LC 8.1 RC2. Basic: Callbacks are a property of a player. They are basically are a list of numbers, each line followed by a message name. The number corresponds to a time in a movie/audio file loaded into a player. When the player reaches that time, it sends the message. This is useful to have things happen in time synced to the progress of a movie. Advanced: I already have these callback lists prepared while I was working with .mov files on Mac and Windows. With the deprecation on QT in Windows, I?m converting those files to wma/wmv. Integral to the use of callbacks is the timeScale property of a file. The timeScale is a number of intervals or blocks per second in a movie. The files I had already created with the QuickTime player all have a timeScale of 600. So when a player plays, these are the numbers that correspond to the progress of time. After converting a MOV file to WMV, I?ve found that the timeScale went from 600 to 10,000,000. So 10,000,000/600 yields a constant of 16,667. That's the number I use to multiply each callback number I already have to play in Windows. And it seems to work. Panos suggested: > Now, regarding your question, I am not 100% sure but I think that > the Windows player reports always longer duration compared to OSX, but this > multiplier is not constant, it differs depending on the audio/video file. > This is why I suggest setting the callbacks as a fraction of the duration, > since this will work cross platform. i.e. > > (duration/8),callback1 > (duration/6),callback2 > (duration/2),callback3 > ... I did not have to do anything with the duration. The cross-platform conversion where I know the original timeScale in QT, and the original callback in QT: (timeScale as WMV / timeScale as MOV) * existing callback in QT = callback in DirectShow To get the timeScale of a file, you have to first load it into a player and then issue: put the timeScale of player ?Player? into tVar However, the player in an existing stack reported a timeScale of not 10 million, but 10,000. So there is variation in the timeScale which affects the duration correspondingly. So the algorithm above has to be used. That existing stack also crashes in the runtime at the point in the script where the callback is set. It works properly in the IDE. I haven?t tracked down why, but the stack is part of a large project. If I run that stack in isolation in the runtime environment, it works properly, and now has a timeScale again of 10 million. Perhaps when the player reports a timeScale of 10 thousand there is something wrong and it then causes a crash. Otherwise? having callbacks working in native Windows is a huge deal for my multimedia application, Music In the Air, and I?m very grateful to Panos and the LC team for getting it working in LC8! I?m planning to move the app in the future to HTML5 and would love to see a player with callbacks working there? :) Peter Bogdanoff From jacque at hyperactivesw.com Mon Sep 12 17:40:30 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 16:40:30 -0500 Subject: Saving script-only stacks In-Reply-To: <15FB35B9-D0B5-4C15-8E7C-7BA089EB3629@appisle.net> References: <97E7D59E-46BE-4024-A8BB-0CCB526FB268@appisle.net> <74c70c01-698d-3296-ada7-b9edfbc05aff@hyperactivesw.com> <15FB35B9-D0B5-4C15-8E7C-7BA089EB3629@appisle.net> Message-ID: On 9/12/16 4:17 PM, Monte Goulding wrote: > Everything needs a report so it can be tracked for testing. http://quality.livecode.com/show_bug.cgi?id=18375 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Mon Sep 12 17:43:34 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 07:43:34 +1000 Subject: very often "Scripts externally modified" popup In-Reply-To: <7133D058-5D13-4F12-BC5F-10E52880DDD0@m-r-d.de> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> <7133D058-5D13-4F12-BC5F-10E52880DDD0@m-r-d.de> Message-ID: > On 13 Sep 2016, at 1:11 AM, Matthias Rebbe wrote: > > Is this a known behaviour or should i file a bug? I?m not aware of it as a known issue Cheers Monte From rdimola at evergreeninfo.net Mon Sep 12 17:44:59 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Sep 2016 17:44:59 -0400 Subject: OSX/Xcode/LC Version Compatibility Panic In-Reply-To: References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005101d20c52$b1bc6090$153521b0$@net> Message-ID: <006001d20d3e$e9227a50$bb676ef0$@net> Panos, Thanks for the info. I kept meaning to thank you and just got diverted. I was just looking for a complete list. I'll dig into the release notes next time. Thanks to you and JLG for your fast answers! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis merakos Sent: Sunday, September 11, 2016 3:20 PM To: How to use LiveCode Subject: Re: OSX/Xcode/LC Version Compatibility Panic Hi Ralph, You can see that in the Release notes. IIRC, the following holds for all the LC versions you are interested: Xcode 6.2 on MacOSX 10.9 Xcode 6.2 and 7.2 on MacOSX 10.10 Xcode 7.3 on MacOSX 10.11 Regarding the problem your customer noticed on iOS 10, I guess it is this one: http://quality.livecode.com/show_bug.cgi?id=18327 If yes, the fix is merged and it will be included in the next LC 8.1.1 RC-1 release. Best, Panos -- On Sun, Sep 11, 2016 at 8:34 PM, Ralph DiMola wrote: > I just upgraded my Mac getting ready for iOS 10. I thought I remember > someone having a more complete list than the one on the LC web site. > My current setup (that I have been submitting apps to the app store) > isn't even on the LC list. (Mavericks/Xcode 6.2/ LC 6.7.x). A list > like below would be very helpful not only to me but to the newbie. > > OSX version / Xcode version / LC version(s) / iOS version(s) / > Simulator > Version(s) > > Does anyone have a complete matrix? > > I just upgraded to OSX 10.11.6. I need to use LC > 6.7.x/7.1.4/8.02/8.1.0 What versions of Xcode do I need to support > what versions of iOS for the 4 LC versions I am using? I'm getting > everything moved to 8.x but I am not there yet. > > ***One customer said an app choked on iOS 10 pre-release. I am > upgrading a device to iOS 10 now to see what's happening. I might have > a serious issue so I want to get this Xcode/LC version thing sorted out today if possible. > > Thank in advance! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Sep 12 17:50:26 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 07:50:26 +1000 Subject: Saving script-only stacks In-Reply-To: References: <97E7D59E-46BE-4024-A8BB-0CCB526FB268@appisle.net> <74c70c01-698d-3296-ada7-b9edfbc05aff@hyperactivesw.com> <15FB35B9-D0B5-4C15-8E7C-7BA089EB3629@appisle.net> Message-ID: <2F076C97-F5C7-4190-8E84-10ACB6CA570C@appisle.net> Thanks > On 13 Sep 2016, at 7:40 AM, J. Landman Gay wrote: > > On 9/12/16 4:17 PM, Monte Goulding wrote: >> Everything needs a report so it can be tracked for testing. > > http://quality.livecode.com/show_bug.cgi?id=18375 > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Sep 12 18:16:40 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 12 Sep 2016 15:16:40 -0700 Subject: Is Beginners' Guide up to date? Message-ID: <92E4E4F0-46BA-4A99-B77F-863F797E0DE2@earthednet.org> Folks: The beginners? guide, which is access through LC 8.01 (rc2) seems to be out of date. I was sending a link to a guy I?m trying to get interested and I see, on the first page, stuff like: Under iOS: LiveCode recommends the following set up: Platform Xcode SDK Simulators Included Snow Leopard LiveCode 4.5.3 Xcode 4.2 SDK 5.0 Simulators Included 5.0, 4.3 Could this be correct? It looks like a pretty embarrassing intro for a newby. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From merakosp at gmail.com Mon Sep 12 18:17:50 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 13 Sep 2016 01:17:50 +0300 Subject: Android device not recognized In-Reply-To: <2180293e-b89f-9068-220a-243e33072a23@hyperactivesw.com> References: <2180293e-b89f-9068-220a-243e33072a23@hyperactivesw.com> Message-ID: If the device name is shown but it is dimmed, could it be the case that you have not selected to build for Android? On 12 Sep 2016 22:15, "J. Landman Gay" wrote: > Was there a change in RC2 in recognizing Android test devices? I've tried > three different ones and LC won't allow any of them. Terminal ("adb > devices") sees them, and they are in the LC Test Target menu, but the > device name is dimmed and can't be selected. > > I've relaunched LC several times, plugged and unplugged the device, etc. > The path to the SDK is accurate, though I reset it anyway. It all worked > last week though it took some tinkering. > > If others see the same thing I'll report it but I'm unsure if it's me or > not right now. Is there a way to tell LC to re-assess its device menu? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Mon Sep 12 18:25:14 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 12 Sep 2016 15:25:14 -0700 Subject: very often "Scripts externally modified" popup In-Reply-To: <1571f561a18.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> <1571f561a18.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On Mon, Sep 12, 2016 at 9:58 AM, J. Landman Gay wrote: > I've been seeing it too, though not much more often than in LC 7. I still > haven't figured out what triggers it and I never use an external editor. I usually see it when I've opened scripts in an editor, and then popped one of them into its own window. Sometimes, the original window will open a duplicate pane with the script when debugging. I haven't tried to find a formula to replicate; I just wrote it off as one of the less annoying and lethal of the IDE quirks/flaws. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Mon Sep 12 19:08:50 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 09:08:50 +1000 Subject: Android device not recognized In-Reply-To: References: <2180293e-b89f-9068-220a-243e33072a23@hyperactivesw.com> Message-ID: <9D1A5334-D331-468F-B8BD-26155C6073A6@appisle.net> > On 13 Sep 2016, at 8:17 AM, panagiotis merakos wrote: > > If the device name is shown but it is dimmed, could it be the case that you > have not selected to build for Android? The other option would be if the mode of your stack is not 1 or it?s not the topStack. Cheers Monte From ahsoftware at sonic.net Mon Sep 12 19:20:28 2016 From: ahsoftware at sonic.net (mwieder) Date: Mon, 12 Sep 2016 16:20:28 -0700 (PDT) Subject: Why Chained Behaviors May Be A Bad Idea In-Reply-To: <8D89D171-AB1D-42D3-A122-B2986FBE5544@hindu.org> References: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> <2D7EA28B-5B38-4703-8700-552E2B1878C2@hindu.org> <1473709027921-4708332.post@n4.nabble.com> <8D89D171-AB1D-42D3-A122-B2986FBE5544@hindu.org> Message-ID: <1473722428472-4708354.post@n4.nabble.com> Sannyasin Brahmanathaswami wrote > but the example was > > Parent X (a behavior for) > Child Y and Child X, > where Child X was also a behavior for > Child A Hopefully that's a typo and not a circular reference. So A | B----C | D Is perfectly reasonable. B has access to A, C has access to A, D has access to C and A. But not B. To use a textbook example, if A=shape, B=circle, C=triangle, and D=right triangle you wouldn't expect (or want) a right triangle to inherit anything from circles, but any changes to triangle should be accessible from right triangles. You might want all circles to be blue and all triangles to be red. Those would be handlers in the B and C scripts. You could then have all right triangles be black (in the D script), and that wouldn't affect other types of triangles. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Why-Chained-Behaviors-May-Be-A-Bad-Idea-tp4708303p4708354.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Sep 12 19:38:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 18:38:24 -0500 Subject: Android device not recognized In-Reply-To: References: <2180293e-b89f-9068-220a-243e33072a23@hyperactivesw.com> Message-ID: <24d89666-d7b7-7977-8fdc-67f50b00cdf8@hyperactivesw.com> On 9/12/16 5:17 PM, panagiotis merakos wrote: > If the device name is shown but it is dimmed, could it be the case that you > have not selected to build for Android? Yes, sorry, that was it. We're sharing the stack back and forth and I should have realized the setting had been changed. But now it won't install. :( It does try. On my Nexus 7 it builds and then after a long wait I get an answer dialog with a huge list of errors, all containing the path to the data folder. At the bottom it says "waiting for device." So I tried on a Samsung S4. On that device, the "installing" dialog appears and nothing else happens. I waited two or three minutes, then had to force-quit LC because there is no way to cancel the dialog. Did I miss something else stupid? The app does build to the desktop and installs after transfer via Dropbox. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 12 20:14:09 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 19:14:09 -0500 Subject: Android device not recognized In-Reply-To: <24d89666-d7b7-7977-8fdc-67f50b00cdf8@hyperactivesw.com> References: <2180293e-b89f-9068-220a-243e33072a23@hyperactivesw.com> <24d89666-d7b7-7977-8fdc-67f50b00cdf8@hyperactivesw.com> Message-ID: On 9/12/16 6:38 PM, J. Landman Gay wrote: > So I tried on a Samsung S4. On that device, the "installing" dialog > appears and nothing else happens. I waited two or three minutes, then > had to force-quit LC because there is no way to cancel the dialog. And on restarting, it did install. No idea what happened but it is working for the moment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Mon Sep 12 21:57:39 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 13 Sep 2016 01:57:39 +0000 Subject: Maintain Order in JSON Import In-Reply-To: References: Message-ID: <008EE7B2-A18B-43FF-BF69-788FE002E5F1@hindu.org> OK? so long as we are using bracket form? someArray [ ] then we will get numeric, sortable keys? so than just go ahead and use standard JSON notation inside the array.. got it. tks On 9/12/16, 11:31 AM, "use-livecode on behalf of Monte Goulding" wrote: It is not hacky. It is the way you represent sequences in JSON. The hacky part is the pipe delimiter. Try: "colorwheel": [ { ?name?: ?Red?, ?color?: ?255,0,0" }, ... or "colorwheel": [ { ?Red?: ?255,0,0" }, From brahma at hindu.org Mon Sep 12 22:08:43 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 13 Sep 2016 02:08:43 +0000 Subject: Project Browser Allows you to move a group into another group Message-ID: the Project Browser is much improved an very stable now? Thanks for whoever did the hard work there. Today, with relayerGroupedControls set to default/false.. I inadvertently dragged a group into another group in the Project Browser. Now any attempt to change the layer of the group B that "slide= down" inside the other group A fails? setting the relayerGroupControls to "true" and trying to change the layer of the group B inside the other group A doesn't work. I finally had to resort to editing the group A. selecting individual the control in the group B cutting these.. Stop editing and paste them on top of the card. Relayering of groups has always been tricky. Should this be reported? If you move the group into another group, one should be able to drag if out, n'est ce Pas? BR From monte at appisle.net Mon Sep 12 22:13:37 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 12:13:37 +1000 Subject: Project Browser Allows you to move a group into another group In-Reply-To: References: Message-ID: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> I think you should be able to both relayer within the group and drag an object out of a group into its parent group or card so it sounds like there?s an issue there. > On 13 Sep 2016, at 12:08 PM, Sannyasin Brahmanathaswami wrote: > > the Project Browser is much improved an very stable now? Thanks for whoever did the hard work there. > > Today, with relayerGroupedControls set to default/false.. I inadvertently dragged a group into another group in the Project Browser. > > Now any attempt to change the layer of the group B that "slide= down" inside the other group A fails? setting the relayerGroupControls to "true" and trying to change the layer of the group B inside the other group A doesn't work. > > I finally had to resort to editing the group A. selecting individual the control in the group B cutting these.. Stop editing and paste them on top of the card. > > Relayering of groups has always been tricky. Should this be reported? If you move the group into another group, one should be able to drag if out, n'est ce Pas? > > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Mon Sep 12 22:56:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 13 Sep 2016 02:56:28 +0000 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> Message-ID: <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> also? if we change the layer of a group from the property inspector, eg. the card has 32 layers of objects and you want to move a group on layer 19 to the top. You can set the layer of group 19 to 35 (in the property inspector) and it actually moves to the top (you can see it on the card) and then if you inspect, it is now on layer 32 because there is no layer 35? we just forced it out to the top. But both the Project Browser and RevApplicationbrowser do not reflect the change. Once in a while they do? but 80% of the time, change of layers are not reflected/updated. Is there a way force refresh these lists? On 9/12/16, 4:13 PM, "use-livecode on behalf of Monte Goulding" wrote: I think you should be able to both relayer within the group and drag an object out of a group into its parent group or card so it sounds like there?s an issue there. From monte at appisle.net Mon Sep 12 23:01:51 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 13 Sep 2016 13:01:51 +1000 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> Message-ID: <62D5FCD2-695B-493F-872C-F809D816DBB4@appisle.net> > On 13 Sep 2016, at 12:56 PM, Sannyasin Brahmanathaswami wrote: > > also? if we change the layer of a group from the property inspector, eg. the card has 32 layers of objects and you want to move a group on layer 19 to the top. > > You can set the layer of group 19 to 35 (in the property inspector) and it actually moves to the top (you can see it on the card) and then if you inspect, it is now on layer 32 because there is no layer 35? we just forced it out to the top. > > But both the Project Browser and RevApplicationbrowser do not reflect the change. Once in a while they do? but 80% of the time, change of layers are not reflected/updated. > > Is there a way force refresh these lists? OK, I think that?s probably a separate issue where the project browser should be listening to the layer property of the objects. Could you report that also? Cheers Monte From jacque at hyperactivesw.com Tue Sep 13 00:31:34 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Sep 2016 23:31:34 -0500 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> Message-ID: <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On September 12, 2016 9:57:40 PM Sannyasin Brahmanathaswami wrote: > > But both the Project Browser and RevApplicationbrowser do not reflect the > change. Once in a while they do? but 80% of the time, change of layers are > not reflected/updated. > > Is there a way force refresh these lists? For the App Browser, right click anywhere in the right hand pane and choose Refresh from the contextual menu. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Tue Sep 13 05:39:12 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 13 Sep 2016 10:39:12 +0100 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> On 13/09/2016 05:31, J. Landman Gay wrote: > On September 12, 2016 9:57:40 PM Sannyasin Brahmanathaswami > wrote: >> >> But both the Project Browser and RevApplicationbrowser do not reflect the >> change. Once in a while they do? but 80% of the time, change of layers are >> not reflected/updated. >> >> Is there a way force refresh these lists? > > For the App Browser, right click anywhere in the right hand pane and choose > Refresh from the contextual menu. I'll just leave this here: http://quality.livecode.com/show_bug.cgi?id=17916 Ben From roger.e.eller at sealedair.com Tue Sep 13 08:36:24 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 13 Sep 2016 08:36:24 -0400 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> Message-ID: Why hide it behind a right-click? A tiny recognisable refresh icon in plain sight would be better, IMHO. ~Roger On Sep 13, 2016 5:43 AM, "Ben Rubinstein" wrote: > On 13/09/2016 05:31, J. Landman Gay wrote: > >> On September 12, 2016 9:57:40 PM Sannyasin Brahmanathaswami < >> brahma at hindu.org> >> wrote: >> >>> >>> But both the Project Browser and RevApplicationbrowser do not reflect the >>> change. Once in a while they do? but 80% of the time, change of layers >>> are >>> not reflected/updated. >>> >>> Is there a way force refresh these lists? >>> >> >> For the App Browser, right click anywhere in the right hand pane and >> choose >> Refresh from the contextual menu. >> > > I'll just leave this here: > http://quality.livecode.com/show_bug.cgi?id=17916 > > Ben > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Sep 13 11:19:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 13 Sep 2016 15:19:38 +0000 Subject: Project Browser Allows you to move a group into another group In-Reply-To: References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> Message-ID: I am not able to reproduce this, this morning after a fresh reboot of LC. If I create new stack, create two groups with multiple objects and move one group into the other group, I can move it out again in the PB? I can also relayer objects in the property inspector and "fresh just out of the box" LC IDE and PB behave as expected. the PB is updated. This goes to the overall problem I have experienced from the beginning with LC8.*?. as you use the IDE.. over time, mysterious things start happening in the background. I have no recipe, but the overall symptom seems to be that in many different contexts, conditions start to arise where some IDE messages stop being passed, or IDE globals/locals that should be updated, are not? I was studying some past posts by Allie, where he discusses the new methods for revIDELibrary "catching" messages etc.. in the effort to encapsulate IDE functions etc?I think there is some flaw deep in that framework? Here are just a few? I should start keeping a list.. and, as I watch this use list? I see others are report things that might just go away if they rebooted LC and tried again? (to be tested, your mileage may vary) -- the Project Browser stops listening to changes in the Project inspector. -- The project inspector doesn't open from any contextual window. -- Choose Card Script from the menu does nothing? SE does not open. -- option-command click on an object will not invoke the SE/script for that object. -- Editing script of an object in the PB opens the tab for a script of a different object in the SE - preopenstack issued from the message box with a top stack open that has even a simple on preopenstack answer "hello" with "OK" end preopenstack does not fire -- in the message box you type something like resetGUI (a command in your stack script) and the msg box updates itself with put resetGUI # without firing your command. -- LC mysteriously opens an IDE stack breaking on some error deep in the IDE stack frame work "something went wrong on line 1867 of revWhatever.livecodescript" -- use of some plugins that used to work are simply out of the question. at one time they did not interfere.. .now we find code breaking inside scripts of plugins? an error message and SE will open a tab with a script for a plug in today, that worked just fine two hours ago and yesterday? -- the script editor has a mind of it's own now? suddenly you have a failure because "end resetGUI" # has become "nd resetGUI" # and you were no where near that line with your cursor! the SE just chopped of char 1 of the end of a handler (I experienced this many times in the past three days) There are many more such failures that start piling up that It can get extremely frustrating to the point of ones love of LC turning a bit sour (I hear this from some others off list too? it's not just me)? you live with the anxiety that something you are trying to debug actually has nothing to do with one's own code/stacks/scripts? I've come to the point where my prompt "Stand up and Stretch" has become "Stand up and stretch; Save all stacks, close all stacks manually and reboot LC" on the hour every hour. These issues are so opaque/numerous that trying to report them is out of the question? otherwise you will not get any work done. You just have to "bite the bullet" reboot and keep going? I realize this "recipeless" report is not as helpful as a singular issue report, but my gut it telling me that there is probably something deep in the IDE framework that may be the underlying cause for *all* these issues. I wonder if we could turn on some log thing and instead of reporting each failure.. .we work for a week and then send in the log? BR PS on the positive side, I just learned how to use getprop to fire/listen for virtual property. So you can have an object "broadcast" an "agnostic" event and different scripts and contexts can handle that in different ways. Awesome! How many solutions I have struggled with that now are solvable with this! It would be great to do a big lesson-demo on various uses of this for newbies? it's a bit opaque/esoteric? On 9/13/16, 2:36 AM, "use-livecode on behalf of Roger Eller" wrote: But both the Project Browser and RevApplicationbrowser do not reflect the change. Once in a while they do? but 80% of the time, change of layers are not reflected/updated. Is there a way force refresh these lists? From brahma at hindu.org Tue Sep 13 11:27:11 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 13 Sep 2016 15:27:11 +0000 Subject: Why Chained Behaviors May Be A Bad Idea In-Reply-To: <1473722428472-4708354.post@n4.nabble.com> References: <26EFBDCF-9FA9-4149-AC02-05F14DBF0449@hindu.org> <48720cc5-1d18-43e7-d88a-b93046ab825b@sonic.net> <2D7EA28B-5B38-4703-8700-552E2B1878C2@hindu.org> <1473709027921-4708332.post@n4.nabble.com> <8D89D171-AB1D-42D3-A122-B2986FBE5544@hindu.org> <1473722428472-4708354.post@n4.nabble.com> Message-ID: <8E07225E-F9A1-4043-B694-63CBF1C208E6@hindu.org> mwieder wrote: Hopefully that's a typo and not a circular reference. So A | B----C | D Is perfectly reasonable. B has access to A, C has access to A, D has access to C and A. But not B. To use a textbook example, if A=shape, B=circle, C=triangle, and D=right triangle you wouldn't expect (or want) a right triangle to inherit anything from circles, but any changes to triangle should be accessible from right triangles. You might want all circles to be blue and all triangles to be red. Those would be handlers in the B and C scripts. You could then have all right triangles be black (in the D script), and that wouldn't affect other types of triangles. BR: yes that was a typo: thanks for this "textbook example" very helpful? gives me the courage to try using it? as it could solve a number of challenges where re-use of code *should* be the best practice but exactly how to accomplish that without polluting a global API (backscript) with all kinds of non-global, extraneous handlers/functions (and mysterious since you lose context)? --one just needs to adopt a smart naming convention so that in the PB, you know what is going on by look at the behavior/scripts file names? Thanks for your patient responses BR From jacque at hyperactivesw.com Tue Sep 13 12:03:43 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Sep 2016 11:03:43 -0500 Subject: Project Browser Allows you to move a group into another group In-Reply-To: References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> Message-ID: <157244a2730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The tiny refresh icon is on the left side under the stack list. Only it's not always so recognizable. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 13, 2016 7:37:37 AM Roger Eller wrote: > Why hide it behind a right-click? A tiny recognisable refresh icon in > plain sight would be better, IMHO. > > ~Roger > > On Sep 13, 2016 5:43 AM, "Ben Rubinstein" wrote: > >> On 13/09/2016 05:31, J. Landman Gay wrote: >> >>> On September 12, 2016 9:57:40 PM Sannyasin Brahmanathaswami < >>> brahma at hindu.org> >>> wrote: >>> >>>> >>>> But both the Project Browser and RevApplicationbrowser do not reflect the >>>> change. Once in a while they do? but 80% of the time, change of layers >>>> are >>>> not reflected/updated. >>>> >>>> Is there a way force refresh these lists? >>>> >>> >>> For the App Browser, right click anywhere in the right hand pane and >>> choose >>> Refresh from the contextual menu. >>> >> >> I'll just leave this here: >> http://quality.livecode.com/show_bug.cgi?id=17916 >> >> Ben >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Tue Sep 13 12:11:13 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 13 Sep 2016 17:11:13 +0100 Subject: [ANN] Release 8.1.0 Message-ID: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> Dear list members, We are pleased to announce the release of LiveCode 8.1.0, our latest feature release. Read more about LiveCode 8.1 here: https://livecode.com/livecode-8-1-is-a-major-minor-release Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.1 has several great new features: Faster, better networking with tsNet ------------------------------------ In partnership with Tech Strategies, LiveCode Indy and Business editions now automatically use the new tsNet external to make your network-aware apps more reliable and responsive. Windows multimedia without QuickTime ------------------------------------ A completely-rewritten Windows player object means that LiveCode 8.1 has out-of-the-box video playback on Windows, Android, MacOS and iOS. Streamlined deployment ---------------------- The updated and improved standalone builder automatically handles adding externals, extensions and script libraries to your app, and enables one-click deployment to all platforms. The full release notes are available from: http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0.pdf LiveCode 8.1.0 contains 2 additional bug fixes since the LiveCode 8.1.0 RC 2 release. Known issues ============ * The Windows installer will fail when running from a network share * The browser widget does not work on 32-bit Linux * HTML5 standalones do not currently work when they contain extensions with dependencies * 64-bit standalones for Mac OS X do not have support for audio recording or the revVideoGrabber external Feedback ======== Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ Have fun! The LiveCode Team From paul at livecode.org Tue Sep 13 12:13:49 2016 From: paul at livecode.org (Paul Hibbert) Date: Tue, 13 Sep 2016 09:13:49 -0700 Subject: Project Browser Allows you to move a group into another group In-Reply-To: References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> Message-ID: The Application Browser has always had a Refresh Icon just below the right hand side of the left pane, it?s only small and light grey, but it?s there. When I suggested a Refresh button for the Project Browser, MW didn?t think it was a good idea! So I made a Plugin that allows me to refresh my PB. :) Paul > On Sep 13, 2016, at 5:36 AM, Roger Eller wrote: > > Why hide it behind a right-click? A tiny recognisable refresh icon in > plain sight would be better, IMHO. > > ~Roger > > On Sep 13, 2016 5:43 AM, "Ben Rubinstein" wrote: > >> On 13/09/2016 05:31, J. Landman Gay wrote: >> >>> On September 12, 2016 9:57:40 PM Sannyasin Brahmanathaswami < >>> brahma at hindu.org> >>> wrote: >>> >>>> >>>> But both the Project Browser and RevApplicationbrowser do not reflect the >>>> change. Once in a while they do? but 80% of the time, change of layers >>>> are >>>> not reflected/updated. >>>> >>>> Is there a way force refresh these lists? >>>> >>> >>> For the App Browser, right click anywhere in the right hand pane and >>> choose >>> Refresh from the contextual menu. >>> >> >> I'll just leave this here: >> http://quality.livecode.com/show_bug.cgi?id=17916 >> >> Ben >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Sep 13 12:14:35 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 13 Sep 2016 12:14:35 -0400 Subject: [ANN] Release 8.1.0 In-Reply-To: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> Message-ID: Oooooooooooooooooh, yeah. 8.1 is out. On Tue, Sep 13, 2016 at 12:11 PM, Peter TB Brett wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.0, our latest > feature release. > > Read more about LiveCode 8.1 here: > https://livecode.com/livecode-8-1-is-a-major-minor-release > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or > via the automatic updater. > > Release Contents > ================ > LiveCode 8.1 has several great new features: > > Faster, better networking with tsNet > ------------------------------------ > In partnership with Tech Strategies, LiveCode Indy and Business editions > now automatically use the new tsNet external to make your network-aware > apps more reliable and responsive. > > Windows multimedia without QuickTime > ------------------------------------ > A completely-rewritten Windows player object means that LiveCode 8.1 has > out-of-the-box video playback on Windows, Android, MacOS and iOS. > > Streamlined deployment > ---------------------- > The updated and improved standalone builder automatically handles adding > externals, extensions and script libraries to your app, and enables > one-click deployment to all platforms. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0.pdf > > LiveCode 8.1.0 contains 2 additional bug fixes since the LiveCode 8.1.0 RC > 2 release. > > Known issues > ============ > * The Windows installer will fail when running from a network share > > * The browser widget does not work on 32-bit Linux > > * HTML5 standalones do not currently work when they contain extensions > with dependencies > > * 64-bit standalones for Mac OS X do not have support for audio recording > or the revVideoGrabber external > > Feedback > ======== > > Please report any bugs encountered on our Bugzilla at > http://quality.livecode.com/ > > > Have fun! > > The LiveCode Team > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From skiplondon at gmail.com Tue Sep 13 13:34:30 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 13 Sep 2016 13:34:30 -0400 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> Message-ID: Really, really excited about this release, especially sFTP and SMTP support! SKIP On Tue, Sep 13, 2016 at 12:14 PM, Mike Kerner wrote: > Oooooooooooooooooh, yeah. 8.1 is out. > > On Tue, Sep 13, 2016 at 12:11 PM, Peter TB Brett > > wrote: > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 8.1.0, our latest > > feature release. > > > > Read more about LiveCode 8.1 here: > > https://livecode.com/livecode-8-1-is-a-major-minor-release > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ or > > via the automatic updater. > > > > Release Contents > > ================ > > LiveCode 8.1 has several great new features: > > > > Faster, better networking with tsNet > > ------------------------------------ > > In partnership with Tech Strategies, LiveCode Indy and Business editions > > now automatically use the new tsNet external to make your network-aware > > apps more reliable and responsive. > > > > Windows multimedia without QuickTime > > ------------------------------------ > > A completely-rewritten Windows player object means that LiveCode 8.1 has > > out-of-the-box video playback on Windows, Android, MacOS and iOS. > > > > Streamlined deployment > > ---------------------- > > The updated and improved standalone builder automatically handles adding > > externals, extensions and script libraries to your app, and enables > > one-click deployment to all platforms. > > > > The full release notes are available from: > > http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0.pdf > > > > LiveCode 8.1.0 contains 2 additional bug fixes since the LiveCode 8.1.0 > RC > > 2 release. > > > > Known issues > > ============ > > * The Windows installer will fail when running from a network share > > > > * The browser widget does not work on 32-bit Linux > > > > * HTML5 standalones do not currently work when they contain extensions > > with dependencies > > > > * 64-bit standalones for Mac OS X do not have support for audio recording > > or the revVideoGrabber external > > > > Feedback > > ======== > > > > Please report any bugs encountered on our Bugzilla at > > http://quality.livecode.com/ > > > > > > Have fun! > > > > The LiveCode Team > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Tue Sep 13 13:45:22 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 13 Sep 2016 17:45:22 +0000 Subject: Project Browser Allows you to move a group into another group In-Reply-To: References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> Message-ID: <9F7B3183-D886-4269-BD9F-CFE2E53D2DF8@hindu.org> Paul Hibbert wrote: So I made a Plugin that allows me to refresh my PB. :) BR: Can you share this with us? From MikeKerner at roadrunner.com Tue Sep 13 14:07:19 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 13 Sep 2016 14:07:19 -0400 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> Message-ID: The .1 doesn't do this one justice. This is a big deal. On Tue, Sep 13, 2016 at 1:34 PM, Skip Kimpel wrote: > Really, really excited about this release, especially sFTP and SMTP > support! > > SKIP > > On Tue, Sep 13, 2016 at 12:14 PM, Mike Kerner > wrote: > > > Oooooooooooooooooh, yeah. 8.1 is out. > > > > On Tue, Sep 13, 2016 at 12:11 PM, Peter TB Brett < > peter.brett at livecode.com > > > > > wrote: > > > > > Dear list members, > > > > > > We are pleased to announce the release of LiveCode 8.1.0, our latest > > > feature release. > > > > > > Read more about LiveCode 8.1 here: > > > https://livecode.com/livecode-8-1-is-a-major-minor-release > > > > > > Getting the Release > > > =================== > > > You can get the release at https://downloads.livecode.com/livecode/ or > > > via the automatic updater. > > > > > > Release Contents > > > ================ > > > LiveCode 8.1 has several great new features: > > > > > > Faster, better networking with tsNet > > > ------------------------------------ > > > In partnership with Tech Strategies, LiveCode Indy and Business > editions > > > now automatically use the new tsNet external to make your network-aware > > > apps more reliable and responsive. > > > > > > Windows multimedia without QuickTime > > > ------------------------------------ > > > A completely-rewritten Windows player object means that LiveCode 8.1 > has > > > out-of-the-box video playback on Windows, Android, MacOS and iOS. > > > > > > Streamlined deployment > > > ---------------------- > > > The updated and improved standalone builder automatically handles > adding > > > externals, extensions and script libraries to your app, and enables > > > one-click deployment to all platforms. > > > > > > The full release notes are available from: > > > http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0.pdf > > > > > > LiveCode 8.1.0 contains 2 additional bug fixes since the LiveCode 8.1.0 > > RC > > > 2 release. > > > > > > Known issues > > > ============ > > > * The Windows installer will fail when running from a network share > > > > > > * The browser widget does not work on 32-bit Linux > > > > > > * HTML5 standalones do not currently work when they contain extensions > > > with dependencies > > > > > > * 64-bit standalones for Mac OS X do not have support for audio > recording > > > or the revVideoGrabber external > > > > > > Feedback > > > ======== > > > > > > Please report any bugs encountered on our Bugzilla at > > > http://quality.livecode.com/ > > > > > > > > > Have fun! > > > > > > The LiveCode Team > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Tue Sep 13 14:12:05 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 13 Sep 2016 11:12:05 -0700 Subject: attempt to delete unsaved stack bombs out in IDE Message-ID: I create stacks as I go along by cloning the source stacks. I then try to remove them. "victims" was created by filtering the lines of the openStacks *lock* messages *repeat* for each word stk in victims *if* stk is among the lines of the openStacks *then* *close* stack stk *-- send "closeStack" to stack stk * *delete* stack stk *end* *if* *end* *repeat* *unlock* messages The "close stack" works fine. "delete stack" bombs out to the end of the script, then to the end of the calling script, and gives the message, Script compile error: Error description: request: no 'type' expression The stacks are transient and for data entry. I'm cloning so that I can have more than one. (Eventually, I'll get around to copying deleting cards, but I had to make some other changes, and this was natural. The stack is never, and should never, be saved to disk after creation. Is this a bug, or am I missing something? I'm using 7.1.4. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Sep 13 14:40:06 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 13 Sep 2016 11:40:06 -0700 Subject: attempt to delete unsaved stack bombs out in IDE In-Reply-To: References: Message-ID: On Tue, Sep 13, 2016 at 11:12 AM, Dr. Hawkins wrote: > "delete stack" bombs out to the end of the script, then to the end of the > calling script, and gives the message, > > Script compile error: > > Error description: request: no 'type' expression > > This is apparently happening because the stack in question was the active stack, even though the handler is in a shared behavior. send "delete stack " & stk to stack "mcp" in 0 solves this. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Tue Sep 13 16:29:36 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 13 Sep 2016 16:29:36 -0400 Subject: OSX/Xcode/LC Version Compatibility Panic In-Reply-To: References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005101d20c52$b1bc6090$153521b0$@net> Message-ID: <00d901d20dfd$8bad19b0$a3074d10$@net> I can't get a green box using 6.7.10 on OSX 10.11.6. I tried to use Xcode 7.3 and Xcode 7.3.1 and I get an error message: "The chosen folder is not a valid iOS SDK..." I tried using 6.2 and 6.4 and although the SDK is recognized by LC the mobile prefs box stays red. Anyone else have this problem? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis merakos Sent: Sunday, September 11, 2016 3:20 PM To: How to use LiveCode Subject: Re: OSX/Xcode/LC Version Compatibility Panic Hi Ralph, You can see that in the Release notes. IIRC, the following holds for all the LC versions you are interested: Xcode 6.2 on MacOSX 10.9 Xcode 6.2 and 7.2 on MacOSX 10.10 Xcode 7.3 on MacOSX 10.11 Regarding the problem your customer noticed on iOS 10, I guess it is this one: http://quality.livecode.com/show_bug.cgi?id=18327 If yes, the fix is merged and it will be included in the next LC 8.1.1 RC-1 release. Best, Panos -- On Sun, Sep 11, 2016 at 8:34 PM, Ralph DiMola wrote: > I just upgraded my Mac getting ready for iOS 10. I thought I remember > someone having a more complete list than the one on the LC web site. > My current setup (that I have been submitting apps to the app store) > isn't even on the LC list. (Mavericks/Xcode 6.2/ LC 6.7.x). A list > like below would be very helpful not only to me but to the newbie. > > OSX version / Xcode version / LC version(s) / iOS version(s) / > Simulator > Version(s) > > Does anyone have a complete matrix? > > I just upgraded to OSX 10.11.6. I need to use LC > 6.7.x/7.1.4/8.02/8.1.0 What versions of Xcode do I need to support > what versions of iOS for the 4 LC versions I am using? I'm getting > everything moved to 8.x but I am not there yet. > > ***One customer said an app choked on iOS 10 pre-release. I am > upgrading a device to iOS 10 now to see what's happening. I might have > a serious issue so I want to get this Xcode/LC version thing sorted out today if possible. > > Thank in advance! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Sep 13 16:28:39 2016 From: curry at pair.com (Curry Kenworthy) Date: Tue, 13 Sep 2016 16:28:39 -0400 Subject: [ANN] WordOut 1.3.004 In-Reply-To: References: Message-ID: <57D86177.9050803@pair.com> Are you ready to export Word documents from LiveCode? If you've ever used WordLib, this is just the reverse. Issue a one-liner (wordout "field myDocument") and the contents of a LiveCode field become an MS Word file! That's it, you're done. It slices, it dices, and folds up to a small electronic size (32K unzipped) for your daily commute. Your word processor will never look at you the same again. :) Yes folks, it's WordOut! WordOut doesn't rely on Microsoft or any other product to write your Word file; it handles the file format natively with LC code. You don't even need MS Office installed. Version 1.3 handles images and has added conveniences, including more options for input and handier document launch. It works great with LiveCode 8, and equally well with LC 5.5 and 6.7. So crank out some cool docs for your end users! Get it here: http://livecodeaddons.com/wordout/ BTW, if you paid full price for WordLib (not a revBundle) before 2016 there's a $20 discount for WordOut, just follow the directions at the store. Speaking of which, WordLib 2.1 is also being tidied up for release. Celebrating 8 years of LC document imports! Thanks to LiveCode Ltd and my fans, friends, colleagues, and amazing clients. Those 8 years are hard to beat, but I'm hoping the next 8 will be even bigger, better, brighter, and bolder for all of us here. WordOut recognizes tons of text formatting features, and you'll love the export quality, especially if you have optimized images. As always, unzip the download and use the Try WordOut stack to see things in action. Currently the Try stack also has the instructions and documentation. Enjoy your coding. Best wishes, Curry Kenworthy http://curryk.com/consulting/ From merakosp at gmail.com Tue Sep 13 16:40:09 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 13 Sep 2016 23:40:09 +0300 Subject: OSX/Xcode/LC Version Compatibility Panic In-Reply-To: References: <157195f6cfa-2ca3-1f09e@webprd-m95.mail.aol.com> <15719fc4650.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005101d20c52$b1bc6090$153521b0$@net> <00d901d20dfd$8bad19b0$a3074d10$@net> Message-ID: Hi Ralph, LC 6.7.10 needs xcode 7.1 on OSX 10.11. But why are you using 6.7.10 and not 6.7.11? Or why not 8.1.0 ? :) Panos -- On 13 Sep 2016 21:27, "Ralph DiMola" wrote: I can't get a green box using 6.7.10 on OSX 10.11.6. I tried to use Xcode 7.3 and Xcode 7.3.1 and I get an error message: "The chosen folder is not a valid iOS SDK..." I tried using 6.2 and 6.4 and although the SDK is recognized by LC the mobile prefs box stays red. Anyone else have this problem? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis merakos Sent: Sunday, September 11, 2016 3:20 PM To: How to use LiveCode Subject: Re: OSX/Xcode/LC Version Compatibility Panic Hi Ralph, You can see that in the Release notes. IIRC, the following holds for all the LC versions you are interested: Xcode 6.2 on MacOSX 10.9 Xcode 6.2 and 7.2 on MacOSX 10.10 Xcode 7.3 on MacOSX 10.11 Regarding the problem your customer noticed on iOS 10, I guess it is this one: http://quality.livecode.com/show_bug.cgi?id=18327 If yes, the fix is merged and it will be included in the next LC 8.1.1 RC-1 release. Best, Panos -- On Sun, Sep 11, 2016 at 8:34 PM, Ralph DiMola wrote: > I just upgraded my Mac getting ready for iOS 10. I thought I remember > someone having a more complete list than the one on the LC web site. > My current setup (that I have been submitting apps to the app store) > isn't even on the LC list. (Mavericks/Xcode 6.2/ LC 6.7.x). A list > like below would be very helpful not only to me but to the newbie. > > OSX version / Xcode version / LC version(s) / iOS version(s) / > Simulator > Version(s) > > Does anyone have a complete matrix? > > I just upgraded to OSX 10.11.6. I need to use LC > 6.7.x/7.1.4/8.02/8.1.0 What versions of Xcode do I need to support > what versions of iOS for the 4 LC versions I am using? I'm getting > everything moved to 8.x but I am not there yet. > > ***One customer said an app choked on iOS 10 pre-release. I am > upgrading a device to iOS 10 now to see what's happening. I might have > a serious issue so I want to get this Xcode/LC version thing sorted out today if possible. > > Thank in advance! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Sep 14 02:58:02 2016 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 13 Sep 2016 23:58:02 -0700 (PDT) Subject: [ANN] Release 8.1.0 In-Reply-To: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> Message-ID: <1473836282065-4708379.post@n4.nabble.com> Fantastic.. well done to the LiveCode team!! using 8.1 right now ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-0-tp4708368p4708379.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Sep 14 10:50:30 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 07:50:30 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: A couple weeks ago I wrote: > Along these lines, I'm hoping the docs will include a detailed listing > of which features from your external are included in which LC edition > (Community, Indy, Business), so folks can choose those which best serve > whatever needs they may have. > > For example, most of the code I write, esp. where it pertains to > reusable libraries, doesn't use anything not available in Community if > at all possible, so I can later have the option of re-releasing it under > GPL. > > An additional note in the docs letting people know how to deploy apps > that don't need to include the external will be very useful for some of us. Does anyone here know where I can find a breakdown of which new networking features are available in which LC 8.1 editions (Community, Indy, Business)? I couldn't find that in the Release Notes. I'm already getting questions in the community about this, and I don't know how to answer them without this guidance. Thanks in advance for a URL or pointer to the sections of the docs where I can find that breakdown. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Wed Sep 14 10:58:49 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 14 Sep 2016 15:58:49 +0100 Subject: libURL gone mad In-Reply-To: References: Message-ID: On 14/09/2016 15:50, Richard Gaskin wrote: > A couple weeks ago I wrote: > >> Along these lines, I'm hoping the docs will include a detailed listing >> of which features from your external are included in which LC edition >> (Community, Indy, Business), so folks can choose those which best serve >> whatever needs they may have. >> >> For example, most of the code I write, esp. where it pertains to >> reusable libraries, doesn't use anything not available in Community if >> at all possible, so I can later have the option of re-releasing it under >> GPL. >> >> An additional note in the docs letting people know how to deploy apps >> that don't need to include the external will be very useful for some >> of us. > > Does anyone here know where I can find a breakdown of which new > networking features are available in which LC 8.1 editions (Community, > Indy, Business)? I couldn't find that in the Release Notes. https://livecode.com/products/livecode-platform/livecode-networking-layer/ Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From brahma at hindu.org Wed Sep 14 11:05:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 14 Sep 2016 15:05:35 +0000 Subject: Pull Down Menu has no icon Message-ID: Pull down menus used to have small fly-down arrow icon on the right by default. This carried thru to a standalone without the necessity of adding the icon to your stack (I thought) in 8.1 I'm not seeing these. In the PI there is default icon assignment 1136 on one that I made in 8.1 RC2?but there is no image with that ID number. In 8.1 gm there is no icon assignment for a new pull down menu button. Was this an intentional change? These will go to mobile, so perhaps we should to fork to a native iOS or Android pickers, but I would prefer to keep the dev as simple as possible for V1 so if the icon would automatically be assigned and included that would be ideal. BR From ambassador at fourthworld.com Wed Sep 14 11:12:49 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 08:12:49 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> Peter TB Brett wrote: > On 14/09/2016 15:50, Richard Gaskin wrote: >> A couple weeks ago I wrote: ... >> Does anyone here know where I can find a breakdown of which >> new networking features are available in which LC 8.1 editions >> (Community, Indy, Business)? > > https://livecode.com/products/livecode-platform/livecode-networking-layer/ Perfect - thanks! -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Wed Sep 14 11:14:05 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 14 Sep 2016 16:14:05 +0100 Subject: libURL gone mad In-Reply-To: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> Message-ID: On 14/09/2016 16:12, Richard Gaskin wrote: > Peter TB Brett wrote: > >> On 14/09/2016 15:50, Richard Gaskin wrote: >>> A couple weeks ago I wrote: > ... >>> Does anyone here know where I can find a breakdown of which >>> new networking features are available in which LC 8.1 editions >>> (Community, Indy, Business)? >> >> > https://livecode.com/products/livecode-platform/livecode-networking-layer/ > > Perfect - thanks! The short answer is that since tsNet isn't included in the open source edition of LiveCode there are no new networking features in the open source edition of LiveCode 8.1. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From dan at clearvisiontech.com Wed Sep 14 11:29:40 2016 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 14 Sep 2016 08:29:40 -0700 Subject: LC 8.1.0 iOS Deployment In-Reply-To: References: Message-ID: Greetings! Ok, so I download iOS 10 to my device and I see that my apps have bug 18327. Ug! According to the QCC, this issue is fixed in 8.1.0. So I installed 8.1.0 to rebuild and test my apps. But, I can't get the iOS standalone made. I get this error: There was an error while saving the standalone application linking for arm (arm64) failed with duplicate symbol l001 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l002 in: (blah, blah, blah...) Any ideas what the problem is? And, isn't it supposed to build for arm7? I thought arm64 apps were no longer viable in the app store? Thank you in advance for any assistance! -Dan OSX 10.9.5 LC 8.1.0 XCode 6.2 From richmondmathewson at gmail.com Wed Sep 14 11:54:25 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Sep 2016 18:54:25 +0300 Subject: LC 8.1 Message-ID: <98972ff5-e649-d168-3bd0-db4a3e53e4da@gmail.com> Fantastic as far as it goes . . . However, as I am, still unable to access any documentation, either in a stack or via a browser, in LC 8.1 on Xubuntu 16.04 64-bit, I feel I may be missing out on a lot of the exciting new features. The online documentation at https://livecode.com/resources/api/#livecode_script/%24 has, also, not been updated yet. *Bug 16848* Richmond. From panos.merakos at livecode.com Wed Sep 14 11:54:26 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 14 Sep 2016 16:54:26 +0100 Subject: LC 8.1.0 iOS Deployment In-Reply-To: References: Message-ID: Hi Dan, What is the full error msg? Do you get this error on subsequent attempts to build an iOS standalone, or just the very first time? I suggest you file a bug report at http://quality.livecode.com Best, Panos -- On Wed, Sep 14, 2016 at 4:29 PM, Dan Friedman wrote: > Greetings! > > Ok, so I download iOS 10 to my device and I see that my apps have bug > 18327. Ug! According to the QCC, this issue is fixed in 8.1.0. So I > installed 8.1.0 to rebuild and test my apps. But, I can't get the iOS > standalone made. I get this error: > > There was an error while saving the standalone application > linking for arm (arm64) failed with duplicate symbol l001 in: > /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/ > Runtime/iOS/Device-8_2/Standalone > /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/ > Runtime/iOS/Device-8_2/revsecurity > duplicate symbol l002 in: > (blah, blah, blah...) > > > Any ideas what the problem is? And, isn't it supposed to build for arm7? > I thought arm64 apps were no longer viable in the app store? > > > Thank you in advance for any assistance! > -Dan > > OSX 10.9.5 > LC 8.1.0 > XCode 6.2 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From smaclean at madmansoft.com Wed Sep 14 11:55:19 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 14 Sep 2016 11:55:19 -0400 Subject: iOS Dev and Deployment Tip Message-ID: <34078EA6-467F-484C-85A3-893E08F36C3C@madmansoft.com> Hi All, With iOS 10 now out and macOS 10.12 coming next week, I expect to see a bunch of emails with issues about deployment problems and I?d like to share what I do to try and keep everything sane and working. I use VM?s Fusion and build a VM for each version of the OS, install the appropriate version of Xcode and LC and then keep it there. That includes version of externals like mergEXT for that version of iOS and LC. Sort of like time machine for development, each one frozen in time. I already have my 10.11 VM set to support iOS 9, have one setup for 10.12 and will do my testing there before I update anything on my main machine. This setup has saved me more than once when I jumped the gun and updated something before all is ready. It also gives me a chance to install OS beta?s to see how LC apps preform. Hope this helps someone else... If you have a different solution that works for you, please share! Best, Steve MacLean From livfoss at mac.com Wed Sep 14 11:57:18 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 14 Sep 2016 17:57:18 +0200 Subject: LiveCode Server 8.1 - installing Message-ID: I admit to knowing nothing at all about Linux. I am using Jacque?s Zygodact product running as a CGI as part of a website which is hosted by DreamHost - this is to sell a product via FastSpring. Matthias Rebbe has very generously explained how to do this (I mean how to set up the selling of a download product via FastSpring using Zygodact to get the license codes). I **almost** got it working (it actually did work for one out of two products) when I noticed that the version of LiveCode Server I was using was one of the LC7 series, so I decided to update it. Now nothing works, and the instructions on the LiveCode site don?t seem to apply to me at all - they seem to imply that I have full control of Apache on DreamHost, but I don?t. All I?ve got is my own modest web presence, a CGI folder and so on. I tried simply replacing the old LC Server folder with the new one, but that seems to have no effect at all. I can?t run a test program (test.lc or whatever) from a browser, and the tests which were working on the FastSpring site - which call LC programs on the server - now don?t work at all. Obviously I have made a massive error, but what is it? I just want to be able to run some .lc programs on the server - it doesn?t seem much to ask. In over my head and seeking any advice. Graham From peter.brett at livecode.com Wed Sep 14 12:08:48 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 14 Sep 2016 17:08:48 +0100 Subject: LiveCode Server 8.1 - installing In-Reply-To: References: Message-ID: <399a2c36-c24f-ecfa-1ee5-9755187d08c1@livecode.com> On 14/09/2016 16:57, Graham Samuel wrote: > I admit to knowing nothing at all about Linux. I am using Jacque?s Zygodact product running as a CGI as part of a website which is hosted by DreamHost - this is to sell a product via FastSpring. Matthias Rebbe has very generously explained how to do this (I mean how to set up the selling of a download product via FastSpring using Zygodact to get the license codes). I **almost** got it working (it actually did work for one out of two products) when I noticed that the version of LiveCode Server I was using was one of the LC7 series, so I decided to update it. > > Now nothing works, and the instructions on the LiveCode site don?t seem to apply to me at all - they seem to imply that I have full control of Apache on DreamHost, but I don?t. All I?ve got is my own modest web presence, a CGI folder and so on. I tried simply replacing the old LC Server folder with the new one, but that seems to have no effect at all. I can?t run a test program (test.lc or whatever) from a browser, and the tests which were working on the FastSpring site - which call LC programs on the server - now don?t work at all. > > Obviously I have made a massive error, but what is it? I just want to be able to run some .lc programs on the server - it doesn?t seem much to ask. > > In over my head and seeking any advice. > Hi Graham, What version of Linux is your server running? LiveCode 8.1 server is expected to run on: - CentOS 7 - Debian 7 (wheezy) - Debian 8 (jessie) - Ubuntu 14.04 - Ubuntu 16.04 - Fedora 23 - Fedora 24 Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From livfoss at mac.com Wed Sep 14 12:25:08 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 14 Sep 2016 18:25:08 +0200 Subject: LiveCode Server 8.1 - installing In-Reply-To: <399a2c36-c24f-ecfa-1ee5-9755187d08c1@livecode.com> References: <399a2c36-c24f-ecfa-1ee5-9755187d08c1@livecode.com> Message-ID: <9E0565FD-00C8-4999-93CA-164F9BFCDE31@mac.com> HI Peter Thanks for the lightning reply! A quick check on the DreamHost Knowledge Base doesn?t answer the question, so I?ve had to generate a ticket in their support system. A lot of LC people use DreamHost, and as I say it was kind of working until I foolishly binned my 7 series version in favour of 8.1. What scares me is having to do command-line stuff on an OS I know absolutely nothing about. The instructions and installation notes I?ve read so far don?t work for someone with that particular phobia. Cheers Graham > On 14 Sep 2016, at 18:08, Peter TB Brett wrote: > > > > On 14/09/2016 16:57, Graham Samuel wrote: >> I admit to knowing nothing at all about Linux. I am using Jacque?s Zygodact product running as a CGI as part of a website which is hosted by DreamHost - this is to sell a product via FastSpring. Matthias Rebbe has very generously explained how to do this (I mean how to set up the selling of a download product via FastSpring using Zygodact to get the license codes). I **almost** got it working (it actually did work for one out of two products) when I noticed that the version of LiveCode Server I was using was one of the LC7 series, so I decided to update it. >> >> Now nothing works, and the instructions on the LiveCode site don?t seem to apply to me at all - they seem to imply that I have full control of Apache on DreamHost, but I don?t. All I?ve got is my own modest web presence, a CGI folder and so on. I tried simply replacing the old LC Server folder with the new one, but that seems to have no effect at all. I can?t run a test program (test.lc or whatever) from a browser, and the tests which were working on the FastSpring site - which call LC programs on the server - now don?t work at all. >> >> Obviously I have made a massive error, but what is it? I just want to be able to run some .lc programs on the server - it doesn?t seem much to ask. >> >> In over my head and seeking any advice. >> > > Hi Graham, > > What version of Linux is your server running? LiveCode 8.1 server is expected to run on: > > - CentOS 7 > - Debian 7 (wheezy) > - Debian 8 (jessie) > - Ubuntu 14.04 > - Ubuntu 16.04 > - Fedora 23 > - Fedora 24 > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Wed Sep 14 12:34:08 2016 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 14 Sep 2016 09:34:08 -0700 Subject: LC 8.1.0 iOS Deployment Message-ID: <37B8315A-DB80-405C-8E45-EFB5419E8FEE@clearvisiontech.com> Panos, Thank you for the reply. Here is the entire error message: There was an error while saving the standalone application linking for arm (arm64) failed with duplicate symbol l001 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l002 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l003 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l004 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l005 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l006 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l007 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l008 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l009 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l010 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l011 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l012 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity duplicate symbol l013 in: /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/Standalone /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-8_2/revsecurity ld: 13 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) > Hi Dan, > > What is the full error msg? Do you get this error on subsequent attempts to > build an iOS standalone, or just the very first time? > > I suggest you file a bug report at http://quality.livecode.com > > Best, > Panos > -- > >> On Wed, Sep 14, 2016 at 4:29 PM, Dan Friedman >> wrote: >> >> Greetings! >> > >> Ok, so I download iOS 10 to my device and I see that my apps have bug >> 18327. Ug! According to the QCC, this issue is fixed in 8.1.0. So I >> installed 8.1.0 to rebuild and test my apps. But, I can't get the iOS >> standalone made. I get this error: >> > >> There was an error while saving the standalone application >> linking for arm (arm64) failed with duplicate symbol l001 in: >> /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/ >> Runtime/iOS/Device-8_2/Standalone >> /Applications/LiveCode Indy 8.1.0.app/Contents/Tools/ >> Runtime/iOS/Device-8_2/revsecurity >> duplicate symbol l002 in: >> (blah, blah, blah...) >> >> Any ideas what the problem is? And, isn't it supposed to build for arm7? >> I thought arm64 apps were no longer viable in the app store? >> >> >> Thank you in advance for any assistance! >> -Dan >> >> OSX 10.9.5 >> LC 8.1.0 >> XCode 6.2 From ambassador at fourthworld.com Wed Sep 14 12:38:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 09:38:26 -0700 Subject: libURL gone mad In-Reply-To: References: Message-ID: <778effa2-5749-4db8-598c-93b293c03f84@fourthworld.com> Peter TB Brett wrote" > On 14/09/2016 16:12, Richard Gaskin wrote: >> Peter TB Brett wrote: >> >>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>> A couple weeks ago I wrote: >> ... >>>> Does anyone here know where I can find a breakdown of which >>>> new networking features are available in which LC 8.1 editions >>>> (Community, Indy, Business)? >>> >>> >> https://livecode.com/products/livecode-platform/livecode-networking-layer/ >> >> Perfect - thanks! > > The short answer is that since tsNet isn't included in the open source > edition of LiveCode there are no new networking features in the open > source edition of LiveCode 8.1. Since they were written under proprietary license I would expect that the new externals would not be available in the GPL-governed Community Edition. But now that Indy and Business are no longer distinguished by company size alone but also specific features, it's helpful to know which features are where. That breakdown is very useful. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Wed Sep 14 12:41:18 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 14 Sep 2016 12:41:18 -0400 Subject: libURL gone mad In-Reply-To: References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> Message-ID: On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett wrote: > > > On 14/09/2016 16:12, Richard Gaskin wrote: > >> Peter TB Brett wrote: >> >> On 14/09/2016 15:50, Richard Gaskin wrote: >>> >>>> A couple weeks ago I wrote: >>>> >>> ... >> >>> Does anyone here know where I can find a breakdown of which >>>> new networking features are available in which LC 8.1 editions >>>> (Community, Indy, Business)? >>>> >>> >>> >>> https://livecode.com/products/livecode-platform/livecode-net >> working-layer/ >> >> Perfect - thanks! >> > > The short answer is that since tsNet isn't included in the open source > edition of LiveCode there are no new networking features in the open source > edition of LiveCode 8.1. > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > Since SMTP is new to LC, other than some home-made libraries, can you provide a working example? The general syntax is in the docs, but no examples. And there's the mysterious parameter pSettings. What is the format and content of pSettings? ~Roger From DixonJA at hotmail.co.uk Wed Sep 14 12:46:47 2016 From: DixonJA at hotmail.co.uk (John Dixon) Date: Wed, 14 Sep 2016 16:46:47 +0000 Subject: Another fine mess I find myself in... Message-ID: I have done something that I don't usually do... I have installed the latest stuff without waiting for the 'shrieks of despair' to appear in the list to find out what the problems are... I upgraded my iphone to 10 I upgraded liveCode to 8.1 After doing this I noticed that the status bar at the top of the screen was nudging everything down 20 pixels... Just to see what was happening, I got rid of the status bar... then things were, let's say OK... I deleted the stack from the iPhone and loaded it afresh... Now it seems that there is a problem with running .lc scripts :-( in that nothing is returned, no data is being returned... the .lc script queries a database and returns some data... but it is not happening... any clues ? From ambassador at fourthworld.com Wed Sep 14 13:23:22 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 10:23:22 -0700 Subject: LiveCode Server 8.1 - installing In-Reply-To: <9E0565FD-00C8-4999-93CA-164F9BFCDE31@mac.com> References: <9E0565FD-00C8-4999-93CA-164F9BFCDE31@mac.com> Message-ID: <69f93622-d40e-4681-7546-4f282d43ffec@fourthworld.com> Graham Samuel wrote: > A quick check on the DreamHost Knowledge Base doesn?t answer the > question, so I?ve had to generate a ticket in their support system. You may consider closing that support request with Dreamhost. There are enough of us using LC Server on DH that I'd like to avoid the potential of creating a reputation for LiveCode as representing an unusual cost for them to support. I really like the team at DH (I've met some of them at the SoCal Linux Expo, and they were enormously helpful last year in helping us sort out LC's transition to 64-bit), so I try to be mindul of our impact on their time (hosting is a notoriously low-margin business). DH's setup is fine. I run LC on it often, as many of us do. It's set up well to handle any executable that supports stdin and stdout as a CGI, including LC Server, so there's little they can do that won't eat up a lot of their time trying to learn the specifics of LC. Please let us help you instead. Many of us know DH well, and all of us know LC very well. We can help you with LiveCode-specific questions more efficiently than they can. > A lot of LC people use DreamHost, and as I say it was kind of working > until I foolishly binned my 7 series version in favour of 8.1. What is the error you're getting now that you didn't get before? If the LC Lesson you found for setting up LC Server involved updating the Apache config file, you were looking at the one for a dedicated server or VPS. What you want is the one that uses .htaccess, the override mechanism for Apache config supported on most shared hosting services like DG: It may be helpful to review the notes that Stephen put together for setting up LC Server specifically on DH: @Stephen: If you don't mind I can copy your notes to this thread in the forums where we've been collecting notes on host-specific setup instructions so they don't get lost in the ephemera of email list archives: > What scares me is having to do command-line stuff on an OS I know > absolutely nothing about. The instructions and installation notes > I?ve read so far don?t work for someone with that particular phobia. I somewhat agree. Just as we need to be able to use a desktop environment well to be able to design software for it effectively, it's very helpful to be able to work fluidly via Terminal with a server in order to deploy systems there. It's all learnable, and if you like learning it's kinda fun, but like any learning it does take time. We can explore ways to build skills and confidence with Terminal here if you like - there's not all that much you need to know to work on a shared host like your DH account. In under a day you can become confident, in a week you're a pro. :) But alternatively, you might also consider taking advantage of the range of options we have with server systems today. Just as most other development platforms are available with different levels of support across the cloud, LiveCode has more options we well. Using a shared hosting service is a sort of IaaS (Infrastructure as a Servce), where they provide the machine and maintain the OS and the connectivity, and within your account you're pretty much on your own. But as we see with services like what Heroku provides for Python, PHP, etc., we have two PaaS (Platform as a Service) options in our LiveCode world: on-rev.com and hostm.com I have no direct experience with on-rev.com, but it was built by the core team and AFAIK still managed by LiveCode Ltd. I've had correspondences with hostm.com, and while I haven't used their service myself yet I've read many comments here from those who seem very pleased with it. My own exchanges with them have been prompt, candid, and courteous. I was very impressed to find a third-party hosting service as committed to helping LiveCode grow as they are. Both services provide LiveCode Server pre-installed and ready for use with your scripts. Of the two, last time I checked hostm.com's pricing was more favorable. And if you want to stay with DH, they're a fine option too. Follow Stephen's guide, be willing to learn a little about managing permissions in Terminal (though you can probably do what you need in a good FTP tool as well, like the free and open FileZilla), and we can get you up and running there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Sep 14 13:32:32 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 10:32:32 -0700 Subject: Another fine mess I find myself in... In-Reply-To: References: Message-ID: John Dixon wrote: > I have done something that I don't usually do... I have installed the > latest stuff without waiting for the 'shrieks of despair' to appear > in the list to find out what the problems are... > > I upgraded my iphone to 10 > I upgraded liveCode to 8.1 In that case you have no choice but to use LC v8.1, since apparently among the other changes in iOS is is a stronger requirement about some of the specifics of how orientation and splash screens work. We've had a couple reports of LC apps that work find under earlier versions of iOS exhibiting odd behaviors under iOS 10 Beta. Fortunately the team was able to resolve those, and AFAIK the Stable release of v8.1 addresses all iOS 10 issues, possibly including: > After doing this I noticed that the status bar at the top of the > screen was nudging everything down 20 pixels... Just to see what > was happening, I got rid of the status bar... then things were, > let's say OK... > > I deleted the stack from the iPhone and loaded it afresh... > > Now it seems that there is a problem with running .lc scripts :-( in > that nothing is returned, no data is being returned... the .lc script > queries a database and returns some data... but it is not > happening... > > any clues ? I wonder if this comment about splash screen applies to your circumstance: If not this is an excellent reminder of why we want to use the latest build of LC whenever possible, and almost always when a version of iOS is in Beta. iOS has well known to be less concerned with maintaining backward compatibility than most other OSes, so working with the latest builds of both iOS and LC will help ensure any potential issues are identified early enough to be addressed before release. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From neil at livecode.com Wed Sep 14 13:49:59 2016 From: neil at livecode.com (Neil Roger) Date: Wed, 14 Sep 2016 18:49:59 +0100 Subject: libURL gone mad In-Reply-To: References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> Message-ID: <57D98DC7.2010103@livecode.com> Hi Roger, pSettings is an array. More information on what elements apply to that array can be found in the dictionary entry for tsNetSmtpSync I created a stack for the promo 8.1 promo video which should help with using the new tsNetSmtpSync function. This can be downloaded from here http://techsupport.on-rev.com/LCMail.zip All scripts are in the button "send mail" Things are a little more complex in my example as I am dealing with sending unicode chars but it should give you somewhere to start. Cheers, Neil LiveCode Technical Support and Content Creation Lead neil at livecode.com LiveCode +44 (0) 845 219 8923. 25A Thistle Street Lane South West, Edinburgh, EH2 1EW http://www.livecode.com Facebook Twitter Youtube Linkedin On 14/09/2016 17:41, Roger Eller wrote: > On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett > wrote: > >> >> On 14/09/2016 16:12, Richard Gaskin wrote: >> >>> Peter TB Brett wrote: >>> >>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>> A couple weeks ago I wrote: >>>>> >>>> ... >>>> Does anyone here know where I can find a breakdown of which >>>>> new networking features are available in which LC 8.1 editions >>>>> (Community, Indy, Business)? >>>>> >>>> >>>> https://livecode.com/products/livecode-platform/livecode-net >>> working-layer/ >>> >>> Perfect - thanks! >>> >> The short answer is that since tsNet isn't included in the open source >> edition of LiveCode there are no new networking features in the open source >> edition of LiveCode 8.1. >> >> Peter >> >> -- >> Dr Peter Brett >> LiveCode Technical Project Manager >> > > Since SMTP is new to LC, other than some home-made libraries, can you > provide a working example? The general syntax is in the docs, but no > examples. And there's the mysterious parameter pSettings. What is the > format and content of pSettings? > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Wed Sep 14 13:58:15 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 14 Sep 2016 18:58:15 +0100 Subject: [ANN] Release 8.1.0 In-Reply-To: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> Message-ID: <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> Just installed on my Mac. The "Open Recent? menu does not seem to function. Has something changed? All the best Terry > On 13 Sep 2016, at 17:11, Peter TB Brett wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.0, our latest feature release. > > Read more about LiveCode 8.1 here: > https://livecode.com/livecode-8-1-is-a-major-minor-release > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. > > Release Contents > ================ > LiveCode 8.1 has several great new features: > > Faster, better networking with tsNet > ------------------------------------ > In partnership with Tech Strategies, LiveCode Indy and Business editions now automatically use the new tsNet external to make your network-aware apps more reliable and responsive. > > Windows multimedia without QuickTime > ------------------------------------ > A completely-rewritten Windows player object means that LiveCode 8.1 has out-of-the-box video playback on Windows, Android, MacOS and iOS. > > Streamlined deployment > ---------------------- > The updated and improved standalone builder automatically handles adding externals, extensions and script libraries to your app, and enables one-click deployment to all platforms. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0.pdf > > LiveCode 8.1.0 contains 2 additional bug fixes since the LiveCode 8.1.0 RC 2 release. > > Known issues > ============ > * The Windows installer will fail when running from a network share > > * The browser widget does not work on 32-bit Linux > > * HTML5 standalones do not currently work when they contain extensions with dependencies > > * 64-bit standalones for Mac OS X do not have support for audio recording or the revVideoGrabber external > > Feedback > ======== > > Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ > > > Have fun! > > The LiveCode Team > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Sep 14 14:12:33 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 14 Sep 2016 14:12:33 -0400 Subject: [ANN] Release 8.1.0 In-Reply-To: <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> Message-ID: <001301d20eb3$90c7e540$b257afc0$@net> Works OK here on 10.11.6 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Terence Heaford Sent: Wednesday, September 14, 2016 1:58 PM To: How to use LiveCode Subject: Re: [ANN] Release 8.1.0 Just installed on my Mac. The "Open Recent? menu does not seem to function. Has something changed? All the best Terry > On 13 Sep 2016, at 17:11, Peter TB Brett wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.0, our latest feature release. > > Read more about LiveCode 8.1 here: > https://livecode.com/livecode-8-1-is-a-major-minor-release > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. > > Release Contents > ================ > LiveCode 8.1 has several great new features: > > Faster, better networking with tsNet > ------------------------------------ > In partnership with Tech Strategies, LiveCode Indy and Business editions now automatically use the new tsNet external to make your network-aware apps more reliable and responsive. > > Windows multimedia without QuickTime > ------------------------------------ > A completely-rewritten Windows player object means that LiveCode 8.1 has out-of-the-box video playback on Windows, Android, MacOS and iOS. > > Streamlined deployment > ---------------------- > The updated and improved standalone builder automatically handles adding externals, extensions and script libraries to your app, and enables one-click deployment to all platforms. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0.pdf > > LiveCode 8.1.0 contains 2 additional bug fixes since the LiveCode 8.1.0 RC 2 release. > > Known issues > ============ > * The Windows installer will fail when running from a network share > > * The browser widget does not work on 32-bit Linux > > * HTML5 standalones do not currently work when they contain extensions with dependencies > > * 64-bit standalones for Mac OS X do not have support for audio recording or the revVideoGrabber external > > Feedback > ======== > > Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ > > > Have fun! > > The LiveCode Team > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Wed Sep 14 14:11:16 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 14 Sep 2016 19:11:16 +0100 Subject: [ANN] Release 8.1.0 In-Reply-To: <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> Message-ID: It appears the preference for the number of recent files is set to 0 when installing. Could have swore LC remembered this setting when installing a new version? Terry > On 14 Sep 2016, at 18:58, Terence Heaford wrote: > > Just installed on my Mac. > > The "Open Recent? menu does not seem to function. > > Has something changed? > > > All the best > > Terry From klaus at major-k.de Wed Sep 14 14:11:48 2016 From: klaus at major-k.de (Klaus major-k) Date: Wed, 14 Sep 2016 20:11:48 +0200 Subject: [ANN] Release 8.1.0 In-Reply-To: <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> Message-ID: Hi Terence, > Am 14.09.2016 um 19:58 schrieb Terence Heaford : > > Just installed on my Mac. > The "Open Recent? menu does not seem to function. Does it work or does it not work or only seems to not work, but actually does? :-D > Has something changed? "Open Recent" works as exspecterd on my Mac with LC 8.1! > All the best > > Terry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From DixonJA at hotmail.co.uk Wed Sep 14 14:19:03 2016 From: DixonJA at hotmail.co.uk (John Dixon) Date: Wed, 14 Sep 2016 18:19:03 +0000 Subject: Another fine mess I find myself in... In-Reply-To: References: , Message-ID: Richard... iOS 10.0.1 appeared as an update on my iPhone, so I guess it is out of beta. I guess I will have to stay with LC 8.1.0 as it is said to be stable now... I have just tested another stack that uses .lc scripts to query a database and with that one everything seems fine. I am just a little confused now why one stack does not work as I did nothing to it except upgrade... I really hope I don't have to 'rewrite it', as it were... lots of scripts to contend with...:-( Thanks for the reply...:-) ________________________________ From: use-livecode on behalf of Richard Gaskin Sent: 14 September 2016 18:32 To: use-livecode at lists.runrev.com Subject: Re: Another fine mess I find myself in... John Dixon wrote: > I have done something that I don't usually do... I have installed the > latest stuff without waiting for the 'shrieks of despair' to appear > in the list to find out what the problems are... > > I upgraded my iphone to 10 > I upgraded liveCode to 8.1 In that case you have no choice but to use LC v8.1, since apparently among the other changes in iOS is is a stronger requirement about some of the specifics of how orientation and splash screens work. We've had a couple reports of LC apps that work find under earlier versions of iOS exhibiting odd behaviors under iOS 10 Beta. Fortunately the team was able to resolve those, and AFAIK the Stable release of v8.1 addresses all iOS 10 issues, possibly including: > After doing this I noticed that the status bar at the top of the > screen was nudging everything down 20 pixels... Just to see what > was happening, I got rid of the status bar... then things were, > let's say OK... > > I deleted the stack from the iPhone and loaded it afresh... > > Now it seems that there is a problem with running .lc scripts :-( in > that nothing is returned, no data is being returned... the .lc script > queries a database and returns some data... but it is not > happening... > > any clues ? I wonder if this comment about splash screen applies to your circumstance: If not this is an excellent reminder of why we want to use the latest build of LC whenever possible, and almost always when a version of iOS is in Beta. iOS has well known to be less concerned with maintaining backward compatibility than most other OSes, so working with the latest builds of both iOS and LC will help ensure any potential issues are identified early enough to be addressed before release. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Wed Sep 14 14:19:43 2016 From: paul at livecode.org (Paul Hibbert) Date: Wed, 14 Sep 2016 11:19:43 -0700 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <9F7B3183-D886-4269-BD9F-CFE2E53D2DF8@hindu.org> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> <9F7B3183-D886-4269-BD9F-CFE2E53D2DF8@hindu.org> Message-ID: <828FA6B2-0BC2-4622-A2FA-1B9B18E7EF81@livecode.org> I should be able to share it, the plugin was made to add some shortcuts to the menus, so I?ll need to do a little more testing with the latest release and a bit of code tidying along with some warnings/instructions before it?s suitable for public use, but I?ll get on it then add it to the LiveCode Share site, hopefully within the next few days. One issue may be that it was made for Mac, and I only have access to Win 7 for testing on other platforms, so I?m not too sure how well it will work on Windows/Linux. Paul > On Sep 13, 2016, at 10:45 AM, Sannyasin Brahmanathaswami wrote: > > Paul Hibbert wrote: > > So I made a Plugin that allows me to refresh my PB. :) > > > BR: Can you share this with us? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Sep 14 14:20:00 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Sep 2016 21:20:00 +0300 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> Message-ID: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Oddly enough, on Xubuntu 16.04 64-bit 8.1 is ahead of the curve in this respect as populated the recent menu as soon as I started it up. Mind you; no documentation . . . Still. Richmond. On 14.09.2016 21:11, Terence Heaford wrote: > It appears the preference for the number of recent files is set to 0 when installing. > > Could have swore LC remembered this setting when installing a new version? > > > Terry > > >> On 14 Sep 2016, at 18:58, Terence Heaford wrote: >> >> Just installed on my Mac. >> >> The "Open Recent? menu does not seem to function. >> >> Has something changed? >> >> >> All the best >> >> Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Sep 14 14:31:53 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Sep 2016 13:31:53 -0500 Subject: Another fine mess I find myself in... In-Reply-To: References: Message-ID: <4e102229-cbb1-b359-aa74-dc1627bf6ab2@hyperactivesw.com> On 9/14/16 1:19 PM, John Dixon wrote: > I have just tested another stack that uses .lc scripts to query a > database and with that one everything seems fine. I am just a little > confused now why one stack does not work as I did nothing to it > except upgrade Did you double-check the inclusions? Maybe some of them went missing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Sep 14 14:37:35 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 11:37:35 -0700 Subject: [ANN] Release 8.1.0 In-Reply-To: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: Richmond wrote: > Oddly enough, on Xubuntu 16.04 64-bit 8.1 is ahead of the curve in > this respect as populated the recent menu as soon as I started it up. Same here under Ubuntu 14.04. > Mind you; no documentation . . . Still. But not for lack of trying. There are 74 comments in this bug report, with Panos, Peter, and Mark Waddingham taking time away from supported platforms to try to pin down this anomaly on your Xubuntu install, yet thus far it seems they've had difficulty reproducing it: http://quality.livecode.com/show_bug.cgi?id=16848 Please rest assured that we've all read every reference to this bug report each time you've posted it. Maybe we can try a different tack: I've been exploring the dictionary data in Documentation/resources/api/api.sqlite As Mark Weider noted the other day, the IDE includes an API for obtaining the raw data for those entries. And Jacque, myself, and others rather prefer a different layout for the Dictionary. So why don't we make one? We could use an LC stack as the viewer. The field object is pretty nice, well suited for nicely-formatted HtmlText. I appreciate where they're going with the embedded-browser version, esp. since relying on it for the Dictionary means they've had to ensure the Browser Widget is generally robust on all platforms (your Xubuntu install notwithstanding), and at some point I'll be using that object on Linux so it's nice to see the attention it's been getting. But for the Dictionary specifically, even though I have no technical problem preventing me from using the Dictionary I shared Jacque's preference for a different design (for me the biggest feature is among the smallest to implement: I really like having the search field pre-selected when I open the window so I can start typing immediately when it opens). So why not all of us have exactly what we want? Let a thousand flowers bloom and all that. We could take the last Dictionary plugin Jacque and I made and revamp it for use in LC 8. It may be that only three of us use it, but if seems a better use of time than re-posting the same bug report number over and over, and certainly more fun. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Sep 14 14:44:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 11:44:56 -0700 Subject: Another fine mess I find myself in... In-Reply-To: References: Message-ID: John Dixon wrote: > iOS 10.0.1 appeared as an update on my iPhone, so I guess it is out > of beta. Nice to see them maintain backward compatibility at least as far as 10.0.0. ;) > I have just tested another stack that uses .lc scripts to query a > database and with that one everything seems fine. I am just a little > confused now why one stack does not work as I did nothing to it > except upgrade... Glad to hear it's working there, but odd that it didn't in the other. Please let us know if you find the cause. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Wed Sep 14 14:45:42 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Sep 2016 21:45:42 +0300 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: <2444d417-8404-3638-6460-7d37db3e95ff@gmail.com> The documentation works superbly in Xubuntu 14.04 32-bit (all my school computers bar one are that) for LC 8.1; everything popping up in Firefox "without a backward glance". I wish I knew why that does not happen in the 64-bit variant. On 14.09.2016 21:37, Richard Gaskin wrote: > Richmond wrote: > > > Oddly enough, on Xubuntu 16.04 64-bit 8.1 is ahead of the curve in > > this respect as populated the recent menu as soon as I started it up. > > Same here under Ubuntu 14.04. > > > > Mind you; no documentation . . . Still. > > But not for lack of trying. > > There are 74 comments in this bug report, with Panos, Peter, and Mark > Waddingham taking time away from supported platforms to try to pin > down this anomaly on your Xubuntu install, yet thus far it seems > they've had difficulty reproducing it: > http://quality.livecode.com/show_bug.cgi?id=16848 > > Please rest assured that we've all read every reference to this bug > report each time you've posted it. > > Maybe we can try a different tack: > > I've been exploring the dictionary data in > Documentation/resources/api/api.sqlite > > As Mark Weider noted the other day, the IDE includes an API for > obtaining the raw data for those entries. > > And Jacque, myself, and others rather prefer a different layout for > the Dictionary. > > So why don't we make one? > > We could use an LC stack as the viewer. The field object is pretty > nice, well suited for nicely-formatted HtmlText. > > I appreciate where they're going with the embedded-browser version, > esp. since relying on it for the Dictionary means they've had to > ensure the Browser Widget is generally robust on all platforms (your > Xubuntu install notwithstanding), and at some point I'll be using that > object on Linux so it's nice to see the attention it's been getting. > > But for the Dictionary specifically, even though I have no technical > problem preventing me from using the Dictionary I shared Jacque's > preference for a different design (for me the biggest feature is among > the smallest to implement: I really like having the search field > pre-selected when I open the window so I can start typing immediately > when it opens). > > So why not all of us have exactly what we want? Let a thousand > flowers bloom and all that. We could take the last Dictionary plugin > Jacque and I made and revamp it for use in LC 8. It may be that only > three of us use it, but if seems a better use of time than re-posting > the same bug report number over and over, and certainly more fun. > I'm not as hung up on "fun" as some, but it would certainly be more effective. Richmond. From richmondmathewson at gmail.com Wed Sep 14 14:50:44 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Sep 2016 21:50:44 +0300 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: At the risk of seeming very stupid indeed . . . 1. Do the .rev stacks here: /home/richmond/.runrev/components/livecodecommunity-8.1.0.x86_64/Documentation/rev/ contain ALL the Documentation? Richmond. From matthias_livecode_150811 at m-r-d.de Wed Sep 14 14:51:26 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Sep 2016 20:51:26 +0200 Subject: libURL gone mad In-Reply-To: <57D98DC7.2010103@livecode.com> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> Message-ID: <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> Neil was so kind to sent me that stack a 2 days ago, because i was in urgent need of an useful example script for sending emails with tsNet external. I?ve added a function to that button script. The function builds the complete smtp message with all needed smtp headers and it deals with the little problem i mentioned in an email to Neil earlier today regarding using the base64Encode function for encoding the subject line in the smtp header. I?ve uploaded it here https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html Btw.: an easy and very useful tool for Mac OS X to test smtp with your scripts is MockSMTP http://www.mocksmtpapp.com @Neil Thanks again for putting that stack together. It helped me a lot. Maybe you want to replace your stack with mine. Regards, Matthias Am 14.09.2016 um 19:49 schrieb Neil Roger : > > Hi Roger, > > pSettings is an array. More information on what elements apply to that array can be found in the dictionary entry for tsNetSmtpSync > > I created a stack for the promo 8.1 promo video which should help with using the new tsNetSmtpSync function. This can be downloaded from here > > http://techsupport.on-rev.com/LCMail.zip > > All scripts are in the button "send mail" > > Things are a little more complex in my example as I am dealing with sending unicode chars but it should give you somewhere to start. > > Cheers, > > Neil > > > > > LiveCode Technical Support and Content Creation Lead > neil at livecode.com > > LiveCode > +44 (0) 845 219 8923. > 25A Thistle Street Lane South West, Edinburgh, EH2 1EW > http://www.livecode.com > > Facebook Twitter Youtube Linkedin > > > On 14/09/2016 17:41, Roger Eller wrote: >> On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett >> wrote: >> >>> >>> On 14/09/2016 16:12, Richard Gaskin wrote: >>> >>>> Peter TB Brett wrote: >>>> >>>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>>> A couple weeks ago I wrote: >>>>>> >>>>> ... >>>>> Does anyone here know where I can find a breakdown of which >>>>>> new networking features are available in which LC 8.1 editions >>>>>> (Community, Indy, Business)? >>>>>> >>>>> >>>>> https://livecode.com/products/livecode-platform/livecode-net >>>> working-layer/ >>>> >>>> Perfect - thanks! >>>> >>> The short answer is that since tsNet isn't included in the open source >>> edition of LiveCode there are no new networking features in the open source >>> edition of LiveCode 8.1. >>> >>> Peter >>> >>> -- >>> Dr Peter Brett >>> LiveCode Technical Project Manager >>> >> >> Since SMTP is new to LC, other than some home-made libraries, can you >> provide a working example? The general syntax is in the docs, but no >> examples. And there's the mysterious parameter pSettings. What is the >> format and content of pSettings? >> >> ~Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Sep 14 14:55:07 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Sep 2016 21:55:07 +0300 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: Ha, Ha: answering my own question, again: No they don't: blast. On 14.09.2016 21:50, Richmond wrote: > At the risk of seeming very stupid indeed . . . > > 1. Do the .rev stacks here: > /home/richmond/.runrev/components/livecodecommunity-8.1.0.x86_64/Documentation/rev/ > contain ALL the Documentation? > > Richmond. From neil at livecode.com Wed Sep 14 14:55:29 2016 From: neil at livecode.com (Neil Roger) Date: Wed, 14 Sep 2016 19:55:29 +0100 Subject: libURL gone mad In-Reply-To: <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> Message-ID: <57D99D21.4020404@livecode.com> Hi Matthias, Sent the message here before seeing your reply on our support system :) Will update my link with your stack asap Cheers, Neil LiveCode Technical Support and Content Creation Lead neil at livecode.com LiveCode +44 (0) 845 219 8923. 25A Thistle Street Lane South West, Edinburgh, EH2 1EW http://www.livecode.com Facebook Twitter Youtube Linkedin On 14/09/2016 19:51, Matthias Rebbe wrote: > Neil was so kind to sent me that stack a 2 days ago, because i was in urgent need of an useful example script for sending emails with tsNet external. > > I?ve added a function to that button script. The function builds the complete smtp message with all needed smtp headers and it deals with the little problem i mentioned in an email to Neil earlier today regarding using the base64Encode function for encoding the subject line in the smtp header. > > I?ve uploaded it here > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > Btw.: an easy and very useful tool for Mac OS X to test smtp with your scripts is MockSMTP > http://www.mocksmtpapp.com > > > @Neil > Thanks again for putting that stack together. It helped me a lot. > Maybe you want to replace your stack with mine. > > Regards, > > Matthias > > > Am 14.09.2016 um 19:49 schrieb Neil Roger : > >> Hi Roger, >> >> pSettings is an array. More information on what elements apply to that array can be found in the dictionary entry for tsNetSmtpSync >> >> I created a stack for the promo 8.1 promo video which should help with using the new tsNetSmtpSync function. This can be downloaded from here >> >> http://techsupport.on-rev.com/LCMail.zip >> >> All scripts are in the button "send mail" >> >> Things are a little more complex in my example as I am dealing with sending unicode chars but it should give you somewhere to start. >> >> Cheers, >> >> Neil >> >> >> >> >> LiveCode Technical Support and Content Creation Lead >> neil at livecode.com >> >> LiveCode >> +44 (0) 845 219 8923. >> 25A Thistle Street Lane South West, Edinburgh, EH2 1EW >> http://www.livecode.com >> >> Facebook Twitter Youtube Linkedin >> >> >> On 14/09/2016 17:41, Roger Eller wrote: >>> On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett >>> wrote: >>> >>>> On 14/09/2016 16:12, Richard Gaskin wrote: >>>> >>>>> Peter TB Brett wrote: >>>>> >>>>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>>>> A couple weeks ago I wrote: >>>>>>> >>>>>> ... >>>>>> Does anyone here know where I can find a breakdown of which >>>>>>> new networking features are available in which LC 8.1 editions >>>>>>> (Community, Indy, Business)? >>>>>>> >>>>>> https://livecode.com/products/livecode-platform/livecode-net >>>>> working-layer/ >>>>> >>>>> Perfect - thanks! >>>>> >>>> The short answer is that since tsNet isn't included in the open source >>>> edition of LiveCode there are no new networking features in the open source >>>> edition of LiveCode 8.1. >>>> >>>> Peter >>>> >>>> -- >>>> Dr Peter Brett >>>> LiveCode Technical Project Manager >>>> >>> Since SMTP is new to LC, other than some home-made libraries, can you >>> provide a working example? The general syntax is in the docs, but no >>> examples. And there's the mysterious parameter pSettings. What is the >>> format and content of pSettings? >>> >>> ~Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Sep 14 14:59:44 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 14 Sep 2016 14:59:44 -0400 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: Anyone have a suggestion on how to fix the position of the script editor when it stubbornly wants to stay offscreen? This is something in 8.1 I just ran into, today. I have only the built-in display on this lappie. I've tried setting the rect to the screenRect, moving the location around, etc., and if I use MC to show all windows, it's there, but it always stays off-screen. On Wed, Sep 14, 2016 at 2:50 PM, Richmond wrote: > At the risk of seeming very stupid indeed . . . > > 1. Do the .rev stacks here: /home/richmond/.runrev/compone > nts/livecodecommunity-8.1.0.x86_64/Documentation/rev/ contain ALL the > Documentation? > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From neil at livecode.com Wed Sep 14 15:07:56 2016 From: neil at livecode.com (Neil Roger) Date: Wed, 14 Sep 2016 20:07:56 +0100 Subject: libURL gone mad In-Reply-To: <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> Message-ID: <57D9A00C.9020308@livecode.com> updated :) http://techsupport.on-rev.com/LCMail.zip LiveCode Technical Support and Content Creation Lead neil at livecode.com LiveCode +44 (0) 845 219 8923. 25A Thistle Street Lane South West, Edinburgh, EH2 1EW http://www.livecode.com Facebook Twitter Youtube Linkedin On 14/09/2016 19:51, Matthias Rebbe wrote: > Neil was so kind to sent me that stack a 2 days ago, because i was in urgent need of an useful example script for sending emails with tsNet external. > > I?ve added a function to that button script. The function builds the complete smtp message with all needed smtp headers and it deals with the little problem i mentioned in an email to Neil earlier today regarding using the base64Encode function for encoding the subject line in the smtp header. > > I?ve uploaded it here > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > Btw.: an easy and very useful tool for Mac OS X to test smtp with your scripts is MockSMTP > http://www.mocksmtpapp.com > > > @Neil > Thanks again for putting that stack together. It helped me a lot. > Maybe you want to replace your stack with mine. > > Regards, > > Matthias > > > Am 14.09.2016 um 19:49 schrieb Neil Roger : > >> Hi Roger, >> >> pSettings is an array. More information on what elements apply to that array can be found in the dictionary entry for tsNetSmtpSync >> >> I created a stack for the promo 8.1 promo video which should help with using the new tsNetSmtpSync function. This can be downloaded from here >> >> http://techsupport.on-rev.com/LCMail.zip >> >> All scripts are in the button "send mail" >> >> Things are a little more complex in my example as I am dealing with sending unicode chars but it should give you somewhere to start. >> >> Cheers, >> >> Neil >> >> >> >> >> LiveCode Technical Support and Content Creation Lead >> neil at livecode.com >> >> LiveCode >> +44 (0) 845 219 8923. >> 25A Thistle Street Lane South West, Edinburgh, EH2 1EW >> http://www.livecode.com >> >> Facebook Twitter Youtube Linkedin >> >> >> On 14/09/2016 17:41, Roger Eller wrote: >>> On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett >>> wrote: >>> >>>> On 14/09/2016 16:12, Richard Gaskin wrote: >>>> >>>>> Peter TB Brett wrote: >>>>> >>>>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>>>> A couple weeks ago I wrote: >>>>>>> >>>>>> ... >>>>>> Does anyone here know where I can find a breakdown of which >>>>>>> new networking features are available in which LC 8.1 editions >>>>>>> (Community, Indy, Business)? >>>>>>> >>>>>> https://livecode.com/products/livecode-platform/livecode-net >>>>> working-layer/ >>>>> >>>>> Perfect - thanks! >>>>> >>>> The short answer is that since tsNet isn't included in the open source >>>> edition of LiveCode there are no new networking features in the open source >>>> edition of LiveCode 8.1. >>>> >>>> Peter >>>> >>>> -- >>>> Dr Peter Brett >>>> LiveCode Technical Project Manager >>>> >>> Since SMTP is new to LC, other than some home-made libraries, can you >>> provide a working example? The general syntax is in the docs, but no >>> examples. And there's the mysterious parameter pSettings. What is the >>> format and content of pSettings? >>> >>> ~Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Wed Sep 14 15:10:26 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 14 Sep 2016 15:10:26 -0400 Subject: libURL gone mad In-Reply-To: <57D9A00C.9020308@livecode.com> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> <57D9A00C.9020308@livecode.com> Message-ID: This is magnificent!!! Thank you Neil and Matthias for sharing. ~Roger Roger Eller Graphics Systems Analyst 803 North Maple Street P: 864.967.1625 Simpsonville, SC 29681 C: 864.908.0337 SealedAir.com Roger.E.Eller at SealedAir.com On Wed, Sep 14, 2016 at 3:07 PM, Neil Roger wrote: > updated :) > > http://techsupport.on-rev.com/LCMail.zip > > > > > LiveCode Technical Support and Content Creation Lead > neil at livecode.com > > LiveCode > +44 (0) 845 219 8923. > 25A Thistle Street Lane South West, Edinburgh, EH2 1EW > http://www.livecode.com > > Facebook > Twitter Youtube < > https://www.youtube.com/user/RunRevLtd> Linkedin < > https://github.com/runrev/livecode> > > > On 14/09/2016 19:51, Matthias Rebbe wrote: > >> Neil was so kind to sent me that stack a 2 days ago, because i was in >> urgent need of an useful example script for sending emails with tsNet >> external. >> >> I?ve added a function to that button script. The function builds the >> complete smtp message with all needed smtp headers and it deals with the >> little problem i mentioned in an email to Neil earlier today regarding >> using the base64Encode function for encoding the subject line in the smtp >> header. >> >> I?ve uploaded it here >> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >> >> Btw.: an easy and very useful tool for Mac OS X to test smtp with your >> scripts is MockSMTP >> http://www.mocksmtpapp.com >> >> >> @Neil >> Thanks again for putting that stack together. It helped me a lot. >> Maybe you want to replace your stack with mine. >> >> Regards, >> >> Matthias >> >> >> Am 14.09.2016 um 19:49 schrieb Neil Roger : >> >> Hi Roger, >>> >>> pSettings is an array. More information on what elements apply to that >>> array can be found in the dictionary entry for tsNetSmtpSync >>> >>> I created a stack for the promo 8.1 promo video which should help with >>> using the new tsNetSmtpSync function. This can be downloaded from here >>> >>> http://techsupport.on-rev.com/LCMail.zip >> /LCMail.zip> >>> >>> All scripts are in the button "send mail" >>> >>> Things are a little more complex in my example as I am dealing with >>> sending unicode chars but it should give you somewhere to start. >>> >>> Cheers, >>> >>> Neil >>> >>> >>> >>> >>> LiveCode Technical Support and Content Creation Lead >>> neil at livecode.com >>> >>> LiveCode >>> +44 (0) 845 219 8923. >>> 25A Thistle Street Lane South West, Edinburgh, EH2 1EW >>> http://www.livecode.com >>> >>> Facebook >>> Twitter Youtube < >>> https://www.youtube.com/user/RunRevLtd> Linkedin < >>> https://github.com/runrev/livecode> >>> >>> >>> On 14/09/2016 17:41, Roger Eller wrote: >>> >>>> On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett < >>>> peter.brett at livecode.com> >>>> wrote: >>>> >>>> On 14/09/2016 16:12, Richard Gaskin wrote: >>>>> >>>>> Peter TB Brett wrote: >>>>>> >>>>>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>>> >>>>>>> A couple weeks ago I wrote: >>>>>>>> >>>>>>>> ... >>>>>>> Does anyone here know where I can find a breakdown of which >>>>>>> >>>>>>>> new networking features are available in which LC 8.1 editions >>>>>>>> (Community, Indy, Business)? >>>>>>>> >>>>>>>> https://livecode.com/products/livecode-platform/livecode-net >>>>>>> >>>>>> working-layer/ >>>>>> >>>>>> Perfect - thanks! >>>>>> >>>>>> The short answer is that since tsNet isn't included in the open source >>>>> edition of LiveCode there are no new networking features in the open >>>>> source >>>>> edition of LiveCode 8.1. >>>>> >>>>> Peter >>>>> >>>>> -- >>>>> Dr Peter Brett >>>>> LiveCode Technical Project Manager >>>>> >>>>> Since SMTP is new to LC, other than some home-made libraries, can you >>>> provide a working example? The general syntax is in the docs, but no >>>> examples. And there's the mysterious parameter pSettings. What is the >>>> format and content of pSettings? >>>> >>>> ~Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Wed Sep 14 15:12:52 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 14 Sep 2016 15:12:52 -0400 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: never mind. "revnewScriptEditor" spawns "revNewScriptEditor 1", so setting anything for "revnewscripteditor" won't help. On Wed, Sep 14, 2016 at 2:59 PM, Mike Kerner wrote: > Anyone have a suggestion on how to fix the position of the script editor > when it stubbornly wants to stay offscreen? This is something in 8.1 I > just ran into, today. I have only the built-in display on this lappie. > I've tried setting the rect to the screenRect, moving the location around, > etc., and if I use MC to show all windows, it's there, but it always stays > off-screen. > > On Wed, Sep 14, 2016 at 2:50 PM, Richmond > wrote: > >> At the risk of seeming very stupid indeed . . . >> >> 1. Do the .rev stacks here: /home/richmond/.runrev/compone >> nts/livecodecommunity-8.1.0.x86_64/Documentation/rev/ contain ALL the >> Documentation? >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From livfoss at mac.com Wed Sep 14 15:16:20 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 14 Sep 2016 21:16:20 +0200 Subject: LiveCode Server 8.1 - installing In-Reply-To: <69f93622-d40e-4681-7546-4f282d43ffec@fourthworld.com> References: <9E0565FD-00C8-4999-93CA-164F9BFCDE31@mac.com> <69f93622-d40e-4681-7546-4f282d43ffec@fourthworld.com> Message-ID: <951AB65A-521F-4A62-8F96-33570855AC8A@mac.com> Hi Richard I don?t have any desire to frighten the DreamHost horses! However my query was a very simple one, simply to answer Peter?s question. DH support has already come back to me - apparently I?m using Ubuntu 12.04.5 LTS on my site If you run LC on DH often, can you explain to a deeply ignorant person such as myself - is it really necessary for DH to carry as many copies of LC Server as there are users? Can?t LC Server be somewhere near the root of the tree so to speak, so that everyone who wants to reference it can do so? If not, then my next question is ?why did just replacing the whole 'LiveCode Server' folder within my domain (it was in the cgi-bin folder) not work as it had before?" Do I really have to start tweaking command lines? If you want to know what the error is, I can?t invoke LC Server at all, for example invoking ?example.lc? etc from a browser, and as far as I can see, when I invoke an LC script via the FastSpring store, the corresponding .lc file isn?t executed. Before my mis-upgrade, the execution did take place. I get > -- ERROR -- > com.brightmarket.core.license.LicenseException > Remote license generator failed: http://www.mysite.com/MRScriptForFastSpringMac.lc, HTTP/1.1 404 Not Found [Rant: My position by the way is that I am so old that I can remember programming computers that didn?t even know how to boot themselves, and command lines would have been a luxury, a la Monty Python? but now I just want to get on with it and leave what?s under the hood under the hood. Of course I?m willing to learn, but I see that I have failed to understand some structural stuff about how hosting companies organise their servers and what the fundamentals of *nix are? and somehow this is taken for granted by most of the people who want to explain stuff. I have noticed this tendency even from the mother ship when LCB is being discussed. Guess I?m just to old. end Rant] Anyway I will try to put together a more coherent set of questions. Still confused Graham > On 14 Sep 2016, at 19:23, Richard Gaskin wrote: > > Graham Samuel wrote: > > > A quick check on the DreamHost Knowledge Base doesn?t answer the > > question, so I?ve had to generate a ticket in their support system. > > You may consider closing that support request with Dreamhost. There are enough of us using LC Server on DH that I'd like to avoid the potential of creating a reputation for LiveCode as representing an unusual cost for them to support. I really like the team at DH (I've met some of them at the SoCal Linux Expo, and they were enormously helpful last year in helping us sort out LC's transition to 64-bit), so I try to be mindul of our impact on their time (hosting is a notoriously low-margin business). > > DH's setup is fine. I run LC on it often, as many of us do. It's set up well to handle any executable that supports stdin and stdout as a CGI, including LC Server, so there's little they can do that won't eat up a lot of their time trying to learn the specifics of LC. > > Please let us help you instead. Many of us know DH well, and all of us know LC very well. We can help you with LiveCode-specific questions more efficiently than they can. > > > > A lot of LC people use DreamHost, and as I say it was kind of working > > until I foolishly binned my 7 series version in favour of 8.1. > > What is the error you're getting now that you didn't get before? > > If the LC Lesson you found for setting up LC Server involved updating the Apache config file, you were looking at the one for a dedicated server or VPS. What you want is the one that uses .htaccess, the override mechanism for Apache config supported on most shared hosting services like DG: > > > It may be helpful to review the notes that Stephen put together for setting up LC Server specifically on DH: > > > @Stephen: If you don't mind I can copy your notes to this thread in the forums where we've been collecting notes on host-specific setup instructions so they don't get lost in the ephemera of email list archives: > > > > > What scares me is having to do command-line stuff on an OS I know > > absolutely nothing about. The instructions and installation notes > > I?ve read so far don?t work for someone with that particular phobia. > > I somewhat agree. Just as we need to be able to use a desktop environment well to be able to design software for it effectively, it's very helpful to be able to work fluidly via Terminal with a server in order to deploy systems there. > > It's all learnable, and if you like learning it's kinda fun, but like any learning it does take time. > > We can explore ways to build skills and confidence with Terminal here if you like - there's not all that much you need to know to work on a shared host like your DH account. In under a day you can become confident, in a week you're a pro. :) > > But alternatively, you might also consider taking advantage of the range of options we have with server systems today. > > Just as most other development platforms are available with different levels of support across the cloud, LiveCode has more options we well. > > Using a shared hosting service is a sort of IaaS (Infrastructure as a Servce), where they provide the machine and maintain the OS and the connectivity, and within your account you're pretty much on your own. > > But as we see with services like what Heroku provides for Python, PHP, etc., we have two PaaS (Platform as a Service) options in our LiveCode world: on-rev.com and hostm.com > > I have no direct experience with on-rev.com, but it was built by the core team and AFAIK still managed by LiveCode Ltd. > > I've had correspondences with hostm.com, and while I haven't used their service myself yet I've read many comments here from those who seem very pleased with it. My own exchanges with them have been prompt, candid, and courteous. I was very impressed to find a third-party hosting service as committed to helping LiveCode grow as they are. > > Both services provide LiveCode Server pre-installed and ready for use with your scripts. Of the two, last time I checked hostm.com's pricing was more favorable. > > And if you want to stay with DH, they're a fine option too. Follow Stephen's guide, be willing to learn a little about managing permissions in Terminal (though you can probably do what you need in a good FTP tool as well, like the free and open FileZilla), and we can get you up and running there. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From DixonJA at hotmail.co.uk Wed Sep 14 15:17:37 2016 From: DixonJA at hotmail.co.uk (John Dixon) Date: Wed, 14 Sep 2016 19:17:37 +0000 Subject: Another fine mess I find myself in... In-Reply-To: <4e102229-cbb1-b359-aa74-dc1627bf6ab2@hyperactivesw.com> References: , <4e102229-cbb1-b359-aa74-dc1627bf6ab2@hyperactivesw.com> Message-ID: ________________________________ From: use-livecode on behalf of J. Landman Gay Sent: 14 September 2016 19:31 To: How to use LiveCode Subject: Re: Another fine mess I find myself in... On 9/14/16 1:19 PM, John Dixon wrote: > I have just tested another stack that uses .lc scripts to query a > database and with that one everything seems fine. I am just a little > confused now why one stack does not work as I did nothing to it > except upgrade Did you double-check the inclusions? Maybe some of them went missing. It seems that the stack that is using .lc scripts to query a database that is running on hostm is fine... However the stack that is using .lc scripts to query a database that is running on on-rev is the one giving problems... [http://www.hyperactivesw.com/images/pix_who-we-are.jpg] Welcome to HyperActive Software www.hyperactivesw.com Who We Are. HyperActive Software provides precision software solutions for business, education, and personal use, deployable on both Macintosh and Windows platforms. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Sep 14 15:33:20 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 12:33:20 -0700 Subject: [ANN] Release 8.1.0 In-Reply-To: References: Message-ID: <7e5d2738-144e-c88d-3df2-710b58e04ce0@fourthworld.com> Richmond wrote: > 1. Do the .rev stacks here: > /home/richmond/.runrev/components/livecodecommunity-8.1.0.x86_64/Documentation/rev/ > contain ALL the Documentation? The dict data is in the SQList file I referred to earlier: I've been exploring the dictionary data in Documentation/resources/api/api.sqlite This API call obtains a nicely rich array of details from which a Dict entry is rendered: put ideDocsFetchLCSData(tLangToken) into tData -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ali.lloyd at livecode.com Wed Sep 14 15:33:53 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 14 Sep 2016 19:33:53 +0000 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: On Wed, Sep 14, 2016 at 7:37 PM Richard Gaskin wrote: > But for the Dictionary specifically, even though I have no technical > problem preventing me from using the Dictionary I shared Jacque's > preference for a different design (for me the biggest feature is among > the smallest to implement: I really like having the search field > pre-selected when I open the window so I can start typing immediately > when it opens). > This should (in theory) have been fixed in 8.1.0 rc 1 ( http://quality.livecode.com/show_bug.cgi?id=18183) On Wed, Sep 14, 2016 at 7:50 PM Richmond wrote: > At the risk of seeming very stupid indeed . . . > > 1. Do the .rev stacks here: > > /home/richmond/.runrev/components/livecodecommunity-8.1.0.x86_64/Documentation/rev/ > contain ALL the Documentation? Heh, I discovered these stacks for the first time last week. They appear to contain information that should be migrated to the User Guides / Glossary / Dictionary / all of the above. I'm not sure how long they have remained untouched, but I'd guess it was very long indeed. From ambassador at fourthworld.com Wed Sep 14 15:44:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 12:44:14 -0700 Subject: [ANN] Release 8.1.0 In-Reply-To: References: Message-ID: Ali Lloyd wrote: > On Wed, Sep 14, 2016 at 7:37 PM Richard Gaskin wrote: > >> But for the Dictionary specifically, even though I have no technical >> problem preventing me from using the Dictionary I shared Jacque's >> preference for a different design (for me the biggest feature is >> among the smallest to implement: I really like having the search >> field pre-selected when I open the window so I can start typing >> immediately when it opens). > > This should (in theory) have been fixed in 8.1.0 rc 1 ( > http://quality.livecode.com/show_bug.cgi?id=18183) Just checked - indeed it has. Thanks. Well, there goes my motivation to build a new Dictionary. :) I'd still be happy to help if someone wants to undertake it. The dict data array is inspiringly well organized. Nicely done, team. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Wed Sep 14 16:11:57 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 15 Sep 2016 06:11:57 +1000 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> Message-ID: <5D883211-1756-4C2A-A41E-32336D757D25@appisle.net> I'll check but I'm pretty sure the default preference is 15. There was a bug where setting it to 0 didn't function right and there was also a regression when the new menubar was made a different preference was used. Sent from my iPhone > On 15 Sep 2016, at 4:11 AM, Terence Heaford wrote: > > It appears the preference for the number of recent files is set to 0 when installing. From matthias_livecode_150811 at m-r-d.de Wed Sep 14 16:18:11 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Sep 2016 22:18:11 +0200 Subject: LiveCode Server 8.1 - installing In-Reply-To: <69f93622-d40e-4681-7546-4f282d43ffec@fourthworld.com> References: <9E0565FD-00C8-4999-93CA-164F9BFCDE31@mac.com> <69f93622-d40e-4681-7546-4f282d43ffec@fourthworld.com> Message-ID: Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > > Both services provide LiveCode Server pre-installed and ready for use with your scripts. Of the two, last time I checked hostm.com's pricing was more favorable. There is a little difference between the LC server versions installed by default at On-Rev and HostM. On-Rev has LC server commercial installed. HostM by default has just installed the most current release version of community server. But if a user can proof the purchase of LC Server commercial, then HostM even installs the commercial version of LiveCode Server account wide for the user . There is no need for HostM users to install their own instances of LC commercial into each domain folder. That is very comfortable. Regards, Matthias From ambassador at fourthworld.com Wed Sep 14 16:27:46 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 13:27:46 -0700 Subject: LiveCode Server 8.1 - installing In-Reply-To: <951AB65A-521F-4A62-8F96-33570855AC8A@mac.com> References: <951AB65A-521F-4A62-8F96-33570855AC8A@mac.com> Message-ID: <74bfbeb3-5506-26a1-cd8b-5974658c4392@fourthworld.com> Graham Samuel wrote: > Hi Richard > > I don?t have any desire to frighten the DreamHost horses! However my > query was a very simple one, simply to answer Peter?s question. DH > support has already come back to me - apparently I?m using Ubuntu > 12.04.5 LTS on my site If memory serves they switched to Ubuntu with that version (had been using Debian), and I'd wager they'll be replacing it with 14.04 soon since 12.04 reaches EOL next April. That won't affect your stuff, though. DH has a good track record of upgrading infrastructure without disrupting service. > If you run LC on DH often, can you explain to a deeply ignorant > person such as myself - Anyone who can set himself up in as fine a living situation as you have can't be too ignorant. :) I've not forgotten the invitation you kindly extended to me and my wife to visit when we all met at the Malta conference - and indeed these sorts of issues are much easier to work out in person! Ideally I should go there, or you should take vacation in southern California soon - we could work this out in minutes, and spend the rest of the afternoon enjoying either a California or French wine. :) But in lieu of that for now, what's see what we can do here: > is it really necessary for DH to carry as many copies of LC Server > as there are users? Can?t LC Server be somewhere near the root of > the tree so to speak, so that everyone who wants to reference it > can do so? That's a conversation I'd love to have with them some day, and one of the reasons I like to meet DH team members whenever I have a chance (that, and they're generally good company). But right now it's not a problem: it's common on a shared hosting service to have more than a hundred accounts on a single machine, and chances are that today yours is the only account on your server using LiveCode Server. Of course we hope to change that over time. And as more of us make great sites using it perhaps we will. And when enough other customers are using it, we'll be in a good position to strike up a conversation with their marketing team about the value of offering LiveCode Server pre-installed. But for now most hosting companies tend to offer only a few languages pre-installed, usually those beginning with "P" (Perl, PHP, Python), and sometimes Ruby. Most other engines that can be used as CGIs will need to be added by the user to their own account, as we do with LiveCode. > If not, then my next question is ?why did just replacing the whole > 'LiveCode Server' folder within my domain (it was in the cgi-bin > folder) not work as it had before?" Do I really have to start > tweaking command lines? My hunch would be that perhaps your original post followed Stephen's guide and added a .htaccess file inside your "LiveCode Server" folder, so dropping in your new folder replaced everything that LC provides in that folder but not the .htaccess file you'd added before. From Stephen's notes: this one inside the cgi-bin directory Options ExecCGI SetHandler cgi-script If the executable bit is set on the LiveCode engine itself, it may be that adding that .htaccess file back into the "LiveCode Server" folder is all you need. > If you want to know what the error is, I can?t invoke LC Server at > all, for example invoking ?example.lc? etc from a browser, and as far > as I can see, when I invoke an LC script via the FastSpring store, > the corresponding .lc file isn?t executed. Before my mis-upgrade, the > execution did take place. I get > >> -- ERROR -- >> com.brightmarket.core.license.LicenseException >> Remote license generator failed: http://www.mysite.com/MRScriptForFastSpringMac.lc, HTTP/1.1 404 Not Found Try: 1. Double-checking that the LC Server engine file is set to executable; 2. Make sure you have the .htaccess file noted above in your cgi-bin folder per Stephen's instructions. If that fails, then: 3. Make a very simple test file in your web root and try calling it from your browser, something like: If that works but your shopping cart doesn't, it would seem the issue lies somewhere between your script and the cart. But if that test script doesn't work we can get it to work. Just let me know. Or drop by. :) > [Rant: My position by the way is that I am so old that I can remember > programming computers that didn?t even know how to boot themselves, > and command lines would have been a luxury, a la Monty Python? but > now I just want to get on with it and leave what?s under the hood > under the hood. Of course I?m willing to learn, but I see that I have > failed to understand some structural stuff about how hosting > companies organise their servers and what the fundamentals of *nix > are? and somehow this is taken for granted by most of the people who > want to explain stuff. I have noticed this tendency even from the > mother ship when LCB is being discussed. Guess I?m just to old. end > Rant] Funny, I was just having a very similar conversation with another LiveCode friend the other day. All this learning get multiplied even more once we get sufficiently paranoid about security - watch the Mr Robot series and you'll never touch a computer again! :) But seriously, you're far from alone. And you're in good company. Even the young 'uns sometimes get burnt out doing server admin, they just want to write the code for their app and leave the config stuff for someone else. And that's where PaaS comes in. Heroku is _very_ popular (and there are many other services like it) for the same reasons you expressed: sometimes developers just want to have fun and not get mired down in arcana of Apache and Linux management. Being relatively new to the server space (and a bit limited for some larger-scale uses by having only CGI without FastCGI or Apache mod options), LiveCode Server currently has only one third-party PaaS-like service that I know of, hostm.com But folks seem to like it. And they provide exactly what you asked for at the outset of your email: they have only one copy of each supported version of the LC engine, and all users on their system use that one install without having to set it up for themselves. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Sep 14 16:32:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 13:32:55 -0700 Subject: LiveCode Server 8.1 - installing In-Reply-To: References: Message-ID: <1491991d-ed5f-7b3a-8de5-18e6a4cd8d6f@fourthworld.com> Matthias Rebbe wrote: > There is a little difference between the LC server versions installed > by default at On-Rev and HostM. > > On-Rev has LC server commercial installed. > > HostM by default has just installed the most current release version > of community server. > > But if a user can proof the purchase of LC Server commercial, then > HostM even installs the commercial version of LiveCode Server account > wide for the user . > > There is no need for HostM users to install their own instances of LC > commercial into each domain folder. That is very comfortable. Good to know, Matthias. Thanks. I'd always considered the proprietary editions of LC Server too specialized for most uses, limited to situations where I might be delivering a server-side system as a product in itself in which I'd want to include proprietary code to a customer to install on their server. For things that stay on a server we manage ourselves, what would be an advantage of using the proprietary editions of LC Server? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave at applicationinsight.com Wed Sep 14 16:35:31 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 14 Sep 2016 21:35:31 +0100 Subject: Another fine mess I find myself in... Message-ID: John is the stack connecting to .lc scripts on on-rev in a SSL domain? If not could it be an issue with ATS? i.e. if you tick the ?Disable ATS? box does it make a difference? But either way, yet another reason why hostm knocks on-rev into a cocked hat Kind regards Dave > It seems that the stack that is using .lc scripts to query a database that is running on hostm is fine>... > However the stack that is using .lc scripts to query a database that is running on on-rev is the one giving problems... > From brahma at hindu.org Wed Sep 14 16:41:09 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 14 Sep 2016 20:41:09 +0000 Subject: Project Browser Allows you to move a group into another group In-Reply-To: <828FA6B2-0BC2-4622-A2FA-1B9B18E7EF81@livecode.org> References: <9DC66808-04A0-4B57-A852-2B62750181DD@appisle.net> <42633A73-FB40-4633-BA07-E8AF3E5DA50F@hindu.org> <15721d07888.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <01d698d1-24f3-1d60-8500-7b85b0076a44@cogapp.com> <9F7B3183-D886-4269-BD9F-CFE2E53D2DF8@hindu.org> <828FA6B2-0BC2-4622-A2FA-1B9B18E7EF81@livecode.org> Message-ID: <36A72EB5-2041-452E-9891-3BE887BB874C@hindu.org> Good luck? I'm on mac On 9/14/16, 8:19 AM, "use-livecode on behalf of Paul Hibbert" wrote: I should be able to share it, the plugin was made to add some shortcuts to the menus, so I?ll need to do a little more testing with the latest release and a bit of code tidying along with some warnings/instructions before it?s suitable for public use, but I?ll get on it then add it to the LiveCode Share site, hopefully within the next few days. One issue may be that it was made for Mac, and I only have access to Win 7 for testing on other platforms, so I?m not too sure how well it will work on Windows/Linux. Paul From matthias_livecode_150811 at m-r-d.de Wed Sep 14 16:45:21 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Sep 2016 22:45:21 +0200 Subject: LiveCode Server 8.1 - installing In-Reply-To: <1491991d-ed5f-7b3a-8de5-18e6a4cd8d6f@fourthworld.com> References: <1491991d-ed5f-7b3a-8de5-18e6a4cd8d6f@fourthworld.com> Message-ID: <32A62271-9196-4569-BD11-89D58C692344@m-r-d.de> > Am 14.09.2016 um 22:32 schrieb Richard Gaskin : > > For things that stay on a server we manage ourselves, what would be an advantage of using the proprietary editions of LC Server? > You could use 3rd party password encrypted stacks with LC server commercial for example, like the stacks the key generator Zygodact from Jacque creates. From mark at canelasoftware.com Wed Sep 14 16:59:21 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 14 Sep 2016 13:59:21 -0700 Subject: LiveCode Server 8.1 - installing In-Reply-To: References: Message-ID: <3AAB8D3B-7C3A-439A-87E1-2D14024F2963@canelasoftware.com> > On Sep 14, 2016, at 8:57 AM, Graham Samuel wrote: > > Obviously I have made a massive error, but what is it? I just want to be able to run some .lc programs on the server - it doesn?t seem much to ask. LC 8.1 has different dependencies than previous versions of LC. The first thing I would do is make sure you have GLib installed. Open terminal, sign into your server and type the following: apt-get install libglib2.0-0 You may need to get sudo access thus: sudo apt-get install libglib2.0-0 (enter password when asked) Something else that is new in 8.1 is the ability to get error messages regarding missing dependencies. Not sure if you are seeing those. I hope this helps. Best regards, Mark Talluto livecloud.io canelasoftware.com From paul at researchware.com Wed Sep 14 17:06:16 2016 From: paul at researchware.com (Paul Dupuis) Date: Wed, 14 Sep 2016 17:06:16 -0400 Subject: LiveCode 8.1 and the Filter enhancements... Message-ID: <57D9BBC8.2020906@researchware.com> For those using LC 8.1, and have tried the new filter command's support for arrays, I have a question: I see you can filter by keys or elements from the documentations, which is great, but I don's see how I would do another common item Let say I have an array that is a table (a common model) where the rows are numeric keys and the columns keys are "field" names. So tArray[1]["col1"] some value tArray[1]["col2"] some other value tArray[2]["col1"] still another value tArray[2]["col2"] and yet one more value Can I use the new filter command to filter on a specific column and get all the rows matching? For example match where ["col2"] contains "some" which would only return row 1. I realize I can write code to do this (and have). I was wondering if I am missing something obvious and there is a way to do this using the new filter command enhancements in 1 line. From brahma at hindu.org Wed Sep 14 17:18:05 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 14 Sep 2016 21:18:05 +0000 Subject: Maintain Order in JSON Import In-Reply-To: References: Message-ID: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> Monte Goulding wrote: try "colorwheel": [ { ?name?: ?Red?, ?color?: ?255,0,0" }, FYI, further tests with jsonImport/Export round trips, reading and writing: jsonImport jsonExport are a) not in the dictionary for b) round trip does not support any formatting (no indentation or vertical white space) c) square braces not supported on export. Valid JSON going in: { "settings": { "global": "", "modules": { "colormeds": {"breathCount": "1", "cycle": "1", "currentLevel": "1", "breathRate": "1" } } } } gets written out as: a single line {"settings": {"global": "","modules": {"colormeds": {"1": {"breathCount": "1","cycle": "1","currentLevel": "1","breathRate": "1"}}}}} AND Square brace notation is not supported, but converted to explicit numeric keys --not a big problem, but good to be aware that this goes in: { "settings": { "global": "", "modules": { "colormeds": [ { "breathCount": "1", "cycle": "1", "currentLevel": "1", "breathRate": "1" } ] } } } and comes out as {"settings": {"global": "","modules": {"colormeds": {"1": {"breathCount": "1","cycle": "1","currentLevel": "1","breathRate": "1"}}}}} which, formatted looks like: { "settings": { "global": "", "modules": { "colormeds": { "1": { "breathCount": "1", "cycle": "1", "currentLevel": "1", "breathRate": "1" } } } } } Actually I find it easier to wrap my brain around the latter? though it would be nice if the output were formatted. Does anyone have a JSON formatter function I can pass this thru before writing to disk? BR From ambassador at fourthworld.com Wed Sep 14 17:28:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 14:28:44 -0700 Subject: Maintain Order in JSON Import In-Reply-To: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> Message-ID: Sannyasin Brahmanathaswami wrote: > FYI, further tests with jsonImport/Export round trips, reading and writing: > > jsonImport > jsonExport > > are > > a) not in the dictionary for > b) round trip does not support any formatting (no indentation or > vertical white space) > c) square braces not supported on export. Do you need to round-trip? Where does the data come from, and where is it going? If any part of that is LC on both ends you can save _much_ time for that using an encoded array. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Wed Sep 14 17:39:11 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 15 Sep 2016 07:39:11 +1000 Subject: [ANN] Release 8.1.0 In-Reply-To: <5D883211-1756-4C2A-A41E-32336D757D25@appisle.net> References: <3c2c312b-db32-9456-253b-e3e2c420c114@livecode.com> <908366D8-C6D3-45FB-AD7A-1BB0822C8EF0@icloud.com> <5D883211-1756-4C2A-A41E-32336D757D25@appisle.net> Message-ID: <3B61567D-2870-4013-AA1A-F76398DF95DB@appisle.net> > On 15 Sep 2016, at 6:11 AM, Monte Goulding wrote: > > I'll check but I'm pretty sure the default preference is 15. There was a bug where setting it to 0 didn't function right and there was also a regression when the new menubar was made a different preference was used. Hi Terrance It appears we have two different default preferences for the number of recent stacks. When a prefs stack is being reset or set for the first time the default will be 30. Otherwise when accessing the list of recent stacks the value defaults to 15 if it isn?t an integer. You can assume 30 is the default unless you do something that sets the cNumRecent of the revPreferences stack to a non-integer. http://quality.livecode.com/show_bug.cgi?id=18397 This is possibly not an issue I?d worry about other than it highlights the need to refactor and document the preferences in the IDE so that all preference access is via a common API, all defaults values are also via a common api and all IDE prefs are documented somewhere. Additionally I?d really like to refactor the GUI at the same time so that it uses a mechanism like the property inspector to build each pane on the fly allowing both simpler maintenance and extensibility by plugin authors. Cheers Monte From monte at appisle.net Wed Sep 14 17:42:59 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 15 Sep 2016 07:42:59 +1000 Subject: Maintain Order in JSON Import In-Reply-To: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> Message-ID: > On 15 Sep 2016, at 7:18 AM, Sannyasin Brahmanathaswami wrote: > > FYI, further tests with jsonImport/Export round trips, reading and writing: > > jsonImport > jsonExport > > are > > a) not in the dictionary for > b) round trip does not support any formatting (no indentation or vertical white space) > c) square braces not supported on export. Ah, I haven?t used the LCB JSON library myself. Perhaps Peter will chime in here. FYI mergJSON turns a sequentially indexed array 1..N <-> a JSON array [ ]. Cheers Monte From monte at appisle.net Wed Sep 14 17:58:14 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 15 Sep 2016 07:58:14 +1000 Subject: LiveCode 8.1 and the Filter enhancements... In-Reply-To: <57D9BBC8.2020906@researchware.com> References: <57D9BBC8.2020906@researchware.com> Message-ID: <5B82D5E2-63EB-4A82-91EC-5980784AEDA6@appisle.net> > On 15 Sep 2016, at 7:06 AM, Paul Dupuis wrote: > > For those using LC 8.1, and have tried the new filter command's support > for arrays, I have a question: > > I see you can filter by keys or elements from the documentations, which > is great, but I don's see how I would do another common item > > Let say I have an array that is a table (a common model) where the rows > are numeric keys and the columns keys are "field" names. So > > tArray[1]["col1"] some value > tArray[1]["col2"] some other value > tArray[2]["col1"] still another value > tArray[2]["col2"] and yet one more value > > Can I use the new filter command to filter on a specific column and get > all the rows matching? For example match where ["col2"] contains "some" > which would only return row 1. > > I realize I can write code to do this (and have). I was wondering if I > am missing something obvious and there is a way to do this using the new > filter command enhancements in 1 line. You aren?t missing anything. Actually what you are describing is probably better implemented with the by clause I have suggested here: http://quality.livecode.com/show_bug.cgi?id=18309 You could then: filter elements of tArray by each[?col2?] is ?some? Or alternatively if you need match ?something? and ?somewhere? filter elements of tArray with ?some*? by each[?col2?] Or if you need to do something interesting: filter elements of tArray by someFunction(each) function someFunction pArray return pArray[?col2?] is ?some" end someFunction Cheers Monte From ambassador at fourthworld.com Wed Sep 14 19:21:46 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Sep 2016 16:21:46 -0700 Subject: LiveCode 8.1 and the Filter enhancements... In-Reply-To: <5B82D5E2-63EB-4A82-91EC-5980784AEDA6@appisle.net> References: <5B82D5E2-63EB-4A82-91EC-5980784AEDA6@appisle.net> Message-ID: Monte Goulding wrote: > Actually what you are describing is probably better implemented with > the by clause I have suggested here: > http://quality.livecode.com/show_bug.cgi?id=18309 > > You could then: > > filter elements of tArray by each[?col2?] is ?some? > > Or alternatively if you need match ?something? and ?somewhere? > > filter elements of tArray with ?some*? by each[?col2?] > > Or if you need to do something interesting: > > filter elements of tArray by someFunction(each) > > function someFunction pArray > return pArray[?col2?] is ?some" > end someFunction Would it be worthwhile considering some form of XQuery for that so we could do ranges and other nifty things? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Wed Sep 14 20:10:24 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 15 Sep 2016 10:10:24 +1000 Subject: LiveCode 8.1 and the Filter enhancements... In-Reply-To: References: <5B82D5E2-63EB-4A82-91EC-5980784AEDA6@appisle.net> Message-ID: <5207747C-E032-4BB6-A347-8D04E3570346@appisle.net> > On 15 Sep 2016, at 9:21 AM, Richard Gaskin wrote: > > Would it be worthwhile considering some form of XQuery for that so we could do ranges and other nifty things? Hi Richard I considered adding patterns as array paths (a numerically indexed array of keys) but I don?t think that?s as flexible or readable as the by clause. Otherwise you would get some kind of horrible syntax like this to do the same thing: local tPath put ?*? into tPath[1] put ?col2? into tPath[2] filter elements of tArray with key path tPath matching ?some" Cheers Monte From ahsoftware at sonic.net Wed Sep 14 21:26:50 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 14 Sep 2016 18:26:50 -0700 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <21a3d10c-f589-9fa7-7167-0089b1b13686@gmail.com> Message-ID: <0324422d-0bad-d880-3802-3ae2bb5dfa55@sonic.net> On 09/14/2016 12:33 PM, Ali Lloyd wrote: > This should (in theory) have been fixed in 8.1.0 rc 1 ( > http://quality.livecode.com/show_bug.cgi?id=18183) Added my comment. Works on OSX, but not on linux. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Wed Sep 14 22:01:27 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 15 Sep 2016 02:01:27 +0000 Subject: Maintain Order in JSON Import In-Reply-To: References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> Message-ID: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> The use case is cross session data on mobile where we would like to be able to examine/change the "array" in a text editor. if the user shuts down the app, you must save the data somewhere, and reload to gUserSettings on start up. So, yes, agreed, there are many ways to accomplish this. The only way to save an encoded array would be to insert is a a custom property in an LC stack and save to the writeable folder on mobile. disclaimer: this is all a bit new to me so "best architecture" for me is "most transparent" architecture. And since we have done and will continue to do a lot of API calls to and from the web server, where a lean text only data format (JSON) is useful.. I'm look at using JSON for this kind of thing? so this "kinda" goes along with the whole externalization of code to text documents (scripts, stacks, libs, behaviors) that are all readable in a text editor? having JSON also as the container means we have this model working there too. So I can change a value in a user setting (in a text editor) and then in the app see that my calls are actually working. I've got it working now? no issues really, other than my own learning curve and being sure not to break any json by hand. Actually if I just let the jsonExport and jsonImport do the work? it's valid json? except that what's on disk is all on a single line. On 9/14/16, 11:28 AM, "use-livecode on behalf of Richard Gaskin" wrote: Do you need to round-trip? Where does the data come from, and where is it going? If any part of that is LC on both ends you can save _much_ time for that using an encoded array. From brahma at hindu.org Wed Sep 14 22:13:50 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 15 Sep 2016 02:13:50 +0000 Subject: Maintain Order in JSON Import In-Reply-To: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> Message-ID: brahma at hindu.org> wrote: "Actually if I just let the jsonExport and jsonImport do the work? it's valid json? except that what's on disk is all on a single line." Python to the rescue: this works as a text filter in BBEdit save to: ~/Library/Application Support/BBEdit/Text Filters/ #!/usr/bin/env python import fileinput import json if __name__ == "__main__": jsonStr = '' for a_line in fileinput.input(): jsonStr = jsonStr + ' ' + a_line.strip() jsonObj = json.loads(jsonStr) print json.dumps(jsonObj, sort_keys=True, indent=2) From monte at appisle.net Wed Sep 14 22:17:51 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 15 Sep 2016 12:17:51 +1000 Subject: Maintain Order in JSON Import In-Reply-To: References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> Message-ID: > On 15 Sep 2016, at 12:13 PM, Sannyasin Brahmanathaswami wrote: > > "Actually if I just let the jsonExport and jsonImport do the work? it's valid json? except that what's on disk is all on a single line." > > Python to the rescue: this works as a text filter in BBEdit It?s probably worth pointing out that mergJSON has a pretty print option. Cheers Monte From lists at mangomultimedia.com Wed Sep 14 22:17:43 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 14 Sep 2016 21:17:43 -0500 Subject: Maintain Order in JSON Import In-Reply-To: References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> Message-ID: On Wednesday, September 14, 2016, Monte Goulding wrote: > > > Ah, I haven?t used the LCB JSON library myself. Perhaps Peter will chime > in here. > > FYI mergJSON turns a sequentially indexed array 1..N <-> a JSON array [ ]. > I use mergJSON to export for this very reason. I import with the LCB JSON library, however. I'm pretty sure I have a good reason for that but I'm really tired right now and can't remember why I ended up using both libraries. Maybe it is how text is encoding is handled in LCB. -- Trevor DeVore From roger.e.eller at sealedair.com Wed Sep 14 22:22:12 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 14 Sep 2016 22:22:12 -0400 Subject: Maintain Order in JSON Import In-Reply-To: References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> Message-ID: Sweet! Can this external be used in a Windows standalone? ~Roger On Sep 14, 2016 10:17 PM, "Monte Goulding" wrote: > > > On 15 Sep 2016, at 12:13 PM, Sannyasin Brahmanathaswami < > brahma at hindu.org> wrote: > > > > "Actually if I just let the jsonExport and jsonImport do the work? > it's valid json? except that what's on disk is all on a single line." > > > > Python to the rescue: this works as a text filter in BBEdit > > It?s probably worth pointing out that mergJSON has a pretty print option. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Sep 14 23:45:58 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 14 Sep 2016 20:45:58 -0700 Subject: play sound command? Message-ID: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> Folks: Just wondering about playing sound with 8.1. I assume that using the video player control is the way to do it. But, I tried the Play ?audioclip? fName command with an mp3 audio and it just gave me noise. The video player control works fine. But, I just want to ask, or point out, whether this is a bug in the play command, or whether it is just something left over in the documentation. The dictionary give an example of aiff file, but doesn?t mention restrictions on what format can be played. Also, the command to stop playing is confusing. The dictionary says the syntax is: stop [playing] {player | videoclip | audioClip} This doesn?t work and you need to use: play "audioClip" stop Just wondering and in the interests of accurate documentation, mentioning this. The online lesson at: http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto is ok, though. I?m wondering, with the player object, whether this feature is even needed. Best Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From jacque at hyperactivesw.com Thu Sep 15 02:28:49 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Sep 2016 01:28:49 -0500 Subject: Rotatable mobile browser Message-ID: <367e3773-e263-1bf7-cd8b-081310c46117@hyperactivesw.com> I am unable to create a stack that simply repositions some card controls and resizes a browser to fit the new orientation on an Android phone. I have tried both the browser widget and the older mobile browser commands, each of which fail for different reasons. This is all in LC 8.1 (and all prior dp and rc versions.) If anyone has a working example I would love to see it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Sep 15 03:08:17 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Sep 2016 02:08:17 -0500 Subject: Maintain Order in JSON Import In-Reply-To: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> Message-ID: On 9/14/16 9:01 PM, Sannyasin Brahmanathaswami wrote: > The only way to save an encoded array would be to insert is a a > custom property in an LC stack and save to the writeable folder on > mobile. Just for the record, the arrayEncode function writes the array to a binary file on disk, not to a stack. The arrayEncode and arrayDecode functions were created to allow direct export and import of LC arrays. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at icloud.com Thu Sep 15 03:30:27 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 15 Sep 2016 08:30:27 +0100 Subject: Print Card Message-ID: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> I draw charts using a group with text, graphic objects to represent the charts. Whatever colour I set the text to, it displays correctly on the screen. I then print the card but on MacOS divert it to preview as a PDF so as not to waste paper/ink when testing and the text always prints ?Black? despite the on screen colour. MacOS 10.11.6 LC 8.1.0 Is this a bug in LC? All the best Terry From richmondmathewson at gmail.com Thu Sep 15 04:02:53 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 15 Sep 2016 11:02:53 +0300 Subject: Print Card In-Reply-To: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> References: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> Message-ID: <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> http://forums.livecode.com/viewtopic.php?f=7&t=27948 Richmond. On 15.09.2016 10:30, Terence Heaford wrote: > I draw charts using a group with text, graphic objects to represent the charts. > > Whatever colour I set the text to, it displays correctly on the screen. > > I then print the card but on MacOS divert it to preview as a PDF so as not to waste paper/ink when testing and the text always prints ?Black? despite the on screen colour. > > MacOS 10.11.6 > > LC 8.1.0 > > Is this a bug in LC? > > > All the best > > Terry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Thu Sep 15 04:49:59 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 15 Sep 2016 09:49:59 +0100 Subject: Print Card In-Reply-To: <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> References: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> Message-ID: Hi all, This is a bug affecting OSX only, and it will be fixed in the next release: http://quality.livecode.com/show_bug.cgi?id=17825 Best, Panos -- On Thu, Sep 15, 2016 at 9:02 AM, Richmond wrote: > http://forums.livecode.com/viewtopic.php?f=7&t=27948 > > Richmond. > > > On 15.09.2016 10:30, Terence Heaford wrote: > >> I draw charts using a group with text, graphic objects to represent the >> charts. >> >> Whatever colour I set the text to, it displays correctly on the screen. >> >> I then print the card but on MacOS divert it to preview as a PDF so as >> not to waste paper/ink when testing and the text always prints ?Black? >> despite the on screen colour. >> >> MacOS 10.11.6 >> >> LC 8.1.0 >> >> Is this a bug in LC? >> >> >> All the best >> >> Terry >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From panos.merakos at livecode.com Thu Sep 15 05:02:40 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 15 Sep 2016 10:02:40 +0100 Subject: play sound command? In-Reply-To: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> References: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> Message-ID: Hi Bill, Audio clips cannot be .mp3. The supported formats, according to the dictionary entry for "audioClip" are: *Audio clips can be in WAV, AIFF, or AU format* I agree with you that the player object has many more capabilities. The only advantage of audioClips is that you can store the sound *in the stack*: *Unlike a player, an audio clip contains the sound that it plays. This increases the memory required by your stack, because the sound data is loaded into memory along with the rest of the stack whenever the stack file is open. However, it prevents the sound from being accidentally separated from the stack file and lost.* Best regards, Panos -- On Thu, Sep 15, 2016 at 4:45 AM, William Prothero wrote: > Folks: > Just wondering about playing sound with 8.1. I assume that using the video > player control is the way to do it. But, I tried the Play ?audioclip? fName > command with an mp3 audio and it just gave me noise. The video player > control works fine. But, I just want to ask, or point out, whether this is > a bug in the play command, or whether it is just something left over in the > documentation. The dictionary give an example of aiff file, but doesn?t > mention restrictions on what format can be played. > > Also, the command to stop playing is confusing. The dictionary says the > syntax is: > stop [playing] {player | videoclip | audioClip} > > This doesn?t work and you need to use: > play "audioClip" stop > > Just wondering and in the interests of accurate documentation, mentioning > this. > > The online lesson at: > http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto < > http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto> > is ok, though. > > I?m wondering, with the player object, whether this feature is even needed. > > Best > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From klaus at major-k.de Thu Sep 15 05:51:07 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 15 Sep 2016 11:51:07 +0200 Subject: play sound command? In-Reply-To: References: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> Message-ID: <68E8483F-62DF-4554-B037-FB666EBA096D@major-k.de> Hi Bill, > Am 15.09.2016 um 11:02 schrieb panagiotis merakos : > > Hi Bill, > > Audio clips cannot be .mp3. The supported formats, according to the > dictionary entry for "audioClip" are: > > *Audio clips can be in WAV, AIFF, or AU format* UNCOMPRESSED aiff and wav files, to be precise! > I agree with you that the player object has many more capabilities. The > only advantage of audioClips is that you can store the sound *in the stack*: > > *Unlike a player, an audio clip contains the sound that it plays. This > increases the memory required by your stack, because the sound data is > loaded into memory along with the rest of the stack whenever the stack file > is open. However, it prevents the sound from being accidentally separated > from the stack file and lost.* > > Best regards, > Panos > -- > > On Thu, Sep 15, 2016 at 4:45 AM, William Prothero > wrote: > >> Folks: >> Just wondering about playing sound with 8.1. I assume that using the video >> player control is the way to do it. But, I tried the Play ?audioclip? fName >> command with an mp3 audio and it just gave me noise. The video player >> control works fine. But, I just want to ask, or point out, whether this is >> a bug in the play command, or whether it is just something left over in the >> documentation. The dictionary give an example of aiff file, but doesn?t >> mention restrictions on what format can be played. >> >> Also, the command to stop playing is confusing. The dictionary says the >> syntax is: >> stop [playing] {player | videoclip | audioClip} >> >> This doesn?t work and you need to use: >> play "audioClip" stop >> >> Just wondering and in the interests of accurate documentation, mentioning >> this. >> >> The online lesson at: >> http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto < >> http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto> >> is ok, though. >> >> I?m wondering, with the player object, whether this feature is even needed. >> >> Best >> Bill Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From DixonJA at hotmail.co.uk Thu Sep 15 05:57:32 2016 From: DixonJA at hotmail.co.uk (John Dixon) Date: Thu, 15 Sep 2016 09:57:32 +0000 Subject: Browser widget Message-ID: The browser widget is very nice in that it is very quick in comparision with using the browser control... but, is there a way to 'autofit', to scale the content to the rect of the widget ? From richmondmathewson at gmail.com Thu Sep 15 06:01:00 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 15 Sep 2016 13:01:00 +0300 Subject: Print Card In-Reply-To: References: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> Message-ID: <581ba602-b350-9e6c-7063-6ebc08bdd800@gmail.com> Please refer to the Forum again to see what happens with 'Print Field'. Richmond. On 15.09.2016 11:49, panagiotis merakos wrote: > Hi all, > > This is a bug affecting OSX only, and it will be fixed in the next release: > > http://quality.livecode.com/show_bug.cgi?id=17825 > > Best, > Panos > -- > > On Thu, Sep 15, 2016 at 9:02 AM, Richmond > wrote: > >> http://forums.livecode.com/viewtopic.php?f=7&t=27948 >> >> Richmond. >> >> >> On 15.09.2016 10:30, Terence Heaford wrote: >> >>> I draw charts using a group with text, graphic objects to represent the >>> charts. >>> >>> Whatever colour I set the text to, it displays correctly on the screen. >>> >>> I then print the card but on MacOS divert it to preview as a PDF so as >>> not to waste paper/ink when testing and the text always prints ?Black? >>> despite the on screen colour. >>> >>> MacOS 10.11.6 >>> >>> LC 8.1.0 >>> >>> Is this a bug in LC? >>> >>> >>> All the best >>> >>> Terry >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From merakosp at gmail.com Thu Sep 15 06:34:36 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 15 Sep 2016 11:34:36 +0100 Subject: Print Card In-Reply-To: <581ba602-b350-9e6c-7063-6ebc08bdd800@gmail.com> References: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> <581ba602-b350-9e6c-7063-6ebc08bdd800@gmail.com> Message-ID: Thanks Richmond. This looks like a bug. This one happens on Linux but not on OS X :) I'll file a bug report. On Thu, Sep 15, 2016 at 11:01 AM, Richmond wrote: > Please refer to the Forum again to see what happens with 'Print Field'. > > Richmond. > > > On 15.09.2016 11:49, panagiotis merakos wrote: > >> Hi all, >> >> This is a bug affecting OSX only, and it will be fixed in the next >> release: >> >> http://quality.livecode.com/show_bug.cgi?id=17825 >> >> Best, >> Panos >> -- >> >> On Thu, Sep 15, 2016 at 9:02 AM, Richmond >> wrote: >> >> http://forums.livecode.com/viewtopic.php?f=7&t=27948 >>> >>> Richmond. >>> >>> >>> On 15.09.2016 10:30, Terence Heaford wrote: >>> >>> I draw charts using a group with text, graphic objects to represent the >>>> charts. >>>> >>>> Whatever colour I set the text to, it displays correctly on the screen. >>>> >>>> I then print the card but on MacOS divert it to preview as a PDF so as >>>> not to waste paper/ink when testing and the text always prints ?Black? >>>> despite the on screen colour. >>>> >>>> MacOS 10.11.6 >>>> >>>> LC 8.1.0 >>>> >>>> Is this a bug in LC? >>>> >>>> >>>> All the best >>>> >>>> Terry >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Sep 15 07:12:04 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 15 Sep 2016 14:12:04 +0300 Subject: Print Card In-Reply-To: References: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> <581ba602-b350-9e6c-7063-6ebc08bdd800@gmail.com> Message-ID: <537a885d-4824-3ab4-7646-0f204a7f5e50@gmail.com> OK: so we have a problem with Mac OS, and we have a problem with Linux: just as long as you don't suggest I start using Windows . . . Best, Richmond. On 15.09.2016 13:34, panagiotis merakos wrote: > Thanks Richmond. This looks like a bug. This one happens on Linux but not > on OS X :) > > I'll file a bug report. > > On Thu, Sep 15, 2016 at 11:01 AM, Richmond > wrote: > >> Please refer to the Forum again to see what happens with 'Print Field'. >> >> Richmond. >> >> >> On 15.09.2016 11:49, panagiotis merakos wrote: >> >>> Hi all, >>> >>> This is a bug affecting OSX only, and it will be fixed in the next >>> release: >>> >>> http://quality.livecode.com/show_bug.cgi?id=17825 >>> >>> Best, >>> Panos >>> -- >>> >>> On Thu, Sep 15, 2016 at 9:02 AM, Richmond >>> wrote: >>> >>> http://forums.livecode.com/viewtopic.php?f=7&t=27948 >>>> Richmond. >>>> >>>> >>>> On 15.09.2016 10:30, Terence Heaford wrote: >>>> >>>> I draw charts using a group with text, graphic objects to represent the >>>>> charts. >>>>> >>>>> Whatever colour I set the text to, it displays correctly on the screen. >>>>> >>>>> I then print the card but on MacOS divert it to preview as a PDF so as >>>>> not to waste paper/ink when testing and the text always prints ?Black? >>>>> despite the on screen colour. >>>>> >>>>> MacOS 10.11.6 >>>>> >>>>> LC 8.1.0 >>>>> >>>>> Is this a bug in LC? >>>>> >>>>> >>>>> All the best >>>>> >>>>> Terry >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Sep 15 07:34:29 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 15 Sep 2016 12:34:29 +0100 Subject: Print Card In-Reply-To: <537a885d-4824-3ab4-7646-0f204a7f5e50@gmail.com> References: <490AE2F5-4BAB-4010-9BFD-EB0561B2B017@icloud.com> <7f713e88-c417-9bd7-4f4f-4b5f3040a47b@gmail.com> <581ba602-b350-9e6c-7063-6ebc08bdd800@gmail.com> <537a885d-4824-3ab4-7646-0f204a7f5e50@gmail.com> Message-ID: Hehe, indeed on Windows none of those bugs is present. BTW bug report filed: http://quality.livecode.com/show_bug.cgi?id=18408 On Thu, Sep 15, 2016 at 12:12 PM, Richmond wrote: > OK: so we have a problem with Mac OS, and we have a problem with Linux: > just as long as you don't suggest I start using Windows . . . > > Best, Richmond. > > > On 15.09.2016 13:34, panagiotis merakos wrote: > >> Thanks Richmond. This looks like a bug. This one happens on Linux but not >> on OS X :) >> >> I'll file a bug report. >> >> On Thu, Sep 15, 2016 at 11:01 AM, Richmond >> wrote: >> >> Please refer to the Forum again to see what happens with 'Print Field'. >>> >>> Richmond. >>> >>> >>> On 15.09.2016 11:49, panagiotis merakos wrote: >>> >>> Hi all, >>>> >>>> This is a bug affecting OSX only, and it will be fixed in the next >>>> release: >>>> >>>> http://quality.livecode.com/show_bug.cgi?id=17825 >>>> >>>> Best, >>>> Panos >>>> -- >>>> >>>> On Thu, Sep 15, 2016 at 9:02 AM, Richmond >>>> wrote: >>>> >>>> http://forums.livecode.com/viewtopic.php?f=7&t=27948 >>>> >>>>> Richmond. >>>>> >>>>> >>>>> On 15.09.2016 10:30, Terence Heaford wrote: >>>>> >>>>> I draw charts using a group with text, graphic objects to represent the >>>>> >>>>>> charts. >>>>>> >>>>>> Whatever colour I set the text to, it displays correctly on the >>>>>> screen. >>>>>> >>>>>> I then print the card but on MacOS divert it to preview as a PDF so as >>>>>> not to waste paper/ink when testing and the text always prints ?Black? >>>>>> despite the on screen colour. >>>>>> >>>>>> MacOS 10.11.6 >>>>>> >>>>>> LC 8.1.0 >>>>>> >>>>>> Is this a bug in LC? >>>>>> >>>>>> >>>>>> All the best >>>>>> >>>>>> Terry >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Sep 15 08:39:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Sep 2016 05:39:54 -0700 Subject: [ANN] Release 8.1.0 In-Reply-To: <0324422d-0bad-d880-3802-3ae2bb5dfa55@sonic.net> References: <0324422d-0bad-d880-3802-3ae2bb5dfa55@sonic.net> Message-ID: Mark Wieder wrote: > On 09/14/2016 12:33 PM, Ali Lloyd wrote: > >> This should (in theory) have been fixed in 8.1.0 rc 1 ( >> http://quality.livecode.com/show_bug.cgi?id=18183) > > Added my comment. > Works on OSX, but not on linux. Here it's working nicely on Ubuntu 14.04 (haven't yet tested on my 16.04 box). Which distro/version are you using? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Sep 15 09:25:38 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Sep 2016 06:25:38 -0700 Subject: Maintain Order in JSON Import In-Reply-To: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> References: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> Message-ID: <2a570a9c-6a98-fa76-e93c-dc1c9a71cf67@fourthworld.com> Sannyasin Brahmanathaswami wrote: > On 9/14/16, 11:28 AM, Richard Gaskin wrote: > > Do you need to round-trip? Where does the data come from, and > where is it going? > > If any part of that is LC on both ends you can save _much_ time > for that using an encoded array. > The use case is cross session data on mobile where we would like to > be able to examine/change the "array" in a text editor. Have you considered YAML? JSON was designed as an optimal solution for serialization in environments using the JavaScript interpreter. While it is a plain text format human readability/writability is a by-product, with the primary goal being exchange of data with REST services that can be de-serialized in a call to JS' eval function. YAML was designed to provide similar serialization to/from plain text, but optimized for human readability/writability. Mark Wieder has a nice pair of functions for using it in LC, converting to and from arrays. > The only way to save an encoded array would be to insert is a a > custom property in an LC stack and save to the writeable folder > on mobile. You can indeed store any data, text or binary in custom properties. But LiveCode also has built-in options for reading/writing both text and binary data in files. The arrayEncode function converts the collection of pointers and memory buckets associated with an array into one reasonably compact binary form, as easily handled with any file or network I/O routines as any other binary data, like images. You can store LSON in a custom property, but you can also store it in a file by itself: put arrayEncode(tArray) into url "binfile:/path/to/file.lson" To read it back into an array: put arrayDecode(url "binfile:/path/to/file.lson") into tArray Just as JSON is designed hand-in-glove to be optimized for the JavaScript interpreter, LSON is the with-the-grain serialization option in LC. Being binary, like the BSON used by MongoDB and others, it's best used machine-to-machine, not suitable for direct human editing using a text editor. But being so with-the-grain it's easy to make viewers and editors for array data as you need them. And if you anticipate doing a lot of manual editing you may find YAML very convenient to work with, designed like a lightweight outliner that just happens to work in any text editor. Being optimized for LC, LSON is not only robust and convenient but also pretty fast and compact. For example, numeric values are stored in their binary form, bypassing conversion to and from text. With sparse delimiters and compact binary forms of numbers, in many cases LSON files will take less disk space and network transfer time than equivalent data in JSON (and far less than most XML). Of course the main thing is to use whatever work for your project, and if you have JSON running well now there's probably no need to change anything. For myself, I tend to pick among these formats like this: YAML: When I anticipate needing to read/write them manually. JSON: When I need to exchange data with other people's REST services, or when delivering data to a Web browser or other software that uses the JavaScript interpreter (like Node.js). LSON: When the software reading and writing the data will be LiveCode, and not meeting the two previous criteria. Lately most of my work has LC on the server feeding LC clients, so LSON has become my default go-to choice unless I have some specific need requiring something else. I have one REST service for which I'll need to support both LC apps and Web browsers as clients, and I'm setting up the API so that the file extension in the request determines the output format, e.g.: get url "http://domain.com/cgi?query.json ...is parsed to run the output through an arrayToJson function before sending it back over the wire, while this: get url "http://domain.com/cgi?query.lson ...returns an encoded LiveCode array. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From heather at livecode.com Thu Sep 15 11:19:14 2016 From: heather at livecode.com (Heather Laine) Date: Thu, 15 Sep 2016 16:19:14 +0100 Subject: [Blog] Modifying a Widget Message-ID: <5EA7179F-F469-426D-88DB-638DE63DFBDC@livecode.com> Dear List Folks, Another great post from Monte is waiting for you here: https://livecode.com/livecode-widgets-modifying-the-line-chart Enjoy! Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From ahsoftware at sonic.net Thu Sep 15 11:22:52 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 15 Sep 2016 08:22:52 -0700 Subject: [ANN] Release 8.1.0 In-Reply-To: References: <0324422d-0bad-d880-3802-3ae2bb5dfa55@sonic.net> Message-ID: <13201770-ffad-f815-92ce-2615a6cb3944@sonic.net> On 09/15/2016 05:39 AM, Richard Gaskin wrote: > Mark Wieder wrote: >> On 09/14/2016 12:33 PM, Ali Lloyd wrote: >> >>> This should (in theory) have been fixed in 8.1.0 rc 1 ( >>> http://quality.livecode.com/show_bug.cgi?id=18183) >> >> Added my comment. >> Works on OSX, but not on linux. > > Here it's working nicely on Ubuntu 14.04 (haven't yet tested on my 16.04 > box). > > Which distro/version are you using? > Mint 17, and no doubt related to bug 16848, since opening the dictionary always requires two attempts. -- Mark Wieder ahsoftware at gmail.com From devin_asay at byu.edu Thu Sep 15 11:51:15 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 15 Sep 2016 15:51:15 +0000 Subject: play sound command? In-Reply-To: <68E8483F-62DF-4554-B037-FB666EBA096D@major-k.de> References: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> <68E8483F-62DF-4554-B037-FB666EBA096D@major-k.de> Message-ID: <85709BE0-AD74-4FF4-9233-F28763D59216@byu.edu> > On Sep 15, 2016, at 3:51 AM, Klaus major-k wrote: > > Hi Bill, > >> Am 15.09.2016 um 11:02 schrieb panagiotis merakos : >> >> Hi Bill, >> >> Audio clips cannot be .mp3. The supported formats, according to the >> dictionary entry for "audioClip" are: >> >> *Audio clips can be in WAV, AIFF, or AU format* > > UNCOMPRESSED aiff and wav files, to be precise! And AU files may be uncompressed or ?-law 2:1 compressed. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Thu Sep 15 12:00:19 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 15 Sep 2016 16:00:19 +0000 Subject: play sound command? In-Reply-To: References: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> Message-ID: <5D07BBB5-C178-4B80-8D77-0EB1AE10E3F0@byu.edu> > On Sep 15, 2016, at 3:02 AM, panagiotis merakos wrote: > > Hi Bill, > > Audio clips cannot be .mp3. The supported formats, according to the > dictionary entry for "audioClip" are: > > *Audio clips can be in WAV, AIFF, or AU format* > > I agree with you that the player object has many more capabilities. The > only advantage of audioClips is that you can store the sound *in the stack*: > > *Unlike a player, an audio clip contains the sound that it plays. This > increases the memory required by your stack, because the sound data is > loaded into memory along with the rest of the stack whenever the stack file > is open. However, it prevents the sound from being accidentally separated > from the stack file and lost.* I wonder if the dictionary is completely accurate in this regard. An audio clip does not HAVE to be imported into the stack to be played. This also works: play audioClip ?/path/to/clip.wav? The external file clearly functions as an audio clip, because the same format restrictions apply?this syntax only works with WAV, AIFF, and AU formats. So what is happening under the hood? When playing an external audio file, does LiveCode create a temporary audioClip object? I decided to make some updates to the dictionary entry, and I don?t want to tell any lies. :) Devin Devin Asay Director Office of Digital Humanities Brigham Young University From prothero at earthednet.org Thu Sep 15 12:09:56 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 15 Sep 2016 09:09:56 -0700 Subject: play sound command? In-Reply-To: <5D07BBB5-C178-4B80-8D77-0EB1AE10E3F0@byu.edu> References: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> <5D07BBB5-C178-4B80-8D77-0EB1AE10E3F0@byu.edu> Message-ID: <5CFC2CD1-0AA6-4A03-BDC9-A80DB55042C3@earthednet.org> Thanks for the info, folks. Perhaps I didn't read far enough in the dictionary entries for the play command, but I didn't see a list of supported audio file types. Also, I found a link to "stop" but had to look at the tutorial online to get the "play stop" syntax. For me, this isn't a problem, but I'm thinking of the newbie and the really huge job of aligning the dictionary and user guide with the new features. I guess I will need to figure out github and get into offering contributions to this effort. I know some tutorials have been posted, so..... Best, Bill William Prothero http://es.earthednet.org > On Sep 15, 2016, at 9:00 AM, Devin Asay wrote: > > >> On Sep 15, 2016, at 3:02 AM, panagiotis merakos wrote: >> >> Hi Bill, >> >> Audio clips cannot be .mp3. The supported formats, according to the >> dictionary entry for "audioClip" are: >> >> *Audio clips can be in WAV, AIFF, or AU format* >> >> I agree with you that the player object has many more capabilities. The >> only advantage of audioClips is that you can store the sound *in the stack*: >> >> *Unlike a player, an audio clip contains the sound that it plays. This >> increases the memory required by your stack, because the sound data is >> loaded into memory along with the rest of the stack whenever the stack file >> is open. However, it prevents the sound from being accidentally separated >> from the stack file and lost.* > > I wonder if the dictionary is completely accurate in this regard. An audio clip does not HAVE to be imported into the stack to be played. This also works: > > play audioClip ?/path/to/clip.wav? > > The external file clearly functions as an audio clip, because the same format restrictions apply?this syntax only works with WAV, AIFF, and AU formats. So what is happening under the hood? When playing an external audio file, does LiveCode create a temporary audioClip object? I decided to make some updates to the dictionary entry, and I don?t want to tell any lies. :) > > Devin > > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Thu Sep 15 12:10:06 2016 From: andrew at midwestcoastmedia.com (Mid West Coast Media) Date: Thu, 15 Sep 2016 12:10:06 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: Message-ID: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> An app I just released for a customer has had the main functionality (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub so I can figure out what's happening. Is there any documentation on how to do this or is it even possible? I'm not real familiar with github, but cloned the branch and got it downloaded. I know the release is planned for the next 5 days, and realize this might not even be worth my time. --Andrew Bell > From: Peter TB Brett > To: User List > Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Hi all, > > Since Xcode 8 GM is now available for download by members of the Apple > developer program, I thought it might be helpful to give you an update > on our plans for enabling LiveCode app deployment using Xcode 8. > > - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release > > - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > keep a copy of Xcode 7.3.1 around > > I currently expect that we'll release 8.1.1-rc-1 sometime between > 15th-20th September. > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager From devin_asay at byu.edu Thu Sep 15 12:18:06 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 15 Sep 2016 16:18:06 +0000 Subject: play sound command? In-Reply-To: <5CFC2CD1-0AA6-4A03-BDC9-A80DB55042C3@earthednet.org> References: <1D718E08-8314-41DF-B630-7119DB51D52D@earthednet.org> <5D07BBB5-C178-4B80-8D77-0EB1AE10E3F0@byu.edu> <5CFC2CD1-0AA6-4A03-BDC9-A80DB55042C3@earthednet.org> Message-ID: <8DFA5C7D-8018-458F-9C62-58EB15D87176@byu.edu> > On Sep 15, 2016, at 10:09 AM, Earthednet-wp wrote: > > Thanks for the info, folks. Perhaps I didn't read far enough in the dictionary entries for the play command, but I didn't see a list of supported audio file types. Also, I found a link to "stop" but had to look at the tutorial online to get the "play stop" syntax. For me, this isn't a problem, but I'm thinking of the newbie and the really huge job of aligning the dictionary and user guide with the new features. > > I guess I will need to figure out github and get into offering contributions to this effort. I know some tutorials have been posted, so?.. Bill, I?m updating the Dictionary audioClip entry, and I?ll add some info to the play entry. If you?re interested in helping update the dictionary, drop me a note and I?d be happy to help get you started. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From iowahengst at mac.com Thu Sep 15 12:25:42 2016 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 15 Sep 2016 11:25:42 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> Message-ID: <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> All, 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to be that the apps don?t know they are ?landscape? only apps and open (and only display) in portrait? thus, cutting off part of the screen. All of the apps work fine in iOS 9.3.x And, in fact, landscape iPad apps build in 2014 (can?t remember which LC version) work fine? it?s only the apps built in summer 2015 and summer 2016. I thought I saw something about this on the list earlier, but can?t locate it now. Will 8.1.1 RC1 be stable enough to use to update apps? be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Sep 15, 2016, at 11:10 AM, Mid West Coast Media wrote: > > An app I just released for a customer has had the main functionality (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. > > I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub so I can figure out what's happening. > > Is there any documentation on how to do this or is it even possible? I'm not real familiar with github, but cloned the branch and got it downloaded. I know the release is planned for the next 5 days, and realize this might not even be worth my time. > > --Andrew Bell > > >> From: Peter TB Brett >> To: User List >> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 >> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Hi all, >> >> Since Xcode 8 GM is now available for download by members of the Apple >> developer program, I thought it might be helpful to give you an update >> on our plans for enabling LiveCode app deployment using Xcode 8. >> >> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release >> >> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >> keep a copy of Xcode 7.3.1 around >> >> I currently expect that we'll release 8.1.1-rc-1 sometime between >> 15th-20th September. >> >> Peter >> >> -- >> Dr Peter Brett >> LiveCode Technical Project Manager > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Sep 15 12:26:21 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 15 Sep 2016 17:26:21 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> Message-ID: Have you tried rebuilding your app with LC 8.1.0, which contains a fix for apps breaking on iOS 10? On Thu, Sep 15, 2016 at 5:10 PM, Mid West Coast Media < andrew at midwestcoastmedia.com> wrote: > An app I just released for a customer has had the main functionality > (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. > > I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub so > I can figure out what's happening. > > Is there any documentation on how to do this or is it even possible? I'm > not real familiar with github, but cloned the branch and got it downloaded. > I know the release is planned for the next 5 days, and realize this might > not even be worth my time. > > --Andrew Bell > > > > From: Peter TB Brett > > To: User List > > Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > > Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > > Content-Type: text/plain; charset=utf-8; format=flowed > > > > Hi all, > > > > Since Xcode 8 GM is now available for download by members of the Apple > > developer program, I thought it might be helpful to give you an update > > on our plans for enabling LiveCode app deployment using Xcode 8. > > > > - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release > > > > - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > > keep a copy of Xcode 7.3.1 around > > > > I currently expect that we'll release 8.1.1-rc-1 sometime between > > 15th-20th September. > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Technical Project Manager > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Thu Sep 15 12:28:13 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 15 Sep 2016 17:28:13 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: Hi Randy, This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed in LC 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. Best, Panos -- On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst wrote: > All, > > 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to be > that the apps don?t know they are ?landscape? only apps and open (and only > display) in portrait? thus, cutting off part of the screen. All of the apps > work fine in iOS 9.3.x > > And, in fact, landscape iPad apps build in 2014 (can?t remember which LC > version) work fine? it?s only the apps built in summer 2015 and summer 2016. > > I thought I saw something about this on the list earlier, but can?t locate > it now. > > Will 8.1.1 RC1 be stable enough to use to update apps? > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > > > On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < > andrew at midwestcoastmedia.com> wrote: > > > > An app I just released for a customer has had the main functionality > (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. > > > > I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub > so I can figure out what's happening. > > > > Is there any documentation on how to do this or is it even possible? I'm > not real familiar with github, but cloned the branch and got it downloaded. > I know the release is planned for the next 5 days, and realize this might > not even be worth my time. > > > > --Andrew Bell > > > > > >> From: Peter TB Brett > >> To: User List > >> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > >> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > >> Content-Type: text/plain; charset=utf-8; format=flowed > >> > >> Hi all, > >> > >> Since Xcode 8 GM is now available for download by members of the Apple > >> developer program, I thought it might be helpful to give you an update > >> on our plans for enabling LiveCode app deployment using Xcode 8. > >> > >> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release > >> > >> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > >> keep a copy of Xcode 7.3.1 around > >> > >> I currently expect that we'll release 8.1.1-rc-1 sometime between > >> 15th-20th September. > >> > >> Peter > >> > >> -- > >> Dr Peter Brett > >> LiveCode Technical Project Manager > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Sep 15 12:47:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Sep 2016 11:47:18 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: <1572ebec9f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't know if it's at all related, but the inability to rotate to landscape is the problem I'm having with the Android browser viewer I'm working on. The screen rotates but the display is a tiny portrait view. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 15, 2016 11:27:53 AM Randy Hengst wrote: > All, > > 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to be > that the apps don?t know they are ?landscape? only apps and open (and only > display) in portrait? thus, cutting off part of the screen. All of the apps > work fine in iOS 9.3.x > > And, in fact, landscape iPad apps build in 2014 (can?t remember which LC > version) work fine? it?s only the apps built in summer 2015 and summer 2016. > > I thought I saw something about this on the list earlier, but can?t locate > it now. > > Will 8.1.1 RC1 be stable enough to use to update apps? > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > >> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media >> wrote: >> >> An app I just released for a customer has had the main functionality >> (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. >> >> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub so >> I can figure out what's happening. >> >> Is there any documentation on how to do this or is it even possible? I'm >> not real familiar with github, but cloned the branch and got it downloaded. >> I know the release is planned for the next 5 days, and realize this might >> not even be worth my time. >> >> --Andrew Bell >> >> >>> From: Peter TB Brett >>> To: User List >>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 >>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> >>> Content-Type: text/plain; charset=utf-8; format=flowed >>> >>> Hi all, >>> >>> Since Xcode 8 GM is now available for download by members of the Apple >>> developer program, I thought it might be helpful to give you an update >>> on our plans for enabling LiveCode app deployment using Xcode 8. >>> >>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release >>> >>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >>> keep a copy of Xcode 7.3.1 around >>> >>> I currently expect that we'll release 8.1.1-rc-1 sometime between >>> 15th-20th September. >>> >>> Peter >>> >>> -- >>> Dr Peter Brett >>> LiveCode Technical Project Manager >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmac at consensustech.com Thu Sep 15 14:15:40 2016 From: jmac at consensustech.com (Jim MacConnell) Date: Thu, 15 Sep 2016 11:15:40 -0700 Subject: UVC Video Framke Capture Message-ID: <025e01d20f7d$2a7d5070$7f77f150$@consensustech.com> I think I know the answer but thought I'd ask anyway..... It's no, btw :( I'm using a webcam to capture images that I then analyze for feature type, location and legibility. The system has to run on Windows for the foreseeable future. I need higher resolution than the 720p webcam I started with in order to discriminate some items I was looking for so I ordered a nice 5 Meg USB cam from Amazon. It turns out I didn?t do enough due diligence and it uses UVC rather than VFW (which supposedly is now obsolete?). While I should be able to use a different tool to capture and store the image which I can then open from LC, I'd much prefer to have everything self-contained in my LC app. Questions: 1) Has anyone developed an external that interfaces with a UVC camera? 2) Are there any plans to update the revVideo library to work with UVC? 3) Has anyone dealt with this issue before and have any pointers? 4) With the move to AVFoundation on LC for OSX, is QT a dead-end? I have control over the machines I'm using so could install whatever I need so could install QT but if QT is going away then that's not a long term solution. From matthias_livecode_150811 at m-r-d.de Thu Sep 15 14:32:07 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Sep 2016 20:32:07 +0200 Subject: libURL gone mad In-Reply-To: <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> Message-ID: <53D6A1E6-185F-4E87-B508-070A40AD2B7A@m-r-d.de> Hi all. I?ve extended that stack with some examples for uploading with FTP, SFTP, FTPS implicit and FTPS explicit using the command tsNetUploadSync. https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html I?ve kept he previous dropbox url. Therefore the name of the stack is still lcmail.livecode. But it definitely contains the ftp stuff. ;) Matthias > Am 14.09.2016 um 20:51 schrieb Matthias Rebbe : > > Neil was so kind to sent me that stack a 2 days ago, because i was in urgent need of an useful example script for sending emails with tsNet external. > > I?ve added a function to that button script. The function builds the complete smtp message with all needed smtp headers and it deals with the little problem i mentioned in an email to Neil earlier today regarding using the base64Encode function for encoding the subject line in the smtp header. > > I?ve uploaded it here > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > Btw.: an easy and very useful tool for Mac OS X to test smtp with your scripts is MockSMTP > http://www.mocksmtpapp.com > > > @Neil > Thanks again for putting that stack together. It helped me a lot. > Maybe you want to replace your stack with mine. > > Regards, > > Matthias > > > Am 14.09.2016 um 19:49 schrieb Neil Roger : > >> >> Hi Roger, >> >> pSettings is an array. More information on what elements apply to that array can be found in the dictionary entry for tsNetSmtpSync >> >> I created a stack for the promo 8.1 promo video which should help with using the new tsNetSmtpSync function. This can be downloaded from here >> >> http://techsupport.on-rev.com/LCMail.zip >> >> All scripts are in the button "send mail" >> >> Things are a little more complex in my example as I am dealing with sending unicode chars but it should give you somewhere to start. >> >> Cheers, >> >> Neil >> >> >> >> >> LiveCode Technical Support and Content Creation Lead >> neil at livecode.com >> >> LiveCode >> +44 (0) 845 219 8923. >> 25A Thistle Street Lane South West, Edinburgh, EH2 1EW >> http://www.livecode.com >> >> Facebook Twitter Youtube Linkedin >> >> >> On 14/09/2016 17:41, Roger Eller wrote: >>> On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett >>> wrote: >>> >>>> >>>> On 14/09/2016 16:12, Richard Gaskin wrote: >>>> >>>>> Peter TB Brett wrote: >>>>> >>>>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>>>> A couple weeks ago I wrote: >>>>>>> >>>>>> ... >>>>>> Does anyone here know where I can find a breakdown of which >>>>>>> new networking features are available in which LC 8.1 editions >>>>>>> (Community, Indy, Business)? >>>>>>> >>>>>> >>>>>> https://livecode.com/products/livecode-platform/livecode-net >>>>> working-layer/ >>>>> >>>>> Perfect - thanks! >>>>> >>>> The short answer is that since tsNet isn't included in the open source >>>> edition of LiveCode there are no new networking features in the open source >>>> edition of LiveCode 8.1. >>>> >>>> Peter >>>> >>>> -- >>>> Dr Peter Brett >>>> LiveCode Technical Project Manager >>>> >>> >>> Since SMTP is new to LC, other than some home-made libraries, can you >>> provide a working example? The general syntax is in the docs, but no >>> examples. And there's the mysterious parameter pSettings. What is the >>> format and content of pSettings? >>> >>> ~Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Sep 15 14:41:18 2016 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 15 Sep 2016 14:41:18 -0400 Subject: libURL gone mad In-Reply-To: <53D6A1E6-185F-4E87-B508-070A40AD2B7A@m-r-d.de> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> <53D6A1E6-185F-4E87-B508-070A40AD2B7A@m-r-d.de> Message-ID: <93da0e47-997b-94ab-e188-55d818696dae@gmail.com> Matthias, I am getting a error when attempting the download. -= Mike On 9/15/16 2:32 PM, Matthias Rebbe wrote: > Hi all. > > I?ve extended that stack with some examples for uploading with FTP, SFTP, FTPS implicit and FTPS explicit using the command tsNetUploadSync. > > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > I?ve kept he previous dropbox url. Therefore the name of the stack is still lcmail.livecode. But it definitely contains the ftp stuff. ;) > > Matthias > > > >> Am 14.09.2016 um 20:51 schrieb Matthias Rebbe : >> >> Neil was so kind to sent me that stack a 2 days ago, because i was in urgent need of an useful example script for sending emails with tsNet external. >> >> I?ve added a function to that button script. The function builds the complete smtp message with all needed smtp headers and it deals with the little problem i mentioned in an email to Neil earlier today regarding using the base64Encode function for encoding the subject line in the smtp header. >> >> I?ve uploaded it here >> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >> >> Btw.: an easy and very useful tool for Mac OS X to test smtp with your scripts is MockSMTP >> http://www.mocksmtpapp.com >> >> >> @Neil >> Thanks again for putting that stack together. It helped me a lot. >> Maybe you want to replace your stack with mine. >> >> Regards, >> >> Matthias >> >> >> Am 14.09.2016 um 19:49 schrieb Neil Roger : >> >>> Hi Roger, >>> >>> pSettings is an array. More information on what elements apply to that array can be found in the dictionary entry for tsNetSmtpSync >>> >>> I created a stack for the promo 8.1 promo video which should help with using the new tsNetSmtpSync function. This can be downloaded from here >>> >>> http://techsupport.on-rev.com/LCMail.zip >>> >>> All scripts are in the button "send mail" >>> >>> Things are a little more complex in my example as I am dealing with sending unicode chars but it should give you somewhere to start. >>> >>> Cheers, >>> >>> Neil >>> >>> >>> >>> >>> LiveCode Technical Support and Content Creation Lead >>> neil at livecode.com >>> >>> LiveCode >>> +44 (0) 845 219 8923. >>> 25A Thistle Street Lane South West, Edinburgh, EH2 1EW >>> http://www.livecode.com >>> >>> Facebook Twitter Youtube Linkedin >>> >>> >>> On 14/09/2016 17:41, Roger Eller wrote: >>>> On Wed, Sep 14, 2016 at 11:14 AM, Peter TB Brett >>>> wrote: >>>> >>>>> On 14/09/2016 16:12, Richard Gaskin wrote: >>>>> >>>>>> Peter TB Brett wrote: >>>>>> >>>>>> On 14/09/2016 15:50, Richard Gaskin wrote: >>>>>>>> A couple weeks ago I wrote: >>>>>>>> >>>>>>> ... >>>>>>> Does anyone here know where I can find a breakdown of which >>>>>>>> new networking features are available in which LC 8.1 editions >>>>>>>> (Community, Indy, Business)? >>>>>>>> >>>>>>> https://livecode.com/products/livecode-platform/livecode-net >>>>>> working-layer/ >>>>>> >>>>>> Perfect - thanks! >>>>>> >>>>> The short answer is that since tsNet isn't included in the open source >>>>> edition of LiveCode there are no new networking features in the open source >>>>> edition of LiveCode 8.1. >>>>> >>>>> Peter >>>>> >>>>> -- >>>>> Dr Peter Brett >>>>> LiveCode Technical Project Manager >>>>> >>>> Since SMTP is new to LC, other than some home-made libraries, can you >>>> provide a working example? The general syntax is in the docs, but no >>>> examples. And there's the mysterious parameter pSettings. What is the >>>> format and content of pSettings? >>>> >>>> ~Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Sep 15 15:01:01 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 15 Sep 2016 12:01:01 -0700 Subject: Trying to do the Build a Widget Tutorial Message-ID: Folks: I?m trying to do the ?Build a Widget? tutorial and I?m running into a roadblock. I?m using Livecode 8.1.0 I made the .lcb file and then launched the Extensions Builder. Where I?m stuck is when I click the small folder icon at the upper right of the window to choose a valid extensions folder, I get ?No Resources Found in Extensions.? and ?no default script found?. Could it be that since I?m using the Indy version, I need a different ?use? specification in the first lines? Apparently the Extensions Builder is not recognizing my .lcb file as valid. I tried to access the video that?s associated with the tutorial page, but it wants me to log in and then I can?t find the page, and the Create-It course comes up blank on my screen. It was my impression that the Create-It course was free to Indy registered users. True? BTW: small point, but the Extensions Builder is accessible under the ?Tools? menu in LC8.1, not under the ?Development" menu. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From revolution at jaedworks.com Thu Sep 15 15:27:03 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 15 Sep 2016 12:27:03 -0700 Subject: libURL gone mad In-Reply-To: <93da0e47-997b-94ab-e188-55d818696dae@gmail.com> References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> <53D6A1E6-185F-4E87-B508-070A40AD2B7A@m-r-d.de> <93da0e47-997b-94ab-e188-55d818696dae@gmail.com> Message-ID: At 2:41 PM -0400 9/15/2016, Michael Doub wrote: >Matthias, > >I am getting a error when attempting the download. So am I. I can get to the index.html page, but when I try downloading, the server is claiming the file doesn't exist. From matthias_livecode_150811 at m-r-d.de Thu Sep 15 15:49:15 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Sep 2016 21:49:15 +0200 Subject: libURL gone mad In-Reply-To: References: <7686bf0e-9583-1dd4-cb64-0981b40daa31@fourthworld.com> <57D98DC7.2010103@livecode.com> <05A0E335-701B-4643-8936-2A626C7068E4@m-r-d.de> <53D6A1E6-185F-4E87-B508-070A40AD2B7A@m-r-d.de> <93da0e47-997b-94ab-e188-55d818696dae@gmail.com> Message-ID: <1EABFB96-13E0-4B54-89E1-977059B248E0@m-r-d.de> Please excuse. Please try again. The file should now be available. https://dl.dropboxusercontent.com/s/q4oec8uu3pcdgfj/index.html > Am 15.09.2016 um 21:27 schrieb Jeanne A. E. DeVoto : > > At 2:41 PM -0400 9/15/2016, Michael Doub wrote: >> Matthias, >> >> I am getting a error when attempting the download. > > So am I. I can get to the index.html page, but when I try downloading, the server is claiming the file doesn't exist. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Thu Sep 15 15:51:45 2016 From: andrew at midwestcoastmedia.com (Andrew Bell) Date: Thu, 15 Sep 2016 15:51:45 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: Message-ID: <97c0e8f485af708438c5d41b3f668db8@midwestcoastmedia.com> > From: panagiotis merakos > To: How to use LiveCode > Subject: Re: Xcode 8 / iOS 10 support coming in 8.1.1 > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > Have you tried rebuilding your app with LC 8.1.0, which contains a fix > for > apps breaking on iOS 10? I haven't been able to compile this stack in 8.1.0 since 8.1.0dp2. I was getting a strange error that I just never took the time to troubleshoot and continued using 8.0.2 until today. Came to the conclusion that my problem was including other stacks in my stack, and filed this bug report: http://quality.livecode.com/show_bug.cgi?id=18412 I know the development team is hard at work getting this ready. In the meantime, I can't build for or simulate in iOS 10. Don't want to update my iPhone 5s from 9.3 to 10 (was hoping to keep old device for regression testing and use new iPhone 7 for new testing). --Andrew Bell From hlowe at me.com Thu Sep 15 16:13:50 2016 From: hlowe at me.com (hlowe) Date: Thu, 15 Sep 2016 13:13:50 -0700 (PDT) Subject: Native Scrollers not working correctly in LC8 - Bug 17779 Message-ID: <1473970430328-4708480.post@n4.nabble.com> I want to bring this LC bug to the group's attention so that you don't spend hours (as I did) trying to track down the cause in your own code. This bug was first reported in June 2016 by Louis, was confirmed as a bug, and is still present in LC 8.1.0 - http://quality.livecode.com/show_bug.cgi?id=17779 If acceleratedRendering is set to true then both iOS and Android native scrollers (as reported by Louis) will not work correctly. The scrollers do not respect the contentRect and instead draw outside the contentRect, overwriting other screen areas. I have also found this bug results in some object background fill colors being set to black. Setting acceleratedRendering to false fixes these issues. However, even if acceleratedRendering is set to false, setting the compositorType of the stack to "OpenGL" causes the bug to reappear. I encountered this bug when migrating an iOS iPad app that runs fine under LC 6.7.11 and iOS 9.3 to LC 8.1.0 under iOS 9.3. Comparing my app (on the iPad) with and without acceleratedRendering set to true demonstrates a significant visual delay when scrolling complex LC datagrids if acceleratedRendering is turned off. I use Monte's excellent mergDataGridScroller drop tool and it, as expected, is also impacted by the bug as are the "roll your own" native scrollers that I have coded. The LC team have done an amazing job in delivering LC 8.1.0. No criticism is intended. I just want to save you the many hours I spent trying to figure out why my scrollers were no longer working as expected. Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Native-Scrollers-not-working-correctly-in-LC8-Bug-17779-tp4708480.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Thu Sep 15 16:32:18 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 15 Sep 2016 16:32:18 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> Message-ID: <007a01d20f90$417416c0$c45c4440$@net> My connection to a LiveCode server via https is not working in iOS 10 also. I am running it down now. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mid West Coast Media Sent: Thursday, September 15, 2016 12:10 PM To: use-livecode at lists.runrev.com Subject: Re: Xcode 8 / iOS 10 support coming in 8.1.1 An app I just released for a customer has had the main functionality (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub so I can figure out what's happening. Is there any documentation on how to do this or is it even possible? I'm not real familiar with github, but cloned the branch and got it downloaded. I know the release is planned for the next 5 days, and realize this might not even be worth my time. --Andrew Bell > From: Peter TB Brett > To: User List > Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Hi all, > > Since Xcode 8 GM is now available for download by members of the Apple > developer program, I thought it might be helpful to give you an update > on our plans for enabling LiveCode app deployment using Xcode 8. > > - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 > release > > - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > keep a copy of Xcode 7.3.1 around > > I currently expect that we'll release 8.1.1-rc-1 sometime between > 15th-20th September. > > Peter > > -- > Dr Peter Brett LiveCode Technical Project > Manager _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From markclark at mac.com Thu Sep 15 17:29:47 2016 From: markclark at mac.com (Mark Clark) Date: Thu, 15 Sep 2016 16:29:47 -0500 Subject: tsNet Qs In-Reply-To: References: Message-ID: I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? thx, mark c From matthias_livecode_150811 at m-r-d.de Thu Sep 15 17:54:54 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Sep 2016 23:54:54 +0200 Subject: tsNet Qs In-Reply-To: References: Message-ID: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> Hi Mark, i just tried it with the stack from Neil Roger which is available here http://techsupport.on-rev.com/LCMail.zip or an extended version, which includes also some FTP examples,here https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html Are you referring to that sample stack? I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. Matthias > Am 15.09.2016 um 23:29 schrieb Mark Clark : > > I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). > I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? > > thx, > mark c > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Thu Sep 15 18:32:54 2016 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 15 Sep 2016 17:32:54 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: Thank you Panos, I?ll get that going. One related question?. I?ve had a computer ?issue? and now only have Xcode 7.3.1 on my machine? it only has SDK 9.3. I assume that will allow me to build for iOS 10? but will it building for the iOS 7 or 8 series? If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been searching without success. If I have to download other Xcode apps, can someone point me to which one would allow me to build for at least iOS 8 and beyond. Thanks in advance for the help. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Sep 15, 2016, at 11:28 AM, panagiotis merakos wrote: > > Hi Randy, > > This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed in LC > 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. > > Best, > Panos > -- > > On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst wrote: > >> All, >> >> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to be >> that the apps don?t know they are ?landscape? only apps and open (and only >> display) in portrait? thus, cutting off part of the screen. All of the apps >> work fine in iOS 9.3.x >> >> And, in fact, landscape iPad apps build in 2014 (can?t remember which LC >> version) work fine? it?s only the apps built in summer 2015 and summer 2016. >> >> I thought I saw something about this on the list earlier, but can?t locate >> it now. >> >> Will 8.1.1 RC1 be stable enough to use to update apps? >> >> be well, >> randy >> >> Randy Hengst >> www.classroomFocusedSoftware.com >> >> >> >>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < >> andrew at midwestcoastmedia.com> wrote: >>> >>> An app I just released for a customer has had the main functionality >> (connect to a LiveCode Server using the SSL API from HostM) break in iOS 10. >>> >>> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub >> so I can figure out what's happening. >>> >>> Is there any documentation on how to do this or is it even possible? I'm >> not real familiar with github, but cloned the branch and got it downloaded. >> I know the release is planned for the next 5 days, and realize this might >> not even be worth my time. >>> >>> --Andrew Bell >>> >>> >>>> From: Peter TB Brett >>>> To: User List >>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 >>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> >>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>> >>>> Hi all, >>>> >>>> Since Xcode 8 GM is now available for download by members of the Apple >>>> developer program, I thought it might be helpful to give you an update >>>> on our plans for enabling LiveCode app deployment using Xcode 8. >>>> >>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release >>>> >>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >>>> keep a copy of Xcode 7.3.1 around >>>> >>>> I currently expect that we'll release 8.1.1-rc-1 sometime between >>>> 15th-20th September. >>>> >>>> Peter >>>> >>>> -- >>>> Dr Peter Brett >>>> LiveCode Technical Project Manager >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Sep 15 18:46:45 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 16 Sep 2016 00:46:45 +0200 Subject: tsNet Qs In-Reply-To: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> References: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> Message-ID: And here?s a simple script on mouseup /* pFrom is the sender email pTo is the recipient email pSubject is the subject pMessage is the message text pUsername is the username for logging into email account pPassword is the password for logging into email account pServer is the server URL including smtp:// or smtps:// Note: even if you have an additional addon domain in your HostM account; when using ssl/tls you have to use your account hostname as server, not the addon domain. e.g smtps://ua123456.serversignin.com */ put "Content-Type: text/plain; charset=utf-8" & cr into pPostData put "Date:" && the internet date &CR after pPostData put "From:" && pFrom &CR after pPostData put "To:" && pTo & CR after pPostData put "Subject: "&pSubject & cr & cr after pPostData put pMessage after pPostData put pUsername into pSettings["username"] put pPassword into pSettings["password"] put TRUE into pSettings["use_ssl"] -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- put tsNetSmtpSync(pServer, pFrom, pTo, pPostData, pResponseHeaders,pBytes,pSettings) into tResult answer pResponseHeaders &return &tResult end mouseup HTH, Matthias > Am 15.09.2016 um 23:54 schrieb Matthias Rebbe : > > Hi Mark, > > i just tried it with the stack from Neil Roger which is available here > http://techsupport.on-rev.com/LCMail.zip > or an extended version, which includes also some FTP examples,here > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > Are you referring to that sample stack? > > I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. > > > Matthias > > > >> Am 15.09.2016 um 23:29 schrieb Mark Clark : >> >> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >> >> thx, >> mark c >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu Sep 15 20:01:57 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 15 Sep 2016 17:01:57 -0700 Subject: Copying text from LC Script Editor Message-ID: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> I?m noticing that with LiveCode 8, copying scripts from the Script Editor and pasting it into other applications on the Mac yields text that displays differently than pre-LC 8. Pasting it into Apple Mail puts it as double-spaced. Copying it from Mail puts it back into the Script Editor as double spaced: on mouseUp doThis thenDoThis followedByThis end mouseUp Apple TextEdit is OK: on mouseUp doThis thenDoThis followedByThis end mouseUp Pasting it into Tex-Edit Plus yields a single line with feed characters. Is this worth making a fuss over? Peter Bogdanoff UCLA From prothero at earthednet.org Thu Sep 15 20:11:07 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 15 Sep 2016 17:11:07 -0700 Subject: Playing Sound question Message-ID: Folks: I have an app that I am building for mobile. In previous versions of LC, I used the mobilePlaySoundOnChannel command and its associated control commands. I play an mp3 file. This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From prothero at earthednet.org Thu Sep 15 20:30:23 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 15 Sep 2016 17:30:23 -0700 Subject: Playing Sound question In-Reply-To: References: Message-ID: I made a test stack with 3 players. BUT, I can?t find a property to set the volume level of the players. Is there a way to set the play volume? Bill > On Sep 15, 2016, at 5:11 PM, William Prothero wrote: > > Folks: > I have an app that I am building for mobile. In previous versions of LC, I used the > mobilePlaySoundOnChannel > command and its associated control commands. I play an mp3 file. > This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. > > I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. > > So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. > > Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? > > Best, > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Sep 15 20:36:11 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 15 Sep 2016 17:36:11 -0700 Subject: Playing Sound question In-Reply-To: References: Message-ID: <37D220F5-D577-4DE5-9F4D-8FDC03BE1B3E@earthednet.org> Ok, answered my own question. Set the playLoudness of player ?playername? to ?a percentage between 0 and 100? It would be nice if that property was mentioned in the player object dictionary entry. Best, Bill > On Sep 15, 2016, at 5:30 PM, William Prothero wrote: > > I made a test stack with 3 players. BUT, I can?t find a property to set the volume level of the players. Is there a way to set the play volume? > Bill > > >> On Sep 15, 2016, at 5:11 PM, William Prothero wrote: >> >> Folks: >> I have an app that I am building for mobile. In previous versions of LC, I used the >> mobilePlaySoundOnChannel >> command and its associated control commands. I play an mp3 file. >> This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. >> >> I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. >> >> So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. >> >> Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? >> >> Best, >> Bill >> >> William Prothero, Ph.D. >> University of California, Santa Barbara, Emeritus >> prothero at earthednet.org >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Sep 15 20:49:27 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 15 Sep 2016 17:49:27 -0700 Subject: Playing Sound question In-Reply-To: <37D220F5-D577-4DE5-9F4D-8FDC03BE1B3E@earthednet.org> References: <37D220F5-D577-4DE5-9F4D-8FDC03BE1B3E@earthednet.org> Message-ID: <7E8F0733-14CE-46DD-AF79-38F4AFC79941@earthednet.org> Last thing to do: get it working in iOS. The avPlayer object doesn?t work for me in the simulator. I?ll have to experiment further. If anybody has any suggestions of which command to use, plse comment. I?m done for the day. Otherwise, I?ll fumble around in the dictionary until I find something that works. I?m making a test stack that I?ll share when I?m done. Best, Bill > On Sep 15, 2016, at 5:36 PM, William Prothero wrote: > > Ok, answered my own question. Set the playLoudness of player ?playername? to ?a percentage between 0 and 100? > > It would be nice if that property was mentioned in the player object dictionary entry. > Best, > Bill > >> On Sep 15, 2016, at 5:30 PM, William Prothero wrote: >> >> I made a test stack with 3 players. BUT, I can?t find a property to set the volume level of the players. Is there a way to set the play volume? >> Bill >> >> >>> On Sep 15, 2016, at 5:11 PM, William Prothero wrote: >>> >>> Folks: >>> I have an app that I am building for mobile. In previous versions of LC, I used the >>> mobilePlaySoundOnChannel >>> command and its associated control commands. I play an mp3 file. >>> This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. >>> >>> I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. >>> >>> So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. >>> >>> Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? >>> >>> Best, >>> Bill >>> >>> William Prothero, Ph.D. >>> University of California, Santa Barbara, Emeritus >>> prothero at earthednet.org >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 16 02:14:33 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 16 Sep 2016 09:14:33 +0300 Subject: Copying text from LC Script Editor In-Reply-To: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> Message-ID: Copying text from the script editor is problematic on more than one platform. Over here "in the wilds of Linux" it is not possible to copy-paste directly from the script editor into anything but a simple text editor. For instance; if I want to paste code from the script editor into Thunderbird (my e-mail client) I have to paste it into a text editor and then copy-paste from there into Thunderbird (a double bounce, so to say). The same sort of thing into a Libre Office document, and so on. Richmond. On 16.09.2016 03:01, Peter Bogdanoff wrote: > I?m noticing that with LiveCode 8, copying scripts from the Script Editor and pasting it into other applications on the Mac yields text that displays differently than pre-LC 8. > > Pasting it into Apple Mail puts it as double-spaced. Copying it from Mail puts it back into the Script Editor as double spaced: > > on mouseUp > > doThis > > thenDoThis > > followedByThis > > end mouseUp > > > Apple TextEdit is OK: > > on mouseUp > doThis > thenDoThis > followedByThis > end mouseUp > > Pasting it into Tex-Edit Plus yields a single line with feed characters. > > Is this worth making a fuss over? > > Peter Bogdanoff > UCLA > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Sep 16 04:50:14 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 09:50:14 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: Hi Randy, The version of Xcode you choose in [Preferences -> Mobile support] only decides which version of the iOS SDK will be used to *build* the iOS standalone app. In the Standalone Application Settings, you can choose the minimum iOS version you want your app to *run* in. So you set this option to "8.0 or later" Best regards, Panos -- On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst wrote: > Thank you Panos, I?ll get that going. > > One related question?. I?ve had a computer ?issue? and now only have Xcode > 7.3.1 on my machine? it only has SDK 9.3. > > I assume that will allow me to build for iOS 10? but will it building for > the iOS 7 or 8 series? > > If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been > searching without success. If I have to download other Xcode apps, can > someone point me to which one would allow me to build for at least iOS 8 > and beyond. > > Thanks in advance for the help. > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > > > On Sep 15, 2016, at 11:28 AM, panagiotis merakos > wrote: > > > > Hi Randy, > > > > This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed > in LC > > 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. > > > > Best, > > Panos > > -- > > > > On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst > wrote: > > > >> All, > >> > >> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to > be > >> that the apps don?t know they are ?landscape? only apps and open (and > only > >> display) in portrait? thus, cutting off part of the screen. All of the > apps > >> work fine in iOS 9.3.x > >> > >> And, in fact, landscape iPad apps build in 2014 (can?t remember which LC > >> version) work fine? it?s only the apps built in summer 2015 and summer > 2016. > >> > >> I thought I saw something about this on the list earlier, but can?t > locate > >> it now. > >> > >> Will 8.1.1 RC1 be stable enough to use to update apps? > >> > >> be well, > >> randy > >> > >> Randy Hengst > >> www.classroomFocusedSoftware.com > >> > >> > >> > >>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < > >> andrew at midwestcoastmedia.com> wrote: > >>> > >>> An app I just released for a customer has had the main functionality > >> (connect to a LiveCode Server using the SSL API from HostM) break in > iOS 10. > >>> > >>> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub > >> so I can figure out what's happening. > >>> > >>> Is there any documentation on how to do this or is it even possible? > I'm > >> not real familiar with github, but cloned the branch and got it > downloaded. > >> I know the release is planned for the next 5 days, and realize this > might > >> not even be worth my time. > >>> > >>> --Andrew Bell > >>> > >>> > >>>> From: Peter TB Brett > >>>> To: User List > >>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > >>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > >>>> Content-Type: text/plain; charset=utf-8; format=flowed > >>>> > >>>> Hi all, > >>>> > >>>> Since Xcode 8 GM is now available for download by members of the Apple > >>>> developer program, I thought it might be helpful to give you an update > >>>> on our plans for enabling LiveCode app deployment using Xcode 8. > >>>> > >>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 > release > >>>> > >>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > >>>> keep a copy of Xcode 7.3.1 around > >>>> > >>>> I currently expect that we'll release 8.1.1-rc-1 sometime between > >>>> 15th-20th September. > >>>> > >>>> Peter > >>>> > >>>> -- > >>>> Dr Peter Brett > >>>> LiveCode Technical Project Manager > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From charles at techstrategies.com.au Fri Sep 16 05:34:05 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 16 Sep 2016 19:34:05 +1000 Subject: tsNet Qs In-Reply-To: References: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> Message-ID: <69c10287-497d-25b8-1685-df54ffa241d3@techstrategies.com.au> Hi Matthias, On 16/09/2016 8:46 AM, Matthias Rebbe wrote: > And here?s a simple script > > > > put TRUE into pSettings["use_ssl"] > > -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- > > That is not quite correct. Secure SMTP comes in two flavours, SSL and TLS. If you are using SMTP over SSL, then you just need a URL starting with "smtps://" and you do not need the "use_ssl" setting. If you are using SMTP over TLS, then you need a URL that looks like "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to invoke TLS. I have taken the liberty to update Neil's LCMail stack with a few radio buttons, so that it generates the URL and adds the "use_ssl" setting only when appropriate. You can download it here: https://downloads.techstrategies.com.au/tsnet/LCMail.livecode As an aside, a similar concept applies when using FTPS in implicit or explicit mode: If you are using FTPS in implicit mode, then you just need a URL starting with "ftps://" and you do not need the "use_ssl" setting. If you are using FTPS in explicit mode, then you need a URL that starts with "ftp://" and you must use the "use_ssl" setting to invoke TLS. Regards, Charles > answer pResponseHeaders &return &tResult > > end mouseup > > > HTH, > > Matthias > >> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe : >> >> Hi Mark, >> >> i just tried it with the stack from Neil Roger which is available here >> http://techsupport.on-rev.com/LCMail.zip >> or an extended version, which includes also some FTP examples,here >> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >> >> Are you referring to that sample stack? >> >> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >> >> >> Matthias >> >> >> >>> Am 15.09.2016 um 23:29 schrieb Mark Clark : >>> >>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>> >>> thx, >>> mark c >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Fri Sep 16 05:50:45 2016 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 16 Sep 2016 10:50:45 +0100 Subject: How to stop LoveCode running in Edit mode Message-ID: Hi folks, Returning to LiveCode after some months away and am wondering why, in 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still firing when I switch to (or open a simple stack in) ?Edit/Pointer? mode. IIRC, code only used to run whilst in ?Run/Browse? mode. This is making development & debugging hard work - have I missed a new setting that I need to disable? Best, Keith.. From matthias_livecode_150811 at m-r-d.de Fri Sep 16 05:53:55 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 16 Sep 2016 11:53:55 +0200 Subject: tsNet Qs In-Reply-To: <69c10287-497d-25b8-1685-df54ffa241d3@techstrategies.com.au> References: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> <69c10287-497d-25b8-1685-df54ffa241d3@techstrategies.com.au> Message-ID: <3A337B38-69DF-4027-8886-FF0E1A717C0C@m-r-d.de> Hi Charles, thanks you very much for clarifying. I will adjust my demo stack at my Dropbox also asap. But there you can see: Your external is so powerful, but w/o useful sample scripts it?s very difficult to learn how to use the tsNet commands/functions directly. Regards, Matthias > Am 16.09.2016 um 11:34 schrieb Charles Warwick : > > Hi Matthias, > > On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >> And here?s a simple script >> >> >> >> put TRUE into pSettings["use_ssl"] >> >> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >> >> > That is not quite correct. > > Secure SMTP comes in two flavours, SSL and TLS. > > If you are using SMTP over SSL, then you just need a URL starting with "smtps://" and you do not need the "use_ssl" setting. > If you are using SMTP over TLS, then you need a URL that looks like "smtp://mail.mydomain.com:587 " and you must use the "use_ssl" setting to invoke TLS. > > I have taken the liberty to update Neil's LCMail stack with a few radio buttons, so that it generates the URL and adds the "use_ssl" setting only when appropriate. You can download it here: > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > As an aside, a similar concept applies when using FTPS in implicit or explicit mode: > > If you are using FTPS in implicit mode, then you just need a URL starting with "ftps://" and you do not need the "use_ssl" setting. > If you are using FTPS in explicit mode, then you need a URL that starts with "ftp://" and you must use the "use_ssl" setting to invoke TLS. > > Regards, > > Charles > > > >> answer pResponseHeaders &return &tResult >> >> end mouseup >> >> >> HTH, >> >> Matthias >> >>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe : >>> >>> Hi Mark, >>> >>> i just tried it with the stack from Neil Roger which is available here >>> http://techsupport.on-rev.com/LCMail.zip >>> or an extended version, which includes also some FTP examples,here >>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >>> >>> Are you referring to that sample stack? >>> >>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>> >>> >>> Matthias >>> >>> >>> >>>> Am 15.09.2016 um 23:29 schrieb Mark Clark : >>>> >>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>> >>>> thx, >>>> mark c >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Fri Sep 16 05:55:11 2016 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 16 Sep 2016 10:55:11 +0100 Subject: How to stop LoveCode running in Edit mode In-Reply-To: References: Message-ID: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> ?and sorry about the ?LoveCode? typo - a Freudian slip, or just absence making the heart grow fonder, perhaps! :-) Best, Keith.. > On 16 Sep 2016, at 10:50, Keith Clarke wrote: > > Hi folks, > Returning to LiveCode after some months away and am wondering why, in 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still firing when I switch to (or open a simple stack in) ?Edit/Pointer? mode. > > IIRC, code only used to run whilst in ?Run/Browse? mode. This is making development & debugging hard work - have I missed a new setting that I need to disable? > Best, > Keith.. From charles at techstrategies.com.au Fri Sep 16 06:27:34 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 16 Sep 2016 20:27:34 +1000 Subject: tsNet Qs In-Reply-To: <3A337B38-69DF-4027-8886-FF0E1A717C0C@m-r-d.de> References: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> <69c10287-497d-25b8-1685-df54ffa241d3@techstrategies.com.au> <3A337B38-69DF-4027-8886-FF0E1A717C0C@m-r-d.de> Message-ID: <561be6a2-8cfd-b66e-4975-8fa9907f38e4@techstrategies.com.au> Hi Matthias, I agree, it really needs a lot more documentation and examples. That is something I am working on. Feel free to send me any suggestions or feedback on the existing scripts and documentation, it is more than welcome! Regards, Charles On 16/09/2016 7:53 PM, Matthias Rebbe wrote: > Hi Charles, > > thanks you very much for clarifying. I will adjust my demo stack at my Dropbox also asap. > > But there you can see: > Your external is so powerful, but w/o useful sample scripts it?s very difficult to learn how to use the tsNet commands/functions directly. > > Regards, > > > Matthias > > > >> Am 16.09.2016 um 11:34 schrieb Charles Warwick : >> >> Hi Matthias, >> >> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>> And here?s a simple script >>> >>> >>> >>> put TRUE into pSettings["use_ssl"] >>> >>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>> >>> >> That is not quite correct. >> >> Secure SMTP comes in two flavours, SSL and TLS. >> >> If you are using SMTP over SSL, then you just need a URL starting with "smtps://" and you do not need the "use_ssl" setting. >> If you are using SMTP over TLS, then you need a URL that looks like "smtp://mail.mydomain.com:587 " and you must use the "use_ssl" setting to invoke TLS. >> >> I have taken the liberty to update Neil's LCMail stack with a few radio buttons, so that it generates the URL and adds the "use_ssl" setting only when appropriate. You can download it here: >> >> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >> >> As an aside, a similar concept applies when using FTPS in implicit or explicit mode: >> >> If you are using FTPS in implicit mode, then you just need a URL starting with "ftps://" and you do not need the "use_ssl" setting. >> If you are using FTPS in explicit mode, then you need a URL that starts with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >> >> Regards, >> >> Charles >> >> >> >>> answer pResponseHeaders &return &tResult >>> >>> end mouseup >>> >>> >>> HTH, >>> >>> Matthias >>> >>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe : >>>> >>>> Hi Mark, >>>> >>>> i just tried it with the stack from Neil Roger which is available here >>>> http://techsupport.on-rev.com/LCMail.zip >>>> or an extended version, which includes also some FTP examples,here >>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >>>> >>>> Are you referring to that sample stack? >>>> >>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>> >>>> >>>> Matthias >>>> >>>> >>>> >>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark : >>>>> >>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>> >>>>> thx, >>>>> mark c >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Fri Sep 16 06:57:01 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 16 Sep 2016 11:57:01 +0100 Subject: tsNet Qs Message-ID: Thanks for your help with this Charles and others Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) I have a question to ask though, is it possible to include an attachment with the email? Dave > Hi Matthias, > > On 16/09/2016 8:46 AM, Matthias Rebbe wrote: > > And here?s a simple script > > > > > > > > put TRUE into pSettings["use_ssl"] > > > > -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- > > > > > That is not quite correct. > > Secure SMTP comes in two flavours, SSL and TLS. > > If you are using SMTP over SSL, then you just need a URL starting with > "smtps://" and you do not need the "use_ssl" setting. > If you are using SMTP over TLS, then you need a URL that looks like > "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to > invoke TLS. > > I have taken the liberty to update Neil's LCMail stack with a few radio > buttons, so that it generates the URL and adds the "use_ssl" setting > only when appropriate. You can download it here: > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > As an aside, a similar concept applies when using FTPS in implicit or > explicit mode: > > If you are using FTPS in implicit mode, then you just need a URL > starting with "ftps://" and you do not need the "use_ssl" setting. > If you are using FTPS in explicit mode, then you need a URL that starts > with "ftp://" and you must use the "use_ssl" setting to invoke TLS. > > Regards, > > Charles > > > > > answer pResponseHeaders &return &tResult > > > > end mouseup > > > > > > HTH, > > > > Matthias > > > >> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: > >> > >> Hi Mark, > >> > >> i just tried it with the stack from Neil Roger which is available here > >> http://techsupport.on-rev.com/LCMail.zip > > >> or an extended version, which includes also some FTP examples,here > >> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > >> > >> Are you referring to that sample stack? > >> > >> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. > >> > >> > >> Matthias > >> > >> > >> > >>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: > >>> > >>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). > >>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? > >>> > >>> thx, > >>> mark c > >>> _______________________________________________ > >>> use-livecode mailing list > >>> [hidden email] > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> [hidden email] > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > [hidden email] > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > ... [show rest of quote <>] From matthias_livecode_150811 at m-r-d.de Fri Sep 16 07:23:28 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 16 Sep 2016 13:23:28 +0200 Subject: tsNet Qs In-Reply-To: References: Message-ID: Dave, as far is i know even with tsNet you have to base64encode the attachments and include them into the message body. At http://lessons.livecode.com/m/4070/l/8184-sending-emails-from-livecode-server-scripts under ?Adding Attachments" you will find some useful information how this can be done. Matthias > Am 16.09.2016 um 12:57 schrieb Dave Kilroy : > > Thanks for your help with this Charles and others > > Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary > > I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) > > I have a question to ask though, is it possible to include an attachment with the email? > > Dave > > > > >> Hi Matthias, >> >> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>> And here?s a simple script >>> >>> >>> >>> put TRUE into pSettings["use_ssl"] >>> >>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>> >>> >> That is not quite correct. >> >> Secure SMTP comes in two flavours, SSL and TLS. >> >> If you are using SMTP over SSL, then you just need a URL starting with >> "smtps://" and you do not need the "use_ssl" setting. >> If you are using SMTP over TLS, then you need a URL that looks like >> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to >> invoke TLS. >> >> I have taken the liberty to update Neil's LCMail stack with a few radio >> buttons, so that it generates the URL and adds the "use_ssl" setting >> only when appropriate. You can download it here: >> >> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >> >> As an aside, a similar concept applies when using FTPS in implicit or >> explicit mode: >> >> If you are using FTPS in implicit mode, then you just need a URL >> starting with "ftps://" and you do not need the "use_ssl" setting. >> If you are using FTPS in explicit mode, then you need a URL that starts >> with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >> >> Regards, >> >> Charles >> >> >> >>> answer pResponseHeaders &return &tResult >>> >>> end mouseup >>> >>> >>> HTH, >>> >>> Matthias >>> >>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: >>>> >>>> Hi Mark, >>>> >>>> i just tried it with the stack from Neil Roger which is available here >>>> http://techsupport.on-rev.com/LCMail.zip > >>>> or an extended version, which includes also some FTP examples,here >>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > >>>> >>>> Are you referring to that sample stack? >>>> >>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>> >>>> >>>> Matthias >>>> >>>> >>>> >>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: >>>>> >>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>> >>>>> thx, >>>>> mark c >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> [hidden email] >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> [hidden email] >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> [hidden email] >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> ... [show rest of quote <>] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Fri Sep 16 07:24:32 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 16 Sep 2016 21:24:32 +1000 Subject: tsNet Qs In-Reply-To: References: Message-ID: <0b318c11-1353-0efd-b563-edb4b50a3dc1@techstrategies.com.au> Hi Dave, Yes, you can include attachments in an e-mail. The pData parameter to the tsNetSmtp* commands is the raw e-mail message that you wish to send, complete with e-mail headers. So to send an attachment, you need to build the e-mail as a multi-part MIME message. I have just updated the LCMail stack (thanks to Neil and Matthias for that stack) to add an attachment when you click the "send" button. It is at the same URL as before: https://downloads.techstrategies.com.au/tsnet/LCMail.livecode Cheers, Charles On 16/09/2016 8:57 PM, Dave Kilroy wrote: > Thanks for your help with this Charles and others > > Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary > > I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) > > I have a question to ask though, is it possible to include an attachment with the email? > > Dave > > > > >> Hi Matthias, >> >> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>> And here?s a simple script >>> >>> >>> >>> put TRUE into pSettings["use_ssl"] >>> >>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>> >>> >> That is not quite correct. >> >> Secure SMTP comes in two flavours, SSL and TLS. >> >> If you are using SMTP over SSL, then you just need a URL starting with >> "smtps://" and you do not need the "use_ssl" setting. >> If you are using SMTP over TLS, then you need a URL that looks like >> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to >> invoke TLS. >> >> I have taken the liberty to update Neil's LCMail stack with a few radio >> buttons, so that it generates the URL and adds the "use_ssl" setting >> only when appropriate. You can download it here: >> >> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >> >> As an aside, a similar concept applies when using FTPS in implicit or >> explicit mode: >> >> If you are using FTPS in implicit mode, then you just need a URL >> starting with "ftps://" and you do not need the "use_ssl" setting. >> If you are using FTPS in explicit mode, then you need a URL that starts >> with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >> >> Regards, >> >> Charles >> >> >> >>> answer pResponseHeaders &return &tResult >>> >>> end mouseup >>> >>> >>> HTH, >>> >>> Matthias >>> >>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: >>>> >>>> Hi Mark, >>>> >>>> i just tried it with the stack from Neil Roger which is available here >>>> http://techsupport.on-rev.com/LCMail.zip > >>>> or an extended version, which includes also some FTP examples,here >>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > >>>> >>>> Are you referring to that sample stack? >>>> >>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>> >>>> >>>> Matthias >>>> >>>> >>>> >>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: >>>>> >>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>> >>>>> thx, >>>>> mark c >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> [hidden email] >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> [hidden email] >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> [hidden email] >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> ... [show rest of quote <>] > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skiplondon at gmail.com Fri Sep 16 07:26:12 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 16 Sep 2016 06:26:12 -0500 Subject: tsNet Qs In-Reply-To: <561be6a2-8cfd-b66e-4975-8fa9907f38e4@techstrategies.com.au> References: <1CC75286-F39A-4778-998E-54E5CC999E18@m-r-d.de> <69c10287-497d-25b8-1685-df54ffa241d3@techstrategies.com.au> <3A337B38-69DF-4027-8886-FF0E1A717C0C@m-r-d.de> <561be6a2-8cfd-b66e-4975-8fa9907f38e4@techstrategies.com.au> Message-ID: Thank you so much for working on additional samples. These are critical features many of us have wanted for a long time. I was excited the other day when it was announced, immediately launched LC to "play" only to realize I didn't know enough, didn't have enough documentation and had no examples to work from. Anything you can do to assist would be greatly helpful for all. My particular interest are SMTP and SFTP. Regards, SKIP > On Sep 16, 2016, at 5:27 AM, Charles Warwick wrote: > > Hi Matthias, > > I agree, it really needs a lot more documentation and examples. > > That is something I am working on. Feel free to send me any suggestions or feedback on the existing scripts and documentation, it is more than welcome! > > Regards, > > Charles > > >> On 16/09/2016 7:53 PM, Matthias Rebbe wrote: >> Hi Charles, >> >> thanks you very much for clarifying. I will adjust my demo stack at my Dropbox also asap. >> >> But there you can see: >> Your external is so powerful, but w/o useful sample scripts it?s very difficult to learn how to use the tsNet commands/functions directly. >> >> Regards, >> >> >> Matthias >> >> >> >>> Am 16.09.2016 um 11:34 schrieb Charles Warwick : >>> >>> Hi Matthias, >>> >>>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>>> And here?s a simple script >>>> >>>> >>>> >>>> put TRUE into pSettings["use_ssl"] >>>> >>>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>> That is not quite correct. >>> >>> Secure SMTP comes in two flavours, SSL and TLS. >>> >>> If you are using SMTP over SSL, then you just need a URL starting with "smtps://" and you do not need the "use_ssl" setting. >>> If you are using SMTP over TLS, then you need a URL that looks like "smtp://mail.mydomain.com:587 " and you must use the "use_ssl" setting to invoke TLS. >>> >>> I have taken the liberty to update Neil's LCMail stack with a few radio buttons, so that it generates the URL and adds the "use_ssl" setting only when appropriate. You can download it here: >>> >>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >>> >>> As an aside, a similar concept applies when using FTPS in implicit or explicit mode: >>> >>> If you are using FTPS in implicit mode, then you just need a URL starting with "ftps://" and you do not need the "use_ssl" setting. >>> If you are using FTPS in explicit mode, then you need a URL that starts with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >>> >>> Regards, >>> >>> Charles >>> >>> >>> >>>> answer pResponseHeaders &return &tResult >>>> >>>> end mouseup >>>> >>>> >>>> HTH, >>>> >>>> Matthias >>>> >>>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe : >>>>> >>>>> Hi Mark, >>>>> >>>>> i just tried it with the stack from Neil Roger which is available here >>>>> http://techsupport.on-rev.com/LCMail.zip >>>>> or an extended version, which includes also some FTP examples,here >>>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >>>>> >>>>> Are you referring to that sample stack? >>>>> >>>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>>> >>>>> >>>>> Matthias >>>>> >>>>> >>>>> >>>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark : >>>>>> >>>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>>> >>>>>> thx, >>>>>> mark c >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Sep 16 07:41:05 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 16 Sep 2016 13:41:05 +0200 Subject: tsNet Qs In-Reply-To: <0b318c11-1353-0efd-b563-edb4b50a3dc1@techstrategies.com.au> References: <0b318c11-1353-0efd-b563-edb4b50a3dc1@techstrategies.com.au> Message-ID: <38C9C65C-3BAF-45BE-8DD5-3BF6C8C8FDBA@m-r-d.de> Hi, i have now upgraded my demo stack with Charles corrections and additions. The stack includes smtp and ftp samples. https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html @Charles If you want, you can use that stack for further modifications and extend it with further examples. Regards, Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 16.09.2016 um 13:24 schrieb Charles Warwick >: > > Hi Dave, > > Yes, you can include attachments in an e-mail. > > The pData parameter to the tsNetSmtp* commands is the raw e-mail message that you wish to send, complete with e-mail headers. > > So to send an attachment, you need to build the e-mail as a multi-part MIME message. > > I have just updated the LCMail stack (thanks to Neil and Matthias for that stack) to add an attachment when you click the "send" button. > > It is at the same URL as before: > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > Cheers, > > Charles > > > On 16/09/2016 8:57 PM, Dave Kilroy wrote: >> Thanks for your help with this Charles and others >> >> Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary >> >> I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) >> >> I have a question to ask though, is it possible to include an attachment with the email? >> >> Dave >> >> >> >> >>> Hi Matthias, >>> >>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>>> And here?s a simple script >>>> >>>> >>>> >>>> put TRUE into pSettings["use_ssl"] >>>> >>>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>>> >>>> >>> That is not quite correct. >>> >>> Secure SMTP comes in two flavours, SSL and TLS. >>> >>> If you are using SMTP over SSL, then you just need a URL starting with >>> "smtps://" and you do not need the "use_ssl" setting. >>> If you are using SMTP over TLS, then you need a URL that looks like >>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to >>> invoke TLS. >>> >>> I have taken the liberty to update Neil's LCMail stack with a few radio >>> buttons, so that it generates the URL and adds the "use_ssl" setting >>> only when appropriate. You can download it here: >>> >>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >>> >>> As an aside, a similar concept applies when using FTPS in implicit or >>> explicit mode: >>> >>> If you are using FTPS in implicit mode, then you just need a URL >>> starting with "ftps://" and you do not need the "use_ssl" setting. >>> If you are using FTPS in explicit mode, then you need a URL that starts >>> with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >>> >>> Regards, >>> >>> Charles >>> >>> >>> >>>> answer pResponseHeaders &return &tResult >>>> >>>> end mouseup >>>> >>>> >>>> HTH, >>>> >>>> Matthias >>>> >>>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: >>>>> >>>>> Hi Mark, >>>>> >>>>> i just tried it with the stack from Neil Roger which is available here >>>>> http://techsupport.on-rev.com/LCMail.zip > >>>>> or an extended version, which includes also some FTP examples,here >>>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > >>>>> >>>>> Are you referring to that sample stack? >>>>> >>>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>>> >>>>> >>>>> Matthias >>>>> >>>>> >>>>> >>>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: >>>>>> >>>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>>> >>>>>> thx, >>>>>> mark c >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> [hidden email] >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> [hidden email] >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> [hidden email] >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> ... [show rest of quote <>] >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 From monte at appisle.net Fri Sep 16 07:46:19 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 16 Sep 2016 21:46:19 +1000 Subject: Maintain Order in JSON Import In-Reply-To: References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> Message-ID: <2623371C-3A89-40A0-AC15-C9529A4244BD@appisle.net> > On 15 Sep 2016, at 12:22 PM, Roger Eller wrote: > > Sweet! Can this external be used in a Windows standalone? It supports all of LiveCode?s platforms and is dual licensed for community users too. Cheers Monte From skiplondon at gmail.com Fri Sep 16 08:03:04 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 16 Sep 2016 07:03:04 -0500 Subject: tsNet Qs In-Reply-To: <38C9C65C-3BAF-45BE-8DD5-3BF6C8C8FDBA@m-r-d.de> References: <0b318c11-1353-0efd-b563-edb4b50a3dc1@techstrategies.com.au> <38C9C65C-3BAF-45BE-8DD5-3BF6C8C8FDBA@m-r-d.de> Message-ID: Can't wait to check it out.. Thank you! > On Sep 16, 2016, at 6:41 AM, Matthias Rebbe wrote: > > Hi, > > i have now upgraded my demo stack with Charles corrections and additions. > The stack includes smtp and ftp samples. > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > > @Charles > If you want, you can use that stack for further modifications and extend it with further examples. > > Regards, > > Matthias > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 >> Am 16.09.2016 um 13:24 schrieb Charles Warwick >: >> >> Hi Dave, >> >> Yes, you can include attachments in an e-mail. >> >> The pData parameter to the tsNetSmtp* commands is the raw e-mail message that you wish to send, complete with e-mail headers. >> >> So to send an attachment, you need to build the e-mail as a multi-part MIME message. >> >> I have just updated the LCMail stack (thanks to Neil and Matthias for that stack) to add an attachment when you click the "send" button. >> >> It is at the same URL as before: >> >> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >> >> Cheers, >> >> Charles >> >> >>> On 16/09/2016 8:57 PM, Dave Kilroy wrote: >>> Thanks for your help with this Charles and others >>> >>> Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary >>> >>> I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) >>> >>> I have a question to ask though, is it possible to include an attachment with the email? >>> >>> Dave >>> >>> >>> >>> >>>> Hi Matthias, >>>> >>>>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>>>> And here?s a simple script >>>>> >>>>> >>>>> >>>>> put TRUE into pSettings["use_ssl"] >>>>> >>>>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>>> That is not quite correct. >>>> >>>> Secure SMTP comes in two flavours, SSL and TLS. >>>> >>>> If you are using SMTP over SSL, then you just need a URL starting with >>>> "smtps://" and you do not need the "use_ssl" setting. >>>> If you are using SMTP over TLS, then you need a URL that looks like >>>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to >>>> invoke TLS. >>>> >>>> I have taken the liberty to update Neil's LCMail stack with a few radio >>>> buttons, so that it generates the URL and adds the "use_ssl" setting >>>> only when appropriate. You can download it here: >>>> >>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >>>> >>>> As an aside, a similar concept applies when using FTPS in implicit or >>>> explicit mode: >>>> >>>> If you are using FTPS in implicit mode, then you just need a URL >>>> starting with "ftps://" and you do not need the "use_ssl" setting. >>>> If you are using FTPS in explicit mode, then you need a URL that starts >>>> with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >>>> >>>> Regards, >>>> >>>> Charles >>>> >>>> >>>> >>>>> answer pResponseHeaders &return &tResult >>>>> >>>>> end mouseup >>>>> >>>>> >>>>> HTH, >>>>> >>>>> Matthias >>>>> >>>>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: >>>>>> >>>>>> Hi Mark, >>>>>> >>>>>> i just tried it with the stack from Neil Roger which is available here >>>>>> http://techsupport.on-rev.com/LCMail.zip > >>>>>> or an extended version, which includes also some FTP examples,here >>>>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > >>>>>> >>>>>> Are you referring to that sample stack? >>>>>> >>>>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>>>> >>>>>> >>>>>> Matthias >>>>>> >>>>>> >>>>>> >>>>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: >>>>>>> >>>>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>>>> >>>>>>> thx, >>>>>>> mark c >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> [hidden email] >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> [hidden email] >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> [hidden email] >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> ... [show rest of quote <>] >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ckelly5430 at gmail.com Fri Sep 16 08:06:56 2016 From: ckelly5430 at gmail.com (Colin.Kelly) Date: Fri, 16 Sep 2016 13:06:56 +0100 Subject: tsNet Qs In-Reply-To: <38C9C65C-3BAF-45BE-8DD5-3BF6C8C8FDBA@m-r-d.de> References: <0b318c11-1353-0efd-b563-edb4b50a3dc1@techstrategies.com.au> <38C9C65C-3BAF-45BE-8DD5-3BF6C8C8FDBA@m-r-d.de> Message-ID: <82E8DA49-F56B-4C84-B8C6-8513ED49DC06@gmail.com> Hi, The stack works fine on my mac but on Windows 10 I get the Error: ?Error tsnetterr (6) could not resolve host: office365.com. returned from server? Any ideas? On 16/09/2016, 12:41, "use-livecode on behalf of Matthias Rebbe" wrote: Hi, i have now upgraded my demo stack with Charles corrections and additions. The stack includes smtp and ftp samples. https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html @Charles If you want, you can use that stack for further modifications and extend it with further examples. Regards, Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 16.09.2016 um 13:24 schrieb Charles Warwick >: > > Hi Dave, > > Yes, you can include attachments in an e-mail. > > The pData parameter to the tsNetSmtp* commands is the raw e-mail message that you wish to send, complete with e-mail headers. > > So to send an attachment, you need to build the e-mail as a multi-part MIME message. > > I have just updated the LCMail stack (thanks to Neil and Matthias for that stack) to add an attachment when you click the "send" button. > > It is at the same URL as before: > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > Cheers, > > Charles > > > On 16/09/2016 8:57 PM, Dave Kilroy wrote: >> Thanks for your help with this Charles and others >> >> Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary >> >> I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) >> >> I have a question to ask though, is it possible to include an attachment with the email? >> >> Dave >> >> >> >> >>> Hi Matthias, >>> >>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: >>>> And here?s a simple script >>>> >>>> >>>> >>>> put TRUE into pSettings["use_ssl"] >>>> >>>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- >>>> >>>> >>> That is not quite correct. >>> >>> Secure SMTP comes in two flavours, SSL and TLS. >>> >>> If you are using SMTP over SSL, then you just need a URL starting with >>> "smtps://" and you do not need the "use_ssl" setting. >>> If you are using SMTP over TLS, then you need a URL that looks like >>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to >>> invoke TLS. >>> >>> I have taken the liberty to update Neil's LCMail stack with a few radio >>> buttons, so that it generates the URL and adds the "use_ssl" setting >>> only when appropriate. You can download it here: >>> >>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >>> >>> As an aside, a similar concept applies when using FTPS in implicit or >>> explicit mode: >>> >>> If you are using FTPS in implicit mode, then you just need a URL >>> starting with "ftps://" and you do not need the "use_ssl" setting. >>> If you are using FTPS in explicit mode, then you need a URL that starts >>> with "ftp://" and you must use the "use_ssl" setting to invoke TLS. >>> >>> Regards, >>> >>> Charles >>> >>> >>> >>>> answer pResponseHeaders &return &tResult >>>> >>>> end mouseup >>>> >>>> >>>> HTH, >>>> >>>> Matthias >>>> >>>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: >>>>> >>>>> Hi Mark, >>>>> >>>>> i just tried it with the stack from Neil Roger which is available here >>>>> http://techsupport.on-rev.com/LCMail.zip > >>>>> or an extended version, which includes also some FTP examples,here >>>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > >>>>> >>>>> Are you referring to that sample stack? >>>>> >>>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. >>>>> >>>>> >>>>> Matthias >>>>> >>>>> >>>>> >>>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: >>>>>> >>>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). >>>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? >>>>>> >>>>>> thx, >>>>>> mark c >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> [hidden email] >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> [hidden email] >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> [hidden email] >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> ... [show rest of quote <>] >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Fri Sep 16 08:10:42 2016 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 16 Sep 2016 13:10:42 +0100 Subject: error building for iOS with LiveCode 8.1 Message-ID: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> Hi folks due to the right hand edge black bar problems with landscape apps under iOS 10 I?m currently trying to build new versions of my LiveCode iOS apps. The first one I?ve tried to build is generating build errors - ?linking for arm (arm64) failed with a duplicate symbol l001 in: /Applications/LiveCode Indy? - followed by lots of errors relating to revpdfprinter, Standalone and one to revzip. Anyone got any suggestions as to how to fix it? In fact an app is generated at the end of the standalone building process, but it is incomplete. Loading it onto an iPad via Xcode leads to the error that it ?doesn?t contain a valid info.plist?. -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From merakosp at gmail.com Fri Sep 16 08:19:14 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 13:19:14 +0100 Subject: error building for iOS with LiveCode 8.1 In-Reply-To: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> References: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> Message-ID: Hi Phil, IIRC I used to get similar errors just *the very first time* I tried to create an ios standalone. Do you get this error *always* when trying to build an ios standalone? Best, Panos -- On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson wrote: > Hi folks > due to the right hand edge black bar problems with landscape apps under > iOS 10 I?m currently trying to build new versions of my LiveCode iOS apps. > The first one I?ve tried to build is generating build errors - ?linking for > arm (arm64) failed with a duplicate symbol l001 in: /Applications/LiveCode > Indy? - followed by lots of errors relating to revpdfprinter, Standalone > and one to revzip. Anyone got any suggestions as to how to fix it? > > In fact an app is generated at the end of the standalone building process, > but it is incomplete. Loading it onto an iPad via Xcode leads to the error > that it ?doesn?t contain a valid info.plist?. > > -- > Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 > 983164 > Computer Science Dept., Liverpool University, Ashton Building, Ashton > Street > Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Fri Sep 16 08:24:06 2016 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 16 Sep 2016 13:24:06 +0100 Subject: error building for iOS with LiveCode 8.1 In-Reply-To: References: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> Message-ID: <7AC48BE8-93B2-4559-BB09-993425A18BF3@liverpool.ac.uk> Hi Panos, yes. I?ve tried three times now. I initially targeted 7.1 or later, but have now selected 8.0 and 8.1 - but I still get the error. > On 16 Sep 2016, at 13:19, panagiotis merakos wrote: > > Hi Phil, > > IIRC I used to get similar errors just *the very first time* I tried to > create an ios standalone. Do you get this error *always* when trying to > build an ios standalone? > > Best, > Panos > -- > > On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson > wrote: > >> Hi folks >> due to the right hand edge black bar problems with landscape apps under >> iOS 10 I?m currently trying to build new versions of my LiveCode iOS apps. >> The first one I?ve tried to build is generating build errors - ?linking for >> arm (arm64) failed with a duplicate symbol l001 in: /Applications/LiveCode >> Indy? - followed by lots of errors relating to revpdfprinter, Standalone >> and one to revzip. Anyone got any suggestions as to how to fix it? >> >> In fact an app is generated at the end of the standalone building process, >> but it is incomplete. Loading it onto an iPad via Xcode leads to the error >> that it ?doesn?t contain a valid info.plist?. >> >> -- >> Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 >> 983164 >> Computer Science Dept., Liverpool University, Ashton Building, Ashton >> Street >> Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ >> I used to sit on a special medical board... ...but now I use this ointment. >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From merakosp at gmail.com Fri Sep 16 08:29:53 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 13:29:53 +0100 Subject: error building for iOS with LiveCode 8.1 In-Reply-To: <7AC48BE8-93B2-4559-BB09-993425A18BF3@liverpool.ac.uk> References: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> <7AC48BE8-93B2-4559-BB09-993425A18BF3@liverpool.ac.uk> Message-ID: Ok, I suggest you file a bug at quality.livecode.com and attach your sample stack so as we can investigate this further. Or send the stack to panos.merakos at livecode.com if it is confidential. BTW could you please first check if you get this error with *any* stack? Or does it happen with just this particular stack? Best, Panos -- On Fri, Sep 16, 2016 at 1:24 PM, Phil Jimmieson wrote: > Hi Panos, > yes. I?ve tried three times now. I initially targeted 7.1 or later, but > have now selected 8.0 and 8.1 - but I still get the error. > > On 16 Sep 2016, at 13:19, panagiotis merakos wrote: > > > > Hi Phil, > > > > IIRC I used to get similar errors just *the very first time* I tried to > > create an ios standalone. Do you get this error *always* when trying to > > build an ios standalone? > > > > Best, > > Panos > > -- > > > > On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson > > wrote: > > > >> Hi folks > >> due to the right hand edge black bar problems with landscape apps under > >> iOS 10 I?m currently trying to build new versions of my LiveCode iOS > apps. > >> The first one I?ve tried to build is generating build errors - ?linking > for > >> arm (arm64) failed with a duplicate symbol l001 in: > /Applications/LiveCode > >> Indy? - followed by lots of errors relating to revpdfprinter, Standalone > >> and one to revzip. Anyone got any suggestions as to how to fix it? > >> > >> In fact an app is generated at the end of the standalone building > process, > >> but it is incomplete. Loading it onto an iPad via Xcode leads to the > error > >> that it ?doesn?t contain a valid info.plist?. > >> > >> -- > >> Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) > 07976 > >> 983164 > >> Computer Science Dept., Liverpool University, Ashton Building, Ashton > >> Street > >> Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ > >> I used to sit on a special medical board... ...but now I use this > ointment. > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 > 983164 > Computer Science Dept., Liverpool University, Ashton Building, Ashton > Street > Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Fri Sep 16 08:41:00 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 16 Sep 2016 13:41:00 +0100 Subject: tsNet Qs Message-ID: It works like a dream! Thank you all, this thread has been really helpful to me - I now know so much more about emails than I did before (which wasn?t hard considering what I knew before) Kind regards Dave > Hi Dave, > > Yes, you can include attachments in an e-mail. > > The pData parameter to the tsNetSmtp* commands is the raw e-mail message > that you wish to send, complete with e-mail headers. > > So to send an attachment, you need to build the e-mail as a multi-part > MIME message. > > I have just updated the LCMail stack (thanks to Neil and Matthias for > that stack) to add an attachment when you click the "send" button. > > It is at the same URL as before: > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > Cheers, > > Charles > From iowahengst at mac.com Fri Sep 16 08:45:00 2016 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 16 Sep 2016 07:45:00 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: Hi Panos, Well, your response is consistent with what I thought I knew? but, when I tried to build a standalone with the minimum iOS version set to 8.0, I received the error message build on the build? there is no error message when I build for 9.3. And, when I build for 9.3 I can load the app on an iPad running iOS 10. ?linking for arm (arm64) failed with Id: warning: Id: warning: object file (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r0000gn/T/TemporaryItems/tmp.81721.zat*Cbeal) was build for new iOS version (9.3) than being linked (8.0)object file (/Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for newer iOS version ) (9.3) than being linked (8.0) I tried to make sense of the error message and set the build for 8.1 and later? when I set to build for 8.1 later, things work fine? I assume that has something to to do with the part of message: (/Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) I see Phil Jimmieson also noted a similar arm64 error? Phil? is your message like mine? What do you see that corresponds to the point in the error message ?8.1.0.app?? Thoughts anyone? be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Sep 16, 2016, at 3:50 AM, panagiotis merakos wrote: > > Hi Randy, > > The version of Xcode you choose in [Preferences -> Mobile support] only > decides which version of the iOS SDK will be used to *build* the iOS > standalone app. > > In the Standalone Application Settings, you can choose the minimum iOS > version you want your app to *run* in. > > So you set this option to "8.0 or later" > > Best regards, > Panos > -- > > On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst wrote: > >> Thank you Panos, I?ll get that going. >> >> One related question?. I?ve had a computer ?issue? and now only have Xcode >> 7.3.1 on my machine? it only has SDK 9.3. >> >> I assume that will allow me to build for iOS 10? but will it building for >> the iOS 7 or 8 series? >> >> If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been >> searching without success. If I have to download other Xcode apps, can >> someone point me to which one would allow me to build for at least iOS 8 >> and beyond. >> >> Thanks in advance for the help. >> >> be well, >> randy >> >> Randy Hengst >> www.classroomFocusedSoftware.com >> >> >> >>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos >> wrote: >>> >>> Hi Randy, >>> >>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed >> in LC >>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. >>> >>> Best, >>> Panos >>> -- >>> >>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst >> wrote: >>> >>>> All, >>>> >>>> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to >> be >>>> that the apps don?t know they are ?landscape? only apps and open (and >> only >>>> display) in portrait? thus, cutting off part of the screen. All of the >> apps >>>> work fine in iOS 9.3.x >>>> >>>> And, in fact, landscape iPad apps build in 2014 (can?t remember which LC >>>> version) work fine? it?s only the apps built in summer 2015 and summer >> 2016. >>>> >>>> I thought I saw something about this on the list earlier, but can?t >> locate >>>> it now. >>>> >>>> Will 8.1.1 RC1 be stable enough to use to update apps? >>>> >>>> be well, >>>> randy >>>> >>>> Randy Hengst >>>> www.classroomFocusedSoftware.com >>>> >>>> >>>> >>>>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < >>>> andrew at midwestcoastmedia.com> wrote: >>>>> >>>>> An app I just released for a customer has had the main functionality >>>> (connect to a LiveCode Server using the SSL API from HostM) break in >> iOS 10. >>>>> >>>>> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub >>>> so I can figure out what's happening. >>>>> >>>>> Is there any documentation on how to do this or is it even possible? >> I'm >>>> not real familiar with github, but cloned the branch and got it >> downloaded. >>>> I know the release is planned for the next 5 days, and realize this >> might >>>> not even be worth my time. >>>>> >>>>> --Andrew Bell >>>>> >>>>> >>>>>> From: Peter TB Brett >>>>>> To: User List >>>>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 >>>>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> >>>>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>>>> >>>>>> Hi all, >>>>>> >>>>>> Since Xcode 8 GM is now available for download by members of the Apple >>>>>> developer program, I thought it might be helpful to give you an update >>>>>> on our plans for enabling LiveCode app deployment using Xcode 8. >>>>>> >>>>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 >> release >>>>>> >>>>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >>>>>> keep a copy of Xcode 7.3.1 around >>>>>> >>>>>> I currently expect that we'll release 8.1.1-rc-1 sometime between >>>>>> 15th-20th September. >>>>>> >>>>>> Peter >>>>>> >>>>>> -- >>>>>> Dr Peter Brett >>>>>> LiveCode Technical Project Manager >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Fri Sep 16 08:53:04 2016 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 16 Sep 2016 13:53:04 +0100 Subject: error building for iOS with LiveCode 8.1 In-Reply-To: References: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> <7AC48BE8-93B2-4559-BB09-993425A18BF3@liverpool.ac.uk> Message-ID: Hi Panos, thanks. I?ll send you a dropbox link to the stack and supporting material. I don?t think our email system will let me send more than a couple of megabytes? Bug reported has been submitted. http://quality.livecode.com/show_bug.cgi?id=18416 > On 16 Sep 2016, at 13:29, panagiotis merakos wrote: > > Ok, I suggest you file a bug at quality.livecode.com and attach your sample > stack so as we can investigate this further. Or send the stack to > panos.merakos at livecode.com if it is confidential. > > BTW could you please first check if you get this error with *any* stack? Or > does it happen with just this particular stack? > > Best, > Panos > -- > > On Fri, Sep 16, 2016 at 1:24 PM, Phil Jimmieson > wrote: > >> Hi Panos, >> yes. I?ve tried three times now. I initially targeted 7.1 or later, but >> have now selected 8.0 and 8.1 - but I still get the error. >>> On 16 Sep 2016, at 13:19, panagiotis merakos wrote: >>> >>> Hi Phil, >>> >>> IIRC I used to get similar errors just *the very first time* I tried to >>> create an ios standalone. Do you get this error *always* when trying to >>> build an ios standalone? >>> >>> Best, >>> Panos >>> -- >>> >>> On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson >>> wrote: >>> >>>> Hi folks >>>> due to the right hand edge black bar problems with landscape apps under >>>> iOS 10 I?m currently trying to build new versions of my LiveCode iOS >> apps. >>>> The first one I?ve tried to build is generating build errors - ?linking >> for >>>> arm (arm64) failed with a duplicate symbol l001 in: >> /Applications/LiveCode >>>> Indy? - followed by lots of errors relating to revpdfprinter, Standalone >>>> and one to revzip. Anyone got any suggestions as to how to fix it? >>>> >>>> In fact an app is generated at the end of the standalone building >> process, >>>> but it is incomplete. Loading it onto an iPad via Xcode leads to the >> error >>>> that it ?doesn?t contain a valid info.plist?. >>>> >>>> -- >>>> Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) >> 07976 >>>> 983164 >>>> Computer Science Dept., Liverpool University, Ashton Building, Ashton >>>> Street >>>> Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ >>>> I used to sit on a special medical board... ...but now I use this >> ointment. >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 >> 983164 >> Computer Science Dept., Liverpool University, Ashton Building, Ashton >> Street >> Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ >> I used to sit on a special medical board... ...but now I use this ointment. >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From merakosp at gmail.com Fri Sep 16 08:56:08 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 13:56:08 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: Hi Randy, Those errors (object file X was build for newer iOS version than being linked) should occur only the first time you build an iOS standalone. Do you still see them, after trying again (with the minimum iOS version set to 8.0)? Best, Panos -- On Fri, Sep 16, 2016 at 1:45 PM, Randy Hengst wrote: > Hi Panos, > > Well, your response is consistent with what I thought I knew? but, when I > tried to build a standalone with the minimum iOS version set to 8.0, I > received the error message build on the build? there is no error message > when I build for 9.3. And, when I build for 9.3 I can load the app on an > iPad running iOS 10. > > ?linking for arm (arm64) failed with Id: warning: Id: warning: object file > (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r0000 > gn/T/TemporaryItems/tmp.81721.zat*Cbeal) > was build for new iOS version (9.3) than being linked (8.0)object file > (/Applications/LiveCode Indy > 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for > newer iOS version ) (9.3) > than being linked (8.0) > > I tried to make sense of the error message and set the build for 8.1 and > later? when I set to build for 8.1 later, things work fine? I assume that > has something to to do with the part of message: (/Applications/LiveCode > Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) > > > I see Phil Jimmieson also noted a similar arm64 error? Phil? is your > message like mine? What do you see that corresponds to the point in the > error message ?8.1.0.app?? > > Thoughts anyone? > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > > > On Sep 16, 2016, at 3:50 AM, panagiotis merakos > wrote: > > > > Hi Randy, > > > > The version of Xcode you choose in [Preferences -> Mobile support] only > > decides which version of the iOS SDK will be used to *build* the iOS > > standalone app. > > > > In the Standalone Application Settings, you can choose the minimum iOS > > version you want your app to *run* in. > > > > So you set this option to "8.0 or later" > > > > Best regards, > > Panos > > -- > > > > On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst > wrote: > > > >> Thank you Panos, I?ll get that going. > >> > >> One related question?. I?ve had a computer ?issue? and now only have > Xcode > >> 7.3.1 on my machine? it only has SDK 9.3. > >> > >> I assume that will allow me to build for iOS 10? but will it building > for > >> the iOS 7 or 8 series? > >> > >> If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been > >> searching without success. If I have to download other Xcode apps, can > >> someone point me to which one would allow me to build for at least iOS 8 > >> and beyond. > >> > >> Thanks in advance for the help. > >> > >> be well, > >> randy > >> > >> Randy Hengst > >> www.classroomFocusedSoftware.com > >> > >> > >> > >>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos > >> wrote: > >>> > >>> Hi Randy, > >>> > >>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed > >> in LC > >>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. > >>> > >>> Best, > >>> Panos > >>> -- > >>> > >>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst > >> wrote: > >>> > >>>> All, > >>>> > >>>> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to > >> be > >>>> that the apps don?t know they are ?landscape? only apps and open (and > >> only > >>>> display) in portrait? thus, cutting off part of the screen. All of the > >> apps > >>>> work fine in iOS 9.3.x > >>>> > >>>> And, in fact, landscape iPad apps build in 2014 (can?t remember which > LC > >>>> version) work fine? it?s only the apps built in summer 2015 and summer > >> 2016. > >>>> > >>>> I thought I saw something about this on the list earlier, but can?t > >> locate > >>>> it now. > >>>> > >>>> Will 8.1.1 RC1 be stable enough to use to update apps? > >>>> > >>>> be well, > >>>> randy > >>>> > >>>> Randy Hengst > >>>> www.classroomFocusedSoftware.com > >>>> > >>>> > >>>> > >>>>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < > >>>> andrew at midwestcoastmedia.com> wrote: > >>>>> > >>>>> An app I just released for a customer has had the main functionality > >>>> (connect to a LiveCode Server using the SSL API from HostM) break in > >> iOS 10. > >>>>> > >>>>> I'm looking for a way to build a pre-release 8.1.1rc1 build from > GitHub > >>>> so I can figure out what's happening. > >>>>> > >>>>> Is there any documentation on how to do this or is it even possible? > >> I'm > >>>> not real familiar with github, but cloned the branch and got it > >> downloaded. > >>>> I know the release is planned for the next 5 days, and realize this > >> might > >>>> not even be worth my time. > >>>>> > >>>>> --Andrew Bell > >>>>> > >>>>> > >>>>>> From: Peter TB Brett > >>>>>> To: User List > >>>>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > >>>>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > >>>>>> Content-Type: text/plain; charset=utf-8; format=flowed > >>>>>> > >>>>>> Hi all, > >>>>>> > >>>>>> Since Xcode 8 GM is now available for download by members of the > Apple > >>>>>> developer program, I thought it might be helpful to give you an > update > >>>>>> on our plans for enabling LiveCode app deployment using Xcode 8. > >>>>>> > >>>>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 > >> release > >>>>>> > >>>>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > >>>>>> keep a copy of Xcode 7.3.1 around > >>>>>> > >>>>>> I currently expect that we'll release 8.1.1-rc-1 sometime between > >>>>>> 15th-20th September. > >>>>>> > >>>>>> Peter > >>>>>> > >>>>>> -- > >>>>>> Dr Peter Brett > >>>>>> LiveCode Technical Project Manager > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Fri Sep 16 09:02:01 2016 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 16 Sep 2016 08:02:01 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: Yes, I do? just tried again after reading your message. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Sep 16, 2016, at 7:56 AM, panagiotis merakos wrote: > > Hi Randy, > > Those errors (object file X was build for newer iOS version > than being linked) should occur only the first time you build an iOS > standalone. Do you still see them, after trying again (with the minimum iOS > version set to 8.0)? > > Best, > Panos > -- > > On Fri, Sep 16, 2016 at 1:45 PM, Randy Hengst wrote: > >> Hi Panos, >> >> Well, your response is consistent with what I thought I knew? but, when I >> tried to build a standalone with the minimum iOS version set to 8.0, I >> received the error message build on the build? there is no error message >> when I build for 9.3. And, when I build for 9.3 I can load the app on an >> iPad running iOS 10. >> >> ?linking for arm (arm64) failed with Id: warning: Id: warning: object file >> (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r0000 >> gn/T/TemporaryItems/tmp.81721.zat*Cbeal) >> was build for new iOS version (9.3) than being linked (8.0)object file >> (/Applications/LiveCode Indy >> 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for >> newer iOS version ) (9.3) >> than being linked (8.0) >> >> I tried to make sense of the error message and set the build for 8.1 and >> later? when I set to build for 8.1 later, things work fine? I assume that >> has something to to do with the part of message: (/Applications/LiveCode >> Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) >> >> >> I see Phil Jimmieson also noted a similar arm64 error? Phil? is your >> message like mine? What do you see that corresponds to the point in the >> error message ?8.1.0.app?? >> >> Thoughts anyone? >> >> be well, >> randy >> >> Randy Hengst >> www.classroomFocusedSoftware.com >> >> >> >>> On Sep 16, 2016, at 3:50 AM, panagiotis merakos >> wrote: >>> >>> Hi Randy, >>> >>> The version of Xcode you choose in [Preferences -> Mobile support] only >>> decides which version of the iOS SDK will be used to *build* the iOS >>> standalone app. >>> >>> In the Standalone Application Settings, you can choose the minimum iOS >>> version you want your app to *run* in. >>> >>> So you set this option to "8.0 or later" >>> >>> Best regards, >>> Panos >>> -- >>> >>> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst >> wrote: >>> >>>> Thank you Panos, I?ll get that going. >>>> >>>> One related question?. I?ve had a computer ?issue? and now only have >> Xcode >>>> 7.3.1 on my machine? it only has SDK 9.3. >>>> >>>> I assume that will allow me to build for iOS 10? but will it building >> for >>>> the iOS 7 or 8 series? >>>> >>>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been >>>> searching without success. If I have to download other Xcode apps, can >>>> someone point me to which one would allow me to build for at least iOS 8 >>>> and beyond. >>>> >>>> Thanks in advance for the help. >>>> >>>> be well, >>>> randy >>>> >>>> Randy Hengst >>>> www.classroomFocusedSoftware.com >>>> >>>> >>>> >>>>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos >>>> wrote: >>>>> >>>>> Hi Randy, >>>>> >>>>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed >>>> in LC >>>>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. >>>>> >>>>> Best, >>>>> Panos >>>>> -- >>>>> >>>>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst >>>> wrote: >>>>> >>>>>> All, >>>>>> >>>>>> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to >>>> be >>>>>> that the apps don?t know they are ?landscape? only apps and open (and >>>> only >>>>>> display) in portrait? thus, cutting off part of the screen. All of the >>>> apps >>>>>> work fine in iOS 9.3.x >>>>>> >>>>>> And, in fact, landscape iPad apps build in 2014 (can?t remember which >> LC >>>>>> version) work fine? it?s only the apps built in summer 2015 and summer >>>> 2016. >>>>>> >>>>>> I thought I saw something about this on the list earlier, but can?t >>>> locate >>>>>> it now. >>>>>> >>>>>> Will 8.1.1 RC1 be stable enough to use to update apps? >>>>>> >>>>>> be well, >>>>>> randy >>>>>> >>>>>> Randy Hengst >>>>>> www.classroomFocusedSoftware.com >>>>>> >>>>>> >>>>>> >>>>>>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < >>>>>> andrew at midwestcoastmedia.com> wrote: >>>>>>> >>>>>>> An app I just released for a customer has had the main functionality >>>>>> (connect to a LiveCode Server using the SSL API from HostM) break in >>>> iOS 10. >>>>>>> >>>>>>> I'm looking for a way to build a pre-release 8.1.1rc1 build from >> GitHub >>>>>> so I can figure out what's happening. >>>>>>> >>>>>>> Is there any documentation on how to do this or is it even possible? >>>> I'm >>>>>> not real familiar with github, but cloned the branch and got it >>>> downloaded. >>>>>> I know the release is planned for the next 5 days, and realize this >>>> might >>>>>> not even be worth my time. >>>>>>> >>>>>>> --Andrew Bell >>>>>>> >>>>>>> >>>>>>>> From: Peter TB Brett >>>>>>>> To: User List >>>>>>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 >>>>>>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> >>>>>>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>>>>>> >>>>>>>> Hi all, >>>>>>>> >>>>>>>> Since Xcode 8 GM is now available for download by members of the >> Apple >>>>>>>> developer program, I thought it might be helpful to give you an >> update >>>>>>>> on our plans for enabling LiveCode app deployment using Xcode 8. >>>>>>>> >>>>>>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 >>>> release >>>>>>>> >>>>>>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >>>>>>>> keep a copy of Xcode 7.3.1 around >>>>>>>> >>>>>>>> I currently expect that we'll release 8.1.1-rc-1 sometime between >>>>>>>> 15th-20th September. >>>>>>>> >>>>>>>> Peter >>>>>>>> >>>>>>>> -- >>>>>>>> Dr Peter Brett >>>>>>>> LiveCode Technical Project Manager >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Sep 16 09:15:07 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 16 Sep 2016 09:15:07 -0400 Subject: How to stop LoveCode running in Edit mode In-Reply-To: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> References: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> Message-ID: <637899DF-F15C-482E-9373-BF05AAE4CFBE@all-auctions.com> Hi Keith, I think LiveCode probably would have been better off to have been named LoveCode! That was certainly a big marketing opportunity which was missed by the team. Oh well? Just my 2 cents. LOL Rick > On Sep 16, 2016, at 5:55 AM, Keith Clarke wrote: > > ?and sorry about the ?LoveCode? typo - a Freudian slip, or just absence making the heart grow fonder, perhaps! :-) > Best, > Keith.. > >> On 16 Sep 2016, at 10:50, Keith Clarke wrote: >> >> Hi folks, >> Returning to LiveCode after some months away and am wondering why, in 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still firing when I switch to (or open a simple stack in) ?Edit/Pointer? mode. >> >> IIRC, code only used to run whilst in ?Run/Browse? mode. This is making development & debugging hard work - have I missed a new setting that I need to disable? >> Best, >> Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From markclark at mac.com Fri Sep 16 09:25:17 2016 From: markclark at mac.com (Mark Clark) Date: Fri, 16 Sep 2016 08:25:17 -0500 Subject: use-livecode Digest, Vol 156, Issue 33 In-Reply-To: References: Message-ID: Charles and Matthias?thanks to both of you! Works like a charm now that you?ve shown the way:) The line by line explanations and updated sample stack were perfect-- FWIW, hostm apparently allows either TLS or SSL but their docs use TLS (port designation 587 or 465) as the ?right? way. I have the list set to digest so apologize for the delay in thanking you both.You have helped me overcome a really tedious monitoring job ---from a web interface to a swimming pool controller to a handy LC style ?email me if you have any issues with chlorine or PH, etc. I do volunteer work for a non-profit with a fairly large (160,000 gallons) swimming pool and we just installed Prominent DCM5 chemical controllers/monitors. They do have a built in web host that exists on our local network but who wants to vpn at all hours of the day? Livecode is perfect for scraping data from an old taco cgi, building a little logic and posting data to a simple db. It also sends out a notice once daily as well as warnings if things go really wrong?thanks to you now all in a simple LC app that launchd tickles once/15 minutes for data logging. mc > On Sep 16, 2016, at 4:55 AM, use-livecode-request at lists.runrev.com wrote: > > If you are using FTPS in implicit mode, then you just need a URL > starting with "ftps://" and you do not need the "use_ssl" setting. > If you are using FTPS in explicit mode, then you need a URL that starts > with "ftp://" and you must use the "use_ssl" setting to invoke TLS. From phil at liverpool.ac.uk Fri Sep 16 09:30:17 2016 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 16 Sep 2016 14:30:17 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> Message-ID: <841A916B-B2D1-47E1-9104-1136DC7E29D0@liverpool.ac.uk> Hi Randy, I get so many errors generated and they display in an answer dialog window that truncates the ends off some of the error messages and so it?s difficult for me to figure out what the errors actually are. The stack in question uses revZip and pdfPrinter though (unlike a stack I?ve got that works, that only uses PDFPrinter) and so I was wondering if revZip was to blame? > On 16 Sep 2016, at 13:45, Randy Hengst wrote: > > Hi Panos, > > Well, your response is consistent with what I thought I knew? but, when I tried to build a standalone with the minimum iOS version set to 8.0, I received the error message build on the build? there is no error message when I build for 9.3. And, when I build for 9.3 I can load the app on an iPad running iOS 10. > > ?linking for arm (arm64) failed with Id: warning: Id: warning: object file > (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r0000gn/T/TemporaryItems/tmp.81721.zat*Cbeal) > was build for new iOS version (9.3) than being linked (8.0)object file (/Applications/LiveCode Indy > 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for newer iOS version ) (9.3) > than being linked (8.0) > > I tried to make sense of the error message and set the build for 8.1 and later? when I set to build for 8.1 later, things work fine? I assume that has something to to do with the part of message: (/Applications/LiveCode Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) > > > I see Phil Jimmieson also noted a similar arm64 error? Phil? is your message like mine? What do you see that corresponds to the point in the error message ?8.1.0.app?? > > Thoughts anyone? > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > >> On Sep 16, 2016, at 3:50 AM, panagiotis merakos wrote: >> >> Hi Randy, >> >> The version of Xcode you choose in [Preferences -> Mobile support] only >> decides which version of the iOS SDK will be used to *build* the iOS >> standalone app. >> >> In the Standalone Application Settings, you can choose the minimum iOS >> version you want your app to *run* in. >> >> So you set this option to "8.0 or later" >> >> Best regards, >> Panos >> -- >> >> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst wrote: >> >>> Thank you Panos, I?ll get that going. >>> >>> One related question?. I?ve had a computer ?issue? and now only have Xcode >>> 7.3.1 on my machine? it only has SDK 9.3. >>> >>> I assume that will allow me to build for iOS 10? but will it building for >>> the iOS 7 or 8 series? >>> >>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been >>> searching without success. If I have to download other Xcode apps, can >>> someone point me to which one would allow me to build for at least iOS 8 >>> and beyond. >>> >>> Thanks in advance for the help. >>> >>> be well, >>> randy >>> >>> Randy Hengst >>> www.classroomFocusedSoftware.com >>> >>> >>> >>>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos >>> wrote: >>>> >>>> Hi Randy, >>>> >>>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed >>> in LC >>>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. >>>> >>>> Best, >>>> Panos >>>> -- >>>> >>>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst >>> wrote: >>>> >>>>> All, >>>>> >>>>> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to >>> be >>>>> that the apps don?t know they are ?landscape? only apps and open (and >>> only >>>>> display) in portrait? thus, cutting off part of the screen. All of the >>> apps >>>>> work fine in iOS 9.3.x >>>>> >>>>> And, in fact, landscape iPad apps build in 2014 (can?t remember which LC >>>>> version) work fine? it?s only the apps built in summer 2015 and summer >>> 2016. >>>>> >>>>> I thought I saw something about this on the list earlier, but can?t >>> locate >>>>> it now. >>>>> >>>>> Will 8.1.1 RC1 be stable enough to use to update apps? >>>>> >>>>> be well, >>>>> randy >>>>> >>>>> Randy Hengst >>>>> www.classroomFocusedSoftware.com >>>>> >>>>> >>>>> >>>>>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < >>>>> andrew at midwestcoastmedia.com> wrote: >>>>>> >>>>>> An app I just released for a customer has had the main functionality >>>>> (connect to a LiveCode Server using the SSL API from HostM) break in >>> iOS 10. >>>>>> >>>>>> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub >>>>> so I can figure out what's happening. >>>>>> >>>>>> Is there any documentation on how to do this or is it even possible? >>> I'm >>>>> not real familiar with github, but cloned the branch and got it >>> downloaded. >>>>> I know the release is planned for the next 5 days, and realize this >>> might >>>>> not even be worth my time. >>>>>> >>>>>> --Andrew Bell >>>>>> >>>>>> >>>>>>> From: Peter TB Brett >>>>>>> To: User List >>>>>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 >>>>>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> >>>>>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> Since Xcode 8 GM is now available for download by members of the Apple >>>>>>> developer program, I thought it might be helpful to give you an update >>>>>>> on our plans for enabling LiveCode app deployment using Xcode 8. >>>>>>> >>>>>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 >>> release >>>>>>> >>>>>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >>>>>>> keep a copy of Xcode 7.3.1 around >>>>>>> >>>>>>> I currently expect that we'll release 8.1.1-rc-1 sometime between >>>>>>> 15th-20th September. >>>>>>> >>>>>>> Peter >>>>>>> >>>>>>> -- >>>>>>> Dr Peter Brett >>>>>>> LiveCode Technical Project Manager >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From merakosp at gmail.com Fri Sep 16 10:24:17 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 15:24:17 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <841A916B-B2D1-47E1-9104-1136DC7E29D0@liverpool.ac.uk> References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> <841A916B-B2D1-47E1-9104-1136DC7E29D0@liverpool.ac.uk> Message-ID: Hi all, @Phil I have added some comments and a workaround to the bug report http://quality.livecode.com/show_bug.cgi?id=18416 @Randy I cannot reproduce those errors, even when setting the minimum iOS version to 8.0. Could you please file a bug report and attach a sample stack? Best Panos -- On Fri, Sep 16, 2016 at 2:30 PM, Phil Jimmieson wrote: > Hi Randy, > I get so many errors generated and they display in an answer dialog window > that truncates the ends off some of the error messages and so it?s > difficult for me to figure out what the errors actually are. The stack in > question uses revZip and pdfPrinter though (unlike a stack I?ve got that > works, that only uses PDFPrinter) and so I was wondering if revZip was to > blame? > > > On 16 Sep 2016, at 13:45, Randy Hengst wrote: > > > > Hi Panos, > > > > Well, your response is consistent with what I thought I knew? but, when > I tried to build a standalone with the minimum iOS version set to 8.0, I > received the error message build on the build? there is no error message > when I build for 9.3. And, when I build for 9.3 I can load the app on an > iPad running iOS 10. > > > > ?linking for arm (arm64) failed with Id: warning: Id: warning: object > file > > (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r0000 > gn/T/TemporaryItems/tmp.81721.zat*Cbeal) > > was build for new iOS version (9.3) than being linked (8.0)object file > (/Applications/LiveCode Indy > > 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build > for newer iOS version ) (9.3) > > than being linked (8.0) > > > > I tried to make sense of the error message and set the build for 8.1 and > later? when I set to build for 8.1 later, things work fine? I assume that > has something to to do with the part of message: (/Applications/LiveCode > Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) > > > > > > I see Phil Jimmieson also noted a similar arm64 error? Phil? is your > message like mine? What do you see that corresponds to the point in the > error message ?8.1.0.app?? > > > > Thoughts anyone? > > > > be well, > > randy > > > > Randy Hengst > > www.classroomFocusedSoftware.com > > > > > > > >> On Sep 16, 2016, at 3:50 AM, panagiotis merakos > wrote: > >> > >> Hi Randy, > >> > >> The version of Xcode you choose in [Preferences -> Mobile support] only > >> decides which version of the iOS SDK will be used to *build* the iOS > >> standalone app. > >> > >> In the Standalone Application Settings, you can choose the minimum iOS > >> version you want your app to *run* in. > >> > >> So you set this option to "8.0 or later" > >> > >> Best regards, > >> Panos > >> -- > >> > >> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst > wrote: > >> > >>> Thank you Panos, I?ll get that going. > >>> > >>> One related question?. I?ve had a computer ?issue? and now only have > Xcode > >>> 7.3.1 on my machine? it only has SDK 9.3. > >>> > >>> I assume that will allow me to build for iOS 10? but will it building > for > >>> the iOS 7 or 8 series? > >>> > >>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been > >>> searching without success. If I have to download other Xcode apps, can > >>> someone point me to which one would allow me to build for at least iOS > 8 > >>> and beyond. > >>> > >>> Thanks in advance for the help. > >>> > >>> be well, > >>> randy > >>> > >>> Randy Hengst > >>> www.classroomFocusedSoftware.com > >>> > >>> > >>> > >>>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos > >>> wrote: > >>>> > >>>> Hi Randy, > >>>> > >>>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed > >>> in LC > >>>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0. > >>>> > >>>> Best, > >>>> Panos > >>>> -- > >>>> > >>>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst > >>> wrote: > >>>> > >>>>> All, > >>>>> > >>>>> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems > to > >>> be > >>>>> that the apps don?t know they are ?landscape? only apps and open (and > >>> only > >>>>> display) in portrait? thus, cutting off part of the screen. All of > the > >>> apps > >>>>> work fine in iOS 9.3.x > >>>>> > >>>>> And, in fact, landscape iPad apps build in 2014 (can?t remember > which LC > >>>>> version) work fine? it?s only the apps built in summer 2015 and > summer > >>> 2016. > >>>>> > >>>>> I thought I saw something about this on the list earlier, but can?t > >>> locate > >>>>> it now. > >>>>> > >>>>> Will 8.1.1 RC1 be stable enough to use to update apps? > >>>>> > >>>>> be well, > >>>>> randy > >>>>> > >>>>> Randy Hengst > >>>>> www.classroomFocusedSoftware.com > >>>>> > >>>>> > >>>>> > >>>>>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media < > >>>>> andrew at midwestcoastmedia.com> wrote: > >>>>>> > >>>>>> An app I just released for a customer has had the main functionality > >>>>> (connect to a LiveCode Server using the SSL API from HostM) break in > >>> iOS 10. > >>>>>> > >>>>>> I'm looking for a way to build a pre-release 8.1.1rc1 build from > GitHub > >>>>> so I can figure out what's happening. > >>>>>> > >>>>>> Is there any documentation on how to do this or is it even possible? > >>> I'm > >>>>> not real familiar with github, but cloned the branch and got it > >>> downloaded. > >>>>> I know the release is planned for the next 5 days, and realize this > >>> might > >>>>> not even be worth my time. > >>>>>> > >>>>>> --Andrew Bell > >>>>>> > >>>>>> > >>>>>>> From: Peter TB Brett > >>>>>>> To: User List > >>>>>>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1 > >>>>>>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41 at livecode.com> > >>>>>>> Content-Type: text/plain; charset=utf-8; format=flowed > >>>>>>> > >>>>>>> Hi all, > >>>>>>> > >>>>>>> Since Xcode 8 GM is now available for download by members of the > Apple > >>>>>>> developer program, I thought it might be helpful to give you an > update > >>>>>>> on our plans for enabling LiveCode app deployment using Xcode 8. > >>>>>>> > >>>>>>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 > >>> release > >>>>>>> > >>>>>>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need > to > >>>>>>> keep a copy of Xcode 7.3.1 around > >>>>>>> > >>>>>>> I currently expect that we'll release 8.1.1-rc-1 sometime between > >>>>>>> 15th-20th September. > >>>>>>> > >>>>>>> Peter > >>>>>>> > >>>>>>> -- > >>>>>>> Dr Peter Brett > >>>>>>> LiveCode Technical Project Manager > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 > 983164 > Computer Science Dept., Liverpool University, Ashton Building, Ashton > Street > Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Fri Sep 16 11:45:42 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 16 Sep 2016 17:45:42 +0200 Subject: LiveCode Server 8.1 - installing In-Reply-To: <3AAB8D3B-7C3A-439A-87E1-2D14024F2963@canelasoftware.com> References: <3AAB8D3B-7C3A-439A-87E1-2D14024F2963@canelasoftware.com> Message-ID: Thanks Mark, but I didn?t have to do this- good, because typically I would have no idea what password to use. I just went back over Stephen Barncard?s advice (thanks so much, Stephen!) about .htaccess (I was already there in fact) and most particularly about permissions (I was emphatically NOT there). So my samples are working now and any other problems are to do with mistakes I?ve made and not to do with the issue of installing LC Server. I am not sure if the current LC documentation warns you about the pesky permission problem, but it should. Thanks also to Richard Gaskin for his very helpful and thoughtful mail. It would indeed be good if we could meet again. My pad in the South of France is still functioning, as you guessed! We need a bit more rain to get the grass back in order? but I digress. Graham > On 14 Sep 2016, at 22:59, Mark Talluto wrote: > > >> On Sep 14, 2016, at 8:57 AM, Graham Samuel wrote: >> >> Obviously I have made a massive error, but what is it? I just want to be able to run some .lc programs on the server - it doesn?t seem much to ask. > > LC 8.1 has different dependencies than previous versions of LC. The first thing I would do is make sure you have GLib installed. Open terminal, sign into your server and type the following: > > apt-get install libglib2.0-0 > > You may need to get sudo access thus: > > sudo apt-get install libglib2.0-0 > (enter password when asked) > > Something else that is new in 8.1 is the ability to get error messages regarding missing dependencies. Not sure if you are seeing those. > > I hope this helps. > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > From jmac at consensustech.com Fri Sep 16 12:06:23 2016 From: jmac at consensustech.com (Jim MacConnell) Date: Fri, 16 Sep 2016 09:06:23 -0700 Subject: Copying text from LC Script Editor In-Reply-To: References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> Message-ID: <010a01d21034$45e11b50$d1a351f0$@consensustech.com> I have a similar issue with Windows 7 Pro (LC 8.1 Community)... I also can't copy and paste directly into applications other than a simple text editor (NotePad). I can then copy and paste from NotePad to wherever I want to go (PowerPoint, Word, etc.) with no issues. My problem also occurs trying to copy text from fields. Saving the text to file and opening works fine so sure seems to be an LC 8 clipboard issue. Jim -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Thursday, September 15, 2016 11:15 PM To: How to use LiveCode Subject: Re: Copying text from LC Script Editor Copying text from the script editor is problematic on more than one platform. Over here "in the wilds of Linux" it is not possible to copy-paste directly from the script editor into anything but a simple text editor. For instance; if I want to paste code from the script editor into Thunderbird (my e-mail client) I have to paste it into a text editor and then copy-paste from there into Thunderbird (a double bounce, so to say). The same sort of thing into a Libre Office document, and so on. Richmond. On 16.09.2016 03:01, Peter Bogdanoff wrote: > I'm noticing that with LiveCode 8, copying scripts from the Script Editor and pasting it into other applications on the Mac yields text that displays differently than pre-LC 8. > > Pasting it into Apple Mail puts it as double-spaced. Copying it from Mail puts it back into the Script Editor as double spaced: > > on mouseUp > > doThis > > thenDoThis > > followedByThis > > end mouseUp > > > Apple TextEdit is OK: > > on mouseUp > doThis > thenDoThis > followedByThis > end mouseUp > > Pasting it into Tex-Edit Plus yields a single line with feed characters. > > Is this worth making a fuss over? > > Peter Bogdanoff > UCLA > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 16 12:29:38 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 16 Sep 2016 19:29:38 +0300 Subject: How to stop LoveCode running in Edit mode In-Reply-To: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> References: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> Message-ID: Hey: one of the best "slips" for a long time! Richmond. On 16.09.2016 12:55, Keith Clarke wrote: > ?and sorry about the ?LoveCode? typo - a Freudian slip, or just absence making the heart grow fonder, perhaps! :-) > Best, > Keith.. > >> On 16 Sep 2016, at 10:50, Keith Clarke wrote: >> >> Hi folks, >> Returning to LiveCode after some months away and am wondering why, in 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still firing when I switch to (or open a simple stack in) ?Edit/Pointer? mode. >> >> IIRC, code only used to run whilst in ?Run/Browse? mode. This is making development & debugging hard work - have I missed a new setting that I need to disable? >> Best, >> Keith.. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 16 12:31:20 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 16 Sep 2016 19:31:20 +0300 Subject: Browser widget Message-ID: Bug 18420 Not getting very far I'm afraid. Richmond. From nabble at mad.pink Fri Sep 16 12:28:32 2016 From: nabble at mad.pink (pink) Date: Fri, 16 Sep 2016 09:28:32 -0700 (PDT) Subject: Maintain Order in JSON Import In-Reply-To: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> References: <98AC767D-6CB0-4E5D-9974-A18A5B0D5C3C@hindu.org> Message-ID: <1474043312458-4708523.post@n4.nabble.com> JsonImport and JsonExport are not in the "LiveCode Script" dictionary. You need to switch to "JSON Library" from the dropdown. mergJSON, easyJSON and fastJSON all output numeric-keyed arrays as JSON arrays, if you need JSON arrays then you definitely need one of them (ie - the stuff within a square brace). For my purposes with CouchDB, the JSON LCB library is insufficient. mergJSON's "pretty" mode is great for displaying a readable JSON, it alphabetizes keys and indents based on depth I put together a couple of functions a while back to make a readable JSON, I haven't updated it in a while. It does not sort keys alphabetically, just adds whitespace to indent key/value pairs based on depth https://github.com/madpink/gingerjson/blob/master/gingerjson.lc if needed: FastJSON (still being maintained): https://github.com/bhall2001/fastjson EasyJSON (stable, but not updated in several years): https://github.com/luxlogica/easyjson -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Maintain-Order-in-JSON-Import-tp4708343p4708523.html Sent from the Revolution - User mailing list archive at Nabble.com. From nabble at mad.pink Fri Sep 16 12:38:22 2016 From: nabble at mad.pink (pink) Date: Fri, 16 Sep 2016 09:38:22 -0700 (PDT) Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: <1473345334720-4708176.post@n4.nabble.com> References: <1473345334720-4708176.post@n4.nabble.com> Message-ID: <1474043902110-4708524.post@n4.nabble.com> FYI - in case anyone else runs into this problem, it should be fixed 8.1.1 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/urlResponse-empty-in-8-1-0RC1-tp4708176p4708524.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Fri Sep 16 13:04:30 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 16 Sep 2016 10:04:30 -0700 Subject: Multiple Property Inspector Instances for the same object - Bug or Feature ? In-Reply-To: References: Message-ID: <0B5EE03E-0473-4840-95DD-AA3E665ACF09@me.com> This ?bug? has to do with multiple property inspector showing at once. I?m sure if you?ve worked with LC8, you?ve seen this happen where a PI can be showing for each control that was previously inspected?double-click with the edit tool on different controls and you?ll see what happens. To me, this is cumbersome in many ways? I?d rather have just one inspector that reflects just the currently focused object. Peter Bogdanoff On Aug 31, 2016, at 4:01 AM, panagiotis merakos wrote: > Hi all, > > Today we came across this report, and we are on a discussion on whether > this is a bug or a feature. What do you think? > > http://quality.livecode.com/show_bug.cgi?id=18291 > > Should we allow this behavior, given of course that there are no syncing > issues? A quick test shows that there are no syncing problems so far. > > Best, > Panos > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Sep 16 13:05:46 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 18:05:46 +0100 Subject: Browser widget In-Reply-To: References: Message-ID: Hi Richmond, This problem is another manifestation of the non-functioning dictionary problem. In fact, this bug: http://quality.livecode.com/show_bug.cgi?id=18025 and ALL of the bugs that are in the "See also" section of this bug, are all closely related (probably the fix to one of them will fix all of them). Best, Panos -- On Fri, Sep 16, 2016 at 5:31 PM, Richmond wrote: > Bug 18420 > > Not getting very far I'm afraid. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Sep 16 13:08:33 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 16 Sep 2016 13:08:33 -0400 Subject: How to stop LoveCode running in Edit mode In-Reply-To: References: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> Message-ID: You can't stop LoveCode. You just can't. On Fri, Sep 16, 2016 at 12:29 PM, Richmond wrote: > Hey: one of the best "slips" for a long time! > > Richmond. > > On 16.09.2016 12:55, Keith Clarke wrote: > >> ?and sorry about the ?LoveCode? typo - a Freudian slip, or just absence >> making the heart grow fonder, perhaps! :-) >> Best, >> Keith.. >> >> On 16 Sep 2016, at 10:50, Keith Clarke wrote: >>> >>> Hi folks, >>> Returning to LiveCode after some months away and am wondering why, in >>> 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still >>> firing when I switch to (or open a simple stack in) ?Edit/Pointer? mode. >>> >>> IIRC, code only used to run whilst in ?Run/Browse? mode. This is making >>> development & debugging hard work - have I missed a new setting that I need >>> to disable? >>> Best, >>> Keith.. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Sep 16 13:11:39 2016 From: ahsoftware at sonic.net (mwieder) Date: Fri, 16 Sep 2016 10:11:39 -0700 (PDT) Subject: How to stop LoveCode running in Edit mode In-Reply-To: References: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> Message-ID: <1474045899239-4708528.post@n4.nabble.com> Richmond wrote > Hey: one of the best "slips" for a long time! > > Richmond. ... and so much better than my usual finger-slippage, which ends up "LiceCode" ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-stop-LoveCode-running-in-Edit-mode-tp4708494p4708528.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Sep 16 13:27:51 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Sep 2016 10:27:51 -0700 Subject: How to stop LoveCode running in Edit mode In-Reply-To: <1474045899239-4708528.post@n4.nabble.com> References: <1474045899239-4708528.post@n4.nabble.com> Message-ID: <254e93b6-fce0-f9b8-d21f-cb3018deda54@fourthworld.com> Mark Wieder wrote: > Richmond wrote >> Hey: one of the best "slips" for a long time! >> >> Richmond. > > ... and so much better than my usual finger-slippage, which ends up > "LiceCode" One of my biggest xTalk fixations is that I'm no longer able to type the word "cart" - it always comes out "card", and I have to go back and correct it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Fri Sep 16 13:28:47 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 16 Sep 2016 20:28:47 +0300 Subject: Browser widget In-Reply-To: References: Message-ID: <76cf1b50-5287-6df2-d433-d6a2b28ef0f9@gmail.com> Aha. Well I'm a bit slow and am discovering all aspects of this one piece at a time. Is this XFCE specific, Xubuntu specific, or a Linux-wide thing? Thanks. Richmond. On 16.09.2016 20:05, panagiotis merakos wrote: > Hi Richmond, > > This problem is another manifestation of the non-functioning dictionary > problem. In fact, this bug: > > http://quality.livecode.com/show_bug.cgi?id=18025 > > and ALL of the bugs that are in the "See also" section of this bug, are all > closely related (probably the fix to one of them will fix all of them). > > Best, > Panos > -- > > On Fri, Sep 16, 2016 at 5:31 PM, Richmond > wrote: > >> Bug 18420 >> >> Not getting very far I'm afraid. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 16 13:30:14 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 16 Sep 2016 20:30:14 +0300 Subject: How to stop LoveCode running in Edit mode In-Reply-To: <1474045899239-4708528.post@n4.nabble.com> References: <0606A3C4-F5B6-409B-A8D0-B401FA7C5430@me.com> <1474045899239-4708528.post@n4.nabble.com> Message-ID: <7039f057-31d9-7099-eb94-9a65d178c324@gmail.com> After a certain age all we male Livecode programmers can only wish that Lovecode would run in Edit mode rather more often than it does. Kisses, Richmond. On 16.09.2016 20:11, mwieder wrote: > Richmond wrote >> Hey: one of the best "slips" for a long time! >> >> Richmond. > ... and so much better than my usual finger-slippage, which ends up > "LiceCode" > > > > ----- From ambassador at fourthworld.com Fri Sep 16 13:30:16 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Sep 2016 10:30:16 -0700 Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: <1474043902110-4708524.post@n4.nabble.com> References: <1474043902110-4708524.post@n4.nabble.com> Message-ID: <4e482d18-0068-ae5a-e411-4b0bd746f8eb@fourthworld.com> pink wrote: > FYI - in case anyone else runs into this problem, it should be > fixed 8.1.1 Interesting. Bug report number? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Fri Sep 16 13:31:28 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 16 Sep 2016 20:31:28 +0300 Subject: How to stop LoveCode running in Edit mode In-Reply-To: <254e93b6-fce0-f9b8-d21f-cb3018deda54@fourthworld.com> References: <1474045899239-4708528.post@n4.nabble.com> <254e93b6-fce0-f9b8-d21f-cb3018deda54@fourthworld.com> Message-ID: <93b392ff-bbda-2749-d2e0-37c4ea3d261c@gmail.com> You have an xTalk fixation? Wow . . . can we start a self-help group? Livecoders anonymous, perhaps. Richmond. On 16.09.2016 20:27, Richard Gaskin wrote: > Mark Wieder wrote: > > > Richmond wrote > >> Hey: one of the best "slips" for a long time! > >> > >> Richmond. > > > > ... and so much better than my usual finger-slippage, which ends up > > "LiceCode" > > One of my biggest xTalk fixations is that I'm no longer able to type > the word "cart" - it always comes out "card", and I have to go back > and correct it. > From merakosp at gmail.com Fri Sep 16 13:42:49 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 20:42:49 +0300 Subject: Browser widget In-Reply-To: <76cf1b50-5287-6df2-d433-d6a2b28ef0f9@gmail.com> References: <76cf1b50-5287-6df2-d433-d6a2b28ef0f9@gmail.com> Message-ID: Well, we do not know yet. We have been able to reproduce it only in a specific Ubuntu 16.04 64bit VM an affected user sent us. We also have an Ubuntu 16.04 64bit VM in the office, which works as expected. I made a list of all packages that are installed *only* in the "bad" VM, and a list of the ones that are installed *only* in the "good" one. I then installed all the missing ones to the "bad" one, but the problem was not fixed. I even installed all the missing ones to the "good" one, hoping that the "good" one will break at some point, but no luck. So finally both VMs ended up having exactly the same packages installed, but still the "bad" one was having that bug whereas the "good" one worked as expected. :( Best, Panos -- On Fri, Sep 16, 2016 at 8:28 PM, Richmond wrote: > Aha. Well I'm a bit slow and am discovering all aspects of this one piece > at a time. > > Is this XFCE specific, Xubuntu specific, or a Linux-wide thing? > > Thanks. > > Richmond. > > > On 16.09.2016 20:05, panagiotis merakos wrote: > >> Hi Richmond, >> >> This problem is another manifestation of the non-functioning dictionary >> problem. In fact, this bug: >> >> http://quality.livecode.com/show_bug.cgi?id=18025 >> >> and ALL of the bugs that are in the "See also" section of this bug, are >> all >> closely related (probably the fix to one of them will fix all of them). >> >> Best, >> Panos >> -- >> >> On Fri, Sep 16, 2016 at 5:31 PM, Richmond >> wrote: >> >> Bug 18420 >>> >>> Not getting very far I'm afraid. >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Sep 16 13:42:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Sep 2016 10:42:44 -0700 Subject: Copying text from LC Script Editor In-Reply-To: <010a01d21034$45e11b50$d1a351f0$@consensustech.com> References: <010a01d21034$45e11b50$d1a351f0$@consensustech.com> Message-ID: Jim MacConnell wrote: > Richmond wrote: >> Copying text from the script editor is problematic on more than one >> platform. >> >> Over here "in the wilds of Linux" it is not possible to copy-paste >> directly from the script editor into anything but a simple text >> editor. >> >> For instance; if I want to paste code from the script editor into >> Thunderbird (my e-mail client) I have to paste it into a text editor >> and then copy-paste from there into Thunderbird (a double bounce, so >> to say). >> The same sort of thing into a Libre Office document, and so on. > > I have a similar issue with Windows 7 Pro (LC 8.1 Community)... > I also can't copy and paste directly into applications other than a > simple text editor (NotePad). I can then copy and paste from NotePad > to wherever I want to go (PowerPoint, Word, etc.) with no issues. > > My problem also occurs trying to copy text from fields. > > Saving the text to file and opening works fine so sure seems to be an > LC 8 clipboard issue. Interestingly, those descriptions sound exactly like this bug I'd reported against the Linux engine some time ago: http://quality.livecode.com/show_bug.cgi?id=14416 That was one fixed several versions ago, and I just confirmed that indeed it still works well in v8.1 on Ubuntu 14.04. @Jim, Richmond: When either of you files the bug report for this, you may want to mention #14416 as the fix may be related to the they'd done earlier. I'd consider re-opening the old report, but since their fix is still working well for me that specific issue has not regressed per se. But probably worth mentioning just in case the issue you're seeing is indeed related under the hood. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From merakosp at gmail.com Fri Sep 16 13:44:10 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 16 Sep 2016 20:44:10 +0300 Subject: urlResponse empty in 8.1.0RC1 In-Reply-To: <4e482d18-0068-ae5a-e411-4b0bd746f8eb@fourthworld.com> References: <1474043902110-4708524.post@n4.nabble.com> <4e482d18-0068-ae5a-e411-4b0bd746f8eb@fourthworld.com> Message-ID: http://quality.livecode.com/show_bug.cgi?id=18380 On Fri, Sep 16, 2016 at 8:30 PM, Richard Gaskin wrote: > pink wrote: > > FYI - in case anyone else runs into this problem, it should be > > fixed 8.1.1 > > Interesting. Bug report number? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Sep 16 13:52:48 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 16 Sep 2016 13:52:48 -0400 Subject: detecting currently connected printer - Mac Message-ID: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> Anyone know how to get a listing of the currently connected printer on a Mac? I used to do this on my (very) old MacBook via a shell call: put shell("ioreg") into tList and then parse the list to find the connected printer name. And I now have a new MacBook Pro, and I can?t find anything resembling a printer in the IO registry list. Any ideas? ? Peter Peter M. Brigham pmbrig at gmail.com From bonnmike at gmail.com Fri Sep 16 14:02:46 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 16 Sep 2016 12:02:46 -0600 Subject: detecting currently connected printer - Mac In-Reply-To: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> References: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> Message-ID: does-- lpstat -p give the info you need? (from shell) On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham wrote: > Anyone know how to get a listing of the currently connected printer on a > Mac? I used to do this on my (very) old MacBook via a shell call: > put shell("ioreg") into tList > and then parse the list to find the connected printer name. > > And I now have a new MacBook Pro, and I can?t find anything resembling a > printer in the IO registry list. > > Any ideas? > > ? Peter > > Peter M. Brigham > pmbrig at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Fri Sep 16 14:07:32 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 16 Sep 2016 14:07:32 -0400 Subject: detecting currently connected printer - Mac In-Reply-To: References: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> Message-ID: <68D70825-8268-4962-B244-C1C2F0302965@gmail.com> Was curious what that does. For me it returns a list of all the printers my Mac has seen in the last few years, and currently I have no active printers on my network at home. > On Sep 16, 2016, at 2:02 PM, Mike Bonner wrote: > > does-- lpstat -p give the info you need? (from shell) > > On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham wrote: > >> Anyone know how to get a listing of the currently connected printer on a >> Mac? I used to do this on my (very) old MacBook via a shell call: >> put shell("ioreg") into tList >> and then parse the list to find the connected printer name. >> >> And I now have a new MacBook Pro, and I can?t find anything resembling a >> printer in the IO registry list. >> >> Any ideas? >> >> ? Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Sep 16 14:09:21 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 16 Sep 2016 12:09:21 -0600 Subject: detecting currently connected printer - Mac In-Reply-To: <68D70825-8268-4962-B244-C1C2F0302965@gmail.com> References: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> <68D70825-8268-4962-B244-C1C2F0302965@gmail.com> Message-ID: Interesting. If it returns zombie printers, its not exactly helpful. On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate wrote: > Was curious what that does. For me it returns a list of all the printers > my Mac has seen in the last few years, and currently I have no active > printers on my network at home. > > > > On Sep 16, 2016, at 2:02 PM, Mike Bonner wrote: > > > > does-- lpstat -p give the info you need? (from shell) > > > > On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham > wrote: > > > >> Anyone know how to get a listing of the currently connected printer on a > >> Mac? I used to do this on my (very) old MacBook via a shell call: > >> put shell("ioreg") into tList > >> and then parse the list to find the connected printer name. > >> > >> And I now have a new MacBook Pro, and I can?t find anything resembling a > >> printer in the IO registry list. > >> > >> Any ideas? > >> > >> ? Peter > >> > >> Peter M. Brigham > >> pmbrig at gmail.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Sep 16 14:16:32 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 16 Sep 2016 14:16:32 -0400 Subject: detecting currently connected printer - Mac In-Reply-To: References: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> <68D70825-8268-4962-B244-C1C2F0302965@gmail.com> Message-ID: <67F585FD-27B1-4207-8A5F-2D5C431E1ABE@gmail.com> > On Sep 16, 2016, at 2:09 PM, Mike Bonner wrote: > > Interesting. If it returns zombie printers, its not exactly helpful. Right. I need a way of detecting which printer is currently connected via USB. Any other ideas? > On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate > wrote: > >> Was curious what that does. For me it returns a list of all the printers >> my Mac has seen in the last few years, and currently I have no active >> printers on my network at home. >> >> >>> On Sep 16, 2016, at 2:02 PM, Mike Bonner wrote: >>> >>> does-- lpstat -p give the info you need? (from shell) >>> >>> On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham >> wrote: >>> >>>> Anyone know how to get a listing of the currently connected printer on a >>>> Mac? I used to do this on my (very) old MacBook via a shell call: >>>> put shell("ioreg") into tList >>>> and then parse the list to find the connected printer name. >>>> >>>> And I now have a new MacBook Pro, and I can?t find anything resembling a >>>> printer in the IO registry list. >>>> >>>> Any ideas? ? Peter Peter M. Brigham pmbrig at gmail.com From colinholgate at gmail.com Fri Sep 16 14:22:52 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 16 Sep 2016 14:22:52 -0400 Subject: detecting currently connected printer - Mac In-Reply-To: <67F585FD-27B1-4207-8A5F-2D5C431E1ABE@gmail.com> References: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> <68D70825-8268-4962-B244-C1C2F0302965@gmail.com> <67F585FD-27B1-4207-8A5F-2D5C431E1ABE@gmail.com> Message-ID: <95EE72DA-6902-49E9-AA93-BD925B9B29C5@gmail.com> I found this, which lets you see all devices connected to USB: ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*' > On Sep 16, 2016, at 2:16 PM, Peter M. Brigham wrote: > >> On Sep 16, 2016, at 2:09 PM, Mike Bonner wrote: >> >> Interesting. If it returns zombie printers, its not exactly helpful. > > Right. I need a way of detecting which printer is currently connected via USB. Any other ideas? > >> On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate >> wrote: >> >>> Was curious what that does. For me it returns a list of all the printers >>> my Mac has seen in the last few years, and currently I have no active >>> printers on my network at home. >>> >>> >>>> On Sep 16, 2016, at 2:02 PM, Mike Bonner wrote: >>>> >>>> does-- lpstat -p give the info you need? (from shell) >>>> >>>> On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham >>> wrote: >>>> >>>>> Anyone know how to get a listing of the currently connected printer on a >>>>> Mac? I used to do this on my (very) old MacBook via a shell call: >>>>> put shell("ioreg") into tList >>>>> and then parse the list to find the connected printer name. >>>>> >>>>> And I now have a new MacBook Pro, and I can?t find anything resembling a >>>>> printer in the IO registry list. >>>>> >>>>> Any ideas? > > ? Peter > > Peter M. Brigham > pmbrig at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Sep 16 14:26:57 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 16 Sep 2016 11:26:57 -0700 Subject: Multiple Property Inspector Instances for the same object - Bug or Feature ? In-Reply-To: <0B5EE03E-0473-4840-95DD-AA3E665ACF09@me.com> References: <0B5EE03E-0473-4840-95DD-AA3E665ACF09@me.com> Message-ID: On Fri, Sep 16, 2016 at 10:04 AM, Peter Bogdanoff wrote: > To me, this is cumbersome in many ways? I?d rather have just one inspector > that reflects just the currently focused object. > The 7 method of simply saying "No! You can't!" instead of bring that one to the front left a lot to be desired . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pmbrig at gmail.com Fri Sep 16 14:39:37 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 16 Sep 2016 14:39:37 -0400 Subject: detecting currently connected printer - Mac In-Reply-To: <95EE72DA-6902-49E9-AA93-BD925B9B29C5@gmail.com> References: <35928B6B-8952-4C19-8776-8E4B2AAF9873@gmail.com> <68D70825-8268-4962-B244-C1C2F0302965@gmail.com> <67F585FD-27B1-4207-8A5F-2D5C431E1ABE@gmail.com> <95EE72DA-6902-49E9-AA93-BD925B9B29C5@gmail.com> Message-ID: <5ACC6B3B-9E58-43FB-A251-48ADEF1AF240@gmail.com> Fantastic! That does it. Many thanks. ? Peter Peter M. Brigham pmbrig at gmail.com > On Sep 16, 2016, at 2:22 PM, Colin Holgate wrote: > > I found this, which lets you see all devices connected to USB: > > ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*' > > > >> On Sep 16, 2016, at 2:16 PM, Peter M. Brigham wrote: >> >>> On Sep 16, 2016, at 2:09 PM, Mike Bonner wrote: >>> >>> Interesting. If it returns zombie printers, its not exactly helpful. >> >> Right. I need a way of detecting which printer is currently connected via USB. Any other ideas? From jacque at hyperactivesw.com Fri Sep 16 15:28:50 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Sep 2016 14:28:50 -0500 Subject: Copying text from LC Script Editor In-Reply-To: <010a01d21034$45e11b50$d1a351f0$@consensustech.com> References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> <010a01d21034$45e11b50$d1a351f0$@consensustech.com> Message-ID: <351ca248-51f5-c624-4ac2-c2c7c6508826@hyperactivesw.com> On 9/16/16 11:06 AM, Jim MacConnell wrote: > I have a similar issue with Windows 7 Pro (LC 8.1 Community)... > I also can't copy and paste directly into applications other than a simple > text editor (NotePad). I can then copy and paste from NotePad to wherever I > want to go (PowerPoint, Word, etc.) with no issues. > > My problem also occurs trying to copy text from fields. > > Saving the text to file and opening works fine so sure seems to be an LC 8 > clipboard issue. My hunch is that it's a line-ending translation issue. LC auto-corrects line endings when importing/exporting text to files but I don't think it does the same for the clipboard. I'm not sure how it could; it has no idea where you intend to paste. If you paste into another LC field, you don't want any translation. It sounds like you'd need a custom clipboard function that could live in a front or backscript. It would get the clipboardData["text"] and replace LF with CRLF, or CR, or whatever your receiving app expects. The double-pass you and Richmond need to do probably works because the plain text editor does the line ending replacements. There may also be an issue with UTF16 vs UTF8. LC uses UTF16, some apps expect UTF8, but many will accomodate either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From markclark at mac.com Fri Sep 16 16:29:06 2016 From: markclark at mac.com (Mark Clark) Date: Fri, 16 Sep 2016 15:29:06 -0500 Subject: tSettings["username"] In-Reply-To: References: Message-ID: Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? From skiplondon at gmail.com Fri Sep 16 17:33:25 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 16 Sep 2016 16:33:25 -0500 Subject: tSettings["username"] In-Reply-To: References: Message-ID: Great question... Awaiting responses... SKIP > On Sep 16, 2016, at 3:29 PM, Mark Clark wrote: > > Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Sep 16 17:53:51 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 16 Sep 2016 17:53:51 -0400 Subject: How can I "fake" the appearance of merged cells (like in Excel) Message-ID: I have a table field with about 10 columns. Some of the cells may contain the same data as the cell above and/or below it. I want to visually portray these occurances as a single cell with the text centered within the visually larger cell. How would you approach this problem? Would you overlay an opaque field whose rectangle is that of the combined cells? I need it to scroll too. Thoughts? Creative solutions? No, not gonna use Excel. ;-) ~Roger From dochawk at gmail.com Fri Sep 16 18:13:36 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 16 Sep 2016 15:13:36 -0700 Subject: regex to add a variable to calls Message-ID: As I move to multiple open debtors, I'm having small but consistent and numerous changes. I need to catch every instance of getVal(a,b,c) and change them to getVal(a,b,c,dbtr) (and similarly to find when called with one or two arguments) a can actually be a combination of letters and numbers (a variable name)--but might be an expression to produce this. b should only be empty or "D", "T", and one other like that, and c will be a variable that evaluates to a number. dbtr is the variable name I want to pass. Even catching most, and inspecting before tapping replace, would be a huge timesaver. I don't remember enough regexes to make this work with the parens. I'm thinking a search term of getVal\(([a-z1-9A-Z]+,[a-z1-9A-Z]+,[a-z1-9A-Z]+)\) and getVal($1,dbtr) as replace, but this isn't right. Can anyone help? Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dave at applicationinsight.com Fri Sep 16 18:23:11 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 16 Sep 2016 23:23:11 +0100 Subject: tSettings["username"] In-Reply-To: References: Message-ID: <2213D35E-A75B-44B8-B3F8-31AF061CA09D@applicationinsight.com> Yep a v good question I looked at Sarah Reichelt's smtp library (https://github.com/trozware/rev_stacks ) to see how she did multiple recipients, but how she handles multiple recipients doesn?t help with tsNet? AND I have another question - which is: how do we send html emails? Sarah?s library seems to have cracked this and I can see enough of the bones of how she did it (assuming it is still in date and works on tsNet) to be able to reconstruct it (but it does look very fiddly) - and when I have time I?ll give it a go as it would be nice to have it in the dementia app I?m working on - when/if I get it working I?ll post the script here? Dave > Great question... Awaiting responses... > > SKIP > > > On Sep 16, 2016, at 3:29 PM, Mark Clark <[hidden email] > wrote: > > > > Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? > > _______________________________________________ > > use-livecode mailing list > > [hidden email] > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Sep 16 19:00:20 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 01:00:20 +0200 Subject: tSettings["username"] In-Reply-To: References: Message-ID: <5D0600B2-5B88-48B2-A9A4-B3B5AE2226EB@m-r-d.de> > Am 16.09.2016 um 22:29 schrieb Mark Clark >: > > Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode regarding the multiple to: 1. you have to add the additional To recipients also to the smtp Header. You have to separate the recipients with Comma. The line must end with CRLF. To: email1 at runrev.com , email2 at runrev.com , email3 at runrev.com For CC recipients it?s the same Cc: me at livecode.com , you at livecode.com , who at livecode.com A sample smtp header would then look like this: Content-Type: text/plain; charset=utf-8 Date: Sat, 17 Sep 2016 00:37:04 +0200 From: support at myawesomecompany.com To: email1 at runrev.com , email2 at runrev.com , email3 at runrev.com Cc: me at livecode.com , you at livecode.com , who at livecode.com Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?= This is the message. Very important : Bcc Recipients are not added to the SMTP header ! ! ! 2. for sending you have to call the tsNetSmptSync function for every To, Cc and Bcc recipient. Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress. then for the To recipients you would write: repeat for each line tRecipient in fld ?To? if line tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat for the Cc recipients: repeat for each line tRecipient in fld ?Cc? if line tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat and for the Bcc: repeat for each line tRecipient in fld ?Bcc? if line tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat Regarding Dave?s question about Html. As you mentioned already,Sarahs library gives good advice how to implement that and it should work with tsNet. At least if you create smtp message (tPostData) correctly. For those who are intrested in Sarah?s scripts and library: She uploaded hem all to GitHub https://github.com/trozware/rev_stacks Regards, Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 From matthias_livecode_150811 at m-r-d.de Fri Sep 16 19:04:07 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 01:04:07 +0200 Subject: tSettings["username"] In-Reply-To: <5D0600B2-5B88-48B2-A9A4-B3B5AE2226EB@m-r-d.de> References: <5D0600B2-5B88-48B2-A9A4-B3B5AE2226EB@m-r-d.de> Message-ID: <2C0F7961-E0A9-4BDE-9A5B-9B31DD24A087@m-r-d.de> Just noticed that my email client added also mailto:links for the email addresses. I will try to resend. Please excuse. Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 17.09.2016 um 01:00 schrieb Matthias Rebbe : > > >> Am 16.09.2016 um 22:29 schrieb Mark Clark >: >> >> Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > regarding the multiple to: > > 1. you have to add the additional To recipients also to the smtp Header. You have to separate the recipients with Comma. > The line must end with CRLF. > > To: email1 at runrev.com , email2 at runrev.com , email3 at runrev.com > > For CC recipients it?s the same > Cc: me at livecode.com , you at livecode.com , who at livecode.com > > A sample smtp header would then look like this: > > Content-Type: text/plain; charset=utf-8 > Date: Sat, 17 Sep 2016 00:37:04 +0200 > From: support at myawesomecompany.com > To: email1 at runrev.com , email2 at runrev.com , email3 at runrev.com > Cc: me at livecode.com , you at livecode.com , who at livecode.com > Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?= > > This is the message. > > > > Very important : Bcc Recipients are not added to the SMTP header ! ! ! > > > 2. for sending you have to call the tsNetSmptSync function for every To, Cc and Bcc recipient. > > Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress. > > > then for the To recipients you would write: > > repeat for each line tRecipient in fld ?To? > if line tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > for the Cc recipients: > > repeat for each line tRecipient in fld ?Cc? > if line tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > and for the Bcc: > > repeat for each line tRecipient in fld ?Bcc? > if line tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > > Regarding Dave?s question about Html. As you mentioned already,Sarahs library gives good advice how to implement that and it should work with tsNet. At least if you create smtp message (tPostData) correctly. > > For those who are intrested in Sarah?s scripts and library: She uploaded hem all to GitHub > https://github.com/trozware/rev_stacks > > Regards, > > Matthias > > > > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Sep 16 19:06:41 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 01:06:41 +0200 Subject: tSettings["username"] In-Reply-To: References: Message-ID: 2nd try. > Am 16.09.2016 um 22:29 schrieb Mark Clark >: > > Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode regarding the multiple to: 1. you have to add the additional To recipients also to the smtp header. You have to separate the recipients with Comma. The line must end with CRLF. To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com For CC recipients it?s the same Cc: me at livecode.com, you at livecode.com, who at livecode.com A sample smtp header would then look like this: Content-Type: text/plain; charset=utf-8 Date: Sat, 17 Sep 2016 00:37:04 +0200 From: support at myawesomecompany.com To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com Cc: me at livecode.com, you at livecode.com, who at livecode.com Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?= This is the message. Very important : Bcc Recipients are not added to the SMTP header ! ! ! 2. for sending you have to call the tsNetSmptSync function for every To, Cc and Bcc recipient. Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress. then for the To recipients you would write: repeat for each line tRecipient in fld ?To? if line tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat for the Cc recipients: repeat for each line tRecipient in fld ?Cc? if line tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat and for the Bcc: repeat for each line tRecipient in fld ?Bcc? if line tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat Regarding Dave?s question about Html. As you mentioned already,Sarahs library gives good advice how to implement that and it should work with tsNet. At least if you create smtp message (tPostData) correctly. For those who are intrested in Sarah?s scripts and library: She uploaded hem all to GitHub https://github.com/trozware/rev_stacks Regards, Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 From monte at appisle.net Fri Sep 16 19:20:34 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 17 Sep 2016 09:20:34 +1000 Subject: Copying text from LC Script Editor In-Reply-To: <351ca248-51f5-c624-4ac2-c2c7c6508826@hyperactivesw.com> References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> <010a01d21034$45e11b50$d1a351f0$@consensustech.com> <351ca248-51f5-c624-4ac2-c2c7c6508826@hyperactivesw.com> Message-ID: <1E5F85FD-A27F-4D8B-AD42-CD3A451A43F7@appisle.net> > On 17 Sep 2016, at 5:28 AM, J. Landman Gay wrote: > > My hunch is that it's a line-ending translation issue. I?m wondering if it?s a html issue. What LiveCode uses as a paragraph `

` is more like a `
` as in LiveCode it?s represented by a single line break with no vertical whitespace in most html views it will have some vertical whitespace in there. If that?s the case then I?m really not sure how we could work around it in a backwards compatible way. Cheers Monte From matthias_livecode_150811 at m-r-d.de Fri Sep 16 19:22:06 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 01:22:06 +0200 Subject: tSettings["username"] In-Reply-To: References: Message-ID: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> It?s late and i should go to sleep? After rereading i found an error in the if statement of the scripts. Here are the correct ones. then for the To recipients you would write: repeat for each line tRecipient in fld ?To? if tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat for the Cc recipients: repeat for each line tRecipient in fld ?Cc? if tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat and for the Bcc: repeat for each line tRecipient in fld ?Bcc? if tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult end repeat > Am 17.09.2016 um 01:06 schrieb Matthias Rebbe : > > 2nd try. > > >> Am 16.09.2016 um 22:29 schrieb Mark Clark >: >> >> Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > regarding the multiple to: > > 1. you have to add the additional To recipients also to the smtp header. You have to separate the recipients with Comma. > The line must end with CRLF. > > To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com > > For CC recipients it?s the same > Cc: me at livecode.com, you at livecode.com, who at livecode.com > > A sample smtp header would then look like this: > > Content-Type: text/plain; charset=utf-8 > Date: Sat, 17 Sep 2016 00:37:04 +0200 > From: support at myawesomecompany.com > To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com > Cc: me at livecode.com, you at livecode.com, who at livecode.com > Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?= > > This is the message. > > > > Very important : Bcc Recipients are not added to the SMTP header ! ! ! > > > 2. for sending you have to call the tsNetSmptSync function for every To, Cc and Bcc recipient. > > Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress. > > > then for the To recipients you would write: > > repeat for each line tRecipient in fld ?To? > if line tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > for the Cc recipients: > > repeat for each line tRecipient in fld ?Cc? > if line tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > and for the Bcc: > > repeat for each line tRecipient in fld ?Bcc? > if line tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > > Regarding Dave?s question about Html. As you mentioned already,Sarahs library gives good advice how to implement that and it should work with tsNet. At least if you create smtp message (tPostData) correctly. > > For those who are intrested in Sarah?s scripts and library: She uploaded hem all to GitHub > https://github.com/trozware/rev_stacks > > Regards, > > Matthias > > > > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Fri Sep 16 19:45:02 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 16 Sep 2016 16:45:02 -0700 Subject: Playing Sound question In-Reply-To: <7E8F0733-14CE-46DD-AF79-38F4AFC79941@earthednet.org> References: <37D220F5-D577-4DE5-9F4D-8FDC03BE1B3E@earthednet.org> <7E8F0733-14CE-46DD-AF79-38F4AFC79941@earthednet.org> Message-ID: Folks: I have a small sample stack that plays audio on desktop and iOS. I haven?t debugged in on Android or Windows, but if anybody would like to see it, here is the link. https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 It?s very simple, but for those who are not familiar with playing sounds in version 8, it may save you some time. Best, Bill > On Sep 15, 2016, at 5:49 PM, William Prothero wrote: > > Last thing to do: get it working in iOS. The avPlayer object doesn?t work for me in the simulator. I?ll have to experiment further. > > If anybody has any suggestions of which command to use, plse comment. I?m done for the day. > Otherwise, I?ll fumble around in the dictionary until I find something that works. > > I?m making a test stack that I?ll share when I?m done. > Best, > Bill > >> On Sep 15, 2016, at 5:36 PM, William Prothero wrote: >> >> Ok, answered my own question. Set the playLoudness of player ?playername? to ?a percentage between 0 and 100? >> >> It would be nice if that property was mentioned in the player object dictionary entry. >> Best, >> Bill >> >>> On Sep 15, 2016, at 5:30 PM, William Prothero wrote: >>> >>> I made a test stack with 3 players. BUT, I can?t find a property to set the volume level of the players. Is there a way to set the play volume? >>> Bill >>> >>> >>>> On Sep 15, 2016, at 5:11 PM, William Prothero wrote: >>>> >>>> Folks: >>>> I have an app that I am building for mobile. In previous versions of LC, I used the >>>> mobilePlaySoundOnChannel >>>> command and its associated control commands. I play an mp3 file. >>>> This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. >>>> >>>> I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. >>>> >>>> So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. >>>> >>>> Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? >>>> >>>> Best, >>>> Bill >>>> >>>> William Prothero, Ph.D. >>>> University of California, Santa Barbara, Emeritus >>>> prothero at earthednet.org >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Fri Sep 16 20:00:37 2016 From: paul at livecode.org (Paul Hibbert) Date: Fri, 16 Sep 2016 17:00:37 -0700 Subject: Copying text from LC Script Editor In-Reply-To: <1E5F85FD-A27F-4D8B-AD42-CD3A451A43F7@appisle.net> References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> <010a01d21034$45e11b50$d1a351f0$@consensustech.com> <351ca248-51f5-c624-4ac2-c2c7c6508826@hyperactivesw.com> <1E5F85FD-A27F-4D8B-AD42-CD3A451A43F7@appisle.net> Message-ID: It?s not just the SE that has this behaviour, any text from a LC field does the same, with in the IDE and in a standalone, on Mac at least. Example from text typed into a LC 8.1.0 field:? Line 1 Line 2 Line 3 Last Line Paul -- Livecode 8.1.0 on Mac OS X El Capitan Version 10.11.6 > On Sep 16, 2016, at 4:20 PM, Monte Goulding wrote: > > >> On 17 Sep 2016, at 5:28 AM, J. Landman Gay wrote: >> >> My hunch is that it's a line-ending translation issue. > > I?m wondering if it?s a html issue. What LiveCode uses as a paragraph `

` is more like a `
` as in LiveCode it?s represented by a single line break with no vertical whitespace in most html views it will have some vertical whitespace in there. If that?s the case then I?m really not sure how we could work around it in a backwards compatible way. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Fri Sep 16 20:56:57 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 17 Sep 2016 10:56:57 +1000 Subject: Copying text from LC Script Editor In-Reply-To: References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> <010a01d21034$45e11b50$d1a351f0$@consensustech.com> <351ca248-51f5-c624-4ac2-c2c7c6508826@hyperactivesw.com> <1E5F85FD-A27F-4D8B-AD42-CD3A451A43F7@appisle.net> Message-ID: <3C19FE13-C8FA-41D0-BBE2-076E8439486D@appisle.net> > On 17 Sep 2016, at 10:00 AM, Paul Hibbert wrote: > > It?s not just the SE that has this behaviour, any text from a LC field does the same, with in the IDE and in a standalone, on Mac at least. Yes? perhaps it isn?t what I thought as it looks like it works fine in 6.7. Is there an open bug report on this? Cheers Monte From brahma at hindu.org Sat Sep 17 00:11:41 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 17 Sep 2016 04:11:41 +0000 Subject: Maintain Order in JSON Import In-Reply-To: <2a570a9c-6a98-fa76-e93c-dc1c9a71cf67@fourthworld.com> References: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> <2a570a9c-6a98-fa76-e93c-dc1c9a71cf67@fourthworld.com> Message-ID: <4A0CF182-FB19-4AD3-B44D-12815933CEE5@hindu.org> Richard Gaskin" wrote: YAML was designed to provide similar serialization to/from plain text, but optimized for human readability/writability. Mark Wieder has a nice pair of functions for using it in LC, converting to and from arrays. BR: where can I get these? From brahma at hindu.org Sat Sep 17 00:20:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 17 Sep 2016 04:20:38 +0000 Subject: Maintain Order in JSON Import In-Reply-To: <4A0CF182-FB19-4AD3-B44D-12815933CEE5@hindu.org> References: <9B1D3477-B5E6-406F-889E-53CA2A29B6AA@hindu.org> <2a570a9c-6a98-fa76-e93c-dc1c9a71cf67@fourthworld.com> <4A0CF182-FB19-4AD3-B44D-12815933CEE5@hindu.org> Message-ID: <410A3883-CCC2-4A10-AEF5-125E3D979427@hindu.org> Never mind.. I found it on the forums Mark just pasted his script there? no "lib" as such. On 9/16/16, 6:11 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: Richard Gaskin" wrote: YAML was designed to provide similar serialization to/from plain text, but optimized for human readability/writability. Mark Wieder has a nice pair of functions for using it in LC, converting to and from arrays. BR: where can I get these? From charles at techstrategies.com.au Sat Sep 17 03:52:11 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 17 Sep 2016 17:52:11 +1000 Subject: tSettings["username"] In-Reply-To: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> Message-ID: <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. As Matthias said, you also need to add the To: and Cc: headers accordingly. I have updated the LCMail.livecode stack to show an example: https://downloads.techstrategies.com.au/tsnet/LCMail.livecode ... and I will try make the documentation a bit clearer :-) @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. Cheers, Charles On 17/09/2016 9:22 AM, Matthias Rebbe wrote: > It?s late and i should go to sleep? > > After rereading i found an error in the if statement of the scripts. > > Here are the correct ones. > > then for the To recipients you would write: > > repeat for each line tRecipient in fld ?To? > if tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > for the Cc recipients: > > repeat for each line tRecipient in fld ?Cc? > if tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > and for the Bcc: > > repeat for each line tRecipient in fld ?Bcc? > if tRecipient is empty then next repeat > put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult > end repeat > > > >> Am 17.09.2016 um 01:06 schrieb Matthias Rebbe : >> >> 2nd try. >> >> >>> Am 16.09.2016 um 22:29 schrieb Mark Clark >: >>> >>> Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> regarding the multiple to: >> >> 1. you have to add the additional To recipients also to the smtp header. You have to separate the recipients with Comma. >> The line must end with CRLF. >> >> To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com >> >> For CC recipients it?s the same >> Cc: me at livecode.com, you at livecode.com, who at livecode.com >> >> A sample smtp header would then look like this: >> >> Content-Type: text/plain; charset=utf-8 >> Date: Sat, 17 Sep 2016 00:37:04 +0200 >> From: support at myawesomecompany.com >> To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com >> Cc: me at livecode.com, you at livecode.com, who at livecode.com >> Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?= >> >> This is the message. >> >> >> >> Very important : Bcc Recipients are not added to the SMTP header ! ! ! >> >> >> 2. for sending you have to call the tsNetSmptSync function for every To, Cc and Bcc recipient. >> >> Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress. >> >> >> then for the To recipients you would write: >> >> repeat for each line tRecipient in fld ?To? >> if line tRecipient is empty then next repeat >> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >> end repeat >> >> for the Cc recipients: >> >> repeat for each line tRecipient in fld ?Cc? >> if line tRecipient is empty then next repeat >> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >> end repeat >> >> and for the Bcc: >> >> repeat for each line tRecipient in fld ?Bcc? >> if line tRecipient is empty then next repeat >> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >> end repeat >> >> >> Regarding Dave?s question about Html. As you mentioned already,Sarahs library gives good advice how to implement that and it should work with tsNet. At least if you create smtp message (tPostData) correctly. >> >> For those who are intrested in Sarah?s scripts and library: She uploaded hem all to GitHub >> https://github.com/trozware/rev_stacks >> >> Regards, >> >> Matthias >> >> >> >> >> >> >> Matthias Rebbe >> Bramkampsieke 13 >> 32312 L?bbecke >> Tel +49 5741 310000 >> +49 160 5504462 >> Fax: +49 5741 310002 >> eMail: matthias at m-r-d.de >> >> BR5 Konverter - BR5 -> MP3 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sat Sep 17 03:57:47 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 17 Sep 2016 17:57:47 +1000 Subject: tsNet Qs In-Reply-To: <82E8DA49-F56B-4C84-B8C6-8513ED49DC06@gmail.com> References: <0b318c11-1353-0efd-b563-edb4b50a3dc1@techstrategies.com.au> <38C9C65C-3BAF-45BE-8DD5-3BF6C8C8FDBA@m-r-d.de> <82E8DA49-F56B-4C84-B8C6-8513ED49DC06@gmail.com> Message-ID: Colin, Is that . at the end of office365.com part of the address it is trying to connect to? If so, that would cause an issue. If not, if you try and ping office365.com from a command prompt on the Windows 10 machine, does it resolve the name to an IP address? Regards, Charles On 16/09/2016 10:06 PM, Colin.Kelly wrote: > Hi, > > The stack works fine on my mac but on Windows 10 I get the Error: > ?Error tsnetterr (6) could not resolve host: > office365.com. > returned from server? > > Any ideas? > > On 16/09/2016, 12:41, "use-livecode on behalf of Matthias Rebbe" wrote: > > Hi, > > i have now upgraded my demo stack with Charles corrections and additions. > The stack includes smtp and ftp samples. > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > > @Charles > If you want, you can use that stack for further modifications and extend it with further examples. > > Regards, > > Matthias > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > > Am 16.09.2016 um 13:24 schrieb Charles Warwick >: > > > > Hi Dave, > > > > Yes, you can include attachments in an e-mail. > > > > The pData parameter to the tsNetSmtp* commands is the raw e-mail message that you wish to send, complete with e-mail headers. > > > > So to send an attachment, you need to build the e-mail as a multi-part MIME message. > > > > I have just updated the LCMail stack (thanks to Neil and Matthias for that stack) to add an attachment when you click the "send" button. > > > > It is at the same URL as before: > > > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > > > Cheers, > > > > Charles > > > > > > On 16/09/2016 8:57 PM, Dave Kilroy wrote: > >> Thanks for your help with this Charles and others > >> > >> Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port? and not "scheme://host:port/path: as it is in the dictionary > >> > >> I?m so impressed with your external, it?s so fast and even fussy domains such as nhs.net email accounts accept emails sent by it without objection :) > >> > >> I have a question to ask though, is it possible to include an attachment with the email? > >> > >> Dave > >> > >> > >> > >> > >>> Hi Matthias, > >>> > >>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: > >>>> And here?s a simple script > >>>> > >>>> > >>>> > >>>> put TRUE into pSettings["use_ssl"] > >>>> > >>>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- > >>>> > >>>> > >>> That is not quite correct. > >>> > >>> Secure SMTP comes in two flavours, SSL and TLS. > >>> > >>> If you are using SMTP over SSL, then you just need a URL starting with > >>> "smtps://" and you do not need the "use_ssl" setting. > >>> If you are using SMTP over TLS, then you need a URL that looks like > >>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to > >>> invoke TLS. > >>> > >>> I have taken the liberty to update Neil's LCMail stack with a few radio > >>> buttons, so that it generates the URL and adds the "use_ssl" setting > >>> only when appropriate. You can download it here: > >>> > >>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > >>> > >>> As an aside, a similar concept applies when using FTPS in implicit or > >>> explicit mode: > >>> > >>> If you are using FTPS in implicit mode, then you just need a URL > >>> starting with "ftps://" and you do not need the "use_ssl" setting. > >>> If you are using FTPS in explicit mode, then you need a URL that starts > >>> with "ftp://" and you must use the "use_ssl" setting to invoke TLS. > >>> > >>> Regards, > >>> > >>> Charles > >>> > >>> > >>> > >>>> answer pResponseHeaders &return &tResult > >>>> > >>>> end mouseup > >>>> > >>>> > >>>> HTH, > >>>> > >>>> Matthias > >>>> > >>>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] >: > >>>>> > >>>>> Hi Mark, > >>>>> > >>>>> i just tried it with the stack from Neil Roger which is available here > >>>>> http://techsupport.on-rev.com/LCMail.zip > > >>>>> or an extended version, which includes also some FTP examples,here > >>>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html > > >>>>> > >>>>> Are you referring to that sample stack? > >>>>> > >>>>> I just tried it. I have no problems using it to send an email through one of my HostM email accounts to my iCloud email address. > >>>>> > >>>>> > >>>>> Matthias > >>>>> > >>>>> > >>>>> > >>>>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] >: > >>>>>> > >>>>>> I am looking to replace sending emails via shell to one using the tsNet library. At first I had thought there was a var for the smtp port, but that?s just a server address setting (whoops). > >>>>>> I am using hostM on this project and I?m trying to configure through their mail host- I have the proper settings for outgoing mail server (587), mail username (which is just the address for the account), and password. The error message I get back is (56) Failure when receiving data from peer/returned from server. I?m just slogging through the tsNet Sample Sync Stack to speed things up since sending the email should be trivial compared to the data enclosed in the actual message. But, sometimes that?s how it goes:) Other than the Dictionary and this sample stack does anyone have a pointer to a simple example using this external with a hosted mail service? > >>>>>> > >>>>>> thx, > >>>>>> mark c > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> [hidden email] > >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> [hidden email] > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> [hidden email] > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> ... [show rest of quote <>] > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Sep 17 04:10:03 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 10:10:03 +0200 Subject: tSettings["username"] In-Reply-To: <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> Message-ID: <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> Hi Charles, > Am 17.09.2016 um 09:52 schrieb Charles Warwick : > > The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. > Oh, thats brilliant. Much easier than doing a call for every address. So one can add To, CC and Bcc recipients into one variable. > As Matthias said, you also need to add the To: and Cc: headers accordingly. > > I have updated the LCMail.livecode stack to show an example: > > https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > > ... and I will try make the documentation a bit clearer :-) > > @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. Never mind. If i find the time today i will add your modifications to my stack and send it afterwards directly to you, if you don?t mind. Matthias > > Cheers, > > Charles > > > On 17/09/2016 9:22 AM, Matthias Rebbe wrote: >> It?s late and i should go to sleep? >> >> After rereading i found an error in the if statement of the scripts. >> >> Here are the correct ones. >> >> then for the To recipients you would write: >> >> repeat for each line tRecipient in fld ?To? >> if tRecipient is empty then next repeat >> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >> end repeat >> >> for the Cc recipients: >> >> repeat for each line tRecipient in fld ?Cc? >> if tRecipient is empty then next repeat >> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >> end repeat >> >> and for the Bcc: >> >> repeat for each line tRecipient in fld ?Bcc? >> if tRecipient is empty then next repeat >> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >> end repeat >> >> >> >>> Am 17.09.2016 um 01:06 schrieb Matthias Rebbe : >>> >>> 2nd try. >>> >>> >>>> Am 16.09.2016 um 22:29 schrieb Mark Clark >: >>>> >>>> Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> regarding the multiple to: >>> >>> 1. you have to add the additional To recipients also to the smtp header. You have to separate the recipients with Comma. >>> The line must end with CRLF. >>> >>> To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com >>> >>> For CC recipients it?s the same >>> Cc: me at livecode.com, you at livecode.com, who at livecode.com >>> >>> A sample smtp header would then look like this: >>> >>> Content-Type: text/plain; charset=utf-8 >>> Date: Sat, 17 Sep 2016 00:37:04 +0200 >>> From: support at myawesomecompany.com >>> To: email1 at runrev.com, email2 at runrev.com, email3 at runrev.com >>> Cc: me at livecode.com, you at livecode.com, who at livecode.com >>> Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?= >>> >>> This is the message. >>> >>> >>> >>> Very important : Bcc Recipients are not added to the SMTP header ! ! ! >>> >>> >>> 2. for sending you have to call the tsNetSmptSync function for every To, Cc and Bcc recipient. >>> >>> Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress. >>> >>> >>> then for the To recipients you would write: >>> >>> repeat for each line tRecipient in fld ?To? >>> if line tRecipient is empty then next repeat >>> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >>> end repeat >>> >>> for the Cc recipients: >>> >>> repeat for each line tRecipient in fld ?Cc? >>> if line tRecipient is empty then next repeat >>> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >>> end repeat >>> >>> and for the Bcc: >>> >>> repeat for each line tRecipient in fld ?Bcc? >>> if line tRecipient is empty then next repeat >>> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, tResponseHeaders,tBytes,tSettings) into tResult >>> end repeat >>> >>> >>> Regarding Dave?s question about Html. As you mentioned already,Sarahs library gives good advice how to implement that and it should work with tsNet. At least if you create smtp message (tPostData) correctly. >>> >>> For those who are intrested in Sarah?s scripts and library: She uploaded hem all to GitHub >>> https://github.com/trozware/rev_stacks >>> >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>> >>> >>> Matthias Rebbe >>> Bramkampsieke 13 >>> 32312 L?bbecke >>> Tel +49 5741 310000 >>> +49 160 5504462 >>> Fax: +49 5741 310002 >>> eMail: matthias at m-r-d.de >>> >>> BR5 Konverter - BR5 -> MP3 >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sat Sep 17 04:29:47 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 17 Sep 2016 18:29:47 +1000 Subject: tSettings["username"] In-Reply-To: <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> Message-ID: <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> Since I was on a roll, I decided to add HTML support to it as well. Updated version now available at the same URL. On 17/09/2016 6:10 PM, Matthias Rebbe wrote: > Hi Charles, > > >> Am 17.09.2016 um 09:52 schrieb Charles Warwick : >> >> The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. >> > > Oh, thats brilliant. Much easier than doing a call for every address. > So one can add To, CC and Bcc recipients into one variable. > > >> As Matthias said, you also need to add the To: and Cc: headers accordingly. >> >> I have updated the LCMail.livecode stack to show an example: >> >> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >> >> ... and I will try make the documentation a bit clearer :-) >> >> @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. > Never mind. If i find the time today i will add your modifications to my stack and send it afterwards directly to you, if you don?t mind. > > Matthias > From matthias_livecode_150811 at m-r-d.de Sat Sep 17 04:43:53 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 10:43:53 +0200 Subject: tSettings["username"] In-Reply-To: <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> Message-ID: Keep rolling, Charles, keep rolling! ;) > Am 17.09.2016 um 10:29 schrieb Charles Warwick >: > > Since I was on a roll, I decided to add HTML support to it as well. > > Updated version now available at the same URL. > > > On 17/09/2016 6:10 PM, Matthias Rebbe wrote: >> Hi Charles, >> >> >>> Am 17.09.2016 um 09:52 schrieb Charles Warwick >: >>> >>> The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. >>> >> >> Oh, thats brilliant. Much easier than doing a call for every address. >> So one can add To, CC and Bcc recipients into one variable. >> >> >>> As Matthias said, you also need to add the To: and Cc: headers accordingly. >>> >>> I have updated the LCMail.livecode stack to show an example: >>> >>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > >>> >>> ... and I will try make the documentation a bit clearer :-) >>> >>> @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. >> Never mind. If i find the time today i will add your modifications to my stack and send it afterwards directly to you, if you don?t mind. >> >> Matthias >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Sep 17 04:56:27 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 10:56:27 +0200 Subject: tSettings["username"] In-Reply-To: References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> Message-ID: <3ED09D51-CA27-44B0-9023-949C871C3036@m-r-d.de> Hi Charles, if you are still on the roll, the only thing that is now still missing is the handling of multiple attachments. ;) Regards, Matthias > Am 17.09.2016 um 10:43 schrieb Matthias Rebbe : > > Keep rolling, Charles, keep rolling! ;) > > >> Am 17.09.2016 um 10:29 schrieb Charles Warwick >: >> >> Since I was on a roll, I decided to add HTML support to it as well. >> >> Updated version now available at the same URL. >> >> >> On 17/09/2016 6:10 PM, Matthias Rebbe wrote: >>> Hi Charles, >>> >>> >>>> Am 17.09.2016 um 09:52 schrieb Charles Warwick >: >>>> >>>> The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. >>>> >>> >>> Oh, thats brilliant. Much easier than doing a call for every address. >>> So one can add To, CC and Bcc recipients into one variable. >>> >>> >>>> As Matthias said, you also need to add the To: and Cc: headers accordingly. >>>> >>>> I have updated the LCMail.livecode stack to show an example: >>>> >>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > >>>> >>>> ... and I will try make the documentation a bit clearer :-) >>>> >>>> @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. >>> Never mind. If i find the time today i will add your modifications to my stack and send it afterwards directly to you, if you don?t mind. >>> >>> Matthias >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sat Sep 17 05:21:58 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 17 Sep 2016 19:21:58 +1000 Subject: tSettings["username"] In-Reply-To: <3ED09D51-CA27-44B0-9023-949C871C3036@m-r-d.de> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> <3ED09D51-CA27-44B0-9023-949C871C3036@m-r-d.de> Message-ID: <7f07a534-eadd-2e8a-e418-9a87dfe8bfde@techstrategies.com.au> Matthias, The roll is finished for the day ;-) However, adding multiple attachments simply means changing the "if" statement on line 110 of the button "Send Email" script to a for loop, and sending an array of files/file contents to the createSmtpMessage function instead. Feel free to have a go at that if you like - otherwise I can update it in a day or two. There is one other issue related to attachments, and that is that it currently only supports attaching PDF documents. This is because on line 112 of the button "Send Email" script (within that "if" statement), I have hard-coded the "Content-Type" of the attachment that is sent with the following code: *put*"Content-Type: application/pdf;"& craftertPostData This needs to be changed so that the script automatically detects the type of attachment that is selected and adds the appropriate Content-Type header for each attachment. The most basic form of doing file type detection would be to use the file extension to determine its type. Obviously that would not be 100% accurate though. For some applications, the type of attachment might be known in advance. Cheers, Charles On 17/09/2016 6:56 PM, Matthias Rebbe wrote: > Hi Charles, > > if you are still on the roll, the only thing that is now still missing is the handling of multiple attachments. ;) > > Regards, > > Matthias > > >> Am 17.09.2016 um 10:43 schrieb Matthias Rebbe : >> >> Keep rolling, Charles, keep rolling! ;) >> >> >>> Am 17.09.2016 um 10:29 schrieb Charles Warwick >: >>> >>> Since I was on a roll, I decided to add HTML support to it as well. >>> >>> Updated version now available at the same URL. >>> >>> >>> On 17/09/2016 6:10 PM, Matthias Rebbe wrote: >>>> Hi Charles, >>>> >>>> >>>>> Am 17.09.2016 um 09:52 schrieb Charles Warwick >: >>>>> >>>>> The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. >>>>> >>>> Oh, thats brilliant. Much easier than doing a call for every address. >>>> So one can add To, CC and Bcc recipients into one variable. >>>> >>>> >>>>> As Matthias said, you also need to add the To: and Cc: headers accordingly. >>>>> >>>>> I have updated the LCMail.livecode stack to show an example: >>>>> >>>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > >>>>> >>>>> ... and I will try make the documentation a bit clearer :-) >>>>> >>>>> @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. >>>> Never mind. If i find the time today i will add your modifications to my stack and send it afterwards directly to you, if you don?t mind. >>>> >>>> Matthias >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sat Sep 17 05:30:19 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 17 Sep 2016 19:30:19 +1000 Subject: tSettings["username"] In-Reply-To: <7f07a534-eadd-2e8a-e418-9a87dfe8bfde@techstrategies.com.au> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> <3ED09D51-CA27-44B0-9023-949C871C3036@m-r-d.de> <7f07a534-eadd-2e8a-e418-9a87dfe8bfde@techstrategies.com.au> Message-ID: Not sure why that line of code came out looking like that, it was meant to be: put "Content-Type: application/pdf;" & cr after tPostData ... and for those that don't require MIME type detection for the client at the other end, another way to handle this would be to just change it to: put "Content-Type: application/octet-stream;" & cr after tPostData Cheers, Charles On 17/09/2016 7:21 PM, Charles Warwick wrote: > Matthias, > > The roll is finished for the day ;-) > > However, adding multiple attachments simply means changing the "if" > statement on line 110 of the button "Send Email" script to a for loop, > and sending an array of files/file contents to the createSmtpMessage > function instead. Feel free to have a go at that if you like - > otherwise I can update it in a day or two. > > There is one other issue related to attachments, and that is that it > currently only supports attaching PDF documents. This is because on > line 112 of the button "Send Email" script (within that "if" > statement), I have hard-coded the "Content-Type" of the attachment > that is sent with the following code: > > *put*"Content-Type: application/pdf;"& craftertPostData > > This needs to be changed so that the script automatically detects the > type of attachment that is selected and adds the appropriate > Content-Type header for each attachment. The most basic form of doing > file type detection would be to use the file extension to determine > its type. Obviously that would not be 100% accurate though. > > For some applications, the type of attachment might be known in advance. > > Cheers, > > Charles > > > On 17/09/2016 6:56 PM, Matthias Rebbe wrote: >> Hi Charles, >> >> if you are still on the roll, the only thing that is now still >> missing is the handling of multiple attachments. ;) >> >> Regards, >> >> Matthias >> >> >>> Am 17.09.2016 um 10:43 schrieb Matthias Rebbe >>> : >>> >>> Keep rolling, Charles, keep rolling! ;) >>> >>> >>>> Am 17.09.2016 um 10:29 schrieb Charles Warwick >>>> >>> >: >>>> >>>> Since I was on a roll, I decided to add HTML support to it as well. >>>> >>>> Updated version now available at the same URL. >>>> >>>> >>>> On 17/09/2016 6:10 PM, Matthias Rebbe wrote: >>>>> Hi Charles, >>>>> >>>>> >>>>>> Am 17.09.2016 um 09:52 schrieb Charles Warwick >>>>>> >>>>> >: >>>>>> >>>>>> The tsNetSmtp* functions can take multiple e-mail addresses in a >>>>>> single call, just ensure the tRecipient variable has one address >>>>>> per line. >>>>>> >>>>> Oh, thats brilliant. Much easier than doing a call for every address. >>>>> So one can add To, CC and Bcc recipients into one variable. >>>>> >>>>> >>>>>> As Matthias said, you also need to add the To: and Cc: headers >>>>>> accordingly. >>>>>> >>>>>> I have updated the LCMail.livecode stack to show an example: >>>>>> >>>>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode >>>>>> >>>>> > >>>>>> >>>>>> ... and I will try make the documentation a bit clearer :-) >>>>>> >>>>>> @Matthias: sorry, I made these changes before I saw you had >>>>>> updated your stack! Otherwise I would have made these changes to >>>>>> a copy of your stack instead. >>>>> Never mind. If i find the time today i will add your modifications >>>>> to my stack and send it afterwards directly to you, if you don?t >>>>> mind. >>>>> >>>>> Matthias >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Sep 17 05:36:33 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 17 Sep 2016 11:36:33 +0200 Subject: tSettings["username"] In-Reply-To: <7f07a534-eadd-2e8a-e418-9a87dfe8bfde@techstrategies.com.au> References: <035BA4BD-96B2-4056-BD64-FBC0C037B3FA@m-r-d.de> <8613771e-d6bd-9fb4-341d-809e3f91e0ce@techstrategies.com.au> <20C305F6-31B0-4158-B201-E4D492750D50@m-r-d.de> <2b010060-3861-84f0-fd1a-fd077ac4d017@techstrategies.com.au> <3ED09D51-CA27-44B0-9023-949C871C3036@m-r-d.de> <7f07a534-eadd-2e8a-e418-9a87dfe8bfde@techstrategies.com.au> Message-ID: <40BABEB0-3F05-44D7-881E-B1758CAE4EF4@m-r-d.de> Wouldn?t a Content-Type: application/octet-stream cover all files? At least using octet-stream we have not to fiddle around with setting the content-type according to the file extension. And most OSes detect the file type of a file by its extension, don?t they? Regards, Matthias > Am 17.09.2016 um 11:21 schrieb Charles Warwick : > > Matthias, > > The roll is finished for the day ;-) > > However, adding multiple attachments simply means changing the "if" statement on line 110 of the button "Send Email" script to a for loop, and sending an array of files/file contents to the createSmtpMessage function instead. Feel free to have a go at that if you like - otherwise I can update it in a day or two. > > There is one other issue related to attachments, and that is that it currently only supports attaching PDF documents. This is because on line 112 of the button "Send Email" script (within that "if" statement), I have hard-coded the "Content-Type" of the attachment that is sent with the following code: > > *put*"Content-Type: application/pdf;"& craftertPostData > > This needs to be changed so that the script automatically detects the type of attachment that is selected and adds the appropriate Content-Type header for each attachment. The most basic form of doing file type detection would be to use the file extension to determine its type. Obviously that would not be 100% accurate though. > > For some applications, the type of attachment might be known in advance. > > Cheers, > > Charles > > > On 17/09/2016 6:56 PM, Matthias Rebbe wrote: >> Hi Charles, >> >> if you are still on the roll, the only thing that is now still missing is the handling of multiple attachments. ;) >> >> Regards, >> >> Matthias >> >> >>> Am 17.09.2016 um 10:43 schrieb Matthias Rebbe : >>> >>> Keep rolling, Charles, keep rolling! ;) >>> >>> >>>> Am 17.09.2016 um 10:29 schrieb Charles Warwick >: >>>> >>>> Since I was on a roll, I decided to add HTML support to it as well. >>>> >>>> Updated version now available at the same URL. >>>> >>>> >>>> On 17/09/2016 6:10 PM, Matthias Rebbe wrote: >>>>> Hi Charles, >>>>> >>>>> >>>>>> Am 17.09.2016 um 09:52 schrieb Charles Warwick >: >>>>>> >>>>>> The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. >>>>>> >>>>> Oh, thats brilliant. Much easier than doing a call for every address. >>>>> So one can add To, CC and Bcc recipients into one variable. >>>>> >>>>> >>>>>> As Matthias said, you also need to add the To: and Cc: headers accordingly. >>>>>> >>>>>> I have updated the LCMail.livecode stack to show an example: >>>>>> >>>>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode > >>>>>> >>>>>> ... and I will try make the documentation a bit clearer :-) >>>>>> >>>>>> @Matthias: sorry, I made these changes before I saw you had updated your stack! Otherwise I would have made these changes to a copy of your stack instead. >>>>> Never mind. If i find the time today i will add your modifications to my stack and send it afterwards directly to you, if you don?t mind. >>>>> >>>>> Matthias >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Sep 17 10:08:39 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 17 Sep 2016 10:08:39 -0400 Subject: Playing Sound question In-Reply-To: References: <37D220F5-D577-4DE5-9F4D-8FDC03BE1B3E@earthednet.org> <7E8F0733-14CE-46DD-AF79-38F4AFC79941@earthednet.org> Message-ID: Hi Bill, Thanks for the meditation! LOL Rick > On Sep 16, 2016, at 7:45 PM, William Prothero wrote: > > Folks: > I have a small sample stack that plays audio on desktop and iOS. I haven?t debugged in on Android or Windows, but if anybody would like to see it, here is the link. > > https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 > > It?s very simple, but for those who are not familiar with playing sounds in version 8, it may save you some time. > Best, > Bill > >> On Sep 15, 2016, at 5:49 PM, William Prothero wrote: >> >> Last thing to do: get it working in iOS. The avPlayer object doesn?t work for me in the simulator. I?ll have to experiment further. >> >> If anybody has any suggestions of which command to use, plse comment. I?m done for the day. >> Otherwise, I?ll fumble around in the dictionary until I find something that works. >> >> I?m making a test stack that I?ll share when I?m done. >> Best, >> Bill >> >>> On Sep 15, 2016, at 5:36 PM, William Prothero wrote: >>> >>> Ok, answered my own question. Set the playLoudness of player ?playername? to ?a percentage between 0 and 100? >>> >>> It would be nice if that property was mentioned in the player object dictionary entry. >>> Best, >>> Bill >>> >>>> On Sep 15, 2016, at 5:30 PM, William Prothero wrote: >>>> >>>> I made a test stack with 3 players. BUT, I can?t find a property to set the volume level of the players. Is there a way to set the play volume? >>>> Bill >>>> >>>> >>>>> On Sep 15, 2016, at 5:11 PM, William Prothero wrote: >>>>> >>>>> Folks: >>>>> I have an app that I am building for mobile. In previous versions of LC, I used the >>>>> mobilePlaySoundOnChannel >>>>> command and its associated control commands. I play an mp3 file. >>>>> This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. >>>>> >>>>> I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. >>>>> >>>>> So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. >>>>> >>>>> Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? >>>>> >>>>> Best, >>>>> Bill >>>>> >>>>> William Prothero, Ph.D. >>>>> University of California, Santa Barbara, Emeritus >>>>> prothero at earthednet.org >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Sat Sep 17 11:28:20 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 17 Sep 2016 08:28:20 -0700 Subject: Playing Sound question In-Reply-To: References: <37D220F5-D577-4DE5-9F4D-8FDC03BE1B3E@earthednet.org> <7E8F0733-14CE-46DD-AF79-38F4AFC79941@earthednet.org> Message-ID: <42246B02-1496-4914-869C-B6B96EA5232A@earthednet.org> Rick, It's for an update of a very simple app that plays a collection of sound files of yoga poses in a user defined order, with settable pauses containing only background sounds. It's for my own use for a yoga experience I share with my friends. I made it as an intro to making an iOS app. The recent update of the iOS made my previous version crash, tho so I am redoing it in lc8. The biggest challenge is dealing with the certificate and provisioning challenges that always seem to take a full day to sort out. I really should make the example I shared look better in the iOS simulator, tho. The basic code is a start. Best, Bill William Prothero http://es.earthednet.org > On Sep 17, 2016, at 7:08 AM, Rick Harrison wrote: > > Hi Bill, > > Thanks for the meditation! LOL > > Rick > >> On Sep 16, 2016, at 7:45 PM, William Prothero wrote: >> >> Folks: >> I have a small sample stack that plays audio on desktop and iOS. I haven?t debugged in on Android or Windows, but if anybody would like to see it, here is the link. >> >> https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 >> >> It?s very simple, but for those who are not familiar with playing sounds in version 8, it may save you some time. >> Best, >> Bill >> >>> On Sep 15, 2016, at 5:49 PM, William Prothero wrote: >>> >>> Last thing to do: get it working in iOS. The avPlayer object doesn?t work for me in the simulator. I?ll have to experiment further. >>> >>> If anybody has any suggestions of which command to use, plse comment. I?m done for the day. >>> Otherwise, I?ll fumble around in the dictionary until I find something that works. >>> >>> I?m making a test stack that I?ll share when I?m done. >>> Best, >>> Bill >>> >>>> On Sep 15, 2016, at 5:36 PM, William Prothero wrote: >>>> >>>> Ok, answered my own question. Set the playLoudness of player ?playername? to ?a percentage between 0 and 100? >>>> >>>> It would be nice if that property was mentioned in the player object dictionary entry. >>>> Best, >>>> Bill >>>> >>>>> On Sep 15, 2016, at 5:30 PM, William Prothero wrote: >>>>> >>>>> I made a test stack with 3 players. BUT, I can?t find a property to set the volume level of the players. Is there a way to set the play volume? >>>>> Bill >>>>> >>>>> >>>>>> On Sep 15, 2016, at 5:11 PM, William Prothero wrote: >>>>>> >>>>>> Folks: >>>>>> I have an app that I am building for mobile. In previous versions of LC, I used the >>>>>> mobilePlaySoundOnChannel >>>>>> command and its associated control commands. I play an mp3 file. >>>>>> This no longer works on LC8.1 (at least on the simulator) in the latest iOS version. >>>>>> >>>>>> I have two looping sounds that are background and another sound containing instructions, that play over the looping background sound. To do this, I?ve created 3 players and each plays one of the sounds. >>>>>> >>>>>> So, does the player widget work on iOS too? I can get it working in the IDE. There are numerous sound play commands listed in the dictionary and it?s very confusing which ones apply to the new avFoundation player. >>>>>> >>>>>> Could someone enlighten me. Do I need 3 players, or are there channels in the avFoundation player? Will the avFoundation player play in iOS? Are the mobilePlaySoundOnChannel commands deprecated or am I just getting confused because they don?t work in the simulator? >>>>>> >>>>>> Best, >>>>>> Bill >>>>>> >>>>>> William Prothero, Ph.D. >>>>>> University of California, Santa Barbara, Emeritus >>>>>> prothero at earthednet.org >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Sep 17 14:00:20 2016 From: jbv at souslelogo.com (jbv) Date: Sat, 17 Sep 2016 20:00:20 +0200 Subject: test color question Message-ID: <00bed4f2e8d1a5572567e616690830d0.squirrel@sage.on-rev.com> Hi list Please consider the following lines of script : set the forecolor of char 1 to 10 of line 1 of fld 1 to "red" put line 1 of fld 1 into fld 2 the text is in fld 2, but the color is gone... Is there a way to keep the color (and other style properties) whzn moving text between fields, or when sorting lines inside a fld ? I know that can be done with HTMLtext (but for what I have to do it's much too slow)... I have also tried the styledText, but to no avail (things don't really happen like explained in the doc)... Thanks in advance. jbv From tore.nilsen at me.com Sat Sep 17 14:51:30 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Sat, 17 Sep 2016 20:51:30 +0200 Subject: test color question In-Reply-To: <00bed4f2e8d1a5572567e616690830d0.squirrel@sage.on-rev.com> References: <00bed4f2e8d1a5572567e616690830d0.squirrel@sage.on-rev.com> Message-ID: <47B43F6C-E901-4285-BF48-638C72B22600@me.com> Try this, it works for me: set the forecolor of char 1 to 10 of line 1 of field 1 to "red" set the styledText of field 2 to the styledText of line 1 of field 1 Regards Tore > 17. sep. 2016 kl. 20.00 skrev jbv : > > Hi list > > Please consider the following lines of script : > > set the forecolor of char 1 to 10 of line 1 of fld 1 to "red" > put line 1 of fld 1 into fld 2 > > the text is in fld 2, but the color is gone... > Is there a way to keep the color (and other style properties) whzn > moving text between fields, or when sorting lines inside a fld ? > > I know that can be done with HTMLtext (but for what I have to do > it's much too slow)... > I have also tried the styledText, but to no avail (things don't > really happen like explained in the doc)... > > Thanks in advance. > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sat Sep 17 17:30:05 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 17 Sep 2016 21:30:05 +0000 Subject: Constrain word delimiter to space only Message-ID: <8AD2A856-3674-481A-A6B3-4AB418E3A245@hindu.org> if you do this put "He said, " & quote & "LiveCode has a very supportive community." & quote into tQuote put word 3 of the quote you get ""LiveCode has a very supportive community." is there a way to contrain the word delimiter to not include the straight quote as a delimiter? from an editor's point of view, this has 8 words not 3 He said, "LiveCode has a very supportive community." BR From bonnmike at gmail.com Sat Sep 17 17:50:22 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 17 Sep 2016 15:50:22 -0600 Subject: Constrain word delimiter to space only In-Reply-To: <8AD2A856-3674-481A-A6B3-4AB418E3A245@hindu.org> References: <8AD2A856-3674-481A-A6B3-4AB418E3A245@hindu.org> Message-ID: set the itemdelimiter to space and use that instead. On Sat, Sep 17, 2016 at 3:30 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > if you do this > > put "He said, " & quote & "LiveCode has a very supportive community." & > quote into tQuote > put word 3 of the quote > > > you get ""LiveCode has a very supportive community." > > is there a way to contrain the word delimiter to not include the straight > quote as a delimiter? > > from an editor's point of view, this has 8 words not 3 > > He said, "LiveCode has a very supportive community." > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Sep 17 17:56:29 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Sep 2016 14:56:29 -0700 Subject: Constrain word delimiter to space only In-Reply-To: <8AD2A856-3674-481A-A6B3-4AB418E3A245@hindu.org> References: <8AD2A856-3674-481A-A6B3-4AB418E3A245@hindu.org> Message-ID: <900bc37b-fde2-f076-7af6-eabbde77f066@fourthworld.com> Sannyasin Brahmanathaswami wrote: > if you do this > > put "He said, " & quote & "LiveCode has a very supportive community." > & quote into tQuote > put word 3 of the quote > > > you get ""LiveCode has a very supportive community." > > is there a way to contrain the word delimiter to not include the > straight quote as a delimiter? > > from an editor's point of view, this has 8 words not 3 > > He said, "LiveCode has a very supportive community." The trueWord chunk type was added early in the v7 series to take advantage of the Unicode lib's parsing rules that account for quotes and punctuation. e.g.: put trueWord 3 of tQuote -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bonnmike at gmail.com Sat Sep 17 17:57:52 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 17 Sep 2016 15:57:52 -0600 Subject: Constrain word delimiter to space only In-Reply-To: <900bc37b-fde2-f076-7af6-eabbde77f066@fourthworld.com> References: <8AD2A856-3674-481A-A6B3-4AB418E3A245@hindu.org> <900bc37b-fde2-f076-7af6-eabbde77f066@fourthworld.com> Message-ID: I still forget about trueword. Thanks for the reminder. On Sat, Sep 17, 2016 at 3:56 PM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > if you do this > > > > put "He said, " & quote & "LiveCode has a very supportive community." > > & quote into tQuote > > put word 3 of the quote > > > > > > you get ""LiveCode has a very supportive community." > > > > is there a way to contrain the word delimiter to not include the > > straight quote as a delimiter? > > > > from an editor's point of view, this has 8 words not 3 > > > > He said, "LiveCode has a very supportive community." > > The trueWord chunk type was added early in the v7 series to take advantage > of the Unicode lib's parsing rules that account for quotes and punctuation. > > e.g.: > > put trueWord 3 of tQuote > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sun Sep 18 08:22:03 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 18 Sep 2016 08:22:03 -0400 Subject: How can I "fake" the appearance of merged cells (like in Excel) In-Reply-To: References: Message-ID: As it turns out, a button works better than a field because its label is centered both vertically and horizontally. The issue is defining the size of the rect. If the table field has the same content in item 3 of lines 5 to 7, I need to find the rect of those 3 cells combined. The formattedWidth and height only gives the size of the content, but I need the visible grid cell dimensions. ~Roger On Sep 16, 2016 5:53 PM, "Roger Eller" wrote: > I have a table field with about 10 columns. Some of the cells may contain > the same data as the cell above and/or below it. I want to visually > portray these occurances as a single cell with the text centered within the > visually larger cell. > > How would you approach this problem? Would you overlay an opaque field > whose rectangle is that of the combined cells? > > I need it to scroll too. Thoughts? Creative solutions? No, not gonna > use Excel. ;-) > > ~Roger > > > From livfoss at mac.com Sun Sep 18 12:18:43 2016 From: livfoss at mac.com (Graham Samuel) Date: Sun, 18 Sep 2016 18:18:43 +0200 Subject: LC 8.1 Mac - Crash on name change Message-ID: I just opened a ?legacy? stack (LC7.x format), made a few changes, and tried to save it as an LC8 native version in a new folder. I got several warnings that the stack was already open - seemingly inappropriate - and then LC crashed. I reopened it and my new version had been saved, but not the changes I made. This is all on a Mac running El Capitan 10.11.6 This looks like a bug to me, but I just wonder if anyone has experienced anything like this before I report it. Graham From curry at pair.com Sun Sep 18 12:20:54 2016 From: curry at pair.com (Curry Kenworthy) Date: Sun, 18 Sep 2016 12:20:54 -0400 Subject: How can I "fake" the appearance of merged cells (like in Excel) In-Reply-To: References: Message-ID: <57DEBEE6.3040302@pair.com> Howdy, You can use math for that, either from scratch or starting from formattedrect. Easy if there's a consistent line height, but should be doable even if there isn't. Depending on the content there are ways of faking stuff like this, but there were even more ways in the past with some LC versions. You know me, I love fields. :) Best wishes, Curry Kenworthy -- Need custom software development or LiveCode help? http://curryk.com/consulting/ ================ > As it turns out, a button works better than a field because its label is > centered both vertically and horizontally. > > The issue is defining the size of the rect. If the table field has the > same content in item 3 of lines 5 to 7, I need to find the rect of those 3 > cells combined. The formattedWidth and height only gives the size of the > content, but I need the visible grid cell dimensions. > > ~Roger From ahsoftware at sonic.net Sun Sep 18 12:41:14 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 18 Sep 2016 09:41:14 -0700 Subject: LC 8.1 Mac - Crash on name change In-Reply-To: References: Message-ID: <11841d0f-7c26-a94e-8a1a-dc8a0f42db91@sonic.net> On 09/18/2016 09:18 AM, Graham Samuel wrote: > I just opened a ?legacy? stack (LC7.x format), made a few changes, and tried to save it as an LC8 native version in a new folder. I got several warnings that the stack was already open - seemingly inappropriate - and then LC crashed. I reopened it and my new version had been saved, but not the changes I made. > > This is all on a Mac running El Capitan 10.11.6 > > This looks like a bug to me, but I just wonder if anyone has experienced anything like this before I report it. I just had a crash on save of a new stack (so that's a bit different), but I added my crash log to bug 18320. -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Sun Sep 18 12:45:29 2016 From: livfoss at mac.com (Graham Samuel) Date: Sun, 18 Sep 2016 18:45:29 +0200 Subject: LC 8.1 Mac - Crash on name change In-Reply-To: <11841d0f-7c26-a94e-8a1a-dc8a0f42db91@sonic.net> References: <11841d0f-7c26-a94e-8a1a-dc8a0f42db91@sonic.net> Message-ID: Thanks - I will see how repeatable I can make my own crash, and hopefully add my two eurocents to bug 18320 Graham > On 18 Sep 2016, at 18:41, Mark Wieder wrote: > > On 09/18/2016 09:18 AM, Graham Samuel wrote: >> I just opened a ?legacy? stack (LC7.x format), made a few changes, and tried to save it as an LC8 native version in a new folder. I got several warnings that the stack was already open - seemingly inappropriate - and then LC crashed. I reopened it and my new version had been saved, but not the changes I made. >> >> This is all on a Mac running El Capitan 10.11.6 >> >> This looks like a bug to me, but I just wonder if anyone has experienced anything like this before I report it. > > I just had a crash on save of a new stack (so that's a bit different), but I added my crash log to bug 18320. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sun Sep 18 14:09:35 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 18 Sep 2016 20:09:35 +0200 Subject: LC 8.1 Mac - Crash on name change In-Reply-To: References: Message-ID: You are not alone. I noticed that also, but had not the time yet to investigate further or report it as bug. Matthias > Am 18.09.2016 um 18:18 schrieb Graham Samuel : > > I just opened a ?legacy? stack (LC7.x format), made a few changes, and tried to save it as an LC8 native version in a new folder. I got several warnings that the stack was already open - seemingly inappropriate - and then LC crashed. I reopened it and my new version had been saved, but not the changes I made. > > This is all on a Mac running El Capitan 10.11.6 > > This looks like a bug to me, but I just wonder if anyone has experienced anything like this before I report it. > > Graham > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Sun Sep 18 14:47:12 2016 From: dfepstein at comcast.net (David Epstein) Date: Sun, 18 Sep 2016 14:47:12 -0400 Subject: Bizarre problem setting a custom property Message-ID: From the message box, I type set the autoFitted of group ?a? of stack ?specs? to false Works as expected. But if I type set the frameOptions of group ?a? of stack ?specs? to false Fails with this message: Message execution error: Error description: Chunk: error in object expression Hint: Various other property names also fail, but I can?t detect a pattern. Any insights? Many thanks, David Epstein From bogdanoff at me.com Sun Sep 18 15:06:06 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 18 Sep 2016 12:06:06 -0700 Subject: Bizarre problem setting a custom property In-Reply-To: References: Message-ID: Is this in a version of LC 8.0 or 8.1? I have frequently experienced the IDE losing a connection to open stacks in 8.0. It doesn?t then know anything about them. I had to quit and reopen the stack to get it to work again. Things seem generally better in 8.1. Peter Bogdanoff On Sep 18, 2016, at 11:47 AM, David Epstein wrote: > set the autoFitted of group ?a? of stack ?specs? to false From dave at applicationinsight.com Sun Sep 18 15:18:47 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 18 Sep 2016 20:18:47 +0100 Subject: tSettings["username"] Message-ID: Charles, Matthias Thank you so much for adding more and more to this example stack!!! I can now send super-duper emails from the app :) From prothero at earthednet.org Sun Sep 18 16:05:44 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 18 Sep 2016 13:05:44 -0700 Subject: Object inspector question Message-ID: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Folks, I'm getting used to the object inspector in lc8, but notice that setting the font of a field or button is different. In v7 and earlier, the drop down menu showed a long list of fonts, but the new inspector show a short list of font types (system), etc. I can type in the name of a font and it does apply that font. But, what is the intended way to set the font of an object? Best, Bill William Prothero http://es.earthednet.org From merakosp at gmail.com Sun Sep 18 16:17:41 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 18 Sep 2016 23:17:41 +0300 Subject: Object inspector question In-Reply-To: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Message-ID: Hi Bill, Indeed the displayed font list in the PI is shorter in LC 8, but you can scroll down this list and choose the font you wish. There is an enhancement request to extend the height of this drop down font menu. Best, Panos -- On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp wrote: > Folks, > I'm getting used to the object inspector in lc8, but notice that setting > the font of a field or button is different. In v7 and earlier, the drop > down menu showed a long list of fonts, but the new inspector show a short > list of font types (system), etc. I can type in the name of a font and it > does apply that font. But, what is the intended way to set the font of an > object? > > Best, > Bill > > William Prothero > http://es.earthednet.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bernd.niggemann at uni-wh.de Sun Sep 18 16:17:26 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Sun, 18 Sep 2016 13:17:26 -0700 (PDT) Subject: code folding Message-ID: <1474229846197-4708589.post@n4.nabble.com> This is for the adventurous of the community. Some file swapping involved. I modified the Script Editor of Livecode 8.1.0 stable to allow basic code folding. This is experimental so you should not try this on your valuable work, only on copies. I tested it and did not have any data loss but still, who knows. What this modification does is to add in the Script Editor on right-click some options to the popUp menu. "fold-Unfold" This option is enabled if you right-click on a line that is either the begin of a handler, a if structure, a repeat structure, a switch structure or a case structure. It will fold these, right clicking on the underlined begin of the folding will unfold that structure. if you unfold a handler that has folded substructures it will unfold all, the handler and the substructures. "Fold All" this forces a compile and will fold all handlers in a given script. Can be applied on top of "fold-Unfold" "Unfold All" this will unfold all folded structures. When going into debug mode all folding will be unfolded. Returning to edit mode will leave the script unfolded. When folding a structure the line numbers will reflect the folding, i.e. will omit the folded line numbers However, in case you use the red dot to mark a breakpoint the position of that red dot will be wrong, although it will trigger in the debugger. The modifications are in those two files: revseeditorbehavior.livecodescript revsegutterbehavior.livecodescript on a Mac the are located in: Contents/Tools/Toolset/palettes/script editor/behaviors/revseeditorbehavior.livecodescript Contents/Tools/Toolset/palettes/script editor/behaviors/revsegutterbehavior.livecodescript You have to have write permissions to replace those files. On a Mac you right click on your copy of Livecode 8.1.0 stable and choose "show content" then navigate the path and right click on the files and choose "Inforation" There change your permissions to read write. Then you can swap the files. Maybe it is a good idea to move the unaltered/original files to a different place from where you can move them back into their folder if you want to undo the modification of the app. This is rather basic code folding not really integrated into the IDE, just bolted on. But if it works it might find its way into the IDE. To get the files download them zipped from http://berndniggemann.on-rev.com/fold/foldcode.zip Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Sun Sep 18 16:25:18 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Sun, 18 Sep 2016 13:25:18 -0700 (PDT) Subject: code folding In-Reply-To: <1474229846197-4708589.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> Message-ID: <1474230318346-4708590.post@n4.nabble.com> Maybe I should have added that folding takes time. I tested against the livecodeIDE file with nearly 12000 lines of code. That takes about 3 seconds to fold all handlers. For 5000 lines it is about a second. Unfold All for 12000 lines is a little more than a second, less for smaller scripts. toggling fold/unfold by using "fold-Unfold" is nearly instantaneous. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708590.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Sun Sep 18 16:31:30 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Sun, 18 Sep 2016 13:31:30 -0700 (PDT) Subject: How can I "fake" the appearance of merged cells (like in Excel) In-Reply-To: References: Message-ID: <1474230690458-4708591.post@n4.nabble.com> Hi Rodger this works for me if you are going with formatedRect to get to the left and right it is easier but you would have to find the fudge factors for that. make a button "indic" and change the script to reflect your table field ----------------------------------------------------- local sMyTable on mouseUp put "field" && quote & "myTable" & quote into sMyTable myTable 1, 2, 6 end mouseUp on MyTable pRow, pColumn, pLinesForIndicator put the left of sMyTable into tLeft put the top of sMyTable into tTop put the borderWidth of sMyTable into tBorderWidth put the leftMargin of sMyTable into tLeftMargin put tBorderWidth + tLeftMargin - 2 into tLeftFudge put the effective textHeight of sMyTable into tLineHeight put the tabWidths of sMyTable into tTabWidths put the number of items of tTabWidths into tWidthItems if tWidthItems = 1 then put item 1 of tTabWidths into tIndicWidth put (tTabWidths * (pColumn - 1)) into tLeftOfIndicator else if tWidthItems < pColumn then put item - 1 of tTabWidths into tIndicWidth put sum(tTabWidths) + ((pColumn - 1 - tWidthItems) * tIndicWidth) into tLeftOfIndicator end if if tWidthItems >= pColumn then put (item pColumn - 1 of tTabWidths * (pColumn - 1)) into tLeftOfIndicator put item pColumn of tTabWidths into tIndicWidth end if end if if pColumn > 1 then add tLeftFudge to tLeftOfIndicator subtract the hScroll of sMyTable from tLeftOfIndicator else add tLeftFudge to tIndicWidth end if put item 2 of the formattedRect of item pColumn of line pRow of sMyTable into tTopIndicator put item 4 of the formattedRect of item pColumn of line pRow +pLinesForIndicator - 1 of sMyTable into tBotIndicator lock screen set the width of btn "indic" to tIndicWidth set the height of btn "indic" to tBotIndicator - tTopIndicator set the left of btn "indic" to tLeft + tLeftOfIndicator set the top of btn "indic" to tTopIndicator unlock screen --breakpoint end MyTable ------------------------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-can-I-fake-the-appearance-of-merged-cells-like-in-Excel-tp4708548p4708591.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Sun Sep 18 16:49:23 2016 From: prothero at earthednet.org (William Prothero) Date: Sun, 18 Sep 2016 13:49:23 -0700 Subject: Object inspector question In-Reply-To: References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Message-ID: <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> Ah, yes! Thanks. Nice addition. Bill > On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: > > Hi Bill, > > Indeed the displayed font list in the PI is shorter in LC 8, but you can > scroll down this list and choose the font you wish. There is an enhancement > request to extend the height of this drop down font menu. > > Best, > Panos > -- > > On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp > wrote: > >> Folks, >> I'm getting used to the object inspector in lc8, but notice that setting >> the font of a field or button is different. In v7 and earlier, the drop >> down menu showed a long list of fonts, but the new inspector show a short >> list of font types (system), etc. I can type in the name of a font and it >> does apply that font. But, what is the intended way to set the font of an >> object? >> >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Sun Sep 18 17:25:15 2016 From: prothero at earthednet.org (William Prothero) Date: Sun, 18 Sep 2016 14:25:15 -0700 Subject: Another stupid question Message-ID: <15E0612F-FD14-453E-BAE3-95022F3CC11B@earthednet.org> Folks: I am building a simple stack and have a navigation bar widget on each card. When I run the app on the simulator, I don?t see the group that holds the navigation bar. The group holds the navigation bar widget and a field. Also, if I load a single widget on a card, it doesn?t show up. This has probably been covered, but I don?t see any way to add widgets to the Standalone Settings dialog box. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From benr_mc at cogapp.com Sun Sep 18 17:55:31 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 18 Sep 2016 22:55:31 +0100 Subject: Copying text from LC Script Editor In-Reply-To: <3C19FE13-C8FA-41D0-BBE2-076E8439486D@appisle.net> References: <8CB14906-82F8-4D1C-AF1F-1162BC6DB70B@me.com> <010a01d21034$45e11b50$d1a351f0$@consensustech.com> <351ca248-51f5-c624-4ac2-c2c7c6508826@hyperactivesw.com> <1E5F85FD-A27F-4D8B-AD42-CD3A451A43F7@appisle.net> <3C19FE13-C8FA-41D0-BBE2-076E8439486D@appisle.net> Message-ID: <1b711aba-8ef5-6a9d-3469-8c2ff5929a05@cogapp.com> On 17/09/2016 01:56, Monte Goulding wrote: >> > On 17 Sep 2016, at 10:00 AM, Paul Hibbert wrote: >> > >> > It?s not just the SE that has this behaviour, any text from a LC field does the same, with in the IDE and in a standalone, on Mac at least. > Yes? perhaps it isn?t what I thought as it looks like it works fine in 6.7. Is there an open bug report on this? Not sure if it's the same thing, but might be related: http://quality.livecode.com/show_bug.cgi?id=17918 Actually where #17918 hits me in particular is the inability to _paste_ into script editor. From prothero at earthednet.org Sun Sep 18 18:32:48 2016 From: prothero at earthednet.org (William Prothero) Date: Sun, 18 Sep 2016 15:32:48 -0700 Subject: Another stupid question In-Reply-To: <15E0612F-FD14-453E-BAE3-95022F3CC11B@earthednet.org> References: <15E0612F-FD14-453E-BAE3-95022F3CC11B@earthednet.org> Message-ID: <53F7EA0F-DFF0-4202-BC40-80A8FB8405ED@earthednet.org> Never mind. Found it with a Google search. Bill > On Sep 18, 2016, at 2:25 PM, William Prothero wrote: > > Folks: > I am building a simple stack and have a navigation bar widget on each card. When I run the app on the simulator, I don?t see the group that holds the navigation bar. The group holds the navigation bar widget and a field. Also, if I load a single widget on a card, it doesn?t show up. > > This has probably been covered, but I don?t see any way to add widgets to the Standalone Settings dialog box. > > Best, > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sun Sep 18 20:28:08 2016 From: tom at makeshyft.com (Tom Glod) Date: Sun, 18 Sep 2016 20:28:08 -0400 Subject: code folding In-Reply-To: <1474230318346-4708590.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> <1474230318346-4708590.post@n4.nabble.com> Message-ID: great addition...thanks. On Sun, Sep 18, 2016 at 4:25 PM, BNig wrote: > Maybe I should have added that folding takes time. > > I tested against the livecodeIDE file with nearly 12000 lines of code. That > takes about 3 seconds to fold all handlers. For 5000 lines it is about a > second. > > Unfold All for 12000 lines is a little more than a second, less for smaller > scripts. > > toggling fold/unfold by using "fold-Unfold" is nearly instantaneous. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/code-folding-tp4708589p4708590.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sun Sep 18 20:41:21 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 18 Sep 2016 20:41:21 -0400 Subject: As easy as talking english Message-ID: Hi All, Could you answer a question from a Slashdot Reader? Yesterday, Slashdot published news about Apple's contributions for teaching computer programming among young learners: https://news.slashdot.org/story/16/09/17/224204/codeorg-disses-wolfram-language-touts-apples-swift-playgrounds?sbsrc=md When I wrote this: "Young english learners have the choice of learning Computer Programming using a Programing Language that closely resemble their native language: Livecode. It's Open source, Multi-platform (Linux, Windows, Mac, etc,) and Free for education and non-commercial uses. I just hope that, someday, people who speak other languages could have this choice too." Johannesg answer the following: "I found the following example on wikipedia: repeat ten times put "Hello world at" && the long time & return after field 1 wait 1 second end repeat So what does this magical natural language-based language do? It uses the same keywords you find in other languages ("repeat", "end repeat"), it still requires quotes around quoted text, it still uses weird symbols ("&&" and "&"), and no doubt there are still significant restrictions on language structure because otherwise it would not be parseable without ambiguity. In other words, it is like every other computer language out there, except perhaps slightly more verbose in places because most other computer languages have done away with sticking "the" in front of nouns." Today, I still have a small headache since yesterday night, so if anyone have time to answer this question from Johannesg please visit the discussion at: https://news.slashdot.org/story/16/09/17/224204/codeorg-disses-wolfram-language-touts-apples-swift-playgrounds?sbsrc=md Thanks in advance! Alejandro From capellan2000 at gmail.com Sun Sep 18 21:01:27 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 18 Sep 2016 21:01:27 -0400 Subject: Playing Sound question Message-ID: Hi Bill, Just for curiosity. I tested your stack on Ubuntu Linux. In Ubuntu, the first button does not work at all, (Play MP3 AudioClip) but second button (Play Audioclip 1) loads mplayer into memory, and after clicking "Stop Playing" button the sound starts. As far as I know, there is no way to stop or resume mplayer from within LiveCode, except waiting until sound (or movie) is finished. Alejandro William Prothero wrote: > Folks: > I have a small sample stack that plays audio on desktop and iOS. > I haven?t debugged in on Android or Windows, but if anybody would > like to see it, here is the link. https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 > It?s very simple, but for those who are not familiar with playing sounds > in version 8, it may save you some time. From brahma at hindu.org Sun Sep 18 21:36:00 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 19 Sep 2016 01:36:00 +0000 Subject: code folding In-Reply-To: <1474230318346-4708590.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> <1474230318346-4708590.post@n4.nabble.com> Message-ID: <26CB40D9-E2B3-4872-A836-B6D505A44948@hindu.org> Thanks for this! Fold All doesn?t work here though.. fold-unfold for a single handler does. BR On 9/18/16, 10:25 AM, "use-livecode on behalf of BNig" wrote: Maybe I should have added that folding takes time. I tested against the livecodeIDE file with nearly 12000 lines of code. That takes about 3 seconds to fold all handlers. For 5000 lines it is about a second. Unfold All for 12000 lines is a little more than a second, less for smaller scripts. toggling fold/unfold by using "fold-Unfold" is nearly instantaneous. Kind regards Bernd From roger.e.eller at sealedair.com Sun Sep 18 22:08:59 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 18 Sep 2016 22:08:59 -0400 Subject: How can I "fake" the appearance of merged cells (like in Excel) In-Reply-To: <1474230690458-4708591.post@n4.nabble.com> References: <1474230690458-4708591.post@n4.nabble.com> Message-ID: Thanks for the ideas, and for the script. This is great! The thing I like about math in a program is - only having to do it once. :) ~Roger From irog at mac.com Sun Sep 18 22:37:09 2016 From: irog at mac.com (Roger Guay) Date: Sun, 18 Sep 2016 19:37:09 -0700 Subject: Object inspector question In-Reply-To: <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> Message-ID: <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> Hi Bill, I was complaining about this just a few weeks ago and decided to build my own plugin which you might like to look at. I?m sure you could easily tailor to suit your needs. https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0 Cheers, Roger > On Sep 18, 2016, at 1:49 PM, William Prothero wrote: > > Ah, yes! > Thanks. Nice addition. > Bill > >> On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: >> >> Hi Bill, >> >> Indeed the displayed font list in the PI is shorter in LC 8, but you can >> scroll down this list and choose the font you wish. There is an enhancement >> request to extend the height of this drop down font menu. >> >> Best, >> Panos >> -- >> >> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp >> wrote: >> >>> Folks, >>> I'm getting used to the object inspector in lc8, but notice that setting >>> the font of a field or button is different. In v7 and earlier, the drop >>> down menu showed a long list of fonts, but the new inspector show a short >>> list of font types (system), etc. I can type in the name of a font and it >>> does apply that font. But, what is the intended way to set the font of an >>> object? >>> >>> Best, >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Sun Sep 18 23:02:24 2016 From: prothero at earthednet.org (William Prothero) Date: Sun, 18 Sep 2016 20:02:24 -0700 Subject: Playing Sound question In-Reply-To: References: Message-ID: <2F2E8EC7-1231-430E-AE6E-3F0F6B3A6A07@earthednet.org> That?s very interesting. I wonder if it warrants a bug report? It works as promised on iOS and Mac 10.11.6. It?s a really simple demo, so perhaps it would help if I or you filed a bug report and the stack was a sample. The dictionary says the player works on Linux. The top buttons are just playing an audio clip without using the player. One thing to try is whether the file type matters. I included both mp3 and mp4 files. Best, Bill > On Sep 18, 2016, at 6:01 PM, Alejandro Tejada wrote: > > Hi Bill, > > Just for curiosity. I tested your stack > on Ubuntu Linux. > > In Ubuntu, the first button does not work at all, > (Play MP3 AudioClip) but second button > (Play Audioclip 1) loads mplayer into memory, > and after clicking "Stop Playing" button > the sound starts. > > As far as I know, there is no way to stop or > resume mplayer from within LiveCode, except > waiting until sound (or movie) is finished. > > Alejandro > > William Prothero wrote: > >> Folks: >> I have a small sample stack that plays audio on desktop and iOS. >> I haven?t debugged in on Android or Windows, but if anybody would >> like to see it, here is the link. > > https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 > >> It?s very simple, but for those who are not familiar with playing sounds >> in version 8, it may save you some time. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Sep 19 00:29:22 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 19 Sep 2016 00:29:22 -0400 Subject: Playing Sound question In-Reply-To: References: Message-ID: Hi Bill, After playing a bit more with this Sound Player Livecode Stack, the IDE crashed. LC 7.1.4 crashed after setting the playrate to 2 and changing the volume to 50. In fact, these features works and you could change the playrate and the volume of mplayer from the Properties Palette but after a while LC 7.1.4 simply crashed. But LC 8.0.2 crashed inmediatly after clicking the button "Play Audioclip 1". I had no chance to test if Play Movie feature work in LC 8.0.2 Before submitting a bug report, I will like that MORE Linux users test your stack in their own setup. Maybe the problem is only my own setup and this computer. Alejandro On Sun, Sep 18, 2016 at 9:01 PM, Alejandro Tejada wrote: > Hi Bill, > > Just for curiosity. I tested your stack > on Ubuntu Linux. > > In Ubuntu, the first button does not work at all, > (Play MP3 AudioClip) but second button > (Play Audioclip 1) loads mplayer into memory, > and after clicking "Stop Playing" button > the sound starts. > > As far as I know, there is no way to stop or > resume mplayer from within LiveCode, except > waiting until sound (or movie) is finished. > > Alejandro > > William Prothero wrote: > >> Folks: >> I have a small sample stack that plays audio on desktop and iOS. >> I haven?t debugged in on Android or Windows, but if anybody would >> like to see it, here is the link. > > https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 > >> It?s very simple, but for those who are not familiar with playing sounds >> in version 8, it may save you some time. From prothero at earthednet.org Mon Sep 19 01:25:47 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 18 Sep 2016 22:25:47 -0700 Subject: Playing Sound question In-Reply-To: References: Message-ID: <3244979A-AB1E-4504-9E5F-4BD64FE36C9B@earthednet.org> Alejandro, I built it on livecode 8.1.0, the release version. It should be tested on that version before giving up. Bill William Prothero http://es.earthednet.org > On Sep 18, 2016, at 9:29 PM, Alejandro Tejada wrote: > > Hi Bill, > > After playing a bit more with this Sound Player > Livecode Stack, the IDE crashed. > > LC 7.1.4 crashed after setting the playrate > to 2 and changing the volume to 50. > > In fact, these features works and you could change > the playrate and the volume of mplayer from > the Properties Palette but after a while LC 7.1.4 > simply crashed. > > But LC 8.0.2 crashed inmediatly after clicking > the button "Play Audioclip 1". I had no > chance to test if Play Movie feature work in > LC 8.0.2 > > Before submitting a bug report, I will like > that MORE Linux users test your stack in their > own setup. Maybe the problem is only my own > setup and this computer. > > Alejandro > > On Sun, Sep 18, 2016 at 9:01 PM, Alejandro Tejada > wrote: >> Hi Bill, >> >> Just for curiosity. I tested your stack >> on Ubuntu Linux. >> >> In Ubuntu, the first button does not work at all, >> (Play MP3 AudioClip) but second button >> (Play Audioclip 1) loads mplayer into memory, >> and after clicking "Stop Playing" button >> the sound starts. >> >> As far as I know, there is no way to stop or >> resume mplayer from within LiveCode, except >> waiting until sound (or movie) is finished. >> >> Alejandro >> >> William Prothero wrote: >> >>> Folks: >>> I have a small sample stack that plays audio on desktop and iOS. >>> I haven?t debugged in on Android or Windows, but if anybody would >>> like to see it, here is the link. >> >> https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 >> >>> It?s very simple, but for those who are not familiar with playing sounds >>> in version 8, it may save you some time. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Mon Sep 19 02:26:40 2016 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 18 Sep 2016 23:26:40 -0700 (PDT) Subject: code folding In-Reply-To: <1474229846197-4708589.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> Message-ID: <1474266400153-4708605.post@n4.nabble.com> Hi Bernd, Thanks for this.. you may want to look at this enhancement request.. http://quality.livecode.com/show_bug.cgi?id=6937 On LC 8.1 Win 10, folding individual handlers work great but not fold all. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708605.html Sent from the Revolution - User mailing list archive at Nabble.com. From merakosp at gmail.com Mon Sep 19 03:03:26 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Sep 2016 10:03:26 +0300 Subject: Playing Sound question In-Reply-To: References: <3244979A-AB1E-4504-9E5F-4BD64FE36C9B@earthednet.org> Message-ID: Hi all, Unfortunately, the LC player on Linux has been broken for a long time. Best, Panos On 19 Sep 2016 06:26, "Earthednet-wp" wrote: Alejandro, I built it on livecode 8.1.0, the release version. It should be tested on that version before giving up. Bill William Prothero http://es.earthednet.org > On Sep 18, 2016, at 9:29 PM, Alejandro Tejada wrote: > > Hi Bill, > > After playing a bit more with this Sound Player > Livecode Stack, the IDE crashed. > > LC 7.1.4 crashed after setting the playrate > to 2 and changing the volume to 50. > > In fact, these features works and you could change > the playrate and the volume of mplayer from > the Properties Palette but after a while LC 7.1.4 > simply crashed. > > But LC 8.0.2 crashed inmediatly after clicking > the button "Play Audioclip 1". I had no > chance to test if Play Movie feature work in > LC 8.0.2 > > Before submitting a bug report, I will like > that MORE Linux users test your stack in their > own setup. Maybe the problem is only my own > setup and this computer. > > Alejandro > > On Sun, Sep 18, 2016 at 9:01 PM, Alejandro Tejada > wrote: >> Hi Bill, >> >> Just for curiosity. I tested your stack >> on Ubuntu Linux. >> >> In Ubuntu, the first button does not work at all, >> (Play MP3 AudioClip) but second button >> (Play Audioclip 1) loads mplayer into memory, >> and after clicking "Stop Playing" button >> the sound starts. >> >> As far as I know, there is no way to stop or >> resume mplayer from within LiveCode, except >> waiting until sound (or movie) is finished. >> >> Alejandro >> >> William Prothero wrote: >> >>> Folks: >>> I have a small sample stack that plays audio on desktop and iOS. >>> I haven?t debugged in on Android or Windows, but if anybody would >>> like to see it, here is the link. >> >> https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 >> >>> It?s very simple, but for those who are not familiar with playing sounds >>> in version 8, it may save you some time. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Mon Sep 19 03:21:26 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 19 Sep 2016 00:21:26 -0700 (PDT) Subject: code folding In-Reply-To: <1474266400153-4708605.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> <1474266400153-4708605.post@n4.nabble.com> Message-ID: <1474269686774-4708607.post@n4.nabble.com> Hi Andy, Tom and Brahma, thanks for testing. "Fold All" works for me all the time but there is known inconsistency in variable naming which I corrected and uploaded. http://berndniggemann.on-rev.com/fold/foldcode.zip same instructions as before: unzip and install in Livecoe 8.1.0 stable replacing the respective files Contents/Tools/Toolset/palettes/script editor/behaviors/revseeditorbehavior.livecodescript Contents/Tools/Toolset/palettes/script editor/behaviors/revsegutterbehavior.livecodescript after restart of LC in the Script Editor right-click and "Fold All" If any of you could retest "Fold All" that would be very helpful. It is difficult to debug if it works :) Of course anyone who finds that "Fold All" does not or does work: please report this to the list or off list. Thanks Kind regards Bernd AndyP wrote > Hi Bernd, > > Thanks for this.. you may want to look at this enhancement request.. > http://quality.livecode.com/show_bug.cgi?id=6937 > > > On LC 8.1 Win 10, folding individual handlers work great but not fold all. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708607.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Mon Sep 19 03:28:52 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 19 Sep 2016 00:28:52 -0700 (PDT) Subject: code folding In-Reply-To: <1474269686774-4708607.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> <1474266400153-4708605.post@n4.nabble.com> <1474269686774-4708607.post@n4.nabble.com> Message-ID: <1474270132492-4708608.post@n4.nabble.com> And yes Andy, I am aware of that enhancement request and on the cc for it, thanks for pointing it out. Kind regards Bernd BNig wrote > Hi Andy, Tom and Brahma, > > thanks for testing. > > "Fold All" works for me all the time but there is known inconsistency in > variable naming which I corrected and uploaded. > > http://berndniggemann.on-rev.com/fold/foldcode.zip > > same instructions as before: unzip and install in Livecoe 8.1.0 stable > replacing the respective files > > Contents/Tools/Toolset/palettes/script > editor/behaviors/revseeditorbehavior.livecodescript > Contents/Tools/Toolset/palettes/script > editor/behaviors/revsegutterbehavior.livecodescript > > after restart of LC in the Script Editor right-click and "Fold All" > > If any of you could retest "Fold All" that would be very helpful. It is > difficult to debug if it works :) > > Of course anyone who finds that "Fold All" does not or does work: please > report this to the list or off list. Thanks > > Kind regards > Bernd > AndyP wrote >> Hi Bernd, >> >> Thanks for this.. you may want to look at this enhancement request.. >> http://quality.livecode.com/show_bug.cgi?id=6937 >> >> >> On LC 8.1 Win 10, folding individual handlers work great but not fold >> all. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708608.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Mon Sep 19 04:17:59 2016 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 19 Sep 2016 01:17:59 -0700 (PDT) Subject: code folding In-Reply-To: <1474270132492-4708608.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> <1474266400153-4708605.post@n4.nabble.com> <1474269686774-4708607.post@n4.nabble.com> <1474270132492-4708608.post@n4.nabble.com> Message-ID: <1474273079268-4708609.post@n4.nabble.com> Hi Bernd, Great, that sorted the problem. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708609.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Mon Sep 19 04:33:54 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 19 Sep 2016 01:33:54 -0700 (PDT) Subject: code folding In-Reply-To: <1474273079268-4708609.post@n4.nabble.com> References: <1474229846197-4708589.post@n4.nabble.com> <1474266400153-4708605.post@n4.nabble.com> <1474269686774-4708607.post@n4.nabble.com> <1474270132492-4708608.post@n4.nabble.com> <1474273079268-4708609.post@n4.nabble.com> Message-ID: <1474274034195-4708610.post@n4.nabble.com> Hi Andy, thanks for testing, very helpful. It is reassuring that "Fold All" now works for you. Kind regards Bernd AndyP wrote > Hi Bernd, > > Great, that sorted the problem. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708610.html Sent from the Revolution - User mailing list archive at Nabble.com. From peter.brett at livecode.com Mon Sep 19 07:12:28 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 19 Sep 2016 12:12:28 +0100 Subject: [ANN] This Week in LiveCode 51 Message-ID: <4322db58-4930-e4e5-3353-43bf2a550186@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #51 here: https://goo.gl/7cpD3O This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From peter.brett at livecode.com Mon Sep 19 09:49:14 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 19 Sep 2016 14:49:14 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Message-ID: On 08/09/2016 08:57, Peter TB Brett wrote: > Hi all, > > Since Xcode 8 GM is now available for download by members of the Apple > developer program, I thought it might be helpful to give you an update > on our plans for enabling LiveCode app deployment using Xcode 8. > > - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release > > - If you need to deploy to iOS using LiveCode 8.1.0 you will need to > keep a copy of Xcode 7.3.1 around > > I currently expect that we'll release 8.1.1-rc-1 sometime between > 15th-20th September. We're currently working to resolve some thorny issues relating to Xcode 8-based iOS deployment, and I now don't expect an 8.1.1-rc-1 release before Thursday 22nd September. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From peter.brett at livecode.com Mon Sep 19 10:08:57 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 19 Sep 2016 15:08:57 +0100 Subject: Debugging LCB programs [was: What's everyone working on this month?] In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <4263c2df-3ac7-bbf8-b975-d3a75ce2aee9@livecode.com> On 02/09/2016 10:51, Alex Tweedly wrote: > But in the end I found the programming experience in LCB just too > frustrating. > > I've been spoiled :-) I'm used to symbolic, interactive debuggers - > been using them pretty much continually for the last 45 years that I've > been programming, starting with DDT and a proprietary one in the 70s, on > to GDB in the 80s and 90s, then interpreted languages for a little > while, before finally moving up to Revolution / Livecode. > And after trying it for a while, I'm just not willing to go back to the > dark ages and program in LCB without a decent toolset that provides > really effective diagnostics and debugging features. Hey Alex, I agree with you! It would be great to have a good debugger for LCB. Unfortunately, due to the way that LCB works, it would need to be an out-of-process debugger, and this is a lot of work that I've not yet had the time to poke at. My current idea (that I've not yet had time to poke at) is to write a GDB extension in Guile Scheme that can print LCB stack frames interleaved with C/C++ stack frames. There's some documentation here: https://sourceware.org/gdb/onlinedocs/gdb/Guile.html#Guile And there's an example for V8 here: https://wingolog.org/pub/d8-gdb.scm (warning: moderately terrifying) Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From peter.brett at livecode.com Mon Sep 19 10:12:53 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 19 Sep 2016 15:12:53 +0100 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> On 01/09/2016 15:23, Mike Kerner wrote: > Let's see: > ? Peter challenged me to do better than the new Documentation setup. Maybe > he didn't mean it that way, but that's the way I took it, so I'm going to > have a go. > ? Finishing a new app that allows machine shops to quickly determine how to > run particular operations, what tooling to use, etc. > ? Writing an app for making a tablet into a timeclock. > ? Adding new features to an existing app that allows for easy warehouse > inventory management and posts updates in real time to a series of Google > spreadsheets. > ? Messing with RFID scanning These are all pretty cool. :-D Are you likely to be able to make your RFID stuff open source? It sounds like it would be pretty useful for many LiveCode users and a pretty obvious area for collaboration. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From MikeKerner at roadrunner.com Mon Sep 19 10:12:33 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 19 Sep 2016 10:12:33 -0400 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Message-ID: specifically? On Mon, Sep 19, 2016 at 9:49 AM, Peter TB Brett wrote: > On 08/09/2016 08:57, Peter TB Brett wrote: > >> Hi all, >> >> Since Xcode 8 GM is now available for download by members of the Apple >> developer program, I thought it might be helpful to give you an update >> on our plans for enabling LiveCode app deployment using Xcode 8. >> >> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release >> >> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to >> keep a copy of Xcode 7.3.1 around >> >> I currently expect that we'll release 8.1.1-rc-1 sometime between >> 15th-20th September. >> > > We're currently working to resolve some thorny issues relating to Xcode > 8-based iOS deployment, and I now don't expect an 8.1.1-rc-1 release before > Thursday 22nd September. > > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Sep 19 10:16:01 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 19 Sep 2016 10:16:01 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: The RFID is tricky because right now, there is no hardware capability in either ios or android, so you need to attach external peripherials. We need to narrow down the hardware options, because the communication with them is going to be the sticky wicket. On Mon, Sep 19, 2016 at 10:12 AM, Peter TB Brett wrote: > On 01/09/2016 15:23, Mike Kerner wrote: > >> Let's see: >> ? Peter challenged me to do better than the new Documentation setup. >> Maybe >> he didn't mean it that way, but that's the way I took it, so I'm going to >> have a go. >> ? Finishing a new app that allows machine shops to quickly determine how >> to >> run particular operations, what tooling to use, etc. >> ? Writing an app for making a tablet into a timeclock. >> ? Adding new features to an existing app that allows for easy warehouse >> inventory management and posts updates in real time to a series of Google >> spreadsheets. >> ? Messing with RFID scanning >> > > These are all pretty cool. :-D Are you likely to be able to make your RFID > stuff open source? It sounds like it would be pretty useful for many > LiveCode users and a pretty obvious area for collaboration. > > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From peter.brett at livecode.com Mon Sep 19 10:23:44 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 19 Sep 2016 15:23:44 +0100 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <149cdb6b-3d66-7af8-4569-ae2fbcf05a41@livecode.com> Message-ID: <04fa9611-f19b-0f8c-4c7e-5b5b7c9be596@livecode.com> On 19/09/2016 15:12, Mike Kerner wrote: > specifically? Current release-critical items that I'm aware of: [T] 18135 Error building iOS standalone in OS X 10.12 beta 4 [T] 18422 Cannot launch iOS 9.2 simulator on OS X 10.10 [T] 18414 iOS 10 resources not copied in simulator 18418 App crashes on launch when tsNet is included 18419 App crashes on launch when mergExt included Items marked [T] have had patches merged and are awaiting test. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From peter.brett at livecode.com Mon Sep 19 10:25:03 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 19 Sep 2016 15:25:03 +0100 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: On 19/09/2016 15:16, Mike Kerner wrote: > The RFID is tricky because right now, there is no hardware capability in > either ios or android, so you need to attach external peripherials. We > need to narrow down the hardware options, because the communication with > them is going to be the sticky wicket. That's interesting -- devices like my Nexus 5 have NFC capability that I believe is compatible with quite a few RFID devices (e.g. MIFARE). What standards are you targeting? Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From livfoss at mac.com Mon Sep 19 10:40:52 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 19 Sep 2016 16:40:52 +0200 Subject: Dumb question about files on a server Message-ID: I have some server space and a domain name, let?s say ?mysite.com ?. On this host I have a web site (www.mysite.com ), plus LiveCode Server (8.1 commercial as it happens) and some scripts etc. So far, so good. Now I want to write a script that runs on the server and does the following - this is not code, but is supposed to show what I want to code: 1. If there is not a folder within my space called ?myUsefulData?, then create such a folder; 2. If there is not a text file ?myCurrentData.txt? within the above folder, then create one (this may not be necessary, as an attempt to access the file might create it?); 3. Read the contents of the file into a variable; 4. Add some data from within the program (let?s say an extra line at the end); 5. Rewrite the updated file. There may also be error checking etc. Although this seems extremely simple, I find I don?t know how to do it, and so far the LC examples I?ve read don?t seem to help. I am not sure for example if FTP comes into the equation (I think it does) or the user name and password I need for FTP access from outside the server (surely not?), or indeed what the path to my own bit of the server actually is. Of course I?ve tried stuff, but nothing has worked so far, and a test script (running in the IDE, not within a server script) fails silently. Nothing is created, nothing is destroyed, but sadly everything isn?t transformed. Can anyone explain how to do this, or at least point me to an explanation. Sorry for the dumb question, but there it is. Graham From bobsneidar at iotecdigital.com Mon Sep 19 10:55:58 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Sep 2016 14:55:58 +0000 Subject: 8.1.0 update corrupted? Message-ID: <4C392154-2D9D-4DF4-BF6B-92157981F739@iotecdigital.com> I am getting Payload Archive won't open error when attempting to update to version 8.1.0 on OS X 10.11. I'll try the web site. Bob S From skiplondon at gmail.com Mon Sep 19 11:13:10 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 19 Sep 2016 11:13:10 -0400 Subject: Breaking out a PDF Message-ID: Has anybody taken a PDF, read it into LC and then split that PDF and created multiple PDF documents from it? Looking to create a streamlined way of doing this an a continuous basis. SKIP From bonnmike at gmail.com Mon Sep 19 11:53:53 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 19 Sep 2016 09:53:53 -0600 Subject: Dumb question about files on a server In-Reply-To: References: Message-ID: It sounds like you have an app that you want to use to manipulate files and folders on a remote server. You could set up a script on the server as a middle man pretty easily I think.. Something like this.. (off the top of my head) Have it accept $_POST data, one item of which could be cmd=folder_exists, and pass in the folder name to check.. switch $_POST["cmd"] case "folder_exists" if there is not a folder $_POST["folder_name"] then create folder $_POST["folder_name"] put "Folder " & $_POST["folder_name"] & "created" else put "Folder " & $_POST["folder_name"] & "Exists" end if break case "retrieve_file" put URL ("file:" & $_POST["file_to_retrieve"]) break case "update_file" put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"]) break default put "invalid request" end switch No thoughts about security on this, just a barebones idea.. Now, for the curiosity question.. Would a database back end work better for this? (You'd still need an intermediary script) On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel wrote: > I have some server space and a domain name, let?s say ?mysite.com < > http://mysite.com/>?. On this host I have a web site (www.mysite.com < > http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it > happens) and some scripts etc. So far, so good. Now I want to write a > script that runs on the server and does the following - this is not code, > but is supposed to show what I want to code: > > 1. If there is not a folder within my space called ?myUsefulData?, then > create such a folder; > > 2. If there is not a text file ?myCurrentData.txt? within the above > folder, then create one (this may not be necessary, as an attempt to access > the file might create it?); > > 3. Read the contents of the file into a variable; > > 4. Add some data from within the program (let?s say an extra line at the > end); > > 5. Rewrite the updated file. > > There may also be error checking etc. > > Although this seems extremely simple, I find I don?t know how to do it, > and so far the LC examples I?ve read don?t seem to help. I am not sure for > example if FTP comes into the equation (I think it does) or the user name > and password I need for FTP access from outside the server (surely not?), > or indeed what the path to my own bit of the server actually is. Of course > I?ve tried stuff, but nothing has worked so far, and a test script (running > in the IDE, not within a server script) fails silently. Nothing is created, > nothing is destroyed, but sadly everything isn?t transformed. > > Can anyone explain how to do this, or at least point me to an explanation. > > Sorry for the dumb question, but there it is. > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Sep 19 12:23:17 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 19 Sep 2016 12:23:17 -0400 Subject: Playing Sound question Message-ID: In this forum thread: http://forums.livecode.com/viewtopic.php?f=20&t=18429 MaxV posted a video that shows the movie player working fine in Linux, you can actually play, pause and resume: https://www.youtube.com/watch?v=mxPzQaF-Feg Does anyone knows if (using this movie player on Linux) we could select a start and ending time for playing media and if we could play a loop from a selection. Both options are available in the Player properties inspector but they do not seems to work, at least in Linux... :( Alejandro On Mon, 19 Sep 2016 panagiotis merakos wrote: > Unfortunately, the LC player on Linux > has been broken for a long time. From mark at canelasoftware.com Mon Sep 19 12:23:54 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 19 Sep 2016 09:23:54 -0700 Subject: error building for iOS with LiveCode 8.1 In-Reply-To: References: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> Message-ID: On Sep 16, 2016, at 5:19 AM, panagiotis merakos wrote: > > Hi Phil, > > IIRC I used to get similar errors just *the very first time* I tried to > create an ios standalone. Do you get this error *always* when trying to > build an ios standalone? Hi Panos, I am getting the error on the first try as well. Subsequent builds work ok. Since this is a known issue, is there a bug report on this that I may follow? Or do you need a new one to be opened? Best regards, Mark Talluto livecloud.io canelasoftware.com From panos.merakos at livecode.com Mon Sep 19 12:39:23 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 19 Sep 2016 17:39:23 +0100 Subject: error building for iOS with LiveCode 8.1 In-Reply-To: References: <963B5327-BBB1-472F-A318-AC60B4D34403@liverpool.ac.uk> Message-ID: Hi Mark, I thought there was a bug about it, but I could not find it now. IIRC this was mentioned as a known issue in a release email at some point in the past. So maybe nobody ever filed a bug. It would be great if you could create a new one :) Best regards, Panos -- On Mon, Sep 19, 2016 at 5:23 PM, Mark Talluto wrote: > On Sep 16, 2016, at 5:19 AM, panagiotis merakos > wrote: > > > > Hi Phil, > > > > IIRC I used to get similar errors just *the very first time* I tried to > > create an ios standalone. Do you get this error *always* when trying to > > build an ios standalone? > > Hi Panos, > > I am getting the error on the first try as well. Subsequent builds work > ok. Since this is a known issue, is there a bug report on this that I may > follow? Or do you need a new one to be opened? > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From dochawk at gmail.com Mon Sep 19 12:47:36 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 19 Sep 2016 09:47:36 -0700 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel wrote: > Has anybody taken a PDF, read it into LC and then split that PDF and > created multiple PDF documents from it? Looking to create a streamlined > way of doing this an a continuous basis. > Playing with PDF is a nightmare. I've looked at it, ad there are two many inconsistent ways to write a pdf. As far as I can tell, there are no two programs that are actually compatible with one another in handling pdfs. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Sep 19 12:58:20 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 19 Sep 2016 09:58:20 -0700 Subject: LC 8.1 Mac - Crash on name change In-Reply-To: References: Message-ID: On Sun, Sep 18, 2016 at 9:18 AM, Graham Samuel wrote: > This looks like a bug to me, but I just wonder if anyone has experienced > anything like this before I report it. > Nah. 7.1 crashes a significant portion of the time when doing a "save as" from a script (I think it's 20-30%, but nearly always after the save happen). That makes this a feature, not a bug, as it's the same behavior as 7 :) (years ago, I worked in software QA for Olivetti on DOS. When we found a way to bring down the machine, if the IBM PC crashed the same way, it was a feature . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From prothero at earthednet.org Mon Sep 19 13:05:52 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 19 Sep 2016 10:05:52 -0700 Subject: Object inspector question In-Reply-To: <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> Message-ID: <14B72ADC-7BC3-46D1-9DE2-F42000331B87@earthednet.org> Roger: Thanks! It makes searching for fonts quite a bit easier. Best, Bill > On Sep 18, 2016, at 7:37 PM, Roger Guay wrote: > > Hi Bill, > > I was complaining about this just a few weeks ago and decided to build my own plugin which you might like to look at. I?m sure you could easily tailor to suit your needs. > > https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0 > > Cheers, > > Roger > > > > > >> On Sep 18, 2016, at 1:49 PM, William Prothero wrote: >> >> Ah, yes! >> Thanks. Nice addition. >> Bill >> >>> On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: >>> >>> Hi Bill, >>> >>> Indeed the displayed font list in the PI is shorter in LC 8, but you can >>> scroll down this list and choose the font you wish. There is an enhancement >>> request to extend the height of this drop down font menu. >>> >>> Best, >>> Panos >>> -- >>> >>> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp >>> wrote: >>> >>>> Folks, >>>> I'm getting used to the object inspector in lc8, but notice that setting >>>> the font of a field or button is different. In v7 and earlier, the drop >>>> down menu showed a long list of fonts, but the new inspector show a short >>>> list of font types (system), etc. I can type in the name of a font and it >>>> does apply that font. But, what is the intended way to set the font of an >>>> object? >>>> >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Sep 19 13:16:04 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Sep 2016 10:16:04 -0700 Subject: Object inspector question In-Reply-To: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Message-ID: William Prothero wrote: > I'm getting used to the object inspector in lc8, but notice that > setting the font of a field or button is different. In v7 and > earlier, the drop down menu showed a long list of fonts, but the new > inspector show a short list of font types (system), etc. I can type > in the name of a font and it does apply that font. But, what is the > intended way to set the font of an object? I'm assuming that's on Windows or Linux, yes? Mac always shows the full list, but the other OSes truncate the list to be scrollable. The number of lines visible in an option control is defined by the menuLines property, and apparently in recent builds the PI's have reverted to the engine default (a surprisingly low number, maybe 5?). Font lists tend to be long so I found scrolling in such a cramped space somewhat annoying (a sentiment I suspect the core team would share if they spent as much time with the IDE on non-Mac systems), so I provided a fix along with the enhancement request for a longer scrolling list: http://quality.livecode.com/show_bug.cgi?id=18029#c3 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From skiplondon at gmail.com Mon Sep 19 13:27:24 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 19 Sep 2016 13:27:24 -0400 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: Thanks for the input. Kind of what I thought but was looking for some feedback to confirm this before I started down that path. SKIP On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins wrote: > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel wrote: > > > Has anybody taken a PDF, read it into LC and then split that PDF and > > created multiple PDF documents from it? Looking to create a streamlined > > way of doing this an a continuous basis. > > > > Playing with PDF is a nightmare. > > I've looked at it, ad there are two many inconsistent ways to write a pdf. > > As far as I can tell, there are no two programs that are actually > compatible with one another in handling pdfs. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Sep 19 13:37:20 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 19 Sep 2016 13:37:20 -0400 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: Are these PDFs created by you with LiveCode, or coming from other unknown or varying programs? Is is all text, or a mixture of content? A PDF built to the older PDF-1.4 spec, is fairly simple to construct from scratch using just text. Example: Paste the following into notepad, and save it. Change the extension to .pdf. MediaBox is the page size in points (Points are roughly 1/72 of an inch). All measurements are in points. %PDF-1.4 1 0 obj << /Type /Catalog /Pages 3 0 R /Outlines 2 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Count 1 /Kids [ 4 0 R ] >> endobj 4 0 obj << /Type /Page /Parent 3 0 R /Resources << /Font << /F1 7 0 R >> /ProcSet 6 0 R >> /MediaBox [0 0 366 160] /Contents 5 0 R >> endobj 5 0 obj << /Length 80 >> stream 1 w 0 160 m 0 0 l 366 0 l 366 160 l 0 160 l s BT /F1 7.5 Tf 20 122 Td (Hello World) Tj ET endstream endobj 6 0 obj [ /PDF /Text ] endobj 7 0 obj << /Type /Font /Subtype /TrueType /Name /F1 /BaseFont /CourierNew,Bold /Encoding /WinAnsiEncoding >> endobj xref 0 8 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000179 00000 n 0000000322 00000 n 0000000415 00000 n 0000000445 00000 n trailer << /Size 8 /Root 1 0 R >> startxref 553 %%EOF Roger Eller Graphics Systems Analyst 803 North Maple Street P: 864.967.1625 Simpsonville, SC 29681 C: 864.908.0337 SealedAir.com Roger.E.Eller at SealedAir.com On Mon, Sep 19, 2016 at 1:27 PM, Skip Kimpel wrote: > Thanks for the input. Kind of what I thought but was looking for some > feedback to confirm this before I started down that path. > > SKIP > > On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins wrote: > > > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel > wrote: > > > > > Has anybody taken a PDF, read it into LC and then split that PDF and > > > created multiple PDF documents from it? Looking to create a > streamlined > > > way of doing this an a continuous basis. > > > > > > > Playing with PDF is a nightmare. > > > > I've looked at it, ad there are two many inconsistent ways to write a > pdf. > > > > As far as I can tell, there are no two programs that are actually > > compatible with one another in handling pdfs. > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Sep 19 13:37:49 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Sep 2016 10:37:49 -0700 Subject: Best way to extend IDE (toolbar)? In-Reply-To: References: Message-ID: <5963ac2c-ca42-1431-6d2d-52c393eaa154@fourthworld.com> Ben Rubinstein wrote: > Do you (does anyone) know where script-only stacks are actually > documented? I can't find it in the User Guide - I see references > in the release notes to changes relating, I'm vaguely aware from > mailing lists of conversations about them; but I can't find anything > for a new person to discover that these exist, > how they are used, what are the constraints, etc. > > For example, do they really have the same suffix as traditional stack > files? > That seems pretty odd. It's even more odd (or simple, depending on how one looks at it) than that: LiveCode has always been able to open any valid stack file regardless of the file name extension. The benefit of using the established ".livecode" convention is that on Windows and Mac it allows you to double-click the file to open it in the IDE (Linux offers a mechanism for that too but it hasn't yet been implemented in LC). But you can use any file name extension you like with the "open" command, or with the IDE's File->Open menu item. Whether .livecode, .rev, .mc, .foo, .bar, or anything else (even .anythingelse), they'll all work. This is by design, allowing us to use stack files for documents if we want, and of course we want our own documents to have their own file name extension. As for script-only stacks, the conversation around them has been far more complicated than the subject itself. There is only one thing to know about script-only stacks: When saved to disk they contain only the stack script. That's it. And it's built into the name so we can remember it easily. :) In all other respects a stack is a stack. You can do anything with any stack that you'd do with any other - adding objects, properties, whatever you like. It's just that the file format of a script-only stack consists only of the script, so nothing else will be saved with it. There may be other places where this is outlined (such as the Release Notes you mentioned), but if you search the Dictionary for scriptOnly you'll find this note in the entry for that property: A scriptOnly stack will save just the script with a single header line declaring the stack name. Any other objects or properties of the stack will not be written to disk. The scriptOnly property has been added to enable scripts to detect and set the file format of the stack. Without this property it is not possible to detect the file format the stack is being saved in without examining the file itself. Warning: scriptOnly stacks only save the stack name and script. Any property changes and objects created while the stack is open will not exist the next time the stack is opened. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From th.douez at gmail.com Mon Sep 19 13:42:11 2016 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 19 Sep 2016 19:42:11 +0200 Subject: regex to add a variable to calls In-Reply-To: References: Message-ID: 2016-09-17 0:13 GMT+02:00 Dr. Hawkins : I need to catch every instance of > > getVal(a,b,c) > > and change them to > > getVal(a,b,c,dbtr) > > (and similarly to find when called with one or two arguments) > > dbtr is the variable name I want to pass. > ?Here is one way to do it. *on* mouseUp *put* "getVal\([^)]+(?=\))" into theRegex *put* "\0,dbtr" into smartReplaceText *if* sunnyreplace( fld "f1", theRegex, smartReplaceText, outText) *then* *put* outText into fld "f2" *end* *if* *end* mouseUp ? ?some sample input text in fld "F1" : get getVal(a) put getVal(a,b) into z put getVal(a,b,c) && getVal(a,b,c) into y and results in fld "f2": get getVal(a,dbtr) put getVal(a,b,dbtr) into z put getVal(a,b,c,dbtr) && getVal(a,b,c,dbtr) into y Is this what you are looking for? Regards, Thierry ? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From skiplondon at gmail.com Mon Sep 19 13:44:34 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 19 Sep 2016 13:44:34 -0400 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: Roger, They are not created by me.... a bunch of forms (200+ pages combined into 1 PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be broken out into it's own file. I am scared of your example :) SKIP On Mon, Sep 19, 2016 at 1:37 PM, Roger Eller wrote: > Are these PDFs created by you with LiveCode, or coming from other unknown > or varying programs? Is is all text, or a mixture of content? > > A PDF built to the older PDF-1.4 spec, is fairly simple to construct from > scratch using just text. Example: Paste the following into notepad, and > save it. Change the extension to .pdf. MediaBox is the page size in > points (Points are roughly 1/72 of an inch). All measurements are in > points. > > > %PDF-1.4 > 1 0 obj > << > /Type /Catalog > /Pages 3 0 R > /Outlines 2 0 R > >> > endobj > 2 0 obj > << > /Type /Outlines > /Count 0 > >> > endobj > 3 0 obj > << > /Type /Pages > /Count 1 > /Kids [ 4 0 R ] > >> > endobj > 4 0 obj > << > /Type /Page > /Parent 3 0 R > /Resources << /Font << /F1 7 0 R >> /ProcSet 6 0 R >> > /MediaBox [0 0 366 160] > /Contents 5 0 R > >> > endobj > 5 0 obj > << > /Length 80 > >> > stream > 1 w > 0 160 m > 0 0 l > 366 0 l > 366 160 l > 0 160 l > s > BT > /F1 7.5 Tf > 20 122 Td (Hello World) Tj > ET > endstream > endobj > 6 0 obj > [ /PDF /Text ] > endobj > 7 0 obj > << > /Type /Font > /Subtype /TrueType > /Name /F1 > /BaseFont /CourierNew,Bold > /Encoding /WinAnsiEncoding > >> > endobj > xref > 0 8 > 0000000000 65535 f > 0000000009 00000 n > 0000000074 00000 n > 0000000120 00000 n > 0000000179 00000 n > 0000000322 00000 n > 0000000415 00000 n > 0000000445 00000 n > trailer > << > /Size 8 > /Root 1 0 R > >> > startxref > 553 > %%EOF > > > > Roger Eller > Graphics Systems Analyst > > 803 North Maple Street P: 864.967.1625 > Simpsonville, SC 29681 C: 864.908.0337 > SealedAir.com Roger.E.Eller at SealedAir.com > > > > > On Mon, Sep 19, 2016 at 1:27 PM, Skip Kimpel wrote: > > > Thanks for the input. Kind of what I thought but was looking for some > > feedback to confirm this before I started down that path. > > > > SKIP > > > > On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins wrote: > > > > > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel > > wrote: > > > > > > > Has anybody taken a PDF, read it into LC and then split that PDF and > > > > created multiple PDF documents from it? Looking to create a > > streamlined > > > > way of doing this an a continuous basis. > > > > > > > > > > Playing with PDF is a nightmare. > > > > > > I've looked at it, ad there are two many inconsistent ways to write a > > pdf. > > > > > > As far as I can tell, there are no two programs that are actually > > > compatible with one another in handling pdfs. > > > > > > > > > -- > > > Dr. Richard E. Hawkins, Esq. > > > (702) 508-8462 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Sep 19 13:49:57 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 19 Sep 2016 13:49:57 -0400 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: LOL! The content of my example is one line: '20 122 Td (Hello World) Tj" The rest is mostly static prologue setup to make it official. You can script Adobe Acrobat Professional to split or combine pages. ~Roger Roger Eller Graphics Systems Analyst 803 North Maple Street P: 864.967.1625 Simpsonville, SC 29681 C: 864.908.0337 SealedAir.com Roger.E.Eller at SealedAir.com On Mon, Sep 19, 2016 at 1:44 PM, Skip Kimpel wrote: > Roger, > > They are not created by me.... a bunch of forms (200+ pages combined into 1 > PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be > broken out into it's own file. > > I am scared of your example :) > > SKIP > > On Mon, Sep 19, 2016 at 1:37 PM, Roger Eller > wrote: > > > Are these PDFs created by you with LiveCode, or coming from other unknown > > or varying programs? Is is all text, or a mixture of content? > > > > A PDF built to the older PDF-1.4 spec, is fairly simple to construct from > > scratch using just text. Example: Paste the following into notepad, and > > save it. Change the extension to .pdf. MediaBox is the page size in > > points (Points are roughly 1/72 of an inch). All measurements are in > > points. > > > > > > %PDF-1.4 > > 1 0 obj > > << > > /Type /Catalog > > /Pages 3 0 R > > /Outlines 2 0 R > > >> > > endobj > > 2 0 obj > > << > > /Type /Outlines > > /Count 0 > > >> > > endobj > > 3 0 obj > > << > > /Type /Pages > > /Count 1 > > /Kids [ 4 0 R ] > > >> > > endobj > > 4 0 obj > > << > > /Type /Page > > /Parent 3 0 R > > /Resources << /Font << /F1 7 0 R >> /ProcSet 6 0 R >> > > /MediaBox [0 0 366 160] > > /Contents 5 0 R > > >> > > endobj > > 5 0 obj > > << > > /Length 80 > > >> > > stream > > 1 w > > 0 160 m > > 0 0 l > > 366 0 l > > 366 160 l > > 0 160 l > > s > > BT > > /F1 7.5 Tf > > 20 122 Td (Hello World) Tj > > ET > > endstream > > endobj > > 6 0 obj > > [ /PDF /Text ] > > endobj > > 7 0 obj > > << > > /Type /Font > > /Subtype /TrueType > > /Name /F1 > > /BaseFont /CourierNew,Bold > > /Encoding /WinAnsiEncoding > > >> > > endobj > > xref > > 0 8 > > 0000000000 65535 f > > 0000000009 00000 n > > 0000000074 00000 n > > 0000000120 00000 n > > 0000000179 00000 n > > 0000000322 00000 n > > 0000000415 00000 n > > 0000000445 00000 n > > trailer > > << > > /Size 8 > > /Root 1 0 R > > >> > > startxref > > 553 > > %%EOF > > > > > > > > Roger Eller > > Graphics Systems Analyst > > > > 803 North Maple Street P: 864.967.1625 > > Simpsonville, SC 29681 C: 864.908.0337 > > SealedAir.com Roger.E.Eller at SealedAir.com > > > > > > > > > > On Mon, Sep 19, 2016 at 1:27 PM, Skip Kimpel > wrote: > > > > > Thanks for the input. Kind of what I thought but was looking for some > > > feedback to confirm this before I started down that path. > > > > > > SKIP > > > > > > On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins > wrote: > > > > > > > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel > > > wrote: > > > > > > > > > Has anybody taken a PDF, read it into LC and then split that PDF > and > > > > > created multiple PDF documents from it? Looking to create a > > > streamlined > > > > > way of doing this an a continuous basis. > > > > > > > > > > > > > Playing with PDF is a nightmare. > > > > > > > > I've looked at it, ad there are two many inconsistent ways to write a > > > pdf. > > > > > > > > As far as I can tell, there are no two programs that are actually > > > > compatible with one another in handling pdfs. > > > > > > > > > > > > -- > > > > Dr. Richard E. Hawkins, Esq. > > > > (702) 508-8462 > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Sep 19 13:54:11 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 19 Sep 2016 13:54:11 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: There is a difference between RFID and NFC. I will have to look more at the Nexus, but I thought I was pretty sure that there are no android or ios devices that can read RFID tags. On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett wrote: > On 19/09/2016 15:16, Mike Kerner wrote: > >> The RFID is tricky because right now, there is no hardware capability in >> either ios or android, so you need to attach external peripherials. We >> need to narrow down the hardware options, because the communication with >> them is going to be the sticky wicket. >> > > That's interesting -- devices like my Nexus 5 have NFC capability that I > believe is compatible with quite a few RFID devices (e.g. MIFARE). What > standards are you targeting? > > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From roger.e.eller at sealedair.com Mon Sep 19 13:59:54 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 19 Sep 2016 13:59:54 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: It looks like you can. https://play.google.com/store/apps/details?id=at.mroland.android.apps.nfctaginfo https://www.youtube.com/watch?v=3eAI6SJfJqo On Mon, Sep 19, 2016 at 1:54 PM, Mike Kerner wrote: > There is a difference between RFID and NFC. I will have to look more at > the Nexus, but I thought I was pretty sure that there are no android or ios > devices that can read RFID tags. > > On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett > > wrote: > > > On 19/09/2016 15:16, Mike Kerner wrote: > > > >> The RFID is tricky because right now, there is no hardware capability in > >> either ios or android, so you need to attach external peripherials. We > >> need to narrow down the hardware options, because the communication with > >> them is going to be the sticky wicket. > >> > > > > That's interesting -- devices like my Nexus 5 have NFC capability that I > > believe is compatible with quite a few RFID devices (e.g. MIFARE). What > > standards are you targeting? > > > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Technical Project Manager > > > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cs_livecode at icloud.com Mon Sep 19 14:01:06 2016 From: cs_livecode at icloud.com (Chris Sheffield) Date: Mon, 19 Sep 2016 12:01:06 -0600 Subject: error building iOS standalone with LiveCode 8.1 Message-ID: I?m hoping someone can help with this. I just fired up LiveCode 8.1 this morning to create a new app build for a landscape app that has the ?cropped? issue in iOS 10. I am getting an error at the point that the app gets signed: codesigning failed with Warning: ?resource-rules has been deprecated in Max OS X >= 10.10! [path to my app]: resource fork, Finder information, or similar detritus not allowed I did a little digging and it sounds like, in an Xcode project at least, it?s simply a matter of removing the path to the ResourceRules.plist file in the project settings. I went and tried doing what I thought would be the equivalent in LiveCode and I commented out the lines pertaining to this file in the Settings.plist file, but that didn?t do the trick. Has anyone run into this one? I really need to get this figured out asap. Even if it can be solved with a temporary workaround, that?d be great. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From merakosp at gmail.com Mon Sep 19 14:06:32 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Sep 2016 19:06:32 +0100 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: Message-ID: Hi Chris, Try the workaround described here: http://quality.livecode.com/show_bug.cgi?id=18135 It worked for me. Best, Panos On 19 Sep 2016 19:01, "Chris Sheffield" wrote: > I?m hoping someone can help with this. > > I just fired up LiveCode 8.1 this morning to create a new app build for a > landscape app that has the ?cropped? issue in iOS 10. I am getting an error > at the point that the app gets signed: > > codesigning failed with Warning: ?resource-rules has been deprecated in > Max OS X >= 10.10! > [path to my app]: resource fork, Finder information, or similar detritus > not allowed > > I did a little digging and it sounds like, in an Xcode project at least, > it?s simply a matter of removing the path to the ResourceRules.plist file > in the project settings. I went and tried doing what I thought would be the > equivalent in LiveCode and I commented out the lines pertaining to this > file in the Settings.plist file, but that didn?t do the trick. > > Has anyone run into this one? I really need to get this figured out asap. > Even if it can be solved with a temporary workaround, that?d be great. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Sep 19 14:12:25 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 19 Sep 2016 14:12:25 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: Well, no. It appears that this app and several others require an external reader device. Some can be paired to the phone with bluetooth. ~Roger On Mon, Sep 19, 2016 at 1:59 PM, Roger Eller wrote: > It looks like you can. > > https://play.google.com/store/apps/details?id=at.mroland. > android.apps.nfctaginfo > > https://www.youtube.com/watch?v=3eAI6SJfJqo > > > On Mon, Sep 19, 2016 at 1:54 PM, Mike Kerner > wrote: > >> There is a difference between RFID and NFC. I will have to look more at >> the Nexus, but I thought I was pretty sure that there are no android or >> ios >> devices that can read RFID tags. >> >> On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett < >> peter.brett at livecode.com> >> wrote: >> >> > On 19/09/2016 15:16, Mike Kerner wrote: >> > >> >> The RFID is tricky because right now, there is no hardware capability >> in >> >> either ios or android, so you need to attach external peripherials. We >> >> need to narrow down the hardware options, because the communication >> with >> >> them is going to be the sticky wicket. >> >> >> > >> > That's interesting -- devices like my Nexus 5 have NFC capability that I >> > believe is compatible with quite a few RFID devices (e.g. MIFARE). What >> > standards are you targeting? >> > >> > >> > Peter >> > >> > -- >> > Dr Peter Brett >> > LiveCode Technical Project Manager >> > >> > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode >> > >> > From MikeKerner at roadrunner.com Mon Sep 19 14:14:33 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 19 Sep 2016 14:14:33 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: Exactly. In some cases you can use BLE, but you still have to manage the comm protocol with the reader, which will vary by manufacturer, like you would expect. On Mon, Sep 19, 2016 at 2:12 PM, Roger Eller wrote: > Well, no. It appears that this app and several others require an external > reader device. Some can be paired to the phone with bluetooth. > > ~Roger > > > On Mon, Sep 19, 2016 at 1:59 PM, Roger Eller > wrote: > > > It looks like you can. > > > > https://play.google.com/store/apps/details?id=at.mroland. > > android.apps.nfctaginfo > > > > https://www.youtube.com/watch?v=3eAI6SJfJqo > > > > > > On Mon, Sep 19, 2016 at 1:54 PM, Mike Kerner > > wrote: > > > >> There is a difference between RFID and NFC. I will have to look more at > >> the Nexus, but I thought I was pretty sure that there are no android or > >> ios > >> devices that can read RFID tags. > >> > >> On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett < > >> peter.brett at livecode.com> > >> wrote: > >> > >> > On 19/09/2016 15:16, Mike Kerner wrote: > >> > > >> >> The RFID is tricky because right now, there is no hardware capability > >> in > >> >> either ios or android, so you need to attach external peripherials. > We > >> >> need to narrow down the hardware options, because the communication > >> with > >> >> them is going to be the sticky wicket. > >> >> > >> > > >> > That's interesting -- devices like my Nexus 5 have NFC capability > that I > >> > believe is compatible with quite a few RFID devices (e.g. MIFARE). > What > >> > standards are you targeting? > >> > > >> > > >> > Peter > >> > > >> > -- > >> > Dr Peter Brett > >> > LiveCode Technical Project Manager > >> > > >> > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > >> > > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From prothero at earthednet.org Mon Sep 19 14:33:59 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 19 Sep 2016 11:33:59 -0700 Subject: Object inspector question In-Reply-To: <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> Message-ID: <71E19D08-2E94-4DF2-9F5D-666FC3BE04BD@earthednet.org> Roger: Not a big deal, but, FYI: I was messing with the ?Export? command and it keeps asking for the selectedObject, which should be a field named ?myText?. When that field is selected, the selectedObject is still empty. This is in debug mode in the IDE, and it behaves the same way as a plugin as a palette . Also, deleting fonts from the ?favorites? field doesn?t work in LC 8.1.0. The plugin is still useful, as it is, but I thought you might like the feedback. Best, Bill > On Sep 18, 2016, at 7:37 PM, Roger Guay wrote: > > Hi Bill, > > I was complaining about this just a few weeks ago and decided to build my own plugin which you might like to look at. I?m sure you could easily tailor to suit your needs. > > https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0 > > Cheers, > > Roger > > > > > >> On Sep 18, 2016, at 1:49 PM, William Prothero wrote: >> >> Ah, yes! >> Thanks. Nice addition. >> Bill >> >>> On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: >>> >>> Hi Bill, >>> >>> Indeed the displayed font list in the PI is shorter in LC 8, but you can >>> scroll down this list and choose the font you wish. There is an enhancement >>> request to extend the height of this drop down font menu. >>> >>> Best, >>> Panos >>> -- >>> >>> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp >>> wrote: >>> >>>> Folks, >>>> I'm getting used to the object inspector in lc8, but notice that setting >>>> the font of a field or button is different. In v7 and earlier, the drop >>>> down menu showed a long list of fonts, but the new inspector show a short >>>> list of font types (system), etc. I can type in the name of a font and it >>>> does apply that font. But, what is the intended way to set the font of an >>>> object? >>>> >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Mon Sep 19 14:37:06 2016 From: waprothero at gmail.com (William Prothero) Date: Mon, 19 Sep 2016 11:37:06 -0700 Subject: Best way to extend IDE (toolbar)? In-Reply-To: <5963ac2c-ca42-1431-6d2d-52c393eaa154@fourthworld.com> References: <5963ac2c-ca42-1431-6d2d-52c393eaa154@fourthworld.com> Message-ID: <8A79FAEC-FC41-42C8-940E-FD67A4E3A758@gmail.com> Richard: Can script only stacks be used in iOS? I had some trouble getting it to recognize one. I entered it in the ?Copy Files? preference, but the simulator didn?t seem to find it. Bill > On Sep 19, 2016, at 10:37 AM, Richard Gaskin wrote: > > Ben Rubinstein wrote: > > > Do you (does anyone) know where script-only stacks are actually > > documented? I can't find it in the User Guide - I see references > > in the release notes to changes relating, I'm vaguely aware from > > mailing lists of conversations about them; but I can't find anything > > for a new person to discover that these exist, > > how they are used, what are the constraints, etc. > > > > For example, do they really have the same suffix as traditional stack > > files? > > That seems pretty odd. > > It's even more odd (or simple, depending on how one looks at it) than that: LiveCode has always been able to open any valid stack file regardless of the file name extension. > > The benefit of using the established ".livecode" convention is that on Windows and Mac it allows you to double-click the file to open it in the IDE (Linux offers a mechanism for that too but it hasn't yet been implemented in LC). But you can use any file name extension you like with the "open" command, or with the IDE's File->Open menu item. > > Whether .livecode, .rev, .mc, .foo, .bar, or anything else (even .anythingelse), they'll all work. > > This is by design, allowing us to use stack files for documents if we want, and of course we want our own documents to have their own file name extension. > > As for script-only stacks, the conversation around them has been far more complicated than the subject itself. > > There is only one thing to know about script-only stacks: > > When saved to disk they contain only the stack script. > > That's it. And it's built into the name so we can remember it easily. :) > > In all other respects a stack is a stack. You can do anything with any stack that you'd do with any other - adding objects, properties, whatever you like. > > It's just that the file format of a script-only stack consists only of the script, so nothing else will be saved with it. > > There may be other places where this is outlined (such as the Release Notes you mentioned), but if you search the Dictionary for scriptOnly you'll find this note in the entry for that property: > > A scriptOnly stack will save just the script with a single header > line declaring the stack name. Any other objects or properties of > the stack will not be written to disk. > > The scriptOnly property has been added to enable scripts to detect > and set the file format of the stack. Without this property it is > not possible to detect the file format the stack is being saved in > without examining the file itself. > > Warning: scriptOnly stacks only save the stack name and script. Any > property changes and objects created while the stack is open will > not exist the next time the stack is opened. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Sep 19 14:37:52 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 19 Sep 2016 11:37:52 -0700 Subject: Object inspector question In-Reply-To: References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Message-ID: <7025A3BE-3FCF-4989-900B-096FE3E728C8@earthednet.org> Richard: Can script only stacks be used in iOS? I had some trouble getting it to recognize one. I entered it in the ?Copy Files? preference, but the simulator didn?t seem to find it. Bill > On Sep 19, 2016, at 10:16 AM, Richard Gaskin wrote: > > William Prothero wrote: > > > I'm getting used to the object inspector in lc8, but notice that > > setting the font of a field or button is different. In v7 and > > earlier, the drop down menu showed a long list of fonts, but the new > > inspector show a short list of font types (system), etc. I can type > > in the name of a font and it does apply that font. But, what is the > > intended way to set the font of an object? > > I'm assuming that's on Windows or Linux, yes? Mac always shows the full list, but the other OSes truncate the list to be scrollable. > > The number of lines visible in an option control is defined by the menuLines property, and apparently in recent builds the PI's have reverted to the engine default (a surprisingly low number, maybe 5?). > > Font lists tend to be long so I found scrolling in such a cramped space somewhat annoying (a sentiment I suspect the core team would share if they spent as much time with the IDE on non-Mac systems), so I provided a fix along with the enhancement request for a longer scrolling list: > http://quality.livecode.com/show_bug.cgi?id=18029#c3 > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Sep 19 14:42:13 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 19 Sep 2016 11:42:13 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> Message-ID: <9BA04CDC-A2C1-4D72-8A5E-BB8D5E16D8C2@earthednet.org> Tor: Since you mention an LMS, I?m wondering if you have successfully implemented an interface to an LMS using LTI or SCORM protocols. Or, more concisely, how do you handle the interface to your LMS? Best, Bill > On Sep 2, 2016, at 2:33 PM, Tore Nilsen wrote: > > The academic year has just started here in Norway, and I have just finished a preliminary edition of a digital textbook about using LiveCode in the subject ?Information Technology 2?, for my students. The textbook covers all the objectives in the national curriculum with explanations and examples of how to use LiveCode in this particular course. The textbook currently has 15 chapters, most of them completed, but the final edition will see two or three chapters added to the book. I am on a path to have a final version ready by Christmas, as an iBook. The plan is to transfer all this stuff into a standalone application, built in LiveCode of course, in time for next year. This version will have som added benefits, as it will allow me to link directly to downloadable example scripts and stacks, that can easily be changed/updated, without the need for a complete update of the book. > > I am also working on a couple of small applications for my English students. One will be a ?private dictionary?, where they will add words and phrases they come across during their studies, in order to expand their vocabulary. They will be able to add words and phrases along with explanations and links to the sources where they found the words and/or the explanations of the words. > > I am also working on a small ?Notes and tasks? application, where they will write their own notes from their studies, as well as answers to written or oral tasks. This application will let them export their notes or tasks as rtf-files/ or sound files and hand in through our LMS as links. I also have plans for a third application which will be a collection of phrasal verbs and idioms. I guess this will be finished by Christmas and ready for my students in the last term. (We have just two terms in the academic year in Norway. > > Tore > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Mon Sep 19 14:42:47 2016 From: paul at livecode.org (Paul Hibbert) Date: Mon, 19 Sep 2016 11:42:47 -0700 Subject: Object inspector question In-Reply-To: References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Message-ID: On Sep 19, 2016, at 10:16 AM, Richard Gaskin wrote: > Mac always shows the full list, but the other OSes truncate the list to be scrollable. Not in this case. The PI font selector appears to be a Combo-box Menu and it only shows 5 lines on a Mac too. On Mac: An Option Menu, Pulldown Menu and Popup Menu all show a list as long as the screen real estate allows, but a Combo-box Menu only displays the number of lines set in the PI menuLines property. On further investigation, type this line of code into the message box and it allows you to set your desired number of lines to display (25 in this example): set the menuLines of btn 1 of group 1 of cd 1 of stack "com.livecode.pi.font" to ?25? Just bear in mind that next time you launch LC it will revert back to 5 lines. Regards, Paul From irog at mac.com Mon Sep 19 14:49:55 2016 From: irog at mac.com (Roger Guay) Date: Mon, 19 Sep 2016 11:49:55 -0700 Subject: Object inspector question In-Reply-To: <71E19D08-2E94-4DF2-9F5D-666FC3BE04BD@earthednet.org> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> <71E19D08-2E94-4DF2-9F5D-666FC3BE04BD@earthednet.org> Message-ID: <141A72E7-1209-44C1-9CD3-ECA1A6B2EC02@mac.com> Thanks for the feedback, Bill. I?ll look into and fix ASAP Cheers. Roger > On Sep 19, 2016, at 11:33 AM, William Prothero wrote: > > Roger: > Not a big deal, but, FYI: > I was messing with the ?Export? command and it keeps asking for the selectedObject, which should be a field named ?myText?. When that field is selected, the selectedObject is still empty. This is in debug mode in the IDE, and it behaves the same way as a plugin as a palette . Also, deleting fonts from the ?favorites? field doesn?t work in LC 8.1.0. > > The plugin is still useful, as it is, but I thought you might like the feedback. > Best, > Bill > >> On Sep 18, 2016, at 7:37 PM, Roger Guay wrote: >> >> Hi Bill, >> >> I was complaining about this just a few weeks ago and decided to build my own plugin which you might like to look at. I?m sure you could easily tailor to suit your needs. >> >> https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0 >> >> Cheers, >> >> Roger >> >> >> >> >> >>> On Sep 18, 2016, at 1:49 PM, William Prothero wrote: >>> >>> Ah, yes! >>> Thanks. Nice addition. >>> Bill >>> >>>> On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: >>>> >>>> Hi Bill, >>>> >>>> Indeed the displayed font list in the PI is shorter in LC 8, but you can >>>> scroll down this list and choose the font you wish. There is an enhancement >>>> request to extend the height of this drop down font menu. >>>> >>>> Best, >>>> Panos >>>> -- >>>> >>>> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp >>>> wrote: >>>> >>>>> Folks, >>>>> I'm getting used to the object inspector in lc8, but notice that setting >>>>> the font of a field or button is different. In v7 and earlier, the drop >>>>> down menu showed a long list of fonts, but the new inspector show a short >>>>> list of font types (system), etc. I can type in the name of a font and it >>>>> does apply that font. But, what is the intended way to set the font of an >>>>> object? >>>>> >>>>> Best, >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Sep 19 14:54:42 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Sep 2016 11:54:42 -0700 Subject: Best way to extend IDE (toolbar)? In-Reply-To: <8A79FAEC-FC41-42C8-940E-FD67A4E3A758@gmail.com> References: <8A79FAEC-FC41-42C8-940E-FD67A4E3A758@gmail.com> Message-ID: <3fcc4997-d21b-6f3d-8599-c42f597d1eb7@fourthworld.com> William Prothero wrote: > Can script only stacks be used in iOS? I had some trouble getting it > to recognize one. I entered it in the ?Copy Files? preference, but > the simulator didn?t seem to find it. Hard to say. What is the setup, and what indication did the simulator give to let you know it couldn't find it? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Mon Sep 19 14:56:12 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Sep 2016 13:56:12 -0500 Subject: Object inspector question In-Reply-To: References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> Message-ID: On 9/19/16 12:16 PM, Richard Gaskin wrote: > Font lists tend to be long so I found scrolling in such a cramped space > somewhat annoying (a sentiment I suspect the core team would share if > they spent as much time with the IDE on non-Mac systems), so I provided > a fix along with the enhancement request for a longer scrolling list: > http://quality.livecode.com/show_bug.cgi?id=18029#c3 This is one case where the Mac is in full parity with other operating systems. On my Mac running 8.1, I get the default 5 lines in the font list. And yeah, it really needs to be longer, I probably have a couple of hundred fonts. Hopefully your fix will make it into the next build. Thanks for doing that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Sep 19 15:18:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Sep 2016 12:18:39 -0700 Subject: Object inspector question In-Reply-To: References: Message-ID: J. Landman Gay wrote: > On 9/19/16 12:16 PM, Richard Gaskin wrote: >> Font lists tend to be long so I found scrolling in such a cramped >> space somewhat annoying (a sentiment I suspect the core team would >> share if they spent as much time with the IDE on non-Mac systems), >> so I provided a fix along with the enhancement request for a longer >> scrolling list: >> http://quality.livecode.com/show_bug.cgi?id=18029#c3 > > This is one case where the Mac is in full parity with other operating > systems. On my Mac running 8.1, I get the default 5 lines in the font > list. And yeah, it really needs to be longer, I probably have a > couple of hundred fonts. Yes, as Paul Hibbert reminded me, that's a combobox, not an option control, which does indeed work the same on all three desktop platforms. > Hopefully your fix will make it into the next build. Thanks for doing > that. Quite happy to help. Soon (any day now, really ) I'll get myself set up with git here so I can submit actual pull requests to move those things along even more smoothly. So many little things crop up that just a quick one-line fix can resolve easily. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From irog at mac.com Mon Sep 19 15:19:45 2016 From: irog at mac.com (Roger Guay) Date: Mon, 19 Sep 2016 12:19:45 -0700 Subject: Object inspector question In-Reply-To: <71E19D08-2E94-4DF2-9F5D-666FC3BE04BD@earthednet.org> References: <505ABA2F-E1FB-42D1-A571-90400A606426@earthednet.org> <6A5DDDB6-92DF-44DE-96B7-0784F00ED2E6@earthednet.org> <0AE003A0-EEE8-4DBE-B622-A2A6D9438CE0@mac.com> <71E19D08-2E94-4DF2-9F5D-666FC3BE04BD@earthednet.org> Message-ID: Hi Bill, I fixed the Add to favorites and the Delete from favorites. it was a brain bug . . . not an LC bug. I can't duplicate the Export problem you spoke of. Import and Export work fine for me using LC 8.1.0. I will continue to investigate. The fixed TextOmatic is here: https://www.dropbox.com/s/shcv2pjgsn3s1eo/TextOmatic.livecode?dl=0 Cheers, Roger > On Sep 19, 2016, at 11:33 AM, William Prothero wrote: > > Roger: > Not a big deal, but, FYI: > I was messing with the ?Export? command and it keeps asking for the selectedObject, which should be a field named ?myText?. When that field is selected, the selectedObject is still empty. This is in debug mode in the IDE, and it behaves the same way as a plugin as a palette . Also, deleting fonts from the ?favorites? field doesn?t work in LC 8.1.0. > > The plugin is still useful, as it is, but I thought you might like the feedback. > Best, > Bill > >> On Sep 18, 2016, at 7:37 PM, Roger Guay wrote: >> >> Hi Bill, >> >> I was complaining about this just a few weeks ago and decided to build my own plugin which you might like to look at. I?m sure you could easily tailor to suit your needs. >> >> https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0 >> >> Cheers, >> >> Roger >> >> >> >> >> >>> On Sep 18, 2016, at 1:49 PM, William Prothero wrote: >>> >>> Ah, yes! >>> Thanks. Nice addition. >>> Bill >>> >>>> On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: >>>> >>>> Hi Bill, >>>> >>>> Indeed the displayed font list in the PI is shorter in LC 8, but you can >>>> scroll down this list and choose the font you wish. There is an enhancement >>>> request to extend the height of this drop down font menu. >>>> >>>> Best, >>>> Panos >>>> -- >>>> >>>> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp >>>> wrote: >>>> >>>>> Folks, >>>>> I'm getting used to the object inspector in lc8, but notice that setting >>>>> the font of a field or button is different. In v7 and earlier, the drop >>>>> down menu showed a long list of fonts, but the new inspector show a short >>>>> list of font types (system), etc. I can type in the name of a font and it >>>>> does apply that font. But, what is the intended way to set the font of an >>>>> object? >>>>> >>>>> Best, >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Mon Sep 19 15:24:34 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 19 Sep 2016 21:24:34 +0200 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <9BA04CDC-A2C1-4D72-8A5E-BB8D5E16D8C2@earthednet.org> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <9BA04CDC-A2C1-4D72-8A5E-BB8D5E16D8C2@earthednet.org> Message-ID: <2DEAE491-85DA-4928-BDA1-CE16DFCB02E7@me.com> > 19. sep. 2016 kl. 20.42 skrev William Prothero : > > Tor: > Since you mention an LMS, I?m wondering if you have successfully implemented an interface to an LMS using LTI or SCORM protocols. Or, more concisely, how do you handle the interface to your LMS? > Best, > Bill > I do not handle it very well I am afraid. At our school we use "it?s learning?, a Norwegian web based LMS, that is universally hated by anyone who appreciates good application design and good user experiences. This LMS is so bloated that I do not try to communicate with it at all, other than passing a link to the appropriate task, which my students can then use to upload their work. When they have completed the task, the application will both open the appropriate folder on the students machine, and the page for handing in the task in the LMS. They can then drag and drop the task to hand it in. So this is very basic and rudimentary, but it works in its own limited way. Regards, Tore From dochawk at gmail.com Mon Sep 19 15:26:30 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 19 Sep 2016 12:26:30 -0700 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: On Mon, Sep 19, 2016 at 10:44 AM, Skip Kimpel wrote: > They are not created by me.... a bunch of forms (200+ pages combined into 1 > PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be > broken out into it's own file. > Hmm, another possibility: look at the packages pdftools, pdftk, and pdfjam. they all have ways of doing the split for you, and you could use SHELL() to use them. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From cs_livecode at icloud.com Mon Sep 19 15:47:15 2016 From: cs_livecode at icloud.com (Chris Sheffield) Date: Mon, 19 Sep 2016 13:47:15 -0600 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: Message-ID: Panos, I greatly appreciate the quick reply. Unfortunately that fix didn?t work for me. I even dug in a little deeper and applied Monte?s other changes as well, and my build still fails. The ?resource-rules error is gone, but I am still left with the second part of the error about the "resource fork, Finder information, or similar detritus not allowed?. That is with the line: get shell("xattr -cr" && quote & pAppBundle & quote) added just before the code signing occurs. This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1. Any other ideas? Thanks, Chris > On Sep 19, 2016, at 12:06 PM, panagiotis merakos wrote: > > Hi Chris, > > Try the workaround described here: > http://quality.livecode.com/show_bug.cgi?id=18135 > > It worked for me. > > Best, > Panos > On 19 Sep 2016 19:01, "Chris Sheffield" wrote: > >> I?m hoping someone can help with this. >> >> I just fired up LiveCode 8.1 this morning to create a new app build for a >> landscape app that has the ?cropped? issue in iOS 10. I am getting an error >> at the point that the app gets signed: >> >> codesigning failed with Warning: ?resource-rules has been deprecated in >> Max OS X >= 10.10! >> [path to my app]: resource fork, Finder information, or similar detritus >> not allowed >> >> I did a little digging and it sounds like, in an Xcode project at least, >> it?s simply a matter of removing the path to the ResourceRules.plist file >> in the project settings. I went and tried doing what I thought would be the >> equivalent in LiveCode and I commented out the lines pertaining to this >> file in the Settings.plist file, but that didn?t do the trick. >> >> Has anyone run into this one? I really need to get this figured out asap. >> Even if it can be solved with a temporary workaround, that?d be great. >> >> Thanks, >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Sep 19 15:56:29 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 19 Sep 2016 15:56:29 -0400 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: On Mon, Sep 19, 2016 at 3:26 PM, Dr. Hawkins wrote: > On Mon, Sep 19, 2016 at 10:44 AM, Skip Kimpel > wrote: > > > They are not created by me.... a bunch of forms (200+ pages combined > into 1 > > PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be > > broken out into it's own file. > > > > Hmm, another possibility: look at the packages pdftools, pdftk, and > pdfjam. > > they all have ways of doing the split for you, and you could use SHELL() to > use them. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > I'm guessing that Skip is using Windows. I don't know if there is a platform requirement though. ~Roger From roger.e.eller at sealedair.com Mon Sep 19 15:59:24 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 19 Sep 2016 15:59:24 -0400 Subject: Breaking out a PDF In-Reply-To: References: Message-ID: On Mon, Sep 19, 2016 at 3:56 PM, Roger Eller wrote: > On Mon, Sep 19, 2016 at 3:26 PM, Dr. Hawkins wrote: > >> On Mon, Sep 19, 2016 at 10:44 AM, Skip Kimpel >> wrote: >> >> > They are not created by me.... a bunch of forms (200+ pages combined >> into 1 >> > PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be >> > broken out into it's own file. >> > >> >> Hmm, another possibility: look at the packages pdftools, pdftk, and >> pdfjam. >> >> they all have ways of doing the split for you, and you could use SHELL() >> to >> use them. >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> > > I'm guessing that Skip is using Windows. I don't know if there is a > platform requirement though. > > ~Roger > > > PDFJam looks great for a linux solution. http://txt.arboreus.com/2012/12/19/split-and-merge-pdf-files.html From livfoss at mac.com Mon Sep 19 16:15:50 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 19 Sep 2016 22:15:50 +0200 Subject: Dumb question about files on a server In-Reply-To: References: Message-ID: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> Mike, thanks for that. I think I have not really explained enough about what I want. I have a .lc script on the server that invokes Jacque Gay?s Zygodact product to generate license codes, which are then passed on to the payment processor. This works fine. However when a code is generated, it would be prudent to keep it in a file which is on the server. So I want to add a few lines of code to the aforesaid .lc script so that each code goes into a text file. I don?t need a database since the list will probably be less than 1K lines (if it gets any bigger, I can create another solution). So none of this activity is taking place outside the server - it?s all happening in a .lc script run by the LC Server engine. In these circumstances, I thought a fairly straightforward bit of LiveCode coding would do the job. This is different from what you?re suggesting, I think - though I am out of my comfort zone doing this at all. Can I appeal for more help on this? Thanks Graham > On 19 Sep 2016, at 17:53, Mike Bonner wrote: > > It sounds like you have an app that you want to use to manipulate files and > folders on a remote server. You could set up a script on the server as a > middle man pretty easily I think.. > > Something like this.. (off the top of my head) > > Have it accept $_POST data, one item of which could be cmd=folder_exists, > and pass in the folder name to check.. > > switch $_POST["cmd"] > case "folder_exists" > if there is not a folder $_POST["folder_name"] then > create folder $_POST["folder_name"] > put "Folder " & $_POST["folder_name"] & "created" > else > put "Folder " & $_POST["folder_name"] & "Exists" > end if > break > > case "retrieve_file" > put URL ("file:" & $_POST["file_to_retrieve"]) > break > case "update_file" > put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"]) > break > default > put "invalid request" > end switch > > > No thoughts about security on this, just a barebones idea.. > > Now, for the curiosity question.. Would a database back end work better for > this? (You'd still need an intermediary script) > > On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel wrote: > >> I have some server space and a domain name, let?s say ?mysite.com < >> http://mysite.com/>?. On this host I have a web site (www.mysite.com < >> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it >> happens) and some scripts etc. So far, so good. Now I want to write a >> script that runs on the server and does the following - this is not code, >> but is supposed to show what I want to code: >> >> 1. If there is not a folder within my space called ?myUsefulData?, then >> create such a folder; >> >> 2. If there is not a text file ?myCurrentData.txt? within the above >> folder, then create one (this may not be necessary, as an attempt to access >> the file might create it?); >> >> 3. Read the contents of the file into a variable; >> >> 4. Add some data from within the program (let?s say an extra line at the >> end); >> >> 5. Rewrite the updated file. >> >> There may also be error checking etc. >> >> Although this seems extremely simple, I find I don?t know how to do it, >> and so far the LC examples I?ve read don?t seem to help. I am not sure for >> example if FTP comes into the equation (I think it does) or the user name >> and password I need for FTP access from outside the server (surely not?), >> or indeed what the path to my own bit of the server actually is. Of course >> I?ve tried stuff, but nothing has worked so far, and a test script (running >> in the IDE, not within a server script) fails silently. Nothing is created, >> nothing is destroyed, but sadly everything isn?t transformed. >> >> Can anyone explain how to do this, or at least point me to an explanation. >> >> Sorry for the dumb question, but there it is. >> >> Graham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Sep 19 16:28:04 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 19 Sep 2016 23:28:04 +0300 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: Message-ID: Hi Chris, Hmm, that's weird, it should work. The first part of the error (?resource-rules blah blah) is just a warning. The codesign fails because of the "resource fork, Finder information, or similar detritus not allowed? part. The command [get shell("xattr -cr" && quote & pAppBundle & quote)] should recursively clear those "extended attributes" in the app bundle. I am not on a MacOS Sierra to test now, but what happens if you try to create a different ios standalone (after having applied this workaround)? Moreover, does your app contain any .png files in the "Copy Files" section? If you see this error *only* when building an ios standalone *for this particular app*, I suggest attaching your sample stack to bug 18135 (or send it privately to panos.merakos at livecode.com if it is confidential), so as we ensure that the fix to this bug works with your stack. Today I tested 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it using a couple of simple stacks. Best regards, Panos -- On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield wrote: > Panos, > > I greatly appreciate the quick reply. Unfortunately that fix didn?t work > for me. I even dug in a little deeper and applied Monte?s other changes as > well, and my build still fails. The ?resource-rules error is gone, but I am > still left with the second part of the error about the "resource fork, > Finder information, or similar detritus not allowed?. That is with the line: > > get shell("xattr -cr" && quote & pAppBundle & quote) > > added just before the code signing occurs. > > This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1. > > Any other ideas? > > Thanks, > Chris > > > > On Sep 19, 2016, at 12:06 PM, panagiotis merakos > wrote: > > > > Hi Chris, > > > > Try the workaround described here: > > http://quality.livecode.com/show_bug.cgi?id=18135 > > > > It worked for me. > > > > Best, > > Panos > > On 19 Sep 2016 19:01, "Chris Sheffield" wrote: > > > >> I?m hoping someone can help with this. > >> > >> I just fired up LiveCode 8.1 this morning to create a new app build for > a > >> landscape app that has the ?cropped? issue in iOS 10. I am getting an > error > >> at the point that the app gets signed: > >> > >> codesigning failed with Warning: ?resource-rules has been deprecated in > >> Max OS X >= 10.10! > >> [path to my app]: resource fork, Finder information, or similar detritus > >> not allowed > >> > >> I did a little digging and it sounds like, in an Xcode project at least, > >> it?s simply a matter of removing the path to the ResourceRules.plist > file > >> in the project settings. I went and tried doing what I thought would be > the > >> equivalent in LiveCode and I commented out the lines pertaining to this > >> file in the Settings.plist file, but that didn?t do the trick. > >> > >> Has anyone run into this one? I really need to get this figured out > asap. > >> Even if it can be solved with a temporary workaround, that?d be great. > >> > >> Thanks, > >> Chris > >> > >> > >> -- > >> Chris Sheffield > >> Read Naturally, Inc. > >> www.readnaturally.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Sep 19 16:36:48 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 19 Sep 2016 14:36:48 -0600 Subject: Dumb question about files on a server In-Reply-To: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> References: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> Message-ID: Ah k.. well on the server side the code should be relatively simple. You need to check for the existence of a folder, so in your .lc script -- if there is not a folder "foldername" then... applies still. If its not there, create it (create folder "foldername") If it wasn't there it is now, so either way you can continue on. I have the habit of setting the folder I wish to write to, so you could set the folder to your existing or newly created folder. The next question is.. If you will simply be appending a line to the file each time, its easy enough to do so without reading in the contents of the file. Just put the new line after url "file:yourfilename" and you're done. If you need to do other things to the contents first though.... if there is a file "yourfilename" then put url "file: yourfilename" into tVar do your processing of the existing data, and modify as needed with the new information put tVar into url "file:yourfilename" -- to overwrite the file with the processed data else process only the new data put tData into url "file:yourfilename" -- to create a new file and put the first values into it end if >From your description the problem is very linear and should be simple to code. On Mon, Sep 19, 2016 at 2:15 PM, Graham Samuel wrote: > Mike, thanks for that. I think I have not really explained enough about > what I want. > > I have a .lc script on the server that invokes Jacque Gay?s Zygodact > product to generate license codes, which are then passed on to the payment > processor. This works fine. However when a code is generated, it would be > prudent to keep it in a file which is on the server. So I want to add a few > lines of code to the aforesaid .lc script so that each code goes into a > text file. I don?t need a database since the list will probably be less > than 1K lines (if it gets any bigger, I can create another solution). So > none of this activity is taking place outside the server - it?s all > happening in a .lc script run by the LC Server engine. > > In these circumstances, I thought a fairly straightforward bit of LiveCode > coding would do the job. This is different from what you?re suggesting, I > think - though I am out of my comfort zone doing this at all. > > Can I appeal for more help on this? > > Thanks > > Graham > > > On 19 Sep 2016, at 17:53, Mike Bonner wrote: > > > > It sounds like you have an app that you want to use to manipulate files > and > > folders on a remote server. You could set up a script on the server as a > > middle man pretty easily I think.. > > > > Something like this.. (off the top of my head) > > > > Have it accept $_POST data, one item of which could be cmd=folder_exists, > > and pass in the folder name to check.. > > > > switch $_POST["cmd"] > > case "folder_exists" > > if there is not a folder $_POST["folder_name"] then > > create folder $_POST["folder_name"] > > put "Folder " & $_POST["folder_name"] & "created" > > else > > put "Folder " & $_POST["folder_name"] & "Exists" > > end if > > break > > > > case "retrieve_file" > > put URL ("file:" & $_POST["file_to_retrieve"]) > > break > > case "update_file" > > put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"]) > > break > > default > > put "invalid request" > > end switch > > > > > > No thoughts about security on this, just a barebones idea.. > > > > Now, for the curiosity question.. Would a database back end work better > for > > this? (You'd still need an intermediary script) > > > > On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel wrote: > > > >> I have some server space and a domain name, let?s say ?mysite.com < > >> http://mysite.com/>?. On this host I have a web site (www.mysite.com < > >> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it > >> happens) and some scripts etc. So far, so good. Now I want to write a > >> script that runs on the server and does the following - this is not > code, > >> but is supposed to show what I want to code: > >> > >> 1. If there is not a folder within my space called ?myUsefulData?, then > >> create such a folder; > >> > >> 2. If there is not a text file ?myCurrentData.txt? within the above > >> folder, then create one (this may not be necessary, as an attempt to > access > >> the file might create it?); > >> > >> 3. Read the contents of the file into a variable; > >> > >> 4. Add some data from within the program (let?s say an extra line at the > >> end); > >> > >> 5. Rewrite the updated file. > >> > >> There may also be error checking etc. > >> > >> Although this seems extremely simple, I find I don?t know how to do it, > >> and so far the LC examples I?ve read don?t seem to help. I am not sure > for > >> example if FTP comes into the equation (I think it does) or the user > name > >> and password I need for FTP access from outside the server (surely > not?), > >> or indeed what the path to my own bit of the server actually is. Of > course > >> I?ve tried stuff, but nothing has worked so far, and a test script > (running > >> in the IDE, not within a server script) fails silently. Nothing is > created, > >> nothing is destroyed, but sadly everything isn?t transformed. > >> > >> Can anyone explain how to do this, or at least point me to an > explanation. > >> > >> Sorry for the dumb question, but there it is. > >> > >> Graham > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Mon Sep 19 16:53:53 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 19 Sep 2016 22:53:53 +0200 Subject: Dumb question about files on a server In-Reply-To: References: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> Message-ID: <7E0009CE-493D-4DD5-B388-F7AC43880C6A@mac.com> Ah Mike, that's more what I was expecting. The dumb part is that I have never had to use a file path not associated with an LC standalone, including 'specialfolderpath' paths, so I don't understand how to retrieve the path to the remote server. I bet this is so simple that you didn't think it was a problem. I will experiment some more, but I have not got it right so far. Cheers Graham Sent from my iPad > On 19 Sep 2016, at 22:36, Mike Bonner wrote: > > Ah k.. well on the server side the code should be relatively simple. > > You need to check for the existence of a folder, so in your .lc script -- > if there is not a folder "foldername" then... applies still. If its not > there, create it (create folder "foldername") If it wasn't there it is > now, so either way you can continue on. > > I have the habit of setting the folder I wish to write to, so you could set > the folder to your existing or newly created folder. > > The next question is.. If you will simply be appending a line to the file > each time, its easy enough to do so without reading in the contents of the > file. > Just put the new line after url "file:yourfilename" and you're done. > > If you need to do other things to the contents first though.... > > if there is a file "yourfilename" then > put url "file: yourfilename" into tVar > do your processing of the existing data, and modify as needed with the > new information > put tVar into url "file:yourfilename" -- to overwrite the file with the > processed data > else > process only the new data > put tData into url "file:yourfilename" -- to create a new file and put > the first values into it > end if > > From your description the problem is very linear and should be simple to > code. > > > >> On Mon, Sep 19, 2016 at 2:15 PM, Graham Samuel wrote: >> >> Mike, thanks for that. I think I have not really explained enough about >> what I want. >> >> I have a .lc script on the server that invokes Jacque Gay?s Zygodact >> product to generate license codes, which are then passed on to the payment >> processor. This works fine. However when a code is generated, it would be >> prudent to keep it in a file which is on the server. So I want to add a few >> lines of code to the aforesaid .lc script so that each code goes into a >> text file. I don?t need a database since the list will probably be less >> than 1K lines (if it gets any bigger, I can create another solution). So >> none of this activity is taking place outside the server - it?s all >> happening in a .lc script run by the LC Server engine. >> >> In these circumstances, I thought a fairly straightforward bit of LiveCode >> coding would do the job. This is different from what you?re suggesting, I >> think - though I am out of my comfort zone doing this at all. >> >> Can I appeal for more help on this? >> >> Thanks >> >> Graham >> >>> On 19 Sep 2016, at 17:53, Mike Bonner wrote: >>> >>> It sounds like you have an app that you want to use to manipulate files >> and >>> folders on a remote server. You could set up a script on the server as a >>> middle man pretty easily I think.. >>> >>> Something like this.. (off the top of my head) >>> >>> Have it accept $_POST data, one item of which could be cmd=folder_exists, >>> and pass in the folder name to check.. >>> >>> switch $_POST["cmd"] >>> case "folder_exists" >>> if there is not a folder $_POST["folder_name"] then >>> create folder $_POST["folder_name"] >>> put "Folder " & $_POST["folder_name"] & "created" >>> else >>> put "Folder " & $_POST["folder_name"] & "Exists" >>> end if >>> break >>> >>> case "retrieve_file" >>> put URL ("file:" & $_POST["file_to_retrieve"]) >>> break >>> case "update_file" >>> put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"]) >>> break >>> default >>> put "invalid request" >>> end switch >>> >>> >>> No thoughts about security on this, just a barebones idea.. >>> >>> Now, for the curiosity question.. Would a database back end work better >> for >>> this? (You'd still need an intermediary script) >>> >>>> On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel wrote: >>>> >>>> I have some server space and a domain name, let?s say ?mysite.com < >>>> http://mysite.com/>?. On this host I have a web site (www.mysite.com < >>>> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it >>>> happens) and some scripts etc. So far, so good. Now I want to write a >>>> script that runs on the server and does the following - this is not >> code, >>>> but is supposed to show what I want to code: >>>> >>>> 1. If there is not a folder within my space called ?myUsefulData?, then >>>> create such a folder; >>>> >>>> 2. If there is not a text file ?myCurrentData.txt? within the above >>>> folder, then create one (this may not be necessary, as an attempt to >> access >>>> the file might create it?); >>>> >>>> 3. Read the contents of the file into a variable; >>>> >>>> 4. Add some data from within the program (let?s say an extra line at the >>>> end); >>>> >>>> 5. Rewrite the updated file. >>>> >>>> There may also be error checking etc. >>>> >>>> Although this seems extremely simple, I find I don?t know how to do it, >>>> and so far the LC examples I?ve read don?t seem to help. I am not sure >> for >>>> example if FTP comes into the equation (I think it does) or the user >> name >>>> and password I need for FTP access from outside the server (surely >> not?), >>>> or indeed what the path to my own bit of the server actually is. Of >> course >>>> I?ve tried stuff, but nothing has worked so far, and a test script >> (running >>>> in the IDE, not within a server script) fails silently. Nothing is >> created, >>>> nothing is destroyed, but sadly everything isn?t transformed. >>>> >>>> Can anyone explain how to do this, or at least point me to an >> explanation. >>>> >>>> Sorry for the dumb question, but there it is. >>>> >>>> Graham >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Sep 19 17:09:10 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 19 Sep 2016 15:09:10 -0600 Subject: Dumb question about files on a server In-Reply-To: <7E0009CE-493D-4DD5-B388-F7AC43880C6A@mac.com> References: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> <7E0009CE-493D-4DD5-B388-F7AC43880C6A@mac.com> Message-ID: The current path starts in the same directory as the script being run, so you can do all your work relative from there. You aren't finding a path "to" the server, all paths on the server are relative to each other, and since the lc script is local to that filesystem thats exactly how you view it. As a local system. If you wish to hide the file in question outside the http hierarchy you can probably do that too depending on permissions and how your host server is set up. If you "put the folder" with an lc script, you should see the path to the working directory all the way back to root which will help you figure out where things reside. For example, on-rev has a public_html folder where all account domains are contained. If the lc script is in the mydomain folder inside public_html and you have it "put the folder" you would see something like /home/youraccountname/public_html/mydomain So it boils down to.. If you know where the script is, and you know where you want the folder to be you should be able to ferret out the correct path. You'll also want to add error checking of course to make sure folders and files actually get created. On Mon, Sep 19, 2016 at 2:53 PM, Graham Samuel wrote: > Ah Mike, that's more what I was expecting. The dumb part is that I have > never had to use a file path not associated with an LC standalone, > including 'specialfolderpath' paths, so I don't understand how to retrieve > the path to the remote server. I bet this is so simple that you didn't > think it was a problem. I will experiment some more, but I have not got it > right so far. > > Cheers > > Graham > > Sent from my iPad > > > On 19 Sep 2016, at 22:36, Mike Bonner wrote: > > > > Ah k.. well on the server side the code should be relatively simple. > > > > You need to check for the existence of a folder, so in your .lc script -- > > if there is not a folder "foldername" then... applies still. If its not > > there, create it (create folder "foldername") If it wasn't there it is > > now, so either way you can continue on. > > > > I have the habit of setting the folder I wish to write to, so you could > set > > the folder to your existing or newly created folder. > > > > The next question is.. If you will simply be appending a line to the file > > each time, its easy enough to do so without reading in the contents of > the > > file. > > Just put the new line after url "file:yourfilename" and you're done. > > > > If you need to do other things to the contents first though.... > > > > if there is a file "yourfilename" then > > put url "file: yourfilename" into tVar > > do your processing of the existing data, and modify as needed with the > > new information > > put tVar into url "file:yourfilename" -- to overwrite the file with the > > processed data > > else > > process only the new data > > put tData into url "file:yourfilename" -- to create a new file and put > > the first values into it > > end if > > > > From your description the problem is very linear and should be simple to > > code. > > > > > > > >> On Mon, Sep 19, 2016 at 2:15 PM, Graham Samuel wrote: > >> > >> Mike, thanks for that. I think I have not really explained enough about > >> what I want. > >> > >> I have a .lc script on the server that invokes Jacque Gay?s Zygodact > >> product to generate license codes, which are then passed on to the > payment > >> processor. This works fine. However when a code is generated, it would > be > >> prudent to keep it in a file which is on the server. So I want to add a > few > >> lines of code to the aforesaid .lc script so that each code goes into a > >> text file. I don?t need a database since the list will probably be less > >> than 1K lines (if it gets any bigger, I can create another solution). So > >> none of this activity is taking place outside the server - it?s all > >> happening in a .lc script run by the LC Server engine. > >> > >> In these circumstances, I thought a fairly straightforward bit of > LiveCode > >> coding would do the job. This is different from what you?re suggesting, > I > >> think - though I am out of my comfort zone doing this at all. > >> > >> Can I appeal for more help on this? > >> > >> Thanks > >> > >> Graham > >> > >>> On 19 Sep 2016, at 17:53, Mike Bonner wrote: > >>> > >>> It sounds like you have an app that you want to use to manipulate files > >> and > >>> folders on a remote server. You could set up a script on the server as > a > >>> middle man pretty easily I think.. > >>> > >>> Something like this.. (off the top of my head) > >>> > >>> Have it accept $_POST data, one item of which could be > cmd=folder_exists, > >>> and pass in the folder name to check.. > >>> > >>> switch $_POST["cmd"] > >>> case "folder_exists" > >>> if there is not a folder $_POST["folder_name"] then > >>> create folder $_POST["folder_name"] > >>> put "Folder " & $_POST["folder_name"] & "created" > >>> else > >>> put "Folder " & $_POST["folder_name"] & "Exists" > >>> end if > >>> break > >>> > >>> case "retrieve_file" > >>> put URL ("file:" & $_POST["file_to_retrieve"]) > >>> break > >>> case "update_file" > >>> put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"]) > >>> break > >>> default > >>> put "invalid request" > >>> end switch > >>> > >>> > >>> No thoughts about security on this, just a barebones idea.. > >>> > >>> Now, for the curiosity question.. Would a database back end work better > >> for > >>> this? (You'd still need an intermediary script) > >>> > >>>> On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel > wrote: > >>>> > >>>> I have some server space and a domain name, let?s say ?mysite.com < > >>>> http://mysite.com/>?. On this host I have a web site (www.mysite.com > < > >>>> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it > >>>> happens) and some scripts etc. So far, so good. Now I want to write a > >>>> script that runs on the server and does the following - this is not > >> code, > >>>> but is supposed to show what I want to code: > >>>> > >>>> 1. If there is not a folder within my space called ?myUsefulData?, > then > >>>> create such a folder; > >>>> > >>>> 2. If there is not a text file ?myCurrentData.txt? within the above > >>>> folder, then create one (this may not be necessary, as an attempt to > >> access > >>>> the file might create it?); > >>>> > >>>> 3. Read the contents of the file into a variable; > >>>> > >>>> 4. Add some data from within the program (let?s say an extra line at > the > >>>> end); > >>>> > >>>> 5. Rewrite the updated file. > >>>> > >>>> There may also be error checking etc. > >>>> > >>>> Although this seems extremely simple, I find I don?t know how to do > it, > >>>> and so far the LC examples I?ve read don?t seem to help. I am not sure > >> for > >>>> example if FTP comes into the equation (I think it does) or the user > >> name > >>>> and password I need for FTP access from outside the server (surely > >> not?), > >>>> or indeed what the path to my own bit of the server actually is. Of > >> course > >>>> I?ve tried stuff, but nothing has worked so far, and a test script > >> (running > >>>> in the IDE, not within a server script) fails silently. Nothing is > >> created, > >>>> nothing is destroyed, but sadly everything isn?t transformed. > >>>> > >>>> Can anyone explain how to do this, or at least point me to an > >> explanation. > >>>> > >>>> Sorry for the dumb question, but there it is. > >>>> > >>>> Graham > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Sep 19 17:17:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Sep 2016 16:17:46 -0500 Subject: What's everyone working on this month? (September 2016) In-Reply-To: References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <2b792c54-3ac9-61b3-a761-378c60cc91e1@livecode.com> Message-ID: <26098973-5a9f-cf7c-fca2-8429dd231676@hyperactivesw.com> NFC is a subset of RFID. Virtually all new-ish Android devices support NFC; at least those made in the last three or four years. Apple Pay is also NFC so phones that support Apple Pay will also have NFC capability, but I am unsure whether Apple has locked down the feature to only work with Apple Pay or whether it can be used in other apps. Android currently supports at least these tag types: - NTAG 203, 210, 212, 213, 215, 216 - Topaz 512 (BCM512) - Ultralight, Ultralight C - MIFARE Classic 1k, 4k - FeliCa I use an Android app called NFC Tools to read and write tags. Newer versions of Android OS also allow NFC tags to be used with SmartLock, which unlocks the lockscreen when the tag is tapped. On 9/19/16 12:54 PM, Mike Kerner wrote: > There is a difference between RFID and NFC. I will have to look more at > the Nexus, but I thought I was pretty sure that there are no android or ios > devices that can read RFID tags. > > On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett > wrote: > >> On 19/09/2016 15:16, Mike Kerner wrote: >> >>> The RFID is tricky because right now, there is no hardware capability in >>> either ios or android, so you need to attach external peripherials. We >>> need to narrow down the hardware options, because the communication with >>> them is going to be the sticky wicket. >>> >> >> That's interesting -- devices like my Nexus 5 have NFC capability that I >> believe is compatible with quite a few RFID devices (e.g. MIFARE). What >> standards are you targeting? >> >> >> Peter >> >> -- >> Dr Peter Brett >> LiveCode Technical Project Manager >> >> lcb-mode for Emacs: https://github.com/peter-b/lcb-mode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 19 17:43:20 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Sep 2016 16:43:20 -0500 Subject: Dumb question about files on a server In-Reply-To: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> References: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> Message-ID: On 9/19/16 3:15 PM, Graham Samuel wrote: > I have a .lc script on the server that invokes Jacque Gay?s Zygodact > product to generate license codes, which are then passed on to the > payment processor. This works fine. However when a code is generated, > it would be prudent to keep it in a file which is on the server. So I > want to add a few lines of code to the aforesaid .lc script so that > each code goes into a text file. That's easy, I do it with all my Zygodact server scripts. The main thing to be aware of is that the text file needs to have read/write permissions. I couldn't generate a file from scratch because of the permission issues (I'm sure there's a way around this, but I didn't know how.) So what I do is create an empty text file on the server and give it read/write permissions (755) manually using Fetch or any other FTP app. I put the file directly in the CGI folder, which is inaccessible to visitors. After that, just add this handler to your .lc script: on log pData put "myLog.txt" into tFile open file tFile for append write pData &cr & cr to file tFile close file tFile end log Then in the main body of the script, collect the data you want to store into a variable and add a "log dataVar" line. The reason I use open/write/close instead of "put after URL" is because opening a file for append doesn't need to read the whole thing into memory and then write it all back out again. It seems like a better use of resources. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Mon Sep 19 17:43:33 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 19 Sep 2016 14:43:33 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <2DEAE491-85DA-4928-BDA1-CE16DFCB02E7@me.com> References: <926aadf8-eda0-1d75-62d6-8fc0d3aae302@livecode.com> <9BA04CDC-A2C1-4D72-8A5E-BB8D5E16D8C2@earthednet.org> <2DEAE491-85DA-4928-BDA1-CE16DFCB02E7@me.com> Message-ID: <37B88336-A8AC-4FC9-8A8F-4CB22181F2F2@earthednet.org> Tore: Thanks. Rather than taking on the task of trying to master the LTI API, I will probably implement a way of providing comma delimited grades to a teacher, who can then import them pretty easily. However, I think it would be great if there was an interface to the LMS world. It would enable a lot more potential applications for Livecode. It?s beyond my level of time and space to try to take on this task. Best, Bill > On Sep 19, 2016, at 12:24 PM, Tore Nilsen wrote: > > >> 19. sep. 2016 kl. 20.42 skrev William Prothero : >> >> Tor: >> Since you mention an LMS, I?m wondering if you have successfully implemented an interface to an LMS using LTI or SCORM protocols. Or, more concisely, how do you handle the interface to your LMS? >> Best, >> Bill >> > > I do not handle it very well I am afraid. At our school we use "it?s learning?, a Norwegian web based LMS, that is universally hated by anyone who appreciates good application design and good user experiences. > > This LMS is so bloated that I do not try to communicate with it at all, other than passing a link to the appropriate task, which my students can then use to upload their work. When they have completed the task, the application will both open the appropriate folder on the students machine, and the page for handing in the task in the LMS. They can then drag and drop the task to hand it in. So this is very basic and rudimentary, but it works in its own limited way. > > Regards, > Tore > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cs_livecode at icloud.com Mon Sep 19 17:46:01 2016 From: cs_livecode at icloud.com (Chris Sheffield) Date: Mon, 19 Sep 2016 15:46:01 -0600 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: Message-ID: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> It appears to be just this stack. After creating a new stack, and even setting it to copy the same files, the build works just fine. Yes, I do have png files, quite a lot of them, inside an images folder that is included in the Copy Files section. Like I said though, I included that folder even with the new stack, and everything worked fine. This particular app also makes use of a few mergExt externals. I have updated those to the latest versions included with LC 8.1. Again, even including all of those in the new simple stack I created, everything builds fine. So I will plan on sending you my stack. Do you need all the included files, or just the stack itself? I just tried removing all my Copy Files entries, and the build still fails, so I don?t think it?s related to any of those, but I?m happy to include them in a zip archive if you?d like. Thanks again. > On Sep 19, 2016, at 2:28 PM, panagiotis merakos wrote: > > Hi Chris, > > Hmm, that's weird, it should work. The first part of the error > (?resource-rules blah blah) is just a warning. The codesign fails because > of the "resource fork, Finder information, or similar detritus not allowed? > part. > > The command [get shell("xattr -cr" && quote & pAppBundle & quote)] should > recursively clear those "extended attributes" in the app bundle. I am not > on a MacOS Sierra to test now, but what happens if you try to create a > different ios standalone (after having applied this workaround)? > > Moreover, does your app contain any .png files in the "Copy Files" section? > > If you see this error *only* when building an ios standalone *for this > particular app*, I suggest attaching your sample stack to bug 18135 (or > send it privately to panos.merakos at livecode.com if it is confidential), so > as we ensure that the fix to this bug works with your stack. Today I tested > 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it using > a couple of simple stacks. > > Best regards, > Panos > -- > > On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield > wrote: > >> Panos, >> >> I greatly appreciate the quick reply. Unfortunately that fix didn?t work >> for me. I even dug in a little deeper and applied Monte?s other changes as >> well, and my build still fails. The ?resource-rules error is gone, but I am >> still left with the second part of the error about the "resource fork, >> Finder information, or similar detritus not allowed?. That is with the line: >> >> get shell("xattr -cr" && quote & pAppBundle & quote) >> >> added just before the code signing occurs. >> >> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1. >> >> Any other ideas? >> >> Thanks, >> Chris >> >> >>> On Sep 19, 2016, at 12:06 PM, panagiotis merakos >> wrote: >>> >>> Hi Chris, >>> >>> Try the workaround described here: >>> http://quality.livecode.com/show_bug.cgi?id=18135 >>> >>> It worked for me. >>> >>> Best, >>> Panos >>> On 19 Sep 2016 19:01, "Chris Sheffield" wrote: >>> >>>> I?m hoping someone can help with this. >>>> >>>> I just fired up LiveCode 8.1 this morning to create a new app build for >> a >>>> landscape app that has the ?cropped? issue in iOS 10. I am getting an >> error >>>> at the point that the app gets signed: >>>> >>>> codesigning failed with Warning: ?resource-rules has been deprecated in >>>> Max OS X >= 10.10! >>>> [path to my app]: resource fork, Finder information, or similar detritus >>>> not allowed >>>> >>>> I did a little digging and it sounds like, in an Xcode project at least, >>>> it?s simply a matter of removing the path to the ResourceRules.plist >> file >>>> in the project settings. I went and tried doing what I thought would be >> the >>>> equivalent in LiveCode and I commented out the lines pertaining to this >>>> file in the Settings.plist file, but that didn?t do the trick. >>>> >>>> Has anyone run into this one? I really need to get this figured out >> asap. >>>> Even if it can be solved with a temporary workaround, that?d be great. >>>> >>>> Thanks, >>>> Chris >>>> >>>> >>>> -- >>>> Chris Sheffield >>>> Read Naturally, Inc. >>>> www.readnaturally.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Sep 19 17:54:37 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 20 Sep 2016 00:54:37 +0300 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> Message-ID: You are welcome. Just the stack should be enough to replicate this, but I would suggest you send everything, just in case. Best, Panos -- On 19 Sep 2016 22:46, "Chris Sheffield" wrote: > It appears to be just this stack. After creating a new stack, and even > setting it to copy the same files, the build works just fine. > > Yes, I do have png files, quite a lot of them, inside an images folder > that is included in the Copy Files section. Like I said though, I included > that folder even with the new stack, and everything worked fine. This > particular app also makes use of a few mergExt externals. I have updated > those to the latest versions included with LC 8.1. Again, even including > all of those in the new simple stack I created, everything builds fine. > > So I will plan on sending you my stack. Do you need all the included > files, or just the stack itself? I just tried removing all my Copy Files > entries, and the build still fails, so I don?t think it?s related to any of > those, but I?m happy to include them in a zip archive if you?d like. > > Thanks again. > > > > On Sep 19, 2016, at 2:28 PM, panagiotis merakos > wrote: > > > > Hi Chris, > > > > Hmm, that's weird, it should work. The first part of the error > > (?resource-rules blah blah) is just a warning. The codesign fails because > > of the "resource fork, Finder information, or similar detritus not > allowed? > > part. > > > > The command [get shell("xattr -cr" && quote & pAppBundle & quote)] should > > recursively clear those "extended attributes" in the app bundle. I am not > > on a MacOS Sierra to test now, but what happens if you try to create a > > different ios standalone (after having applied this workaround)? > > > > Moreover, does your app contain any .png files in the "Copy Files" > section? > > > > If you see this error *only* when building an ios standalone *for this > > particular app*, I suggest attaching your sample stack to bug 18135 (or > > send it privately to panos.merakos at livecode.com if it is confidential), > so > > as we ensure that the fix to this bug works with your stack. Today I > tested > > 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it > using > > a couple of simple stacks. > > > > Best regards, > > Panos > > -- > > > > On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield < > cs_livecode at icloud.com> > > wrote: > > > >> Panos, > >> > >> I greatly appreciate the quick reply. Unfortunately that fix didn?t work > >> for me. I even dug in a little deeper and applied Monte?s other changes > as > >> well, and my build still fails. The ?resource-rules error is gone, but > I am > >> still left with the second part of the error about the "resource fork, > >> Finder information, or similar detritus not allowed?. That is with the > line: > >> > >> get shell("xattr -cr" && quote & pAppBundle & quote) > >> > >> added just before the code signing occurs. > >> > >> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1. > >> > >> Any other ideas? > >> > >> Thanks, > >> Chris > >> > >> > >>> On Sep 19, 2016, at 12:06 PM, panagiotis merakos > >> wrote: > >>> > >>> Hi Chris, > >>> > >>> Try the workaround described here: > >>> http://quality.livecode.com/show_bug.cgi?id=18135 > >>> > >>> It worked for me. > >>> > >>> Best, > >>> Panos > >>> On 19 Sep 2016 19:01, "Chris Sheffield" > wrote: > >>> > >>>> I?m hoping someone can help with this. > >>>> > >>>> I just fired up LiveCode 8.1 this morning to create a new app build > for > >> a > >>>> landscape app that has the ?cropped? issue in iOS 10. I am getting an > >> error > >>>> at the point that the app gets signed: > >>>> > >>>> codesigning failed with Warning: ?resource-rules has been deprecated > in > >>>> Max OS X >= 10.10! > >>>> [path to my app]: resource fork, Finder information, or similar > detritus > >>>> not allowed > >>>> > >>>> I did a little digging and it sounds like, in an Xcode project at > least, > >>>> it?s simply a matter of removing the path to the ResourceRules.plist > >> file > >>>> in the project settings. I went and tried doing what I thought would > be > >> the > >>>> equivalent in LiveCode and I commented out the lines pertaining to > this > >>>> file in the Settings.plist file, but that didn?t do the trick. > >>>> > >>>> Has anyone run into this one? I really need to get this figured out > >> asap. > >>>> Even if it can be solved with a temporary workaround, that?d be great. > >>>> > >>>> Thanks, > >>>> Chris > >>>> > >>>> > >>>> -- > >>>> Chris Sheffield > >>>> Read Naturally, Inc. > >>>> www.readnaturally.com > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Sep 19 18:11:47 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Sep 2016 15:11:47 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <37B88336-A8AC-4FC9-8A8F-4CB22181F2F2@earthednet.org> References: <37B88336-A8AC-4FC9-8A8F-4CB22181F2F2@earthednet.org> Message-ID: <6d1c591a-3dd2-71f0-3feb-683d7c41037d@fourthworld.com> William Prothero wrote: > However, I think it would be great if there was an interface to the > LMS world. It would enable a lot more potential applications for > Livecode. I wrote a SCORM module for LMS integration in Toolbook many years ago. It's been a long while since I've looked into this, but last time I did it seemed a lot of LMSes were limited to web-only courseware. Which LMS would you like to integrate with? The standards-compliant part of such a library wouldn't be hard; the hard part is finding enough LMSes that adhere to the standards faithfully enough to be worth the effort. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From waprothero at gmail.com Mon Sep 19 19:47:39 2016 From: waprothero at gmail.com (William Prothero) Date: Mon, 19 Sep 2016 16:47:39 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <6d1c591a-3dd2-71f0-3feb-683d7c41037d@fourthworld.com> References: <37B88336-A8AC-4FC9-8A8F-4CB22181F2F2@earthednet.org> <6d1c591a-3dd2-71f0-3feb-683d7c41037d@fourthworld.com> Message-ID: Richard: It?s probably a topic for another heading, but?.. The most recent and popular connection to LMS systems is one called LTI. It was championed by a LMS called ?canvas? (htto://www.canvas.net). Yes, the most basic way to interact with it is from web apps, but I think it?s possible to do it from a standalone. It?s a project I?ve been thinking about (or wishing someone else had done it) for quite awhile. I don?t think that time-wise I?m up for tackling it, but I do think it would be useful for those writing software for higher ed. Best, Bill > On Sep 19, 2016, at 3:11 PM, Richard Gaskin wrote: > > William Prothero wrote: > > > However, I think it would be great if there was an interface to the > > LMS world. It would enable a lot more potential applications for > > Livecode. > > I wrote a SCORM module for LMS integration in Toolbook many years ago. It's been a long while since I've looked into this, but last time I did it seemed a lot of LMSes were limited to web-only courseware. > > Which LMS would you like to integrate with? > > The standards-compliant part of such a library wouldn't be hard; the hard part is finding enough LMSes that adhere to the standards faithfully enough to be worth the effort. :) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Sep 19 20:31:28 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 19 Sep 2016 17:31:28 -0700 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <6d1c591a-3dd2-71f0-3feb-683d7c41037d@fourthworld.com> References: <37B88336-A8AC-4FC9-8A8F-4CB22181F2F2@earthednet.org> <6d1c591a-3dd2-71f0-3feb-683d7c41037d@fourthworld.com> Message-ID: <4B0444AE-CFF0-4A04-91EC-F48E1EA7B489@earthednet.org> Richard: I gave you a bad link to the canvas LMS. It is (in case youi?re interested): https://www.canvaslms.com Best, Bill > On Sep 19, 2016, at 3:11 PM, Richard Gaskin wrote: > > William Prothero wrote: > > > However, I think it would be great if there was an interface to the > > LMS world. It would enable a lot more potential applications for > > Livecode. > > I wrote a SCORM module for LMS integration in Toolbook many years ago. It's been a long while since I've looked into this, but last time I did it seemed a lot of LMSes were limited to web-only courseware. > > Which LMS would you like to integrate with? > > The standards-compliant part of such a library wouldn't be hard; the hard part is finding enough LMSes that adhere to the standards faithfully enough to be worth the effort. :) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tfabacher at gmail.com Tue Sep 20 01:02:30 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Tue, 20 Sep 2016 09:02:30 +0400 Subject: LiveCode interface to SCORM /LIT Message-ID: Hello Educators, Will Jamieson, and the DP teem are deep into creating an online and App integrated LMS in LiveCode. We are at the stage of creating a SCORM and LIT interface to our App. I see that several people have posted on the subject and was wondering if anyone has finished, made any progress or have suggestions that would help us out. We would appreciate any help in getting in using LiveCode with SCORM /LIT. One potential client is focused on full LIT compatibility. We of course will make the SCORM /LIT code Open Source for all educators. Thanks, Todd, Will and DP Education Team From prothero at earthednet.org Tue Sep 20 01:47:59 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 19 Sep 2016 22:47:59 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: References: Message-ID: Todd, Fabulous! It will be a great resource for higher Ed developers. I'll see what I can do to test it at UCSB when it is available. Best, Bill William Prothero http://es.earthednet.org > On Sep 19, 2016, at 10:02 PM, Todd Fabacher wrote: > > Hello Educators, > > Will Jamieson, and the DP teem are deep into creating an online and App > integrated LMS in LiveCode. We are at the stage of creating a SCORM and > LIT interface to our App. I see that several people have posted on the > subject and was wondering if anyone has finished, made any progress or have > suggestions that would help us out. > > We would appreciate any help in getting in using LiveCode with SCORM /LIT. > One potential client is focused on full LIT compatibility. We of course > will make the SCORM /LIT code Open Source for all educators. > > Thanks, > > Todd, Will and DP Education Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From preid at reidit.co.uk Tue Sep 20 03:43:19 2016 From: preid at reidit.co.uk (Peter Reid) Date: Tue, 20 Sep 2016 08:43:19 +0100 Subject: Silly Text Field Question Message-ID: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> I know I'm missing the obvious but I just can't figure out how to get the following behaviour with text fields... 1. When the user presses the tab key on the keyboard, the next field is selected and the current content of the next field is selected (so any typing replaces all the content). 2. If the user uses the mouse to click into a different text field, the current content of the next field is selected and behaves just like 1. What's happening is that I can get 1. to work but every time the user mouse-clicks into a different field, that target field gets selected but its content is deselected and the I-bar insertion point is placed where the mouse click occurred. So far I've got the following in the card script to provide the same behaviour for all the fields on it: on openField hiliteText end openField on hiliteText put the id of the target into tID if there is a field id tID then select the text of the target end if end hiliteText Any suggestions please? Peter -- Peter Reid Loughborough, UK From livfoss at mac.com Tue Sep 20 04:49:33 2016 From: livfoss at mac.com (Graham Samuel) Date: Tue, 20 Sep 2016 10:49:33 +0200 Subject: Dumb question about files on a server In-Reply-To: References: <4B744DC4-1B60-448D-B5EF-072948AD1CF8@mac.com> Message-ID: Oh Jacque, you?ve been so kind to me over Zygodact and other things, and I?ve been so slow, that I didn?t dare ask! However, you are of course spot on. Thanks. Graham > On 19 Sep 2016, at 23:43, J. Landman Gay wrote: > > On 9/19/16 3:15 PM, Graham Samuel wrote: >> I have a .lc script on the server that invokes Jacque Gay?s Zygodact >> product to generate license codes, which are then passed on to the >> payment processor. This works fine. However when a code is generated, >> it would be prudent to keep it in a file which is on the server. So I >> want to add a few lines of code to the aforesaid .lc script so that >> each code goes into a text file. > > That's easy, I do it with all my Zygodact server scripts. The main thing to be aware of is that the text file needs to have read/write permissions. I couldn't generate a file from scratch because of the permission issues (I'm sure there's a way around this, but I didn't know how.) So what I do is create an empty text file on the server and give it read/write permissions (755) manually using Fetch or any other FTP app. I put the file directly in the CGI folder, which is inaccessible to visitors. > > After that, just add this handler to your .lc script: > > on log pData > put "myLog.txt" into tFile > open file tFile for append > write pData &cr & cr to file tFile > close file tFile > end log > > Then in the main body of the script, collect the data you want to store into a variable and add a "log dataVar" line. > > The reason I use open/write/close instead of "put after URL" is because opening a file for append doesn't need to read the whole thing into memory and then write it all back out again. It seems like a better use of resources. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Sep 20 04:55:21 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 20 Sep 2016 09:55:21 +0100 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> Message-ID: Hi Chris, I just tested with your stack in LC 8.1.1 RC-1 (not public) and I confirm I still get the "resource fork, Finder information, or similar detritus not allowed? error when building an iOS standalone. After further investigation, it seems this is caused *only* if you add the "Internet" or "tsNet" inclusion in the "Inclusions" pane. I will change the status of http://quality.livecode.com/show_bug.cgi?id=18135 back to IN_PROGRESS. Best, Panos -- On Mon, Sep 19, 2016 at 10:54 PM, panagiotis merakos < panos.merakos at livecode.com> wrote: > You are welcome. Just the stack should be enough to replicate this, but I > would suggest you send everything, just in case. > > Best, > Panos > -- > On 19 Sep 2016 22:46, "Chris Sheffield" wrote: > >> It appears to be just this stack. After creating a new stack, and even >> setting it to copy the same files, the build works just fine. >> >> Yes, I do have png files, quite a lot of them, inside an images folder >> that is included in the Copy Files section. Like I said though, I included >> that folder even with the new stack, and everything worked fine. This >> particular app also makes use of a few mergExt externals. I have updated >> those to the latest versions included with LC 8.1. Again, even including >> all of those in the new simple stack I created, everything builds fine. >> >> So I will plan on sending you my stack. Do you need all the included >> files, or just the stack itself? I just tried removing all my Copy Files >> entries, and the build still fails, so I don?t think it?s related to any of >> those, but I?m happy to include them in a zip archive if you?d like. >> >> Thanks again. >> >> >> > On Sep 19, 2016, at 2:28 PM, panagiotis merakos >> wrote: >> > >> > Hi Chris, >> > >> > Hmm, that's weird, it should work. The first part of the error >> > (?resource-rules blah blah) is just a warning. The codesign fails >> because >> > of the "resource fork, Finder information, or similar detritus not >> allowed? >> > part. >> > >> > The command [get shell("xattr -cr" && quote & pAppBundle & quote)] >> should >> > recursively clear those "extended attributes" in the app bundle. I am >> not >> > on a MacOS Sierra to test now, but what happens if you try to create a >> > different ios standalone (after having applied this workaround)? >> > >> > Moreover, does your app contain any .png files in the "Copy Files" >> section? >> > >> > If you see this error *only* when building an ios standalone *for this >> > particular app*, I suggest attaching your sample stack to bug 18135 (or >> > send it privately to panos.merakos at livecode.com if it is >> confidential), so >> > as we ensure that the fix to this bug works with your stack. Today I >> tested >> > 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it >> using >> > a couple of simple stacks. >> > >> > Best regards, >> > Panos >> > -- >> > >> > On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield < >> cs_livecode at icloud.com> >> > wrote: >> > >> >> Panos, >> >> >> >> I greatly appreciate the quick reply. Unfortunately that fix didn?t >> work >> >> for me. I even dug in a little deeper and applied Monte?s other >> changes as >> >> well, and my build still fails. The ?resource-rules error is gone, but >> I am >> >> still left with the second part of the error about the "resource fork, >> >> Finder information, or similar detritus not allowed?. That is with the >> line: >> >> >> >> get shell("xattr -cr" && quote & pAppBundle & quote) >> >> >> >> added just before the code signing occurs. >> >> >> >> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1. >> >> >> >> Any other ideas? >> >> >> >> Thanks, >> >> Chris >> >> >> >> >> >>> On Sep 19, 2016, at 12:06 PM, panagiotis merakos >> >> wrote: >> >>> >> >>> Hi Chris, >> >>> >> >>> Try the workaround described here: >> >>> http://quality.livecode.com/show_bug.cgi?id=18135 >> >>> >> >>> It worked for me. >> >>> >> >>> Best, >> >>> Panos >> >>> On 19 Sep 2016 19:01, "Chris Sheffield" >> wrote: >> >>> >> >>>> I?m hoping someone can help with this. >> >>>> >> >>>> I just fired up LiveCode 8.1 this morning to create a new app build >> for >> >> a >> >>>> landscape app that has the ?cropped? issue in iOS 10. I am getting an >> >> error >> >>>> at the point that the app gets signed: >> >>>> >> >>>> codesigning failed with Warning: ?resource-rules has been deprecated >> in >> >>>> Max OS X >= 10.10! >> >>>> [path to my app]: resource fork, Finder information, or similar >> detritus >> >>>> not allowed >> >>>> >> >>>> I did a little digging and it sounds like, in an Xcode project at >> least, >> >>>> it?s simply a matter of removing the path to the ResourceRules.plist >> >> file >> >>>> in the project settings. I went and tried doing what I thought would >> be >> >> the >> >>>> equivalent in LiveCode and I commented out the lines pertaining to >> this >> >>>> file in the Settings.plist file, but that didn?t do the trick. >> >>>> >> >>>> Has anyone run into this one? I really need to get this figured out >> >> asap. >> >>>> Even if it can be solved with a temporary workaround, that?d be >> great. >> >>>> >> >>>> Thanks, >> >>>> Chris >> >>>> >> >>>> >> >>>> -- >> >>>> Chris Sheffield >> >>>> Read Naturally, Inc. >> >>>> www.readnaturally.com >> >>>> >> >>>> _______________________________________________ >> >>>> use-livecode mailing list >> >>>> use-livecode at lists.runrev.com >> >>>> Please visit this url to subscribe, unsubscribe and manage your >> >>>> subscription preferences: >> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From iowahengst at mac.com Tue Sep 20 08:15:24 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 20 Sep 2016 07:15:24 -0500 Subject: Xcode 8 / iOS 10 support coming in 8.1.1 In-Reply-To: References: <9270DEFB-F1F2-445E-81B9-0D96B9C7D1A8@midwestcoastmedia.com> <6B0987CB-5009-45C9-89EA-20C28CEC93AD@mac.com> <841A916B-B2D1-47E1-9104-1136DC7E29D0@liverpool.ac.uk> Message-ID: Panos, Thank you for the help. I?ve finished rebuilding and submitting the updates to Apple. I received the same error message with multiple apps. But, I cannot reliably recreate the problem. I?ll continue to pay attention to this issue as I continue to migrate to LC 8.x be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Sep 16, 2016, at 9:24 AM, panagiotis merakos wrote: > > Hi all, > > @Phil > I have added some comments and a workaround to the bug report > http://quality.livecode.com/show_bug.cgi?id=18416 > > @Randy > I cannot reproduce those errors, even when setting the minimum iOS version > to 8.0. Could you please file a bug report and attach a sample stack? > > Best > Panos > -- > > On Fri, Sep 16, 2016 at 2:30 PM, Phil Jimmieson > wrote: > >> Hi Randy, >> I get so many errors generated and they display in an answer dialog window >> that truncates the ends off some of the error messages and so it?s >> difficult for me to figure out what the errors actually are. The stack in >> question uses revZip and pdfPrinter though (unlike a stack I?ve got that >> works, that only uses PDFPrinter) and so I was wondering if revZip was to >> blame? >> >>> On 16 Sep 2016, at 13:45, Randy Hengst wrote: >>> >>> Hi Panos, >>> >>> Well, your response is consistent with what I thought I knew? but, when >> I tried to build a standalone with the minimum iOS version set to 8.0, I >> received the error message build on the build? there is no error message >> when I build for 9.3. And, when I build for 9.3 I can load the app on an >> iPad running iOS 10. >>> >>> ?linking for arm (arm64) failed with Id: warning: Id: warning: object >> file >>> (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r0000 >> gn/T/TemporaryItems/tmp.81721.zat*Cbeal) >>> was build for new iOS version (9.3) than being linked (8.0)object file >> (/Applications/LiveCode Indy >>> 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build >> for newer iOS version ) (9.3) >>> than being linked (8.0) >>> >>> I tried to make sense of the error message and set the build for 8.1 and >> later? when I set to build for 8.1 later, things work fine? I assume that >> has something to to do with the part of message: (/Applications/LiveCode >> Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) >>> >>> >>> I see Phil Jimmieson also noted a similar arm64 error? Phil? is your >> message like mine? What do you see that corresponds to the point in the >> error message ?8.1.0.app?? >>> >>> Thoughts anyone? >>> >>> be well, >>> randy >>> >>> Randy Hengst >>> www.classroomFocusedSoftware.com >>> >>> >>> >>>> On Sep 16, 2016, at 3:50 AM, panagiotis merakos >> wrote: >>>> >>>> Hi Randy, >>>> >>>> The version of Xcode you choose in [Preferences -> Mobile support] only >>>> decides which version of the iOS SDK will be used to *build* the iOS >>>> standalone app. >>>> >>>> In the Standalone Application Settings, you can choose the minimum iOS >>>> version you want your app to *run* in. >>>> >>>> So you set this option to "8.0 or later" >>>> >>>> Best regards, >>>> Panos >>>> -- >>>> >>>> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst >> wrote: >>>> >>>>> Thank you Panos, I?ll get that going. >>>>> >>>>> One related question?. I?ve had a computer ?issue? and now only have >> Xcode >>>>> 7.3.1 on my machine? it only has SDK 9.3. >>>>> >>>>> I assume that will allow me to build for iOS 10? but will it building >> for >>>>> the iOS 7 or 8 series? >>>>> >>>>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I?ve been >>>>> searching without success. If I have to download other Xcode apps, can >>>>> someone point me to which one would allow me to build for at least iOS >> 8 >>>>> and beyond. >>>>> >>>>> Thanks in advance for the help. >>>>> >>>>> be well, >>>>> randy >>>>> >>>>> Randy Hengst >>>>> www.classroomFocusedSoftware.com >>>>> >>>>> From bonnmike at gmail.com Tue Sep 20 09:07:42 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 20 Sep 2016 07:07:42 -0600 Subject: Silly Text Field Question In-Reply-To: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> References: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> Message-ID: Try this.. local sHilitedelay on openField -- sHilitedelay is used to avoid a weird side effect when regaining stack focus -- by clicking on a field in the card. If a field other than the previously selected -- is clicked, it can start a runaway loop. The delay solves this problem. -- when experimenting you might put in a "if the shiftkey is down then exit to top" -- so you can break out of the loop if necessary, though the delay does appear to solve it fine. if sHilitedelay is empty then put the millisec into sHilitedelay -- use send in time so that all the housekeeping is completed before you try to hilite if the millisec - sHilitedelay > 1 then send "hiliteText" to the target in 0 millisec end openField on hiliteText select the text of the target put the millisec into sHilitedelay end hiliteText On Tue, Sep 20, 2016 at 1:43 AM, Peter Reid wrote: > I know I'm missing the obvious but I just can't figure out how to get the > following behaviour with text fields... > > 1. When the user presses the tab key on the keyboard, the next field is > selected and the current content of the next field is selected (so any > typing replaces all the content). > > 2. If the user uses the mouse to click into a different text field, the > current content of the next field is selected and behaves just like 1. > > What's happening is that I can get 1. to work but every time the user > mouse-clicks into a different field, that target field gets selected but > its content is deselected and the I-bar insertion point is placed where the > mouse click occurred. > > So far I've got the following in the card script to provide the same > behaviour for all the fields on it: > > on openField > hiliteText > end openField > > on hiliteText > put the id of the target into tID > if there is a field id tID then > select the text of the target > end if > end hiliteText > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Tue Sep 20 10:16:17 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 20 Sep 2016 07:16:17 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: References: Message-ID: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> Todd, There's another LMS interface gaining some use, called "Common Cartridge". It addresses shortcomings that SCORM has for assessment of learning and will probably displace SCORM in higher Ed. https://www.imsglobal.org/cc/ccfaqs.html#37 Best, Bill William Prothero http://es.earthednet.org > On Sep 19, 2016, at 10:47 PM, Earthednet-wp wrote: > > Todd, > Fabulous! It will be a great resource for higher Ed developers. I'll see what I can do to test it at UCSB when it is available. > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Sep 19, 2016, at 10:02 PM, Todd Fabacher wrote: >> >> Hello Educators, >> >> Will Jamieson, and the DP teem are deep into creating an online and App >> integrated LMS in LiveCode. We are at the stage of creating a SCORM and >> LIT interface to our App. I see that several people have posted on the >> subject and was wondering if anyone has finished, made any progress or have >> suggestions that would help us out. >> >> We would appreciate any help in getting in using LiveCode with SCORM /LIT. >> One potential client is focused on full LIT compatibility. We of course >> will make the SCORM /LIT code Open Source for all educators. >> >> Thanks, >> >> Todd, Will and DP Education Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Sep 20 11:34:06 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 20 Sep 2016 16:34:06 +0100 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> Message-ID: Hi Chris, You can apply the workaround described here until 8.1.1 rc1 is released: https://github.com/livecode/livecode/pull/4530/files (Make sure you include the line [get shell("xattr -cr" && quote & pAppBundle & quote)] as well) Best, Panos -- On Tue, Sep 20, 2016 at 9:55 AM, panagiotis merakos < panos.merakos at livecode.com> wrote: > Hi Chris, > > I just tested with your stack in LC 8.1.1 RC-1 (not public) and I confirm > I still get the "resource fork, Finder information, or similar detritus > not allowed? error when building an iOS standalone. After further > investigation, it seems this is caused *only* if you add the "Internet" or > "tsNet" inclusion in the "Inclusions" pane. I will change the status of > http://quality.livecode.com/show_bug.cgi?id=18135 back to IN_PROGRESS. > > Best, > Panos > -- > > On Mon, Sep 19, 2016 at 10:54 PM, panagiotis merakos < > panos.merakos at livecode.com> wrote: > >> You are welcome. Just the stack should be enough to replicate this, but I >> would suggest you send everything, just in case. >> >> Best, >> Panos >> -- >> On 19 Sep 2016 22:46, "Chris Sheffield" wrote: >> >>> It appears to be just this stack. After creating a new stack, and even >>> setting it to copy the same files, the build works just fine. >>> >>> Yes, I do have png files, quite a lot of them, inside an images folder >>> that is included in the Copy Files section. Like I said though, I included >>> that folder even with the new stack, and everything worked fine. This >>> particular app also makes use of a few mergExt externals. I have updated >>> those to the latest versions included with LC 8.1. Again, even including >>> all of those in the new simple stack I created, everything builds fine. >>> >>> So I will plan on sending you my stack. Do you need all the included >>> files, or just the stack itself? I just tried removing all my Copy Files >>> entries, and the build still fails, so I don?t think it?s related to any of >>> those, but I?m happy to include them in a zip archive if you?d like. >>> >>> Thanks again. >>> >>> >>> > On Sep 19, 2016, at 2:28 PM, panagiotis merakos >>> wrote: >>> > >>> > Hi Chris, >>> > >>> > Hmm, that's weird, it should work. The first part of the error >>> > (?resource-rules blah blah) is just a warning. The codesign fails >>> because >>> > of the "resource fork, Finder information, or similar detritus not >>> allowed? >>> > part. >>> > >>> > The command [get shell("xattr -cr" && quote & pAppBundle & quote)] >>> should >>> > recursively clear those "extended attributes" in the app bundle. I am >>> not >>> > on a MacOS Sierra to test now, but what happens if you try to create a >>> > different ios standalone (after having applied this workaround)? >>> > >>> > Moreover, does your app contain any .png files in the "Copy Files" >>> section? >>> > >>> > If you see this error *only* when building an ios standalone *for this >>> > particular app*, I suggest attaching your sample stack to bug 18135 (or >>> > send it privately to panos.merakos at livecode.com if it is >>> confidential), so >>> > as we ensure that the fix to this bug works with your stack. Today I >>> tested >>> > 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it >>> using >>> > a couple of simple stacks. >>> > >>> > Best regards, >>> > Panos >>> > -- >>> > >>> > On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield < >>> cs_livecode at icloud.com> >>> > wrote: >>> > >>> >> Panos, >>> >> >>> >> I greatly appreciate the quick reply. Unfortunately that fix didn?t >>> work >>> >> for me. I even dug in a little deeper and applied Monte?s other >>> changes as >>> >> well, and my build still fails. The ?resource-rules error is gone, >>> but I am >>> >> still left with the second part of the error about the "resource fork, >>> >> Finder information, or similar detritus not allowed?. That is with >>> the line: >>> >> >>> >> get shell("xattr -cr" && quote & pAppBundle & quote) >>> >> >>> >> added just before the code signing occurs. >>> >> >>> >> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1. >>> >> >>> >> Any other ideas? >>> >> >>> >> Thanks, >>> >> Chris >>> >> >>> >> >>> >>> On Sep 19, 2016, at 12:06 PM, panagiotis merakos >> > >>> >> wrote: >>> >>> >>> >>> Hi Chris, >>> >>> >>> >>> Try the workaround described here: >>> >>> http://quality.livecode.com/show_bug.cgi?id=18135 >>> >>> >>> >>> It worked for me. >>> >>> >>> >>> Best, >>> >>> Panos >>> >>> On 19 Sep 2016 19:01, "Chris Sheffield" >>> wrote: >>> >>> >>> >>>> I?m hoping someone can help with this. >>> >>>> >>> >>>> I just fired up LiveCode 8.1 this morning to create a new app build >>> for >>> >> a >>> >>>> landscape app that has the ?cropped? issue in iOS 10. I am getting >>> an >>> >> error >>> >>>> at the point that the app gets signed: >>> >>>> >>> >>>> codesigning failed with Warning: ?resource-rules has been >>> deprecated in >>> >>>> Max OS X >= 10.10! >>> >>>> [path to my app]: resource fork, Finder information, or similar >>> detritus >>> >>>> not allowed >>> >>>> >>> >>>> I did a little digging and it sounds like, in an Xcode project at >>> least, >>> >>>> it?s simply a matter of removing the path to the ResourceRules.plist >>> >> file >>> >>>> in the project settings. I went and tried doing what I thought >>> would be >>> >> the >>> >>>> equivalent in LiveCode and I commented out the lines pertaining to >>> this >>> >>>> file in the Settings.plist file, but that didn?t do the trick. >>> >>>> >>> >>>> Has anyone run into this one? I really need to get this figured out >>> >> asap. >>> >>>> Even if it can be solved with a temporary workaround, that?d be >>> great. >>> >>>> >>> >>>> Thanks, >>> >>>> Chris >>> >>>> >>> >>>> >>> >>>> -- >>> >>>> Chris Sheffield >>> >>>> Read Naturally, Inc. >>> >>>> www.readnaturally.com >>> >>>> >>> >>>> _______________________________________________ >>> >>>> use-livecode mailing list >>> >>>> use-livecode at lists.runrev.com >>> >>>> Please visit this url to subscribe, unsubscribe and manage your >>> >>>> subscription preferences: >>> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> >>> use-livecode mailing list >>> >>> use-livecode at lists.runrev.com >>> >>> Please visit this url to subscribe, unsubscribe and manage your >>> >> subscription preferences: >>> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >>> >> _______________________________________________ >>> >> use-livecode mailing list >>> >> use-livecode at lists.runrev.com >>> >> Please visit this url to subscribe, unsubscribe and manage your >>> >> subscription preferences: >>> >> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Panagiotis Merakos > LiveCode Software Developer > > Everyone Can Create Apps > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From mkoob at rogers.com Tue Sep 20 12:49:18 2016 From: mkoob at rogers.com (Martin Koob) Date: Tue, 20 Sep 2016 09:49:18 -0700 (PDT) Subject: LiveCode interface to SCORM /LIT In-Reply-To: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> Message-ID: <1474390158829-4708680.post@n4.nabble.com> I am interested integrating my app with an LMS but felt there were too many limitations with SCORM. I then found the Tin Can API. http://tincanapi.com/scorm-vs-the-tin-can-api/ Could this be another approach to integrating LiveCode and an LMS? Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708680.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Tue Sep 20 12:52:14 2016 From: mkoob at rogers.com (Martin Koob) Date: Tue, 20 Sep 2016 09:52:14 -0700 (PDT) Subject: LiveCode interface to SCORM /LIT In-Reply-To: <1474390158829-4708680.post@n4.nabble.com> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> Message-ID: <1474390334596-4708681.post@n4.nabble.com> Oh, One more question. What is LIT? Thanks. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708681.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Tue Sep 20 15:09:10 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 20 Sep 2016 12:09:10 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: <1474390334596-4708681.post@n4.nabble.com> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> Message-ID: Martin: It?s actually LTI here is a link: http://www.imsglobal.org/activity/learning-tools-interoperability There is another protocol that is getting support in the US called ?Common Cartridge?. Link: https://www.imsglobal.org/cc/ccfaqs.html#37 Common cartridge seems to have been built in response to the shortcomings of SCORM. SCORM is most useful for training, while Common Cartridge and LTI are more oriented toward higher ed, with more features necessary for assessment of student learning. If an investment is to be made in developing software to interface with an LMS, I hope they can interface with a variety of popular platforms, like Moodle, Blackboard, Canvas, and others I haven?t come across. Best, Bill > On Sep 20, 2016, at 9:52 AM, Martin Koob wrote: > > Oh, One more question. > > What is LIT? > > Thanks. > > Martin Koob > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708681.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Sep 20 15:15:03 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 20 Sep 2016 19:15:03 +0000 Subject: Fast Algorithm to Determine Average Brightness of an Image Message-ID: Use Case: I want to place puzzle tiles on top of an image. We take a field, put a grc behind it, take a snapshot, crop each word off at -1000, -1000 and then scramble the tiles to make a puzzle? all this works really well. So I decided to dress it up a bit more: we dynamically choose a color for the foreground of the field in RGB range of 0-135 for all three colors ? This gets us dark type? then add 100 to all the colors and this gets us a color for the bkgnd grc which is the same hue, but brighter (well, that depends on your preferred brand HSV, HSL, HSB LAB color theory, it's not that simple? but, close enough for this context) tiles look great.. color is randomized for each puzzle with the caveat of an occasional "ugly" (in relation to the nature photo in the background) but still? cool.. OK I thought hmmm we could also use light type with dark background and I got this working? too much fun.. Switch sUserColorRange case "darkType" set the itemdelimiter to "," # just to be safe put randomInRange(0,135) into tRGB put comma & randomInRange(0,135) after tRGB put comma & randomInRange(0,135) after tRGB set the backgroundcolor of grc "startHere" to tRGB set the foregroundcolor of fld _Quote to tRGB # same hue for background, but light repeat for each item tHue in tRGB put tHue+ (115) & comma after tTileBkgndRGB end repeat delete char -1 of tTileBkgndRGB set the backgroundColor of grc quoteBkgnd to tTileBkgndRGB break case "lightType" set the itemdelimiter to "," # just to be safe put randomInRange(136,255) into tRGB put comma & randomInRange(136,255) after tRGB put comma & randomInRange(136,255) after tRGB set the backgroundcolor of grc "startHere" to tRGB ## oops need to fix this? too light, disappears set the foregroundcolor of fld _Quote to tRGB # same hue for background, but light repeat for each item tHue in tRGB put tHue- (115) & comma after tTileBkgndRGB end repeat delete char -1 of tTileBkgndRGB set the backgroundColor of grc quoteBkgnd to tTileBkgndRGB end Switch The incoming nature photo that is the backdrop for the puzzle is a random selection. The above is predicated on a user choice/save-as-setting, but a preferred algorithm would be: Determine average overall brightness of the image. If below 130 on a scale of 1-255, then use light colored type on dark tile? if >130 then use dark type on light tiles So is there a fast, efficient way to analyze a 1200 X 800 px image to get this average brightness value. From cs_livecode at icloud.com Tue Sep 20 15:32:10 2016 From: cs_livecode at icloud.com (Chris Sheffield) Date: Tue, 20 Sep 2016 13:32:10 -0600 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> Message-ID: <3B1C274C-4603-4DF4-A100-04C899EB377E@icloud.com> That did the trick on the error, however, now LC is crashing when I try to create a build and include all the files in the app. In addition to my images folder, which contains quite a few png images, I also have a folder that contains *a lot* of mp3 files (to be exact, 8624 of them). Somewhere during the copy file process LC is crashing. :-( No error message at all... > On Sep 20, 2016, at 9:34 AM, panagiotis merakos wrote: > > Hi Chris, > > You can apply the workaround described here until 8.1.1 rc1 is released: > > https://github.com/livecode/livecode/pull/4530/files > > (Make sure you include the line [get shell("xattr -cr" && quote & > pAppBundle & quote)] as well) > > Best, > Panos > -- From merakosp at gmail.com Tue Sep 20 15:42:17 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 20 Sep 2016 22:42:17 +0300 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: <3B1C274C-4603-4DF4-A100-04C899EB377E@icloud.com> References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> <3B1C274C-4603-4DF4-A100-04C899EB377E@icloud.com> Message-ID: Hi Chris, Is the crash consistent when you include the second workaround? I am not on a MacOS Sierra to test now. Best, Panos -- On Tue, Sep 20, 2016 at 10:32 PM, Chris Sheffield wrote: > That did the trick on the error, however, now LC is crashing when I try to > create a build and include all the files in the app. In addition to my > images folder, which contains quite a few png images, I also have a folder > that contains *a lot* of mp3 files (to be exact, 8624 of them). Somewhere > during the copy file process LC is crashing. :-( No error message at all... > > > On Sep 20, 2016, at 9:34 AM, panagiotis merakos < > panos.merakos at livecode.com> wrote: > > > > Hi Chris, > > > > You can apply the workaround described here until 8.1.1 rc1 is released: > > > > https://github.com/livecode/livecode/pull/4530/files < > https://github.com/livecode/livecode/pull/4530/files> > > > > (Make sure you include the line [get shell("xattr -cr" && quote & > > pAppBundle & quote)] as well) > > > > Best, > > Panos > > -- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Tue Sep 20 15:56:43 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 20 Sep 2016 15:56:43 -0400 Subject: Fast Algorithm to Determine Average Brightness of an Image In-Reply-To: References: Message-ID: <5D39A74A-4DFA-4B3F-AC61-15E5374C8447@all-auctions.com> Hi Sannyasin, Based on my previous experiences trying to process images with LC pixel by pixel, I would have to say no. LC is too slow for this kind of processing. You would probably have to use a routine written in some other language like Objective C, or C++, etc. If anyone else has had a different experience with this type of image processing in LC please chime in! Thanks, Rick > On Sep 20, 2016, at 3:15 PM, Sannyasin Brahmanathaswami wrote: > > Use Case: > > I want to place puzzle tiles on top of an image. We take a field, put a grc behind it, take a snapshot, crop each word off at -1000, -1000 and then scramble the tiles to make a puzzle? all this works really well. So I decided to dress it up a bit more: we dynamically choose a color for the foreground of the field in RGB range of 0-135 for all three colors ? This gets us dark type? then add 100 to all the colors and this gets us a color for the bkgnd grc which is the same hue, but brighter (well, that depends on your preferred brand HSV, HSL, HSB LAB color theory, it's not that simple? but, close enough for this context) tiles look great.. color is randomized for each puzzle with the caveat of an occasional "ugly" (in relation to the nature photo in the background) but still? cool.. > > OK I thought hmmm we could also use light type with dark background and I got this working? too much fun.. > > Switch sUserColorRange > case "darkType" > set the itemdelimiter to "," # just to be safe > put randomInRange(0,135) into tRGB > put comma & randomInRange(0,135) after tRGB > put comma & randomInRange(0,135) after tRGB > set the backgroundcolor of grc "startHere" to tRGB > set the foregroundcolor of fld _Quote to tRGB > # same hue for background, but light > repeat for each item tHue in tRGB > put tHue+ (115) & comma after tTileBkgndRGB > end repeat > delete char -1 of tTileBkgndRGB > set the backgroundColor of grc quoteBkgnd to tTileBkgndRGB > break > case "lightType" > set the itemdelimiter to "," # just to be safe > put randomInRange(136,255) into tRGB > put comma & randomInRange(136,255) after tRGB > put comma & randomInRange(136,255) after tRGB > set the backgroundcolor of grc "startHere" to tRGB ## oops need to fix this? too light, disappears > set the foregroundcolor of fld _Quote to tRGB > # same hue for background, but light > repeat for each item tHue in tRGB > put tHue- (115) & comma after tTileBkgndRGB > end repeat > delete char -1 of tTileBkgndRGB > set the backgroundColor of grc quoteBkgnd to tTileBkgndRGB > end Switch > > The incoming nature photo that is the backdrop for the puzzle is a random selection. The above is predicated on a user choice/save-as-setting, but a preferred algorithm would be: > > Determine average overall brightness of the image. If below 130 on a scale of 1-255, then use light colored type on dark tile? if >130 then use dark type on light tiles > > So is there a fast, efficient way to analyze a 1200 X 800 px image to get this average brightness value. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cs_livecode at icloud.com Tue Sep 20 16:09:11 2016 From: cs_livecode at icloud.com (Chris Sheffield) Date: Tue, 20 Sep 2016 14:09:11 -0600 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> <3B1C274C-4603-4DF4-A100-04C899EB377E@icloud.com> Message-ID: <2B7D69F8-F55F-4DD3-A40B-F44F8371EB80@icloud.com> The crash is consistent, yes, even after applying the second workaround. Like I said, it appears to be happening during the file copy process, before the code signing even takes place. If it would be helpful, I can upload another archive to my dropbox that includes those audio files. I didn?t include them before because it makes everything so huge. But I?m happy to do that if you?d like. As an alternative, is there a crash report somewhere that I can look at and/or send you that might be helpful? Another thought I had, as another possible work around, was to build the app without all those audio files, then copy them into the app bundle after it?s built, then re-sign the app. But I?m not having much luck doing that either? After the re-signing process I get errors when trying to install on a device, about entitlements not being valid and/or the app itself cannot be verified. Thanks, Chris > On Sep 20, 2016, at 1:42 PM, panagiotis merakos wrote: > > Hi Chris, > > Is the crash consistent when you include the second workaround? I am not on > a MacOS Sierra to test now. > > Best, > Panos > -- > > On Tue, Sep 20, 2016 at 10:32 PM, Chris Sheffield > wrote: > >> That did the trick on the error, however, now LC is crashing when I try to >> create a build and include all the files in the app. In addition to my >> images folder, which contains quite a few png images, I also have a folder >> that contains *a lot* of mp3 files (to be exact, 8624 of them). Somewhere >> during the copy file process LC is crashing. :-( No error message at all... >> >>> On Sep 20, 2016, at 9:34 AM, panagiotis merakos < >> panos.merakos at livecode.com> wrote: >>> >>> Hi Chris, >>> >>> You can apply the workaround described here until 8.1.1 rc1 is released: >>> >>> https://github.com/livecode/livecode/pull/4530/files < >> https://github.com/livecode/livecode/pull/4530/files> >>> >>> (Make sure you include the line [get shell("xattr -cr" && quote & >>> pAppBundle & quote)] as well) >>> >>> Best, >>> Panos >>> -- >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Sep 20 16:11:13 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Sep 2016 23:11:13 +0300 Subject: Silly Text Field Question In-Reply-To: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> References: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> Message-ID: <572ec3cd-e878-e7a9-e8b4-8d1ee37c089e@gmail.com> Maybe I'm being a bit thick, but . . . I have a stack with four textFields and this script in the cardScript: on tabkey put the id of the selected fld into FLDN set the selected fld FLDN to not the selected fld FLDN end tabkey Which means that every time I press my TAB key the selection point (cursor) hops along to the next field. What I seem quite unable to do susequently, is select the text of the field the cursor is within. Richmond. On 20.09.2016 10:43, Peter Reid wrote: > I know I'm missing the obvious but I just can't figure out how to get the following behaviour with text fields... > > 1. When the user presses the tab key on the keyboard, the next field is selected and the current content of the next field is selected (so any typing replaces all the content). > > 2. If the user uses the mouse to click into a different text field, the current content of the next field is selected and behaves just like 1. > > What's happening is that I can get 1. to work but every time the user mouse-clicks into a different field, that target field gets selected but its content is deselected and the I-bar insertion point is placed where the mouse click occurred. > > So far I've got the following in the card script to provide the same behaviour for all the fields on it: > > on openField > hiliteText > end openField > > on hiliteText > put the id of the target into tID > if there is a field id tID then > select the text of the target > end if > end hiliteText > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Sep 20 16:14:07 2016 From: hh at hyperhh.de (hh) Date: Tue, 20 Sep 2016 22:14:07 +0200 Subject: Fast Algorithm to Determine Average Brightness of an Image Message-ID: > So is there a fast, efficient way to analyze a 1200 X 800 px > image to get this average brightness value. You could try the following function. It is "dirty" (the definition of 'brightness' is also unsharp!), but it is very fast. local ii="tmp-1.414214" -- uses the average color intensity of the pixel -- resulting from scaling down to a 1x1 image function avgBrightness theImage lock screen; lock messages if there is no img ii then create img ii set resizeQuality of img ii to "best" set width of img ii to the width of img 1 set height of img ii to the height of img 1 set imagedata of img ii to the imagedata of theImage set width of img ii to 1 set height of img ii to 1 put the imagedata of img ii into iData delete img ii return avg (byteToNum(byte 2 of iData), \ byteToNum(byte 3 of iData), \ byteToNum(byte 4 of iData)) unlock screen; unlock messages end avgBrightness From keith.clarke at me.com Tue Sep 20 16:16:52 2016 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 20 Sep 2016 21:16:52 +0100 Subject: How to extract specific columns/line items from a CSV file? Message-ID: <77D681EE-55BE-4E5E-A6FA-9E166D551A2B@me.com> Hi folks, I?ve a large number of sizeable CSV files from each of which I need to extract just 2 or 3 specific columns. Creating nested iterations through every item in every line seems somewhat inefficient - as does loading each full file into memory - so I feel I must be missing a trick here. Does Livecode support any elegant way of directly manipulating or ?querying? (like SQL) delimited data, to extract numbered (or named) columns/items - such as 1(Id), 3(Name) & 15(Summary) - from in each line from a CSV container or direct from a file/URL? Best, Keith.. From richmondmathewson at gmail.com Tue Sep 20 16:29:25 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Sep 2016 23:29:25 +0300 Subject: Silly Text Field Question In-Reply-To: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> References: <8A5B582C-8F5B-421A-8336-B6C97558129A@reidit.co.uk> Message-ID: <3960ebe8-2e97-572a-941f-b96a97345904@gmail.com> Well, I missed something as well. I just put this script in the cardScript: on openCard set the autoTab of fld "f1" to true set the autoTab of fld "f2" to true set the autoTab of fld "f3" to true set the autoTab of fld "f4" to true end openCard and everything works . . . even if I did lose my temper several times. https://www.dropbox.com/s/rnnj9rxla17ij8j/Text%20Hop.livecode.zip?dl=0 Richmond. On 20.09.2016 10:43, Peter Reid wrote: > I know I'm missing the obvious but I just can't figure out how to get the following behaviour with text fields... > > 1. When the user presses the tab key on the keyboard, the next field is selected and the current content of the next field is selected (so any typing replaces all the content). > > 2. If the user uses the mouse to click into a different text field, the current content of the next field is selected and behaves just like 1. > > What's happening is that I can get 1. to work but every time the user mouse-clicks into a different field, that target field gets selected but its content is deselected and the I-bar insertion point is placed where the mouse click occurred. > > So far I've got the following in the card script to provide the same behaviour for all the fields on it: > > on openField > hiliteText > end openField > > on hiliteText > put the id of the target into tID > if there is a field id tID then > select the text of the target > end if > end hiliteText > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Tue Sep 20 16:30:33 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 20 Sep 2016 23:30:33 +0300 Subject: error building iOS standalone with LiveCode 8.1 In-Reply-To: <2B7D69F8-F55F-4DD3-A40B-F44F8371EB80@icloud.com> References: <9E935854-E03B-4812-9DD6-C75DB4539C92@icloud.com> <3B1C274C-4603-4DF4-A100-04C899EB377E@icloud.com> <2B7D69F8-F55F-4DD3-A40B-F44F8371EB80@icloud.com> Message-ID: Since the crash occurs before the code signing takes place, I do not think it is caused by the second workaround. I would suggest you upload another archive that includes the audio files. The crash log would be helpful, as well. If I remember correctly, on OSX the crash logs should be stored in /Users/your_username/Library/Application Support/RunRev/Crash Logs. One last thing to try: Does the crash occur when using a different stack and adding the same assets in the Copy Files section? On Tue, Sep 20, 2016 at 11:09 PM, Chris Sheffield wrote: > The crash is consistent, yes, even after applying the second workaround. > Like I said, it appears to be happening during the file copy process, > before the code signing even takes place. > > If it would be helpful, I can upload another archive to my dropbox that > includes those audio files. I didn?t include them before because it makes > everything so huge. But I?m happy to do that if you?d like. As an > alternative, is there a crash report somewhere that I can look at and/or > send you that might be helpful? > > Another thought I had, as another possible work around, was to build the > app without all those audio files, then copy them into the app bundle after > it?s built, then re-sign the app. But I?m not having much luck doing that > either? After the re-signing process I get errors when trying to install on > a device, about entitlements not being valid and/or the app itself cannot > be verified. > > Thanks, > Chris > > > On Sep 20, 2016, at 1:42 PM, panagiotis merakos > wrote: > > > > Hi Chris, > > > > Is the crash consistent when you include the second workaround? I am not > on > > a MacOS Sierra to test now. > > > > Best, > > Panos > > -- > > > > On Tue, Sep 20, 2016 at 10:32 PM, Chris Sheffield < > cs_livecode at icloud.com> > > wrote: > > > >> That did the trick on the error, however, now LC is crashing when I try > to > >> create a build and include all the files in the app. In addition to my > >> images folder, which contains quite a few png images, I also have a > folder > >> that contains *a lot* of mp3 files (to be exact, 8624 of them). > Somewhere > >> during the copy file process LC is crashing. :-( No error message at > all... > >> > >>> On Sep 20, 2016, at 9:34 AM, panagiotis merakos < > >> panos.merakos at livecode.com> wrote: > >>> > >>> Hi Chris, > >>> > >>> You can apply the workaround described here until 8.1.1 rc1 is > released: > >>> > >>> https://github.com/livecode/livecode/pull/4530/files < > >> https://github.com/livecode/livecode/pull/4530/files> > >>> > >>> (Make sure you include the line [get shell("xattr -cr" && quote & > >>> pAppBundle & quote)] as well) > >>> > >>> Best, > >>> Panos > >>> -- > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Sep 20 16:32:30 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 20 Sep 2016 14:32:30 -0600 Subject: How to extract specific columns/line items from a CSV file? In-Reply-To: <77D681EE-55BE-4E5E-A6FA-9E166D551A2B@me.com> References: <77D681EE-55BE-4E5E-A6FA-9E166D551A2B@me.com> Message-ID: If a file you can do this.. repeat for each line tline in url "file:yourfilename.csv" put item 1 of tLine & comma & item 3 of tline & comma & item 15 of tLine & return after tExtracted end repeat delete the last char of tExtracted -- remove the extraneous return Or you can put them into an array or whatever. It should be VERY fast. If the files are very large, you can instead open the file for read, read a line, extract the data as above, and repeat till the end of the file. I think using repeat for each with a file url loads the whole thing at once then goes line to line, but I'm not sure of that. On Tue, Sep 20, 2016 at 2:16 PM, Keith Clarke wrote: > Hi folks, > I?ve a large number of sizeable CSV files from each of which I need to > extract just 2 or 3 specific columns. Creating nested iterations through > every item in every line seems somewhat inefficient - as does loading each > full file into memory - so I feel I must be missing a trick here. > > Does Livecode support any elegant way of directly manipulating or > ?querying? (like SQL) delimited data, to extract numbered (or named) > columns/items - such as 1(Id), 3(Name) & 15(Summary) - from in each line > from a CSV container or direct from a file/URL? > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Sep 20 16:43:59 2016 From: dunbarx at aol.com (dunbarx) Date: Tue, 20 Sep 2016 13:43:59 -0700 (PDT) Subject: How to extract specific columns/line items from a CSV file? In-Reply-To: <77D681EE-55BE-4E5E-A6FA-9E166D551A2B@me.com> References: <77D681EE-55BE-4E5E-A6FA-9E166D551A2B@me.com> Message-ID: <1474404239715-4708694.post@n4.nabble.com> What Mike said. The reason he said it is this: I made a 1,000,000 line CSV dataset. I extracted two random columns from it. The new 1,000,000 line dataset took 33 ticks. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-extract-specific-columns-line-items-from-a-CSV-file-tp4708690p4708694.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at me.com Tue Sep 20 17:14:47 2016 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 20 Sep 2016 22:14:47 +0100 Subject: How to extract specific columns/line items from a CSV file? In-Reply-To: References: <77D681EE-55BE-4E5E-A6FA-9E166D551A2B@me.com> Message-ID: Thanks Mike (& Craig) for confirming that iteration of some sort is the way to go. It?s interesting that the url container can be addressed directly, instead of loading the file - I?d not seen that before. I?m currently pulling each file into a regular variable, so will probably stick with that as only a few (existing) lines of code would be saved and the net overall effect on timing / resources is probably marginal if the file gets loaded behind the scenes anyway. As the column names/numbers vary by CSV file name - which I have built-out in a ColumnsOfInterest field - it looks like I?ll also be safe to iterate through these items to build the row extraction line dynamically, too. Great, thanks again - I have a direction of travel. Best, Keith.. > On 20 Sep 2016, at 21:32, Mike Bonner wrote: > > If a file you can do this.. > > repeat for each line tline in url "file:yourfilename.csv" > put item 1 of tLine & comma & item 3 of tline & comma & item 15 of tLine & > return after tExtracted > end repeat > delete the last char of tExtracted -- remove the extraneous return > > Or you can put them into an array or whatever. It should be VERY fast. If > the files are very large, you can instead open the file for read, read a > line, extract the data as above, and repeat till the end of the file. I > think using repeat for each with a file url loads the whole thing at once > then goes line to line, but I'm not sure of that. > > On Tue, Sep 20, 2016 at 2:16 PM, Keith Clarke wrote: > >> Hi folks, >> I?ve a large number of sizeable CSV files from each of which I need to >> extract just 2 or 3 specific columns. Creating nested iterations through >> every item in every line seems somewhat inefficient - as does loading each >> full file into memory - so I feel I must be missing a trick here. >> >> Does Livecode support any elegant way of directly manipulating or >> ?querying? (like SQL) delimited data, to extract numbered (or named) >> columns/items - such as 1(Id), 3(Name) & 15(Summary) - from in each line >> from a CSV container or direct from a file/URL? >> Best, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Sep 20 17:17:45 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 20 Sep 2016 17:17:45 -0400 Subject: What's everyone working on this month? (September 2016) In-Reply-To: <4B0444AE-CFF0-4A04-91EC-F48E1EA7B489@earthednet.org> References: <37B88336-A8AC-4FC9-8A8F-4CB22181F2F2@earthednet.org> <6d1c591a-3dd2-71f0-3feb-683d7c41037d@fourthworld.com> <4B0444AE-CFF0-4A04-91EC-F48E1EA7B489@earthednet.org> Message-ID: <002e01d21384$6eeb2240$4cc166c0$@net> I am migrating all my mobile apps from 6.7.x to LC 8.1.0. I am impressed with LC 8 so far now that I am into it heavy. No IDE crashes or lockups on Win 10 and El Capitan so far. IDE load times are as fast if not faster than LC6. iOS builds are using Xcode 7.3.1. I have submitted a couple of bug reports and will have at least 1 more, but I have been able to work around them for now. The first app (with a few minor issues) is running OK on Android, iOS 9 and iOS 10. Now on to the next app. Been some long nights and a lot of "answer"s but I live for this. Lots of tea with honey... Question: On the Mac the LC app is read-only now, what is the current procedure for modifying the plists? Were having fun now! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Tue Sep 20 17:42:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 20 Sep 2016 14:42:54 -0700 Subject: How to extract specific columns/line items from a CSV file? In-Reply-To: References: Message-ID: Keith Clarke wrote: > It?s interesting that the url container can be addressed directly, > instead of loading the file get url ("file:"& tFile) ...does the same as: open file tFile for read read from file until EOF close file tFile It's just more convenient than using the three-line method (which can be very useful if you need for fine-grained control over the read, such as reading in chunks or from a particular offset). Unless your files are much bigger than 100 MBs you should find loading them into memory well worth the effort for the time saved parsing them thee. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Tue Sep 20 17:59:26 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 21:59:26 +0000 Subject: use-livecode Digest, Vol 156, Issue 20 In-Reply-To: <096413D0-0B2D-4AF8-86CD-FE4442F275F9@reidit.co.uk> References: <096413D0-0B2D-4AF8-86CD-FE4442F275F9@reidit.co.uk> Message-ID: Once something is part of a standard, getting it unstandardized is probably like brain surgery with a bic pen. Best not attempted. Bob S On Sep 10, 2016, at 03:28 , Peter Reid > wrote: 1.: 2.: From bobsneidar at iotecdigital.com Tue Sep 20 18:02:47 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 22:02:47 +0000 Subject: Strategies to test stacks in different platforms In-Reply-To: <634aed49-06a4-7578-bb42-c8f3c0513073@hyperactivesw.com> References: <634aed49-06a4-7578-bb42-c8f3c0513073@hyperactivesw.com> Message-ID: <83DEB12A-DB30-482D-9410-487F94BF01C1@iotecdigital.com> +1. I got 2 new technicians whose struggles with Forms Generator made me rethink a few things. They also found bugs I had not yet discovered. Bob S On Sep 10, 2016, at 14:09 , J. Landman Gay > wrote: Really the only way to test thoroughly is to find someone else to do it, someone who has never seen your stack before. As a developer, you know too much to test in an unbiased way. Also, watching a new user try to figure out what to do will tell you a lot about your interface. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Tue Sep 20 18:04:53 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 22:04:53 +0000 Subject: ANN: new glx2 script editor now on line In-Reply-To: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> Message-ID: <8D99ADF1-B86D-42ED-BFE6-7A72531E38C1@iotecdigital.com> My beloved GLX2! I thought I had lost you!!! ;-) Bob S On Sep 10, 2016, at 19:34 , ahsoftware > wrote: Zombie alert: the dead glx2 script editor has come back to life. >From the release notes: 2016.09.10 GLX2 3.0.19 From brahma at hindu.org Tue Sep 20 18:06:13 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 20 Sep 2016 22:06:13 +0000 Subject: Fast Algorithm to Determine Average Brightness of an Image In-Reply-To: References: Message-ID: <695D6DBE-CB2E-4CDC-AE19-ECD4EFA58DFA@hindu.org> @ hh That works! fascinating. Though what is bright not bright, is, as you say, "not sharp" Images that return a value > 100 still seem bright enough to warrant darker type? and of course you may have e.g. very dark stone mountains (taking up 1/3 of the composition space at the bottom half of the image) with a very bright, blue clear sky? So "average brightness" has only so much utility in terms of choosing a color brightness for an overlay. But, this is still very useful function. Thank you! On 9/20/16, 10:14 AM, "use-livecode on behalf of hh" wrote: You could try the following function. It is "dirty" (the definition of 'brightness' is also unsharp!), but it is very fast. local ii="tmp-1.414214" -- uses the average color intensity of the pixel -- resulting from scaling down to a 1x1 image function avgBrightness theImage lock screen; lock messages if there is no img ii then create img ii set resizeQuality of img ii to "best" set width of img ii to the width of img 1 set height of img ii to the height of img 1 set imagedata of img ii to the imagedata of theImage set width of img ii to 1 set height of img ii to 1 put the imagedata of img ii into iData delete img ii return avg (byteToNum(byte 2 of iData), \ byteToNum(byte 3 of iData), \ byteToNum(byte 4 of iData)) unlock screen; unlock messages end avgBrightnes From preid at reidit.co.uk Tue Sep 20 18:07:28 2016 From: preid at reidit.co.uk (Peter Reid) Date: Tue, 20 Sep 2016 23:07:28 +0100 Subject: Silly Text Field Question In-Reply-To: References: Message-ID: <03F5A764-D31E-4412-A28C-1379663E326A@reidit.co.uk> Thanks Mike & Richmond. Mike ? your solution provides the behaviour I'm after but does seem to live on the edge of a runaway loop! I increased the millisec delay from 1 to 5 to try to reduce the potential for a runaway situation: local sHilitedelay on openField if sHilitedelay is empty then put the millisec into sHilitedelay if the millisec - sHilitedelay > 5 then send "hiliteText" to the target in 0 millisec end openField on hiliteText select the text of the target put the millisec into sHilitedelay end hiliteText Richmond ? your solution matches the keyboard tabbing behaviour I'm after but not the mouse selection behaviour. My own further idea was the following in the card script: on openField -- on tabbing into a field highlight its current content: hiliteText end openField on mouseEnter -- on mousing into/across a field highlight its current content: hiliteText end mouseEnter on hiliteText put the id of the target into tID if there is a field id tID then -- select the text of field objects only: select the text of the target end if end hiliteText The above almost does what I want, but not quite. This method allows the user to use either the tab key on the keyboard or the mouse pointer to select another field. As the new field is selected, its current content is hilited ready to be replaced by any keystrokes. Note that the user must simply move the mouse pointer into (or across) the new field but NOT click into it. When the user does click the mouse, it behaves normally and places the insertion point in the current content at the position of the mouse pointer at the moment of the click. As with Mike's approach, the script for this behaviour is in the card script to provide the default behaviour for all fields on the card. Peter -- Peter Reid Loughborough, UK > On 20 Sep 2016, at 10:14pm, use-livecode-request at lists.runrev.com wrote: > > Date: Tue, 20 Sep 2016 07:07:42 -0600 > From: Mike Bonner > To: How to use LiveCode > Subject: Re: Silly Text Field Question > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > Try this.. > > local sHilitedelay > > on openField > > -- sHilitedelay is used to avoid a weird side effect when regaining stack > focus > -- by clicking on a field in the card. If a field other than the > previously selected > -- is clicked, it can start a runaway loop. The delay solves this problem. > -- when experimenting you might put in a "if the shiftkey is down then exit > to top" > -- so you can break out of the loop if necessary, though the delay does > appear to solve it fine. > if sHilitedelay is empty then put the millisec into sHilitedelay > > -- use send in time so that all the housekeeping is completed before you > try to hilite > if the millisec - sHilitedelay > 1 then send "hiliteText" to the target > in 0 millisec > > end openField > > on hiliteText > select the text of the target > put the millisec into sHilitedelay > end hiliteText > > On 20 Sep 2016, at 10:14pm, use-livecode-request at lists.runrev.com wrote: > > Date: Tue, 20 Sep 2016 23:29:25 +0300 > From: Richmond > To: How to use LiveCode > Subject: Re: Silly Text Field Question > Message-ID: <3960ebe8-2e97-572a-941f-b96a97345904 at gmail.com> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Well, I missed something as well. > > I just put this script in the cardScript: > > on openCard > set the autoTab of fld "f1" to true > set the autoTab of fld "f2" to true > set the autoTab of fld "f3" to true > set the autoTab of fld "f4" to true > end openCard > > and everything works . . . even if I did lose my temper several times. > > https://www.dropbox.com/s/rnnj9rxla17ij8j/Text%20Hop.livecode.zip?dl=0 > > Richmond. > From bobsneidar at iotecdigital.com Tue Sep 20 18:37:35 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 22:37:35 +0000 Subject: ANN: new glx2 script editor now on line In-Reply-To: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> Message-ID: Clairvoyance no workie... I can have a look and see if I can tell what is going wrong. Bob S On Sep 10, 2016, at 19:34 , ahsoftware > wrote: Zombie alert: the dead glx2 script editor has come back to life. >From the release notes: 2016.09.10 GLX2 3.0.19 From bobsneidar at iotecdigital.com Tue Sep 20 18:39:28 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 22:39:28 +0000 Subject: Bug or Feature - Tranparent Buttons Non-Responsive In-Reply-To: References: <227169B5-CA19-4D84-9B6D-DAA7DEAAACDF@hindu.org> Message-ID: The way Jacque describes it is how it behaves for me. 10.11/8.1. Bob S On Sep 11, 2016, at 20:02 , J. Landman Gay > wrote: Is it just me that thinks the ideal button should be responsive across it's whole rect regardless of the opacity status? That that should be the default/in the engine itself? We discussed this issue before under the heading of "Grabbing Image with Transparent Mask" where the underlying challenge was the same. Transparent buttons have always responded to a click in any part of the rectangle. If it isn't happening in LC 8 then I'd call it a bug. I just tried it here though and it seemed to work okay, at least on desktop. Is it different on mobile? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Tue Sep 20 18:43:15 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 22:43:15 +0000 Subject: "lightening" a color In-Reply-To: References: Message-ID: <7A97741B-7E81-4F82-842B-9F6010E630BA@iotecdigital.com> Lots of graphic affects on Macs, but Win seems to lack some of that functionality. I will put something in front of the background, like a grapic object, then change the opacity of the graphic object. Makes selecting things with a mouse lasso impossible tho' Bob S > On Sep 10, 2016, at 15:00 , Dr. Hawkins wrote: > > I am adding the ability to have multiple clients open, and want to use > colors as a cue. > > Is there a way to "lighten" a color. That is (I suppose), to grab the > numeric representation, and convert that to a much paler shade of the color? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 20 18:51:25 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 20 Sep 2016 22:51:25 +0000 Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> Message-ID: False alarm. I was misremembering that GLX2 had clairvoyance for variable names, but that was a feature of another script editor now long defunct. Bob S On Sep 20, 2016, at 15:37 , Bob Sneidar > wrote: Clairvoyance no workie... I can have a look and see if I can tell what is going wrong. Bob S On Sep 10, 2016, at 19:34 , ahsoftware > wrote: Zombie alert: the dead glx2 script editor has come back to life. >From the release notes: 2016.09.10 GLX2 3.0.19 From ahsoftware at sonic.net Tue Sep 20 18:55:05 2016 From: ahsoftware at sonic.net (mwieder) Date: Tue, 20 Sep 2016 15:55:05 -0700 (PDT) Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> Message-ID: <1474412105067-4708707.post@n4.nabble.com> However, there *are* a couple of things that aren't working in release 3.0.19, and I've fixed them up and will post a new build when I get home this evening. What isn't working currently is that folding scripts don't update the line numbers. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-new-glx2-script-editor-now-on-line-tp4708283p4708707.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hyperhh.de Tue Sep 20 19:31:47 2016 From: hh at hyperhh.de (hh) Date: Wed, 21 Sep 2016 01:31:47 +0200 Subject: Fast Algorithm to Determine Average Brightness of an Image Message-ID: There is still one option that uses a weighted grayLevel-mean (I use these weights in imageJIT). This would reflect more than simple averaging that one wants a dark/light decision. return (0.1*byteToNum(byte 2 of iData) \ + 0.6*byteToNum(byte 3 of iData) \ + 0.3*byteToNum(byte 4 of iData)) Also, what will be still fast enough, you could think about scaling down _proportional_ to 3x2 pixels (or 12x8 pixels) and then applying the above weighted mean on these few pixels. p.s. I checked: The one-pixel color is by LC built from the arithmetic mean of the color channels, nearly as fast as an external! From bonnmike at gmail.com Tue Sep 20 21:04:18 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 20 Sep 2016 19:04:18 -0600 Subject: Silly Text Field Question In-Reply-To: <03F5A764-D31E-4412-A28C-1379663E326A@reidit.co.uk> References: <03F5A764-D31E-4412-A28C-1379663E326A@reidit.co.uk> Message-ID: Yeah, it is probably wiser to increase the delay as you did to be safe (if you decided to use the method) This is another thing that would be nice as a settable property. "set the autohilite of field "whatever" to true" On Tue, Sep 20, 2016 at 4:07 PM, Peter Reid wrote: > Thanks Mike & Richmond. > > Mike ? your solution provides the behaviour I'm after but does seem to > live on the edge of a runaway loop! I increased the millisec delay from 1 > to 5 to try to reduce the potential for a runaway situation: > > local sHilitedelay > > on openField > if sHilitedelay is empty then put the millisec into sHilitedelay > if the millisec - sHilitedelay > 5 then send "hiliteText" to the target > in 0 millisec > end openField > > on hiliteText > select the text of the target > put the millisec into sHilitedelay > end hiliteText > > > Richmond ? your solution matches the keyboard tabbing behaviour I'm after > but not the mouse selection behaviour. > > > My own further idea was the following in the card script: > > on openField > -- on tabbing into a field highlight its current content: > hiliteText > end openField > > on mouseEnter > -- on mousing into/across a field highlight its current content: > hiliteText > end mouseEnter > > on hiliteText > put the id of the target into tID > if there is a field id tID then > -- select the text of field objects only: > select the text of the target > end if > end hiliteText > > The above almost does what I want, but not quite. This method allows the > user to use either the tab key on the keyboard or the mouse pointer to > select another field. As the new field is selected, its current content is > hilited ready to be replaced by any keystrokes. > > Note that the user must simply move the mouse pointer into (or across) the > new field but NOT click into it. When the user does click the mouse, it > behaves normally and places the insertion point in the current content at > the position of the mouse pointer at the moment of the click. > > As with Mike's approach, the script for this behaviour is in the card > script to provide the default behaviour for all fields on the card. > > Peter > -- > Peter Reid > Loughborough, UK > > > On 20 Sep 2016, at 10:14pm, use-livecode-request at lists.runrev.com wrote: > > > > Date: Tue, 20 Sep 2016 07:07:42 -0600 > > From: Mike Bonner > > To: How to use LiveCode > > Subject: Re: Silly Text Field Question > > Message-ID: > > mail.gmail.com> > > Content-Type: text/plain; charset=UTF-8 > > > > Try this.. > > > > local sHilitedelay > > > > on openField > > > > -- sHilitedelay is used to avoid a weird side effect when regaining stack > > focus > > -- by clicking on a field in the card. If a field other than the > > previously selected > > -- is clicked, it can start a runaway loop. The delay solves this > problem. > > -- when experimenting you might put in a "if the shiftkey is down then > exit > > to top" > > -- so you can break out of the loop if necessary, though the delay does > > appear to solve it fine. > > if sHilitedelay is empty then put the millisec into sHilitedelay > > > > -- use send in time so that all the housekeeping is completed before you > > try to hilite > > if the millisec - sHilitedelay > 1 then send "hiliteText" to the target > > in 0 millisec > > > > end openField > > > > on hiliteText > > select the text of the target > > put the millisec into sHilitedelay > > end hiliteText > > > > > On 20 Sep 2016, at 10:14pm, use-livecode-request at lists.runrev.com wrote: > > > > Date: Tue, 20 Sep 2016 23:29:25 +0300 > > From: Richmond > > To: How to use LiveCode > > Subject: Re: Silly Text Field Question > > Message-ID: <3960ebe8-2e97-572a-941f-b96a97345904 at gmail.com> > > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > Well, I missed something as well. > > > > I just put this script in the cardScript: > > > > on openCard > > set the autoTab of fld "f1" to true > > set the autoTab of fld "f2" to true > > set the autoTab of fld "f3" to true > > set the autoTab of fld "f4" to true > > end openCard > > > > and everything works . . . even if I did lose my temper several times. > > > > https://www.dropbox.com/s/rnnj9rxla17ij8j/Text%20Hop.livecode.zip?dl=0 > > > > Richmond. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richard.burkett at sbcglobal.net Tue Sep 20 21:04:21 2016 From: richard.burkett at sbcglobal.net (Richard Burkett) Date: Tue, 20 Sep 2016 18:04:21 -0700 Subject: Tool palette and Inspector disappearing in LC8.1? In-Reply-To: References: Message-ID: <57D944AF-D4D1-492C-9C42-834420CF1E5B@sbcglobal.net> I probably have a number of bugs to file when I get some time to search the bugs database and do it, but has anyone else noticed that the tool palette disappears from time to time? I have an app I?m working on with a lot of substacks with their own menus, and I often work with a script open and the message box visible, and sometimes with the Inspector open, too. I?ve found that after enough time working, sometimes I can no longer open the Inspector, but more frequently the Tool Palette disappears and I have to click on the Message Box to return from the Browse mode to the LC editing cursor and then try to show the Tool Palette (which doesn?t always work when choosing the menu). It?s really annoyingly frequent. There are a lot of great things in LC 8.1, but the editing interface isn?t exactly one of them. Richard Richard Burkett richard.burkett at sbcglobal.net From bonnmike at gmail.com Tue Sep 20 21:08:19 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 20 Sep 2016 19:08:19 -0600 Subject: How to extract specific columns/line items from a CSV file? In-Reply-To: References: Message-ID: Thanks Richard, that does answer my question. Repeating for each line in an external url does load the whole thing at once. Someone remind me.. I think I read that the "for each" no longer creates a second copy of the data, is this correct? Or did it ever make a duplicate? On Tue, Sep 20, 2016 at 3:42 PM, Richard Gaskin wrote: > Keith Clarke wrote: > > > It?s interesting that the url container can be addressed directly, > > instead of loading the file > > get url ("file:"& tFile) > > ...does the same as: > > open file tFile for read > read from file until EOF > close file tFile > > It's just more convenient than using the three-line method (which can be > very useful if you need for fine-grained control over the read, such as > reading in chunks or from a particular offset). > > Unless your files are much bigger than 100 MBs you should find loading > them into memory well worth the effort for the time saved parsing them thee. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Tue Sep 20 21:12:39 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 20 Sep 2016 21:12:39 -0400 Subject: "lightening" a color In-Reply-To: <7A97741B-7E81-4F82-842B-9F6010E630BA@iotecdigital.com> References: <7A97741B-7E81-4F82-842B-9F6010E630BA@iotecdigital.com> Message-ID: There's no reason that Windows can not render a graphic or color equal to that of a Mac. Video card capabilities do have relevance however. On Sep 20, 2016 6:44 PM, "Bob Sneidar" wrote: > Lots of graphic affects on Macs, but Win seems to lack some of that > functionality. I will put something in front of the background, like a > grapic object, then change the opacity of the graphic object. Makes > selecting things with a mouse lasso impossible tho' > > Bob S > > > > On Sep 10, 2016, at 15:00 , Dr. Hawkins wrote: > > > > I am adding the ability to have multiple clients open, and want to use > > colors as a cue. > > > > Is there a way to "lighten" a color. That is (I suppose), to grab the > > numeric representation, and convert that to a much paler shade of the > color? > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at jaedworks.com Tue Sep 20 21:31:29 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 20 Sep 2016 18:31:29 -0700 Subject: Random topic: What script font do you like/use? Message-ID: I've used Andale Mono by preference, but I don't have the bold, and so on versions of LC after 5.x, bolding for comments and keywords doesn't show up in the script editor. (Bah.) I liked it because it was: 1) clean-looking with a good x-height 2) has easily distinguishable lowercase l, capital I, and number 1, and zero and O I thought about just buying the bold, but I've been experimenting with other fonts. I tried Verdana for a while-it's not monospaced, but fairly wide and very clean-looking-but it turns out that I prefer monospaced fonts better for reading code. Maybe just because I'm so used to them that non-monospaced fonts look weird in that context. Source Code Pro is appealing. ----- So... What fonts do you like best for code? Or does everybody just fall back on Courier? ;-) From monte at appisle.net Tue Sep 20 21:36:10 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 21 Sep 2016 11:36:10 +1000 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: <9F7ED30F-27CE-42A3-B589-7D0E0D71A578@appisle.net> > On 21 Sep 2016, at 11:31 AM, Jeanne A. E. DeVoto wrote: > > Source Code Pro is appealing. We are contemplating bundling this with LiveCode as the default it seems to be suitably licensed. Hack is also a pretty nice open source font http://sourcefoundry.org/hack/ Cheers Monte From brahma at hindu.org Tue Sep 20 21:52:17 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 21 Sep 2016 01:52:17 +0000 Subject: Fast Algorithm to Determine Average Brightness of an Image In-Reply-To: References: Message-ID: <2563A67E-D75F-42C1-95B2-64FCBBB59DA4@hindu.org> @ HH OK I will "bite" on your idea. but I have never examined or processed the imagedata. Please scrutinize my code below. But there is a major caveat with your original code (see below) I think I got it correct. but there is a huge difference on the result between the 1 X 1 and the 12 X 9 I have a late afternoon shot of the sun setting over the ocean. your original function returns 148.981481 # which seems too low? But if I did this correctly (I may not have) I get 192.333333 # which seems a lot more correct visually because this is bright image. average across 12x 9 = 108 px = 432 bytes of image data. did I do something wrong here. (disclaimer? this could probably be optimized?but still very fast) function avgBrightness theImage --lock screen; lock messages if there is no img ii then create img ii set resizeQuality of img ii to "best" put the width of img 1 into tOrigWidth put the height of img 1 into tOrigHeight set width of img ii to tOrigWidth set height of img ii to tOrigHeight set imagedata of img ii to the imagedata of img theImage put 12 into tNewWidth # Scale down proportinally set the width of img ii to tNewWidth put round ( (tOrigHeight*tNewWidth)/tOrigWidth) into tNewHeight set height of img ii to tNewHeight --set width of img ii to 1 --set height of img ii to 1 put the imagedata of img ii into iData put tNewWidth * tNewHeight * 4 into tNoPixelBytes delete img ii # get beyond first byte otherwise mod 4 returns bogus value put (byteToNum(byte 2 of iData) & "," &\ byteToNum(byte 3 of iData) & "," &\ byteToNum(byte 4 of iData) & ",") into tAllPixelColorValues repeat with x = 5 to tNoPixelBytes if x mod 4 = 1 then next repeat # skip this one, all zeros here. put byteToNum(byte x of iData) &"," after tAllPixelColorValues end repeat put empty into item -1 of tAllPixelColorValues # remove last empty itm return avg (tAllPixelColorValues) unlock screen; unlock messages end avgBrightness BR But if you use your original code and do not delete img ii, a different value is returned than if you uncomment that line.. if you delete img ii you get a different value. function avgBrightness1 theImage --lock screen; lock messages if there is no img ii then create img ii set resizeQuality of img ii to "best" put the width of img 1 into tOrigWidth put the height of img 1 into tOrigHeight set imagedata of img ii to the imagedata of img theImage set width of img ii to 1 set height of img ii to 1 put the imagedata of img ii into iData --delete img ii return avg (byteToNum(byte 2 of iData), \ byteToNum(byte 3 of iData), \ byteToNum(byte 4 of iData)) --unlock screen; unlock messages end avgBrightness1 On 9/20/16, 1:31 PM, "use-livecode on behalf of hh" wrote: There is still one option that uses a weighted grayLevel-mean (I use these weights in imageJIT). This would reflect more than simple averaging that one wants a dark/light decision. return (0.1*byteToNum(byte 2 of iData) \ + 0.6*byteToNum(byte 3 of iData) \ + 0.3*byteToNum(byte 4 of iData)) Also, what will be still fast enough, you could think about scaling down _proportional_ to 3x2 pixels (or 12x8 pixels) and then applying the above weighted mean on these few pixels. p.s. I checked: The one-pixel color is by LC built from the arithmetic mean of the color channels, nearly as fast as an external! From ahsoftware at sonic.net Tue Sep 20 21:57:39 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 20 Sep 2016 18:57:39 -0700 Subject: Random topic: What script font do you like/use? In-Reply-To: <9F7ED30F-27CE-42A3-B589-7D0E0D71A578@appisle.net> References: <9F7ED30F-27CE-42A3-B589-7D0E0D71A578@appisle.net> Message-ID: <24ae283a-1fee-e5c3-0ee5-6ca70f075aa3@sonic.net> On 09/20/2016 06:36 PM, Monte Goulding wrote: > >> On 21 Sep 2016, at 11:31 AM, Jeanne A. E. DeVoto wrote: >> >> Source Code Pro is appealing. Source Code Pro has been my coding font of choice on all platforms and programming languages since it was first announced. -- Mark Wieder ahsoftware at gmail.com From niconiko at gmail.com Tue Sep 20 22:08:20 2016 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 21 Sep 2016 11:08:20 +0900 Subject: Fast way to retrieve a range of data Message-ID: Given a text field ("Vocabulary Indices") of tab-delimited data whose cr lines are organized ascending-numeric first by Column 1 ("Textbook Level" = 1, 2, or 3) then next by Column 2 ("Page Number" = 1 to 200), what are fast ways of retrieving, say, all the cr lines for Textbook Level = 2, Page Number = 54? Thank you. -- Nicolas Cueto From bonnmike at gmail.com Tue Sep 20 22:31:25 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 20 Sep 2016 20:31:25 -0600 Subject: Fast way to retrieve a range of data In-Reply-To: References: Message-ID: This should be pretty fast if I understand your criteria well enough.. put field "yourfield" into tData filter lines of tData with ("2" & tab & 54 & tab & "*") On Tue, Sep 20, 2016 at 8:08 PM, Nicolas Cueto wrote: > Given a text field ("Vocabulary Indices") of tab-delimited data whose cr > lines are organized ascending-numeric first by Column 1 ("Textbook Level" = > 1, 2, or 3) then next by Column 2 ("Page Number" = 1 to 200), what are fast > ways of retrieving, say, all the cr lines for Textbook Level = 2, Page > Number = 54? > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From me at jerrydaniels.com Tue Sep 20 22:36:26 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Tue, 20 Sep 2016 21:36:26 -0500 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: <6db3c92f-c7ee-41ea-928b-45131f0b67b8@Spark> I use Typewalk Mono 1915 Medium for the most part. They have a thin as well. I use thin and medium in my own editors and medium in the native one. I am a former Verdana user for the exact reasons you stated, Jeanne. Good luck on your quest! Best, Jerry On Sep 20, 2016, 8:32 PM -0500, Jeanne A. E. DeVoto , wrote: > I've used Andale Mono by preference, but I don't have the bold, and > so on versions of LC after 5.x, bolding for comments and keywords > doesn't show up in the script editor. (Bah.) > > I liked it because it was: > 1) clean-looking with a good x-height > 2) has easily distinguishable lowercase l, capital I, and number 1, > and zero and O > > I thought about just buying the bold, but I've been experimenting > with other fonts. I tried Verdana for a while-it's not monospaced, > but fairly wide and very clean-looking-but it turns out that I prefer > monospaced fonts better for reading code. Maybe just because I'm so > used to them that non-monospaced fonts look weird in that context. > Source Code Pro is appealing. > > ----- > > So... > > What fonts do you like best for code? > Or does everybody just fall back on Courier? ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Wed Sep 21 00:25:42 2016 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 21 Sep 2016 04:25:42 +0000 Subject: Tool palette and Inspector disappearing in LC8.1? In-Reply-To: <57D944AF-D4D1-492C-9C42-834420CF1E5B@sbcglobal.net> References: <57D944AF-D4D1-492C-9C42-834420CF1E5B@sbcglobal.net> Message-ID: <87A95D79-CD10-4EB0-8C32-74D8B2E5EC8E@byu.edu> > On Sep 20, 2016, at 7:04 PM, Richard Burkett wrote: > > I probably have a number of bugs to file when I get some time to search the bugs database and do it, but has anyone else noticed that the tool palette disappears from time to time? I have an app I?m working on with a lot of substacks with their own menus, and I often work with a script open and the message box visible, and sometimes with the Inspector open, too. I?ve found that after enough time working, sometimes I can no longer open the Inspector, but more frequently the Tool Palette disappears and I have to click on the Message Box to return from the Browse mode to the LC editing cursor and then try to show the Tool Palette (which doesn?t always work when choosing the menu). It?s really annoyingly frequent. There are a lot of great things in LC 8.1, but the editing interface isn?t exactly one of them. Richard, Does this bug report match what you?re seeing? http://quality.livecode.com/show_bug.cgi?id=18292 It?s been confirmed, but I think if you could add your comments to the bug report it could help the engineering team pin it down and fix it. Regards, Devin Devin Asay Learn to code with LiveCode University https://livecode.com/store/education/ From niconiko at gmail.com Wed Sep 21 00:30:06 2016 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 21 Sep 2016 13:30:06 +0900 Subject: Japanese (unicode?) text problem Message-ID: ?With Notepad++?, created a new file, pasted English and Japanese text, set encoding to UTF-8, then saved as .txt. (Confirmed the file by opening with Windows' "Notepad".) Next, in LC8.1 ran this button script: on mouseUp put empty into field "indices" set the itemdel to quote put item 2 of the long name of this stack into tDataPath set the itemdel to "/" delete the last item of tDataPath put "/Data/bilingual.txt" after tDataPath put "file:" & tDataPath into tURL put url tURL into field "indices" end mouseUp The text appears in the field, but with Japanese text garbled. What am I doing wrong? Thanks. -- Nicolas Cueto From capellan2000 at gmail.com Wed Sep 21 01:13:28 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 21 Sep 2016 01:13:28 -0400 Subject: Malte Brill stack Message-ID: Hi All, Many years ago, Malte Brill posted a stack (or script) that shows how to use images within text fields to simulate a game display board. In his sample text field, you could type a word and automatically, each letter was converted to a bitmap image of the letter typed. Probably, Malte created this stack for one of his games, but I have lose the reference of the message date and stack's name. Does anyone keeps a copy of this stack or could find the date of publishing, among your backups? Many Thanks in advance! Alejandro From selander at tkf.att.ne.jp Wed Sep 21 01:30:17 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 21 Sep 2016 14:30:17 +0900 Subject: Japanese (unicode?) text problem In-Reply-To: References: Message-ID: <57E21AE9.2090608@tkf.att.ne.jp> Hi Nicolas, Finally something I can answer! I have found that you need to use 'open file' because that let's you specify the file's encoding. Assume the path to your file is in tFile, these lines should work: open file tFile for utf8 read read from file tFile until end put it into fld "indices" close file tFile If there is a more elegant way, I'm sure the pros will chime in! Tim Selander Tokyo, Japan On 2016/09/21 13:30, Nicolas Cueto wrote: > ?With Notepad++?, created a new file, pasted English and Japanese text, set > encoding to UTF-8, then saved as .txt. (Confirmed the file by opening with > Windows' "Notepad".) > > Next, in LC8.1 ran this button script: > > on mouseUp > put empty into field "indices" > set the itemdel to quote > put item 2 of the long name of this stack into tDataPath > set the itemdel to "/" > delete the last item of tDataPath > put "/Data/bilingual.txt" after tDataPath > put "file:" & tDataPath into tURL > put url tURL into field "indices" > end mouseUp > > The text appears in the field, but with Japanese text garbled. > > What am I doing wrong? > > Thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tore.nilsen at me.com Wed Sep 21 01:36:52 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 21 Sep 2016 07:36:52 +0200 Subject: Japanese (unicode?) text problem In-Reply-To: References: Message-ID: <35D272D4-1208-41B8-8E83-EB0FC6D52493@me.com> Internally LiveCode uses UTF-16. You can try to decode your text from UTF-8 like this: put url tUrl into tTextToDecode put textDecode(tTextToDecode,?UTF-8") into field ?indices" regards Tore > 21. sep. 2016 kl. 06.30 skrev Nicolas Cueto : > > ?With Notepad++?, created a new file, pasted English and Japanese text, set > encoding to UTF-8, then saved as .txt. (Confirmed the file by opening with > Windows' "Notepad".) > > Next, in LC8.1 ran this button script: > > on mouseUp > put empty into field "indices" > set the itemdel to quote > put item 2 of the long name of this stack into tDataPath > set the itemdel to "/" > delete the last item of tDataPath > put "/Data/bilingual.txt" after tDataPath > put "file:" & tDataPath into tURL > put url tURL into field "indices" > end mouseUp > > The text appears in the field, but with Japanese text garbled. > > What am I doing wrong? > > Thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Sep 21 01:56:04 2016 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 20 Sep 2016 22:56:04 -0700 (PDT) Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: <1474437364869-4708725.post@n4.nabble.com> I default to Source Code Pro SemiBold. Good identification between upper and lower case, has easily distinguishable lowercase l, capital I, and number 1, and zero and O You have the options of Source Code Pro Source Code Pro Black Source Code Pro ExtraLight Source Code Pro Light Source Code Pro SemiBold ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Random-topic-What-script-font-do-you-like-use-tp4708713p4708725.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Sep 21 02:11:10 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Sep 2016 09:11:10 +0300 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: Ubuntu bold. http://font.ubuntu.com Richmond. On 21.09.2016 04:31, Jeanne A. E. DeVoto wrote: > I've used Andale Mono by preference, but I don't have the bold, and so > on versions of LC after 5.x, bolding for comments and keywords doesn't > show up in the script editor. (Bah.) > > I liked it because it was: > 1) clean-looking with a good x-height > 2) has easily distinguishable lowercase l, capital I, and number 1, > and zero and O > > I thought about just buying the bold, but I've been experimenting with > other fonts. I tried Verdana for a while-it's not monospaced, but > fairly wide and very clean-looking-but it turns out that I prefer > monospaced fonts better for reading code. Maybe just because I'm so > used to them that non-monospaced fonts look weird in that context. > Source Code Pro is appealing. > > ----- > > So... > > What fonts do you like best for code? > Or does everybody just fall back on Courier? ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Sep 21 02:08:57 2016 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 20 Sep 2016 23:08:57 -0700 (PDT) Subject: Japanese (unicode?) text problem In-Reply-To: References: Message-ID: <1474438137413-4708727.post@n4.nabble.com> or put url tUrl into tTextToDecode put uniDecode(tTextToDecode,?Japanese") into field ?indices" ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Japanese-unicode-text-problem-tp4708721p4708727.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at me.com Wed Sep 21 02:40:35 2016 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 21 Sep 2016 07:40:35 +0100 Subject: How to extract specific columns/line items from a CSV file? In-Reply-To: References: Message-ID: <00620089-0724-460F-A53B-BC0F3C9CDE45@me.com> Thanks Richard - the target CSVs are indeed in the 1-100MB range (containing mostly noise data for my current purpose) and it?s always useful to know, amongst the many roads available with LiveCode, which 'all lead to Rome', with the same ETA! :-) Best, Keith.. > On 20 Sep 2016, at 22:42, Richard Gaskin wrote: > > Keith Clarke wrote: > > > It?s interesting that the url container can be addressed directly, > > instead of loading the file > > get url ("file:"& tFile) > > ...does the same as: > > open file tFile for read > read from file until EOF > close file tFile > > It's just more convenient than using the three-line method (which can be very useful if you need for fine-grained control over the read, such as reading in chunks or from a particular offset). > > Unless your files are much bigger than 100 MBs you should find loading them into memory well worth the effort for the time saved parsing them thee. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Wed Sep 21 02:45:35 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 21 Sep 2016 07:45:35 +0100 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: <5f7e137a-7306-9536-a347-9c4fc09bf290@livecode.com> On 21/09/2016 02:31, Jeanne A. E. DeVoto wrote: > I've used Andale Mono by preference, but I don't have the bold, and so > on versions of LC after 5.x, bolding for comments and keywords doesn't > show up in the script editor. (Bah.) > > I liked it because it was: > 1) clean-looking with a good x-height > 2) has easily distinguishable lowercase l, capital I, and number 1, and > zero and O > > I thought about just buying the bold, but I've been experimenting with > other fonts. I tried Verdana for a while-it's not monospaced, but fairly > wide and very clean-looking-but it turns out that I prefer monospaced > fonts better for reading code. Maybe just because I'm so used to them > that non-monospaced fonts look weird in that context. Source Code Pro is > appealing. I currently use Source Code Pro. I find Courier nearly unreadable, unfortunately. In the past (by which I mean pre-2009) I used to mostly use the "MiscFixed" X11 bitmap font. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From dvglasgow at gmail.com Wed Sep 21 02:46:17 2016 From: dvglasgow at gmail.com (David Glasgow) Date: Wed, 21 Sep 2016 07:46:17 +0100 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: I use Trebuchet MS. It looks a bit different, doesn't look like an MS font, and seems similar on Mac & Win. Sent from my iBrain via iFingers & iPad i-psych.co.uk LinkedIn > On 21 Sep 2016, at 02:31, Jeanne A. E. DeVoto wrote: > > I've used Andale Mono by preference, but I don't have the bold, and so on versions of LC after 5.x, bolding for comments and keywords doesn't show up in the script editor. (Bah.) > > I liked it because it was: > 1) clean-looking with a good x-height > 2) has easily distinguishable lowercase l, capital I, and number 1, and zero and O > > I thought about just buying the bold, but I've been experimenting with other fonts. I tried Verdana for a while-it's not monospaced, but fairly wide and very clean-looking-but it turns out that I prefer monospaced fonts better for reading code. Maybe just because I'm so used to them that non-monospaced fonts look weird in that context. Source Code Pro is appealing. > > ----- > > So... > > What fonts do you like best for code? > Or does everybody just fall back on Courier? ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Wed Sep 21 05:33:41 2016 From: hh at hyperhh.de (hh) Date: Wed, 21 Sep 2016 11:33:41 +0200 Subject: Fast Algorithm to Determine Average Brightness of an Image Message-ID: @BR I adjusted your function a litte bit (and it works now here). There is a new parameter for testing the upper/lower half of the image (this param = empty tests the full image). The mouseUp is my suggestion for a first testing. On base of these two values you could develop a decision rule for a dark/light setting. [This may be better than simply averaging "sky" and "stones". For example my first trial for a rule would be if 0.62*upperBrightness + 0.38*lowerBrightness > 127 then set totalBrightnes to "light" else set totalBrightness to "dark"] on mouseUp set the paintcompression to RLE set topleft of img 1 to the bottomleft of me put the millisecs into m1 put avgBrightness2(the long id of img 1,"upper") into b set backcolor of grc 1 to (b,b,b) put b into c put avgBrightness2(the long id of img 1,"lower") into b set backcolor of grc 2 to (b,b,b) put comma & b after c put c & ": " & (the millisecs - m1) & " ms" into fld 1 end mouseUp ## The adjusted function: -- theImage = the long id of an img -- thePart= "upper" or "lower" or empty (or anything else) function avgBrightness2 theImage, thePart lock screen; lock messages put "tmp.42.42" into ii put the imageData of theImage into iData0 put the width of img 1 into tOrigWidth if thePart is "upper" then put (the height of img 1) div 2 into tOrigHeight put byte 1 to 4*tOrigHeight*tOrigWidth of iData0 into iData0 else if thePart is "lower" then put (the height of img 1) div 2 into tOrigHeight put byte -4*tOrigHeight*tOrigWidth to -1 of iData0 into iData0 else put the height of img 1 into tOrigHeight end if repeat while there is an img ii delete img ii end repeat set the paintcompression to RLE -- important for speed create img ii set resizeQuality of img ii to "normal" -- "good", "best" set width of img ii to tOrigWidth -- may be important* set height of img ii to tOrigHeight -- may be important* set imagedata of img ii to iData0 put 8 into newBase -- choose newBase in range 1-64 (watch speed!) if tOrigWidth > tOrigHeight then put newBase into newHeight put trunc(newBase*tOrigWidth/tOrigHeight) into newWidth else put newBase into newWidth put trunc(newBase*tOrigHeight/tOrigWidth) into newHeight end if set width of img ii to newWidth set height of img ii to newHeight put the imagedata of img ii into iData delete img ii put 0 into vRed; put 0 into vGreen; put 0 into vBlue repeat with i=1 to newHeight put (i-1)*4 into i0 repeat with j=1 to newWidth add byteToNum(byte i0+4*j-2 of iData) to vRed add byteToNum(byte i0+4*j-1 of iData) to vGreen add byteToNum(byte i0+4*j of iData) to vBlue end repeat end repeat -- return round((0.1*vRed+0.6*vGreen+0.3*vBlue)/newWidth/newHeight) return round(avg(vRed, vGreen, vRed)/newWidth/newHeight) unlock screen; unlock messages end avgBrightness2 * Your experience of "deleting" or not img "tmp" was an effect of the resizeQuality setting because you didn't set the tmp-image to the original's size. This differs not this much from setting the size, but it differs by a 'jumping' amount for different original's size and different resizeQuality. From richard.burkett at sbcglobal.net Wed Sep 21 06:09:49 2016 From: richard.burkett at sbcglobal.net (Richard Burkett) Date: Wed, 21 Sep 2016 03:09:49 -0700 Subject: use-livecode Digest, Vol 156, Issue 48 In-Reply-To: References: Message-ID: <652C681F-3ADD-48F5-B863-30A96A45C632@sbcglobal.net> Hi Devin, Yes, that?s pretty much it exactly. I?ll try to isolate when this happens and add it to the bug report. And yes, the Inspector failing to re-open seems worse in LC 8.0.2 Thanks, RIchard Richard Burkett richard.burkett at sbcglobal.net > > Message: 14 > Date: Wed, 21 Sep 2016 04:25:42 +0000 > From: Devin Asay > > To: How to use LiveCode > > >> On Sep 20, 2016, at 7:04 PM, Richard Burkett > wrote: >> >> I probably have a number of bugs to file when I get some time to search the bugs database and do it, but has anyone else noticed that the tool palette disappears from time to time? I have an app I?m working on with a lot of substacks with their own menus, and I often work with a script open and the message box visible, and sometimes with the Inspector open, too. I?ve found that after enough time working, sometimes I can no longer open the Inspector, but more frequently the Tool Palette disappears and I have to click on the Message Box to return from the Browse mode to the LC editing cursor and then try to show the Tool Palette (which doesn?t always work when choosing the menu). It?s really annoyingly frequent. There are a lot of great things in LC 8.1, but the editing interface isn?t exactly one of them. > > Richard, > > Does this bug report match what you?re seeing? > > http://quality.livecode.com/show_bug.cgi?id=18292 > > It?s been confirmed, but I think if you could add your comments to the bug report it could help the engineering team pin it down and fix it. > > Regards, > > Devin > > > Devin Asay > Learn to code with LiveCode University > https://livecode.com/store/education/ From roger.e.eller at sealedair.com Wed Sep 21 08:25:41 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 21 Sep 2016 08:25:41 -0400 Subject: Extra spaces in .XLS files In-Reply-To: References: Message-ID: Has anyone here ever ran into this? When I put URL ("file:/path/to/file.xls") into field "imported text", EVERY character has an extra space following it. Example: c e l l 1 TAB c e l l 2 TAB h e l l o w o r l d I can script them away to normalize the text, but I find it to be strange. ~Roger From MikeKerner at roadrunner.com Wed Sep 21 08:46:57 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 21 Sep 2016 08:46:57 -0400 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: InputMono Light. It's similar to SCP but I like the shapes better, and the antialiasing is less fuzzy. On Wed, Sep 21, 2016 at 2:46 AM, David Glasgow wrote: > I use Trebuchet MS. It looks a bit different, doesn't look like an MS > font, and seems similar on Mac & Win. > > Sent from my iBrain via iFingers & iPad > > i-psych.co.uk > > LinkedIn > > > On 21 Sep 2016, at 02:31, Jeanne A. E. DeVoto > wrote: > > > > I've used Andale Mono by preference, but I don't have the bold, and so > on versions of LC after 5.x, bolding for comments and keywords doesn't show > up in the script editor. (Bah.) > > > > I liked it because it was: > > 1) clean-looking with a good x-height > > 2) has easily distinguishable lowercase l, capital I, and number 1, and > zero and O > > > > I thought about just buying the bold, but I've been experimenting with > other fonts. I tried Verdana for a while-it's not monospaced, but fairly > wide and very clean-looking-but it turns out that I prefer monospaced fonts > better for reading code. Maybe just because I'm so used to them that > non-monospaced fonts look weird in that context. Source Code Pro is > appealing. > > > > ----- > > > > So... > > > > What fonts do you like best for code? > > Or does everybody just fall back on Courier? ;-) > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Sep 21 09:22:37 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 21 Sep 2016 09:22:37 -0400 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: http://input.fontbureau.com/ On Wed, Sep 21, 2016 at 8:46 AM, Mike Kerner wrote: > InputMono Light. It's similar to SCP but I like the shapes better, and > the antialiasing is less fuzzy. > > On Wed, Sep 21, 2016 at 2:46 AM, David Glasgow > wrote: > >> I use Trebuchet MS. It looks a bit different, doesn't look like an MS >> font, and seems similar on Mac & Win. >> >> Sent from my iBrain via iFingers & iPad >> >> i-psych.co.uk >> >> LinkedIn >> >> > On 21 Sep 2016, at 02:31, Jeanne A. E. DeVoto >> wrote: >> > >> > I've used Andale Mono by preference, but I don't have the bold, and so >> on versions of LC after 5.x, bolding for comments and keywords doesn't show >> up in the script editor. (Bah.) >> > >> > I liked it because it was: >> > 1) clean-looking with a good x-height >> > 2) has easily distinguishable lowercase l, capital I, and number 1, and >> zero and O >> > >> > I thought about just buying the bold, but I've been experimenting with >> other fonts. I tried Verdana for a while-it's not monospaced, but fairly >> wide and very clean-looking-but it turns out that I prefer monospaced fonts >> better for reading code. Maybe just because I'm so used to them that >> non-monospaced fonts look weird in that context. Source Code Pro is >> appealing. >> > >> > ----- >> > >> > So... >> > >> > What fonts do you like best for code? >> > Or does everybody just fall back on Courier? ;-) >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From peter.brett at livecode.com Wed Sep 21 09:51:32 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 21 Sep 2016 14:51:32 +0100 Subject: Extra spaces in .XLS files In-Reply-To: References: Message-ID: On 21/09/2016 13:25, Roger Eller wrote: > Has anyone here ever ran into this? When I put URL > ("file:/path/to/file.xls") into field "imported text", EVERY character has > an extra space following it. > > Example: c e l l 1 TAB c e l l 2 TAB h e l l o w o r l d > > I can script them away to normalize the text, but I find it to be strange. Hi Roger, You didn't tell LiveCode how to decode the file, so it's using it's naive default decoding strategy (1 byte per character, native encoding) which is almost certainly not what you want. Try something like: textDecode(url "binfile://path/to/file.xls", "utf-16") This is also wrong (.xls files are big balls of complicated binary data, not text) but it might get you marginally closer. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From devin_asay at byu.edu Wed Sep 21 11:53:06 2016 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 21 Sep 2016 15:53:06 +0000 Subject: use-livecode Digest, Vol 156, Issue 48 In-Reply-To: <652C681F-3ADD-48F5-B863-30A96A45C632@sbcglobal.net> References: <652C681F-3ADD-48F5-B863-30A96A45C632@sbcglobal.net> Message-ID: <20D9ABA7-469F-45E9-A936-CA23CFDC1942@byu.edu> > On Sep 21, 2016, at 4:09 AM, Richard Burkett wrote: > > Hi Devin, > Yes, that?s pretty much it exactly. I?ll try to isolate when this happens and add it to the bug report. And yes, the Inspector failing to re-open seems worse in LC 8.0.2 Good news! It finally annoyed @montegoulding so much that he fixed it: https://github.com/livecode/livecode-ide/pull/1391 Devin Devin Asay Director Office of Digital Humanities Brigham Young University From ambassador at fourthworld.com Wed Sep 21 12:21:13 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Sep 2016 09:21:13 -0700 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: Jeanne A. E. DeVoto wrote: > I've used Andale Mono by preference, but I don't have the bold, and > so on versions of LC after 5.x, bolding for comments and keywords > doesn't show up in the script editor. (Bah.) > > I liked it because it was: > 1) clean-looking with a good x-height > 2) has easily distinguishable lowercase l, capital I, and number 1, > and zero and O I was a big fan of Andale Mono for many years, deeply in love were it not for one failing critical in programming: the descending tail of the comma is too short, requiring a closer look than should be necessary to distinguish it from a period. When I began moving most of my platform-independent work to Ubuntu I tried out Ubuntu Mono. At first this was because I'm something of an Ubuntu fanboi, but ultimately I've come to appreciate its craftsmanship, aimed squarely at coders while retaining the eye for good clean style that distinguishes so much of the work from the Ubuntu design team. Being the default Terminal and text editor choice on one of the leading OSes for devops, Ubuntu Mono has proven itself with its spacious clean kerning, and the comma is _very_ distinct from the period. :) And I just checked: Ubuntu Mono renders well with bold in LiveCode. It's free and open, downloadable here: http://font.ubuntu.com/ I also find the standard Ubuntu font quite pleasing as well, an mildly adventurous sans serif that maintains good readability on screen. I tend to use it in my conference presentations, no matter which OS I happen to be talking about at the time. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Sep 21 12:40:30 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Sep 2016 09:40:30 -0700 Subject: Should merge suppress errors Message-ID: <8f218066-d655-ae42-1739-96b1c77405ed@fourthworld.com> Try this: on mouseUp put "This is [[ foo() ]] a test" into s put merge(s) put foo() end mouseUp function foo return 1 + "string" end foo Observed result: "This is a test" appears in the Message Box Expected result: LC would throw an error in the foo function. Now comment out the line that calls merge and try again. Observed result: foo triggers an error, as expected. This suggests that not only are errors within merge operations ignored (something worth exploring in itself), but once an error is encountered in a merge operation execution seems to stop, but silently. Bug or feature? My instincts say "bug", but this appears to be consistent in v6.7 through 8.1, so maybe there's some benefit to this that's not obvious to me. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Wed Sep 21 13:05:39 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 21 Sep 2016 13:05:39 -0400 Subject: Extra spaces in .XLS files In-Reply-To: References: Message-ID: On Wed, Sep 21, 2016 at 9:51 AM, Peter TB Brett wrote: > On 21/09/2016 13:25, Roger Eller wrote: > >> Has anyone here ever ran into this? When I put URL >> ("file:/path/to/file.xls") into field "imported text", EVERY character has >> an extra space following it. >> >> Example: c e l l 1 TAB c e l l 2 TAB h e l l o w o r l d >> >> I can script them away to normalize the text, but I find it to be strange. >> > > Hi Roger, > > You didn't tell LiveCode how to decode the file, so it's using it's naive > default decoding strategy (1 byte per character, native encoding) which is > almost certainly not what you want. > > Try something like: > > textDecode(url "binfile://path/to/file.xls", "utf-16") > > This is also wrong (.xls files are big balls of complicated binary data, > not text) but it might get you marginally closer. > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > Thanks Peter! Had I been working in 8.x that would have done the trick. You pointed me in the right direction though. My legacy stack is in 6.x so I had to: get uniDecode(url ("binfile://path/to/file.xls")) ~Roger From brahma at hindu.org Wed Sep 21 15:01:02 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 21 Sep 2016 19:01:02 +0000 Subject: Should merge suppress errors In-Reply-To: <8f218066-d655-ae42-1739-96b1c77405ed@fourthworld.com> References: <8f218066-d655-ae42-1739-96b1c77405ed@fourthworld.com> Message-ID: semi related, but since 8.* I'm seeing errors that block execution but never throw an error dialog as such? I have turned on debugging and am trying to watch for a recipe. But there are times when stack script: edit/compile (no error thrown) botton: calls function or fires command in stack script. run: Debugger opens with the function call in the button flagged? but in fact the error is in the definition of the function in the stack script. go back to stack script "oh sheesh? typo in that variable name?" could be my own ignorance? On 9/21/16, 6:40 AM, "use-livecode on behalf of Richard Gaskin" wrote: This suggests that not only are errors within merge operations ignored (something worth exploring in itself), but once an error is encountered in a merge operation execution seems to stop, but silently. From brahma at hindu.org Wed Sep 21 15:10:47 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 21 Sep 2016 19:10:47 +0000 Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> Message-ID: <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> I got GLX from Jerry "eons" ago, but had challenges? I'll give it a go again.. thanks Mark! I see you uploaded a version 3 hours ago? cross fingers for compatilibity on 8.1 OS X where are the docs? BR On 9/20/16, 12:37 PM, "use-livecode on behalf of Bob Sneidar" wrote: On Sep 10, 2016, at 19:34 , ahsoftware > wrote: Zombie alert: the dead glx2 script editor has come back to life. From the release notes: 2016.09.10 GLX2 3.0.19 From hlowe at me.com Wed Sep 21 16:12:19 2016 From: hlowe at me.com (hlowe) Date: Wed, 21 Sep 2016 13:12:19 -0700 (PDT) Subject: LC 8.1.0 Inclusions and DataGrid bug? Message-ID: <1474488739971-4708743.post@n4.nabble.com> Using LC 8.1.0 on Mac OS 10. Selecting the checkbox for DataGrid in the "Standalone Application Settings - Inclusions" seems to disable DataGrids while unchecking DataGrid allows them to function as expected in an iOS app (both simulator and device). A bug I presume in which the checkbox logic is reversed? Can anyone else confirm this? Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-8-1-0-Inclusions-and-DataGrid-bug-tp4708743.html Sent from the Revolution - User mailing list archive at Nabble.com. From merakosp at gmail.com Wed Sep 21 16:47:33 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 21 Sep 2016 23:47:33 +0300 Subject: LC 8.1.0 Inclusions and DataGrid bug? In-Reply-To: <1474488739971-4708743.post@n4.nabble.com> References: <1474488739971-4708743.post@n4.nabble.com> Message-ID: Hi Henry, I confirm this is a bug: http://quality.livecode.com/show_bug.cgi?id=18445 It will be fixed in the next release. Best, Panos -- On Wed, Sep 21, 2016 at 11:12 PM, hlowe wrote: > Using LC 8.1.0 on Mac OS 10. Selecting the checkbox for DataGrid in the > "Standalone Application Settings - Inclusions" seems to disable DataGrids > while unchecking DataGrid allows them to function as expected in an iOS app > (both simulator and device). A bug I presume in which the checkbox logic is > reversed? Can anyone else confirm this? > > Henry > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/LC-8-1-0-Inclusions-and-DataGrid-bug-tp4708743.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Sep 21 16:51:51 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Sep 2016 13:51:51 -0700 Subject: Should merge suppress errors In-Reply-To: References: Message-ID: <4fbbb252-550e-5917-198e-264488a651e3@fourthworld.com> Interesting. If merge is indeed thwarting normal error handling then that may be related. I just filed a report on this: http://quality.livecode.com/show_bug.cgi?id=18457 I added a second test in which the merge call is within a try block, with even weirder results than the first exercise (see the notes there). There may be a good reason for this behavior, but at the moment it eludes me and has made some work I need to do with that function very cumbersome, since I have no error reporting when things go wrong, just mystifying silence. -- Richard Gaskin Fourth World Systems > semi related, but since 8.* I'm seeing errors that block execution but never throw an error dialog as such? I have turned on debugging and am trying to watch for a recipe. But there are times when > > stack script: edit/compile (no error thrown) > botton: calls function or fires command in stack script. > > run: > > Debugger opens with the function call in the button flagged? but in fact the error is in the definition of the function in the stack script. go back to stack script > > "oh sheesh? typo in that variable name?" > > could be my own ignorance? > > > On 9/21/16, 6:40 AM, "use-livecode on behalf of Richard Gaskin" wrote: > > This suggests that not only are errors within merge operations ignored > (something worth exploring in itself), but once an error is encountered > in a merge operation execution seems to stop, but silently. From hlowe at me.com Wed Sep 21 17:02:59 2016 From: hlowe at me.com (hlowe) Date: Wed, 21 Sep 2016 14:02:59 -0700 (PDT) Subject: LC 8.1.0 Inclusions and DataGrid bug? In-Reply-To: References: <1474488739971-4708743.post@n4.nabble.com> Message-ID: <1474491779130-4708746.post@n4.nabble.com> Thank you, Panos. Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-8-1-0-Inclusions-and-DataGrid-bug-tp4708743p4708746.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at appisle.net Wed Sep 21 17:35:57 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 22 Sep 2016 07:35:57 +1000 Subject: Should merge suppress errors In-Reply-To: <4fbbb252-550e-5917-198e-264488a651e3@fourthworld.com> References: <4fbbb252-550e-5917-198e-264488a651e3@fourthworld.com> Message-ID: <2757AC64-F18A-49D0-A458-5C33FA2650C6@appisle.net> > On 22 Sep 2016, at 6:51 AM, Richard Gaskin wrote: > > Interesting. If merge is indeed thwarting normal error handling then that may be related. Has merge ever thrown errors on invalid expressions? It seems to be deliberately implemented so it doesn?t and I don?t recall it ever doing otherwise. Cheers Monte From revolution at jaedworks.com Wed Sep 21 17:38:33 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 21 Sep 2016 14:38:33 -0700 Subject: Random topic: What script font do you like/use? In-Reply-To: <5f7e137a-7306-9536-a347-9c4fc09bf290@livecode.com> References: <5f7e137a-7306-9536-a347-9c4fc09bf290@livecode.com> Message-ID: At 7:45 AM +0100 9/21/2016, Peter TB Brett wrote: >I currently use Source Code Pro. I find Courier nearly unreadable, >unfortunately. In the past (by which I mean pre-2009) I used to >mostly use the "MiscFixed" X11 bitmap font. There are odd differences between Courier and Courier New depending on platform. Back in the old days, I found Courier New too light on OS X and Courier much better as a documentation font. On Windows it was the opposite - Courier New looked much better than Courier, which was oddly misshapen on Windows. From revolution at jaedworks.com Wed Sep 21 17:47:05 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 21 Sep 2016 14:47:05 -0700 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: At 9:21 AM -0700 9/21/2016, Richard Gaskin wrote: >I was a big fan of Andale Mono for many years, deeply in love were >it not for one failing critical in programming: the descending tail >of the comma is too short, requiring a closer look than should be >necessary to distinguish it from a period. That's true. I've been known to retype periods or commas (or semicolons or colons, which have the same problem) because I can't be absolutely sure it's the right character in Andale Mono. Ubuntu Mono looks good, though I find it a little condensed for my taste. (Just goes to show how subtle people's preferences can be!) From dave at applicationinsight.com Wed Sep 21 17:48:01 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 21 Sep 2016 22:48:01 +0100 Subject: Random topic: What script font do you like/use? Message-ID: Source Code Pro since Mark Wieder (the font of all wisdom) posted the link on this list some years ago? > > On 09/20/2016 06:36 PM, Monte Goulding wrote: > > > >> On 21 Sep 2016, at 11:31 AM, Jeanne A. E. DeVoto <revolution@> wrote: > >> > >> Source Code Pro is appealing. > > Source Code Pro has been my coding font of choice on all platforms and > programming languages since it was first announced. > > -- > Mark Wieder > ahsoftware@ From revolution at derbrill.de Wed Sep 21 17:55:47 2016 From: revolution at derbrill.de (Malte Brill) Date: Wed, 21 Sep 2016 23:55:47 +0200 Subject: Malte Brill stack In-Reply-To: References: Message-ID: <753B5E03-E702-4C88-94A0-DDA745217CAF@derbrill.de> Hi Al, this was waaaaay back in 2005. More than a decade ago (omg I am old). It was a contest held in chatrev. Make something cool within the starter kit limits (10 lines of code). I am afraid I lost all copies of it. I remember I spent more time in Photoshop to create the font, then I spent in then revolution to code it? http://lists.runrev.com/pipermail/use-livecode/2005-June/060159.html Cheers, Malte > Hi All, > > Many years ago, Malte Brill posted > a stack (or script) that shows how > to use images within text fields to > simulate a game display board. > > In his sample text field, you could > type a word and automatically, each > letter was converted to a bitmap image > of the letter typed. > > Probably, Malte created this stack > for one of his games, but I have lose > the reference of the message date and > stack's name. > > Does anyone keeps a copy of this stack > or could find the date of publishing, > among your backups? > > Many Thanks in advance! > > Alejandro > From bonnmike at gmail.com Wed Sep 21 18:02:18 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 21 Sep 2016 16:02:18 -0600 Subject: Malte Brill stack In-Reply-To: <753B5E03-E702-4C88-94A0-DDA745217CAF@derbrill.de> References: <753B5E03-E702-4C88-94A0-DDA745217CAF@derbrill.de> Message-ID: DId anyone do the "advanced" challenge and make a robowars clone? And if so, is there any chance I can have a look at it? On Wed, Sep 21, 2016 at 3:55 PM, Malte Brill wrote: > Hi Al, > > this was waaaaay back in 2005. More than a decade ago (omg I am old). It > was a contest held in chatrev. Make something cool within the starter kit > limits (10 lines of code). I am afraid I lost all copies of it. I remember > I spent more time in Photoshop to create the font, then I spent in then > revolution to code it? > > http://lists.runrev.com/pipermail/use-livecode/2005-June/060159.html > > Cheers, > > Malte > > > Hi All, > > > > Many years ago, Malte Brill posted > > a stack (or script) that shows how > > to use images within text fields to > > simulate a game display board. > > > > In his sample text field, you could > > type a word and automatically, each > > letter was converted to a bitmap image > > of the letter typed. > > > > Probably, Malte created this stack > > for one of his games, but I have lose > > the reference of the message date and > > stack's name. > > > > Does anyone keeps a copy of this stack > > or could find the date of publishing, > > among your backups? > > > > Many Thanks in advance! > > > > Alejandro > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Sep 21 18:03:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Sep 2016 15:03:31 -0700 Subject: Should merge suppress errors In-Reply-To: <2757AC64-F18A-49D0-A458-5C33FA2650C6@appisle.net> References: <2757AC64-F18A-49D0-A458-5C33FA2650C6@appisle.net> Message-ID: <4621b650-50f3-e50f-801d-e097f3315da2@fourthworld.com> Monte Goulding wrote: >> On 22 Sep 2016, at 6:51 AM, Richard Gaskin wrote: >> >> Interesting. If merge is indeed thwarting normal error handling >> then that may be related. > > Has merge ever thrown errors on invalid expressions? It seems to be > deliberately implemented so it doesn?t and I don?t recall it ever > doing otherwise. I'd have to go back among versions farther than I currently have installed to be sure, but at least as far back as v6.7 merge doesn't report errors. This may or may not be a bug per se, which is why I initially posed it as a question. If there's a benefit to having code execution encounter an error but provide no notification I'd be happy to learn what it is so I could enjoy it. But then when I tried the "try" variant, it's now off into the weeds of unpredictability, at least for my modest mind. Perhaps the behavior patterns make sense to someone smarter, and hopefully they'll be able to explain the logic behind what we're seeing. Or it may just be a bug that's been there so long that no one noticed, everyone's just accepted that merge works like it does and we stopped asking for anything more. Heck, I've used merge long enough you'd think I would have found this mystifying earlier too. :) So maybe it's not a bug, or maybe it wasn't a bug that became a bug when "try" was added. Either way, seems worth exploring, either refining the behavior of the token's documentation. Extra bonus points (though I recognize this is quite unrelated): it would be super-cool if merge worked more like the implicit merge of LC Server, in which we could have conditional blocks in non-contiguous portions of the text. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Wed Sep 21 18:05:27 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 21 Sep 2016 18:05:27 -0400 Subject: bootstrap Message-ID: Any bootstrap hackers out there? I'm working on fixing something in the docs (which are rendered using bootstrap), and I haven't put my finger on exactly what isn't right, yet. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From monte at appisle.net Wed Sep 21 18:12:25 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 22 Sep 2016 08:12:25 +1000 Subject: Should merge suppress errors In-Reply-To: <4621b650-50f3-e50f-801d-e097f3315da2@fourthworld.com> References: <2757AC64-F18A-49D0-A458-5C33FA2650C6@appisle.net> <4621b650-50f3-e50f-801d-e097f3315da2@fourthworld.com> Message-ID: > On 22 Sep 2016, at 8:03 AM, Richard Gaskin wrote: > > Either way, seems worth exploring, either refining the behavior of the token's documentation. I personally don?t see any harm in throwing a general merge evaluation error and it would be relatively easy to implement. It would be significantly more difficult to be specific about what the error was caused by or in your example throw the error on the line in the foo function. Cheers Monte From vokey at uleth.ca Wed Sep 21 18:13:26 2016 From: vokey at uleth.ca (Vokey, John) Date: Wed, 21 Sep 2016 22:13:26 +0000 Subject: Random topic: What script font do you like/use? In-Reply-To: References: Message-ID: <70987E6D-1A4E-4FE0-894A-FE70F3BB2850@uleth.ca> I use SourceCodePro in all my programming IDEs (LiveCode, R, Matlab, Octave, ...). It is a very clean monospaced font, and comes in a wide variety of weights. > On Sep 21, 2016, at 3:33 AM, use-livecode-request at lists.runrev.com wrote: > > Message: 7 > Date: Tue, 20 Sep 2016 18:31:29 -0700 > From: "Jeanne A. E. DeVoto" > To: How to use LiveCode > Subject: Random topic: What script font do you like/use? > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > I've used Andale Mono by preference, but I don't have the bold, and > so on versions of LC after 5.x, bolding for comments and keywords > doesn't show up in the script editor. (Bah.) > > I liked it because it was: > 1) clean-looking with a good x-height > 2) has easily distinguishable lowercase l, capital I, and number 1, > and zero and O > > I thought about just buying the bold, but I've been experimenting > with other fonts. I tried Verdana for a while-it's not monospaced, > but fairly wide and very clean-looking-but it turns out that I prefer > monospaced fonts better for reading code. Maybe just because I'm so > used to them that non-monospaced fonts look weird in that context. > Source Code Pro is appealing. > > ----- > > So... > > What fonts do you like best for code? > Or does everybody just fall back on Courier? ;-) -- The trouble with quotes on the internet is that sometimes they are attributed to the wrong people. -- Benjamin Franklin Dr. John R. Vokey Chair Department of Psychology From ambassador at fourthworld.com Wed Sep 21 18:55:58 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Sep 2016 15:55:58 -0700 Subject: Should merge suppress errors In-Reply-To: References: Message-ID: Monte Goulding wrote: >> On 22 Sep 2016, at 8:03 AM, Richard Gaskin wrote: >> >> Either way, seems worth exploring, either refining the behavior >> or the token's documentation. > > I personally don?t see any harm in throwing a general merge > evaluation error and it would be relatively easy to implement. > It would be significantly more difficult to be specific about > what the error was caused by or in your example throw the error > on the line in the foo function. Specificity would be helpful of course, but if that's too hard then even knowing that an error occurred is better than not. If there's a concern about people invested in letting merge run without error notification perhaps it may be useful to consider limiting error notification to try/catch blocks, where any error info is provided in the catch, and when using outside of a try/catch block it just does what it does now. That said, it is somewhat odd that if an error is encountered in a merge call that it prevents execution of later statements after the call, and more importantly does so without notice. Since it's been this way for so long I'm mystified that no one has found that odd before, not even myself, but after discovering that today I can conceive of many ways this can make debugging uncommonly difficult. As an aside, I wonder how difficult it would be to have the explicit merge function made more compatible with the implicit merge of LC Server. Right now LC Server is a sort of island, with no way to run code written for it in any environment with a debugger. If merge (or some variant) was available with an option for processing things like non-contiguous conditional blocks, we could probably have a smoother workflow for crafting server solutions. Probably not the highest ROI thing anyone should be working on today, but maybe something to think about for another time.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Wed Sep 21 23:05:32 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 21 Sep 2016 20:05:32 -0700 Subject: ANN: new glx2 script editor now on line In-Reply-To: <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> Message-ID: On 09/21/2016 12:10 PM, Sannyasin Brahmanathaswami wrote: > I'll give it a go again.. thanks Mark! I see you uploaded a version 3 hours ago? Yeah... I finally had time to clear out some longstanding bugs, so I put a 3.0.20 build online. cross fingers for compatilibity on 8.1 OS X So far seems fine on El Capitan. You *do* have a way of pushing the limits of things, though, so I await your experiences. > where are the docs? Have I mentioned lately how much I hate WordPress? The documentation has disappeared. Or rather, the files still exist but they're no longer linked. And can't be resurrected the way they were. Anyone have recommendations for putting tutorials online? -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Wed Sep 21 23:42:57 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 21 Sep 2016 20:42:57 -0700 Subject: Difficulty with Load command Message-ID: <5E0D7207-4891-4E49-934E-F089B6A1E4C6@me.com> I?m loading an encoded array file from a remote server and want to put it into a variable: local sURL,sData load URL sURL with message ?downloadComplete" on downloadComplete open URL sURL put arrayDecode(sURL) into sData end downloadComplete I get an error-- (put: error in expression), char 1 I don?t think I know what I?m doing :( The URL is good and the file does download, but I don?t get how to read it. Peter Bogdanoff From capellan2000 at gmail.com Wed Sep 21 23:47:39 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 21 Sep 2016 23:47:39 -0400 Subject: Malte Brill stack Message-ID: Hi Malte, Many thanks for answering this request! :D I searched use-livecode mail list after chatrev contest (until December 2005), and only found a reference to one stack. In August 2005, you posted a link to this stack: pngvsgif.rev http://lists.runrev.com/pipermail/use-livecode/2005-August/065767.html Looking a 2006 CD backup, I opened your stack but it's a demo about animating a png. In your messages, there is a reference to a tutorial and a stack about using imagesource in text fields. I will keep looking among my backups but noticed that google is not indexing correctly anymore the use-livecode archives. Mike Bonner wrote: > DId anyone do the "advanced" challenge and > make a robowars clone? And if so, is there any > chance I can have a look at it? Do you refer to Geoff Canyon's stack: Starbattle? Alejandro From capellan2000 at gmail.com Thu Sep 22 02:04:34 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 22 Sep 2016 02:04:34 -0400 Subject: Malte Brill stack Message-ID: I found it! :D The tutorial I was looking for is a chapter within the MS Windows executable Program named: Derbrill Tutorials. Many thanks again for pointing this quest in the correct direction :) Have a nice weekend! Alejandro From smudge.andy at googlemail.com Thu Sep 22 02:08:35 2016 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 21 Sep 2016 23:08:35 -0700 (PDT) Subject: Difficulty with Load command In-Reply-To: <5E0D7207-4891-4E49-934E-F089B6A1E4C6@me.com> References: <5E0D7207-4891-4E49-934E-F089B6A1E4C6@me.com> Message-ID: <1474524515215-4708762.post@n4.nabble.com> Hi Peter, Have a look at this lesson, its a very clear example of how Load works. The dictionary entry is not very helpful for Load. http://lessons.livecode.com/m/4071/l/7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution?id=7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Difficulty-with-Load-command-tp4708759p4708762.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Thu Sep 22 02:22:42 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 21 Sep 2016 23:22:42 -0700 Subject: Difficulty with Load command In-Reply-To: <1474524515215-4708762.post@n4.nabble.com> References: <5E0D7207-4891-4E49-934E-F089B6A1E4C6@me.com> <1474524515215-4708762.post@n4.nabble.com> Message-ID: <2BDD4D0A-82A9-411D-AFE7-DE2DBE3A8904@me.com> Thanks Andy, you?re right, that a good explanation. I?m also seeing Richards discussion of encoded arrays: http://permalink.gmane.org/gmane.comp.ide.revolution.user/176711 I tried base64/compressed/encoding as he suggests with a ?.txt? suffix and that seems to work. It seems it won?t work at all without the txt suffix. Peter On Sep 21, 2016, at 11:08 PM, AndyP wrote: > Hi Peter, > > Have a look at this lesson, its a very clear example of how Load works. The > dictionary entry is not very helpful for Load. > > > http://lessons.livecode.com/m/4071/l/7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution?id=7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution > > > > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > Copy the new cloud space, get your free 15GB space now: > Get Copy > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Difficulty-with-Load-command-tp4708759p4708762.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Sep 22 05:54:56 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 22 Sep 2016 03:54:56 -0600 Subject: Malte Brill stack In-Reply-To: References: Message-ID: I only know the contest description referenced building a robowars clone as one of the objectives, I wasn't around at the time, so I don't know if starbattle is one of the entries.. But most likely my answer is yes, I do! I'd love to see it if it's available and ok with Geoff. On Thu, Sep 22, 2016 at 12:04 AM, Alejandro Tejada wrote: > I found it! :D > > The tutorial I was looking for > is a chapter within the MS Windows > executable Program named: > Derbrill Tutorials. > > Many thanks again for > pointing this quest in > the correct direction :) > > Have a nice weekend! > > Alejandro > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john.allijn.lc at gmail.com Thu Sep 22 06:46:43 2016 From: john.allijn.lc at gmail.com (John Allijn) Date: Thu, 22 Sep 2016 12:46:43 +0200 Subject: copy a stack from dropbox to temp-folder (script) Message-ID: Hi, I?m trying to copy a file from my dropbox?s public folder to my local temp-folder. I get the filename, create a destination path and put the remote file in the local folder. This seems to work (there is a file by that name in my temp folder), but when I go to this copied stack I get an ?this file is not a stack?-error. What am I doing wrong? here?s my script: on mouseUp put ?myStack v1.0.0.livecode? into myRemoteFileName put "https://dl.dropboxusercontent.com/u/14355803/PVT/"& myRemoteFileName into myRemoteStackName put "file:"&specialfolderpath("temporary")&slash into targetFile revCopyFile myRemoteStackName, targetFile put specialfolderpath("temporary")&slash& myRemoteFileName into stackInTempFolder go to stack stackInTempFolder put the result end mouseUp From tore.nilsen at me.com Thu Sep 22 08:10:13 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 22 Sep 2016 12:10:13 +0000 (GMT) Subject: copy a stack from dropbox to temp-folder (script) In-Reply-To: Message-ID: <22375d6b-88ad-4710-9e31-e50f86daf41c@me.com> My guess is that you need to use?binfile instead of file, as a stack is binary. Vennlig hilsen Tore Nilsen Den 21. sep 2016 kl. 23.47 skrev John Allijn f?lgende: Hi, I?m trying to copy a file from my dropbox?s public folder to my local temp-folder. I get the filename, create a destination path and put the remote file in the local folder. This seems to work (there is a file by that name in my temp folder), but when I go to this copied stack I get an ?this file is not a stack?-error. What am I doing wrong? here?s my script: on mouseUp put ?myStack v1.0.0.livecode? into myRemoteFileName put "https://dl.dropboxusercontent.com/u/14355803/PVT/"& myRemoteFileName into myRemoteStackName put "file:"&specialfolderpath("temporary")&slash into targetFile revCopyFile myRemoteStackName, targetFile put specialfolderpath("temporary")&slash& myRemoteFileName into stackInTempFolder go to stack stackInTempFolder put the result end mouseUp _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Sep 22 08:28:30 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 22 Sep 2016 14:28:30 +0200 Subject: copy a stack from dropbox to temp-folder (script) In-Reply-To: References: Message-ID: <45683F17-9A8D-42E9-87EA-4CAEDB8A795C@major-k.de> Hi John, > Am 22.09.2016 um 12:46 schrieb John Allijn : > > Hi, > > I?m trying to copy a file from my dropbox?s public folder to my local > temp-folder. > I get the filename, create a destination path and put the remote file in > the local folder. This seems to work (there is a file by that name in my > temp folder), but when I go to this copied stack I get an ?this file is not > a stack?-error. > > What am I doing wrong? > > here?s my script: > > on mouseUp > put ?myStack v1.0.0.livecode? into myRemoteFileName > > put "https://dl.dropboxusercontent.com/u/14355803/PVT/"& myRemoteFileName > into myRemoteStackName > > put "file:"&specialfolderpath("temporary")&slash into targetFile > revCopyFile myRemoteStackName, targetFile > > put specialfolderpath("temporary")&slash& myRemoteFileName into > stackInTempFolder > go to stack stackInTempFolder > > put the result > > end mouseUp "revCopyFile" needs the "naked" pathname as parameter! Try this: ... ## put "file:"&specialfolderpath("temporary")&slash into targetFile put specialfolderpath("temporary")&slash into targetFile revCopyFile myRemoteStackName, targetFile ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jbv at souslelogo.com Thu Sep 22 08:31:08 2016 From: jbv at souslelogo.com (jbv) Date: Thu, 22 Sep 2016 14:31:08 +0200 Subject: validating xml Message-ID: Hello list I have a script server-side that sends xml data to a web page. The xml content is enriched text (featuring several html tags) made by other users and stored in a DB. When enriching text with a js library, it often happens that something goes wrong with tags... So my question : is there a way (function, LC or PHP library, whatever) to check if the xml is well-formed (all tags closed, etc), and possibly fix it, before sending it to the client browser or app ? Thanks in advance jbv From roger.e.eller at sealedair.com Thu Sep 22 08:35:35 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 22 Sep 2016 08:35:35 -0400 Subject: copy a stack from dropbox to temp-folder (script) In-Reply-To: References: Message-ID: on mouseUp put ?myStack v1.0.0.livecode? into myRemoteFileName put myRemoteFileName into myLocalFileName -- same name put URL ("https://dl.dropboxusercontent.com/u/14355803/PVT/"& myRemoteFileName) into URL ("binfile://" & specialfolderpath("temporary")&slash& myLocalFileName ) go to stack URL ("binfile://" & specialfolderpath("temporary")&slash& myLocalFileName ) end mouseUp From keith.clarke at me.com Thu Sep 22 09:34:20 2016 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 22 Sep 2016 14:34:20 +0100 Subject: Any characters wildcard or regex? Message-ID: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> Hi folks, I?m trying to strip out all HTML tags from text in a variable. Replacement of specific tags works fine... replace ?
    " with empty in tText ?but I?m struggling to find (documentation on) a blanket ?any number of any characters? wildcard or regex approach... So far I?ve tried "<*>?, ?<[*]>?, ?<[.*]>?, "<" & "[.*]" & ?>? to no avail Any clues greatly appreciated. Best, Keith.. From bonnmike at gmail.com Thu Sep 22 10:03:54 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 22 Sep 2016 08:03:54 -0600 Subject: Any characters wildcard or regex? In-Reply-To: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> References: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> Message-ID: Using replacetext, you're probably looking for "<.*>" but you might be able to use a field for this.. set the htmltext of the field to your source text, Then if you don't want the formatting preserved set the text of the field to the text of the field. One problem with this method is that you may end up with javascript left over because it can appear between On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke wrote: > Hi folks, > I?m trying to strip out all HTML tags from text in a variable. Replacement > of specific tags works fine... replace ?
      " with empty in tText ?but I?m > struggling to find (documentation on) a blanket ?any number of any > characters? wildcard or regex approach... > > So far I?ve tried "<*>?, ?<[*]>?, ?<[.*]>?, "<" & "[.*]" & ?>? to no avail > > Any clues greatly appreciated. > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Sep 22 10:12:03 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 22 Sep 2016 16:12:03 +0200 Subject: Any characters wildcard or regex? In-Reply-To: References: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> Message-ID: <219381BA-9FFA-41C5-BC69-C635B740F8D6@major-k.de> Hi Mike and Keith, > Am 22.09.2016 um 16:03 schrieb Mike Bonner : > > Using replacetext, you're probably looking for "<.*>" > but you might be able to use a field for this.. set the htmltext of the > field to your source text, Then if you don't want the formatting preserved > set the text of the field to the text of the field. One problem with this > method is that you may end up with javascript left over because it can > appear between you can even (ab)use "the templatefield" for this: ... set the htmltext of the templatefield to url("http://your_url/here.html") put the text of the templatefield into fld 1 # or a variable reset the templatefield ## !! ... > On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke wrote: > >> Hi folks, >> I?m trying to strip out all HTML tags from text in a variable. Replacement >> of specific tags works fine... replace ?
        " with empty in tText ?but I?m >> struggling to find (documentation on) a blanket ?any number of any >> characters? wildcard or regex approach... >> >> So far I?ve tried "<*>?, ?<[*]>?, ?<[.*]>?, "<" & "[.*]" & ?>? to no avail >> >> Any clues greatly appreciated. >> Best, >> Keith.. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mkoob at rogers.com Thu Sep 22 10:19:02 2016 From: mkoob at rogers.com (Martin Koob) Date: Thu, 22 Sep 2016 07:19:02 -0700 (PDT) Subject: LiveCode interface to SCORM /LIT In-Reply-To: References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> Message-ID: <1474553942942-4708773.post@n4.nabble.com> Thanks for the link to LTI. I am interested in a technology that could integrate my LiveCode app into LMS's. I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as a successor to SCORM to address its shortcomings. https://experienceapi.com/history/ They list a number of adopters including BlackBoard and Moodle http://experienceapi.com/adopters/ Have you heard of this? Would this api accomplish what you are trying to do? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at me.com Thu Sep 22 10:46:57 2016 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 22 Sep 2016 15:46:57 +0100 Subject: Any characters wildcard or regex? In-Reply-To: <219381BA-9FFA-41C5-BC69-C635B740F8D6@major-k.de> References: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> <219381BA-9FFA-41C5-BC69-C635B740F8D6@major-k.de> Message-ID: <563DDA77-7862-427D-8AA3-534D73259BC0@me.com> Thanks Mike & Klaus, The simple line 'replace "<.*>" with empty in tFileText? would be ideal, but it seems to be ignored. The html approach seems to hit an early hurdle, too - if I... set the html of field "FldFileText" to URL(tFileName) set the text of field "FldFileText" to the text of field ?FldFileText ...this results in an empty field after the first or both lines. Perhaps this is because the source file is a CSV with only one item having any HTML tags? Just to clarify the problem - the source text I?m working with comes from CSV file imports and some files contain RTF fields amongst their items. These RTF styling tags sometimes contain quotes & commas that are causing occasional glitches with the CSV item delimiting - hence the need to pre-process and strip out all tags before processing the CSV import. Thanks again for your insights. Best, Keith.. > On 22 Sep 2016, at 15:12, Klaus major-k wrote: > > Hi Mike and Keith, > >> Am 22.09.2016 um 16:03 schrieb Mike Bonner : >> >> Using replacetext, you're probably looking for "<.*>" >> but you might be able to use a field for this.. set the htmltext of the >> field to your source text, Then if you don't want the formatting preserved >> set the text of the field to the text of the field. One problem with this >> method is that you may end up with javascript left over because it can >> appear between > > you can even (ab)use "the templatefield" for this: > ... > set the htmltext of the templatefield to url("http://your_url/here.html") > put the text of the templatefield into fld 1 # or a variable > reset the templatefield ## !! > ... > >> On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke wrote: >> >>> Hi folks, >>> I?m trying to strip out all HTML tags from text in a variable. Replacement >>> of specific tags works fine... replace ?
          " with empty in tText ?but I?m >>> struggling to find (documentation on) a blanket ?any number of any >>> characters? wildcard or regex approach... >>> >>> So far I?ve tried "<*>?, ?<[*]>?, ?<[.*]>?, "<" & "[.*]" & ?>? to no avail >>> >>> Any clues greatly appreciated. >>> Best, >>> Keith.. > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Sep 22 11:04:29 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 22 Sep 2016 08:04:29 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: <1474553942942-4708773.post@n4.nabble.com> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> <1474553942942-4708773.post@n4.nabble.com> Message-ID: <0A885DC9-205F-4280-9F09-239F25A3CCC4@earthednet.org> Martin, I hadn't heard about xAPI. I've really just dabbled in this subject. I know that my campus uses a highly customized version of Moodle, so it would be compatible with xAPI. Our local community college is changing over to Canvas after using Moodle, and before that, Blackboard. An organization I'm involved with that distributes higher Ed learning resources (http://serc.carleton.edu/index.html) uses a protocol called "Common Cartridge". The api needs to allow for stand-alone app integration, for my purposes. When I look at the docs for these api's, my eyes roll back in my head and I realize it would be a major project for me to implement this interface for my work. I give my projects away for free, so putting that kind of investment into the LMS api doesn't make sense for me. However, that said, I am interested and would be interested in using and/or testing, and following progress with those who might develop a livecode framework. One thing I do know is that SCORM is inadequate for higher Ed. It forces a specific learning model that is outdated. I will see if I can get some information from our Moodle IT guys at UCSB. Best, Bill William Prothero http://es.earthednet.org > On Sep 22, 2016, at 7:19 AM, Martin Koob wrote: > > Thanks for the link to LTI. I am interested in a technology that could > integrate my LiveCode app into LMS's. > > I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as > a successor to SCORM to address its shortcomings. > https://experienceapi.com/history/ > > They list a number of adopters including BlackBoard and Moodle > > http://experienceapi.com/adopters/ > > Have you heard of this? Would this api accomplish what you are trying to > do? > > Martin > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Thu Sep 22 11:02:16 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 22 Sep 2016 16:02:16 +0100 Subject: Export PNG with alpha channel/mask Message-ID: I want to compose an image using a bunch of LC objects, then export a PNG, with an alpha channel containing a mask (ideally > 1 bit, but that part's not critical). The documentation for export snapshot is not very clear. I've tried things like exporting a transparent group containing some objects; the PNG was just filled with black where there were no objects. There is an option "with mask xx", but it appears that this is only for PBM format - and in any case I can't make it work. Is there any way to do this? TIA Ben From klaus at major-k.de Thu Sep 22 11:18:43 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 22 Sep 2016 17:18:43 +0200 Subject: Export PNG with alpha channel/mask In-Reply-To: References: Message-ID: <311E4AC3-A39C-4EB9-A482-0FEEE19268C6@major-k.de> Hi Ben, > Am 22.09.2016 um 17:02 schrieb Ben Rubinstein : > > I want to compose an image using a bunch of LC objects, then export a PNG, with an alpha channel containing a mask (ideally > 1 bit, but that part's not critical). > The documentation for export snapshot is not very clear. I've tried things like exporting a transparent group containing some objects; the PNG was just filled with black where there were no objects. > There is an option "with mask xx", but it appears that this is only for PBM format - and in any case I can't make it work. > Is there any way to do this? yes, but you need to group all your objects first, then use something like this: ... export snapshot from rect (the rect of grp 1) of grp 1 to img 1 as PNG ... > TIA > > Ben Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From MikeKerner at roadrunner.com Thu Sep 22 11:21:54 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Sep 2016 11:21:54 -0400 Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> Message-ID: A couple of things: 1) The Everything under "blogroll" on the wordpress site points to wordpress things, not Marky things 2) I'm trying to edit the prefs for GLX2, but the prefs window only flashes and disappears, again. On Wed, Sep 21, 2016 at 11:05 PM, Mark Wieder wrote: > On 09/21/2016 12:10 PM, Sannyasin Brahmanathaswami wrote: > >> I'll give it a go again.. thanks Mark! I see you uploaded a version 3 >> hours ago? >> > > Yeah... I finally had time to clear out some longstanding bugs, so I put a > 3.0.20 build online. > > cross fingers for compatilibity on 8.1 OS X > > So far seems fine on El Capitan. You *do* have a way of pushing the limits > of things, though, so I await your experiences. > > where are the docs? >> > > Have I mentioned lately how much I hate WordPress? > The documentation has disappeared. Or rather, the files still exist but > they're no longer linked. And can't be resurrected the way they were. > > Anyone have recommendations for putting tutorials online? > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Thu Sep 22 11:23:00 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 22 Sep 2016 09:23:00 -0600 Subject: Any characters wildcard or regex? In-Reply-To: <563DDA77-7862-427D-8AA3-534D73259BC0@me.com> References: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> <219381BA-9FFA-41C5-BC69-C635B740F8D6@major-k.de> <563DDA77-7862-427D-8AA3-534D73259BC0@me.com> Message-ID: if you want to use regex, I think you have to use replacetext rather than replace, unless replace has been updated when I wasn't looking. I did a quicky test.. put field 1 into tData -- field with text containing html tags put replacetext(tData,"<.*>",empty) into tNewData put tNewData Also, in your example above I assume you correctly set the htmltext rather than the html.. On Thu, Sep 22, 2016 at 8:46 AM, Keith Clarke wrote: > Thanks Mike & Klaus, > The simple line 'replace "<.*>" with empty in tFileText? would be ideal, > but it seems to be ignored. > > The html approach seems to hit an early hurdle, too - if I... > > set the html of field "FldFileText" to URL(tFileName) > set the text of field "FldFileText" to the text of field ?FldFileText > > ...this results in an empty field after the first or both lines. Perhaps > this is because the source file is a CSV with only one item having any HTML > tags? > > Just to clarify the problem - the source text I?m working with comes from > CSV file imports and some files contain RTF fields amongst their items. > These RTF styling tags sometimes contain quotes & commas that are causing > occasional glitches with the CSV item delimiting - hence the need to > pre-process and strip out all tags before processing the CSV import. > > Thanks again for your insights. > Best, > Keith.. > > > On 22 Sep 2016, at 15:12, Klaus major-k wrote: > > > > Hi Mike and Keith, > > > >> Am 22.09.2016 um 16:03 schrieb Mike Bonner : > >> > >> Using replacetext, you're probably looking for "<.*>" > >> but you might be able to use a field for this.. set the htmltext of the > >> field to your source text, Then if you don't want the formatting > preserved > >> set the text of the field to the text of the field. One problem with > this > >> method is that you may end up with javascript left over because it can > >> appear between > > > > you can even (ab)use "the templatefield" for this: > > ... > > set the htmltext of the templatefield to url("http://your_url/here.html > ") > > put the text of the templatefield into fld 1 # or a variable > > reset the templatefield ## !! > > ... > > > >> On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke > wrote: > >> > >>> Hi folks, > >>> I?m trying to strip out all HTML tags from text in a variable. > Replacement > >>> of specific tags works fine... replace ?
            " with empty in tText ?but > I?m > >>> struggling to find (documentation on) a blanket ?any number of any > >>> characters? wildcard or regex approach... > >>> > >>> So far I?ve tried "<*>?, ?<[*]>?, ?<[.*]>?, "<" & "[.*]" & ?>? to no > avail > >>> > >>> Any clues greatly appreciated. > >>> Best, > >>> Keith.. > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > http://www.major-k.de > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Thu Sep 22 11:45:00 2016 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 22 Sep 2016 16:45:00 +0100 Subject: Any characters wildcard or regex? In-Reply-To: References: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> <219381BA-9FFA-41C5-BC69-C635B740F8D6@major-k.de> <563DDA77-7862-427D-8AA3-534D73259BC0@me.com> Message-ID: <822D2887-681C-44AA-A7C1-7ABEE8CB2211@me.com> Thanks Mike, pilot error here - replacetext(tData,"<.*>",empty) looks to be a viable direction of travel once correctly typed. Time to rest my eyes, methinks! 8-) Best, Keith.. > On 22 Sep 2016, at 16:23, Mike Bonner wrote: > > if you want to use regex, I think you have to use replacetext rather than > replace, unless replace has been updated when I wasn't looking. > I did a quicky test.. > > put field 1 into tData -- field with text containing html tags > put replacetext(tData,"<.*>",empty) into tNewData > put tNewData > > Also, in your example above I assume you correctly set the htmltext rather > than the html.. > > On Thu, Sep 22, 2016 at 8:46 AM, Keith Clarke wrote: > >> Thanks Mike & Klaus, >> The simple line 'replace "<.*>" with empty in tFileText? would be ideal, >> but it seems to be ignored. >> >> The html approach seems to hit an early hurdle, too - if I... >> >> set the html of field "FldFileText" to URL(tFileName) >> set the text of field "FldFileText" to the text of field ?FldFileText >> >> ...this results in an empty field after the first or both lines. Perhaps >> this is because the source file is a CSV with only one item having any HTML >> tags? >> >> Just to clarify the problem - the source text I?m working with comes from >> CSV file imports and some files contain RTF fields amongst their items. >> These RTF styling tags sometimes contain quotes & commas that are causing >> occasional glitches with the CSV item delimiting - hence the need to >> pre-process and strip out all tags before processing the CSV import. >> >> Thanks again for your insights. >> Best, >> Keith.. >> >>> On 22 Sep 2016, at 15:12, Klaus major-k wrote: >>> >>> Hi Mike and Keith, >>> >>>> Am 22.09.2016 um 16:03 schrieb Mike Bonner : >>>> >>>> Using replacetext, you're probably looking for "<.*>" >>>> but you might be able to use a field for this.. set the htmltext of the >>>> field to your source text, Then if you don't want the formatting >> preserved >>>> set the text of the field to the text of the field. One problem with >> this >>>> method is that you may end up with javascript left over because it can >>>> appear between >>> >>> you can even (ab)use "the templatefield" for this: >>> ... >>> set the htmltext of the templatefield to url("http://your_url/here.html >> ") >>> put the text of the templatefield into fld 1 # or a variable >>> reset the templatefield ## !! >>> ... >>> >>>> On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke >> wrote: >>>> >>>>> Hi folks, >>>>> I?m trying to strip out all HTML tags from text in a variable. >> Replacement >>>>> of specific tags works fine... replace ?
              " with empty in tText ?but >> I?m >>>>> struggling to find (documentation on) a blanket ?any number of any >>>>> characters? wildcard or regex approach... >>>>> >>>>> So far I?ve tried "<*>?, ?<[*]>?, ?<[.*]>?, "<" & "[.*]" & ?>? to no >> avail >>>>> >>>>> Any clues greatly appreciated. >>>>> Best, >>>>> Keith.. >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> http://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dcragg at lacscentre.co.uk Thu Sep 22 12:03:56 2016 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 22 Sep 2016 17:03:56 +0100 Subject: Any characters wildcard or regex? In-Reply-To: <822D2887-681C-44AA-A7C1-7ABEE8CB2211@me.com> References: <2CD98E56-6FE6-45B4-B0C1-ECD52FD20DC4@me.com> <219381BA-9FFA-41C5-BC69-C635B740F8D6@major-k.de> <563DDA77-7862-427D-8AA3-534D73259BC0@me.com> <822D2887-681C-44AA-A7C1-7ABEE8CB2211@me.com> Message-ID: > On 22 Sep 2016, at 16:45, Keith Clarke wrote: > > Thanks Mike, pilot error here - replacetext(tData,"<.*>",empty) looks to be a viable direction of travel once correctly typed. Time to rest my eyes, methinks! 8-) > Best, > Keith.. I think you might need replacetext(tData,"<.*?>",empty) The '?' cause the match to be non-greedy. Without it, everything from the first "<" to the last ">" will be replaced. Cheers Dave From mark at canelasoftware.com Thu Sep 22 13:13:55 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 22 Sep 2016 10:13:55 -0700 Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> Message-ID: <7BA97248-A033-43E5-853F-2776CD0A6EC6@canelasoftware.com> > On Sep 22, 2016, at 8:21 AM, Mike Kerner wrote: > > 2) I'm trying to edit the prefs for GLX2, but the prefs window only flashes > and disappears, again. I noticed that too. I found a workaround. 1. Edit some code in GLX2. 2. Go to LiveCode/preferences This will bring up the GLX2 preferences because the menu changes to GLX specific menu items. Best regards, Mark Talluto livecloud.io canelasoftware.com From richmondmathewson at gmail.com Thu Sep 22 13:31:17 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 22 Sep 2016 20:31:17 +0300 Subject: Export PNG with alpha channel/mask In-Reply-To: References: Message-ID: I don't quite understand why your transparent areas are exporting as Black: http://forums.livecode.com/viewtopic.php?f=7&t=27984 Richmond. On 22.09.2016 18:02, Ben Rubinstein wrote: > I want to compose an image using a bunch of LC objects, then export a > PNG, with an alpha channel containing a mask (ideally > 1 bit, but > that part's not critical). > > The documentation for export snapshot is not very clear. I've tried > things like exporting a transparent group containing some objects; the > PNG was just filled with black where there were no objects. > > There is an option "with mask xx", but it appears that this is only > for PBM format - and in any case I can't make it work. > > Is there any way to do this? > > TIA > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu Sep 22 13:43:19 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 22 Sep 2016 10:43:19 -0700 Subject: Supercard 4.8 public beta Message-ID: On the other side of the fence . . . SupercCard just emailed me about their public beta for 4.8. Since it's mac only (again), I have no interest, and it apparently still doesn't have things I need from LC 5 (and I presume at least 4). (For that matter, the only things that I *really* need that weren't in SuperCard 1.5, which ran the older version of my program in the 80s . . .) But I wonder what they'd do if I presented my 1.5 disks for an upgrade :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Thu Sep 22 13:58:30 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 22 Sep 2016 20:58:30 +0300 Subject: Supercard 4.8 public beta In-Reply-To: References: Message-ID: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> I, personally, playing on my G5 running PPC 10.5, cannot for the life of me see any obvious advantages of Supercard over Livecode. It strikes me that this is probably largely used by people who have dug themselves into a Macintosh-only corner. Richmond. On 22.09.2016 20:43, Dr. Hawkins wrote: > On the other side of the fence . . . SupercCard just emailed me about their > public beta for 4.8. > > Since it's mac only (again), I have no interest, and it apparently still > doesn't have things I need from LC 5 (and I presume at least 4). (For that > matter, the only things that I *really* need that weren't in SuperCard 1.5, > which ran the older version of my program in the 80s . . .) > > But I wonder what they'd do if I presented my 1.5 disks for an upgrade :) > From blueback09 at gmail.com Thu Sep 22 13:58:54 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 22 Sep 2016 20:58:54 +0300 Subject: use "" as an array key Message-ID: I find myself in want of a YAML library again. Mark posted some functions on the forum that I'm debugging http://forums.livecode.com/viewtopic.php?f=7&t=21434 Something I discovered while debugging is that "" is being accepted as an array key. It seems like it shouldn't be possible to use the absence of a string as an array key. Is it supposed to work that way? I'm using 8.0.1 on Windows. From ambassador at fourthworld.com Thu Sep 22 14:03:24 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 22 Sep 2016 11:03:24 -0700 Subject: use "" as an array key In-Reply-To: References: Message-ID: Matt Maier wrote: > Something I discovered while debugging is that "" is being accepted > as an array key. > > It seems like it shouldn't be possible to use the absence of a string > as an array key. Is it supposed to work that way? I'm using 8.0.1 on > Windows. Works that way on Ubuntu 14.04 and 16.04 as well. and AFAIK at least as far back as v6.7. Not sure if it's a bug or a feature we just need to be very careful about, but you and I seem to be the only two people who've ever noticed that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Sep 22 14:23:30 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Sep 2016 14:23:30 -0400 Subject: ANN: new glx2 script editor now on line In-Reply-To: <7BA97248-A033-43E5-853F-2776CD0A6EC6@canelasoftware.com> References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> <7BA97248-A033-43E5-853F-2776CD0A6EC6@canelasoftware.com> Message-ID: that doesn't seem to fix it for me. On Thu, Sep 22, 2016 at 1:13 PM, Mark Talluto wrote: > > > On Sep 22, 2016, at 8:21 AM, Mike Kerner > wrote: > > > > 2) I'm trying to edit the prefs for GLX2, but the prefs window only > flashes > > and disappears, again. > > I noticed that too. I found a workaround. > > 1. Edit some code in GLX2. > 2. Go to LiveCode/preferences > > This will bring up the GLX2 preferences because the menu changes to GLX > specific menu items. > > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ahsoftware at sonic.net Thu Sep 22 14:21:30 2016 From: ahsoftware at sonic.net (mwieder) Date: Thu, 22 Sep 2016 11:21:30 -0700 (PDT) Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> Message-ID: <1474568490478-4708789.post@n4.nabble.com> 1. WordPress: See above re how I feel about WordPress. 2. preferences: What platform is this? I've seen the preferences appear and then hide behind the script editor. So the panel is there, but you have to move the editor panel out of the way to get to it. Annoying. I see there are pull requests to fix palette handling for upcoming LC versions, and maybe that will take care of it. If now I'll have to see about hacking around it. -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-new-glx2-script-editor-now-on-line-tp4708283p4708789.html Sent from the Revolution - User mailing list archive at Nabble.com. From peter.brett at livecode.com Thu Sep 22 14:27:45 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 22 Sep 2016 19:27:45 +0100 Subject: use "" as an array key In-Reply-To: References: Message-ID: <36bdcd00-31a0-c655-84e8-ae48fb09ee2e@livecode.com> On 22/09/2016 18:58, Matt Maier wrote: > I find myself in want of a YAML library again. Mark posted some functions > on the forum that I'm debugging > http://forums.livecode.com/viewtopic.php?f=7&t=21434 > > Something I discovered while debugging is that "" is being accepted as an > array key. > > It seems like it shouldn't be possible to use the absence of a string as an > array key. Is it supposed to work that way? I'm using 8.0.1 on Windows. "" isn't "the absence of a string", it's a string that's 0 characters long. Being able to use it as an array key is important for being able to represent real-world data in an array. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From waprothero at gmail.com Thu Sep 22 14:51:13 2016 From: waprothero at gmail.com (William Prothero) Date: Thu, 22 Sep 2016 11:51:13 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: <1474553942942-4708773.post@n4.nabble.com> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> <1474553942942-4708773.post@n4.nabble.com> Message-ID: Martin: Just a thought. Since Todd Fabacher is in a group working on LTI (he called it LIT, but I think he meant LTI), and he will make the code open source, I think, for me anyway, it?s best to wait for the result of their efforts. LTI has a pretty wide capability. SCORM came about and was made popular by the US Defense dept. making it required for folks wanting to sell them training modules for their purposes. But, for higher ed, SCORM enforces an out-dated learning model that would not be adequate for more modern teaching pedagogies. Best, Bill > On Sep 22, 2016, at 7:19 AM, Martin Koob wrote: > > Thanks for the link to LTI. I am interested in a technology that could > integrate my LiveCode app into LMS's. > > I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as > a successor to SCORM to address its shortcomings. > https://experienceapi.com/history/ > > They list a number of adopters including BlackBoard and Moodle > > http://experienceapi.com/adopters/ > > Have you heard of this? Would this api accomplish what you are trying to > do? > > Martin > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Sep 22 14:52:12 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 22 Sep 2016 11:52:12 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: <1474553942942-4708773.post@n4.nabble.com> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> <1474553942942-4708773.post@n4.nabble.com> Message-ID: <7FB93835-DF2B-4600-A14F-6FA102BD4393@earthednet.org> Martin: Just a thought. Since Todd Fabacher is in a group working on LTI (he called it LIT, but I think he meant LTI), and he will make the code open source, I think, for me anyway, it?s best to wait for the result of their efforts. LTI has a pretty wide capability. SCORM came about and was made popular by the US Defense dept. making it required for folks wanting to sell them training modules for their purposes. But, for higher ed, SCORM enforces an out-dated learning model that would not be adequate for more modern teaching pedagogies. Best, Bill > On Sep 22, 2016, at 7:19 AM, Martin Koob wrote: > > Thanks for the link to LTI. I am interested in a technology that could > integrate my LiveCode app into LMS's. > > I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as > a successor to SCORM to address its shortcomings. > https://experienceapi.com/history/ > > They list a number of adopters including BlackBoard and Moodle > > http://experienceapi.com/adopters/ > > Have you heard of this? Would this api accomplish what you are trying to > do? > > Martin > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 22 15:09:15 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Sep 2016 15:09:15 -0400 Subject: ANN: new glx2 script editor now on line In-Reply-To: <1474568490478-4708789.post@n4.nabble.com> References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> <1474568490478-4708789.post@n4.nabble.com> Message-ID: It doesn't appear to be hiding. I thought that, too. It also doesn't appear in the list of windows, but I haven't checked the PB to see if it's just misbehaving in multiple ways. And we're talking about OSX el cap or whatever 11 is On Thu, Sep 22, 2016 at 2:21 PM, mwieder wrote: > 1. WordPress: > See above re how I feel about WordPress. > > 2. preferences: > What platform is this? I've seen the preferences appear and then hide > behind > the script editor. So the panel is there, but you have to move the editor > panel out of the way to get to it. Annoying. I see there are pull requests > to fix palette handling for upcoming LC versions, and maybe that will take > care of it. If now I'll have to see about hacking around it. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > ----- > -- > Mark Wieder > ahsoftware at gmail.com > -- > View this message in context: http://runtime-revolution.2783 > 05.n4.nabble.com/ANN-new-glx2-script-editor-now-on-line- > tp4708283p4708789.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Thu Sep 22 15:27:27 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 22 Sep 2016 12:27:27 -0700 Subject: Supercard 4.8 public beta In-Reply-To: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: On Thu, Sep 22, 2016 at 10:58 AM, Richmond wrote: > I, personally, playing on my G5 running PPC 10.5, cannot for the life of > me see any obvious > advantages of Supercard over Livecode. It strikes me that this is probably > largely used by people > who have dug themselves into a Macintosh-only corner. > I started using it in '89 or '90 for the simple reason that it could have two windows open. Once HyperCard 2.0 rolled around, that was no longer necessary, but converting back would have involved copy and pasting scripts manually for every control, or some such hassle Had I known that it would come out with a DOS version a year later, I wouldn't have abandoned my program, and would probably be the dominant vendor in my industry (and the program that filled that *still* doesn't do things I did 25+ years ago . . .) Develop on mac for everywhere is critical to me. If it had a clear and supported path to compile on android, I'd be shifting some of what I do to Swift from livecode--but until then, no. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Thu Sep 22 15:27:51 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 22 Sep 2016 12:27:51 -0700 Subject: Supercard 4.8 public beta In-Reply-To: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: I was a hypercard ACE but my three purchases of Supercard over the years never got used. I found the whole system baffling, an annoying workflow. I always went back to HC. sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Sep 22, 2016 at 10:58 AM, Richmond wrote: > I, personally, playing on my G5 running PPC 10.5, cannot for the life of > me see any obvious > advantages of Supercard over Livecode. It strikes me that this is probably > largely used by people > who have dug themselves into a Macintosh-only corner. > > Richmond. > > On 22.09.2016 20:43, Dr. Hawkins wrote: > >> On the other side of the fence . . . SupercCard just emailed me about >> their >> public beta for 4.8. >> >> Since it's mac only (again), I have no interest, and it apparently still >> doesn't have things I need from LC 5 (and I presume at least 4). (For >> that >> matter, the only things that I *really* need that weren't in SuperCard >> 1.5, >> which ran the older version of my program in the 80s . . .) >> >> But I wonder what they'd do if I presented my 1.5 disks for an upgrade :) >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Sep 22 15:33:26 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 22 Sep 2016 22:33:26 +0300 Subject: Supercard 4.8 public beta In-Reply-To: References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: Well, every time there is a new Supercard release I download the trial and, every time, I wonder why I do that. But I do the same sort of thing for HyperNEXT as well [ http://www.tigabyte.com ] so I'm obviously bonkers. I owned a copy of SuperCard in 1995 and really could never work out how to do things efficiently (after all Colour was doable in Hypercard at that stage). Richmond. On 22.09.2016 22:27, stephen barncard wrote: > I was a hypercard ACE but my three purchases of Supercard over the years > never got used. I found the whole system baffling, an annoying workflow. > I always went back to HC. > > sqb > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Thu, Sep 22, 2016 at 10:58 AM, Richmond > wrote: > >> I, personally, playing on my G5 running PPC 10.5, cannot for the life of >> me see any obvious >> advantages of Supercard over Livecode. It strikes me that this is probably >> largely used by people >> who have dug themselves into a Macintosh-only corner. >> >> Richmond. >> >> On 22.09.2016 20:43, Dr. Hawkins wrote: >> >>> On the other side of the fence . . . SupercCard just emailed me about >>> their >>> public beta for 4.8. >>> >>> Since it's mac only (again), I have no interest, and it apparently still >>> doesn't have things I need from LC 5 (and I presume at least 4). (For >>> that >>> matter, the only things that I *really* need that weren't in SuperCard >>> 1.5, >>> which ran the older version of my program in the 80s . . .) >>> >>> But I wonder what they'd do if I presented my 1.5 disks for an upgrade :) >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Sep 22 15:37:50 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 22 Sep 2016 22:37:50 +0300 Subject: Waiting for the train Message-ID: <331b4058-e450-1760-e017-6bdd8b969481@gmail.com> I have a stack that sits around as a Palette with a script in it that repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with a code like this: *put 1 into KOUNT** **repeat until KOUNT = 1003* /do various jolly things/ *add 1 to KOUNT** **wait 18000 ticks** **end repeat* The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot get on and do other things . . . Would be grateful if anyone could suggest a way round this. Richmond. From bonnmike at gmail.com Thu Sep 22 15:38:47 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 22 Sep 2016 13:38:47 -0600 Subject: Waiting for the train In-Reply-To: <331b4058-e450-1760-e017-6bdd8b969481@gmail.com> References: <331b4058-e450-1760-e017-6bdd8b969481@gmail.com> Message-ID: add "with messages" On Thu, Sep 22, 2016 at 1:37 PM, Richmond wrote: > I have a stack that sits around as a Palette with a script in it that > repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with > a code like this: > > *put 1 into KOUNT** > **repeat until KOUNT = 1003* > /do various jolly things/ > *add 1 to KOUNT** > **wait 18000 ticks** > **end repeat* > > The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot > get on and do other things . . . > > Would be grateful if anyone could suggest a way round this. > > Richmond. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu Sep 22 15:40:56 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 22 Sep 2016 12:40:56 -0700 Subject: The name of the property to trace scripts into the IDE Message-ID: Things are getting out of control more and more often. Today it was the lack of buttons on dialog windows about closing stacks, the previous couple of days had a couple of rounds of the browse/edit suddenly applying to the application browser, and then there's the perennial untraceable euro message on opening that goes away if I step through the handler instead of letting it run. Could someone remind me of the property that lets the IDE step into the source stacks? revDevSomethingOrAnother? thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Thu Sep 22 15:44:39 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 22 Sep 2016 13:44:39 -0600 Subject: The name of the property to trace scripts into the IDE In-Reply-To: References: Message-ID: gRevDevelopment is the one you're thinking of I believe. On Thu, Sep 22, 2016 at 1:40 PM, Dr. Hawkins wrote: > Things are getting out of control more and more often. Today it was the > lack of buttons on dialog windows about closing stacks, the previous couple > of days had a couple of rounds of the browse/edit suddenly applying to the > application browser, and then there's the perennial untraceable euro > message on opening that goes away if I step through the handler instead of > letting it run. > > Could someone remind me of the property that lets the IDE step into the > source stacks? > > revDevSomethingOrAnother? > > thanks > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Sep 22 15:46:42 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Sep 2016 14:46:42 -0500 Subject: The name of the property to trace scripts into the IDE In-Reply-To: References: Message-ID: <8e5ea236-ea80-23f8-0879-0022d7fc54b9@hyperactivesw.com> On 9/22/16 2:40 PM, Dr. Hawkins wrote: > Could someone remind me of the property that lets the IDE step into the > source stacks? gRevDevelopment -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu Sep 22 15:52:03 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 22 Sep 2016 12:52:03 -0700 Subject: The name of the property to trace scripts into the IDE In-Reply-To: References: Message-ID: On Thu, Sep 22, 2016 at 12:44 PM, Mike Bonner wrote: > gRevDevelopment Ahh, thanks. Now I'll reload and se what happens . . . at the moment, I get my own error dialog, which has an option to pause so that I can single step, but it goes nowhere . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paul at researchware.com Thu Sep 22 15:52:44 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 22 Sep 2016 15:52:44 -0400 Subject: IDE Script Editor question... Message-ID: <57E4368C.3020604@researchware.com> I find myself periodically working with stacks where the individuals handlers come from a number of sources. Some of these sources have their script editor set to the default 3 space indent. Some to 2 spaces, some to 4 spaces, etc. Is there any easy way to tell the script editor to RE-indent all the handlers in the current script using the current preference for indents? If not, can one of you coding wizards out there add this to the IDE? :-) From ahsoftware at sonic.net Thu Sep 22 15:48:19 2016 From: ahsoftware at sonic.net (mwieder) Date: Thu, 22 Sep 2016 12:48:19 -0700 (PDT) Subject: The name of the property to trace scripts into the IDE In-Reply-To: <8e5ea236-ea80-23f8-0879-0022d7fc54b9@hyperactivesw.com> References: <8e5ea236-ea80-23f8-0879-0022d7fc54b9@hyperactivesw.com> Message-ID: <1474573699148-4708803.post@n4.nabble.com> ...as in... global gRevDevelopment; put true into gRevDevelopment -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-name-of-the-property-to-trace-scripts-into-the-IDE-tp4708799p4708803.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Sep 22 15:55:05 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 22 Sep 2016 22:55:05 +0300 Subject: Waiting for the train In-Reply-To: References: <331b4058-e450-1760-e017-6bdd8b969481@gmail.com> Message-ID: <1656da56-780d-a995-53f1-c43292b633f4@gmail.com> Thanks. Where? wait 18000 ticks with messages ? Richmond. On 22.09.2016 22:38, Mike Bonner wrote: > add "with messages" > > On Thu, Sep 22, 2016 at 1:37 PM, Richmond > wrote: > >> I have a stack that sits around as a Palette with a script in it that >> repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with >> a code like this: >> >> *put 1 into KOUNT** >> **repeat until KOUNT = 1003* >> /do various jolly things/ >> *add 1 to KOUNT** >> **wait 18000 ticks** >> **end repeat* >> >> The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot >> get on and do other things . . . >> >> Would be grateful if anyone could suggest a way round this. >> >> Richmond. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Sep 22 15:58:02 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 22 Sep 2016 22:58:02 +0300 Subject: Waiting for the train In-Reply-To: <1656da56-780d-a995-53f1-c43292b633f4@gmail.com> References: <331b4058-e450-1760-e017-6bdd8b969481@gmail.com> <1656da56-780d-a995-53f1-c43292b633f4@gmail.com> Message-ID: <37fbe658-e44e-f162-a431-aaaec75501f5@gmail.com> Well . . . that works as far as menu commands from the revMenubar stack go, but it still blocks mouseClicks on the revTools stack and keyboard commands . . . Richmond. On 22.09.2016 22:55, Richmond wrote: > Thanks. > > Where? > > wait 18000 ticks with messages > > ? > > Richmond. > > On 22.09.2016 22:38, Mike Bonner wrote: >> add "with messages" >> >> On Thu, Sep 22, 2016 at 1:37 PM, Richmond >> wrote: >> >>> I have a stack that sits around as a Palette with a script in it that >>> repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with >>> a code like this: >>> >>> *put 1 into KOUNT** >>> **repeat until KOUNT = 1003* >>> /do various jolly things/ >>> *add 1 to KOUNT** >>> **wait 18000 ticks** >>> **end repeat* >>> >>> The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot >>> get on and do other things . . . >>> >>> Would be grateful if anyone could suggest a way round this. >>> >>> Richmond. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Thu Sep 22 16:11:30 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 22 Sep 2016 16:11:30 -0400 Subject: Syntax: mouseUp mouseButtonNumber Message-ID: The script editor won't compile a mouseUp handler with 1 2 or 3 as a parameter. on mouseUp 3 do stuff end mouseUp I am trying to get a right-click to show a contextual menu on Windows. ~Roger From paul at researchware.com Thu Sep 22 16:13:18 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 22 Sep 2016 16:13:18 -0400 Subject: Waiting for the train In-Reply-To: <37fbe658-e44e-f162-a431-aaaec75501f5@gmail.com> References: <331b4058-e450-1760-e017-6bdd8b969481@gmail.com> <1656da56-780d-a995-53f1-c43292b633f4@gmail.com> <37fbe658-e44e-f162-a431-aaaec75501f5@gmail.com> Message-ID: <57E43B5E.5030306@researchware.com> You probably want to restructure your handler, so that instead of a repeat loop, it calls itself using send in