From richmondmathewson at gmail.com Sat Mar 1 05:00:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Mar 2014 12:00:36 +0200 Subject: Crowd Funding Enhancements In-Reply-To: <531115E6.6050903@hyperactivesw.com> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <531115E6.6050903@hyperactivesw.com> Message-ID: <5311AFC4.2080304@gmail.com> On 01/03/14 01:04, J. Landman Gay wrote: > You'll have to fight with the "why isn't everything in a single > window" crowd. This is why there needs to be a "choices" script-editor, where the multiple windows people can have multiple windows, and the Russell and Carnap crowd can have everything in one place. Richmond. > But anyway, I asked for a detachable variable watcher a long time ago. > I think I may have put in a feature request for it but I may have just > talked to someone about it. It was a long time ago. > > On 2/28/14, 3:53 PM, Peter Haworth wrote: >> +1 from me on that one. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> >> On Fri, Feb 28, 2014 at 1:35 PM, Mike Kerner >> wrote: >> >>> here's another one: when debugging, how about putting variables in a >>> separate window so they aren't competing for scarce vertical space >>> with the >>> script? > > From m.schonewille at economy-x-talk.com Sat Mar 1 05:13:42 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 01 Mar 2014 11:13:42 +0100 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> Message-ID: <5311B2D6.30208@economy-x-talk.com> Mike, It used to be like that, along time ago. There was a window, called Variable Watcher, which was probably inherited from HyperCard. The Message Watcher, also inherited from HyperCard, still exists in a separate window. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 2/28/2014 22:35, Mike Kerner wrote: > here's another one: when debugging, how about putting variables in a > separate window so they aren't competing for scarce vertical space with the > script? > > > On Mon, Feb 17, 2014 at 11:16 AM, Bob Sneidar > wrote: > >> GLX2 used to do this if I recall, and so did Remo. I wonder if the code is >> still there somewhere? >> >> Bob >> >> >> On Feb 16, 2014, at 13:38 , Richmond wrote: >> >>> On 16/02/14 23:17, Peter Haworth wrote: >>>> I'd vote for that one. And while we're talking Script editor changes, >> how >>>> about split screen (horizontally) display and perhaps the ability to >> move >>>> tabs around. >>> >>> It would be very useful if one could see two scripts, either >> side-by-side or above each other, simultaneously. >>> >>> Richmond. From richmondmathewson at gmail.com Sat Mar 1 06:52:00 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Mar 2014 13:52:00 +0200 Subject: Crowd Funding Enhancements In-Reply-To: <5311B2D6.30208@economy-x-talk.com> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> Message-ID: <5311C9E0.1070607@gmail.com> On 01/03/14 12:13, Mark Schonewille wrote: > Mike, > > It used to be like that, along time ago. There was a window, called > Variable Watcher, which was probably inherited from HyperCard. The > Message Watcher, also inherited from HyperCard, still exists in a > separate window. > http://forums.runrev.com/viewtopic.php?f=5&t=19385 Richmond. > -- > Best regards, > > Mark Schonewille > From richmondmathewson at gmail.com Sat Mar 1 07:38:10 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Mar 2014 14:38:10 +0200 Subject: Crowd Funding Enhancements In-Reply-To: <5311B2D6.30208@economy-x-talk.com> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> Message-ID: <5311D4B2.9030607@gmail.com> If you look in the 'Toolset' directory of Livecode 6.6 you will find a "revvariablewatcher.rev" file. If you move that into your plug-ins folder it might prove useful. What I don't understand is why that file is there in the Toolset' directory when there seems to be no way to call it up from within the IDE. --------------------- I have no idea whatsoever how useful the thing is as I have no need of a Variable Watcher. Richmond. From sims at ezpzapps.com Sat Mar 1 10:17:23 2014 From: sims at ezpzapps.com (Jim sims) Date: Sat, 1 Mar 2014 15:17:23 +0000 Subject: Encrypt data iOS Message-ID: I want to encrypt a file on an iPhone and hopefully Android device then send that encrypted file via email (person on other end will have a deception app to then read it). I do have a commercial not community version of LC. Is this possible? Is it scheduled to appear soon? If not possible soon what are my options? sims Sent from my iPodo, blame it for poor spelling From klaus at major-k.de Sat Mar 1 10:23:00 2014 From: klaus at major-k.de (Klaus major-k) Date: Sat, 1 Mar 2014 16:23:00 +0100 Subject: Encrypt data iOS In-Reply-To: References: Message-ID: <3B4B7F6A-84EB-48EA-81BD-AC2891D99F81@major-k.de> Hi sims, Am 01.03.2014 um 16:17 schrieb Jim sims : > I want to encrypt a file on an iPhone and hopefully Android device then > send that encrypted file via email (person on other end will have a > deception app to then read it). I do have a commercial not community > version of LC. > > Is this possible? > Is it scheduled to appear soon? > > If not possible soon what are my options? this will come with LC 6.6 (dp1)! From the release notes: ... Open SSL & encryption support has been added to the iOS and Android engines ... > sims Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From sims at ezpzapps.com Sat Mar 1 10:26:08 2014 From: sims at ezpzapps.com (Jim sims) Date: Sat, 1 Mar 2014 15:26:08 +0000 Subject: Encrypt data iOS In-Reply-To: <3B4B7F6A-84EB-48EA-81BD-AC2891D99F81@major-k.de> References: <3B4B7F6A-84EB-48EA-81BD-AC2891D99F81@major-k.de> Message-ID: Thank You Klaus! Phew, in the nick of time ... Maybe. ;-) sims On Saturday, March 1, 2014, Klaus major-k wrote: > Hi sims, > > Am 01.03.2014 um 16:17 schrieb Jim sims > >: > > > I want to encrypt a file on an iPhone and hopefully Android device then > > send that encrypted file via email (person on other end will have a > > deception app to then read it). I do have a commercial not community > > version of LC. > > > > Is this possible? > > Is it scheduled to appear soon? > > > > If not possible soon what are my options? > > this will come with LC 6.6 (dp1)! > > From the release notes: > ... > Open SSL & encryption support has been added to the iOS and Android engines > ... > > > sims > > 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 pmbrig at gmail.com Sat Mar 1 11:00:24 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 1 Mar 2014 11:00:24 -0500 Subject: Encrypt data iOS In-Reply-To: References: <3B4B7F6A-84EB-48EA-81BD-AC2891D99F81@major-k.de> Message-ID: If you're caught short, Richard Gaskin has a pair of LC functions (fwPack/fwUnpack) that will compress and encrypt any files for internet transmission. They use SHA-1 encryption, not industrial level but pretty good security for most things. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 1, 2014, at 10:26 AM, Jim sims wrote: > Thank > You Klaus! > > Phew, in the nick of time ... Maybe. > ;-) > > sims > > On Saturday, March 1, 2014, Klaus major-k wrote: > >> Hi sims, >> >> Am 01.03.2014 um 16:17 schrieb Jim sims >>> : >> >>> I want to encrypt a file on an iPhone and hopefully Android device then >>> send that encrypted file via email (person on other end will have a >>> deception app to then read it). I do have a commercial not community >>> version of LC. >>> >>> Is this possible? >>> Is it scheduled to appear soon? >>> >>> If not possible soon what are my options? >> >> this will come with LC 6.6 (dp1)! >> >> From the release notes: >> ... >> Open SSL & encryption support has been added to the iOS and Android engines >> ... >> >>> sims >> >> 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 sims at ezpzapps.com Sat Mar 1 11:07:51 2014 From: sims at ezpzapps.com (Jim sims) Date: Sat, 1 Mar 2014 16:07:51 +0000 Subject: Encrypt data iOS In-Reply-To: References: <3B4B7F6A-84EB-48EA-81BD-AC2891D99F81@major-k.de> Message-ID: Thanks Peter, will see if the new LC gets here in time. sims On Saturday, March 1, 2014, Peter M. Brigham wrote: > If you're caught short, Richard Gaskin has a pair of LC functions > (fwPack/fwUnpack) that will compress and encrypt any files for internet > transmission. They use SHA-1 encryption, not industrial level but pretty > good security for most things. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Mar 1, 2014, at 10:26 AM, Jim sims wrote: > > > Thank > > You Klaus! > > > > Phew, in the nick of time ... Maybe. > > ;-) > > > > sims > > > > On Saturday, March 1, 2014, Klaus major-k > > wrote: > > > >> Hi sims, > >> > >> Am 01.03.2014 um 16:17 schrieb Jim sims > >>> : > >> > >>> I want to encrypt a file on an iPhone and hopefully Android device then > >>> send that encrypted file via email (person on other end will have a > >>> deception app to then read it). I do have a commercial not community > >>> version of LC. > >>> > >>> Is this possible? > >>> Is it scheduled to appear soon? > >>> > >>> If not possible soon what are my options? > >> > >> this will come with LC 6.6 (dp1)! > >> > >> From the release notes: > >> ... > >> Open SSL & encryption support has been added to the iOS and Android > engines > >> ... > >> > >>> sims > >> > >> 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 richmondmathewson at gmail.com Sat Mar 1 12:16:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Mar 2014 19:16:43 +0200 Subject: Richmond "does" Linux PPC Message-ID: <531215FB.4070601@gmail.com> Live action for all of you people who are both desperate and at a loose end on Saturday night: http://forums.runrev.com/viewtopic.php?f=6&t=19328&p=97872#p97872 Richmond. From jacque at hyperactivesw.com Sat Mar 1 15:45:48 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Mar 2014 14:45:48 -0600 Subject: Console output Message-ID: <531246FC.1070005@hyperactivesw.com> I'm trying to debug a standalone by using "put" statements: on log pMsg put pMsg end log In Console (OS X Mavericks) I never see any of the messages. The only thing it lists is this, on every startup of the app: Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced. One of the two will be used. Which one is undefined. I don't know what that means exactly, but it doesn't seem related to my debugging efforts. Does anyone know if something changed with a basic "put" statement now? Or is there somewhere else I need to look in Console? I have "All messages" selected, with my app's name as the filter. This used to work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Sat Mar 1 16:56:56 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 1 Mar 2014 22:56:56 +0100 Subject: Console output In-Reply-To: <531246FC.1070005@hyperactivesw.com> References: <531246FC.1070005@hyperactivesw.com> Message-ID: <45D3A4DC-A18E-40BF-82CE-E694CA840F46@sahores-conseil.com> Hi Jacque, What does it do if you try : on log pMsg local tPsg put pMsg into tMsg answer tMsg end log Le 1 mars 2014 ? 21:45, J. Landman Gay a ?crit : > I'm trying to debug a standalone by using "put" statements: > > on log pMsg > put pMsg > end log > > In Console (OS X Mavericks) I never see any of the messages. The only thing it lists is this, on every startup of the app: > > Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced. One of the two will be used. Which one is undefined. > > I don't know what that means exactly, but it doesn't seem related to my debugging efforts. Does anyone know if something changed with a basic "put" statement now? Or is there somewhere else I need to look in Console? I have "All messages" selected, with my app's name as the filter. > > This used to work. > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Sat Mar 1 16:58:50 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 1 Mar 2014 22:58:50 +0100 Subject: Fwd: Console output References: <531246FC.1070005@hyperactivesw.com> Message-ID: <07951E81-B0A1-4553-8C6A-DE005CEC071F@sahores-conseil.com> Sorry for the typo. Should be correct below : on log pMsg local tMsg put pMsg into tMsg answer tMsg end log D?but du message r?exp?di? : > De: "J. Landman Gay" > Objet: Console output > Date: 1 mars 2014 21:45:48 UTC+1 > ?: LiveCode Mailing List > R?pondre ?: How to use LiveCode > > I'm trying to debug a standalone by using "put" statements: > > on log pMsg > put pMsg > end log > > In Console (OS X Mavericks) I never see any of the messages. The only thing it lists is this, on every startup of the app: > > Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced. One of the two will be used. Which one is undefined. > > I don't know what that means exactly, but it doesn't seem related to my debugging efforts. Does anyone know if something changed with a basic "put" statement now? Or is there somewhere else I need to look in Console? I have "All messages" selected, with my app's name as the filter. > > This used to work. > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Sat Mar 1 18:48:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Mar 2014 17:48:43 -0600 Subject: Fwd: Console output In-Reply-To: <07951E81-B0A1-4553-8C6A-DE005CEC071F@sahores-conseil.com> References: <531246FC.1070005@hyperactivesw.com> <07951E81-B0A1-4553-8C6A-DE005CEC071F@sahores-conseil.com> Message-ID: <531271DB.8060404@hyperactivesw.com> Thanks Pierre. I think I found the answer on Stack Overflow: Mavericks no longer routes stdout to Console automatically. There's no way to get it there unless apps are specifically written to do it. I changed my logging so it writes to a file and that works. But it would be nice if we could still use Console, that was easier. I can't understand why Apple removed that functionality. On 3/1/14, 3:58 PM, Pierre Sahores wrote: > Sorry for the typo. Should be correct below : > > on log pMsg > local tMsg > put pMsg into tMsg > answer tMsg > end log > > D?but du message r?exp?di? : > >> De: "J. Landman Gay" >> Objet: Console output >> Date: 1 mars 2014 21:45:48 UTC+1 >> ?: LiveCode Mailing List >> R?pondre ?: How to use LiveCode >> >> I'm trying to debug a standalone by using "put" statements: >> >> on log pMsg >> put pMsg >> end log >> >> In Console (OS X Mavericks) I never see any of the messages. The only thing it lists is this, on every startup of the app: >> >> Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced. One of the two will be used. Which one is undefined. >> >> I don't know what that means exactly, but it doesn't seem related to my debugging efforts. Does anyone know if something changed with a basic "put" statement now? Or is there somewhere else I need to look in Console? I have "All messages" selected, with my app's name as the filter. >> >> This used to work. >> >> -- >> 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 > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Mar 1 22:08:26 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 1 Mar 2014 19:08:26 -0800 Subject: on-rev funny stuff Message-ID: <55258784013.20140301190826@ahsoftware.net> For anyone still left on on-rev- If you've noticed an influx of spam over the last couple of weeks, check out your Spam Assassin settings. I don't know whether I was particularly singled out or whether everyone got the same treatment, but SA got turned off. I re-enabled it and spam magically went away. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From david.bovill at gmail.com Sun Mar 2 02:31:08 2014 From: david.bovill at gmail.com (David Bovill) Date: Sun, 2 Mar 2014 07:31:08 +0000 Subject: Mobile Javascript Message-ID: Has anyone much experience of the stability of HTML5 and Javascript animations inside a browser in LiveCode - particularly on the mobile? I'm considering a project that uses animations made in HTML5+ Javascript designed to work optimally on mobile - but then would like to embed them in LiveCode in a webkit browser. From dave at applicationinsight.com Sun Mar 2 05:35:25 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 2 Mar 2014 02:35:25 -0800 (PST) Subject: on-rev funny stuff In-Reply-To: <55258784013.20140301190826@ahsoftware.net> References: <55258784013.20140301190826@ahsoftware.net> Message-ID: <1393756525278-4676616.post@n4.nabble.com> Thanks for the heads-up Mark - I checked spam assassin in my on-rev account (which was showing 'enabled'), turned it off and on again - and voila! Spam levels now back to normal :) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-funny-stuff-tp4676614p4676616.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sun Mar 2 08:47:48 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 02 Mar 2014 05:47:48 -0800 Subject: Force LiveCode to Honor Returns In Server Text File? Message-ID: Anyone know if there's a combination of CR and/or LF (or something else) that can be used when posting a text file on a server so that LiveCode is able to understand the line returns when reading the file from the server? In the tests I'm doing, I get inconsistent results. With some files, answering the downloaded text sometimes renders correctly in the answer dialog (lines include returns), but never renders correctly in the message box (return characters are ignored). At this point I'm trying to avoid HTML formatting because there's a bunch and front and backend stuff that would need to be updated -- trying to avoid that, if possible. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From MikeKerner at roadrunner.com Sun Mar 2 09:56:08 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 2 Mar 2014 09:56:08 -0500 Subject: Crowd Funding Enhancements In-Reply-To: <5311D4B2.9030607@gmail.com> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> Message-ID: Hide the *&@^@!~)_# dollar-sign variables On Sat, Mar 1, 2014 at 7:38 AM, Richmond wrote: > If you look in the 'Toolset' directory of Livecode 6.6 you will find a > "revvariablewatcher.rev" file. > > If you move that into your plug-ins folder it might prove useful. > > What I don't understand is why that file is there in the Toolset' > directory when there seems to be no way to call it up from within the IDE. > > --------------------- > > I have no idea whatsoever how useful the thing is as I have no need of a > Variable Watcher. > > > 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 tg_lists at geistinteractive.com Sun Mar 2 11:14:38 2014 From: tg_lists at geistinteractive.com (Todd Geist) Date: Sun, 2 Mar 2014 08:14:38 -0800 Subject: GUI scripting on windows Message-ID: Hello, I need to do a bit of GUI scripting for a small project. I can do it just fine on the mac using Applescript. But I have no idea whats possible on the windows side. And I need windows :-( Are there any LiveCode externals for doing screen automation? What about PowerShell? Thanks Todd From roger.e.eller at sealedair.com Sun Mar 2 11:55:07 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 2 Mar 2014 11:55:07 -0500 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: It is free, and it is awesome. http://www.autoitscript.com/site/autoit/ ~Roger Sent from my Android tablet On Mar 2, 2014 11:15 AM, "Todd Geist" wrote: > Hello, > > I need to do a bit of GUI scripting for a small project. I can do it just > fine on the mac using Applescript. But I have no idea whats possible on > the windows side. And I need windows :-( > > Are there any LiveCode externals for doing screen automation? > > What about PowerShell? > > Thanks > > Todd > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 2 13:28:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Mar 2014 20:28:23 +0200 Subject: Metacard ftp site Message-ID: <53137847.4080606@gmail.com> Now the Metacard IDE is available for Free I would be grateful if somebody could give me the login and password for: ftp://ftp.metacard.com Richmond. From todd at geistinteractive.com Sun Mar 2 13:34:56 2014 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 2 Mar 2014 10:34:56 -0800 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: Thanks Roger! On Sun, Mar 2, 2014 at 8:55 AM, Roger Eller wrote: > It is free, and it is awesome. > > http://www.autoitscript.com/site/autoit/ > > ~Roger > > Sent from my Android tablet > On Mar 2, 2014 11:15 AM, "Todd Geist" > wrote: > > > Hello, > > > > I need to do a bit of GUI scripting for a small project. I can do it > just > > fine on the mac using Applescript. But I have no idea whats possible on > > the windows side. And I need windows :-( > > > > Are there any LiveCode externals for doing screen automation? > > > > What about PowerShell? > > > > Thanks > > > > Todd > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Todd Geist (800) 935-6068 From todd at geistinteractive.com Sun Mar 2 13:39:44 2014 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 2 Mar 2014 10:39:44 -0800 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: Roger, How would you integrate with LiveCode? Could you include it in a Standalone? Todd On Sun, Mar 2, 2014 at 10:34 AM, Todd Geist wrote: > Thanks Roger! > > > On Sun, Mar 2, 2014 at 8:55 AM, Roger Eller wrote: > >> It is free, and it is awesome. >> >> http://www.autoitscript.com/site/autoit/ >> >> ~Roger >> >> Sent from my Android tablet >> On Mar 2, 2014 11:15 AM, "Todd Geist" >> wrote: >> >> > Hello, >> > >> > I need to do a bit of GUI scripting for a small project. I can do it >> just >> > fine on the mac using Applescript. But I have no idea whats possible on >> > the windows side. And I need windows :-( >> > >> > Are there any LiveCode externals for doing screen automation? >> > >> > What about PowerShell? >> > >> > Thanks >> > >> > Todd >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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 >> > > > > -- > Todd Geist > > > (800) 935-6068 > -- Todd Geist (800) 935-6068 From richmondmathewson at gmail.com Sun Mar 2 14:32:07 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Mar 2014 21:32:07 +0200 Subject: Metacard 2.4 Message-ID: <53138737.4060505@gmail.com> I wonder if anyone could send me the IDE files for Metacard 2.4; this is because on the CanelaSoft site all the engines and the IDE are for MC 2.4.1 except the Linux PPC engine, and as a result the thing won't work on Ubuntu 12.04 PPC because of a mismatch between the engine (2.4.0) and the IDE stacks ( mchome.mc, mctools.mc, and so on: 2.4.1). Richmond. From jacque at hyperactivesw.com Sun Mar 2 14:52:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Mar 2014 13:52:08 -0600 Subject: Metacard 2.4 In-Reply-To: <53138737.4060505@gmail.com> References: <53138737.4060505@gmail.com> Message-ID: <53138BE8.6040500@hyperactivesw.com> On 3/2/14, 1:32 PM, Richmond wrote: > I wonder if anyone could send me the IDE files for Metacard 2.4; > this is because on the CanelaSoft site all the engines and the IDE are > for MC 2.4.1 except the Linux PPC engine, and as a result the > thing won't work on Ubuntu 12.04 PPC because of a mismatch between the > engine (2.4.0) > and the IDE stacks ( mchome.mc, mctools.mc, and so on: 2.4.1). Comment out the openStack handler in the first card of the home stack. Add these: on startup if the version >="2.7" then start using stack "mctools.mc" if the platform <> "MacOS" then open stack "mctools.mc" end if set the defaultStack to "Home" reset cursors end if pass startup end startup on preOpenStack set the lookandfeel to "Appearance Manager" put "MetaCard" && the version && the platform && "engine"\ & cr & "Copyright ? 2001 MetaCard Corporation" \ & cr & "All Rights Reserved" into field "Copyright" repeat for each line l in the customKeys["preferences"] of this stack if the number of words in l is 1 then do "set the" && l && "to the preferences[" & quote & l & quote & "] of this stack" end repeat if the platform is "MacOS" then set the name of button 1 to "Tools" else set the name of button 1 to "Menu Bar" send "preOpenStack" to card 1 of stack "MetaCard Menu Bar" end preOpenStack Do a save from the message box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Sun Mar 2 14:54:49 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 2 Mar 2014 20:54:49 +0100 Subject: Force LiveCode to Honor Returns In Server Text File? In-Reply-To: References: Message-ID: Hi Scott, The way used to handle connections between my LC client apps and LC server stacks : Client side : 1.- set httpHeaders to "Content-type: application/x-www-form-urlencoded" & return 2a.- Windows/Linux LC Client app : POST urlencode(datakey=datavalue&?) to url? 2b.- MacOS X LC client app : POST urlencode(mactoiso(datakey=datavalue&?)) to url? Server side : 3.- Linux LC-Server stack : put urldecode($_POST_RAW) into PostIn 4.- PostIn = key:value&? is available for further uses I expect that if the server is running under MacOS X : 2a.- Windows/Linux LC Client app : POST urlencode(isotomac(datakey=datavalue&?)) to url? 2b.- MacOS X LC client app : POST urlencode(datakey=datavalue&?) to url? will do the job (untested) Regards, Le 2 mars 2014 ? 14:47, Scott Rossi a ?crit : > Anyone know if there's a combination of CR and/or LF (or something else) > that can be used when posting a text file on a server so that LiveCode is > able to understand the line returns when reading the file from the server? > > In the tests I'm doing, I get inconsistent results. With some files, > answering the downloaded text sometimes renders correctly in the answer > dialog (lines include returns), but never renders correctly in the message > box (return characters are ignored). > > At this point I'm trying to avoid HTML formatting because there's a bunch > and front and backend stuff that would need to be updated -- trying to > avoid that, if possible. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Sun Mar 2 15:10:41 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Mar 2014 22:10:41 +0200 Subject: Metacard 2.4 In-Reply-To: <53138BE8.6040500@hyperactivesw.com> References: <53138737.4060505@gmail.com> <53138BE8.6040500@hyperactivesw.com> Message-ID: <53139041.6020109@gmail.com> On 02/03/14 21:52, J. Landman Gay wrote: > On 3/2/14, 1:32 PM, Richmond wrote: >> I wonder if anyone could send me the IDE files for Metacard 2.4; >> this is because on the CanelaSoft site all the engines and the IDE are >> for MC 2.4.1 except the Linux PPC engine, and as a result the >> thing won't work on Ubuntu 12.04 PPC because of a mismatch between the >> engine (2.4.0) >> and the IDE stacks ( mchome.mc, mctools.mc, and so on: 2.4.1). > > Comment out the openStack handler in the first card of the home stack. > Add these: > > on startup > if the version >="2.7" then > start using stack "mctools.mc" > if the platform <> "MacOS" then > open stack "mctools.mc" > end if > set the defaultStack to "Home" > reset cursors > end if > pass startup > end startup > > on preOpenStack > set the lookandfeel to "Appearance Manager" > put "MetaCard" && the version && the platform && "engine"\ > & cr & "Copyright ? 2001 MetaCard Corporation" \ > & cr & "All Rights Reserved" into field "Copyright" > repeat for each line l in the customKeys["preferences"] of this stack > if the number of words in l is 1 > then do "set the" && l && "to the preferences[" & quote & l & > quote & "] of this stack" > end repeat > if the platform is "MacOS" > then set the name of button 1 to "Tools" > else set the name of button 1 to "Menu Bar" > send "preOpenStack" to card 1 of stack "MetaCard Menu Bar" > end preOpenStack > > Do a save from the message box. > Thank you very much. Richmond. From richmondmathewson at gmail.com Sun Mar 2 15:19:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Mar 2014 22:19:17 +0200 Subject: Metacard 2.4 In-Reply-To: <53138BE8.6040500@hyperactivesw.com> References: <53138737.4060505@gmail.com> <53138BE8.6040500@hyperactivesw.com> Message-ID: <53139245.4070309@gmail.com> On 02/03/14 21:52, J. Landman Gay wrote: > On 3/2/14, 1:32 PM, Richmond wrote: >> I wonder if anyone could send me the IDE files for Metacard 2.4; >> this is because on the CanelaSoft site all the engines and the IDE are >> for MC 2.4.1 except the Linux PPC engine, and as a result the >> thing won't work on Ubuntu 12.04 PPC because of a mismatch between the >> engine (2.4.0) >> and the IDE stacks ( mchome.mc, mctools.mc, and so on: 2.4.1). > > Comment out the openStack handler in the first card of the home stack. > Add these: > > on startup > if the version >="2.7" then > start using stack "mctools.mc" > if the platform <> "MacOS" then > open stack "mctools.mc" > end if > set the defaultStack to "Home" > reset cursors > end if > pass startup > end startup > > on preOpenStack > set the lookandfeel to "Appearance Manager" > put "MetaCard" && the version && the platform && "engine"\ > & cr & "Copyright ? 2001 MetaCard Corporation" \ > & cr & "All Rights Reserved" into field "Copyright" > repeat for each line l in the customKeys["preferences"] of this stack > if the number of words in l is 1 > then do "set the" && l && "to the preferences[" & quote & l & > quote & "] of this stack" > end repeat > if the platform is "MacOS" > then set the name of button 1 to "Tools" > else set the name of button 1 to "Menu Bar" > send "preOpenStack" to card 1 of stack "MetaCard Menu Bar" > end preOpenStack > > Do a save from the message box. > But I am told that "on startup" is a bad token. From roger.e.eller at sealedair.com Sun Mar 2 15:50:45 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 2 Mar 2014 15:50:45 -0500 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: It can save as .exe but not as an external. You would call it from LiveCode using shell. ~Roger On Mar 2, 2014 1:40 PM, "Todd Geist" wrote: > Roger, > > How would you integrate with LiveCode? Could you include it in a > Standalone? > > Todd > > > On Sun, Mar 2, 2014 at 10:34 AM, Todd Geist >wrote: > > > Thanks Roger! > > > > > > On Sun, Mar 2, 2014 at 8:55 AM, Roger Eller >wrote: > > > >> It is free, and it is awesome. > >> > >> http://www.autoitscript.com/site/autoit/ > >> > >> ~Roger > >> > >> Sent from my Android tablet > >> On Mar 2, 2014 11:15 AM, "Todd Geist" > >> wrote: > >> > >> > Hello, > >> > > >> > I need to do a bit of GUI scripting for a small project. I can do it > >> just > >> > fine on the mac using Applescript. But I have no idea whats possible > on > >> > the windows side. And I need windows :-( > >> > > >> > Are there any LiveCode externals for doing screen automation? > >> > > >> > What about PowerShell? > >> > > >> > Thanks > >> > > >> > Todd > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode 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 > >> > > > > > > > > -- > > Todd Geist > > > > > > (800) 935-6068 > > > > > > -- > Todd Geist > > > (800) 935-6068 > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 2 16:03:10 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Mar 2014 23:03:10 +0200 Subject: Metacard ftp site In-Reply-To: <53137847.4080606@gmail.com> References: <53137847.4080606@gmail.com> Message-ID: <53139C8E.7090007@gmail.com> On 02/03/14 20:28, Richmond wrote: > Now the Metacard IDE is available for Free I would be grateful if > somebody could give me > the login and password for: > > ftp://ftp.metacard.com > > Richmond. Does anybody know why this ftp site is now blocked? ftp://ftp.runrev.com/pub/ Richmond. From alex at tweedly.net Sun Mar 2 18:44:37 2014 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 02 Mar 2014 23:44:37 +0000 Subject: Editing the style(s) of text in a field. In-Reply-To: References: <530E6FAA.40006@tweedly.net> <530E7943.9000904@hyperactivesw.com> <530E88C5.7080102@tweedly.net> Message-ID: <5313C265.3030205@tweedly.net> Thanks Peter, I hadn't remember seeing that one. While it is a useful handler, it's hard to see how to extend it to operate on chunks, because ... 1. it depends on setting the textsize of the field (to handle any characters not already within a tag). You can't do that if you're operating just on a chunk, so you need to go through adding tags to all such character runs within the chunk - not easy. 2. there isn't any easy way to correlate char position in the field with a position in the htmlText of the field, so you finish up having to count your way through the chars of the htmlText, converting and allowing for the special cases in html 3. You need to do non-trivial changes if the chunk begins or ends part-way through an existing run of text of the same size). So while it may be possible to extend this method to operate on chunks, I think its beyond me. I would find it easier to start with either textStyle of the chunk, or the styledtext array. (update - using the textstyle of each sub-chunk is too slow for the "worst case" - i.e. if each character is a different size from the previous character, then even medium-sized field (some thousand of chars) takes multiple seconds. I'm going to try the other way, and let you know how it goes). -- Alex. On 28/02/2014 17:51, Peter M. Brigham wrote: > There was a handler posted here not too long ago to increase or decrease the textsize of a field. It could be adapted to operate on chunks of a field. > > -- Peter > From pete at lcsql.com Sun Mar 2 20:47:19 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 2 Mar 2014 17:47:19 -0800 Subject: Wait command Message-ID: I just spent a couple of hours debugging some code and narrowed it down to a "wait 0 with messages" command. WIth that command in my script, nothing after it seems to get executed. When I take that command out, all works fine. I'm obviously misunderstanding how the wait command works. I assumed it would wait the specified amount of time, then continue executing commands following it in the script. I have to admit, I'm not sure why the wait command is in the script in the first place but I'd grateful for any clarification of how "wait" works. Thanks, Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From slylabs13 at me.com Sun Mar 2 21:12:40 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 02 Mar 2014 18:12:40 -0800 Subject: Wait command In-Reply-To: References: Message-ID: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> Only reason I can think to put a wait command in a running script is to give a change for an on idle handler to be triggered. If you DO have an idle handler running somewhere and IT has a problem that causes the engine to exit to top, that might be your bugaboo. Bob On Mar 2, 2014, at 5:47 PM, Peter Haworth wrote: > I just spent a couple of hours debugging some code and narrowed it down to > a "wait 0 with messages" command. > > WIth that command in my script, nothing after it seems to get executed. > When I take that command out, all works fine. > > I'm obviously misunderstanding how the wait command works. I assumed it > would wait the specified amount of time, then continue executing commands > following it in the script. > > I have to admit, I'm not sure why the wait command is in the script in the > first place but I'd grateful for any clarification of how "wait" works. > > Thanks, > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 2 21:32:28 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 2 Mar 2014 21:32:28 -0500 (EST) Subject: Wait command In-Reply-To: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> References: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> Message-ID: <8D1049FF47F4785-2ED4-19A2C@webmail-d240.sysops.aol.com> There are very legitimate places for "wait", though more robust code can usually be written with "send (in time)". This has been going on for 27 years. Wait is blocking. An idle handler will be locked out just like everything else. But a line like "wait 0 with messages does not seem to me to do much. Maybe retard the flow of execution a few microseconds? Craig -----Original Message----- From: Robert Sneidar To: How to use LiveCode Sent: Sun, Mar 2, 2014 9:13 pm Subject: Re: Wait command Only reason I can think to put a wait command in a running script is to give a change for an on idle handler to be triggered. If you DO have an idle handler running somewhere and IT has a problem that causes the engine to exit to top, that might be your bugaboo. Bob On Mar 2, 2014, at 5:47 PM, Peter Haworth wrote: > I just spent a couple of hours debugging some code and narrowed it down to > a "wait 0 with messages" command. > > WIth that command in my script, nothing after it seems to get executed. > When I take that command out, all works fine. > > I'm obviously misunderstanding how the wait command works. I assumed it > would wait the specified amount of time, then continue executing commands > following it in the script. > > I have to admit, I'm not sure why the wait command is in the script in the > first place but I'd grateful for any clarification of how "wait" works. > > Thanks, > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 gcanyon at gmail.com Sun Mar 2 22:20:53 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 2 Mar 2014 21:20:53 -0600 Subject: Wait command In-Reply-To: <8D1049FF47F4785-2ED4-19A2C@webmail-d240.sysops.aol.com> References: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> <8D1049FF47F4785-2ED4-19A2C@webmail-d240.sysops.aol.com> Message-ID: wait 0 ticks -- allows the screen to update wait 0 ticks with messages -- allows the user to interact with your interface So: on mouseUp repeat 10000 add 1 to fld 1 end repeat end mouseUp put 1 into the fld and run the above script, the script runs for a second or so with no visual change and then the field changes to 10001. Note that the field actually incremented by 1s, you just didn't see it because the screen didn't update. on mouseUp repeat 1000 add 1 to fld 1 wait 0 ticks end repeat end mouseUp run the above script and watch as the number in the field increments by 1s for a thousand. on mouseUp repeat 1000 add 1 to fld 1 wait 0 ticks with messages end repeat end mouseUp add a second button with: on mouseUp subtract 1000 from fld 1 end mouseUp while the first script is running the field will increment by 1s; click the second button and the field will drop by 1000, while still incrementing. Note that just because the wait in the first script says wait for 0 ticks doesn't mean that's all the second script gets -- if the second script were: on mouseUp repeat 1000 subtract 1 from fld 1 wait 0 ticks with messages end repeat end mouseUp you would see the up-counting first script be interrupted by the second, down-counting script, for the full 1000-count, i.e. a few seconds -- and then pick up where it left off. On Sun, Mar 2, 2014 at 8:32 PM, wrote: > There are very legitimate places for "wait", though more robust code can > usually be written with "send (in time)". This has been going on for 27 > years. > > > Wait is blocking. An idle handler will be locked out just like everything > else. > > > > But a line like "wait 0 with messages does not seem to me to do much. > Maybe retard the flow of execution a few microseconds? > > > Craig > > > > -----Original Message----- > From: Robert Sneidar > To: How to use LiveCode > Sent: Sun, Mar 2, 2014 9:13 pm > Subject: Re: Wait command > > > Only reason I can think to put a wait command in a running script is to > give a > change for an on idle handler to be triggered. If you DO have an idle > handler > running somewhere and IT has a problem that causes the engine to exit to > top, > that might be your bugaboo. > > Bob > > > On Mar 2, 2014, at 5:47 PM, Peter Haworth wrote: > > > I just spent a couple of hours debugging some code and narrowed it down > to > > a "wait 0 with messages" command. > > > > WIth that command in my script, nothing after it seems to get executed. > > When I take that command out, all works fine. > > > > I'm obviously misunderstanding how the wait command works. I assumed it > > would wait the specified amount of time, then continue executing commands > > following it in the script. > > > > I have to admit, I'm not sure why the wait command is in the script in > the > > first place but I'd grateful for any clarification of how "wait" works. > > > > Thanks, > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Sun Mar 2 22:22:56 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 02 Mar 2014 19:22:56 -0800 Subject: Wait command Message-ID: <5313F590.9010100@fourthworld.com> dunbarx wrote: > Wait is blocking. An idle handler will be locked out just like > everything else. > > But a line like "wait 0 with messages" does not seem to me to do much. It undoes your first sentence. It calls the equivalent of what we old readers of Inside Mac used to call GetNextEvent, allowing at least once complete cycle through the OS and application event loops. This allows pending messages to be handled, and allows the OS interrupts enough space to be usable if something needs to be exited from, and allows the OS to update the screen. A lot happens with that humble line, simply and with reasonable efficiency. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dunbarx at aol.com Sun Mar 2 23:00:10 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 2 Mar 2014 23:00:10 -0500 (EST) Subject: Wait command In-Reply-To: <5313F590.9010100@fourthworld.com> References: <5313F590.9010100@fourthworld.com> Message-ID: <8D104AC348DCDDA-2ED4-19F2B@webmail-d240.sysops.aol.com> Richard. Just so. I spoke too carelessly, forgetting, as usual, that LC has features that HC could not dream of. Craig -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Sun, Mar 2, 2014 10:23 pm Subject: Re: Wait command dunbarx wrote: > Wait is blocking. An idle handler will be locked out just like > everything else. > > But a line like "wait 0 with messages" does not seem to me to do much. It undoes your first sentence. It calls the equivalent of what we old readers of Inside Mac used to call GetNextEvent, allowing at least once complete cycle through the OS and application event loops. This allows pending messages to be handled, and allows the OS interrupts enough space to be usable if something needs to be exited from, and allows the OS to update the screen. A lot happens with that humble line, simply and with reasonable efficiency. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and 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 toolbook at kestner.de Mon Mar 3 05:07:58 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 3 Mar 2014 11:07:58 +0100 Subject: How to set "Set as stack Menu bar"? Message-ID: <001c01cf36c8$74bb8840$5e3298c0$@de> Hi, In the menu builder window you can check the option "set as stack menu bar", so that the menu bar isn't shown in the stack window, but replaces the OS X menu. Now I would like to set this option by script, so that the menu switches to the OS X menu only in a standalone and not in the development environment. I don't find the property to set. It's not the "menubar" or "defaultmenubar" property. Any ideas? Alternate: Where can I see all properties of an object (in this case of the stack). I know, this has been discussed lately, but I don't find it. Thanks Tiemo From th.douez at gmail.com Mon Mar 3 08:41:51 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 3 Mar 2014 14:41:51 +0100 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: Hi Todd, Another alternative for you, could be to use Expect. Incidentily, this morning, I spoke a bit about it here: http://forums.runrev.com/viewtopic.php?f=19&t=19377#p97985 Expect works on Unix, Linux, Mac and PCs, and we even could imagine building a LC-external for it which means the scripts could be written in Livecode then... Otherwise, AutoIT seems to be simpler to start with, but I don't have any experience with it. HTH, Thierry 2014-03-02 17:14 GMT+01:00 Todd Geist : > Hello, > > I need to do a bit of GUI scripting for a small project. I can do it just > fine on the mac using Applescript. But I have no idea whats possible on > the windows side. And I need windows :-( > > Are there any LiveCode externals for doing screen automation? > > What about PowerShell? > > Thanks > > Todd ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From m.schonewille at economy-x-talk.com Mon Mar 3 08:51:36 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 03 Mar 2014 14:51:36 +0100 Subject: How to set "Set as stack Menu bar"? In-Reply-To: <001c01cf36c8$74bb8840$5e3298c0$@de> References: <001c01cf36c8$74bb8840$5e3298c0$@de> Message-ID: <531488E8.7000401@economy-x-talk.com> Tiemo, set the editMenus to true|false -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/3/2014 11:07, Tiemo Hollmann TB wrote: > Hi, > > In the menu builder window you can check the option "set as stack menu bar", > so that the menu bar isn't shown in the stack window, but replaces the OS X > menu. Now I would like to set this option by script, so that the menu > switches to the OS X menu only in a standalone and not in the development > environment. > > I don't find the property to set. It's not the "menubar" or "defaultmenubar" > property. > > Any ideas? > > > > Alternate: Where can I see all properties of an object (in this case of the > stack). I know, this has been discussed lately, but I don't find it. > > > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 3 09:39:18 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Mar 2014 06:39:18 -0800 Subject: How to set "Set as stack Menu bar"? In-Reply-To: <001c01cf36c8$74bb8840$5e3298c0$@de> References: <001c01cf36c8$74bb8840$5e3298c0$@de> Message-ID: <53149416.4050201@fourthworld.com> Tiemo Hollmann wrote: > Where can I see all properties of an object (in this case of the stack). To see the names of all properties and messages that pertain to a given object type, open the Dictionary and click the object type in the left-hand list. To see the values of all properties for a given object, you can use the 4W Props tool, available in the Stacks section of RevNet - in the IDE see Development->Plugins->GoRevNet -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Mon Mar 3 10:04:28 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Mar 2014 17:04:28 +0200 Subject: The I-Ching Message-ID: <531499FC.2070501@gmail.com> Go on, I dare you! http://forums.runrev.com/viewtopic.php?f=5&t=19414 Richmond. From roger.e.eller at sealedair.com Mon Mar 3 10:39:37 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 3 Mar 2014 10:39:37 -0500 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: Looks good. I "expect" that I'll be learning more about this. http://docs.activestate.com/activetcl/8.5/expect4win/ ~Roger On Mon, Mar 3, 2014 at 8:41 AM, Thierry Douez wrote: > Hi Todd, > > Another alternative for you, could be to use Expect. > Incidentily, this morning, I spoke a bit about it here: > > http://forums.runrev.com/viewtopic.php?f=19&t=19377#p97985 > > Expect works on Unix, Linux, Mac and PCs, > and we even could imagine building a LC-external for it which means > the scripts could be written in Livecode then... > > Otherwise, AutoIT seems to be simpler to start with, > but I don't have any experience with it. > > HTH, > > Thierry > > > 2014-03-02 17:14 GMT+01:00 Todd Geist : > > Hello, > > > > I need to do a bit of GUI scripting for a small project. I can do it > just > > fine on the mac using Applescript. But I have no idea whats possible on > > the windows side. And I need windows :-( > > > > Are there any LiveCode externals for doing screen automation? > > > > What about PowerShell? > > > > Thanks > > > > Todd > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > _______________________________________________ > use-livecode mailing list > use-livecode 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 th.douez at gmail.com Mon Mar 3 10:47:56 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 3 Mar 2014 16:47:56 +0100 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: 2014-03-03 16:39 GMT+01:00 Roger Eller : Hi Roger, > Looks good. I "expect" that I'll be learning more about this. :) > http://docs.activestate.com/activetcl/8.5/expect4win/ And Activestate is great! I have a long positive experience working with them with Perl and Komodo. Thierry > ~Roger > > > On Mon, Mar 3, 2014 at 8:41 AM, Thierry Douez wrote: > >> Hi Todd, >> >> Another alternative for you, could be to use Expect. >> Incidentily, this morning, I spoke a bit about it here: >> >> http://forums.runrev.com/viewtopic.php?f=19&t=19377#p97985 >> >> Expect works on Unix, Linux, Mac and PCs, >> and we even could imagine building a LC-external for it which means >> the scripts could be written in Livecode then... >> >> Otherwise, AutoIT seems to be simpler to start with, >> but I don't have any experience with it. >> >> HTH, >> >> Thierry >> >> >> 2014-03-02 17:14 GMT+01:00 Todd Geist : >> > Hello, >> > >> > I need to do a bit of GUI scripting for a small project. I can do it >> just >> > fine on the mac using Applescript. But I have no idea whats possible on >> > the windows side. And I need windows :-( >> > >> > Are there any LiveCode externals for doing screen automation? >> > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From th.douez at gmail.com Mon Mar 3 11:28:18 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 3 Mar 2014 17:28:18 +0100 Subject: GUI scripting on windows In-Reply-To: References: Message-ID: 2014-03-02 17:14 GMT+01:00 Todd Geist : > Hello, > > I need to do a bit of GUI scripting for a small project. I can do it just > fine on the mac using Applescript. But I have no idea whats possible on > the windows side. And I need windows :-( > > Are there any LiveCode externals for doing screen automation? Hi Todd, Here is a third possibility: http://search.cpan.org/~rgiersig/Expect-1.15/Expect.pod and the LC external exists since more than 10 years by now! Regards, Thierry > > Thanks > > Todd ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From pete at lcsql.com Mon Mar 3 12:00:53 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Mar 2014 09:00:53 -0800 Subject: Wait command In-Reply-To: References: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> <8D1049FF47F4785-2ED4-19A2C@webmail-d240.sysops.aol.com> Message-ID: Thanks to all for the replies, especially Geoff's clear example. That explains why I could not duplicate the bug I was chasing while in debug mode, since clicking any of the debug icons when on the wait command generated the usual mouse messages. However, I still don't understand why the "wait 0 with messages" command caused the rest of the statements in my script to be ignored. There was no other user interaction going on at the time so there should not have been any messages being fired. Even if there were, shouldn't control have passed back to my script after the message had been processed? I suppose a "send in time" command could have triggered but I don't think I have any of those in this application. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From ambassador at fourthworld.com Mon Mar 3 12:21:34 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Mar 2014 09:21:34 -0800 Subject: Wait command In-Reply-To: References: Message-ID: <5314BA1E.3040201@fourthworld.com> Peter Haworth wrote: > However, I still don't understand why the "wait 0 with messages" command > caused the rest of the statements in my script to be ignored. There was no > other user interaction going on at the time so there should not have been > any messages being fired. Even if there were, shouldn't control have passed > back to my script after the message had been processed? I suppose a "send > in time" command could have triggered but I don't think I have any of those > in this application. Any idle handlers? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Mon Mar 3 12:46:16 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Mar 2014 09:46:16 -0800 Subject: Wait command In-Reply-To: <5314BA1E.3040201@fourthworld.com> References: <5314BA1E.3040201@fourthworld.com> Message-ID: On Mon, Mar 3, 2014 at 9:21 AM, Richard Gaskin wrote: > Any idle handlers? None. Idle handlers are the devil's playground, as they say. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From ambassador at fourthworld.com Mon Mar 3 12:59:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Mar 2014 09:59:27 -0800 Subject: Wait command In-Reply-To: References: Message-ID: <5314C2FF.1070105@fourthworld.com> Peter Haworth wrote: > On Mon, Mar 3, 2014 at 9:21 AM, Richard Gaskin wrote: > >> Any idle handlers? > > None. Idle handlers are the devil's playground, as they say. I tend to agree. In times like this I sometimes find it helpful to be able to review a log of all execution, and made the 4W Flight Recorder for that. It's in the Stacks section of RevNet - in the IDE see Development->Plugins->GoRevNet Flight Recorder will log all handlers triggered in a scrolling field, with the object the handler is in and a very rough measure of the relative time spent in that handler. Double-clicking any line opens the script where the handler resides. I can't tell you how many times it's helped me track down hard-to-track-down issues. I hope it helps with yours. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Mon Mar 3 13:22:34 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Mar 2014 20:22:34 +0200 Subject: [OT] Naive question number 5,000 Message-ID: <5314C86A.3020407@gmail.com> What sort of operating system does a Blackberry run? Richmond. From coiin at verizon.net Mon Mar 3 13:28:01 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Mar 2014 13:28:01 -0500 Subject: [OT] Naive question number 5,000 In-Reply-To: <5314C86A.3020407@gmail.com> References: <5314C86A.3020407@gmail.com> Message-ID: <7F8449C2-66D3-49C2-90C7-070A1063EDEB@verizon.net> It has a few different names. Some are shown here: http://en.wikipedia.org/wiki/BlackBerry_OS From fraser.gordon at runrev.com Mon Mar 3 13:29:12 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Mon, 03 Mar 2014 18:29:12 +0000 Subject: [OT] Naive question number 5,000 In-Reply-To: <5314C86A.3020407@gmail.com> References: <5314C86A.3020407@gmail.com> Message-ID: <5314C9F8.8060301@runrev.com> On 03/03/2014 18:22, Richmond wrote: > What sort of operating system does a Blackberry run? QNX, I believe. From richmondmathewson at gmail.com Mon Mar 3 13:31:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Mar 2014 20:31:18 +0200 Subject: [OT] Naive question number 5,000 In-Reply-To: <5314C9F8.8060301@runrev.com> References: <5314C86A.3020407@gmail.com> <5314C9F8.8060301@runrev.com> Message-ID: <5314CA76.5040300@gmail.com> On 03/03/14 20:29, Fraser Gordon wrote: > On 03/03/2014 18:22, Richmond wrote: >> What sort of operating system does a Blackberry run? > QNX, I believe. > > _______________________________________________ > There's a chap blethering anent developing with Livecode on, among other things, Blackberry, and I cannot quite see how he can do that unless he knows something that nobody else knows about, least of all you lot in Edinburgh . . . LOL\ Richmond. From roger.e.eller at sealedair.com Mon Mar 3 13:55:45 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 3 Mar 2014 13:55:45 -0500 Subject: [OT] Naive question number 5,000 In-Reply-To: <5314CA76.5040300@gmail.com> References: <5314C86A.3020407@gmail.com> <5314C9F8.8060301@runrev.com> <5314CA76.5040300@gmail.com> Message-ID: Maybe... http://howto.cnet.com/8301-11310_39-57618026-285/the-easiest-way-to-install-android-apps-on-bb10/ On Mon, Mar 3, 2014 at 1:31 PM, Richmond wrote: > On 03/03/14 20:29, Fraser Gordon wrote: > >> On 03/03/2014 18:22, Richmond wrote: >> >>> What sort of operating system does a Blackberry run? >>> >> QNX, I believe. >> >> _______________________________________________ >> >> > There's a chap blethering anent developing with Livecode on, among other > things, Blackberry, > and I cannot quite see how he can do that unless he knows something that > nobody else knows > about, least of all you lot in Edinburgh . . . LOL\ > > 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 pete at lcsql.com Mon Mar 3 14:12:34 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Mar 2014 11:12:34 -0800 Subject: Wait command In-Reply-To: <5314C2FF.1070105@fourthworld.com> References: <5314C2FF.1070105@fourthworld.com> Message-ID: Thanks Richard. I already have Flight Recorder but forgot to use it for this problem. I will give it a whirl and see what transpires. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Mar 3, 2014 at 9:59 AM, Richard Gaskin wrote: > Peter Haworth wrote: > > > On Mon, Mar 3, 2014 at 9:21 AM, Richard Gaskin wrote: >> >> Any idle handlers? >>> >> >> None. Idle handlers are the devil's playground, as they say. >> > > I tend to agree. > > In times like this I sometimes find it helpful to be able to review a log > of all execution, and made the 4W Flight Recorder for that. It's in the > Stacks section of RevNet - in the IDE see Development->Plugins->GoRevNet > > Flight Recorder will log all handlers triggered in a scrolling field, with > the object the handler is in and a very rough measure of the relative time > spent in that handler. Double-clicking any line opens the script where the > handler resides. > > I can't tell you how many times it's helped me track down > hard-to-track-down issues. I hope it helps with yours. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Mar 3 15:39:42 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Mar 2014 22:39:42 +0200 Subject: [OT] Naive question number 5,000 In-Reply-To: References: <5314C86A.3020407@gmail.com> <5314C9F8.8060301@runrev.com> <5314CA76.5040300@gmail.com> Message-ID: <5314E88E.4070906@gmail.com> On 03/03/14 20:55, Roger Eller wrote: > Maybe... > > http://howto.cnet.com/8301-11310_39-57618026-285/the-easiest-way-to-install-android-apps-on-bb10/ > http://en.wikipedia.org/wiki/BlackBerry_10 "As of the latest Operating System available (OS 10.2.1), users are able to download and install Android apps from the Google Play store directly to their BlackBerry 10 devices using Snap or Droid Store." Probably. ------------------- However, currently getting stuck with VMware Player 6.0.1 and the Blackberry 10 Simulator: http://us.blackberry.com/sites/developers/resources/simulators.html Richmond. From m.schonewille at economy-x-talk.com Mon Mar 3 19:01:04 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 04 Mar 2014 01:01:04 +0100 Subject: [ANN] Programming LiveCode for the Real Beginner - 3rd print Message-ID: <531517C0.7000901@economy-x-talk.com> Hi everyone, I'd like to share a few words about my book with you. The second print of "Programming LiveCode for the Real Beginner" has been sold out now. In approximately 6 weeks we will publish the third print of the book. This book will be slightly different from the second print. I will probably change a word here and there, correct a few minor spelling errors and update one sample script. The book was published almost a year ago and the main challenge is now to keep this book available to the LiveCode community. You can help by telling new LiveCode users about "Programming LiveCode for the Real Beginner". You can send your friends this link http://qery.us/44r or simply forward this e-mail to them. The third print of the book will be a limited edition. If you want to be sure to get a copy, you should order it now. You can (still) place an order at http://qery.us/44p -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From feed at smpcsupport.com Mon Mar 3 21:00:27 2014 From: feed at smpcsupport.com (LiveCode Feeds) Date: Tue, 04 Mar 2014 13:00:27 +1100 Subject: [ANN] Coding Nine LiveCode Games eBook Message-ID: <1393898427.531533bbd489f@www.server101.com> Hi, Way, way back, "Basic Computer Games" by David Ahl was the definitive book about coding and playing games on what were then called "home computers". I wanted to make a similar book with 101 LiveCode computer games, but quickly realised that it would take a very long time to do. Instead, today a more modest "Coding Nine LiveCode Games" eBook is finished and available. You can find out more about it at the link. http://livecodegamedeveloper.com/book.html It has 9 games: * Pong * Tetris * Dr. Eliza * 23 Matches * Tower Jump * Lunar Lander * Text Adventure * 3D Spider Hunt * 3D Isometric Maze I hope this book proves the clarity and power of LiveCode where code is shorter, and so quicker to develop, than other languages. With most games coded in under 500 lines of LiveCode, this book demonstrates good technique. To stimulate ideas for further development, and inspire both new and experienced LiveCoders. Thanks for taking the time to read YAAP (Yet Another Announcement Post). Scott -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" http://www.runrevplanet.com http://livecodegamedeveloper.com/ http://livecodegamedev.net/ From mwieder at ahsoftware.net Mon Mar 3 21:08:11 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 3 Mar 2014 18:08:11 -0800 Subject: Wait command In-Reply-To: References: <5314BA1E.3040201@fourthworld.com> Message-ID: <147427965947.20140303180811@ahsoftware.net> Pete- Monday, March 3, 2014, 9:46:16 AM, you wrote: > None. Idle handlers are the devil's playground, as they say. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mpetrides at earthlink.net Mon Mar 3 22:21:26 2014 From: mpetrides at earthlink.net (Marian Petrides MD) Date: Mon, 3 Mar 2014 21:21:26 -0600 Subject: [ANN] Coding Nine LiveCode Games eBook In-Reply-To: <1393898427.531533bbd489f@www.server101.com> References: <1393898427.531533bbd489f@www.server101.com> Message-ID: Looks interesting! I sprang for a copy. On Mar 3, 2014, at 8:00 PM, LiveCode Feeds wrote: > Hi, > > Way, way back, "Basic Computer Games" by David Ahl was the definitive book about > coding and playing games on what were then called "home computers". I wanted to > make a similar book with 101 LiveCode computer games, but quickly realised that > it would take a very long time to do. Instead, today a more modest "Coding Nine > LiveCode Games" eBook is finished and available. You can find out more about it > at the link. > > http://livecodegamedeveloper.com/book.html > > It has 9 games: > > * Pong > * Tetris > * Dr. Eliza > * 23 Matches > * Tower Jump > * Lunar Lander > * Text Adventure > * 3D Spider Hunt > * 3D Isometric Maze > > I hope this book proves the clarity and power of LiveCode where code is shorter, > and so quicker to develop, than other languages. With > most games coded in under 500 lines of LiveCode, this book demonstrates good > technique. To stimulate ideas for further development, and inspire both new and > experienced LiveCoders. > > Thanks for taking the time to read YAAP (Yet Another Announcement Post). > > Scott > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > http://www.runrevplanet.com > http://livecodegamedeveloper.com/ > http://livecodegamedev.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 toolbook at kestner.de Tue Mar 4 03:25:01 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 4 Mar 2014 09:25:01 +0100 Subject: AW: How to set "Set as stack Menu bar"? In-Reply-To: <53149416.4050201@fourthworld.com> References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> Message-ID: <002001cf3783$3d978f60$b8c6ae20$@de> Thanks Mark and Richard for your helpful hints Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richard Gaskin > Gesendet: Montag, 3. M?rz 2014 15:39 > An: use-livecode at lists.runrev.com > Betreff: Re: How to set "Set as stack Menu bar"? > > Tiemo Hollmann wrote: > > > Where can I see all properties of an object (in this case of the stack). > > To see the names of all properties and messages that pertain to a given object > type, open the Dictionary and click the object type in the left-hand list. > > To see the values of all properties for a given object, you can use the 4W > Props tool, available in the Stacks section of RevNet - in the IDE see > Development->Plugins->GoRevNet > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 4 04:06:52 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 4 Mar 2014 01:06:52 -0800 (PST) Subject: [ANN] Coding Nine LiveCode Games eBook In-Reply-To: <1393904950287-4676663.post@n4.nabble.com> References: <1393898427.531533bbd489f@www.server101.com> <1393904950287-4676663.post@n4.nabble.com> Message-ID: <1393924012014-4676665.post@n4.nabble.com> Hi Scott just bought your book lickity spick - I wasn't planning on going to the movies anyway :) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Coding-Nine-LiveCode-Games-eBook-tp4676660p4676665.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Tue Mar 4 04:35:38 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Mar 2014 10:35:38 +0100 Subject: [ANN] Coding Nine LiveCode Games eBook In-Reply-To: <1393898427.531533bbd489f@www.server101.com> References: <1393898427.531533bbd489f@www.server101.com> Message-ID: Hi Scott, just bought your book. Thanks for selling it as an eBook. Regards, Matthias Am 04.03.2014 um 03:00 schrieb LiveCode Feeds : > Hi, > > Way, way back, "Basic Computer Games" by David Ahl was the definitive book about > coding and playing games on what were then called "home computers". I wanted to > make a similar book with 101 LiveCode computer games, but quickly realised that > it would take a very long time to do. Instead, today a more modest "Coding Nine > LiveCode Games" eBook is finished and available. You can find out more about it > at the link. > > http://livecodegamedeveloper.com/book.html > > It has 9 games: > > * Pong > * Tetris > * Dr. Eliza > * 23 Matches > * Tower Jump > * Lunar Lander > * Text Adventure > * 3D Spider Hunt > * 3D Isometric Maze > > I hope this book proves the clarity and power of LiveCode where code is shorter, > and so quicker to develop, than other languages. With > most games coded in under 500 lines of LiveCode, this book demonstrates good > technique. To stimulate ideas for further development, and inspire both new and > experienced LiveCoders. > > Thanks for taking the time to read YAAP (Yet Another Announcement Post). > > Scott > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > http://www.runrevplanet.com > http://livecodegamedeveloper.com/ > http://livecodegamedev.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 prothero at earthednet.org Tue Mar 4 14:45:46 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 4 Mar 2014 11:45:46 -0800 Subject: revOnline is funky In-Reply-To: <002001cf3783$3d978f60$b8c6ae20$@de> References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> <002001cf3783$3d978f60$b8c6ae20$@de> Message-ID: What's going on with revOnline when accessed from the IDE, Developer menu? I'm trying to download Richard's property inspector and it seems to hang. I try to log in and it won't recognize my password, and won't try to reset my password. Fortunately, the web site version works fine. Bill William Prothero http://es.earthednet.org From prothero at earthednet.org Tue Mar 4 15:04:37 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 4 Mar 2014 12:04:37 -0800 Subject: revOnline is funky In-Reply-To: References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> <002001cf3783$3d978f60$b8c6ae20$@de> Message-ID: In revOnline window, from LC 6.6.0 dp-1, it is hanging the entire app. I get the following error message when i do an Apple-period command: --------------------------------------------------------- The following server error was encountered: --------------------------------------------------------- pUrl: http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUSygWJRYm5qSWpRcVAHgMjE5Dgy0wBsZlNLQ0YQHzZxOSSzPw8%0D%0AkBhfWmpJckZwSWJytktiSSIDALPSzqtIAAAA pStatus: cached UrlData: H4sIAAAAAAAAA31U227TQBA1Ke1DJIpKxUVCSIPEA4jEctykt0dSqIpaIdEKHqONdxIvXe%2Ba%0D%0A3XUi81V8Dh%2FBRzDjXNRWFS%2FW%2BszxzJwzs96MoqjVoscrkQVlDZ2i7QmGLL8MIrs%2BEUFsRtHD%0D%0A3w59pQNHd5j9JkchtTLIyO4FBjEUTsIlhqqENE5SJj1XmTUjr341rM3eYX%2B%2Fz%2FjuCtoiqHc4%0D%0AIKz1V6LPnCqXPbT%2BXOUItkQD3lYuQ1jXODv5CMqDgKLKcvCqKDU6EEaC1ZJOHJ9YB4ESfMWZ%0D%0A1RXnBDRTajeGT03IeoR5bmEuTIBgIbiaUEo7Fg5hbA16TtRpslwMl8I8WwKiCrYQgRgcLJ3N%0D%0A0HuwEyjsTJkp1NQwaJWh8Sghs2XNwXvbAWW4eH5bXgxnAeZKa5B2brQVsqForhluG9F05DuU%0D%0Ah070wb1VOo07mUNKQL5ltihFUGN9o6pUzfSFq2P4bt016THACUuqSm4WPm63r9igGTrPqedL%0D%0Alq6p1ZDDuZrh0EqEfjwA8jhX0xwddbaUYmxovlmwUTitaFiLBj0pnrBvYJAsI0vISmrV3OHd%0D%0AsGu4GM%2FaoPWMenES75Fi7S2ImVBasFBqBVkSefPF8N6SnG9LJbSucQpCijJQ8XENH35YZ64R%0D%0AZhQ8pep05IVa%2Baa0CkvRY0sPwovKMNbYTG%2FoMiX0yqpmN1b2xHwBHjvKY6Z8BSJ%2B31aSjxuD%0D%0Ao4Rf3y5GJUeSns0FS5Ner5scdJMeJP3jXv84PWLiu8JKNVF3mP1ustdN%2BsxMB8eDA2Y%2BMqLA%0D%0Adb1OsOUoiKln4OVqCdrkaFviDDXdO7ok1momvwh1iaPV91uGlkE0gddBBf3fH8DT1XiaQhtp%0D%0A2qBPKo9utJDc2t9naGe1ZusW30vlCazXhZ99FtnPCnl2cE5GF7Qdp6JuEjqcKb%2F8eT3Yi6J%2F%0D%0Ai0wYGNUEAAA%3D sLastCallback: 38 Error: 488,179,1 253,178,1 253,147,1 253,145,1 241,145,1,updateListItemTextCallback 353,0,0,group id 1691 of card id 1002 of stack "/Applications/LiveCode 6.6 (dp 1).app/Contents/Tools/Toolset/revonline.rev" 529,966,1,updateListItemTextCallback 241,966,1,revCallbackApply 353,0,0,stack "/Applications/LiveCode 6.6 (dp 1).app/Contents/Tools/Toolset/revonlinelibrary.rev" 573,978,1,revCallbackApply 241,978,1,revCallbackApplyLast 353,0,0,stack "/Applications/LiveCode 6.6 (dp 1).app/Contents/Tools/Toolset/revonlinelibrary.rev" 573,752,1,revCallbackApplyLast --------------------------------------------------------- William Prothero http://es.earthednet.org On Mar 4, 2014, at 11:45 AM, prothero at earthednet.org wrote: > What's going on with revOnline when accessed from the IDE, Developer menu? I'm trying to download Richard's property inspector and it seems to hang. I try to log in and it won't recognize my password, and won't try to reset my password. > > Fortunately, the web site version works fine. > 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 richmondmathewson at gmail.com Tue Mar 4 15:41:07 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Mar 2014 22:41:07 +0200 Subject: Palette problem Message-ID: <53163A63.7070806@gmail.com> I have 2 completely independent mainstacks: 1. "Cruddy_Text"; this is a stack containing one selectable textField and nothing else. 2. "palette_keyboard"; this contains a single button " 1122.png" containing this code: on mouseUp set the useUnicode to true put the short name of me into MAGIC delete the last char of MAGIC delete the last char of MAGIC delete the last char of MAGIC delete the last char of MAGIC ----- set the unicodeText of the selectedText to numToChar(MAGIC) ----- select after the selectedText end mouseUp this stack also has this in its stackScript: on openStack palette stack "palette_keyboard" end openStack -------------------------------- What I am trying to do is build a floating palette that will let me enter Unicode chars into any selected textField regardless of whether it is in another substack of a collection of stacks, or a free-standing stack. -------------------------------- What happens is that, having clicked into the textField in stack "Cruddy_Text" I then click on my button in the palettised stack "palette_keyboard" . . . When I click on the button the field in the other stack is deselected. And the IDE throws an error: executing at 10:29:27 PM Type Chunk: no target found Object 1122.png Line set the unicodeText of the selectedText to numToChar(1123) Hint c which is a bit worrying. ----------------------------------- The last time I made a palettised stack was about 3 years ago with LC 4.5 on Mac (currently working with 6.6 on Linux), and it changed the thickness of the title bar of the stack, so it was obvious it was a palette; this does not seem to happen just now (although the stack does become a palette). Richmond. From bernd.niggemann at uni-wh.de Tue Mar 4 15:40:45 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 4 Mar 2014 12:40:45 -0800 (PST) Subject: revOnline is funky In-Reply-To: References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> <002001cf3783$3d978f60$b8c6ae20$@de> Message-ID: <1393965645432-4676672.post@n4.nabble.com> Hi William, see Bug 11387 in Quality Control Center http://quality.runrev.com/show_bug.cgi?id=11387 It seems to be a rather nasty problem since it is not always reproducible. Although I experience what you describe every time. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-set-Set-as-stack-Menu-bar-tp4676638p4676672.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Mar 4 15:58:26 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Mar 2014 22:58:26 +0200 Subject: Palette problem In-Reply-To: <53163A63.7070806@gmail.com> References: <53163A63.7070806@gmail.com> Message-ID: <53163E72.2030704@gmail.com> On 04/03/14 22:41, Richmond wrote: > I have 2 completely independent mainstacks: > > 1. "Cruddy_Text"; this is a stack containing one selectable textField > and nothing else. > > 2. "palette_keyboard"; this contains a single button " 1122.png" > containing this code: > > on mouseUp > set the useUnicode to true > put the short name of me into MAGIC > delete the last char of MAGIC > delete the last char of MAGIC > delete the last char of MAGIC > delete the last char of MAGIC > ----- > set the unicodeText of the selectedText to numToChar(MAGIC) > ----- > select after the selectedText > end mouseUp > > this stack also has this in its stackScript: > > on openStack > palette stack "palette_keyboard" > end openStack > > -------------------------------- > > What I am trying to do is build a floating palette that will let me > enter Unicode chars > into any selected textField regardless of whether it is in another > substack of a collection > of stacks, or a free-standing stack. > -------------------------------- > > What happens is that, having clicked into the textField in stack > "Cruddy_Text" > I then click on my button in the palettised stack "palette_keyboard" . > . . > > When I click on the button the field in the other stack is deselected. > > And the IDE throws an error: > > executing at 10:29:27 PM > Type Chunk: no target found > Object 1122.png > Line set the unicodeText of the selectedText to numToChar(1123) > Hint c > > which is a bit worrying. > > ----------------------------------- > > The last time I made a palettised stack was about 3 years ago with LC > 4.5 on Mac (currently working with 6.6 on Linux), > and it changed the thickness of the title bar of the stack, so it was > obvious it was a palette; this does not seem to > happen just now (although the stack does become a palette). > > Richmond. > > > > Well, here I am (just for a change) answering my own message. I had to set up 2 fields in the "palette_keyboard" stack, and then alter my button script to this: on mouseUp put fld "FEELD" into FEELD put fld "STAK" into STAK set the useUnicode to true put the short name of me into MAGIC delete the last char of MAGIC delete the last char of MAGIC delete the last char of MAGIC delete the last char of MAGIC ----- set the unicodeText of fld ID FEELD of stack STAK to the unicodeText of fld ID FEELD of stack STAK & numToChar(MAGIC) ----- end mouseUp on mouseEnter put the ID of the selectedField into fld "FEELD" put the topStack into fld "STAK" end mouseEnter ------------------------------------------- It seems a bit clunky with those fields, but that seems to be one way to stop losing those variables between the mouseEnter bit and the mouseUp bit. I'm sorry I have mouseEnter after mouseUp; something to do with the way I thought things through; which, if you compare my first stab and my second one you should understand. Richmond. From prothero at earthednet.org Tue Mar 4 16:18:12 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 4 Mar 2014 13:18:12 -0800 Subject: revOnline is funky In-Reply-To: <1393965645432-4676672.post@n4.nabble.com> References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> <002001cf3783$3d978f60$b8c6ae20$@de> <1393965645432-4676672.post@n4.nabble.com> Message-ID: <365BC803-A2AA-40E8-BF44-3A3BEB4B5451@earthednet.org> Bernd: It's a pity. I was trying to download Richard Gaskin's prop inspector, but can't find it on the web site. Anyway, I've gotta get back to some productive work. Best, bill William Prothero http://es.earthednet.org On Mar 4, 2014, at 12:40 PM, BNig wrote: > Hi William, > > see Bug 11387 in Quality Control Center > > http://quality.runrev.com/show_bug.cgi?id=11387 > > It seems to be a rather nasty problem since it is not always reproducible. > Although I experience what you describe every time. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-set-Set-as-stack-Menu-bar-tp4676638p4676672.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 Tue Mar 4 16:39:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Mar 2014 13:39:09 -0800 Subject: revOnline is funky In-Reply-To: <365BC803-A2AA-40E8-BF44-3A3BEB4B5451@earthednet.org> References: <365BC803-A2AA-40E8-BF44-3A3BEB4B5451@earthednet.org> Message-ID: <531647FD.2030706@fourthworld.com> prothero wrote: > I was trying to download Richard Gaskin's prop inspector, but can't find it on the web site. 4W Props is in RevNet, which predates RevOnline by a couple years (and has unfortunately proven more reliable). RevNet is accessible within the LC IDE through its bundled plugin - see Development->Plugins->GoRevNet -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From Nakia.Brewer at westrac.com.au Tue Mar 4 18:24:44 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 4 Mar 2014 23:24:44 +0000 Subject: Custom Props Set In-Reply-To: <52F45014.8010207@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> Hi, Long time between drinks I know. Finally got back to this today and I couldn't get that solution to work for me. Reading into the dictionary it looks like I had to set the customPropSet to be active first then use the customKeys function to get the keys. set the customPropertySet of grp "EventsGroup" to "VIMSEventChannels" put the customKeys of grp "EventsGroup" into tKeys Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, 7 February 2014 2:17 PM To: How to use LiveCode Subject: Re: Custom Props Set On 2/6/14, 8:01 PM, Nakia Brewer wrote: > Thanks Jac, > > Haven't got back to this today so this will help. I just noticed I left out the "of this stack" inside the repeat loop, it should be: if the tCustomPropSet[tKey] of this stack = value then do something Mushy brain. >> I was trying to get the names of all the Custom Properties that >> existsin a Custom Property Set. >> I want to loop through them all and see if one has a value I am looking for. > >> Repeat for each line tCustomProp in tCustomPropSet If the >> tCustomPropSet[quote& tCustomProp &"]" = value then do something End >> repeat >> >> Kind of like above ish roughly > > You may have figured this out by now, but try this: > > put the keys of the tCustomPropSet of this stack into tKeys > repeat for each line tKey in tKeys > if the tCustomPropSet[tKey] = value then do something > end repeat > > If the set isn't in the stack, sustitute wherever it is for "of this stack". > s -- 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From revdev at pdslabs.net Tue Mar 4 19:32:55 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 04 Mar 2014 16:32:55 -0800 Subject: Custom Props Set In-Reply-To: <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> Message-ID: <531670B7.7050507@pdslabs.net> Have you ever tried this? It's what I always do when dealing with a custom prop set: to deal with the keys: put the customKeys["uMyCustomProps"] of this stack into tKeyList set the customKeys["uMyCustomProps"] of this stack to tKeyList -- handy for deleting or adding elements or to handle the set: put the customProperties["uMyCustomProps"] of this stack into tPropsArray set the customProperties["uMyCustomProps"] of this stack to tPropsArray ... where 'uMyCustomProps' is the name of the CPS. Works for me. Phil On 3/4/14, 3:24 PM, Nakia Brewer wrote: > Hi, > > Long time between drinks I know. > Finally got back to this today and I couldn't get that solution to work for me. > > Reading into the dictionary it looks like I had to set the customPropSet to be active first then use the customKeys function to get the keys. > > set the customPropertySet of grp "EventsGroup" to "VIMSEventChannels" > put the customKeys of grp "EventsGroup" into tKeys > > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Friday, 7 February 2014 2:17 PM > To: How to use LiveCode > Subject: Re: Custom Props Set > > On 2/6/14, 8:01 PM, Nakia Brewer wrote: >> Thanks Jac, >> >> Haven't got back to this today so this will help. > I just noticed I left out the "of this stack" inside the repeat loop, it should be: > > if the tCustomPropSet[tKey] of this stack = value then do something > > Mushy brain. > >>> I was trying to get the names of all the Custom Properties that >>> existsin a Custom Property Set. >>> I want to loop through them all and see if one has a value I am looking for. >>> Repeat for each line tCustomProp in tCustomPropSet If the >>> tCustomPropSet[quote& tCustomProp &"]" = value then do something End >>> repeat >>> >>> Kind of like above ish roughly >> You may have figured this out by now, but try this: >> >> put the keys of the tCustomPropSet of this stack into tKeys >> repeat for each line tKey in tKeys >> if the tCustomPropSet[tKey] = value then do something >> end repeat >> >> If the set isn't in the stack, sustitute wherever it is for "of this stack". >> > s > -- Phil Davis From prothero at earthednet.org Tue Mar 4 20:24:58 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 4 Mar 2014 17:24:58 -0800 Subject: revOnline is funky In-Reply-To: <531647FD.2030706@fourthworld.com> References: <365BC803-A2AA-40E8-BF44-3A3BEB4B5451@earthednet.org> <531647FD.2030706@fourthworld.com> Message-ID: Richard: Ahhh, I see. Got it! Great collection. Bill William Prothero http://es.earthednet.org On Mar 4, 2014, at 1:39 PM, Richard Gaskin wrote: > prothero wrote: > >> I was trying to download Richard Gaskin's prop inspector, but can't find it on the web site. > > 4W Props is in RevNet, which predates RevOnline by a couple years (and has unfortunately proven more reliable). > > RevNet is accessible within the LC IDE through its bundled plugin - see Development->Plugins->GoRevNet > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lan.kc.macmail at gmail.com Tue Mar 4 20:31:19 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 5 Mar 2014 09:31:19 +0800 Subject: Custom Props Set In-Reply-To: <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> Message-ID: Nakia, It looks like you have found your solution with the need to set the customPropSet first before accessing the customKeys function. If this is still not working for you, or as heads up for others who may not have read/remembered this, let me share a very recent experience that resulted in a properly corrupted stack file. In my shear brilliance (shortsightedness) I created a script that ran through a bunch of Folders on my HD and created a custom property set the name of each being the folder's name. It then created a custom property for each file within that folder, the CP name being the name of the file, the contents of the CP being some metadata about the file. To cap off my near genius (stupidity) I ran the file names through urlEncode() as I was going to send some of the info across a network. Great, a dozen or so CPSs created with a couple of hundred CPs in each, all using array notation, all done in a blink of the eye. Everything worked fine for a while. A glance at the CPSs and the CPs with the Inspector all looked good. And then things started misbehaving, and then it all went The Omen on me, my stack was possessed. Scripts didn't work any more, strange data was turning up in variables, CPSs and CPs started disappearing, the Inspector started showing some data from one object and other data from a different object. I'm pretty sure the cause was this, from the LC User Guide: ---------------- Custom Property Names The name of a custom property must consist of a single word and may contain any combination of letters, digits, and underscores (_). The first character must be either a letter or an underscore. Custom Property Set Names The names of custom property sets should consist of a single word, with any combination of letters, digits, and underscores (_). The first character should be either a letter or an underscore. It is possible to create a custom property set with a name that has more than one word, or that otherwise doesn't conform to these guidelines. However, this is not recommended, because such a custom property set can't be used with the array notation described below. ---------------- THESE NAMING CONVENTIONS DO NOT APPEAR IN THE DICTIONARY, at least not under the entries for customProperties, customPropertySet, customPropertySets. And, as if to tempt you into dark and foreboding corners, the example for customPropertySet is: set the customPropertySet of me to "Mac Properties" Needless to say, I had several folders whose name was either multi-word and/or started with a digit. For file names, although the use of urlEncode() accidentally solved the problem of multi-word names, it merely passed the buck by introducing characters such % and + instead of commas, spaces and parenthesis. I still had many file names and therefore CP names which started with a digit and EVERYONE included a period. Now whether or not LC should have stopped me from creating such is a mute point. It did, things worked for a while using array notation, and then it broke. From pete at lcsql.com Tue Mar 4 21:26:02 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Mar 2014 18:26:02 -0800 Subject: Custom Props Set In-Reply-To: References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> Message-ID: On Tue, Mar 4, 2014 at 5:31 PM, Kay C Lan wrote: > The name of a custom property must consist of a single word and may contain > any combination of letters, digits, and underscores (_). The first > character must be either a letter or an underscore. > Interesting. LC breaks its own rules then because some of the standalone settings are stored in cprops whose names have commas in them. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From slylabs13 at me.com Tue Mar 4 21:53:58 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 04 Mar 2014 18:53:58 -0800 Subject: Wait command In-Reply-To: References: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> <8D1049FF47F4785-2ED4-19A2C@webmail-d240.sysops.aol.com> Message-ID: Debug stepping through code will not show you the effects of wait 0 seconds because the step debugger itself (if I am not mistaken) is idling in between each command executed. Wait is implied here. The engine is already ?waiting? in between every command executed. This BTW is one of the reasons I think Jerry Daniels came up with Remo, which had a loving type debugger and NOT a step debugger. Some things simply cannot be monitored correctly with a step debugger. Bob On Mar 3, 2014, at 9:00 AM, Peter Haworth wrote: > Thanks to all for the replies, especially Geoff's clear example. That > explains why I could not duplicate the bug I was chasing while in debug > mode, since clicking any of the debug icons when on the wait command > generated the usual mouse messages. > > However, I still don't understand why the "wait 0 with messages" command > caused the rest of the statements in my script to be ignored. There was no > other user interaction going on at the time so there should not have been > any messages being fired. Even if there were, shouldn't control have passed > back to my script after the message had been processed? I suppose a "send > in time" command could have triggered but I don't think I have any of those > in this application. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 slylabs13 at me.com Tue Mar 4 22:02:22 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 04 Mar 2014 19:02:22 -0800 Subject: Wait command In-Reply-To: References: <16135C1E-E249-4F24-A952-727809B32ACF@me.com> <8D1049FF47F4785-2ED4-19A2C@webmail-d240.sysops.aol.com> Message-ID: LOVING TYPE DEBUGGER???? I meant LOGGING type debugger!!! On Mar 4, 2014, at 6:53 PM, Robert Sneidar wrote: > Debug stepping through code will not show you the effects of wait 0 seconds because the step debugger itself (if I am not mistaken) is idling in between each command executed. Wait is implied here. The engine is already ?waiting? in between every command executed. This BTW is one of the reasons I think Jerry Daniels came up with Remo, which had a loving type debugger and NOT a step debugger. Some things simply cannot be monitored correctly with a step debugger. > > Bob > > > On Mar 3, 2014, at 9:00 AM, Peter Haworth wrote: > >> Thanks to all for the replies, especially Geoff's clear example. That >> explains why I could not duplicate the bug I was chasing while in debug >> mode, since clicking any of the debug icons when on the wait command >> generated the usual mouse messages. >> >> However, I still don't understand why the "wait 0 with messages" command >> caused the rest of the statements in my script to be ignored. There was no >> other user interaction going on at the time so there should not have been >> any messages being fired. Even if there were, shouldn't control have passed >> back to my script after the message had been processed? I suppose a "send >> in time" command could have triggered but I don't think I have any of those >> in this application. >> >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 revdev at pdslabs.net Tue Mar 4 22:09:03 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 04 Mar 2014 19:09:03 -0800 Subject: Custom Props Set In-Reply-To: References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> Message-ID: <5316954F.5020500@pdslabs.net> Also the data grid uses custom propertyset element names that contain spaces. I'm guessing those elements are not considered custom props? Phil On 3/4/14, 6:26 PM, Peter Haworth wrote: > On Tue, Mar 4, 2014 at 5:31 PM, Kay C Lan wrote: > >> The name of a custom property must consist of a single word and may contain >> any combination of letters, digits, and underscores (_). The first >> character must be either a letter or an underscore. >> > Interesting. LC breaks its own rules then because some of the standalone > settings are stored in cprops whose names have commas in them. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 shawnlivecode at gmail.com Tue Mar 4 23:24:16 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 4 Mar 2014 22:24:16 -0600 Subject: How to set "Set as stack Menu bar"? In-Reply-To: <53149416.4050201@fourthworld.com> References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> Message-ID: --- available in the Stacks section of RevNet - in the IDE see Development->Plugins->GoRevNet --- Just don't click on Tips. I've actually never explored this goRevNet section ... thanks for mentioning it. Just don't click on TIPS (at least in 6.6 dp1) On Mon, Mar 3, 2014 at 8:39 AM, Richard Gaskin wrote: > Tiemo Hollmann wrote: > > Where can I see all properties of an object (in this case of the stack). >> > > To see the names of all properties and messages that pertain to a given > object type, open the Dictionary and click the object type in the left-hand > list. > > To see the values of all properties for a given object, you can use the 4W > Props tool, available in the Stacks section of RevNet - in the IDE see > Development->Plugins->GoRevNet > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Tue Mar 4 23:34:01 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Mar 2014 20:34:01 -0800 Subject: How to set "Set as stack Menu bar"? In-Reply-To: References: <001c01cf36c8$74bb8840$5e3298c0$@de> <53149416.4050201@fourthworld.com> Message-ID: <101523113836.20140304203401@ahsoftware.net> Shawn- Tuesday, March 4, 2014, 8:24:16 PM, you wrote: > Just don't click on Tips. I've actually never explored this goRevNet > section ... thanks for mentioning it. Just don't click on TIPS (at least > in 6.6 dp1) So of course I had to go click on Tips. Yeah, not real useful. Clicking on RevJournal isn't very rewarding either. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From ambassador at fourthworld.com Tue Mar 4 23:39:37 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Mar 2014 20:39:37 -0800 Subject: How to set "Set as stack Menu bar"? Message-ID: <5316AA89.2060703@fourthworld.com> Shawn Blc wrote: > Just don't click on Tips. I've actually never explored this goRevNet > section ... thanks for mentioning it. Just don't click on TIPS (at > least in 6.6 dp1) I guess that's a coy way of filing a bug report. My email address isn't hard to find, but if you need it in the future: ambassador at fourthworld.com Looks like a data source has moved. I'll see if I can get that corrected soon. Thanks for the report. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Mar 4 23:47:33 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Mar 2014 20:47:33 -0800 Subject: How to set "Set as stack Menu bar"? Message-ID: <5316AC65.1080700@fourthworld.com> Mark Wieder wrote: > So of course I had to go click on Tips. Yeah, not real useful. > Clicking on RevJournal isn't very rewarding either. Yeah, that's definitely a known issue, as it feeds from LiveCodeJournal.com where my new CMS hasn't been fully put into place yet. I have a replacement RevNet in the works, but got sidetracked paying the bills. I'll try to set that aside to wrap up the new RevNet soon. And of course, both LiveCodeJournal.com and RevNet are community resources, so anyone with an interest, an idea, and time on their hands is welcome to drop me a note and we'll put those ideas into action. Thanks for the report. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Wed Mar 5 00:00:59 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Mar 2014 21:00:59 -0800 Subject: How to set "Set as stack Menu bar"? In-Reply-To: <5316AC65.1080700@fourthworld.com> References: <5316AC65.1080700@fourthworld.com> Message-ID: <138524731589.20140304210059@ahsoftware.net> Richard- Paying the bills is so overrated. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Wed Mar 5 00:43:22 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Mar 2014 23:43:22 -0600 Subject: Custom Props Set In-Reply-To: <5316954F.5020500@pdslabs.net> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> <5316954F.5020500@pdslabs.net> Message-ID: <5316B97A.8010706@hyperactivesw.com> On 3/4/14, 9:09 PM, Phil Davis wrote: > Also the data grid uses custom propertyset element names that contain > spaces. I'm guessing those elements are not considered custom props? Parts of the documentation haven't kept up with engine changes. This looks like one of them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ben at runrev.com Wed Mar 5 10:36:04 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 5 Mar 2014 15:36:04 +0000 Subject: RELEASE LiveCode 6.6 RC1 Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 6.6 RC1. This release is now considered feature complete. *Warning, this is a pre-release with new features which have the potential to cause issues. Please ensure you backup your stacks before testing this release.* *Important Changes* 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) support has been dropped from LiveCode. This is primarily for technical reasons: In order to support the latest OS X features (e.g. Cocoa - LiveCode 6.7 - coming soon) as well as include the newest versions of thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was required. Users wishing to produce 10.4 compatible executables can still do so using LiveCode version 6.5.x (and earlier). *Release Contents* - This development release contains the following changes: - 'assert' command (experimental) - New **showAll** fullscreenmode. - Hi-DPI support for Windows 7/8 and OSX. - HTTPS through proxy - Image Filtering Updates - Graphics Library Update - OpenSSL & Encryption Updates - Proxy automatic configuration support - 'secure socket' command - '#!' now recognised by server - SQLite support updated and improved - Stack scaling - OS 10.4 (Tiger) Support - 31 bug fixes: - *11874 - BinaryDecode wrong on Android* - *11858 - Hidden stacks don't update their position when re-shown* - *11844 - Stack height limited to screen height* - *11841 - The effective revAvailableHandlers of an object sometimes contains duplicates* - *11836 - MouseLoc returns wrong value if pixelScale set to value other than 1* - *11816 - Native Android control rects not scaled when set from preOpenStack handler* - *11814 - Accelerated rendering causes cards to be rendered in the bottom left of the screen on iOS Retina devices* - *11811 - Cannot take screen snapshot at high resolution.* - *11789 - mobileComposeMail only blocks the first time on Android.* - *11785 - Option menu with height > 22 draws incorrectly on OSX with Retina display.* - *11783 - Setting the fullscreenmode on Windows when not fullscreen causes text to change.* - *11781 - Visual effects can display in the wrong place on iOS on Retina devices.* - *11778 - averageDeviation returns incorrect result on Mac, Linux, iOS, Android* - 11754 - Error (invalid bundle) on uploading app to iOS App Store - 11753 - Cannot play some video streams on Android - 11751 - After selecting an item in an option menu containing unicode, the label is corrupted (Mac only) - 11732 - <> operator is different from 'is not' operator for arrays - 11721 - Crash when taking a snapshot of the template graphic - 11720 - SQLite FTS feature doesn't work on iOS or Mac. - 11715 - LiveCode crashes if dragsource object is closed during dragEnd handler - 11703 - iPhoneSetRemoteControlDisplay crashes - 11617 - acceleratedRendering will clip the end of long scrolling groups - 11462 - Failing to set image data to the image data of self - 11442 - Can't quit LiveCode after setting the securityPermissions to "network" - 11124 - No error message when external not found when deploying to simulator - 11069 - mobileComposeMail attachment missing in Android - 10910 - "Crop image" command crashes LiveCode application - 10467 - Indenting of scripts can go wrong - 10280 - SQLite binary entries are non-standard. - 8044 - setting a crop with quotes loses data - 5331 - Mac live window resizing is off by default. *Known Issues* - Text scaling/clipping on Linux with stack scale set *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ *Reporting Bugs* If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From cmsheffield at icloud.com Wed Mar 5 11:10:58 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 05 Mar 2014 09:10:58 -0700 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: References: Message-ID: <865371EA-F4A6-46E8-9127-81BAFDA99412@icloud.com> Anybody else having trouble activating this build? I?ve already sent an email to support, but thought I?d ask here. Curious if it?s just me or not. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Mar 5, 2014, at 8:36 AM, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6 RC1. This release is > now considered feature complete. > > *Warning, this is a pre-release with new features which have the potential > to cause issues. Please ensure you backup your stacks before testing this > release.* > > *Important Changes* > > 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) > support has been dropped from LiveCode. This is primarily for technical > reasons: In order to support the latest OS X features (e.g. Cocoa - > LiveCode 6.7 - coming soon) as well as include the newest versions of > thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was > required. Users wishing to produce 10.4 compatible executables can still do > so using LiveCode version 6.5.x (and earlier). > > > *Release Contents* > > - This development release contains the following changes: > - 'assert' command (experimental) > - New **showAll** fullscreenmode. > - Hi-DPI support for Windows 7/8 and OSX. > - HTTPS through proxy > - Image Filtering Updates > - Graphics Library Update > - OpenSSL & Encryption Updates > - Proxy automatic configuration support > - 'secure socket' command > - '#!' now recognised by server > - SQLite support updated and improved > - Stack scaling > - OS 10.4 (Tiger) Support > - 31 bug fixes: > - *11874 - BinaryDecode wrong on Android* > - *11858 - Hidden stacks don't update their position when re-shown* > - *11844 - Stack height limited to screen height* > - *11841 - The effective revAvailableHandlers of an object sometimes > contains duplicates* > - *11836 - MouseLoc returns wrong value if pixelScale set to value > other than 1* > - *11816 - Native Android control rects not scaled when set from > preOpenStack handler* > - *11814 - Accelerated rendering causes cards to be rendered in the > bottom left of the screen on iOS Retina devices* > - *11811 - Cannot take screen snapshot at high resolution.* > - *11789 - mobileComposeMail only blocks the first time on Android.* > - *11785 - Option menu with height > 22 draws incorrectly on OSX with > Retina display.* > - *11783 - Setting the fullscreenmode on Windows when not fullscreen > causes text to change.* > - *11781 - Visual effects can display in the wrong place on iOS on > Retina devices.* > - *11778 - averageDeviation returns incorrect result on Mac, Linux, > iOS, Android* > - 11754 - Error (invalid bundle) on uploading app to iOS App Store > - 11753 - Cannot play some video streams on Android > - 11751 - After selecting an item in an option menu containing > unicode, the label is corrupted (Mac only) > - 11732 - <> operator is different from 'is not' operator for arrays > - 11721 - Crash when taking a snapshot of the template graphic > - 11720 - SQLite FTS feature doesn't work on iOS or Mac. > - 11715 - LiveCode crashes if dragsource object is closed during > dragEnd handler > - 11703 - iPhoneSetRemoteControlDisplay crashes > - 11617 - acceleratedRendering will clip the end of long scrolling > groups > - 11462 - Failing to set image data to the image data of self > - 11442 - Can't quit LiveCode after setting the securityPermissions > to "network" > - 11124 - No error message when external not found when deploying to > simulator > - 11069 - mobileComposeMail attachment missing in Android > - 10910 - "Crop image" command crashes LiveCode application > - 10467 - Indenting of scripts can go wrong > - 10280 - SQLite binary entries are non-standard. > - 8044 - setting a crop with quotes loses data > - 5331 - Mac live window resizing is off by default. > > > *Known Issues* > - Text scaling/clipping on Linux with stack scale set > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > *Reporting Bugs* > If you encounter an issue with this release please submit a bug report to > our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 neil at runrev.com Wed Mar 5 11:17:00 2014 From: neil at runrev.com (Neil Roger) Date: Wed, 05 Mar 2014 16:17:00 +0000 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: <865371EA-F4A6-46E8-9127-81BAFDA99412@icloud.com> References: <865371EA-F4A6-46E8-9127-81BAFDA99412@icloud.com> Message-ID: <53174DFC.8060104@runrev.com> Hi Chris, Activation should be working now. Please let us know if you continue to experience any issues during the activation process. Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com ?? On 05/03/2014 16:10, Chris Sheffield wrote: > Anybody else having trouble activating this build? I?ve already sent an email to support, but thought I?d ask here. Curious if it?s just me or not. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Mar 5, 2014, at 8:36 AM, Benjamin Beaumont wrote: > >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 6.6 RC1. This release is >> now considered feature complete. >> >> *Warning, this is a pre-release with new features which have the potential >> to cause issues. Please ensure you backup your stacks before testing this >> release.* >> >> *Important Changes* >> >> 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) >> support has been dropped from LiveCode. This is primarily for technical >> reasons: In order to support the latest OS X features (e.g. Cocoa - >> LiveCode 6.7 - coming soon) as well as include the newest versions of >> thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was >> required. Users wishing to produce 10.4 compatible executables can still do >> so using LiveCode version 6.5.x (and earlier). >> >> >> *Release Contents* >> >> - This development release contains the following changes: >> - 'assert' command (experimental) >> - New **showAll** fullscreenmode. >> - Hi-DPI support for Windows 7/8 and OSX. >> - HTTPS through proxy >> - Image Filtering Updates >> - Graphics Library Update >> - OpenSSL & Encryption Updates >> - Proxy automatic configuration support >> - 'secure socket' command >> - '#!' now recognised by server >> - SQLite support updated and improved >> - Stack scaling >> - OS 10.4 (Tiger) Support >> - 31 bug fixes: >> - *11874 - BinaryDecode wrong on Android* >> - *11858 - Hidden stacks don't update their position when re-shown* >> - *11844 - Stack height limited to screen height* >> - *11841 - The effective revAvailableHandlers of an object sometimes >> contains duplicates* >> - *11836 - MouseLoc returns wrong value if pixelScale set to value >> other than 1* >> - *11816 - Native Android control rects not scaled when set from >> preOpenStack handler* >> - *11814 - Accelerated rendering causes cards to be rendered in the >> bottom left of the screen on iOS Retina devices* >> - *11811 - Cannot take screen snapshot at high resolution.* >> - *11789 - mobileComposeMail only blocks the first time on Android.* >> - *11785 - Option menu with height > 22 draws incorrectly on OSX with >> Retina display.* >> - *11783 - Setting the fullscreenmode on Windows when not fullscreen >> causes text to change.* >> - *11781 - Visual effects can display in the wrong place on iOS on >> Retina devices.* >> - *11778 - averageDeviation returns incorrect result on Mac, Linux, >> iOS, Android* >> - 11754 - Error (invalid bundle) on uploading app to iOS App Store >> - 11753 - Cannot play some video streams on Android >> - 11751 - After selecting an item in an option menu containing >> unicode, the label is corrupted (Mac only) >> - 11732 - <> operator is different from 'is not' operator for arrays >> - 11721 - Crash when taking a snapshot of the template graphic >> - 11720 - SQLite FTS feature doesn't work on iOS or Mac. >> - 11715 - LiveCode crashes if dragsource object is closed during >> dragEnd handler >> - 11703 - iPhoneSetRemoteControlDisplay crashes >> - 11617 - acceleratedRendering will clip the end of long scrolling >> groups >> - 11462 - Failing to set image data to the image data of self >> - 11442 - Can't quit LiveCode after setting the securityPermissions >> to "network" >> - 11124 - No error message when external not found when deploying to >> simulator >> - 11069 - mobileComposeMail attachment missing in Android >> - 10910 - "Crop image" command crashes LiveCode application >> - 10467 - Indenting of scripts can go wrong >> - 10280 - SQLite binary entries are non-standard. >> - 8044 - setting a crop with quotes loses data >> - 5331 - Mac live window resizing is off by default. >> >> >> *Known Issues* >> - Text scaling/clipping on Linux with stack scale set >> >> *Getting this release* >> To upgrade to this release please select "check for updates" from the help >> menu in LiveCode or download the installers directly at: >> http://downloads.livecode.com/livecode/ >> >> *Reporting Bugs* >> If you encounter an issue with this release please submit a bug report to >> our quality centre: http://quality.runrev.com/enter_bug.cgi >> >> Warm regards, >> >> The LiveCode Team >> >> -- >> _____________________________________________ >> >> Benjamin Beaumont . RunRev Ltd >> >> LiveCode Product Manager >> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >> email : ben at runrev.com >> company : +44(0) 845 219 89 23 >> fax : +44(0) 845 458 8487 >> web : www.runrev.com >> >> LiveCode - Programming made simple >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 cmsheffield at icloud.com Wed Mar 5 11:15:59 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 05 Mar 2014 09:15:59 -0700 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: <865371EA-F4A6-46E8-9127-81BAFDA99412@icloud.com> References: <865371EA-F4A6-46E8-9127-81BAFDA99412@icloud.com> Message-ID: <8B53A99D-DBE3-4EC0-91D4-2C040D6AA716@icloud.com> Strange. I just tried again (for the 3rd or 4th time) and it worked this time. So all is well. Not sure what the issue was? On Mar 5, 2014, at 9:10 AM, Chris Sheffield wrote: > Anybody else having trouble activating this build? I?ve already sent an email to support, but thought I?d ask here. Curious if it?s just me or not. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Mar 5, 2014, at 8:36 AM, Benjamin Beaumont wrote: > >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 6.6 RC1. This release is >> now considered feature complete. >> >> *Warning, this is a pre-release with new features which have the potential >> to cause issues. Please ensure you backup your stacks before testing this >> release.* >> >> *Important Changes* >> >> 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) >> support has been dropped from LiveCode. This is primarily for technical >> reasons: In order to support the latest OS X features (e.g. Cocoa - >> LiveCode 6.7 - coming soon) as well as include the newest versions of >> thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was >> required. Users wishing to produce 10.4 compatible executables can still do >> so using LiveCode version 6.5.x (and earlier). >> >> >> *Release Contents* >> >> - This development release contains the following changes: >> - 'assert' command (experimental) >> - New **showAll** fullscreenmode. >> - Hi-DPI support for Windows 7/8 and OSX. >> - HTTPS through proxy >> - Image Filtering Updates >> - Graphics Library Update >> - OpenSSL & Encryption Updates >> - Proxy automatic configuration support >> - 'secure socket' command >> - '#!' now recognised by server >> - SQLite support updated and improved >> - Stack scaling >> - OS 10.4 (Tiger) Support >> - 31 bug fixes: >> - *11874 - BinaryDecode wrong on Android* >> - *11858 - Hidden stacks don't update their position when re-shown* >> - *11844 - Stack height limited to screen height* >> - *11841 - The effective revAvailableHandlers of an object sometimes >> contains duplicates* >> - *11836 - MouseLoc returns wrong value if pixelScale set to value >> other than 1* >> - *11816 - Native Android control rects not scaled when set from >> preOpenStack handler* >> - *11814 - Accelerated rendering causes cards to be rendered in the >> bottom left of the screen on iOS Retina devices* >> - *11811 - Cannot take screen snapshot at high resolution.* >> - *11789 - mobileComposeMail only blocks the first time on Android.* >> - *11785 - Option menu with height > 22 draws incorrectly on OSX with >> Retina display.* >> - *11783 - Setting the fullscreenmode on Windows when not fullscreen >> causes text to change.* >> - *11781 - Visual effects can display in the wrong place on iOS on >> Retina devices.* >> - *11778 - averageDeviation returns incorrect result on Mac, Linux, >> iOS, Android* >> - 11754 - Error (invalid bundle) on uploading app to iOS App Store >> - 11753 - Cannot play some video streams on Android >> - 11751 - After selecting an item in an option menu containing >> unicode, the label is corrupted (Mac only) >> - 11732 - <> operator is different from 'is not' operator for arrays >> - 11721 - Crash when taking a snapshot of the template graphic >> - 11720 - SQLite FTS feature doesn't work on iOS or Mac. >> - 11715 - LiveCode crashes if dragsource object is closed during >> dragEnd handler >> - 11703 - iPhoneSetRemoteControlDisplay crashes >> - 11617 - acceleratedRendering will clip the end of long scrolling >> groups >> - 11462 - Failing to set image data to the image data of self >> - 11442 - Can't quit LiveCode after setting the securityPermissions >> to "network" >> - 11124 - No error message when external not found when deploying to >> simulator >> - 11069 - mobileComposeMail attachment missing in Android >> - 10910 - "Crop image" command crashes LiveCode application >> - 10467 - Indenting of scripts can go wrong >> - 10280 - SQLite binary entries are non-standard. >> - 8044 - setting a crop with quotes loses data >> - 5331 - Mac live window resizing is off by default. >> >> >> *Known Issues* >> - Text scaling/clipping on Linux with stack scale set >> >> *Getting this release* >> To upgrade to this release please select "check for updates" from the help >> menu in LiveCode or download the installers directly at: >> http://downloads.livecode.com/livecode/ >> >> *Reporting Bugs* >> If you encounter an issue with this release please submit a bug report to >> our quality centre: http://quality.runrev.com/enter_bug.cgi >> >> Warm regards, >> >> The LiveCode Team >> >> -- >> _____________________________________________ >> >> Benjamin Beaumont . RunRev Ltd >> >> LiveCode Product Manager >> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >> email : ben at runrev.com >> company : +44(0) 845 219 89 23 >> fax : +44(0) 845 458 8487 >> web : www.runrev.com >> >> LiveCode - Programming made simple >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jemirandav at gmail.com Wed Mar 5 11:19:14 2014 From: jemirandav at gmail.com (Javier Miranda V.) Date: Wed, 5 Mar 2014 12:19:14 -0400 Subject: Use of Shell to get JSON from a MongoDB Message-ID: <000001cf388e$a8b57710$fa206530$@com> After strugling and finally understand with help from friends at Stackoverflow, how the find() command works in the interative javascript shell of MongoDB, now I know that find() returns a cursor. But still have some problems trying to get JSON from my local MongoDB. Issuing: db.test.find() -- This works in the shell because, internally it iterates in the cursor contents to show the documents. It show the same documents when you: var c = db.test.find() while ( c.hasNext() ) printjson( c.next()) The thing now is how to code this in LiveCode, I tried this in a mouseup handler: put shell("C:\mongodb\bin\mongo.exe --eval var c = db.test.find() ; while ( c.hasNext() ) printjson( c.next() )") into pJSON put pJSON into fld "A" -- this step is only to "see"what is the result, pJSON, once all is worj=king will be passed to a function to make it an array. But what i get in field "A" is: MongoDB shell version: 2.2.7 connecting to: c Sun Mar 02 01:12:52 SyntaxError: missing variable name (shell eval):1 Hope you can guide me! Javier From cmsheffield at icloud.com Wed Mar 5 11:33:02 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 05 Mar 2014 09:33:02 -0700 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: <53174DFC.8060104@runrev.com> References: <865371EA-F4A6-46E8-9127-81BAFDA99412@icloud.com> <53174DFC.8060104@runrev.com> Message-ID: <71FEF8EE-8039-4272-BDED-F9BD13CCDD92@icloud.com> Thanks, Neil. On Mar 5, 2014, at 9:17 AM, Neil Roger wrote: > Hi Chris, > > Activation should be working now. Please let us know if you continue to experience any issues during the activation process. > > Kind Regards, > > > Neil Roger > -- > RunRev Support Team ~ http://www.runrev.com > ?? > > On 05/03/2014 16:10, Chris Sheffield wrote: >> Anybody else having trouble activating this build? I?ve already sent an email to support, but thought I?d ask here. Curious if it?s just me or not. >> >> Thanks, >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> >> On Mar 5, 2014, at 8:36 AM, Benjamin Beaumont wrote: >> >>> Dear List Members. >>> >>> We are pleased to announce the release of LiveCode 6.6 RC1. This release is >>> now considered feature complete. >>> >>> *Warning, this is a pre-release with new features which have the potential >>> to cause issues. Please ensure you backup your stacks before testing this >>> release.* >>> >>> *Important Changes* >>> >>> 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) >>> support has been dropped from LiveCode. This is primarily for technical >>> reasons: In order to support the latest OS X features (e.g. Cocoa - >>> LiveCode 6.7 - coming soon) as well as include the newest versions of >>> thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was >>> required. Users wishing to produce 10.4 compatible executables can still do >>> so using LiveCode version 6.5.x (and earlier). >>> >>> >>> *Release Contents* >>> >>> - This development release contains the following changes: >>> - 'assert' command (experimental) >>> - New **showAll** fullscreenmode. >>> - Hi-DPI support for Windows 7/8 and OSX. >>> - HTTPS through proxy >>> - Image Filtering Updates >>> - Graphics Library Update >>> - OpenSSL & Encryption Updates >>> - Proxy automatic configuration support >>> - 'secure socket' command >>> - '#!' now recognised by server >>> - SQLite support updated and improved >>> - Stack scaling >>> - OS 10.4 (Tiger) Support >>> - 31 bug fixes: >>> - *11874 - BinaryDecode wrong on Android* >>> - *11858 - Hidden stacks don't update their position when re-shown* >>> - *11844 - Stack height limited to screen height* >>> - *11841 - The effective revAvailableHandlers of an object sometimes >>> contains duplicates* >>> - *11836 - MouseLoc returns wrong value if pixelScale set to value >>> other than 1* >>> - *11816 - Native Android control rects not scaled when set from >>> preOpenStack handler* >>> - *11814 - Accelerated rendering causes cards to be rendered in the >>> bottom left of the screen on iOS Retina devices* >>> - *11811 - Cannot take screen snapshot at high resolution.* >>> - *11789 - mobileComposeMail only blocks the first time on Android.* >>> - *11785 - Option menu with height > 22 draws incorrectly on OSX with >>> Retina display.* >>> - *11783 - Setting the fullscreenmode on Windows when not fullscreen >>> causes text to change.* >>> - *11781 - Visual effects can display in the wrong place on iOS on >>> Retina devices.* >>> - *11778 - averageDeviation returns incorrect result on Mac, Linux, >>> iOS, Android* >>> - 11754 - Error (invalid bundle) on uploading app to iOS App Store >>> - 11753 - Cannot play some video streams on Android >>> - 11751 - After selecting an item in an option menu containing >>> unicode, the label is corrupted (Mac only) >>> - 11732 - <> operator is different from 'is not' operator for arrays >>> - 11721 - Crash when taking a snapshot of the template graphic >>> - 11720 - SQLite FTS feature doesn't work on iOS or Mac. >>> - 11715 - LiveCode crashes if dragsource object is closed during >>> dragEnd handler >>> - 11703 - iPhoneSetRemoteControlDisplay crashes >>> - 11617 - acceleratedRendering will clip the end of long scrolling >>> groups >>> - 11462 - Failing to set image data to the image data of self >>> - 11442 - Can't quit LiveCode after setting the securityPermissions >>> to "network" >>> - 11124 - No error message when external not found when deploying to >>> simulator >>> - 11069 - mobileComposeMail attachment missing in Android >>> - 10910 - "Crop image" command crashes LiveCode application >>> - 10467 - Indenting of scripts can go wrong >>> - 10280 - SQLite binary entries are non-standard. >>> - 8044 - setting a crop with quotes loses data >>> - 5331 - Mac live window resizing is off by default. >>> >>> >>> *Known Issues* >>> - Text scaling/clipping on Linux with stack scale set >>> >>> *Getting this release* >>> To upgrade to this release please select "check for updates" from the help >>> menu in LiveCode or download the installers directly at: >>> http://downloads.livecode.com/livecode/ >>> >>> *Reporting Bugs* >>> If you encounter an issue with this release please submit a bug report to >>> our quality centre: http://quality.runrev.com/enter_bug.cgi >>> >>> Warm regards, >>> >>> The LiveCode Team >>> >>> -- >>> _____________________________________________ >>> >>> Benjamin Beaumont . RunRev Ltd >>> >>> LiveCode Product Manager >>> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >>> email : ben at runrev.com >>> company : +44(0) 845 219 89 23 >>> fax : +44(0) 845 458 8487 >>> web : www.runrev.com >>> >>> LiveCode - Programming made simple >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Mar 5 11:56:50 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Mar 2014 08:56:50 -0800 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: References: Message-ID: <53175752.5000101@fourthworld.com> Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6 RC1. This release is > now considered feature complete. Thanks, Ben. Gentle reminder for all of us: If you want to find bugs BEFORE release, this is the time to start using 6.6. I just installed it, and just found a bug: http://quality.runrev.com/show_bug.cgi?id=11888 There may be others, and finding them is what these preview builds are for. Find 'em now, or find 'em after release when it's a lot more headache for all of us.... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Wed Mar 5 12:17:48 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Mar 2014 09:17:48 -0800 Subject: Custom Props Set In-Reply-To: <5316B97A.8010706@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> <5316954F.5020500@pdslabs.net> <5316B97A.8010706@hyperactivesw.com> Message-ID: Turns out the IDEObject Inspector lets you create a custom property with spaces in its name but it won't let you create a custom property set with spaces in its name. Didn't try any other supposedly illegal characters. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 4, 2014 at 9:43 PM, J. Landman Gay wrote: > On 3/4/14, 9:09 PM, Phil Davis wrote: > >> Also the data grid uses custom propertyset element names that contain >> spaces. I'm guessing those elements are not considered custom props? >> > > Parts of the documentation haven't kept up with engine changes. This looks > like one of them. > > -- > 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 ben at runrev.com Wed Mar 5 12:45:10 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 5 Mar 2014 17:45:10 +0000 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: <53175752.5000101@fourthworld.com> References: <53175752.5000101@fourthworld.com> Message-ID: Thanks Richard, we really appreciate the support. We appreciate it takes time to open up pre-releases,test and report bugs. So thank you to all those who commit to do this with us every time we release! Thanks again, Ben On 5 March 2014 16:56, Richard Gaskin wrote: > Benjamin Beaumont wrote: > >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 6.6 RC1. This release >> is >> now considered feature complete. >> > > Thanks, Ben. > > Gentle reminder for all of us: If you want to find bugs BEFORE release, > this is the time to start using 6.6. > > I just installed it, and just found a bug: > http://quality.runrev.com/show_bug.cgi?id=11888 > > There may be others, and finding them is what these preview builds are for. > > Find 'em now, or find 'em after release when it's a lot more headache for > all of us.... > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From andrew at ctech.me Wed Mar 5 13:12:38 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 5 Mar 2014 12:12:38 -0600 Subject: Use of Shell to get JSON from a MongoDB In-Reply-To: <000001cf388e$a8b57710$fa206530$@com> References: <000001cf388e$a8b57710$fa206530$@com> Message-ID: I work with mongoDB a lot from livecode but unfortunately it is all through REST API's built in other languages with native drivers so I can't help here. :( On Wed, Mar 5, 2014 at 10:19 AM, Javier Miranda V. wrote: > After strugling and finally understand with help from friends at > Stackoverflow, how the find() command works in the interative javascript > shell of MongoDB, now I know that find() returns a cursor. > > > > But still have some problems trying to get JSON from my local MongoDB. > > Issuing: > db.test.find() -- This works in the shell because, internally it iterates > in > the cursor contents to show the documents. > > It show the same documents when you: > var c = db.test.find() > while ( c.hasNext() ) printjson( c.next()) > > The thing now is how to code this in LiveCode, I tried this in a mouseup > handler: > > > put shell("C:\mongodb\bin\mongo.exe --eval var c = db.test.find() ; while ( > c.hasNext() ) printjson( c.next() )") into pJSON > put pJSON into fld "A" -- this step is only to "see"what is the result, > pJSON, once all is worj=king will be passed to a function to make it an > array. > > But what i get in field "A" is: > > > MongoDB shell version: 2.2.7 > connecting to: c > Sun Mar 02 01:12:52 SyntaxError: missing variable name (shell eval):1 > > Hope you can guide me! > > Javier > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From index at kenjikojima.com Wed Mar 5 13:27:13 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 5 Mar 2014 13:27:13 -0500 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: References: Message-ID: <836F2275-FDF7-46E9-A8FA-F137FEB1951A@kenjikojima.com> Is there any way I can use the old image filtering? It was the best way I could make a mosaic image. But I can not make a mosaic now. The new image filter is a big problem for my applications. Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Mar 5, 2014, at 10:36 AM, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6 RC1. This release is > now considered feature complete. > > *Warning, this is a pre-release with new features which have the potential > to cause issues. Please ensure you backup your stacks before testing this > release.* > > *Important Changes* > > 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) > support has been dropped from LiveCode. This is primarily for technical > reasons: In order to support the latest OS X features (e.g. Cocoa - > LiveCode 6.7 - coming soon) as well as include the newest versions of > thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was > required. Users wishing to produce 10.4 compatible executables can still do > so using LiveCode version 6.5.x (and earlier). > > > *Release Contents* > > - This development release contains the following changes: > - 'assert' command (experimental) > - New **showAll** fullscreenmode. > - Hi-DPI support for Windows 7/8 and OSX. > - HTTPS through proxy > - Image Filtering Updates > - Graphics Library Update > - OpenSSL & Encryption Updates > - Proxy automatic configuration support > - 'secure socket' command > - '#!' now recognised by server > - SQLite support updated and improved > - Stack scaling > - OS 10.4 (Tiger) Support > - 31 bug fixes: > - *11874 - BinaryDecode wrong on Android* > - *11858 - Hidden stacks don't update their position when re-shown* > - *11844 - Stack height limited to screen height* > - *11841 - The effective revAvailableHandlers of an object sometimes > contains duplicates* > - *11836 - MouseLoc returns wrong value if pixelScale set to value > other than 1* > - *11816 - Native Android control rects not scaled when set from > preOpenStack handler* > - *11814 - Accelerated rendering causes cards to be rendered in the > bottom left of the screen on iOS Retina devices* > - *11811 - Cannot take screen snapshot at high resolution.* > - *11789 - mobileComposeMail only blocks the first time on Android.* > - *11785 - Option menu with height > 22 draws incorrectly on OSX with > Retina display.* > - *11783 - Setting the fullscreenmode on Windows when not fullscreen > causes text to change.* > - *11781 - Visual effects can display in the wrong place on iOS on > Retina devices.* > - *11778 - averageDeviation returns incorrect result on Mac, Linux, > iOS, Android* > - 11754 - Error (invalid bundle) on uploading app to iOS App Store > - 11753 - Cannot play some video streams on Android > - 11751 - After selecting an item in an option menu containing > unicode, the label is corrupted (Mac only) > - 11732 - <> operator is different from 'is not' operator for arrays > - 11721 - Crash when taking a snapshot of the template graphic > - 11720 - SQLite FTS feature doesn't work on iOS or Mac. > - 11715 - LiveCode crashes if dragsource object is closed during > dragEnd handler > - 11703 - iPhoneSetRemoteControlDisplay crashes > - 11617 - acceleratedRendering will clip the end of long scrolling > groups > - 11462 - Failing to set image data to the image data of self > - 11442 - Can't quit LiveCode after setting the securityPermissions > to "network" > - 11124 - No error message when external not found when deploying to > simulator > - 11069 - mobileComposeMail attachment missing in Android > - 10910 - "Crop image" command crashes LiveCode application > - 10467 - Indenting of scripts can go wrong > - 10280 - SQLite binary entries are non-standard. > - 8044 - setting a crop with quotes loses data > - 5331 - Mac live window resizing is off by default. > > > *Known Issues* > - Text scaling/clipping on Linux with stack scale set > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > *Reporting Bugs* > If you encounter an issue with this release please submit a bug report to > our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 5 13:39:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Mar 2014 20:39:59 +0200 Subject: Palette problem In-Reply-To: <53163E72.2030704@gmail.com> References: <53163A63.7070806@gmail.com> <53163E72.2030704@gmail.com> Message-ID: <53176F7F.2070409@gmail.com> So: having made a free-floating palette that can insert Unicode chars into a text field in another, unrelated stack, for my next chestnut . . . . 1. How to get this working so that the free-floating palette can insert Unicode chars into text fields in other programs such as LibreOffice. 2. How to get this working so that the free-floating palette built as a standalone app can insert Unicode chars into text fields in other programs such as LibreOffice or other standalone apps hived-off from Livecode. Tough nut to crack. Richmond. From MikeKerner at roadrunner.com Wed Mar 5 15:01:48 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Mar 2014 15:01:48 -0500 Subject: Google Glass Message-ID: Is anybody messing with LC and Glass? I've got a reason... -- 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 coiin at verizon.net Wed Mar 5 15:08:28 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 05 Mar 2014 15:08:28 -0500 Subject: Google Glass In-Reply-To: References: Message-ID: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> Yes, you can do Test from LiveCode and the stack will run on a connected Glass. On Mar 5, 2014, at 3:01 PM, Mike Kerner wrote: > >Is anybody messing with LC and Glass? I've got a reason... From MikeKerner at roadrunner.com Wed Mar 5 15:12:18 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Mar 2014 15:12:18 -0500 Subject: Google Glass In-Reply-To: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> Message-ID: Umm, wha? On Wed, Mar 5, 2014 at 3:08 PM, Colin Holgate wrote: > Yes, you can do Test from LiveCode and the stack will run on a connected > Glass. > > > On Mar 5, 2014, at 3:01 PM, Mike Kerner wrote: > > > >Is anybody messing with LC and Glass? I've got a reason... > > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Wed Mar 5 15:33:53 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 05 Mar 2014 15:33:53 -0500 Subject: Google Glass In-Reply-To: References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> Message-ID: <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> What is ?Umm, wha??? What was your reason for asking if anyone was messing with LC and Glass? On Mar 5, 2014, at 3:12 PM, Mike Kerner wrote: > >Umm, wha? From MikeKerner at roadrunner.com Wed Mar 5 15:36:23 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Mar 2014 15:36:23 -0500 Subject: Google Glass In-Reply-To: <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> Message-ID: I didn't understand the explanation. You can do "test"? On Wed, Mar 5, 2014 at 3:33 PM, Colin Holgate wrote: > What is "Umm, wha?"? > > What was your reason for asking if anyone was messing with LC and Glass? > > On Mar 5, 2014, at 3:12 PM, Mike Kerner wrote: > > > >Umm, wha? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 slylabs13 at me.com Wed Mar 5 15:37:03 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Wed, 05 Mar 2014 12:37:03 -0800 Subject: Custom Props Set In-Reply-To: References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> <5316954F.5020500@pdslabs.net> <5316B97A.8010706@hyperactivesw.com> Message-ID: <8D0253B5-2FC0-4B88-9133-0C67FF657FBC@me.com> Just my 2? I do not see why anyone NEEDS to put spaces in names of anything. I always advise no spaces or special characters beyond hyphen and underscore in file names, and all lowercase in anything accessible over internet/intranet, including SQL columns. Follow these simple rules and it will be a rare moment when you have problems. Bob On Mar 5, 2014, at 9:17 AM, Peter Haworth wrote: > Turns out the IDEObject Inspector lets you create a custom property with > spaces in its name but it won't let you create a custom property set with > spaces in its name. Didn't try any other supposedly illegal characters. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Tue, Mar 4, 2014 at 9:43 PM, J. Landman Gay wrote: > >> On 3/4/14, 9:09 PM, Phil Davis wrote: >> >>> Also the data grid uses custom propertyset element names that contain >>> spaces. I'm guessing those elements are not considered custom props? >>> >> >> Parts of the documentation haven't kept up with engine changes. This looks >> like one of them. >> >> -- >> 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 roger.e.eller at sealedair.com Wed Mar 5 15:40:44 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 5 Mar 2014 15:40:44 -0500 Subject: Google Glass In-Reply-To: References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> Message-ID: Glass is just another Android device. Connected via USB, you click "Test" in LC. Right? On Wed, Mar 5, 2014 at 3:36 PM, Mike Kerner wrote: > I didn't understand the explanation. You can do "test"? > > > On Wed, Mar 5, 2014 at 3:33 PM, Colin Holgate wrote: > > > What is "Umm, wha?"? > > > > What was your reason for asking if anyone was messing with LC and Glass? > > > > On Mar 5, 2014, at 3:12 PM, Mike Kerner > wrote: > > > > > >Umm, wha? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 MikeKerner at roadrunner.com Wed Mar 5 15:41:53 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Mar 2014 15:41:53 -0500 Subject: Google Glass In-Reply-To: References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> Message-ID: OMG. LOL. OK, got it. On Wed, Mar 5, 2014 at 3:40 PM, Roger Eller wrote: > Glass is just another Android device. Connected via USB, you click "Test" > in LC. Right? > > > On Wed, Mar 5, 2014 at 3:36 PM, Mike Kerner >wrote: > > > I didn't understand the explanation. You can do "test"? > > > > > > On Wed, Mar 5, 2014 at 3:33 PM, Colin Holgate wrote: > > > > > What is "Umm, wha?"? > > > > > > What was your reason for asking if anyone was messing with LC and > Glass? > > > > > > On Mar 5, 2014, at 3:12 PM, Mike Kerner > > wrote: > > > > > > > >Umm, wha? > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 coiin at verizon.net Wed Mar 5 15:44:07 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 05 Mar 2014 15:44:07 -0500 Subject: Google Glass In-Reply-To: References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> Message-ID: <7E4F581A-31C8-43E2-ACBC-21474A364DEB@verizon.net> In LiveCode there is a Development menu, one of the items in that menu is ?Test?. If you select that while you have a Google Glass connected, and having chose it as the Android device in Development/Test Target, the stack will launch on the Google Glass. On Mar 5, 2014, at 3:36 PM, Mike Kerner wrote: > >I didn't understand the explanation. You can do "test"? From rdimola at evergreeninfo.net Wed Mar 5 16:05:35 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 5 Mar 2014 16:05:35 -0500 Subject: Custom Props Set In-Reply-To: <8D0253B5-2FC0-4B88-9133-0C67FF657FBC@me.com> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> <5316954F.5020500@pdslabs.net> <5316B97A.8010706@hyperactivesw.com> <8D0253B5-2FC0-4B88-9133-0C67FF657FBC@me.com> Message-ID: <001c01cf38b6$a73bef40$f5b3cdc0$@net> Here, Here... I agree. Spaces are just an invitation to problems. I know that a few CPU cycles are saved with case sensitive filenames, but..... There's another disaster waiting in the wings. 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 Robert Sneidar Sent: Wednesday, March 05, 2014 3:37 PM To: How to use LiveCode Subject: Re: Custom Props Set Just my 2? I do not see why anyone NEEDS to put spaces in names of anything. I always advise no spaces or special characters beyond hyphen and underscore in file names, and all lowercase in anything accessible over internet/intranet, including SQL columns. Follow these simple rules and it will be a rare moment when you have problems. Bob On Mar 5, 2014, at 9:17 AM, Peter Haworth wrote: > Turns out the IDEObject Inspector lets you create a custom property > with spaces in its name but it won't let you create a custom property > set with spaces in its name. Didn't try any other supposedly illegal characters. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Tue, Mar 4, 2014 at 9:43 PM, J. Landman Gay wrote: > >> On 3/4/14, 9:09 PM, Phil Davis wrote: >> >>> Also the data grid uses custom propertyset element names that >>> contain spaces. I'm guessing those elements are not considered custom props? >>> >> >> Parts of the documentation haven't kept up with engine changes. This >> looks like one of them. >> >> -- >> 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 _______________________________________________ use-livecode mailing list use-livecode 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 pete at lcsql.com Wed Mar 5 16:40:16 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Mar 2014 13:40:16 -0800 Subject: Custom Props Set In-Reply-To: <001c01cf38b6$a73bef40$f5b3cdc0$@net> References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> <5316954F.5020500@pdslabs.net> <5316B97A.8010706@hyperactivesw.com> <8D0253B5-2FC0-4B88-9133-0C67FF657FBC@me.com> <001c01cf38b6$a73bef40$f5b3cdc0$@net> Message-ID: I agree with that in terms of LC names but the original post on this involved file names and they often have spaces in them quite legitimately. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Mar 5, 2014 at 1:05 PM, Ralph DiMola wrote: > Here, Here... I agree. Spaces are just an invitation to problems. > I know that a few CPU cycles are saved with case sensitive filenames, > but..... There's another disaster waiting in the wings. > > 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 Robert Sneidar > Sent: Wednesday, March 05, 2014 3:37 PM > To: How to use LiveCode > Subject: Re: Custom Props Set > > Just my 2? I do not see why anyone NEEDS to put spaces in names of > anything. > I always advise no spaces or special characters beyond hyphen and > underscore > in file names, and all lowercase in anything accessible over > internet/intranet, including SQL columns. Follow these simple rules and it > will be a rare moment when you have problems. > > Bob > > > On Mar 5, 2014, at 9:17 AM, Peter Haworth wrote: > > > Turns out the IDEObject Inspector lets you create a custom property > > with spaces in its name but it won't let you create a custom property > > set with spaces in its name. Didn't try any other supposedly illegal > characters. > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > > > > > On Tue, Mar 4, 2014 at 9:43 PM, J. Landman Gay > wrote: > > > >> On 3/4/14, 9:09 PM, Phil Davis wrote: > >> > >>> Also the data grid uses custom propertyset element names that > >>> contain spaces. I'm guessing those elements are not considered custom > props? > >>> > >> > >> Parts of the documentation haven't kept up with engine changes. This > >> looks like one of them. > >> > >> -- > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nakia.Brewer at westrac.com.au Wed Mar 5 16:44:22 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 5 Mar 2014 21:44:22 +0000 Subject: API Connector Message-ID: <67116DB20798A94285EEE12A67079A284C86410C@MHSEXC02.westrac.com.au> Hi, I have a task I need to complete for a customer that I am looking for advice on. The customer is using a system that can send HTTP POSTS of form data it collects upon submission of the forms (web forms). This above system does not have the ability to use authentication when making posts. The customer then wants this data to be posted into a Google Fusion Tables but this API Requires authentication for write access (Read access can be done with just an API Token).... So, my thought to get around this is to build a middle man API that can receive the data and re POST into the Fusion Tables. I have done some work previously on communicating with existing API's but never created an API and was wondering if anyone may be able to recommend so examples, material etc or just plain offer any advice... Cheers Nakia COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From lists at mangomultimedia.com Wed Mar 5 17:34:42 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 5 Mar 2014 17:34:42 -0500 Subject: Windows, high-resolution, and 6.6 Message-ID: Has anybody had success with LiveCode 6.6 running on a Windows computer running in high-resolution mode? I have done some testing under one VMWare install but high-resolution mode doesn't seem to be working. This is the bug report I filed: http://quality.runrev.com/show_bug.cgi?id=11808 I'm just wondering if anyone has it working or if Windows support for high-resolution mode is just broken at the moment. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From ambassador at fourthworld.com Wed Mar 5 18:27:22 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Mar 2014 15:27:22 -0800 Subject: dg okay with elements larger than the dg itself? Message-ID: <5317B2DA.10100@fourthworld.com> I've used the DataGrid successfully on several projects, but today is the first time I've tried this and I'm getting odd results: I have some form elements which are much taller than the DataGrid control itself, and I'm finding that it isn't calculating the heights correctly, nor scrolling correctly when using the scrollbar arrows. Is this a known limitation, or is it just me? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From MikeKerner at roadrunner.com Wed Mar 5 20:26:57 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Mar 2014 20:26:57 -0500 Subject: Google Glass In-Reply-To: <7E4F581A-31C8-43E2-ACBC-21474A364DEB@verizon.net> References: <6DF7E52D-0E3D-4E6A-AD2F-C4B477C21651@verizon.net> <8189FD6D-1678-48CC-BAE2-A172AAF28108@verizon.net> <7E4F581A-31C8-43E2-ACBC-21474A364DEB@verizon.net> Message-ID: Yeah, yeah. I didn't understand what you were saying the first time. I'm so used to ios where deployment is through doing a build, and you only use test to hit the simulator. On Wed, Mar 5, 2014 at 3:44 PM, Colin Holgate wrote: > In LiveCode there is a Development menu, one of the items in that menu is > "Test". If you select that while you have a Google Glass connected, and > having chose it as the Android device in Development/Test Target, the stack > will launch on the Google Glass. > > > On Mar 5, 2014, at 3:36 PM, Mike Kerner wrote: > > > >I didn't understand the explanation. You can do "test"? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lists at mangomultimedia.com Wed Mar 5 23:25:59 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 5 Mar 2014 23:25:59 -0500 Subject: dg okay with elements larger than the dg itself? In-Reply-To: <5317B2DA.10100@fourthworld.com> References: <5317B2DA.10100@fourthworld.com> Message-ID: On Wed, Mar 5, 2014 at 6:27 PM, Richard Gaskin wrote: > I've used the DataGrid successfully on several projects, but today is the > first time I've tried this and I'm getting odd results: > > I have some form elements which are much taller than the DataGrid control > itself, and I'm finding that it isn't calculating the heights correctly, > nor scrolling correctly when using the scrollbar arrows. > > Is this a known limitation, or is it just me? > The height of the form elements should work even if they are taller than the data grid itself. Unless of course they exceed the ~32,000 limit for group height that the engine imposes. If the rows don't exceed that height then my guess is that the data grid is getting confused about the actual height of content for some reason. Is each row the same size or is each row a different size? If each row is a different height then I would first check to see there are any objects in your row template that are outside the bounds of what the row height should be after LayoutControl finishes. The data grid is going to look at the formattedHeight of each row after LayoutControl. If some object in the template group causes the formattedHeight to be something other than you expect then it might cause problems. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From dochawk at gmail.com Wed Mar 5 23:51:10 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 5 Mar 2014 20:51:10 -0800 Subject: menuitems getting reset on a combobox Message-ID: Something is suddenly wiping out the menuitems of oen of my comboboxes. Is there anything other than put something into menuitem someitem of btn btnName that can do this? I don't even know what to look for. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Thu Mar 6 01:29:22 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Mar 2014 22:29:22 -0800 Subject: Use of Shell to get JSON from a MongoDB In-Reply-To: <000001cf388e$a8b57710$fa206530$@com> References: <000001cf388e$a8b57710$fa206530$@com> Message-ID: <167616433285.20140305222922@ahsoftware.net> Javier- Wednesday, March 5, 2014, 8:19:14 AM, you wrote: > After strugling and finally understand with help from friends at > Stackoverflow, how the find() command works in the interative javascript > shell of MongoDB, now I know that find() returns a cursor. > But still have some problems trying to get JSON from my local MongoDB. You need to put quotes around the code to be evaluated if you're going to try that from a command line. Try this (condensed into separate lines to prevent email wraparound): on mouseUp pMouseBtnNo local dbText put "var c=db.test.find();" into dbText put " while(c.hasNext())" after dbText put " printjson(c.next())" after dbText put shell("mongo --eval" && quote & dbText & quote) into field "A" end mouseUp -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dunbarx at aol.com Thu Mar 6 09:47:59 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 6 Mar 2014 09:47:59 -0500 (EST) Subject: menuitems getting reset on a combobox In-Reply-To: References: Message-ID: <8D1076233DC9006-2120-A7DB@webmail-vm027.sysops.aol.com> Maybe: set the text of btn "yourCombo" to "" or put "" into btn "yourCombo" The button's contents is based on the fact that the control is simply a container. Whatever gets text into or out of it determines the "menu" contents. Craig -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Wed, Mar 5, 2014 11:51 pm Subject: menuitems getting reset on a combobox Something is suddenly wiping out the menuitems of oen of my comboboxes. Is there anything other than put something into menuitem someitem of btn btnName that can do this? I don't even know what to look for. -- 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 ambassador at fourthworld.com Thu Mar 6 10:18:14 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Mar 2014 07:18:14 -0800 Subject: dg okay with elements larger than the dg itself? In-Reply-To: References: Message-ID: <531891B6.4010203@fourthworld.com> Trevor DeVore wrote: > On Wed, Mar 5, 2014 at 6:27 PM, Richard Gaskin wrote: > >> I've used the DataGrid successfully on several projects, but today is the >> first time I've tried this and I'm getting odd results: >> >> I have some form elements which are much taller than the DataGrid control >> itself, and I'm finding that it isn't calculating the heights correctly, >> nor scrolling correctly when using the scrollbar arrows. >> >> Is this a known limitation, or is it just me? >> > > The height of the form elements should work even if they are taller than > the data grid itself. Unless of course they exceed the ~32,000 limit for > group height that the engine imposes. If the rows don't exceed that height > then my guess is that the data grid is getting confused about the actual > height of content for some reason. > > Is each row the same size or is each row a different size? If each row is a > different height then I would first check to see there are any objects in > your row template that are outside the bounds of what the row height should > be after LayoutControl finishes. The data grid is going to look at the > formattedHeight of each row after LayoutControl. If some object in the > template group causes the formattedHeight to be something other than you > expect then it might cause problems. Thanks for that background, Trevor. For the task at hand I found a way to get what I need from a single field for now, but I'll likely return to using the DG for part of that later on, and your tips will be very helpful. And FWIW, I don't think I say it often enough, but the DG really is quite a remarkable piece of code. The feature-completeness makes it as exemplary as its flexibility makes it enjoyable. Great work. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From t.heaford at btinternet.com Thu Mar 6 13:50:43 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 6 Mar 2014 18:50:43 +0000 Subject: Sheet Print Dialog Box Message-ID: <07CAD25D-B87D-4439-BAD2-8A984C30B077@btinternet.com> I mentioned on this list some time ago that when using a script something like this: on printChart answer page setup as sheet answer printer as sheet put the printPaperRectangle into tPrintRect print card from topLeft of me to bottomRight of me into tPrintRect end printChart That after the page setup dialog box comes up and the OK button was clicked there was a long wait, up to 9seconds, before the printer dialog came up. Normally after clicking the OK button in the page setup dialog I just sit there waiting for the printer dialog box. I have just noticed that if I move my mouse across the screen after the page setup dialog has gone from the screen then the printer dialog displays immediately. If I don?t move the mouse I have to wait for 9 seconds. This is on a Mac running 10.9.2. Don?t know about windows. Can someone verify this please. Thanks Terry From t.heaford at btinternet.com Thu Mar 6 13:59:30 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 6 Mar 2014 18:59:30 +0000 Subject: Print Dialogs as sheets Message-ID: <1D07B7D8-102A-4BC4-88DB-975D15FEF289@btinternet.com> When using the following: on printChart answer page setup as sheet if the result = "cancel" then exit to top end if answer printer as sheet if the result = "cancel" then exit printChart end if print card from topLeft of me to bottomRight of me into tPrintRect end printChart After the script has finished the window to which the sheets are attached does not have the focus. This does not seem correct. Does anyone know? Mac 10.9.2 Thanks Terry From t.heaford at btinternet.com Thu Mar 6 16:01:55 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 6 Mar 2014 21:01:55 +0000 Subject: Tab Buttons Message-ID: A silly question. If you go to a cd with a tab button tab 1 = cd 1 tab 2 = cd 2 tab 3 = cd 3 cd 4 = does not have a tab button and tab 2 was hilited with cd 2 showing and you then went to cd 4 If you now go to cd 1 from cd 4 (does not have a tab button) how do you hilite tab 1? Is there someway to set it via script. something like set the selectedTab of btn ?my tab button? to 1 Thanks Terry From m.schonewille at economy-x-talk.com Thu Mar 6 16:17:13 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 06 Mar 2014 22:17:13 +0100 Subject: Tab Buttons In-Reply-To: References: Message-ID: <5318E5D9.80502@economy-x-talk.com> Hi Terence, There are several ways to do this, e.g. select line (the number of this cd) of btn "My Tab Button" or set the menuHistory of btn "My Tab Button" to the number of this cd -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/6/2014 22:01, Terence Heaford wrote: > A silly question. > > If you go to a cd with a tab button > > tab 1 = cd 1 > tab 2 = cd 2 > tab 3 = cd 3 > > cd 4 = does not have a tab button > > and tab 2 was hilited with cd 2 showing and you then went to cd 4 > > If you now go to cd 1 from cd 4 (does not have a tab button) > > how do you hilite tab 1? > > Is there someway to set it via script. > > something like > > set the selectedTab of btn ?my tab button? to 1 > > Thanks > > Terry > From t.heaford at btinternet.com Thu Mar 6 16:32:44 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 6 Mar 2014 21:32:44 +0000 Subject: Tab Buttons In-Reply-To: <5318E5D9.80502@economy-x-talk.com> References: <5318E5D9.80502@economy-x-talk.com> Message-ID: Thanks Mark, Found menuHistory just before your post. A strange property name. All the best Terry On 6 Mar 2014, at 21:17, Mark Schonewille wrote: > Hi Terence, > > There are several ways to do this, e.g. > > select line (the number of this cd) of btn "My Tab Button" > > or > > set the menuHistory of btn "My Tab Button" to the number of this cd > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 3/6/2014 22:01, Terence Heaford wrote: >> A silly question. >> >> If you go to a cd with a tab button >> >> tab 1 = cd 1 >> tab 2 = cd 2 >> tab 3 = cd 3 >> >> cd 4 = does not have a tab button >> >> and tab 2 was hilited with cd 2 showing and you then went to cd 4 >> >> If you now go to cd 1 from cd 4 (does not have a tab button) >> >> how do you hilite tab 1? >> >> Is there someway to set it via script. >> >> something like >> >> set the selectedTab of btn ?my tab button? to 1 >> >> Thanks >> >> 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 smudge.andy at googlemail.com Thu Mar 6 16:36:53 2014 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 6 Mar 2014 13:36:53 -0800 (PST) Subject: Tab Buttons In-Reply-To: References: Message-ID: <1394141813685-4676729.post@n4.nabble.com> Hi Terry, Not a silly question at all, it's noot obvoiuos what you would search for for this problem in the dictionary. You need t use the menuHistory property wich defines which tab is hilited. Try this; set the menuHistory of btn "TabMenu" to "1" 1 relates to the first tab and so on. ----- 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 Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ 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/Tab-Buttons-tp4676726p4676729.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Mar 6 16:38:14 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 06 Mar 2014 22:38:14 +0100 Subject: Tab Buttons In-Reply-To: References: <5318E5D9.80502@economy-x-talk.com> Message-ID: <5318EAC6.2090705@economy-x-talk.com> Terry, The menuHistory is the last menu item selected by the user. Hence "history". Thus far, it isn't a very strange name. This property just happens to be modifiable by script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/6/2014 22:32, Terence Heaford wrote: > Thanks Mark, > > Found menuHistory just before your post. > > A strange property name. > > All the best > > Terry > From richmondmathewson at gmail.com Thu Mar 6 17:14:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Mar 2014 00:14:54 +0200 Subject: [OT] Has anybody any idea what this is? Message-ID: <5318F35E.7050809@gmail.com> https://github.com/louisstow/hypercard really? Richmond. From th.douez at gmail.com Fri Mar 7 00:34:32 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 7 Mar 2014 06:34:32 +0100 Subject: [OT] or may be not.. Message-ID: Hi all, Just find these 2 projects so amazing... Hope some of you will too , and if not, sorry for the noise :) https://www.kickstarter.com/projects/lindaliukas/hello-ruby and http://www.youtube.com/watch?v=rDyo4p1qLuE&feature=youtu.be Enjoy your day, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From stephenREVOLUTION2 at barncard.com Fri Mar 7 01:28:26 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 6 Mar 2014 22:28:26 -0800 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: On Thu, Mar 6, 2014 at 9:34 PM, Thierry Douez wrote: > > > https://www.kickstarter.com/projects/lindaliukas/hello-ruby > She seems to be channeling Shirley MacLaine - cute as hell? but talks too fast. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From richmondmathewson at gmail.com Fri Mar 7 01:30:02 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Mar 2014 08:30:02 +0200 Subject: [OT] GCC PowerPC invocation? Message-ID: <5319676A.4040305@gmail.com> I've just installed gcc-4.8-powerpc-linux-gnu-base on my Intel box. Now I have that version and the Intel version side-by-side. When I want to compile something, from the Terminal, can anyone tell me how to make sure the PowerPC version is invoked rather than the other one? Richmond. From th.douez at gmail.com Fri Mar 7 01:46:34 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 7 Mar 2014 07:46:34 +0100 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: 2014-03-07 7:28 GMT+01:00 stephen barncard : > On Thu, Mar 6, 2014 at 9:34 PM, Thierry Douez wrote: > >> >> https://www.kickstarter.com/projects/lindaliukas/hello-ruby >> > > She seems to be channeling Shirley MacLaine - cute as hell? > but talks too fast. Well, the book concept and ideas behing pleased me. The way she acts is not my cup of tea :) Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From toolbook at kestner.de Fri Mar 7 03:39:41 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Mar 2014 09:39:41 +0100 Subject: good practise for debugging PHP called from LC? Message-ID: <001101cf39e0$c96ec0d0$5c4c4270$@de> Hi, When calling PHP from LC, what is a good practice for debugging the PHP? I know, there are some PHP development tools with debugging features, when using PHP with HTML output. But if you call a PHP with some parameters from LC and return results to LC, how do you debug the PHP part? Up to now, my simple approach is to set echos with the wanted variables to see what is going on at a certain step. But that's just like setting a put in LC and is sometimes really cumbersome, if you don't know, where the problem is located. I am not very strong in PHP, so perhaps any basic advices? Thanks Tiemo From lists at mangomultimedia.com Fri Mar 7 07:12:05 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 7 Mar 2014 07:12:05 -0500 Subject: dg okay with elements larger than the dg itself? In-Reply-To: <531891B6.4010203@fourthworld.com> References: <531891B6.4010203@fourthworld.com> Message-ID: On Thu, Mar 6, 2014 at 10:18 AM, Richard Gaskin wrote: > > And FWIW, I don't think I say it often enough, but the DG really is quite > a remarkable piece of code. The feature-completeness makes it as exemplary > as its flexibility makes it enjoyable. Great work. Thanks Richard. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From effendi at wanadoo.fr Fri Mar 7 09:57:51 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 7 Mar 2014 15:57:51 +0100 Subject: Inserting Text, photo or video into a circle ? Message-ID: <02491C04-7FE1-4527-9BF6-AADAA05F60E2@wanadoo.fr> Hi from Beautiful Brittany, I would like to know if it is possible to insert text, a photo or a video clip into a circle. Somebody out there must have wanted to do this ?. Thanks for pointers. -Francis From scott at tactilemedia.com Fri Mar 7 10:17:56 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 07 Mar 2014 07:17:56 -0800 Subject: Inserting Text, photo or video into a circle ? In-Reply-To: <02491C04-7FE1-4527-9BF6-AADAA05F60E2@wanadoo.fr> References: <02491C04-7FE1-4527-9BF6-AADAA05F60E2@wanadoo.fr> Message-ID: Hi Francis: Text is more work, but here's a stack that contains a couple of options for masking images. Execute the following in your message box: go url "http://www.tactilemedia.com/site_files/downloads/masking_options.rev" Video *might* work using one of these techniques if you set the alwaysBuffer of the player object to true, but doing so sometimes affects playback performance, so you'll need to test to see if it works for you. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/7/14 6:57 AM, "Francis Nugent Dixon" wrote: >Hi from Beautiful Brittany, > >I would like to know if it is possible to insert text, a photo >or a video clip into a circle. > >Somebody out there must have wanted to do this ?. > >Thanks for pointers. > >-Francis >_______________________________________________ >use-livecode mailing list >use-livecode 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 Mar 7 10:55:27 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 7 Mar 2014 07:55:27 -0800 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: Interesting. Built in flash. Bill William Prothero http://es.earthednet.org > On Mar 6, 2014, at 9:34 PM, Thierry Douez wrote: > > Hi all, > > Just find these 2 projects so amazing... > > Hope some of you will too , and if not, sorry for the noise :) > > > https://www.kickstarter.com/projects/lindaliukas/hello-ruby > > and > > http://www.youtube.com/watch?v=rDyo4p1qLuE&feature=youtu.be > > Enjoy your day, > > Thierry > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > _______________________________________________ > use-livecode mailing list > use-livecode 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 index at kenjikojima.com Fri Mar 7 11:03:52 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 7 Mar 2014 11:03:52 -0500 Subject: RELEASE LiveCode 6.6 RC1 In-Reply-To: <836F2275-FDF7-46E9-A8FA-F137FEB1951A@kenjikojima.com> References: <836F2275-FDF7-46E9-A8FA-F137FEB1951A@kenjikojima.com> Message-ID: <76E0997B-7142-480A-B296-EF7FCE8F83A8@kenjikojima.com> Benjamin, I hope I can continue to use the old image filtering. The old image filtering was one of good features of LiveCode. Please add it to the next update. set the oldImageFiltering to true Best regards, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Mar 5, 2014, at 1:27 PM, Kenji Kojima wrote: > Is there any way I can use the old image filtering? > It was the best way I could make a mosaic image. > But I can not make a mosaic now. > The new image filter is a big problem for my applications. > > Thanks, > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > On Mar 5, 2014, at 10:36 AM, Benjamin Beaumont wrote: > >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 6.6 RC1. This release is >> now considered feature complete. >> >> *Warning, this is a pre-release with new features which have the potential >> to cause issues. Please ensure you backup your stacks before testing this >> release.* >> >> *Important Changes* >> >> 1. Tiger support dropped. As of version 6.6-dp-1, OS 10.4 (Tiger) >> support has been dropped from LiveCode. This is primarily for technical >> reasons: In order to support the latest OS X features (e.g. Cocoa - >> LiveCode 6.7 - coming soon) as well as include the newest versions of >> thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support was >> required. Users wishing to produce 10.4 compatible executables can still do >> so using LiveCode version 6.5.x (and earlier). >> >> >> *Release Contents* >> >> - This development release contains the following changes: >> - 'assert' command (experimental) >> - New **showAll** fullscreenmode. >> - Hi-DPI support for Windows 7/8 and OSX. >> - HTTPS through proxy >> - Image Filtering Updates >> - Graphics Library Update >> - OpenSSL & Encryption Updates >> - Proxy automatic configuration support >> - 'secure socket' command >> - '#!' now recognised by server >> - SQLite support updated and improved >> - Stack scaling >> - OS 10.4 (Tiger) Support >> - 31 bug fixes: >> - *11874 - BinaryDecode wrong on Android* >> - *11858 - Hidden stacks don't update their position when re-shown* >> - *11844 - Stack height limited to screen height* >> - *11841 - The effective revAvailableHandlers of an object sometimes >> contains duplicates* >> - *11836 - MouseLoc returns wrong value if pixelScale set to value >> other than 1* >> - *11816 - Native Android control rects not scaled when set from >> preOpenStack handler* >> - *11814 - Accelerated rendering causes cards to be rendered in the >> bottom left of the screen on iOS Retina devices* >> - *11811 - Cannot take screen snapshot at high resolution.* >> - *11789 - mobileComposeMail only blocks the first time on Android.* >> - *11785 - Option menu with height > 22 draws incorrectly on OSX with >> Retina display.* >> - *11783 - Setting the fullscreenmode on Windows when not fullscreen >> causes text to change.* >> - *11781 - Visual effects can display in the wrong place on iOS on >> Retina devices.* >> - *11778 - averageDeviation returns incorrect result on Mac, Linux, >> iOS, Android* >> - 11754 - Error (invalid bundle) on uploading app to iOS App Store >> - 11753 - Cannot play some video streams on Android >> - 11751 - After selecting an item in an option menu containing >> unicode, the label is corrupted (Mac only) >> - 11732 - <> operator is different from 'is not' operator for arrays >> - 11721 - Crash when taking a snapshot of the template graphic >> - 11720 - SQLite FTS feature doesn't work on iOS or Mac. >> - 11715 - LiveCode crashes if dragsource object is closed during >> dragEnd handler >> - 11703 - iPhoneSetRemoteControlDisplay crashes >> - 11617 - acceleratedRendering will clip the end of long scrolling >> groups >> - 11462 - Failing to set image data to the image data of self >> - 11442 - Can't quit LiveCode after setting the securityPermissions >> to "network" >> - 11124 - No error message when external not found when deploying to >> simulator >> - 11069 - mobileComposeMail attachment missing in Android >> - 10910 - "Crop image" command crashes LiveCode application >> - 10467 - Indenting of scripts can go wrong >> - 10280 - SQLite binary entries are non-standard. >> - 8044 - setting a crop with quotes loses data >> - 5331 - Mac live window resizing is off by default. >> >> >> *Known Issues* >> - Text scaling/clipping on Linux with stack scale set >> >> *Getting this release* >> To upgrade to this release please select "check for updates" from the help >> menu in LiveCode or download the installers directly at: >> http://downloads.livecode.com/livecode/ >> >> *Reporting Bugs* >> If you encounter an issue with this release please submit a bug report to >> our quality centre: http://quality.runrev.com/enter_bug.cgi >> >> Warm regards, >> >> The LiveCode Team >> >> -- >> _____________________________________________ >> >> Benjamin Beaumont . RunRev Ltd >> >> LiveCode Product Manager >> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >> email : ben at runrev.com >> company : +44(0) 845 219 89 23 >> fax : +44(0) 845 458 8487 >> web : www.runrev.com >> >> LiveCode - Programming made simple >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Fri Mar 7 11:04:36 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 7 Mar 2014 08:04:36 -0800 Subject: good practise for debugging PHP called from LC? In-Reply-To: <001101cf39e0$c96ec0d0$5c4c4270$@de> References: <001101cf39e0$c96ec0d0$5c4c4270$@de> Message-ID: <9D32B596-ACF2-4D73-B876-9A1C32CF6FFF@earthednet.org> Tiemo, I'm a very occasional php programmer too, so need a decent debugger. First, I get a local server running. I like MAMP, for osx. It is trivial to install and comes with php and MySQL. I'm not at my computer right now, and forget the name of the debugger I used, but it can step through code, watch variables, etc. it required editing the php config file, which having MAMP gives you comfort you aren't going to screw something up. If nobody chimes in by the time I get to my computer later, I'll look up which debugger I used and post it. Do some googling. Bill William Prothero http://es.earthednet.org > On Mar 7, 2014, at 12:39 AM, "Tiemo Hollmann TB" wrote: > > Hi, > > When calling PHP from LC, what is a good practice for debugging the PHP? > > I know, there are some PHP development tools with debugging features, when > using PHP with HTML output. But if you call a PHP with some parameters from > LC and return results to LC, how do you debug the PHP part? > > Up to now, my simple approach is to set echos with the wanted variables to > see what is going on at a certain step. But that's just like setting a put > in LC and is sometimes really cumbersome, if you don't know, where the > problem is located. > > I am not very strong in PHP, so perhaps any basic advices? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 7 11:06:35 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 7 Mar 2014 11:06:35 -0500 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> Message-ID: get rid of antialiasing in the script editor... On Sun, Mar 2, 2014 at 9:56 AM, Mike Kerner wrote: > Hide the *&@^@!~)_# dollar-sign variables > > > On Sat, Mar 1, 2014 at 7:38 AM, Richmond wrote: > >> If you look in the 'Toolset' directory of Livecode 6.6 you will find a >> "revvariablewatcher.rev" file. >> >> If you move that into your plug-ins folder it might prove useful. >> >> What I don't understand is why that file is there in the Toolset' >> directory when there seems to be no way to call it up from within the IDE. >> >> --------------------- >> >> I have no idea whatsoever how useful the thing is as I have no need of a >> Variable Watcher. >> >> >> 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 coiin at verizon.net Fri Mar 7 11:31:49 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 07 Mar 2014 11:31:49 -0500 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: Bill means the Scratch one, http://www.youtube.com/watch?v=rDyo4p1qLuE&feature=youtu.be Kickstarter girl does have an ActionScript book in her stack, but it?s heavily outnumbered by Ruby books, and she uses Linux, so I don?t think she uses Flash too much. On Mar 7, 2014, at 10:55 AM, Earthednet-wp wrote: > >Interesting. Built in flash. From richmondmathewson at gmail.com Fri Mar 7 12:50:38 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Mar 2014 19:50:38 +0200 Subject: Inserting Text, photo or video into a circle ? In-Reply-To: <02491C04-7FE1-4527-9BF6-AADAA05F60E2@wanadoo.fr> References: <02491C04-7FE1-4527-9BF6-AADAA05F60E2@wanadoo.fr> Message-ID: <531A06EE.5040201@gmail.com> On 07/03/14 16:57, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > I would like to know if it is possible to insert text, a photo > or a video clip into a circle. > > Somebody out there must have wanted to do this ?. > > Thanks for pointers. > > -Francis > _______________________________________________ > Presumably (???????), you mean: put a picture behind a circle in such a way that bits of the picture that are outside the bounds of the circle are not visible? Right; a fair few pseudo-Socratic questions coming up: 1. Why don't you just do this sort of thing in GIMP, Photoshop or some other graphic program? 2. Why do you want to do this at all? OK, OK, not a "fair few", only 2: but, Hey, what do you expect on a Saturday night when I'm aching all over, running a "speculative" temperature (i.e. 38 degs C; could go either way), and feeling well run down? I'm going to crack out everybody's IDE and "piss about" and get back shortly. Richmond. [ Ginger tea with Cardamon, Chinese aniseed and aniseed.] From johnpatten at me.com Fri Mar 7 13:15:06 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Fri, 07 Mar 2014 10:15:06 -0800 Subject: Recording Audio on Mobile devices? Message-ID: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> Hi All! I would like to take advantage of the audio recording ability of mobile devices in our schools to allow students to create recorded feedback. Looking back through the list I see similar request for audio recording on iOS and Android, over a year old though. I have looked at Monte Goulding?s mergeMicrphone external available here: repo.goulding.ws It opens fine but I?m guessing the simulator does not utilize the microphone?? So I could not actually test it fully at this point to see if it still works. I would like to limit the amount of recording time students have in their feedback, say 20 seconds. Similar to the tactic Twitter uses for encouraging folks to be concise. Are there any new developments in regards to LiveCode and the ability to record audio within your app on the mobile platforms? Or is the best bet still to look at using Monte?s sup?d up rremicrophone external? Thank you! John Patten SUSD From rdimola at evergreeninfo.net Fri Mar 7 13:40:50 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 7 Mar 2014 13:40:50 -0500 Subject: Using Mobile Pick Lists in the IDE In-Reply-To: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> Message-ID: <001501cf3a34$c35769f0$4a063dd0$@net> I have some code that makes testing stacks that use mobile picklists in the IDE child's play. If this is useful to anyone I will post the code. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From stephenREVOLUTION2 at barncard.com Fri Mar 7 15:23:58 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 7 Mar 2014 12:23:58 -0800 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> Message-ID: On Fri, Mar 7, 2014 at 8:06 AM, Mike Kerner wrote: > get rid of antialiasing in the script editor... Why? Go back to jaggy text? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From prothero at earthednet.org Fri Mar 7 15:28:40 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Fri, 7 Mar 2014 12:28:40 -0800 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: <08408F94-882B-46F8-B529-2ED2ED1AE9E3@earthednet.org> Colin: Tnx for the clarification. Yeah, I meant the music one. Bill William Prothero http://es.earthednet.org On Mar 7, 2014, at 8:31 AM, Colin Holgate wrote: > Bill means the Scratch one, http://www.youtube.com/watch?v=rDyo4p1qLuE&feature=youtu.be > > Kickstarter girl does have an ActionScript book in her stack, but it?s heavily outnumbered by Ruby books, and she uses Linux, so I don?t think she uses Flash too much. > > > On Mar 7, 2014, at 10:55 AM, Earthednet-wp wrote: > >>> Interesting. Built in flash. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 7 19:54:49 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 7 Mar 2014 19:54:49 -0500 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> Message-ID: The antialiased text is a problem in script editors on multiple IDE's because it can make the text harder to read. It makes the text blurry. On Fri, Mar 7, 2014 at 3:23 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Fri, Mar 7, 2014 at 8:06 AM, Mike Kerner >wrote: > > > get rid of antialiasing in the script editor... > > > Why? Go back to jaggy text? > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Fri Mar 7 21:44:40 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 8 Mar 2014 02:44:40 +0000 Subject: Custom Props Set In-Reply-To: References: <67116DB20798A94285EEE12A67079A283269F23B@MHSEXC02.westrac.com.au> <8D0F10C03C6CBE1-B80-E40B@webmail-m232.sysops.aol.com> <67116DB20798A94285EEE12A67079A283269F433@MHSEXC02.westrac.com.au> <52F3FDC2.7060306@hyperactivesw.com> <67116DB20798A94285EEE12A67079A28326A04BD@MHSEXC02.westrac.com.au> <52F45014.8010207@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284C857E15@DSTEXC01.westrac.com.au> <5316954F.5020500@pdslabs.net> <5316B97A.8010706@hyperactivesw.com> <8D0253B5-2FC0-4B88-9133-0C67FF657FBC@me.com> <001c01cf38b6$a73bef40$f5b3cdc0$@net> Message-ID: <0B1D4A92-59F6-4064-992F-19DF3CD1E0E2@iotecdigital.com> I have a function called Sanitize() which replaces spaces with underscores and does some other useful things. Bob On Mar 5, 2014, at 13:40 , Peter Haworth wrote: > I agree with that in terms of LC names but the original post on this > involved file names and they often have spaces in them quite legitimately. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Wed, Mar 5, 2014 at 1:05 PM, Ralph DiMola wrote: > >> Here, Here... I agree. Spaces are just an invitation to problems. >> I know that a few CPU cycles are saved with case sensitive filenames, >> but..... There's another disaster waiting in the wings. >> >> 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 Robert Sneidar >> Sent: Wednesday, March 05, 2014 3:37 PM >> To: How to use LiveCode >> Subject: Re: Custom Props Set >> >> Just my 2? I do not see why anyone NEEDS to put spaces in names of >> anything. >> I always advise no spaces or special characters beyond hyphen and >> underscore >> in file names, and all lowercase in anything accessible over >> internet/intranet, including SQL columns. Follow these simple rules and it >> will be a rare moment when you have problems. >> >> Bob >> >> >> On Mar 5, 2014, at 9:17 AM, Peter Haworth wrote: >> >>> Turns out the IDEObject Inspector lets you create a custom property >>> with spaces in its name but it won't let you create a custom property >>> set with spaces in its name. Didn't try any other supposedly illegal >> characters. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> >>> On Tue, Mar 4, 2014 at 9:43 PM, J. Landman Gay >> wrote: >>> >>>> On 3/4/14, 9:09 PM, Phil Davis wrote: >>>> >>>>> Also the data grid uses custom propertyset element names that >>>>> contain spaces. I'm guessing those elements are not considered custom >> props? >>>>> >>>> >>>> Parts of the documentation haven't kept up with engine changes. This >>>> looks like one of them. >>>> >>>> -- >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 john at onechip.com Fri Mar 7 22:53:25 2014 From: john at onechip.com (John) Date: Fri, 7 Mar 2014 19:53:25 -0800 Subject: Using Mobile Pick Lists in the IDE In-Reply-To: <001501cf3a34$c35769f0$4a063dd0$@net> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> <001501cf3a34$c35769f0$4a063dd0$@net> Message-ID: Ralph, Although I am not working on anything that could use this currently, it sounds very useful. As far as I am concerned, the more time spent debugging in the IDE, rather than on the device, the better. I, for one, would appreciate you posting the code. Thanks, John On Mar 7, 2014, at 10:40 AM, Ralph DiMola wrote: > I have some code that makes testing stacks that use mobile picklists in the > IDE child's play. If this is useful to anyone I will post the code. > > 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 jacque at hyperactivesw.com Fri Mar 7 23:44:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Mar 2014 22:44:55 -0600 Subject: Tab Buttons In-Reply-To: References: Message-ID: <531AA047.6020704@hyperactivesw.com> On 3/6/14, 3:01 PM, Terence Heaford wrote: > how do you hilite tab 1? > > Is there someway to set it via script. > > something like > > set the selectedTab of btn ?my tab button? to 1 Close. See "menuHistory" in the dictionary. A tab button is a type of menu button. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sat Mar 8 00:46:46 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 7 Mar 2014 21:46:46 -0800 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> Message-ID: On Fri, Mar 7, 2014 at 4:54 PM, Mike Kerner wrote: > because it can make the text harder to read. It makes the text blurry. that's an opinion. I think it make fonts look like the characters they are supposed to look like and expect it. I guess if its a feature it should be switchable. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From pystcat at gmail.com Sat Mar 8 01:41:12 2014 From: pystcat at gmail.com (PystCat) Date: Sat, 8 Mar 2014 01:41:12 -0500 Subject: Using Mobile Pick Lists in the IDE In-Reply-To: References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> <001501cf3a34$c35769f0$4a063dd0$@net> Message-ID: <7BE86310-0912-45AE-95A9-8676479E2A79@gmail.com> I second that. > On Mar 7, 2014, at 10:53 PM, John wrote: > > Ralph, > > Although I am not working on anything that could use this currently, it sounds very useful. As far as I am concerned, the more time spent debugging in the IDE, rather than on the device, the better. I, for one, would appreciate you posting the code. > > Thanks, > John > >> On Mar 7, 2014, at 10:40 AM, Ralph DiMola wrote: >> >> I have some code that makes testing stacks that use mobile picklists in the >> IDE child's play. If this is useful to anyone I will post the code. >> >> 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 prothero at earthednet.org Sat Mar 8 01:46:02 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 7 Mar 2014 22:46:02 -0800 Subject: Using Mobile Pick Lists in the IDE In-Reply-To: <7BE86310-0912-45AE-95A9-8676479E2A79@gmail.com> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> <001501cf3a34$c35769f0$4a063dd0$@net> <7BE86310-0912-45AE-95A9-8676479E2A79@gmail.com> Message-ID: <8D109C25-FEB3-4DEB-BD77-826F2257FB15@earthednet.org> Me too, Bill William Prothero http://es.earthednet.org > On Mar 7, 2014, at 10:41 PM, PystCat wrote: > > I second that. > >> On Mar 7, 2014, at 10:53 PM, John wrote: >> >> Ralph, >> >> Although I am not working on anything that could use this currently, it sounds very useful. As far as I am concerned, the more time spent debugging in the IDE, rather than on the device, the better. I, for one, would appreciate you posting the code. >> >> Thanks, >> John >> >>> On Mar 7, 2014, at 10:40 AM, Ralph DiMola wrote: >>> >>> I have some code that makes testing stacks that use mobile picklists in the >>> IDE child's play. If this is useful to anyone I will post the code. >>> >>> 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 richmondmathewson at gmail.com Sat Mar 8 03:50:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Mar 2014 10:50:55 +0200 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> Message-ID: <531AD9EF.8090605@gmail.com> On 07/03/14 22:23, stephen barncard wrote: > On Fri, Mar 7, 2014 at 8:06 AM, Mike Kerner wrote: > >> get rid of antialiasing in the script editor... > > Why? Go back to jaggy text? > > That does seem to be a backward step; and I cannot quite see why Mike is objecting to it. I wonder if he is having an OS-specific problem? Richmond. From th.douez at gmail.com Sat Mar 8 04:06:21 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 8 Mar 2014 10:06:21 +0100 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: 2014-03-07 17:31 GMT+01:00 Colin Holgate : > Bill means the Scratch one, http://www.youtube.com/watch?v=rDyo4p1qLuE&feature=youtu.be > > Kickstarter girl does have an ActionScript book in her stack, but it?s heavily > outnumbered by Ruby books, and she uses Linux and in her book, the little girl is called "Ruby"... :) > On Mar 7, 2014, at 10:55 AM, Earthednet-wp wrote: > >> >Interesting. Built in flash. Well, it could be build quite easily in LC. We already have the music engine, multi-threaded, but unfortunately I don't have the time resources neither the skills to draw nicely all these screen objects... ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From alanstenhouse at hotmail.com Sat Mar 8 06:30:50 2014 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sat, 8 Mar 2014 12:30:50 +0100 Subject: Recording Audio on Mobile devices? In-Reply-To: References: Message-ID: Hi John Monte's mergMicrophone works fine on the device, but not on the Simulator. And should be easy to limit it time-wise - just send a stop message in 20s when you start recording. HTH cheers Alan -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome EV-Point - Find your nearest Electric Vehicle Recharge Station. On 08/03/2014, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > Hi All! > > I would like to take advantage of the audio recording ability of mobile devices in our schools to allow students to create recorded feedback. Looking back through the list I see similar request for audio recording on iOS and Android, over a year old though. > > I have looked at Monte Goulding?s mergeMicrphone external available here: repo.goulding.ws It opens fine but I?m guessing the simulator does not utilize the microphone?? So I could not actually test it fully at this point to see if it still works. > > I would like to limit the amount of recording time students have in their feedback, say 20 seconds. Similar to the tactic Twitter uses for encouraging folks to be concise. > > Are there any new developments in regards to LiveCode and the ability to record audio within your app on the mobile platforms? Or is the best bet still to look at using Monte?s sup?d up rremicrophone external? > > Thank you! > > John Patten > SUSD From jemirandav at gmail.com Sat Mar 8 06:49:55 2014 From: jemirandav at gmail.com (Javier Miranda) Date: Sat, 8 Mar 2014 07:49:55 -0400 Subject: A Message-ID: A From jemirandav at gmail.com Sat Mar 8 07:01:03 2014 From: jemirandav at gmail.com (Javier Miranda) Date: Sat, 8 Mar 2014 08:01:03 -0400 Subject: Use of Shell to get JSON from a MongoDB In-Reply-To: References: Message-ID: Thank you Mark, I was abre to fiel fiel "A" with the Mongo results, the I use "l?ne 3 to - 1" to get rid of the 2 first l?nes. The problem is now that the documents dont have antes explicit _id anda Mongo create antes ObjectId, that MergJSON refieres to parse. Any ideas? Saludos, Javier From ebeugelaar at gmail.com Sat Mar 8 07:02:30 2014 From: ebeugelaar at gmail.com (Erik Beugelaar - Gmail) Date: Sat, 08 Mar 2014 13:02:30 +0100 Subject: A In-Reply-To: References: Message-ID: <531B06D6.7080005@gmail.com> Who says A must say B. http://www.answers.com/topic/who-says-a-must-say-b ;-) On 8-3-2014 12:49, Javier Miranda wrote: > A > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Sat Mar 8 07:14:53 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 8 Mar 2014 12:14:53 +0000 Subject: Grouped Controls(Objects) Message-ID: I have a group to which I add objects. create field in group ?myGroup? put the id of the last fld into tID I then have a property of the group where I store the id called uObjectList Then at some point I delete all the objects in uObjectList to clear out the group. Is there a simpler way to do this? Is it possible to get a list of objects contained in a group? Thanks Terry From richmondmathewson at gmail.com Sat Mar 8 07:20:07 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Mar 2014 14:20:07 +0200 Subject: A In-Reply-To: <531B06D6.7080005@gmail.com> References: <531B06D6.7080005@gmail.com> Message-ID: <531B0AF7.3070407@gmail.com> On 08/03/14 14:02, Erik Beugelaar - Gmail wrote: > > Who says A must say B. > http://www.answers.com/topic/who-says-a-must-say-b Infancy Gospel of Thomas, and slight refs in the Proto-Evangelion. Richmond. > > ;-) > > On 8-3-2014 12:49, Javier Miranda wrote: >> A >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 m.schonewille at economy-x-talk.com Sat Mar 8 07:23:34 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 08 Mar 2014 13:23:34 +0100 Subject: Grouped Controls(Objects) In-Reply-To: References: Message-ID: <531B0BC6.2000308@economy-x-talk.com> Hi Terry, Why don't you simply delete the group and create a new one? If you want to have a list of controls of a group, card or stack, you can use a repeat loop in a getProp handler: getProp allControls repeat with x = 1 to the number of controls of the target put the long id of control x of the target & cr after myList end repeat return char 1 to -2 of myList end allControls -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/8/2014 13:14, Terence Heaford wrote: > I have a group to which I add objects. > > create field in group ?myGroup? > > put the id of the last fld into tID > > I then have a property of the group where I store the id called uObjectList > > Then at some point I delete all the objects in uObjectList to clear out the group. > > Is there a simpler way to do this? > > Is it possible to get a list of objects contained in a group? > > > Thanks > > Terry From mats.wilstrand at tapirsoft.com Sat Mar 8 08:08:36 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Sat, 8 Mar 2014 14:08:36 +0100 Subject: Grouped Controls(Objects) In-Reply-To: References: Message-ID: Hi Terry! >From 6.1 there are four new properties you can use for tasks like yours: "controlIDs" reports the short IDs of all the controls of a card or group. (undocumented) "controlNames" reports the short names of all the controls of a card or group. (undocumented) "childControlIDs" reports the short IDs of all the direct children of a card or group. "childControlNames" reports the short names of all the direct children of a card or group. Requires a minimum of code to do what you want and does it fast: on mouseUp repeat for each line tID in the controlIDs of grp "myGroup" delete control id tID end repeat end mouseUp We must thank the guys in the deep and dark mines of the C++ mountain for contributing things like this! Best regards Mats > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Terence Heaford > Sent: den 8 mars 2014 13:15 > To: How to use LiveCode > Subject: Grouped Controls(Objects) > > I have a group to which I add objects. > > create field in group "myGroup" > > put the id of the last fld into tID > > I then have a property of the group where I store the id called uObjectList > > Then at some point I delete all the objects in uObjectList to clear out the > group. > > Is there a simpler way to do this? > > Is it possible to get a list of objects contained in a group? > > > Thanks > > 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 t.heaford at btinternet.com Sat Mar 8 08:37:47 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 8 Mar 2014 13:37:47 +0000 Subject: Grouped Controls(Objects) In-Reply-To: <531B0BC6.2000308@economy-x-talk.com> References: <531B0BC6.2000308@economy-x-talk.com> Message-ID: <2D5512A8-4A63-4DA8-806D-46EDF2B1A889@btinternet.com> Thanks Mark, The group is actually a group that contains the methods for drawing bar, line and pie charts and has 750 lines of script. The objects I create in the group are lines, fields, rectangles etc. that are created to make up the charts. I currently have a property that contains a list of the objects that I work through when deleting the charts. I was hoping that a LC group had a property that returned a list of objects contained in the group. I will try your script though. Thanks Terry On 8 Mar 2014, at 12:23, Mark Schonewille wrote: > Why don't you simply delete the group and create a new one? > > If you want to have a list of controls of a group, card or stack, you can use a repeat loop in a getProp handler: > > getProp allControls > repeat with x = 1 to the number of controls of the target > put the long id of control x of the target & cr after myList > end repeat > return char 1 to -2 of myList > end allControls From m.schonewille at economy-x-talk.com Sat Mar 8 08:41:09 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 08 Mar 2014 14:41:09 +0100 Subject: Grouped Controls(Objects) In-Reply-To: <2D5512A8-4A63-4DA8-806D-46EDF2B1A889@btinternet.com> References: <531B0BC6.2000308@economy-x-talk.com> <2D5512A8-4A63-4DA8-806D-46EDF2B1A889@btinternet.com> Message-ID: <531B1DF5.90509@economy-x-talk.com> Hi Terry, Check out Mats' e-mail. He has some good advice. You can also set the behavior of a group to a button. That will solve the script problem. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/8/2014 14:37, Terence Heaford wrote: > Thanks Mark, > > The group is actually a group that contains the methods for drawing bar, line and pie charts > and has 750 lines of script. > > The objects I create in the group are lines, fields, rectangles etc. that are created to make up the charts. > > I currently have a property that contains a list of the objects that I work through when deleting the charts. > > I was hoping that a LC group had a property that returned a list of objects contained in the group. > > I will try your script though. > > Thanks > > Terry > From james at thehales.id.au Sat Mar 8 09:01:23 2014 From: james at thehales.id.au (James Hale) Date: Sun, 9 Mar 2014 01:01:23 +1100 Subject: ePub Opener Message-ID: Hi, I have just uploaded a stack "ePub Opener" to LiveCode Share. It will unpack, hopefully, any ePub (2) package and put its content into a couple of arrays (except for images which it extracts to a folder). The stack script forms a one of my libraries for an application I have been working on. Given all the help I have received over the years it seems only fitting to share it. Thanks and enjoy, James From pystcat at gmail.com Sat Mar 8 09:03:03 2014 From: pystcat at gmail.com (PystCat) Date: Sat, 8 Mar 2014 09:03:03 -0500 Subject: ePub Opener In-Reply-To: References: Message-ID: THANKS!!! This is very nice. > On Mar 8, 2014, at 9:01 AM, James Hale wrote: > > Hi, > > I have just uploaded a stack "ePub Opener" to LiveCode Share. > > It will unpack, hopefully, any ePub (2) package and put its content into a couple of arrays (except for images which it extracts to a folder). > > The stack script forms a one of my libraries for an application I have been working on. > > Given all the help I have received over the years it seems only fitting to share it. > > Thanks and enjoy, > > James > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Sat Mar 8 10:21:32 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 8 Mar 2014 15:21:32 +0000 Subject: Grouped Controls(Objects) In-Reply-To: References: Message-ID: Sorry Mats, I did not read you reply as closely as I should. Now realise that ?childControlNames? is the documented version of ?controlNames? etc. Thanks again Terry On 8 Mar 2014, at 13:08, Mats Wilstrand wrote: > From 6.1 there are four new properties you can use for tasks like yours: > > "controlIDs" reports the short IDs of all the controls of a card or group. > (undocumented) > "controlNames" reports the short names of all the controls of a card or > group. (undocumented) > "childControlIDs" reports the short IDs of all the direct children of a card > or group. > "childControlNames" reports the short names of all the direct children of a > card or group. From pete at lcsql.com Sat Mar 8 10:22:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Mar 2014 07:22:18 -0800 Subject: ePub Opener In-Reply-To: References: Message-ID: On Sat, Mar 8, 2014 at 6:01 AM, James Hale wrote: > Hi, > > I have just uploaded a stack "ePub Opener" to LiveCode Share. > > It will unpack, hopefully, any ePub (2) package and put its content into a > couple of arrays (except for images which it extracts to a folder). > > The stack script forms a one of my libraries for an application I have > been working on. > > Given all the help I have received over the years it seems only fitting to > share it. > > Thanks and enjoy, > > James > The subject line made me think this was something to do with getting an ePint of eBeer! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From effendi at wanadoo.fr Sat Mar 8 11:40:08 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 8 Mar 2014 17:40:08 +0100 Subject: Inserting Text, photo or video into a circle ? Message-ID: Hi (from you know where) ?... (and we have sun for at least a week - Yippee !!) Thanks to Scott for his input - I can work with that ! Richmond must be feverish : > 1. Why don't you just do this sort of thing in GIMP, Photoshop or some > other graphic program? > > 2. Why do you want to do this at all? (1) - Because I don?t want to ! (2) - Because I want to ! This should satisfy even a Scotsman. Thanks anyway ! Best Regards -Francis From richmondmathewson at gmail.com Sat Mar 8 12:50:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Mar 2014 19:50:43 +0200 Subject: Inserting Text, photo or video into a circle ? In-Reply-To: References: Message-ID: <531B5873.80503@gmail.com> On 08/03/14 18:40, Francis Nugent Dixon wrote: > Hi (from you know where) ?... > > (and we have sun for at least a week - Yippee !!) > > Thanks to Scott for his input - I can work with that ! > > Richmond must be feverish : > >> 1. Why don't you just do this sort of thing in GIMP, Photoshop or some >> other graphic program? >> >> 2. Why do you want to do this at all? > (1) - Because I don?t want to ! > (2) - Because I want to ! > > This should satisfy even a Scotsman. Thanks anyway ! I was fairly feverish that night; running a temperature of about 39 degs C by the time I gave up and went to bed. That is why I didn't get round to trying to do that. Those answers don't satisfy one little bit; I suppose I shall just have to remain dissatisfied: but, Hey, I'm tough, I can handle it, I've weathered worse disappointments in my time . . . LOL I'm very glad that Scott came up with a way to do that. Richmond. From rdimola at evergreeninfo.net Sat Mar 8 13:25:34 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 8 Mar 2014 13:25:34 -0500 Subject: Using Mobile Pick Lists in the IDE In-Reply-To: <8D109C25-FEB3-4DEB-BD77-826F2257FB15@earthednet.org> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> <001501cf3a34$c35769f0$4a063dd0$@net> <7BE86310-0912-45AE-95A9-8676479E2A79@gmail.com> <8D109C25-FEB3-4DEB-BD77-826F2257FB15@earthednet.org> Message-ID: <003801cf3afb$cc535790$64fa06b0$@net> Just use PickList as you would MobilePick and a list of options are presented when in the IDE (or desktop app for that matter)It's simple and dirty but let's you easily work on mobile apps in the IDE. I love LC for making things like this so easy. command PickList , tList , tInitialIndex , tPickOptions -- Use PickList as you would mobilepick if Dev() then Devpicklist tList return the result else mobilepick tList , tInitialIndex , tPickOptions return the result end if end PickList command DevPickList pList -- Development version of mobilepick local tIndex repeat with tIndex = 1 to the number of lines in plist put tIndex & "==>" before line tIndex of pList end repeat ask pList put it into tIndex if (tindex is not a number) or (tindex < 0) or (tIndex is empty) then put 0 into tindex if tIndex > the number of lines in pList then return 1 return tIndex end DevPickList function dev -- Thanks to Jacqueline Landman Gay @ HyperActive Software for this one. return the environment is "development" end dev 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 Earthednet-wp Sent: Saturday, March 08, 2014 1:46 AM To: How to use LiveCode Subject: Re: Using Mobile Pick Lists in the IDE Me too, Bill William Prothero http://es.earthednet.org > On Mar 7, 2014, at 10:41 PM, PystCat wrote: > > I second that. > >> On Mar 7, 2014, at 10:53 PM, John wrote: >> >> Ralph, >> >> Although I am not working on anything that could use this currently, it sounds very useful. As far as I am concerned, the more time spent debugging in the IDE, rather than on the device, the better. I, for one, would appreciate you posting the code. >> >> Thanks, >> John >> >>> On Mar 7, 2014, at 10:40 AM, Ralph DiMola wrote: >>> >>> I have some code that makes testing stacks that use mobile picklists >>> in the IDE child's play. If this is useful to anyone I will post the code. >>> >>> 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 _______________________________________________ use-livecode mailing list use-livecode 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 mwieder at ahsoftware.net Sat Mar 8 13:25:06 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Mar 2014 10:25:06 -0800 Subject: Use of Shell to get JSON from a MongoDB In-Reply-To: References: Message-ID: <55832173956.20140308102506@ahsoftware.net> Javier- Saturday, March 8, 2014, 4:01:03 AM, you wrote: > Thank you Mark, I was abre to fiel fiel "A" with the Mongo results, the I > use "l?ne 3 to - 1" to get rid of the 2 first l?nes. The problem is now > that the documents dont have antes explicit _id anda Mongo create antes > ObjectId, that MergJSON refieres to parse. I'm not familiar with the way MergJSON works, so that may be a question for Monte, but if you want to suppress the _id field, change the first line to this: put "var c=db.test.find({},{_id:0});" into dbText -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From MikeKerner at roadrunner.com Sat Mar 8 16:12:50 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 8 Mar 2014 16:12:50 -0500 Subject: Crowd Funding Enhancements In-Reply-To: <531AD9EF.8090605@gmail.com> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> Message-ID: OSX 10.9.2, and I'm a little surprised, because I've been involved with several development tools where developers requested that antialiasing be removed in the IDE. At smaller sizes, it definitely makes the text harder to read. On Sat, Mar 8, 2014 at 3:50 AM, Richmond wrote: > On 07/03/14 22:23, stephen barncard wrote: > >> On Fri, Mar 7, 2014 at 8:06 AM, Mike Kerner >> wrote: >> >> get rid of antialiasing in the script editor... >>> >> >> Why? Go back to jaggy text? >> >> >> > That does seem to be a backward step; and I cannot quite see why Mike is > objecting to it. > > I wonder if he is having an OS-specific problem? > > 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 mwieder at ahsoftware.net Sat Mar 8 16:48:54 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Mar 2014 13:48:54 -0800 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> Message-ID: <45844401544.20140308134854@ahsoftware.net> Mike- Saturday, March 8, 2014, 1:12:50 PM, you wrote: > OSX 10.9.2, and I'm a little surprised, because I've been involved with > several development tools where developers requested that antialiasing be > removed in the IDE. At smaller sizes, it definitely makes the text harder > to read. If it really bothers you, try this: defaults write -g AppleFontSmoothing -int 1 sudo defaults write -g AppleFontSmoothing -int 1 -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From t.heaford at btinternet.com Sat Mar 8 17:18:57 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 8 Mar 2014 22:18:57 +0000 Subject: Cocoa Message-ID: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> Can someone point me to a full definition of what RunRev consider "Port LiveCode to use Cocoa throughout". What portions of Cocoa will be integrated into LC? Thanks Terry From MikeKerner at roadrunner.com Sat Mar 8 19:01:59 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 8 Mar 2014 19:01:59 -0500 Subject: Crowd Funding Enhancements In-Reply-To: <45844401544.20140308134854@ahsoftware.net> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> Message-ID: Hmm. Thanks, Mark. I might try that. It's undoable, which is great for when I'm not staring at 9 or 10 point... On Sat, Mar 8, 2014 at 4:48 PM, Mark Wieder wrote: > Mike- > > Saturday, March 8, 2014, 1:12:50 PM, you wrote: > > > OSX 10.9.2, and I'm a little surprised, because I've been involved with > > several development tools where developers requested that antialiasing be > > removed in the IDE. At smaller sizes, it definitely makes the text > harder > > to read. > > If it really bothers you, try this: > > defaults write -g AppleFontSmoothing -int 1 > sudo defaults write -g AppleFontSmoothing -int 1 > > < > https://superuser.com/questions/457153/getting-crisper-fonts-in-os-x-after-switching-from-windows > > > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 james at thehales.id.au Sat Mar 8 23:30:22 2014 From: james at thehales.id.au (James Hale) Date: Sun, 9 Mar 2014 15:30:22 +1100 Subject: ePub Opener Message-ID: <6B1799C2-9D14-4AED-B99D-AB8D90F5A9DF@thehales.id.au> Apologies, just updated the ePub Opener stack. The initial upload did not account for flat (read "bad, naughty ePub) archives and thus incorrectly linked images. James From francois.chaplais at mines-paristech.fr Sun Mar 9 01:16:00 2014 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sun, 9 Mar 2014 07:16:00 +0100 Subject: Cocoa In-Reply-To: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> Message-ID: I will add: will it be possible to use the Cocoa APIs is Livecode externals? I have been waiting for this for years. Fran?ois Le 8 mars 2014 ? 23:18, Terence Heaford a ?crit : > Can someone point me to a full definition of what RunRev consider "Port LiveCode to use Cocoa throughout". > > What portions of Cocoa will be integrated into LC? > > > > Thanks > > 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 alanstenhouse at hotmail.com Sun Mar 9 06:22:41 2014 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sun, 9 Mar 2014 11:22:41 +0100 Subject: Recording Audio on Mobile devices? In-Reply-To: <25ADEF62-9C4E-435A-857E-D7DEC248946E@hotmail.com> References: <25ADEF62-9C4E-435A-857E-D7DEC248946E@hotmail.com> Message-ID: Hi again John Ah, correction - mergMicrophone does also work on the simulator! My mistake - sorry! cheers Alan On 08/03/2014, at 12:30 PM, Alan Stenhouse wrote: > Hi John > > Monte's mergMicrophone works fine on the device, but not on the Simulator. And should be easy to limit it time-wise - just send a stop message in 20s when you start recording. > > HTH > > cheers > > Alan > -- > Alan Stenhouse > alanstenhouse at hotmail.com > > Check out our apps on the App Store: > > BeatSpeak - the multilingual talking metronome > EV-Point - Find your nearest Electric Vehicle Recharge Station. > > On 08/03/2014, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > >> Hi All! >> >> I would like to take advantage of the audio recording ability of mobile devices in our schools to allow students to create recorded feedback. Looking back through the list I see similar request for audio recording on iOS and Android, over a year old though. >> >> I have looked at Monte Goulding?s mergeMicrphone external available here: repo.goulding.ws It opens fine but I?m guessing the simulator does not utilize the microphone?? So I could not actually test it fully at this point to see if it still works. >> >> I would like to limit the amount of recording time students have in their feedback, say 20 seconds. Similar to the tactic Twitter uses for encouraging folks to be concise. >> >> Are there any new developments in regards to LiveCode and the ability to record audio within your app on the mobile platforms? Or is the best bet still to look at using Monte?s sup?d up rremicrophone external? >> >> Thank you! >> >> John Patten >> SUSD > From sims at ezpzapps.com Sun Mar 9 07:03:20 2014 From: sims at ezpzapps.com (Ezpzapps) Date: Sun, 9 Mar 2014 11:03:20 +0000 Subject: set the location of an iPad menuPick Message-ID: Anyone know how to set the location of an iPad menuPick (aka popup or popover)? Am using 6.5.2 and the popup seems to work fine but seems no way to set where it happens. TIA sims Sent from my iPodo, blame it for poor spellingk From sims at ezpzapps.com Sun Mar 9 08:05:04 2014 From: sims at ezpzapps.com (Ezpzapps) Date: Sun, 9 Mar 2014 12:05:04 +0000 Subject: popup on iPad In-Reply-To: References: Message-ID: <4ECF6152-82C9-486A-B317-AF1B5C5D09A4@ezpzapps.com> Thank you John. I thought it would do as you say but it doesn't. Maybe the issue is my use of fullscreenmode. I have an iPhone app set to fullscreenmode of exactFit which does nicely when installed on an iPad with this being my only complaint. Maybe when it scales up something gets messed up. Will try your strategy. Thanks. sims Sent from my iPodo, blame it for poor spellingk > On 9 Mar 2014, at 11:45, "john at ihouse.on-rev.com" wrote: > > > > > Hi Jim? > > The popOver is located from the loc of the object that contains the script that calls it? > You can have it popUp in a different location by using the ?send? command? > > > For example in ?button 1? this will popUp at the loc of button 1 > > on mouseUp > put "Alpha,Bravo,Charlie" into theList > repeat with count = 1 to the number of items of theList > put item count of theList & cr into line count of blue > end repeat > delete the last char of blue > > iphonePick blue > end mouseUp > > but you could also call it from button 2.. > > on mouseUp > send "mouseUp" to button 1 > end mouseUp > > I?ve attached a stack to demonstrate? runit in the iPad simulator > > be well > > > > > > > > web : http://www.ihouse.on-rev.com/local > phone : 01749 677686 > mobile : 07523 001268 > email : john at ihouse.on-rev.com > skype : john.dixon.england > _________________________________________________ > > "I needed a password eight characters long so I picked Snow White and the Seven Dwarves." > > This e-mail is confidential and, if you are not the intended recipient, please return it to us and do not retain or disclose it. We filter and monitor e-mails in order to protect our system and the integrity, confidentiality and availability of e-mails. We cannot guarantee that e-mails are risk free and are not responsible for any related damage or unauthorised alteration of e-mails by third parties after sending. > > John Dixon.M.Sc. > ihouse manufactures software. > ihouse is based in Wells, Somerset in the South West of England. > > > > From t.heaford at btinternet.com Sun Mar 9 09:52:27 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 13:52:27 +0000 Subject: Cocoa In-Reply-To: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> Message-ID: <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> If nobody knows then perhaps RunRev will post to let everyone know their intentions. So, to ask specific but not exhaustive questions and in no particular order. 1. Will native Cocoa controls replace the LC emulated versions? 2. Will NSTableView be available as a LC Control? 3. I presume events will be those generated by Cocoa and not Carbon? 4. I assume as LC is having a new graphics engine that NSBezierPath will not be available? 5. Will images be generated using NSViews/NSImage or LC?s new graphics engine? 6. Will Fields be based on NSTextFields? 7. Will NSDatePicker be available? 8. Will NSLevelIndicator be available? 9. Will NSTimer be available? 10. Will NSToolbar be available? 11. I assume NSMenu/NSMenuItem will be the basis of menus? 12. Will NSWebView be available? 13. Will QTKit be available? 14. Will PDFView be available? 15. Access to all the API?s of Cocoa when building externals? These are the types of questions that I thought would be answered by RunRev if they are really serious about porting LC to Cocoa and keeping their customers informed or are they just doing the bare bones of sorting out the event handling and printing system which I believe is currently based on carbon and leaving all the controls etc as emulated. If this is the case I do not consider LC as being ported to Cocoa and consider my minimal contribution to the Kickstarter campaign as wasted. I am waiting for a positive answer to these questions and a working version before I jump into contributing to a commercial licence. Can anybody who knows what is happening please respond. All the best Terry On 8 Mar 2014, at 22:18, Terence Heaford wrote: > Can someone point me to a full definition of what RunRev consider "Port LiveCode to use Cocoa throughout". > > What portions of Cocoa will be integrated into LC? > > > > Thanks > > 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 richmondmathewson at gmail.com Sun Mar 9 10:10:22 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 16:10:22 +0200 Subject: Cocoa In-Reply-To: <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> Message-ID: <531C764E.9080108@gmail.com> On 09/03/14 15:52, Terence Heaford wrote: > > > If this is the case I do not consider LC as being ported to Cocoa and consider my minimal contribution to the Kickstarter campaign as wasted. > > That strikes me as a bit odd. We all have our pet hates, pet likes and pet improvements we would like to see implemented when it comes to Livecode. [My pet 'thing' is how Windows post XP "shoves its nose into LC" and forces it to use Windows system fonts in Unicode fields] But I did not contribute my bit to the Kickstarter campaign just to improve my particular 'bit'; I am not that selfish. So far I see no sign of RunRev doing anything about my 'bit'; that does not make me regret my contribution at all, because I know very well that my contribution goes towards making LC better all round, and am sure that my 'bit' will be sorted out, eventually, when the good folk in Edinburgh get down to the bottom of my very long list of things, that in the great scheme of things, have higher priority than my selfish little 'bit' (which, considering how obscure it is, probably doesn't fuss anybody else at all). ----------------- If I give some money to one of the gypsy ladies who clean the road outside my house (they, poor women, are horribly underpaid) I don't give it to them with a load of strictures on how they spend it; I am sure they will spend it on coffee and cigarettes to make their long and fairly depressing day a bit more cheery. Who am I to tell them that I would far rather they didn't spend it on cigarettes, but on apples instead? ------------------- And why is Cocoa so urgent anyway? Livecode works as it is right now; so the Kickstarter money is to finance it expanding its capabilities in such ways as proper vector image treatment, full Unicode compliance, and so forth; and I would have thought that Cocoa code was rather less important. Just my five quid's worth. Richmond. From jbv at souslelogo.com Sun Mar 9 10:59:56 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sun, 9 Mar 2014 16:59:56 +0200 Subject: svg & LC Message-ID: <8977611f44dbcbbd8df941c927da6762.squirrel@185.8.104.234> Hello everyone, I remember reading in a recent post that svg was in the roadmap for inclusion in LC in the future. But so far has anyone thought or even tried to generate / control / animate svg objects in revbrowser ? This would probably less flexible than native svg objects in LC, but I have the feeling it might be worth a try... Best, jbv From t.heaford at btinternet.com Sun Mar 9 11:02:32 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 15:02:32 +0000 Subject: Cocoa In-Reply-To: <531C764E.9080108@gmail.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> Message-ID: I can?t make a decision on whether or not it is wasted because RunRev have not made a statement on what a port to Cocoa is? Even though they are working on it they do not seem to want to expose their intentions. Why? RunRev, not me, said they would port LC to Cocoa. I would just like to use it. Because RunRev stated they were going to port LC to Cocoa I thought LC was worth a try. I am trying it, in a limited way and my view is that it could do with improvement in the Mac arena by having access to native controls, not emulated. So, what does the port entail and what is the final goal and timescale? I suppose it?s a simple question and that could be answered simply. But hasn?t, why? I suppose when you purchase something you firstly evaluate if it is what you require. To evaluate it you need all the facts. When will RunRev publish the facts about the Cocoa port? All the best Terry On 9 Mar 2014, at 14:10, Richmond wrote: > > So far I see no sign of RunRev doing anything about my 'bit'; that does not make me regret my contribution at all, because > I know very well that my contribution goes towards making LC better all round, and am sure that my 'bit' will be sorted out, > eventually, when the good folk in Edinburgh get down to the bottom of my very long list of things, that in the great scheme of things, > have higher priority than my selfish little 'bit' (which, considering how obscure it is, probably doesn't fuss anybody else at all). > > Richmond. > From shawnlivecode at gmail.com Sun Mar 9 11:11:20 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 9 Mar 2014 10:11:20 -0500 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> Message-ID: If you think the RunRev staff aren't interested in full-filling the KS campaign goals, then take a look at the latest newsletter. http://newsletters.livecode.com/march/issue167/ According to Kevin: *Surprises to come?* All these statistics are particularly impressive when you consider the many years it took to build up our user base prior to going open source. Also, while we've started to deliver on our next-generation project goals, we still have plenty of amazing new technology in the pipeline. We have some new partnerships with strong potential in the pipeline too. And we even have perhaps a few surprises in store for you all. Suffice to say, we may have momentum now, but I believe the best is yet to come! As we pass this milestone I want to take this opportunity to thank each and every one of you for your support. Without your help none of this would have been possible. We are here to serve you, our loyal community. We have our foot firmly on the accelerator. We intend to hire, expand and push even harder to build something insanely easy and totally unique. This is our year. On Sun, Mar 9, 2014 at 10:02 AM, Terence Heaford wrote: > I can't make a decision on whether or not it is wasted because RunRev have > not made a statement on what a port to Cocoa is? > > Even though they are working on it they do not seem to want to expose > their intentions. > > Why? > > RunRev, not me, said they would port LC to Cocoa. I would just like to use > it. > Because RunRev stated they were going to port LC to Cocoa I thought LC was > worth a try. > I am trying it, in a limited way and my view is that it could do with > improvement in the Mac arena by having access to native controls, not > emulated. > > So, what does the port entail and what is the final goal and timescale? > > I suppose it's a simple question and that could be answered simply. > > But hasn't, why? > > I suppose when you purchase something you firstly evaluate if it is what > you require. > > To evaluate it you need all the facts. > > When will RunRev publish the facts about the Cocoa port? > > All the best > > Terry > > > > > > > > On 9 Mar 2014, at 14:10, Richmond wrote: > > > > So far I see no sign of RunRev doing anything about my 'bit'; that does > not make me regret my contribution at all, because > > I know very well that my contribution goes towards making LC better all > round, and am sure that my 'bit' will be sorted out, > > eventually, when the good folk in Edinburgh get down to the bottom of my > very long list of things, that in the great scheme of things, > > have higher priority than my selfish little 'bit' (which, considering > how obscure it is, probably doesn't fuss anybody else at all). > > > > 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 jacque at hyperactivesw.com Sun Mar 9 11:27:49 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Mar 2014 10:27:49 -0500 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> Message-ID: <34717a33-f1a4-4e06-ae30-41c68c852cdd@email.android.com> One reason you haven't got an answer is because you asked after close of business on a weekend. Another reason is that RR doesn't often read this user-supported list. But their progress on the Cocoa port isn't a secret and if I remember right, is open to public view on github. I don't have the link but it was posted here before. Anyone still have that? On March 9, 2014 10:02:32 AM CDT, Terence Heaford wrote: >I can?t make a decision on whether or not it is wasted because RunRev >have not made a statement on what a port to Cocoa is? > >Even though they are working on it they do not seem to want to expose >their intentions. > >Why? > >RunRev, not me, said they would port LC to Cocoa. I would just like to >use it. >Because RunRev stated they were going to port LC to Cocoa I thought LC >was worth a try. >I am trying it, in a limited way and my view is that it could do with >improvement in the Mac arena by having access to native controls, not >emulated. > >So, what does the port entail and what is the final goal and timescale? > >I suppose it?s a simple question and that could be answered simply. > >But hasn?t, why? > >I suppose when you purchase something you firstly evaluate if it is >what you require. > >To evaluate it you need all the facts. > >When will RunRev publish the facts about the Cocoa port? > >All the best > >Terry > > > > > > > >On 9 Mar 2014, at 14:10, Richmond wrote: >> >> So far I see no sign of RunRev doing anything about my 'bit'; that >does not make me regret my contribution at all, because >> I know very well that my contribution goes towards making LC better >all round, and am sure that my 'bit' will be sorted out, >> eventually, when the good folk in Edinburgh get down to the bottom of >my very long list of things, that in the great scheme of things, >> have higher priority than my selfish little 'bit' (which, considering >how obscure it is, probably doesn't fuss anybody else at all). >> >> 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From vclement at gmail.com Sun Mar 9 11:44:35 2014 From: vclement at gmail.com (Vaughn Clement) Date: Sun, 9 Mar 2014 08:44:35 -0700 Subject: Setting the location of a MobilePickPhoto Message-ID: Hi All I am trying to set the location of a Library photo for the iPad size screen where the image needs to fit in a image control "ImageField1". When I run the script in the sim the image always shows in the center of the screen. I have the script set to set the image in the location I want it to appear at? What I am I doing wrong? The dictionary gives no help using this command. *on* mouseUp mobilePickPhoto "library" *if* the result is empty *then* *# If the result is empty you know the user has chosen an image and you can start working with it.* *end* *if* *set* the lockloc of the "ImageField1" to true *set* the width of the "ImageField1" to "246" *set* the height of the "ImageField1" to "160" *set* the left of the "ImageField1" to "738" *set* the top of the "ImageField1" to "162" mobilePickPhoto "library" *end* mouseUp Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 From t.heaford at btinternet.com Sun Mar 9 11:50:12 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 15:50:12 +0000 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> Message-ID: I have no doubt that RunRev do intend fulfilling the goals. But what exactly is the goal of the Cocoa Port? What does it entail? Where is it detailed? A valid question I think. All the best Terry On 9 Mar 2014, at 15:11, Shawn Blc wrote: > If you think the RunRev staff aren't interested in full-filling the KS > campaign goals, then take a look at the latest newsletter. > http://newsletters.livecode.com/march/issue167/ > From t.heaford at btinternet.com Sun Mar 9 11:52:49 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 15:52:49 +0000 Subject: Cocoa In-Reply-To: <34717a33-f1a4-4e06-ae30-41c68c852cdd@email.android.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <34717a33-f1a4-4e06-ae30-41c68c852cdd@email.android.com> Message-ID: This is it. It?s progress. but? Progress to wards what outcome? Where is the outcome detailed? I can?t find it. It?s another working week tomorrow. Perhaps I will be lucky and RunRev will see this thread. All the best Terry On 9 Mar 2014, at 15:27, J. Landman Gay wrote: > One reason you haven't got an answer is because you asked after close of business on a weekend. Another reason is that RR doesn't often read this user-supported list. > > But their progress on the Cocoa port isn't a secret and if I remember right, is open to public view on github. I don't have the link but it was posted here before. > > Anyone still have that? > From richmondmathewson at gmail.com Sun Mar 9 12:15:00 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 18:15:00 +0200 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> Message-ID: <531C9384.4090502@gmail.com> On 09/03/14 17:02, Terence Heaford wrote: > I can?t make a decision on whether or not it is wasted because RunRev have not made a statement on what a port to Cocoa is? > > Even though they are working on it they do not seem to want to expose their intentions. You are right there. I think, to be fair, RunRev are a bit like a newly married man; still behaving like a bachelor, not having woken up completely to what being an Open Source company entails. However, one of the reasons they may be keeping their cards close to their communal chest is because they feel that they are unsure of how long things will take to implement . . . this is another way of saying that they, like most of us, have realised that however lovely one's Gantt chart may look, in reality everything will take at least twice as long . . . so are trying to protect themselves by not making promises which they probably cannot keep; or, at least, not keep within the time-frame they initially, possibly a bit naively, envisaged. ------------------------------------- There is also a difference between openness that is useful, and being too open; and working out where along that continuum is the right place to stop being open is a hard thing to work out. > > Why? > > RunRev, not me, said they would port LC to Cocoa. I would just like to use it. They did, and I'm sure, unless something extremely untoward happens, they will, but not as quickly as you and a lot of other people want it. I'm sure you would like to use it: I would love to tell people who use Windows Vista, 7 and 8 that My Devawriter Pro will function 100% on their machines: it won't right now, and it won't until RunRev succeeds in blocking those versions of Windows imposing their built-in system fonts into Unicode textFields in standalones resulting in a really bad mismatch where fonts with additional chars in the Personal Private Use Areas are in use. I'm waiting, and I bet you a cartload of fresh manure my wait will be longer than yours. Meanwhile I'm just getting on with all the problems with my various LC projects I cannot get away with blaming on the "turpitude" of the people in Edinburgh! > Because RunRev stated they were going to port LC to Cocoa I thought LC was worth a try. > I am trying it, in a limited way and my view is that it could do with improvement in the Mac arena by having access to native controls, not emulated. > > So, what does the port entail and what is the final goal and timescale? I don't know why we have to know what the actual port will entail? Frankly my head is full of so much background noise at the moment I'm not interested. The "final goal" is, surely, to have a Cocoa port? I think that has been stated already. Timescale? Longer than you want, longer than they want, and a hell of a relief once it is done. > > I suppose it?s a simple question and that could be answered simply. > > But hasn?t, why? > > I suppose when you purchase something you firstly evaluate if it is what you require. > > To evaluate it you need all the facts. > > When will RunRev publish the facts about the Cocoa port? Probably once they have effected that port. If they publish "the facts" [slippery things, 'facts'] now, you will have absolutely no way of knowing how those 'facts' work in the implementation as you won't have a Cocoa version of Livecode to play around with; so that publication wouldn't really be very useful. > > All the best > > Terry > > Best, Richmond. From richmondmathewson at gmail.com Sun Mar 9 12:16:19 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 18:16:19 +0200 Subject: Cocoa In-Reply-To: <34717a33-f1a4-4e06-ae30-41c68c852cdd@email.android.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <34717a33-f1a4-4e06-ae30-41c68c852cdd@email.android.com> Message-ID: <531C93D3.6010306@gmail.com> On 09/03/14 17:27, J. Landman Gay wrote: > One reason you haven't got an answer is because you asked after close > of business on a weekend. Another reason is that RR doesn't often > read this user-supported list. > > But their progress on the Cocoa port isn't a secret and if I remember > right, is open to public view on github. I don't have the link but it > was posted here before. > > Anyone still have that? > > https://github.com/RunRev/LiveCode Richmond. From mkoob at rogers.com Sun Mar 9 12:36:03 2014 From: mkoob at rogers.com (Martin Koob) Date: Sun, 9 Mar 2014 09:36:03 -0700 (PDT) Subject: Cocoa In-Reply-To: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> Message-ID: <1394382963850-4676797.post@n4.nabble.com> Have you seen the thread on the progress on Cocoa in the LiveCode Forums? http://forums.runrev.com/phpBB2/viewtopic.php?f=66&t=18504 Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cocoa-tp4676779p4676797.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Sun Mar 9 13:04:46 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 17:04:46 +0000 Subject: Cocoa In-Reply-To: <531C9384.4090502@gmail.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com> Message-ID: <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com> Exactly, what will the Cocoa Port contain. See my original list of questions. I?m feeling lucky. RunRev will read this and make a statement of their intentions. All the best Terry On 9 Mar 2014, at 16:15, Richmond wrote: > The "final goal" is, surely, to have a Cocoa port? I think that has been stated already. From t.heaford at btinternet.com Sun Mar 9 13:07:47 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 17:07:47 +0000 Subject: Cocoa In-Reply-To: <1394382963850-4676797.post@n4.nabble.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> Message-ID: <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> Yes, I have read that but it does not say very much at all and certainly does not discuss native vs emulated controls. All the best Terry On 9 Mar 2014, at 16:36, Martin Koob wrote: > http://forums.runrev.com/phpBB2/viewtopic.php?f=66&t=18504 From richmondmathewson at gmail.com Sun Mar 9 13:12:25 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 19:12:25 +0200 Subject: Cocoa In-Reply-To: <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com> <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com> Message-ID: <531CA0F9.8080500@gmail.com> On 09/03/14 19:04, Terence Heaford wrote: > Exactly, what will the Cocoa Port contain. > > See my original list of questions. > > I?m feeling lucky. > > RunRev will read this and make a statement of their intentions. I have a feeling that the hard-working people at RunRev are, very sensibly (quite unlike Thee and Me), are having a decent Sunday rest, and will not read any of the messages in this thread as they have to get on with their Cocoa port, amongst all the other things they have to do. Richmond. > > All the best > > Terry > > > On 9 Mar 2014, at 16:15, Richmond wrote: > >> The "final goal" is, surely, to have a Cocoa port? I think that has been stated already. > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 9 13:29:26 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 9 Mar 2014 17:29:26 +0000 Subject: Cocoa In-Reply-To: <531CA0F9.8080500@gmail.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com>, <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com>, <531CA0F9.8080500@gmail.com> Message-ID: Terry... What do you want 'cocoa' to do that you can't do now ? > Date: Sun, 9 Mar 2014 19:12:25 +0200 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: Re: Cocoa > > On 09/03/14 19:04, Terence Heaford wrote: > > Exactly, what will the Cocoa Port contain. > > > > See my original list of questions. > > > > I?m feeling lucky. > > > > RunRev will read this and make a statement of their intentions. > > I have a feeling that the hard-working people at RunRev are, very > sensibly (quite unlike Thee and Me), > are having a decent Sunday rest, and will not read any of the messages > in this thread as they have to > get on with their Cocoa port, amongst all the other things they have to do. > > Richmond. > > > > > All the best > > > > Terry > > > > > > On 9 Mar 2014, at 16:15, Richmond wrote: > > > >> The "final goal" is, surely, to have a Cocoa port? I think that has been stated already. > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Sun Mar 9 13:35:57 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 19:35:57 +0200 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com>, <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com>, <531CA0F9.8080500@gmail.com> Message-ID: <531CA67D.8070503@gmail.com> On 09/03/14 19:29, John Dixon wrote: > Terry... > > What do you want 'cocoa' to do that you can't do now ? > > Probably this: "the Cocoa programming environment automates many aspects of an application to comply with Apple's human interface guidelines" Wikipedia. Or, put another way, it avoids some steps would-be programmers for the Mac OS X and iOS might feel they have to do to get their Livecode standalones looking as if they are initiated disciples of His Holiness Steve Jobs, who is currently working on setting up some cloud computing elsewhere. Richmond. From t.heaford at btinternet.com Sun Mar 9 14:19:21 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 18:19:21 +0000 Subject: Cocoa In-Reply-To: <531CA67D.8070503@gmail.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com> <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com> <531CA0F9.8080500@gmail.com> <531CA67D.8070503@gmail.com> Message-ID: Not biting on this one, sorry. I only asked questions that I thought were worthy of an answer from RunRev or someone who may know in their stead. I don?t know the answer to those questions and only asked. Do you mock or are you a zealot? Do you often poke fun at the dead? I don?t, so will not be involved in this. All the best Terry On 9 Mar 2014, at 17:35, Richmond wrote: > Or, put another way, it avoids some steps would-be programmers for the Mac OS X and iOS might feel they have to do > to get their Livecode standalones looking as if they are initiated disciples of His Holiness Steve Jobs, who is currently working > on setting up some cloud computing elsewhere. From john at onechip.com Sun Mar 9 14:25:00 2014 From: john at onechip.com (John) Date: Sun, 9 Mar 2014 11:25:00 -0700 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com>, <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com>, <531CA0F9.8080500@gmail.com> Message-ID: <6979497D-9618-4FF2-8699-1BA11C2E4649@onechip.com> On Mar 9, 2014, at 10:29 AM, John Dixon wrote: > Terry... > > What do you want 'cocoa' to do that you can't do now ? Although not mentioned so far, one thing Cocoa might (or will hopefully) bring is the ability to sell all apps on the Mac App Store. We currently can?t do that if the app reads or writes files that the user selects. File I/O limited to our apps special folders. My 2 cents, John From bobsneidar at iotecdigital.com Sun Mar 9 14:25:12 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 9 Mar 2014 18:25:12 +0000 Subject: Cocoa In-Reply-To: <531C764E.9080108@gmail.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> Message-ID: It?s my understanding that certain enhancements planned could only be done in Cocoa. I could be wrong though. Bob On Mar 9, 2014, at 07:10 , Richmond > wrote: And why is Cocoa so urgent anyway? Livecode works as it is right now; so the Kickstarter money is to finance it expanding its capabilities in such ways as proper vector image treatment, full Unicode compliance, and so forth; and I would have thought that Cocoa code was rather less important. Just my five quid's worth. Richmond. From jacque at hyperactivesw.com Sun Mar 9 14:39:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Mar 2014 13:39:13 -0500 Subject: Cocoa In-Reply-To: <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> Message-ID: <531CB551.9020305@hyperactivesw.com> On 3/9/14, 12:07 PM, Terence Heaford wrote: > Yes, I have read that but it does not say very much at all and > certainly does not discuss native vs emulated controls. My educated guess is that all controls will be OS-native. LC calls on the OS for many of its functions, and porting to Cocoa will allow them to do that for everything. Perhaps the team will see this thread and verify, but I'm reasonably sure you won't be disappointed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Mar 9 14:42:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 20:42:45 +0200 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <2DF31D7C-E5C9-4C8D-B2C1-A85E4EDF5752@btinternet.com> <531C764E.9080108@gmail.com> <531C9384.4090502@gmail.com> <5D2DEF81-A994-416E-A6D0-C633BBE22110@btinternet.com> <531CA0F9.8080500@gmail.com> <531CA67D.8070503@gmail.com> Message-ID: <531CB625.5050100@gmail.com> On 09/03/14 20:19, Terence Heaford wrote: > Not biting on this one, sorry. > > I only asked questions that I thought were worthy of an answer from RunRev or someone who may know in their stead. > > I don?t know the answer to those questions and only asked. > > Do you mock or are you a zealot? A bit of both. > > Do you often poke fun at the dead? Only when other people, not them themselves, fail to acknowledge that they too have feet of clay like the rest of us. > > I don?t, so will not be involved in this. > > All the best > > Terry > > > On 9 Mar 2014, at 17:35, Richmond wrote: > >> Or, put another way, it avoids some steps would-be programmers for the Mac OS X and iOS might feel they have to do >> to get their Livecode standalones looking as if they are initiated disciples of His Holiness Steve Jobs, who is currently working >> on setting up some cloud computing elsewhere. > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 9 14:46:02 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 20:46:02 +0200 Subject: Cocoa In-Reply-To: <531CB551.9020305@hyperactivesw.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> <531CB551.9020305@hyperactivesw.com> Message-ID: <531CB6EA.1010404@gmail.com> On 09/03/14 20:39, J. Landman Gay wrote: > On 3/9/14, 12:07 PM, Terence Heaford wrote: >> Yes, I have read that but it does not say very much at all and >> certainly does not discuss native vs emulated controls. > > My educated guess is that all controls will be OS-native. LC calls on > the OS for many of its functions, and porting to Cocoa will allow them > to do that for everything. If that is what Cocoa will bring with it, will controls in Windows standalones similarly adhere to Microsoft's Interface Guidelines? > > Perhaps the team will see this thread and verify, but I'm reasonably > sure you won't be disappointed. > Whether RunRev see this thread and verify or not, I, too, am quite sure, that like most things, particularly since RunRev went Open Source, the wait will be well worth it. Richmond. From jacque at hyperactivesw.com Sun Mar 9 14:53:32 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Mar 2014 13:53:32 -0500 Subject: Cocoa In-Reply-To: <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> Message-ID: <531CB8AC.5040705@hyperactivesw.com> On 3/9/14, 12:07 PM, Terence Heaford wrote: > Yes, I have read that but it does not say very much at all and > certainly does not discuss native vs emulated controls. I didn't read it all, but try this: It mentions windows, popups, and panels which are native. If you keep an eye on that page you'll be able to see how things progress. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Sun Mar 9 14:56:43 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 09 Mar 2014 11:56:43 -0700 Subject: Cocoa In-Reply-To: <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> Message-ID: <87AE4F0E-05BC-4FEE-83D7-5D72BF47064C@mac.com> Terry, Just a thought, if you ask on the forum thread maybe you will get response from RunRevMark, he's the one doing the programming so he's in the best position to answer your questions, and he did start that thread. Paul On 2014-03-09, at 10:07 AM, Terence Heaford wrote: > Yes, I have read that but it does not say very much at all and certainly does not discuss native vs emulated controls. > > > All the best > > Terry > > > On 9 Mar 2014, at 16:36, Martin Koob wrote: > >> http://forums.runrev.com/phpBB2/viewtopic.php?f=66&t=18504 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Sun Mar 9 16:53:09 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 9 Mar 2014 20:53:09 +0000 Subject: Cocoa In-Reply-To: <87AE4F0E-05BC-4FEE-83D7-5D72BF47064C@mac.com> References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> <87AE4F0E-05BC-4FEE-83D7-5D72BF47064C@mac.com> Message-ID: Hi, A good suggestion. I have posted to the thread and will await a reply. All the best Terry On 9 Mar 2014, at 18:56, Paul Hibbert wrote: > Just a thought, if you ask on the forum thread maybe you will get response from RunRevMark, he's the one doing the programming so he's in the best position to answer your questions, and he did start that thread. > > Paul From terry.judd at unimelb.edu.au Sun Mar 9 17:13:04 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 9 Mar 2014 21:13:04 +0000 Subject: Word clouds in LC Message-ID: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> Has anyone done a word cloud implementation in LC that they'd be willing to share? I got as far as creating a field in which the words were randomized and sized according to their frequency but I was looking for something that packed/arranged individual words (single orientation) and that looks quite tricky. Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From richmondmathewson at gmail.com Sun Mar 9 17:25:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Mar 2014 23:25:55 +0200 Subject: Word clouds in LC In-Reply-To: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> References: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> Message-ID: <531CDC63.1020805@gmail.com> On 09/03/14 23:13, Terry Judd wrote: > Has anyone done a word cloud implementation in LC that they'd be willing to share? I got as far as creating a field in which the words were randomized and sized according to their frequency but I was looking for something that packed/arranged individual words (single orientation) and that looks quite tricky. > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Education Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > Why do I think that would be quite a difficult thing to do? Lots of different size snippets of text, differently coloured, and at differing angles. -------------------- Do you mean a stack to make a word cloud from the text drawn from a website like this: https://www.jasondavies.com/wordcloud/#http%3A%2F%2Fwww.bbc.com%2Fnews%2F or a stack to generate a word cloud from text imported or entered into a text field? Certainly, I should have thought the latter would be considerably easier. -------------------- Very attractive as they are, I cannot quite see the point of them. Richmond. From jacque at hyperactivesw.com Sun Mar 9 17:53:19 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Mar 2014 16:53:19 -0500 Subject: ePub Opener In-Reply-To: References: Message-ID: <531CE2CF.50204@hyperactivesw.com> On 3/8/14, 8:01 AM, James Hale wrote: > > I have just uploaded a stack "ePub Opener" to LiveCode Share. I just looked at this (the updated version) and it's pretty amazing. It works very well, I'm impressed. If I had more time I'd try embedding images, but maybe you can accomodate that. As it is, the images did go into a folder without any problems. Really a nice job, congratulations. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Sun Mar 9 18:10:24 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 9 Mar 2014 22:10:24 +0000 Subject: Word clouds in LC In-Reply-To: <531CDC63.1020805@gmail.com> References: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> <531CDC63.1020805@gmail.com> Message-ID: <1ABA6AF9-D2F9-4642-9359-B8F60625B8F9@unimelb.edu.au> On 10/03/2014, at 08:25 AM, Richmond wrote: > On 09/03/14 23:13, Terry Judd wrote: >> Has anyone done a word cloud implementation in LC that they'd be willing to share? I got as far as creating a field in which the words were randomized and sized according to their frequency but I was looking for something that packed/arranged individual words (single orientation) and that looks quite tricky. >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Education Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> > > Why do I think that would be quite a difficult thing to do? > > Lots of different size snippets of text, differently coloured, > and at differing angles. Sizing and colouring is straightforward and I only need normally oriented text so I can use fields rather than images. It's the placement and arrangement of the words so that they pack together nicely that looks difficult. Apparently the trick is to check for intersects while locating them on a spiral so that should be doable in LC. > > -------------------- > > Do you mean a stack to make a word cloud from the text drawn from a website > like this: https://www.jasondavies.com/wordcloud/#http%3A%2F%2Fwww.bbc.com%2Fnews%2F > > or a stack to generate a word cloud from text imported or entered into a text field? > > Certainly, I should have thought the latter would be considerably easier. I already have the routines for creating the word lists and sizing the words so it's just about translating those into some output. > > -------------------- > > Very attractive as they are, I cannot quite see the point of them. They tend to be overused but they have their value. I'm looking to use them as part of the feedback we provide to medical students following progress testing. Each test item is tagged according to what core presentations it represents (e.g. cardiac failure) and a word cloud will be used to illustrate the frequency of CPs associated with correct and incorrectly responses. These will eventually be linked to related learning resources so students can easily identify and revise their problem areas. Terry... > > 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 > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From ambassador at fourthworld.com Sun Mar 9 18:56:02 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Mar 2014 15:56:02 -0700 Subject: Word clouds in LC In-Reply-To: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> References: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> Message-ID: <531CF182.9040002@fourthworld.com> If memory serves, Ben made one for a newsletter article a few years ago. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From zryip.theslug at gmail.com Sun Mar 9 19:01:12 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 10 Mar 2014 00:01:12 +0100 Subject: [ANN] Excel Library Updates and a new Code Snippet for DataGrids Message-ID: Dear LiveCode Users, 1. The Excel Library has been updated, 2 times: - Open Source Version 1.0.1 The Open source Library seems to have been downloaded more than 200 times! I'm not sure we can talk of "success", but 200 downloads seems alot and is much more we have expected before to launch this project. Supporting two versions of the same product, is a little more work. However, due to the number of downloads and because we dislike to leave bugs in our code, we have fixed 4 bugs in the open source version and the resulting version is now available to the community. You can download the 1.0.1 version here: http://www.aslugontheroad.com/download/category/5-open-sources - Commercial Version 1.2 During the implementation of a new Pivot Table command, we had the unpleasant surprise to discover we used the wrong command for creating the Pivot Table object on Windows. The Pivot Table was created by default in an Excel 2000 format. Some properties of the Pivot Table are not supported in this format. The Commercial version 1.2 includes: * the rewrite of the XCEL_PivotTable_New command for Windows * 4 new commands and 1 function available for Mac and Windows: - XCEL_PivotTable_Fld_Name_Set (sets the name of a Pivot Field) - XCEL_PivotTable_Fld_Function_Set (sets the function linked to a Data field: sum, max, min, count, average, etc) - XCEL_PivotTable_Fld_NumberFormat_Set (sets the number format of a Data Field) - XCEL_PivotTable_Total_Visible_Get (gets the visibility of the column or row grand total) - XCEL_PivotTable_Total_Visible_Set (sets the visibility of the column or row grand total) The documentation has been updated, accordingly http://www.aslugontheroad.com/images/Preview/Excel_Lib_Preview/pivottable_doc_preview02.png * 2 bugs have been fixed in the XCEL_Range_Values_Set command: - commas are no longer replaced by the internal value: @XCELLib_CommaSep@ - if the last column value of a row to insert was empty, the value of the column was the value of the previous column You can purchase the Excel Library Commercial Version in the LiveCode Store: http://livecode.com/store/marketplace/excel-library 2. A new code snippet is available on our website. We have recently shared on the LiveCode Forum one of the command we are using in DGH for searching inside datagrids. The command is now available in our code snippets section. http://www.aslugontheroad.com/code-snippets Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From terry.judd at unimelb.edu.au Sun Mar 9 19:19:17 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 9 Mar 2014 23:19:17 +0000 Subject: Word clouds in LC In-Reply-To: <531CF182.9040002@fourthworld.com> References: <112C5328-6FFA-41D8-86B5-0039725F81A2@unimelb.edu.au> <531CF182.9040002@fourthworld.com> Message-ID: <5DB5D1DA-3627-4BAB-90FD-E231B64A084E@unimelb.edu.au> On 10/03/2014, at 09:56 AM, Richard Gaskin wrote: > If memory serves, Ben made one for a newsletter article a few years ago. Thanks, that sounds promising. I'll check out the back issues. Terry... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From johnpatten at me.com Sun Mar 9 21:09:40 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Sun, 09 Mar 2014 18:09:40 -0700 Subject: Recording Audio on Mobile devices? In-Reply-To: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> Message-ID: <3889F7C0-C322-4A84-B8BF-6498DCA3C365@me.com> Hi All? Still looking for info on recording audio on iOS. I did get confirmation back that Monte?s mergMicrophone (repo.goulding.ws) does actually work in the simulator and on an iOS device. However, I can?t get this to work in either the simulator or on an iPad. The stack builds fine for iOS but it?s as if it is ignoring the external. I noticed in Monte?s original microphone example, he has added a file to his standalone settings: /users/?./externals/mergMicrophone/binaries/mergMicrophone.lcext The attached files that are zipped with the example stack does not include ?mergMicrophone.lcext.? I?m not sure how to create that from the accompanying files, or if it was left out on purpose. Does anybody have additional tips on how I could get Monte?s example stack to work correctly in the sim or actual iOS device? Or does mergeAV facilitate recording audio like mergMicrophone supposedly does or is it just for video? Thank you! John Patten SUSD On Mar 7, 2014, at 10:15 AM, JOHN PATTEN wrote: > Hi All! > > I would like to take advantage of the audio recording ability of mobile devices in our schools to allow students to create recorded feedback. Looking back through the list I see similar request for audio recording on iOS and Android, over a year old though. > > I have looked at Monte Goulding?s mergeMicrphone external available here: repo.goulding.ws It opens fine but I?m guessing the simulator does not utilize the microphone?? So I could not actually test it fully at this point to see if it still works. > > I would like to limit the amount of recording time students have in their feedback, say 20 seconds. Similar to the tactic Twitter uses for encouraging folks to be concise. > > Are there any new developments in regards to LiveCode and the ability to record audio within your app on the mobile platforms? Or is the best bet still to look at using Monte?s sup?d up rremicrophone external? > > Thank you! > > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode 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 sweattechnologies.com Sun Mar 9 21:19:36 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 10 Mar 2014 12:19:36 +1100 Subject: Recording Audio on Mobile devices? In-Reply-To: <3889F7C0-C322-4A84-B8BF-6498DCA3C365@me.com> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> <3889F7C0-C322-4A84-B8BF-6498DCA3C365@me.com> Message-ID: <72CA2B86-9D44-4ED8-8B9E-E859D97A09A4@sweattechnologies.com> Hi John Are you downloading from bitbucket or mergExt? if you are downloading from bitbucket then you will need to compile the external yourself. I have a compiled version available on the downloads page of mergExt. Cheers Monte On 10/03/2014, at 12:09 PM, JOHN PATTEN wrote: > Hi All? > > Still looking for info on recording audio on iOS. I did get confirmation back that Monte?s mergMicrophone (repo.goulding.ws) does actually work in the simulator and on an iOS device. However, I can?t get this to work in either the simulator or on an iPad. The stack builds fine for iOS but it?s as if it is ignoring the external. I noticed in Monte?s original microphone example, he has added a file to his standalone settings: > > /users/?./externals/mergMicrophone/binaries/mergMicrophone.lcext > > The attached files that are zipped with the example stack does not include ?mergMicrophone.lcext.? I?m not sure how to create that from the accompanying files, or if it was left out on purpose. > > Does anybody have additional tips on how I could get Monte?s example stack to work correctly in the sim or actual iOS device? Or does mergeAV facilitate recording audio like mergMicrophone supposedly does or is it just for video? > > Thank you! > > John Patten > SUSD > > On Mar 7, 2014, at 10:15 AM, JOHN PATTEN wrote: > >> Hi All! >> >> I would like to take advantage of the audio recording ability of mobile devices in our schools to allow students to create recorded feedback. Looking back through the list I see similar request for audio recording on iOS and Android, over a year old though. >> >> I have looked at Monte Goulding?s mergeMicrphone external available here: repo.goulding.ws It opens fine but I?m guessing the simulator does not utilize the microphone?? So I could not actually test it fully at this point to see if it still works. >> >> I would like to limit the amount of recording time students have in their feedback, say 20 seconds. Similar to the tactic Twitter uses for encouraging folks to be concise. >> >> Are there any new developments in regards to LiveCode and the ability to record audio within your app on the mobile platforms? Or is the best bet still to look at using Monte?s sup?d up rremicrophone external? >> >> Thank you! >> >> John Patten >> SUSD >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From johnpatten at me.com Sun Mar 9 21:22:48 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Sun, 09 Mar 2014 18:22:48 -0700 Subject: Recording Audio on Mobile devices? In-Reply-To: <72CA2B86-9D44-4ED8-8B9E-E859D97A09A4@sweattechnologies.com> References: <2CA3D714-CB31-4156-8013-174A8C9ABA11@me.com> <3889F7C0-C322-4A84-B8BF-6498DCA3C365@me.com> <72CA2B86-9D44-4ED8-8B9E-E859D97A09A4@sweattechnologies.com> Message-ID: <4ECD31C8-0748-4A4F-A7EB-BAC576B84E52@me.com> Ahhh? Thanks Monte! I?ll look again on your mergExt site. I hadn?t seen it the first time I looked. I was downloading it from the bitbucket site and I have never compiled an external, or the code of an external, before. Something I?m interested in learning though. Thank you! John Patten SUSD On Mar 9, 2014, at 6:19 PM, Monte Goulding wrote: > Hi John > > Are you downloading from bitbucket or mergExt? if you are downloading from bitbucket then you will need to compile the external yourself. I have a compiled version available on the downloads page of mergExt. > > Cheers > > Monte > > On 10/03/2014, at 12:09 PM, JOHN PATTEN wrote: > >> Hi All? >> >> Still looking for info on recording audio on iOS. I did get confirmation back that Monte?s mergMicrophone (repo.goulding.ws) does actually work in the simulator and on an iOS device. However, I can?t get this to work in either the simulator or on an iPad. The stack builds fine for iOS but it?s as if it is ignoring the external. I noticed in Monte?s original microphone example, he has added a file to his standalone settings: >> >> /users/?./externals/mergMicrophone/binaries/mergMicrophone.lcext >> >> The attached files that are zipped with the example stack does not include ?mergMicrophone.lcext.? I?m not sure how to create that from the accompanying files, or if it was left out on purpose. >> >> Does anybody have additional tips on how I could get Monte?s example stack to work correctly in the sim or actual iOS device? Or does mergeAV facilitate recording audio like mergMicrophone supposedly does or is it just for video? >> >> Thank you! >> >> John Patten >> SUSD >> >> On Mar 7, 2014, at 10:15 AM, JOHN PATTEN wrote: >> >>> Hi All! >>> >>> I would like to take advantage of the audio recording ability of mobile devices in our schools to allow students to create recorded feedback. Looking back through the list I see similar request for audio recording on iOS and Android, over a year old though. >>> >>> I have looked at Monte Goulding?s mergeMicrphone external available here: repo.goulding.ws It opens fine but I?m guessing the simulator does not utilize the microphone?? So I could not actually test it fully at this point to see if it still works. >>> >>> I would like to limit the amount of recording time students have in their feedback, say 20 seconds. Similar to the tactic Twitter uses for encouraging folks to be concise. >>> >>> Are there any new developments in regards to LiveCode and the ability to record audio within your app on the mobile platforms? Or is the best bet still to look at using Monte?s sup?d up rremicrophone external? >>> >>> Thank you! >>> >>> John Patten >>> SUSD >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nakia.Brewer at westrac.com.au Sun Mar 9 22:29:43 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 10 Mar 2014 02:29:43 +0000 Subject: Image handling in LC6 Message-ID: <67116DB20798A94285EEE12A67079A284CAC005D@MHSEXC02.westrac.com.au> I noticed the below whilst working on an update to a program and I was wondering if anyone may have some ideas on what might causing it. I have a program that does some PDF Printing of some cards that are contained in a substack. These 'printing card' gets filled with text and images before the printing begins from the main stack. This is all works as expected in LC5.5.1 but the same stack when compiled in LC6.5.2 does not print the images on the PDF's. I am presuming it's a change with the new image handling in LC6 but not sure what... COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From th.douez at gmail.com Mon Mar 10 04:34:54 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 10 Mar 2014 09:34:54 +0100 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: > Interesting. Built in flash. > Bill Nope, Built in Scratch (MIT) Written in Squeak, an open-source implementation of Smalltalk-80, Scratch runs atop a virtual machine, ports of which exist for several flavors of Linux, Mac OS, UNIX, and Windows. Regards, Thierry >> http://www.youtube.com/watch?v=rDyo4p1qLuE&feature=youtu.be ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From t.heaford at btinternet.com Mon Mar 10 06:24:47 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 10:24:47 +0000 Subject: properties vs local variable Message-ID: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> I am just a beginner with LC and don?t want to spend hours reinventing the wheel so was hoping that someone can advise me which of the following is the quicker. I could go down the milliseconds route with every script I produce but?. Is there a general rule that says put the uRows of me into tRows put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into tSelectedData is quicker than using put line tRecNum to tRecNum + the uRows of me - 1 of the uSelected of me into tSelectedData or does it not really matter It is being used with a scrollbar so gets called quite a lot and tRows/the uRows of me appears in a number of lines in the method All the best Terry From m.schonewille at economy-x-talk.com Mon Mar 10 06:46:38 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Mar 2014 11:46:38 +0100 Subject: properties vs local variable In-Reply-To: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> Message-ID: <531D980E.3010807@economy-x-talk.com> Hi Terry, It shouldn't matter much. Both propeties and variables exist in memory, if the stack containing the property is loaded into memory. If the stack it on disk but not in memory, it will be loaded the first time you access the property and may call a small delay. If you have many nested properties, I could imagine that calling properties like put the cProp["key1"]["key2"] into myArray put the keys of myArray into myKeys sort lines of myKeys numeric by item 1 of each put myArray[line x of myKeys] into MyVar -- etc things may get awkwardly slow, but if you're just reading directly from a property, the difference with a local variable should be really small. If you want to know for sure, a few simple extra statements that put the milliseconds into a variable will show you the difference, as you already suggested. There is one little thing that might affect speed and you really would have to rest this. LiveCode might look for a getProp handler when you call a property. This might take a millisecond or so. This is the only reason I can come up with, why using variables might be quicker. If you think that your script is getting slow, there is probably another reason for it and using either properties or variables won't solve this issue. Perhaps you're having trouble because you're intervening with the GUI. If you explain what you're trying to do, perhaps we can find a better way to do it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/10/2014 11:24, Terence Heaford wrote: > I am just a beginner with LC and don?t want to spend hours reinventing the wheel so was hoping that someone can advise me which of the following is the quicker. > > I could go down the milliseconds route with every script I produce but?. > > Is there a general rule that says > > put the uRows of me into tRows > put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into tSelectedData > > is quicker than using > > put line tRecNum to tRecNum + the uRows of me - 1 of the uSelected of me into tSelectedData > > or does it not really matter > > It is being used with a scrollbar so gets called quite a lot and tRows/the uRows of me appears in a number of lines in the method > > 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 richmondmathewson at gmail.com Mon Mar 10 07:17:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Mar 2014 13:17:20 +0200 Subject: Here's an odd thing. In-Reply-To: <45844401544.20140308134854@ahsoftware.net> References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> Message-ID: <531D9F40.8080605@gmail.com> I just tried to install Livecode Community 6.6 rc-1 on a newly installed Linux system (Xubuntu 12.04.4) and when I opened it for the first time it offered me an upgrade to version 6.5.2. Maybe because 6.5.2 is a stable version while 6.6 rc-1 is not. Richmond. From t.heaford at btinternet.com Mon Mar 10 08:05:44 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 12:05:44 +0000 Subject: Cocoa In-Reply-To: References: <395FAB54-1432-49F5-B6B4-0B58A2640AA1@btinternet.com> <1394382963850-4676797.post@n4.nabble.com> <7E6B6552-B514-43A9-BEB6-BCBE2B488FDF@btinternet.com> <87AE4F0E-05BC-4FEE-83D7-5D72BF47064C@mac.com> Message-ID: I can inform anyone interested that runrevmark has replied to my post in the forum. It can be found here: http://forums.runrev.com/viewtopic.php?f=66&t=18504&p=98667#p98667 As I suspected it is not intended to have a ?FULL? (for want of a better word) port of LC to Cocoa. It is the backend, windows/event handling being subjected to the port with a few other items in particular mods to allow the embedding of NSView which is the basis of the majority of Cocoa controls. This should enable access for externals. However, for those expecting the LC controls being updated to Cocoa native, you will be disappointed. LC on the Mac following the port will still be emulated. All the best Terry On 9 Mar 2014, at 20:53, Terence Heaford wrote: > Hi, > > A good suggestion. I have posted to the thread and will await a reply. > > All the best > > Terry > > > On 9 Mar 2014, at 18:56, Paul Hibbert wrote: > >> Just a thought, if you ask on the forum thread maybe you will get response from RunRevMark, he's the one doing the programming so he's in the best position to answer your questions, and he did start that thread. >> >> Paul > > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Mon Mar 10 08:15:58 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 12:15:58 +0000 Subject: properties vs local variable In-Reply-To: <531D980E.3010807@economy-x-talk.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> Message-ID: Mark, Thanks for your comments. I am not having a particular problem, just trying to write efficient methods. I have created my own text table in a group consisting of 6 cols (fields) * 20 rows (fields) to try and speed up the scrolling when using a DG. This has worked with a scrolling speed increase of approx. 30% when compared to the DG, probably because my table purely uses text and has no need for the remaining code that is in the DG. The most time consuming element is loading all the fields with the data. Here is the displayData routine. Can you see any areas that could me modified to speed it up? on displayData tRecNum --put milliseconds() into tS lock screen lock messages set the uRecNum of me to tRecNum put the uCols of me into tCols put the uRows of me into tRows set the itemDelimiter to tab put 1 into tFldNum put 1 into tLineNum put line tRecNum to tRecNum + tRows - 1 of the uData of me into tData put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into tSelectedData repeat for each line tRecData in tData put item 1 to tCols of tRecData into tFldData if line tLineNum of tSelectedData = true then put "62,117,215" into tBackColor put "255,255,255" into tForeColor else put "0,0,0" into tForeColor if tLineNum mod 2 = 0 then put "244,246,250" into tBackColor else put "255,255,255" into tBackColor end if end if repeat for each item tCellData in tFldData put tCellData into fld tFldNum of me set the backgroundColor of fld tFldNum of me to tBackColor set the foregroundColor of fld tFldNum of me to tForeColor add 1 to tFldNum end repeat add 1 to tLineNum end repeat unlock messages unlock screen --put milliseconds() - ts into cd fld "result" end displayData All the best Terry On 10 Mar 2014, at 10:46, Mark Schonewille wrote: > If you explain what you're trying to do, perhaps we can find a better way to do it. > From coiin at verizon.net Mon Mar 10 08:16:59 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Mar 2014 08:16:59 -0400 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: Did you notice the very prominent Flash menu along the top? On Mar 10, 2014, at 4:34 AM, Thierry Douez wrote: >> Interesting. Built in flash. >> Bill > > Nope, Built in Scratch (MIT) From th.douez at gmail.com Mon Mar 10 09:12:52 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 10 Mar 2014 14:12:52 +0100 Subject: [OT] or may be not.. In-Reply-To: References: Message-ID: > Did you notice the very prominent Flash menu along the top? > Thanks Colin, Since 2011: http://wiki.scratch.mit.edu/wiki/Scratch_2.0 Scratch has been completely rewritten in Adobe Flash for version 2.0 but still runs projects from older versions of Scratch. It's still completely free and without ads. and before (V 1.4) was written with Scratch.. I have updated my references :) Thierry ----------------------------------------------- Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From matthias_livecode_150811 at m-r-d.de Mon Mar 10 09:44:50 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 10 Mar 2014 14:44:50 +0100 Subject: how to convert .csv to .xlsx with LC without Excel installed? Message-ID: Hi, i know there is Zryip?s really excellent Excel Library for Livecode. But for some reason i need to convert a .csv file to .xlsx with Livecode on a machine where no Excel is installed or will be installed. Does anyone have already done this with Livecode and would like to share her/his solution? Regards, Matthias Rebbe From m.schonewille at economy-x-talk.com Mon Mar 10 10:10:44 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Mar 2014 15:10:44 +0100 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> Message-ID: <531DC7E4.6040505@economy-x-talk.com> Hi Terry, Can you use arrays? They aren't necessarily faster, but in this case they might be. Although you have a repeat-for loop, you're still updating a counter to keep track of your second data list. Using arrays just might speed things up, because the engine won't need to count things from the beginning in every loop but can instead read the correct elements from both arrays directly. I suspect this solution will either be slower or just a little fast, but it could be worth a try. on displayData tRecNum --put milliseconds() into tS lock screen lock messages set the uRecNum of me to tRecNum put the uCols of me into tCols put the uRows of me into tRows set the itemDelimiter to tab put 1 into tFldNum put 1 into tLineNum put line tRecNum to tRecNum + tRows - 1 of the uData of me into tData put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into tSelectedData split tData by cr // numeric keys split tSelectedData by cr // same numeric keys repeat for each line myKey in the keys of tData // use numeric keys if tSelectedData[myKey] then put "62,117,215" into tBackColor put "255,255,255" into tForeColor else put "0,0,0" into tForeColor if myKey mod 2 = 0 then put "244,246,250" into tBackColor else put "255,255,255" into tBackColor end if end if put 1 into fldNum repeat for each item tCellData in item 1 to tCols of tData[myKey] put tCellData into fld tFldNum of me set the backgroundColor of fld tFldNum of me to tBackColor set the foregroundColor of fld tFldNum of me to tForeColor add 1 to tFldNum end repeat // add 1 to tLineNum end repeat unlock messages unlock screen --put milliseconds() - ts into cd fld "result" end displayData You might want to check that this script actually does what you want. I only made a few quick edits.. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/10/2014 13:15, Terence Heaford wrote: > Mark, > > Thanks for your comments. > > I am not having a particular problem, just trying to write efficient methods. > > I have created my own text table in a group consisting of 6 cols (fields) * 20 rows (fields) to try and speed up the scrolling when using a DG. > > This has worked with a scrolling speed increase of approx. 30% when compared to the DG, probably because my table purely uses text and has no need for the remaining code that is in the DG. > > The most time consuming element is loading all the fields with the data. Here is the displayData routine. > > Can you see any areas that could me modified to speed it up? > > on displayData tRecNum > --put milliseconds() into tS > lock screen > lock messages > set the uRecNum of me to tRecNum > put the uCols of me into tCols > put the uRows of me into tRows > set the itemDelimiter to tab > put 1 into tFldNum > put 1 into tLineNum > put line tRecNum to tRecNum + tRows - 1 of the uData of me into tData > put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into tSelectedData > repeat for each line tRecData in tData > put item 1 to tCols of tRecData into tFldData > if line tLineNum of tSelectedData = true then > put "62,117,215" into tBackColor > put "255,255,255" into tForeColor > else > put "0,0,0" into tForeColor > if tLineNum mod 2 = 0 then > put "244,246,250" into tBackColor > else > put "255,255,255" into tBackColor > end if > end if > repeat for each item tCellData in tFldData > put tCellData into fld tFldNum of me > set the backgroundColor of fld tFldNum of me to tBackColor > set the foregroundColor of fld tFldNum of me to tForeColor > add 1 to tFldNum > end repeat > add 1 to tLineNum > end repeat > unlock messages > unlock screen > --put milliseconds() - ts into cd fld "result" > end displayData > > > > All the best > > Terry From roger.e.eller at sealedair.com Mon Mar 10 10:23:01 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 10 Mar 2014 10:23:01 -0400 Subject: how to convert .csv to .xlsx with LC without Excel installed? In-Reply-To: References: Message-ID: Hi Matthias, This will get you half way there, thanks to Richard Gaskin and Alex Tweedly. I use this function to bring in CSV files all the time. Works great! http://www.fourthworld.com/embassy/articles/csv-must-die.html ~Roger On Mon, Mar 10, 2014 at 9:44 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > i know there is Zryip?s really excellent Excel Library for Livecode. > But for some reason i need to convert a .csv file to .xlsx with Livecode on > a machine where no Excel is installed or will be installed. > > Does anyone have already done this with Livecode and would like to share > her/his > solution? > > 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 t.heaford at btinternet.com Mon Mar 10 10:41:05 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 14:41:05 +0000 Subject: properties vs local variable In-Reply-To: <531DC7E4.6040505@economy-x-talk.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> Message-ID: <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> Hi Mark, Thanks for your comments, will give it a try. All the best Terry On 10 Mar 2014, at 14:10, Mark Schonewille wrote: > Hi Terry, > > Can you use arrays? They aren't necessarily faster, but in this case they might be. Although you have a repeat-for loop, you're still updating a counter to keep track of your second data list. Using arrays just might speed things up, because the engine won't need to count things from the beginning in every loop but can instead read the correct elements from both arrays directly. I suspect this solution will either be slower or just a little fast, but it could be worth a try. From matthias_livecode_150811 at m-r-d.de Mon Mar 10 11:00:38 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 10 Mar 2014 16:00:38 +0100 Subject: how to convert .csv to .xlsx with LC without Excel installed? In-Reply-To: References: Message-ID: <6B313C19-10AD-4A08-A3D2-6ED9B9C02F0F@m-r-d.de> Thanks Roger, i already knew this article. This article is a ?must read? for everyone who exports data to a .csv file. I need to create a real .xlsx file, not a .csv which can be imported into Excel. I have numeric fields with numbers with leading zeros. These numbers would loose their leading zeros if imported as .csv into Excel. Regards, Matthias Rebbe Am 10.03.2014 um 15:23 schrieb Roger Eller : > Hi Matthias, > > This will get you half way there, thanks to Richard Gaskin and Alex > Tweedly. I use this function to bring in CSV files all the time. Works > great! > > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > ~Roger > > > On Mon, Mar 10, 2014 at 9:44 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> i know there is Zryip?s really excellent Excel Library for Livecode. >> But for some reason i need to convert a .csv file to .xlsx with Livecode on >> a machine where no Excel is installed or will be installed. >> >> Does anyone have already done this with Livecode and would like to share >> her/his >> solution? >> >> 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 cmsheffield at icloud.com Mon Mar 10 11:05:45 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 10 Mar 2014 09:05:45 -0600 Subject: set the location of an iPad menuPick In-Reply-To: References: Message-ID: <9819F1B1-DD37-4E5D-874A-BF3C20923BF5@icloud.com> Sims, Not sure if you ever got a response to this or not, but as far as I know there?s no way to set the position using the built-in commands. However, check out Monte?s mergPop external at http://mergext.com/home/mergpop/. You might be able to use the mergPopMenu command to accomplish what you need. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Mar 9, 2014, at 5:03 AM, Ezpzapps wrote: > Anyone know how to set the location of an iPad menuPick (aka popup or popover)? > > Am using 6.5.2 and the popup seems to work fine but seems no way to set where it happens. > > TIA > > sims > > > Sent from my iPodo, blame it for poor spellingk > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Mon Mar 10 11:07:17 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 15:07:17 +0000 Subject: properties vs local variable In-Reply-To: <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> Message-ID: <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> Hi Mark, Have tried your adjustments to my script and it was a little slower than the original. Could that be because of the split command? I read the data in from an SQLite file in the return/tab delimited format. put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData then I pass the data to the group set thText of group ?myTable" of cd ?myCard" of stack ?myStack" to tData I wonder if I split the data into an array and pass it directly to the group as an array if that would be quicker because there would be no need for the split to occur in the displayData routine? All the best Terry On 10 Mar 2014, at 14:41, Terence Heaford wrote: > Hi Mark, > > Thanks for your comments, will give it a try. > > All the best > > Terry > > On 10 Mar 2014, at 14:10, Mark Schonewille wrote: > >> Hi Terry, >> >> Can you use arrays? They aren't necessarily faster, but in this case they might be. Although you have a repeat-for loop, you're still updating a counter to keep track of your second data list. Using arrays just might speed things up, because the engine won't need to count things from the beginning in every loop but can instead read the correct elements from both arrays directly. I suspect this solution will either be slower or just a little fast, but it could be worth a try. > From roger.e.eller at sealedair.com Mon Mar 10 11:12:29 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 10 Mar 2014 11:12:29 -0400 Subject: how to convert .csv to .xlsx with LC without Excel installed? In-Reply-To: <6B313C19-10AD-4A08-A3D2-6ED9B9C02F0F@m-r-d.de> References: <6B313C19-10AD-4A08-A3D2-6ED9B9C02F0F@m-r-d.de> Message-ID: Yes, that is why I said it gets you half way there. :) Your subject implies that you are starting from a CSV file, so I would expect that you could read the data into LC with Richards function, then export as XML. Rename the file with a .xlsx extension, and see what Excel thinks of it. ~Roger On Mon, Mar 10, 2014 at 11:00 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Thanks Roger, > > i already knew this article. This article is a "must read" for everyone > who exports data to a .csv file. > > I need to create a real .xlsx file, not a .csv which can be imported into > Excel. > > I have numeric fields with numbers with leading zeros. These numbers would > loose their leading zeros if imported as .csv into Excel. > > Regards, > > Matthias Rebbe > > > > Am 10.03.2014 um 15:23 schrieb Roger Eller : > > > Hi Matthias, > > > > This will get you half way there, thanks to Richard Gaskin and Alex > > Tweedly. I use this function to bring in CSV files all the time. Works > > great! > > > > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > > > ~Roger > > > > > > On Mon, Mar 10, 2014 at 9:44 AM, Matthias Rebbe | M-R-D < > > matthias_livecode_150811 at m-r-d.de> wrote: > > > >> Hi, > >> > >> i know there is Zryip?s really excellent Excel Library for Livecode. > >> But for some reason i need to convert a .csv file to .xlsx with > Livecode on > >> a machine where no Excel is installed or will be installed. > >> > >> Does anyone have already done this with Livecode and would like to > share > >> her/his > >> solution? > >> > >> 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 > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 m.schonewille at economy-x-talk.com Mon Mar 10 11:17:34 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Mar 2014 16:17:34 +0100 Subject: properties vs local variable In-Reply-To: <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> Message-ID: <531DD78E.8010406@economy-x-talk.com> Hi Terry, The split command itself doesn't slow it down, because that happens outside the repeat loop. However, arrays appear not to be the fastest way to access data and apparently in this case the removal of the counter was not enough to compensate for the addition of the arrays. I see no thText in your original script. Perhaps you need to post more code, including the part that retrieves the data from the database all the way up to and including the part where it displays the data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/10/2014 16:07, Terence Heaford wrote: > Hi Mark, > > Have tried your adjustments to my script and it was a little slower than the original. > > Could that be because of the split command? > > I read the data in from an SQLite file in the return/tab delimited format. > > put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData > > then I pass the data to the group > > set thText of group ?myTable" of cd ?myCard" of stack ?myStack" to tData > > > I wonder if I split the data into an array and pass it directly to the group as an array if that would be quicker because there would be no need for the split to occur in the displayData routine? > > > All the best > > Terry From t.heaford at btinternet.com Mon Mar 10 11:30:34 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 15:30:34 +0000 Subject: properties vs local variable In-Reply-To: <531DD78E.8010406@economy-x-talk.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> Message-ID: Mark, Set thText is just a setProp routine in the group to receive the return/tab delimited data. thText then sets a custom property of the group plus the scrollbar settings depending on the number of lines in the data displayData is the only routine that places data into the fields. All the best Terry On 10 Mar 2014, at 15:17, Mark Schonewille wrote: > I see no thText in your original script. From dunbarx at aol.com Mon Mar 10 11:33:22 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 10 Mar 2014 11:33:22 -0400 (EDT) Subject: properties vs local variable In-Reply-To: <531DD78E.8010406@economy-x-talk.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> Message-ID: <8D10A8D342F25DB-1E58-26226@webmail-d238.sysops.aol.com> I tried a simple test. I placed 100,000 lines of text into a custom property and into a variable. I timed how long it took to directly access a single line, 10,000 times. It took 2 ticks for the custom property, and almost no time at all for the variable. So the custom property is slower, but still pretty fast. What really matters is other stuff. For example, in the same pair of setups, if I asked for "any line" of either the prop or the variable, the process took about 30 seconds. That function call took its sweet time. So the lesson here is to watch carefully what is a first order issue, and what is a fourth order issue. Craig Newman -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Mon, Mar 10, 2014 11:18 am Subject: Re: properties vs local variable Hi Terry, The split command itself doesn't slow it down, because that happens outside the repeat loop. However, arrays appear not to be the fastest way to access data and apparently in this case the removal of the counter was not enough to compensate for the addition of the arrays. I see no thText in your original script. Perhaps you need to post more code, including the part that retrieves the data from the database all the way up to and including the part where it displays the data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/10/2014 16:07, Terence Heaford wrote: > Hi Mark, > > Have tried your adjustments to my script and it was a little slower than the original. > > Could that be because of the split command? > > I read the data in from an SQLite file in the return/tab delimited format. > > put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData > > then I pass the data to the group > > set thText of group ?myTable" of cd ?myCard" of stack ?myStack" to tData > > > I wonder if I split the data into an array and pass it directly to the group as an array if that would be quicker because there would be no need for the split to occur in the displayData routine? > > > 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 matthias_livecode_150811 at m-r-d.de Mon Mar 10 11:33:33 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 10 Mar 2014 16:33:33 +0100 Subject: how to convert .csv to .xlsx with LC without Excel installed? In-Reply-To: References: <6B313C19-10AD-4A08-A3D2-6ED9B9C02F0F@m-r-d.de> Message-ID: Ah, now i understand what you meant. The new .xlsx files are not just .xml files. Prior to Excel 2007 they used to be just xml. But with Excel 2007 and higher they are zip-archives (with .xlsx extension) now which contain a little bit more than just an xml file. They are now in the OpenOffice XML format (ECMA-376). Regards, MAtthias Am 10.03.2014 um 16:12 schrieb Roger Eller : > Yes, that is why I said it gets you half way there. :) > > Your subject implies that you are starting from a CSV file, so I would > expect that you could read the data into LC with Richards function, then > export as XML. Rename the file with a .xlsx extension, and see what Excel > thinks of it. > > ~Roger > > > On Mon, Mar 10, 2014 at 11:00 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Thanks Roger, >> >> i already knew this article. This article is a "must read" for everyone >> who exports data to a .csv file. >> >> I need to create a real .xlsx file, not a .csv which can be imported into >> Excel. >> >> I have numeric fields with numbers with leading zeros. These numbers would >> loose their leading zeros if imported as .csv into Excel. >> >> Regards, >> >> Matthias Rebbe >> >> >> >> Am 10.03.2014 um 15:23 schrieb Roger Eller : >> >>> Hi Matthias, >>> >>> This will get you half way there, thanks to Richard Gaskin and Alex >>> Tweedly. I use this function to bring in CSV files all the time. Works >>> great! >>> >>> http://www.fourthworld.com/embassy/articles/csv-must-die.html >>> >>> ~Roger >>> >>> >>> On Mon, Mar 10, 2014 at 9:44 AM, Matthias Rebbe | M-R-D < >>> matthias_livecode_150811 at m-r-d.de> wrote: >>> >>>> Hi, >>>> >>>> i know there is Zryip?s really excellent Excel Library for Livecode. >>>> But for some reason i need to convert a .csv file to .xlsx with >> Livecode on >>>> a machine where no Excel is installed or will be installed. >>>> >>>> Does anyone have already done this with Livecode and would like to >> share >>>> her/his >>>> solution? >>>> >>>> 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 >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 sims at ezpzapps.com Mon Mar 10 11:58:30 2014 From: sims at ezpzapps.com (Jim sims) Date: Mon, 10 Mar 2014 15:58:30 +0000 Subject: set the location of an iPad menuPick In-Reply-To: <9819F1B1-DD37-4E5D-874A-BF3C20923BF5@icloud.com> References: <9819F1B1-DD37-4E5D-874A-BF3C20923BF5@icloud.com> Message-ID: Thanks for sending this Chris! Might be a few things there i can use. sims On Monday, March 10, 2014, Chris Sheffield wrote: > Sims, > > Not sure if you ever got a response to this or not, but as far as I know > there's no way to set the position using the built-in commands. However, > check out Monte's mergPop external at http://mergext.com/home/mergpop/. > You might be able to use the mergPopMenu command to accomplish what you > need. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Mar 9, 2014, at 5:03 AM, Ezpzapps > > wrote: > > > Anyone know how to set the location of an iPad menuPick (aka popup or > popover)? > > > > Am using 6.5.2 and the popup seems to work fine but seems no way to set > where it happens. > > > > TIA > > > > sims > > > > > > Sent from my iPodo, blame it for poor spellingk > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Sent from my iPodo - it makes weird spelling sometimes :-P From pete at lcsql.com Mon Mar 10 12:34:24 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 09:34:24 -0700 Subject: Cursor image Message-ID: I'm setting the cursor to the ID of an image that has its blendlevel set to 60 but the image appears as if its blendlevel were 0. I'm guessing there are some limitations on how an image is displayed when used as a cursor? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From alex at tweedly.net Mon Mar 10 12:44:15 2014 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 10 Mar 2014 16:44:15 +0000 Subject: properties vs local variable In-Reply-To: <8D10A8D342F25DB-1E58-26226@webmail-d238.sysops.aol.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> <8D10A8D342F25DB-1E58-26226@webmail-d238.sysops.aol.com> Message-ID: <531DEBDF.9000809@tweedly.net> On 10/03/2014 15:33, dunbarx at aol.com wrote: > I tried a simple test. I placed 100,000 lines of text into a custom property and into a variable. I timed how long it took to directly access a single line, 10,000 times. It took 2 ticks for the custom property, and almost no time at all for the variable. The question is - *which* "single line" did you test with ? with the same circumstances, accessing line 1 takes 3 msec line 5000 takes 349 msec > > So the custom property is slower, but still pretty fast. What really matters is other stuff. For example, in the same pair of setups, if I asked for "any line" of either the prop or the variable, the process took about 30 seconds. That function call took its sweet time. So the lesson here is to watch carefully what is a first order issue, and what is a fourth order issue. It's not just the "any" that takes the time, it's the fact that on average it will be equivalent to the middle line. -- Alex. From jacque at hyperactivesw.com Mon Mar 10 12:46:22 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 11:46:22 -0500 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> Message-ID: <531DEC5E.2050109@hyperactivesw.com> On 3/10/14, 7:15 AM, Terence Heaford wrote: > repeat for each item tCellData in tFldData > put tCellData into fld tFldNum of me > set the backgroundColor of fld tFldNum of me to tBackColor > set the foregroundColor of fld tFldNum of me to tForeColor > add 1 to tFldNum > end repeat This will be the speed bottleneck. Array access is very fast, faster than almost any other method. As noted here, variable access is the fastest, followed by access to custom properties, but the difference is so minimal as to be insignificant. But manipulating field content is one of the slowest things a script can do, for several reasons. So whenever possible, you need to minimize the number of times a script accesses a field. Locking the screen as you did to prevent redraw lag is a good start. That's sometimes enough for a small number of updates. If it isn't, grab the field content, manipulate it all at once, and then put it back. Since colors can only be applied directly to fields, you can't manipulate those in variable. But you can create htmltext and then set the field's htmltext at one go. In this case that's what I'd do. To get proper html for the field, just manually set up the field colors once and put the field's htmltext into the message box. Use that text as a template to script the changes. I frequently store template htmltext as a custom property of the field, with merge markers ("[[tBackColor]]"). Then when I need to update the htmltext, I use the merge command. It's a one-liner and very fast. I think if you use this method you will notice a dramatic increase in speed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From curry at pair.com Mon Mar 10 12:51:30 2014 From: curry at pair.com (Curry Kenworthy) Date: Mon, 10 Mar 2014 11:51:30 -0500 Subject: how to convert .csv to .xlsx with LC without Excel installed? (SpreadLib) In-Reply-To: References: Message-ID: <531DED92.8050608@pair.com> I talked to Matthias offlist but posting it here in case anyone else needs it: SpreadLib 0.2001 already had a rudimentary implementation of the export feature. See the "Export" section of the documentation file for details. http://curryk.com/Spreadlib02001.zip Export will be much improved in the upcoming release - we're also working on progress callbacks and big whopping files. SpreadLib is 100% LiveCode driven and does not require Excel to be installed. It's the original and genuine extension for native Excel format import in LiveCode. See the above link for download. It imports Excel files to LiveCode fields or arrays, and it has an extremely flexible option for any kind of array structure you desire. I also recommend rGrid as a nice alternative way to display. A WordLib update for the older legacy .doc format is also in the works. WordLib is likewise based on native import through LiveCode scripting goodness, no Word required, Mobile friendly. Those who purchased the Bundle (and maybe those who purchased non Bundle) will be receiving an email about WordLib soon with some extra info, and I've made a Quick Start video too. All videos are at this channel: https://www.youtube.com/user/currykconsulting (I'm going to try to start monitoring and posting more on this list again soon. Hopefully! For a while unfortunately I was forced to prioritize work over list presence. So I aim to be a more active presence here again this year if I can. Meanwhile, always feel free to write me directly if I don't see a list topic, or BCC me to a list posting if you want to ensure that I know about it. Thanks!) Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html WordReport: Template-driven MS Word and OpenOffice reports, from invoices and worksheets to catalogs and mail merge http://curryk.com/wordreport.html From cmsheffield at icloud.com Mon Mar 10 13:20:38 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 10 Mar 2014 11:20:38 -0600 Subject: OT: limitations in paid iOS apps Message-ID: <0ACE261A-C476-4CBA-A9C8-0C25831E1054@icloud.com> This isn?t directly LiveCode-related, but I?m looking to get some opinions on this from anyone who?s willing to share. I?m in the middle of working on a new app for my company. This is an educational app that could be used in either a classroom or home setting. It?s the type of app that requires a simple user management system. Basically just setting up user names so the app can track progress on a per-user basis. Nothing complex at all. The ?powers that be? have requested that the app have a 6-user limit per device. This will be a paid app. In my experience, most paid apps do not impose these types of limitations, and I?m trying to make an argument for doing away with this limitation. Has anyone else worked on or seen something similar? My main concern would be a scenario where a classroom teacher may only have a single iPad available to her, with a class size of 30 students. She?s not going to be too happy if she can only use the app with six students at a time. I?m very worried that our app ratings/reviews will be very poor if we release the app with this limitation. Am I just making something out of nothing? Is this not really as big a deal as I think it is? If anyone has an opinion, please share. Like I said, I?d like to try to come up with a good argument against this. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From dunbarx at aol.com Mon Mar 10 13:21:25 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 10 Mar 2014 13:21:25 -0400 (EDT) Subject: properties vs local variable In-Reply-To: <531DEBDF.9000809@tweedly.net> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> <8D10A8D342F25DB-1E58-26226@webmail-d238.sysops.aol.com> <531DEBDF.9000809@tweedly.net> Message-ID: <8D10A9C4C8182EF-1E58-27740@webmail-d238.sysops.aol.com> Alex. I had tried lines 3, 3000 and 7500. I did indeed only report the first value, likely because I wanted to slant my point about different types of processes overwhelming others in my favor. It is a character flaw. But I got very similar results with the other two: For line 3: 0 and 2 ticks For line 3000: 57 and 59 ticks For line 7500: 135 and 137 ticks The same offset, if you will, as the 0 and 2 that I got with line 3. Not sure why yours are so different. I had, with my 100,000 line list in "the testProp" of the card: on mouseUp --test variable get the ticks put the testProp of this cd into temp repeat 10000 put line 7500 of temp into xyz --put any line of temp into xyz --that other "process" end repeat answer the ticks - it end mouseUp on mouseUp --test custom Prop get the ticks repeat 10000 put line 7500 of the testProp of this cd into temp --put any line of the testprop of this cd into temp --that other "process" end repeat answer the ticks - it end mouseUp Craig -----Original Message----- From: Alex Tweedly To: use-livecode Sent: Mon, Mar 10, 2014 12:45 pm Subject: Re: properties vs local variable On 10/03/2014 15:33, dunbarx at aol.com wrote: > I tried a simple test. I placed 100,000 lines of text into a custom property and into a variable. I timed how long it took to directly access a single line, 10,000 times. It took 2 ticks for the custom property, and almost no time at all for the variable. The question is - *which* "single line" did you test with ? with the same circumstances, accessing line 1 takes 3 msec line 5000 takes 349 msec > > So the custom property is slower, but still pretty fast. What really matters is other stuff. For example, in the same pair of setups, if I asked for "any line" of either the prop or the variable, the process took about 30 seconds. That function call took its sweet time. So the lesson here is to watch carefully what is a first order issue, and what is a fourth order issue. It's not just the "any" that takes the time, it's the fact that on average it will be equivalent to the middle line. -- 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 From coiin at verizon.net Mon Mar 10 13:31:58 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Mar 2014 13:31:58 -0400 Subject: OT: limitations in paid iOS apps In-Reply-To: <0ACE261A-C476-4CBA-A9C8-0C25831E1054@icloud.com> References: <0ACE261A-C476-4CBA-A9C8-0C25831E1054@icloud.com> Message-ID: <1CC4EC85-FA7B-4838-92A9-3B97E49E7E5C@verizon.net> In this app: https://itunes.apple.com/us/app/the-big-moving-adventure/id740679545?mt=8 the users can set up a custom avatar (see the second screenshot). On starting the app the user can either start a new game or they can find their avatar by swiping a car (that appears where you see the truck). We decided to limit the number of remembered avatars to the last five users. That?s probably ok for most families who are moving house! The main issue was how hard it would be to find your avatar if your sibling had started up dozens of new games since you had your turn. Now, much of that wouldn?t apply to your case, you could scroll through a list of names to find the intended user. Perhaps you could present the last six users as icons, but with the ability to go back more in sets of six. The powers that be might think that it is limited to six, but it?s not really. From cmsheffield at icloud.com Mon Mar 10 13:43:12 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 10 Mar 2014 11:43:12 -0600 Subject: location of a chunk in a field Message-ID: I seem to remember a function or property that would give me the location of a chunk in a field. I have a field where I want to find the location for any given word in that field. Is this possible? Did I dream it? :-) I suppose it?s possible I had a custom function for this at one point and that?s what I?m thinking of. Any help would be appreciated. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From scott at tactilemedia.com Mon Mar 10 13:50:35 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 10 Mar 2014 10:50:35 -0700 Subject: location of a chunk in a field In-Reply-To: References: Message-ID: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> Hi Chris: Maybe formattedRect? Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Mar 10, 2014, at 10:43 AM, Chris Sheffield wrote: > > I seem to remember a function or property that would give me the location of a chunk in a field. I have a field where I want to find the location for any given word in that field. > > Is this possible? Did I dream it? :-) I suppose it?s possible I had a custom function for this at one point and that?s what I?m thinking of. > > Any help would be appreciated. > > 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 dale.hurtt at specitllc.com Mon Mar 10 13:52:33 2014 From: dale.hurtt at specitllc.com (Dale Hurtt) Date: Mon, 10 Mar 2014 10:52:33 -0700 Subject: OT: limitations in paid iOS apps Message-ID: Have you considered using In-App Purchases to sell additional "user licenses"? That way there is no hard limit on users, but you can still meet your requirement of licensing each user and can accommodate the teacher that uses a single device for more than six students. Personally I do not know if your scenario is realistic or not, but if someone pressed me to guess I would assume it is not, therefore not something to worry about. Any teacher considering using iOS software to teach is probably going to have to consider the logistics of how to allocate time with students using a limited number of devices. You give the example of 30 students and a single device. I don't see how any single student could effectively use your software (whatever it is) under those conditions. -- Regards, Dale Hurtt SPEC IT LLC dale.hurtt at specitllc.com This isn?t directly LiveCode-related, but I?m looking to get some opinions > on this from anyone who?s willing to share. > > I?m in the middle of working on a new app for my company. This is an > educational app that could be used in either a classroom or home setting. > It?s the type of app that requires a simple user management system. > Basically just setting up user names so the app can track progress on a > per-user basis. Nothing complex at all. The ?powers that be? have requested > that the app have a 6-user limit per device. This will be a paid app. > > In my experience, most paid apps do not impose these types of limitations, > and I?m trying to make an argument for doing away with this limitation. Has > anyone else worked on or seen something similar? My main concern would be a > scenario where a classroom teacher may only have a single iPad available to > her, with a class size of 30 students. She?s not going to be too happy if > she can only use the app with six students at a time. I?m very worried that > our app ratings/reviews will be very poor if we release the app with this > limitation. > > Am I just making something out of nothing? Is this not really as big a > deal as I think it is? If anyone has an opinion, please share. Like I said, > I?d like to try to come up with a good argument against this. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > From dunbarx at aol.com Mon Mar 10 14:05:37 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 10 Mar 2014 14:05:37 -0400 (EDT) Subject: location of a chunk in a field In-Reply-To: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> References: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> Message-ID: <8D10AA279255746-1E58-27E02@webmail-d238.sysops.aol.com> Hi. Would the "selectedLoc" help" But when you say "loc" do you in fact mean something like "the nineteenth word in line 3"? In other words, a chunk gadget as opposed to a cartesian gizmo? Craig Newman -----Original Message----- From: Scott Rossi To: How to use LiveCode Sent: Mon, Mar 10, 2014 1:51 pm Subject: Re: location of a chunk in a field Hi Chris: Maybe formattedRect? Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Mar 10, 2014, at 10:43 AM, Chris Sheffield wrote: > > I seem to remember a function or property that would give me the location of a chunk in a field. I have a field where I want to find the location for any given word in that field. > > Is this possible? Did I dream it? :-) I suppose it?s possible I had a custom function for this at one point and that?s what I?m thinking of. > > Any help would be appreciated. > > 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 jacque at hyperactivesw.com Mon Mar 10 14:08:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 13:08:02 -0500 Subject: location of a chunk in a field In-Reply-To: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> References: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> Message-ID: <531DFF82.7030602@hyperactivesw.com> Chris Sheffield wrote: > I seem to remember a function or property that would give me the > location of a chunk in a field. I have a field where I want to find > the location for any given word in that field. SelectedLoc? It does require a selection though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 10 14:10:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 13:10:17 -0500 Subject: location of a chunk in a field In-Reply-To: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> References: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> Message-ID: <531E0009.9040204@hyperactivesw.com> On 3/10/14, 12:50 PM, Scott Rossi wrote: > Maybe formattedRect? That's better than my suggestion. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Mar 10 14:38:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Mar 2014 20:38:23 +0200 Subject: Cursor image In-Reply-To: References: Message-ID: <531E069F.1010505@gmail.com> On 10/03/14 18:34, Peter Haworth wrote: > I'm setting the cursor to the ID of an image that has its blendlevel set to > 60 but the image appears as if its blendlevel were 0. I'm guessing there > are some limitations on how an image is displayed when used as a cursor? > > Pete > Of course one of the ways to get around this would be to save your cursor image as a PNG image with GIMP with the transparency set to level you want. Then import it into Livecode and use it as before. Richmond. From cmsheffield at icloud.com Mon Mar 10 15:29:28 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 10 Mar 2014 13:29:28 -0600 Subject: location of a chunk in a field In-Reply-To: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> References: <6B5629B6-3EA6-4FB2-B76F-EB3FF402D40E@tactilemedia.com> Message-ID: <94C91158-3C93-442A-A668-FD0977526570@icloud.com> Yes, formattedRect looks right. Thanks, Scott. On Mar 10, 2014, at 11:50 AM, Scott Rossi wrote: > Hi Chris: > > Maybe formattedRect? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Mar 10, 2014, at 10:43 AM, Chris Sheffield wrote: >> >> I seem to remember a function or property that would give me the location of a chunk in a field. I have a field where I want to find the location for any given word in that field. >> >> Is this possible? Did I dream it? :-) I suppose it?s possible I had a custom function for this at one point and that?s what I?m thinking of. >> >> Any help would be appreciated. >> >> 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 t.heaford at btinternet.com Mon Mar 10 15:29:46 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 19:29:46 +0000 Subject: properties vs local variable In-Reply-To: <531DEC5E.2050109@hyperactivesw.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> Message-ID: <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> I?m trying to understand your solution but having looked at htmlText of field I am not getting it. I follow that changing the colour of the field is time consuming. Are you suggesting I can change the colour of the field using the htmlText and the merge command? A sample line would be useful because I am not familiar with using the htmlText. I am familiar with merge. Can you provide a sample line that would place some text in a field and change the backgroundColor of the field. All the best Terry On 10 Mar 2014, at 16:46, J. Landman Gay wrote: > Since colors can only be applied directly to fields, you can't manipulate those in variable. But you can create htmltext and then set the field's htmltext at one go. In this case that's what I'd do. To get proper html for the field, just manually set up the field colors once and put the field's htmltext into the message box. Use that text as a template to script the changes. I frequently store template htmltext as a custom property of the field, with merge markers ("[[tBackColor]]"). Then when I need to update the htmltext, I use the merge command. It's a one-liner and very fast. > > I think if you use this method you will notice a dramatic increase in speed. From jacque at hyperactivesw.com Mon Mar 10 15:52:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 14:52:00 -0500 Subject: properties vs local variable In-Reply-To: <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> Message-ID: <531E17E0.5020507@hyperactivesw.com> On 3/10/14, 2:29 PM, Terence Heaford wrote: > Are you suggesting I can change the colour of the field using the > htmlText and the merge command? Yes. > A sample line would be useful because I am not familiar with using > the htmlText. I am familiar with merge. Okay. Usually I set up styling, colors, etc. manually one time just so I can get the htmltext easily. Since you're iterating over a longish list, just set up the styling of a single line. Then I put the htmltext of the field into the message box, just so I have something to copy. Say it gives me this:

This is text with an emphasized word.

I copy/paste that somewhere I can edit it and replace the literal text with merge markers:

This is text with a emphasized word.

I save that as a custom property of the field, or whatever. Say it's called "cHTML". In the handler: put "blue" into tColor -- load the variable that merge will use set the htmltext of fld 1 to merge(the cHTML of fld 1) And it pops in all formatted. In your handler you'd want to loop through all the lines in the data, changing the color variables as you go, and append a merge of the template line until you've got them all done. Then set the htmltext of the field to the variable. I wrote the above without testing, so it may need tweaking. But that's the idea. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Mon Mar 10 15:55:17 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 10 Mar 2014 12:55:17 -0700 Subject: Cursor image In-Reply-To: <531E069F.1010505@gmail.com> References: <531E069F.1010505@gmail.com> Message-ID: No need for GIMP in this case? export snapshot from img "myCursorImg" to tImg as PNG set the blendLevel of img "myCursorImg" to 0 put tImg into img "myCursorImg" Also you could store the text of the original image in a custom prop to reset it if necessary. Paul On 2014-03-10, at 11:38 AM, Richmond wrote: > On 10/03/14 18:34, Peter Haworth wrote: >> I'm setting the cursor to the ID of an image that has its blendlevel set to >> 60 but the image appears as if its blendlevel were 0. I'm guessing there >> are some limitations on how an image is displayed when used as a cursor? >> >> Pete >> > > Of course one of the ways to get around this would be to save your cursor image as a PNG image with GIMP > with the transparency set to level you want. > > Then import it into Livecode and use it as before. > > 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 m.schonewille at economy-x-talk.com Mon Mar 10 16:00:35 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Mar 2014 21:00:35 +0100 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> Message-ID: <531E19E3.5050407@economy-x-talk.com> Hi Terry, Since the arrays don't add any efficiency in this case (as expected), perhaps it is a good idea to use a different approach. I understand that even fields should always have backColor 62,117,215 and white as the foreColor, unless line tLineNum of tSelectedData is not true. If line tLineNum of tSelectedData is not true, then you want even end odd fields to have different colours. There are a few ways to increase speed here. First of all, you can make a group with colorized fields. Depending on how often line tLineNum of tSelectedData is true or false, you can give fields the required colours and only set the foreColor and backColor of a field if it has to change. This could increase speed by almost 50%, again depending on the values of line tLineNum of tSelectedData. You can also change the repeat loop, using constants instead of variables. If I'm not mistaken, your repeat loop should now look like this: repeat for each line tRecData in tData put item 1 to tCols of tRecData into tFldData put 1 into tFldNum if line tLineNum of tSelectedData = true then // commenting out the following lines, // assuming fields have these colours by default // put "62,117,215" into tBackColor // put "255,255,255" into tForeColor repeat for each item tCellData in tFldData put tCellData into fld tFldNum of me // the next two lines should no longer be necessary // set the backgroundColor of fld tFldNum of me to // tBackColor // set the foregroundColor of fld tFldNum of me to // tForeColor add 1 to tFldNum end repeat else if tLineNum mod 2 = 0 then repeat for each item tCellData in tFldData put tCellData into fld tFldNum of me set the backgroundColor of fld tFldNum of me to \ "244,246,250" set the foregroundColor of fld tFldNum of me to black add 1 to tFldNum end repeat else repeat for each item tCellData in tFldData put tCellData into fld tFldNum of me set the backgroundColor of fld tFldNum of me to white set the foregroundColor of fld tFldNum of me to black add 1 to tFldNum end repeat end if end if add 1 to tLineNum end repeat This could be a little faster. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/10/2014 16:30, Terence Heaford wrote: > Mark, > > Set thText is just a setProp routine in the group to receive the return/tab delimited data. > > thText then sets a custom property of the group plus the scrollbar settings depending on the number of lines in the data > > displayData is the only routine that places data into the fields. > > > All the best > > Terry > From pete at lcsql.com Mon Mar 10 16:04:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 13:04:18 -0700 Subject: properties vs local variable In-Reply-To: <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> Message-ID: A sample line would be: colorspec and bgcolor spec are a hash mark followed by three hex numbers representing the rgb color. I think you can use a color name too but not sure. So using one of your examples you would set the htmltext of field x to " this is my text Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Mar 10, 2014 at 12:29 PM, Terence Heaford wrote: > I'm trying to understand your solution but having looked at htmlText of > field I am not getting it. > > I follow that changing the colour of the field is time consuming. > > Are you suggesting I can change the colour of the field using the htmlText > and the merge command? > > A sample line would be useful because I am not familiar with using the > htmlText. I am familiar with merge. > > Can you provide a sample line that would place some text in a field and > change the backgroundColor of the field. > > All the best > > Terry > > > On 10 Mar 2014, at 16:46, J. Landman Gay wrote: > > > Since colors can only be applied directly to fields, you can't > manipulate those in variable. But you can create htmltext and then set the > field's htmltext at one go. In this case that's what I'd do. To get proper > html for the field, just manually set up the field colors once and put the > field's htmltext into the message box. Use that text as a template to > script the changes. I frequently store template htmltext as a custom > property of the field, with merge markers ("[[tBackColor]]"). Then when I > need to update the htmltext, I use the merge command. It's a one-liner and > very fast. > > > > I think if you use this method you will notice a dramatic increase in > speed. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Mon Mar 10 16:38:41 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 20:38:41 +0000 Subject: properties vs local variable In-Reply-To: <531E19E3.5050407@economy-x-talk.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> <531E19E3.5050407@economy-x-talk.com> Message-ID: <509B4BAE-0AD2-46E7-A1DD-C6EE67F3F527@btinternet.com> Hi Mark, Thanks once again. All your comments are valid and there is certainly no need to change the field colour unless tSelectedData is not true. So, I think your method is marginally quicker but is probably held back from being even quicker by the extra if then constructs. I will now explore the htmlText solution to see what that results in. Bit more time needed with this one to modify my routine and get my head around it because I have not used htmlText before. All the best Terry On 10 Mar 2014, at 20:00, Mark Schonewille wrote: > Since the arrays don't add any efficiency in this case (as expected), perhaps it is a good idea to use a different approach. I understand that even fields should always have backColor 62,117,215 and white as the foreColor, unless line tLineNum of tSelectedData is not true. If line tLineNum of tSelectedData is not true, then you want even end odd fields to have different colours. There are a few ways to increase speed here. > > First of all, you can make a group with colorized fields. Depending on how often line tLineNum of tSelectedData is true or false, you can give fields the required colours and only set the foreColor and backColor of a field if it has to change. This could increase speed by almost 50%, again depending on the values of line tLineNum of tSelectedData. > > You can also change the repeat loop, using constants instead of variables. If I'm not mistaken, your repeat loop should now look like this: From m.schonewille at economy-x-talk.com Mon Mar 10 16:41:16 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Mar 2014 21:41:16 +0100 Subject: properties vs local variable In-Reply-To: <509B4BAE-0AD2-46E7-A1DD-C6EE67F3F527@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> <531E19E3.5050407@economy-x-talk.com> <509B4BAE-0AD2-46E7-A1DD-C6EE67F3F527@btinternet.com> Message-ID: <531E236C.5060301@economy-x-talk.com> Hi Terry, Keep us posted. I'm really curious which solution appears to be significantly faster. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/10/2014 21:38, Terence Heaford wrote: > Hi Mark, > > Thanks once again. All your comments are valid and there is certainly no need to change the field colour unless tSelectedData is not true. > > So, I think your method is marginally quicker but is probably held back from being even quicker by the extra if then constructs. > > I will now explore the htmlText solution to see what that results in. Bit more time needed with this one to modify my routine and get my head around it because I have not used htmlText before. > > All the best > > Terry > From t.heaford at btinternet.com Mon Mar 10 16:59:58 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 10 Mar 2014 20:59:58 +0000 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> Message-ID: <38B0FCD7-26AE-45D5-B1B0-F51C5511ADF5@btinternet.com> Thanks for your help. It did not work initially but a bit of google identified the # is not required with RGB colours. However, when using this it only colours the bgcolor behind the text and not the whole field. Here is my test script. put "255,255,255" into tFontColor put "62,117,215" into tBackColor put "This is my text" into tText put merge(" [[tText]] ") into tHTML set the htmlText of fld "result" to tHTML As it?s HTML I am assuming it?s not possible to colour the whole field using this method? All the best Terry On 10 Mar 2014, at 20:04, Peter Haworth wrote: > So using one of your examples you would set the htmltext of field x to > " this is my text From pete at lcsql.com Mon Mar 10 17:41:21 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 14:41:21 -0700 Subject: properties vs local variable In-Reply-To: <531E17E0.5020507@hyperactivesw.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> Message-ID: There's another approach to this that does away with the need to set colors at all. Some folks on this list have shown me in the past how to create an image with its fillgradient set in such a way that it has alternating lines in the required colors at the same height as the line height you are dealing with, then setting it as a backgroundpattern. I've always used this in conjunction with a scrolling field with many lines of data but it sounds this table is made up of many text fields, probably grouped, so I tried it with a group of text fields.. Set the group's backgroundpattern to the id of the image. Set the group's opaque to true. Set the opaque of the fields in the group to false. All works fine. Group can be resized and the backgroundpattern adjusts accordingly and you no longer need any code to set line colors except for indicating the selectedline which I'd probably do with another image with an appropriate background which gets positioned wherever the user clicks. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Mon Mar 10 17:42:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 14:42:51 -0700 Subject: properties vs local variable In-Reply-To: <38B0FCD7-26AE-45D5-B1B0-F51C5511ADF5@btinternet.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <38B0FCD7-26AE-45D5-B1B0-F51C5511ADF5@btinternet.com> Message-ID: I'm guessing the opaque property of the fields is true - try setting it false and see what happens. Also just made another post with a way to do this without setting any line colors. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Mar 10, 2014 at 1:59 PM, Terence Heaford wrote: > Thanks for your help. > > It did not work initially but a bit of google identified the # is not > required with RGB colours. > > However, when using this it only colours the bgcolor behind the text and > not the whole field. > > Here is my test script. > > put "255,255,255" into tFontColor > put "62,117,215" into tBackColor > put "This is my text" into tText > put merge(" bgcolor=[[quote]][[tBackColor]][[quote]]> [[tText]] ") into tHTML > set the htmlText of fld "result" to tHTML > > As it's HTML I am assuming it's not possible to colour the whole field > using this method? > > All the best > > Terry > > On 10 Mar 2014, at 20:04, Peter Haworth wrote: > > > So using one of your examples you would set the htmltext of field x to > > " this is my text > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 10 18:12:33 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 17:12:33 -0500 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> Message-ID: <531E38D1.20604@hyperactivesw.com> On 3/10/14, 4:41 PM, Peter Haworth wrote: > Some folks on this list have shown me in the past how to create an image > with its fillgradient set in such a way that it has alternating lines in > the required colors at the same height as the line height you are dealing > with, then setting it as a backgroundpattern. Somewhere along the way I missed the idea that we're only setting line colors. Is that all we're doing? It could all be a single field if that's the case and the entire content could be updated in one go. If that's the goal, it can all be scripted in a single field. You don't need the background image hack any more. The new field properties can handle it. I've got a handler somewhere that does it, but I have to go dig it up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon Mar 10 18:43:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 15:43:52 -0700 Subject: properties vs local variable In-Reply-To: <531E38D1.20604@hyperactivesw.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> <531E38D1.20604@hyperactivesw.com> Message-ID: If I remember the genesis of all this correctly, Terence wants to use a table made up of individual fields for each column because, amongst other things, you can't right justify data within a tabstop. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Mar 10, 2014 at 3:12 PM, J. Landman Gay wrote: > On 3/10/14, 4:41 PM, Peter Haworth wrote: > >> Some folks on this list have shown me in the past how to create an image >> with its fillgradient set in such a way that it has alternating lines in >> the required colors at the same height as the line height you are dealing >> with, then setting it as a backgroundpattern. >> > > Somewhere along the way I missed the idea that we're only setting line > colors. Is that all we're doing? It could all be a single field if that's > the case and the entire content could be updated in one go. > > If that's the goal, it can all be scripted in a single field. You don't > need the background image hack any more. The new field properties can > handle it. I've got a handler somewhere that does it, but I have to go dig > it up. > > > -- > 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 jacque at hyperactivesw.com Mon Mar 10 19:04:56 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 18:04:56 -0500 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> <531E38D1.20604@hyperactivesw.com> Message-ID: <531E4518.6010100@hyperactivesw.com> On 3/10/14, 5:43 PM, Peter Haworth wrote: > If I remember the genesis of all this correctly, Terence wants to use a > table made up of individual fields for each column because, amongst other > things, you can't right justify data within a tabstop. Oh, okay. Then yes, he needs fields. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Mon Mar 10 20:09:54 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Mar 2014 00:09:54 +0000 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> <531E38D1.20604@hyperactivesw.com> Message-ID: <531E5452.5030305@tweedly.net> On 10/03/2014 22:43, Peter Haworth wrote: > If I remember the genesis of all this correctly, Terence wants to use a > table made up of individual fields for each column because, amongst other > things, you can't right justify data within a tabstop. > So he does need fields. He can take advantage of inheritance for backgroundColor and foregroundCoor - create a group per line of display, with the fields for each column within it - set the colors for the overall group, and only modify those for lines which need it (as Mark did earlier) - set colors for those lines that need it (and inherit those settings for all the columns in that line I suspect that (along with other improvements earlier) would be enough to make any further changes academic - and Terence should be wary of spending mor effort on diminishing and unneeded returns. But if there is still a real performance issue that is visible and troubling, then we can start on harder measures. The original problem was stated in the context of scrolling speed. If that is scrolling by page, or to arbitrary scroll settings, that's probably as good as we can do. But if the real problem shows up when scrolling line-by-line, then we could consider a different approach. Use the "group per line of display" as above, but instead of re-writing all the lines of data just to scroll one line, simply re-position each line-group, and write in new text values for the one line that has to be newly displayed. -- Alex. From pete at lcsql.com Mon Mar 10 21:10:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 18:10:10 -0700 Subject: properties vs local variable In-Reply-To: <531E5452.5030305@tweedly.net> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> <531E38D1.20604@hyperactivesw.com> <531E5452.5030305@tweedly.net> Message-ID: And pretty soon, he'll back to what the datagrid does :-) Not that there's anything wrong with that but there's a crying need for something that fits between LC's basic table object and the datagrid when the requirements warrant it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Mar 10, 2014 at 5:09 PM, Alex Tweedly wrote: > On 10/03/2014 22:43, Peter Haworth wrote: > >> If I remember the genesis of all this correctly, Terence wants to use a >> table made up of individual fields for each column because, amongst other >> things, you can't right justify data within a tabstop. >> >> So he does need fields. > > He can take advantage of inheritance for backgroundColor and foregroundCoor > - create a group per line of display, with the fields for each column > within it > > - set the colors for the overall group, and only modify those for lines > which need it (as Mark did earlier) > > - set colors for those lines that need it (and inherit those settings > for all the columns in that line > > I suspect that (along with other improvements earlier) would be enough to > make any further changes academic - and Terence should be wary of spending > mor effort on diminishing and unneeded returns. > > But if there is still a real performance issue that is visible and > troubling, then we can start on harder measures. > > The original problem was stated in the context of scrolling speed. If that > is scrolling by page, or to arbitrary scroll settings, that's probably as > good as we can do. But if the real problem shows up when scrolling > line-by-line, then we could consider a different approach. Use the "group > per line of display" as above, but instead of re-writing all the lines of > data just to scroll one line, simply re-position each line-group, and write > in new text values for the one line that has to be newly displayed. > > -- 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 > From pete at lcsql.com Mon Mar 10 22:04:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Mar 2014 19:04:54 -0700 Subject: Crowd Funding Enhancements In-Reply-To: References: <52FA412B.9070309@fourthworld.com> <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> Message-ID: Here's one I'd like to see: the use of "each" in conjunction with chunk expressions. For example: delete item 4 of each line of tVar put item 1 to 3 of each line of tVar into tSave replace word 1 of each item of each line with "xyz" in tVar Maybe even: put tArray[each key]["LastName"] & return into tNames Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 8, 2014 at 4:01 PM, Mike Kerner wrote: > Hmm. Thanks, Mark. I might try that. It's undoable, which is great for > when I'm not staring at 9 or 10 point... > > > On Sat, Mar 8, 2014 at 4:48 PM, Mark Wieder > wrote: > > > Mike- > > > > Saturday, March 8, 2014, 1:12:50 PM, you wrote: > > > > > OSX 10.9.2, and I'm a little surprised, because I've been involved with > > > several development tools where developers requested that antialiasing > be > > > removed in the IDE. At smaller sizes, it definitely makes the text > > harder > > > to read. > > > > If it really bothers you, try this: > > > > defaults write -g AppleFontSmoothing -int 1 > > sudo defaults write -g AppleFontSmoothing -int 1 > > > > < > > > https://superuser.com/questions/457153/getting-crisper-fonts-in-os-x-after-switching-from-windows > > > > > > > -- > > -Mark Wieder > > ahsoftware at gmail.com > > > > This communication may be unlawfully collected and stored by the National > > Security Agency (NSA) in secret. The parties to this email do not > > consent to the retrieving or storing of this communication and any > > related metadata, as well as printing, copying, re-transmitting, > > disseminating, or otherwise using it. If you believe you have received > > this communication in error, please delete it immediately. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 jacque at hyperactivesw.com Mon Mar 10 22:15:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 21:15:23 -0500 Subject: Crowd Funding Enhancements In-Reply-To: References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> Message-ID: <531E71BB.6070304@hyperactivesw.com> On 3/10/14, 9:04 PM, Peter Haworth wrote: > Here's one I'd like to see: the use of "each" in conjunction with chunk > expressions. For example: > > delete item 4 of each line of tVar > > put item 1 to 3 of each line of tVar into tSave > > replace word 1 of each item of each line with "xyz" in tVar > > Maybe even: > > put tArray[each key]["LastName"] & return into tNames That'd be nice. And as long as we're dreaming, how about: repeat for each card c in this stack repeat for each button b of this card ...and like that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 10 22:16:42 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Mar 2014 21:16:42 -0500 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> <531E38D1.20604@hyperactivesw.com> Message-ID: <531E720A.6050208@hyperactivesw.com> On 3/10/14, 5:43 PM, Peter Haworth wrote: > If I remember the genesis of all this correctly, Terence wants to use a > table made up of individual fields for each column because, amongst other > things, you can't right justify data within a tabstop. I'd like to see an image of what it's supposed to be, so at least I'd know what to aim for. Picture, thousand words, etc. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at btinternet.com Tue Mar 11 03:29:25 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 11 Mar 2014 07:29:25 +0000 Subject: Crowd Funding Enhancements In-Reply-To: <531E71BB.6070304@hyperactivesw.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> Message-ID: <6B4F87E1-1C20-447B-8C43-E53EDD8A486E@btinternet.com> Here?s one I?d like to see. ?Native controls in the Cocoa Port?. Oh dear, I thought we were already getting that one. All the best Terry From t.heaford at btinternet.com Tue Mar 11 04:14:06 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 11 Mar 2014 08:14:06 +0000 Subject: properties vs local variable In-Reply-To: References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> <70E72798-B55D-4A3D-88E7-609A2100329C@btinternet.com> <531E17E0.5020507@hyperactivesw.com> Message-ID: <0D624BC8-5C95-4471-99B2-E7A7AA106EF3@btinternet.com> Thanks Peter, I think this what the data grid does. I can see how this works having changed to colour of the group as an experiment. How would I deal with non contiguous selections? Create an image for each one? This is starting to sound expensive time wise. All the best Terry On 10 Mar 2014, at 21:41, Peter Haworth wrote: > There's another approach to this that does away with the need to set colors > at all. > > Some folks on this list have shown me in the past how to create an image > with its fillgradient set in such a way that it has alternating lines in > the required colors at the same height as the line height you are dealing > with, then setting it as a backgroundpattern. > > I've always used this in conjunction with a scrolling field with many lines > of data but it sounds this table is made up of many text fields, probably > grouped, so I tried it with a group of text fields.. > > Set the group's backgroundpattern to the id of the image. Set the group's > opaque to true. Set the opaque of the fields in the group to false. All > works fine. Group can be resized and the backgroundpattern adjusts > accordingly and you no longer need any code to set line colors except for > indicating the selectedline which I'd probably do with another image with > an appropriate background which gets positioned wherever the user clicks. > From t.heaford at btinternet.com Tue Mar 11 05:02:19 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 11 Mar 2014 09:02:19 +0000 Subject: properties vs local variable In-Reply-To: <531E236C.5060301@economy-x-talk.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DC7E4.6040505@economy-x-talk.com> <4C3071C2-2E0C-47DD-9B0F-E744586AC170@btinternet.com> <8678B695-9B5F-4A04-9D8B-064A6DEC26A9@btinternet.com> <531DD78E.8010406@economy-x-talk.com> <531E19E3.5050407@economy-x-talk.com> <509B4BAE-0AD2-46E7-A1DD-C6EE67F3F527@btinternet.com> <531E236C.5060301@economy-x-talk.com> Message-ID: <0A2AF223-AAC9-4A4C-831E-E024CBB589C6@btinternet.com> Mark, I am now running this script to test the speed: on mouseUp put the milliseconds into tS repeat 100 times send "displayData 1" to group ?myTable" end repeat put the milliseconds - ts into fld "result" beep end mouseUp Your last effort averaged over three attempts was 4782 ms when compared to my original of 4841 ms resulting in a saving of 1.22%. I am sure there are more scientific ways to do this kind of testing but I think it?s near enough for me. To me, the result would suggest there is not much more we can do with the basic script to speed things up? All the best Terry On 10 Mar 2014, at 20:41, Mark Schonewille wrote: > Keep us posted. I'm really curious which solution appears to be significantly faster. From ambassador at fourthworld.com Tue Mar 11 08:33:43 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Mar 2014 05:33:43 -0700 Subject: properties vs local variable In-Reply-To: References: Message-ID: <531F02A7.2060507@fourthworld.com> Peter Haworth wrote: > If I remember the genesis of all this correctly, Terence wants to use a > table made up of individual fields for each column because, amongst other > things, you can't right justify data within a tabstop. The field object rewrite is almost done, but there's still one critical item missing: tabAlign To be frank, I'm not sure how it got as far as flaggedText and the styledText array without first doing tabAlign. The DataGrid is a beautiful solution for form layouts, but for list views its complexity is needed only because we don't have independent alignment for the field object. As a form, the DG performs roughly on par with similar views, like those from from Apple in Automator; such things are inherently complex and we expect a certain reduced performance with those. Apple's very picky, in a good way, and if the slowest-of-anything-in-their-UIs performance that the Automator action list delivers is good enough for them, it should be good enough for us. But lists are different. We have high expectations for them because they're so common. And one of the common uses for lists is to display numbers, which are often right-aligned, and with financial numbers must be. LiveCode's field object performs very well compared to the scrolling of large blocks of text in either Word or Excel; all in all, it's a fine piece of work. Except for the mysterious absence of tabAlign. The token is reserved, and has been for many years. Yet somehow we got things like flagged ranges, while we still need this critical alignment functionality. I'd love to see that finished soon. We need it. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Tue Mar 11 09:43:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Mar 2014 15:43:23 +0200 Subject: tabAlign Message-ID: <531F12FB.2080807@gmail.com> Look what I found lurking in the undergrowth: https://github.com/runrev/livecode/blob/master/engine/src/lextable.cpp waiting to "come out of the closet"? Richmond. From MikeKerner at roadrunner.com Tue Mar 11 10:38:05 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Mar 2014 10:38:05 -0400 Subject: Crowd Funding Enhancements In-Reply-To: <6B4F87E1-1C20-447B-8C43-E53EDD8A486E@btinternet.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <6B4F87E1-1C20-447B-8C43-E53EDD8A486E@btinternet.com> Message-ID: I also like expanding the reach of each. On Tue, Mar 11, 2014 at 3:29 AM, Terence Heaford wrote: > Here's one I'd like to see. > > "Native controls in the Cocoa Port". > > Oh dear, I thought we were already getting that one. > > > 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 > -- 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 mgruenthal at mac.com Tue Mar 11 10:41:33 2014 From: mgruenthal at mac.com (Michael Gruenthal) Date: Tue, 11 Mar 2014 10:41:33 -0400 Subject: Multi user sqlite via shared-cache mode? Message-ID: I?m interested in having a small (<20) number of users simultaneously connected to an sqlite DB on a shared network drive as an alternative to hosting on a server. I found some old (2010) discussions about this without a clear answer. I?m wondering if sqlite share-cache mode will permit this. I have a very rudimentary understanding of SQL so perhaps I?m misunderstanding what shared-cache mode does, but I?m hoping that the upgraded sqlite support in LC 6.6 in combination with shared-cache mode will allow at least a limited number of concurrent connections. If so, does anyone know if there?s a way to use revOpenDatabase() to open a connection with shared-cache mode enabled? If I understand correctly it is disabled by default. Thanks. Michael From bvg at mac.com Tue Mar 11 11:09:25 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 11 Mar 2014 16:09:25 +0100 Subject: disable mousedoubleup Message-ID: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> Hi I wanted to disable mousedoubleup for a short time on a specific object, but it seems it's not possible to do this whit the doubleclickinterval, as that is not available on windows. The problem is of course that in this stack people will click very fast and the double events will then "swallow" some of the interactions. Is there any other workaround to react to the mouse events, but none of the double ones? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From devin_asay at byu.edu Tue Mar 11 11:44:50 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 11 Mar 2014 15:44:50 +0000 Subject: disable mousedoubleup In-Reply-To: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> References: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> Message-ID: On Mar 11, 2014, at 9:09 AM, Bj?rnke von Gierke wrote: > Hi > > I wanted to disable mousedoubleup for a short time on a specific object, but it seems it's not possible to do this whit the doubleclickinterval, as that is not available on windows. > > The problem is of course that in this stack people will click very fast and the double events will then "swallow" some of the interactions. Is there any other workaround to react to the mouse events, but none of the double ones? > Bj?rnke, Could flushEvents() be helpful in this situation? Maybe something like this: on mouseDoubleUp send "mouseUp" to me end mouseDoubleUp on mouseUp # if the handler hasn't finished, or some predetermined time period hasn't elapsed: flushEvents("mouseUp") end mouseUp Not tested, just thinking out loud. Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From dunbarx at aol.com Tue Mar 11 12:09:13 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 11 Mar 2014 12:09:13 -0400 (EDT) Subject: disable mousedoubleup In-Reply-To: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> References: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> Message-ID: <8D10B5B613DB2A0-1E58-2FBBD@webmail-d238.sysops.aol.com> Hi. This goes back a long, long way. And there was a thread just a few months ago. I think I am rewriting from memory: on mouseUp wait 20 if the mouseClick then doDoubleStuff else doSingleStuff end mouseUp on mouseDoubleUp end mouseDoubleUp Seemed clever in 1987. A little long in the tooth now, but works. Craig -----Original Message----- From: Bj?rnke von Gierke To: How to use LiveCode Sent: Tue, Mar 11, 2014 11:10 am Subject: disable mousedoubleup Hi I wanted to disable mousedoubleup for a short time on a specific object, but it seems it's not possible to do this whit the doubleclickinterval, as that is not available on windows. The problem is of course that in this stack people will click very fast and the double events will then "swallow" some of the interactions. Is there any other workaround to react to the mouse events, but none of the double ones? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ _______________________________________________ use-livecode mailing list use-livecode 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 pete at lcsql.com Tue Mar 11 12:34:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Mar 2014 09:34:44 -0700 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: Hi Michael You can find more info about this at http://www.sqlite.org/atomiccommit.html#brokenlocks In general, it's risky accessing SQlite databases over a network unless you are only querying the database and not doing any insert/update/delete operations for the reasons explained in the link. Usually, options like shared cache are turned on and off using PRAGMA statements but I couldn't find one for this purpose. It looks like you enable shared cache when the database is opened by using a filepath similar to: file:?cache=shared when calling revOpenDatabase but I haven't tried it so not sure if LC would accept it. If it doesn't, we should probably file a bug report. There are some client/server tools out there for SQLite. Some are listed at http://www.sqlite.org/cvstrac/wiki?p=SqliteNetwork and no doubt a Google search will find others. I've never tried any of them so not sure how well they play with LC. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 11, 2014 at 7:41 AM, Michael Gruenthal wrote: > I?m interested in having a small (<20) number of users simultaneously > connected to an sqlite DB on a shared network drive as an alternative to > hosting on a server. I found some old (2010) discussions about this without > a clear answer. I?m wondering if sqlite share-cache mode will permit this. > I > have a very rudimentary understanding of SQL so perhaps I?m > misunderstanding > what shared-cache mode does, but I?m hoping that the upgraded sqlite > support > in LC 6.6 in combination with shared-cache mode will allow at least a > limited number of concurrent connections. > > If so, does anyone know if there?s a way to use revOpenDatabase() to open a > connection with shared-cache mode enabled? If I understand correctly it is > disabled by default. Thanks. > > Michael > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Tue Mar 11 13:02:43 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Mar 2014 10:02:43 -0700 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: Hi Michael, I just verified that URI filenames don't work in LC v6.6 and have filed bug report # 11919. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 11, 2014 at 7:41 AM, Michael Gruenthal wrote: > I?m interested in having a small (<20) number of users simultaneously > connected to an sqlite DB on a shared network drive as an alternative to > hosting on a server. I found some old (2010) discussions about this without > a clear answer. I?m wondering if sqlite share-cache mode will permit this. > I > have a very rudimentary understanding of SQL so perhaps I?m > misunderstanding > what shared-cache mode does, but I?m hoping that the upgraded sqlite > support > in LC 6.6 in combination with shared-cache mode will allow at least a > limited number of concurrent connections. > > If so, does anyone know if there?s a way to use revOpenDatabase() to open a > connection with shared-cache mode enabled? If I understand correctly it is > disabled by default. Thanks. > > Michael > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 11 13:05:54 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 11 Mar 2014 17:05:54 +0000 Subject: MSSQL Support? Message-ID: Has anyone had any success querying MSSQL? I suppose it could be done via shell, but I?m not sure I want to go that route. ODBC seems fairly clunky to implement as well, and I?m not sure MS even supports ODBC for MSSQL. Bob From roger.e.eller at sealedair.com Tue Mar 11 13:26:05 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Mar 2014 13:26:05 -0400 Subject: MSSQL Support? In-Reply-To: References: Message-ID: ODBC works perfectly fine with MSSQL. ~Roger On Tue, Mar 11, 2014 at 1:05 PM, Bob Sneidar wrote: > Has anyone had any success querying MSSQL? I suppose it could be done via > shell, but I'm not sure I want to go that route. ODBC seems fairly clunky > to implement as well, and I'm not sure MS even supports ODBC for MSSQL. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 11 13:27:00 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 11 Mar 2014 18:27:00 +0100 Subject: MSSQL Support? In-Reply-To: References: Message-ID: <034D1FC1-DDAC-4A07-851D-72B23A484304@m-r-d.de> Hi Bob, i am using ODBC to MSSQL connections on Mac and Windows for some years now with great success. I am using system dsn and in some projects also ODBC connection strings. Advantage of the ODBC connection string is the customer do not have to create a dsn. Here are some examples of ODBC connection strings under Windows SQL SERVER Driver get revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=192.168.1.250;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERNAME;Trusted_Connection=No",,,) SQL Server Driver - connect to instance get revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=192.168.1.250\INSTANCENAME;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) Native Client 11 Driver get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) Native Client 11 Driver - connect to instance get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250\InstanceName;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) and under Mac using the Actualtech ODBC driver get revOpenDatabase("ODBC","Driver={Actual SQL Server};Server=192.168.1.250\INSTANCENAME;Database=DBNAME;UID=DBUSER;PWD=DBPASSWORD;",,,) Regards, Matthias Am 11.03.2014 um 18:05 schrieb Bob Sneidar : > Has anyone had any success querying MSSQL? I suppose it could be done via shell, but I?m not sure I want to go that route. ODBC seems fairly clunky to implement as well, and I?m not sure MS even supports ODBC for MSSQL. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Tue Mar 11 13:46:04 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Mar 2014 17:46:04 +0000 (UTC) Subject: Objective-C on Android? Message-ID: Talked with these folks at a trade show last month... www.apportable.com -- Mark Wieder ahsoftware at gmail.com From mgruenthal at mac.com Tue Mar 11 13:48:29 2014 From: mgruenthal at mac.com (Michael Gruenthal) Date: Tue, 11 Mar 2014 13:48:29 -0400 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: Thanks Pete, I received some advice off list that convinced me to not risk pushing the bounds of SQLite in this fashion, but URI filenames should be part of the updated SQLite support, nonetheless. Michael On 3/11/14, 1:02 PM, "Peter Haworth" wrote: >Hi Michael, >I just verified that URI filenames don't work in LC v6.6 and have filed >bug >report # 11919. > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin > > >On Tue, Mar 11, 2014 at 7:41 AM, Michael Gruenthal >wrote: > >> I?m interested in having a small (<20) number of users simultaneously >> connected to an sqlite DB on a shared network drive as an alternative to >> hosting on a server. I found some old (2010) discussions about this >>without >> a clear answer. I?m wondering if sqlite share-cache mode will permit >>this. >> I >> have a very rudimentary understanding of SQL so perhaps I?m >> misunderstanding >> what shared-cache mode does, but I?m hoping that the upgraded sqlite >> support >> in LC 6.6 in combination with shared-cache mode will allow at least a >> limited number of concurrent connections. >> >> If so, does anyone know if there?s a way to use revOpenDatabase() to >>open a >> connection with shared-cache mode enabled? If I understand correctly it >>is >> disabled by default. Thanks. >> >> Michael >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ben at runrev.com Tue Mar 11 14:15:18 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 11 Mar 2014 18:15:18 +0000 Subject: New chunks Message-ID: Hi All, We're in the process of adding some new chunk types in LiveCode 7 and we would appreciate suggestions for a particular chunk name. The new chunk types are: naturalword (breaks on unicode word boundaries) sentence (breaks on unicode sentence boundaries) paragraph (Same behaviour as current 'line' chunk) The first chunk is called 'naturalword' because 'word' is already in use. Renaming the current 'word' chunk to 'token' to free up 'word' is not an option for backward compatibility. We are also limited by the current parser which doesn't allow us to use the form: put natural word 1 of "this is a string of words" 'naturalword' is the clearest internal suggestion at the moment and we'd love to get the input from community members if there is an even clearer option. Warm regards and thank you for your input. Ben _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From skiplondon at gmail.com Tue Mar 11 14:17:41 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 11 Mar 2014 14:17:41 -0400 Subject: MSSQL Support? In-Reply-To: <034D1FC1-DDAC-4A07-851D-72B23A484304@m-r-d.de> References: <034D1FC1-DDAC-4A07-851D-72B23A484304@m-r-d.de> Message-ID: Awesome.... Thank you for that! SKIP > On Mar 11, 2014, at 1:27 PM, Matthias Rebbe | M-R-D wrote: > > Hi Bob, > > i am using ODBC to MSSQL connections on Mac and Windows for some years now with great success. > > I am using system dsn and in some projects also ODBC connection strings. > Advantage of the ODBC connection string is the customer do not have to create a dsn. > > Here are some examples of ODBC connection strings under Windows > > SQL SERVER Driver > get revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=192.168.1.250;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERNAME;Trusted_Connection=No",,,) > > SQL Server Driver - connect to instance > get revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=192.168.1.250\INSTANCENAME;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) > > Native Client 11 Driver > get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) > > Native Client 11 Driver - connect to instance > get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250\InstanceName;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) > > and under Mac using the Actualtech ODBC driver > get revOpenDatabase("ODBC","Driver={Actual SQL Server};Server=192.168.1.250\INSTANCENAME;Database=DBNAME;UID=DBUSER;PWD=DBPASSWORD;",,,) > > > > > Regards, > > Matthias > > >> Am 11.03.2014 um 18:05 schrieb Bob Sneidar : >> >> Has anyone had any success querying MSSQL? I suppose it could be done via shell, but I?m not sure I want to go that route. ODBC seems fairly clunky to implement as well, and I?m not sure MS even supports ODBC for MSSQL. >> >> Bob >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue Mar 11 14:40:41 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Mar 2014 14:40:41 -0400 Subject: New chunks In-Reply-To: References: Message-ID: uword or wordup (up = unicode part) ~Roger On Tue, Mar 11, 2014 at 2:15 PM, Benjamin Beaumont wrote: > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) > sentence (breaks on unicode sentence boundaries) > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. > Renaming the current 'word' chunk to 'token' to free up 'word' is not an > option for backward compatibility. We are also limited by the current > parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. > > Warm regards and thank you for your input. > > Ben > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 11 14:55:22 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 11 Mar 2014 14:55:22 -0400 (EDT) Subject: New chunks In-Reply-To: References: Message-ID: <8D10B7296B150BE-1E58-312FE@webmail-d238.sysops.aol.com> Ben. Why not "unicodeWord" or "uniWord". Roger takes that a step yet further, and, well, why not? For the sentence, is this a chunk delimited by a period and a space? For the paragraph, is this a chunk delimited by two returns? Craig Newman For the -----Original Message----- From: Roger Eller To: How to use LiveCode Sent: Tue, Mar 11, 2014 2:41 pm Subject: Re: New chunks uword or wordup (up = unicode part) ~Roger On Tue, Mar 11, 2014 at 2:15 PM, Benjamin Beaumont wrote: > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) > sentence (breaks on unicode sentence boundaries) > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. > Renaming the current 'word' chunk to 'token' to free up 'word' is not an > option for backward compatibility. We are also limited by the current > parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. > > Warm regards and thank you for your input. > > Ben > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 11 15:26:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Mar 2014 21:26:55 +0200 Subject: New chunks In-Reply-To: References: Message-ID: <531F637F.6060405@gmail.com> On 11/03/14 20:15, Benjamin Beaumont wrote: > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) Well; in theory that looks good until you start to think about languages which are written (such as Sanskrit) with no obvious word boundaries and both vowel mutation (Sandhi) at what would be word boundaries, and consonant fusion. Languages such as Inuit and Hungarian are agglutinative, and in some cases what we (speakers of West European languages) would term a sentence consists of a single word with loads of affixes; some at the front (prefixes). Many Austronesian languages use infixes (i.e. twiddly bits shoved into the middle of 'words'). These also crop up in Afro-Asiatic languages such as Arabic. There are also some examples in English such as "fan-f*cking-tabulous". We could also get sweaty about circumfixes, where a bit gets put on the front and a bit gets put on the back as a sort of split morpheme (not to be confused with split-pea bara). > sentence (breaks on unicode sentence boundaries) That looks a bit fishy. How are you going to work out what marks a sentence boundary in every language that one can write with Unicode? And there are languages where the idea of a 'sentence' is absent. > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. > Renaming the current 'word' chunk to 'token' to free up 'word' is not an > option for backward compatibility. We are also limited by the current > parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. I'm sorry to be such a "pill", but word and sentence boundaries are such culture-bound concepts that they will only be any good for languages that mark word and sentence boundaries. This is about the same as stating dogmatically that "all bananas are yellow", when they are not. > Warm regards and thank you for your input. You may not thank me. Richmond. > > Ben > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > From alain.vezina at logilangue.com Tue Mar 11 15:53:47 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Tue, 11 Mar 2014 15:53:47 -0400 Subject: package maker Message-ID: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> Hi All, I used to use RB Package Maker Studio to prepare an app for Apple Store. It seems it no longer works on Mac OS 10.9. I loved this package maker especially for setting the entitlements. Is there anybody who knows an other package maker ? I know how to sign and package an app, but I don?t know how to fix the entitlements. Alain Vezina Logilangue 514-596-1385 www.logilangue.com From cmsheffield at icloud.com Tue Mar 11 16:22:01 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 11 Mar 2014 14:22:01 -0600 Subject: SQLYoga and LC 6.6 Message-ID: Anybody out there using SQLYoga with LiveCode 6.6? In particular with a SQLite database? I have a mobile app using this setup and it?s not working. I don?t get any errors from SQLYoga, but I?m not getting proper results from select queries either. Everything works fine in LC 6.5.2, but not with LC 6.6 rc-1. Trevor, if you?re listening, have you noticed any issues? I would guess this has something to do with the updated SQLite libraries. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From matthias_livecode_150811 at m-r-d.de Tue Mar 11 16:22:55 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 11 Mar 2014 21:22:55 +0100 Subject: package maker In-Reply-To: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> Message-ID: <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> Hi Alain, there is "App Wrapper? from Ohanaware. They published some information about Mavericks & Codesigning for LiveCode apps. http://www.ohanaware.com/support/mavericksCodesign.php#liveCode I did not try it yet, but it reads and sounds reasonable. Regards, Matthias Rebbe Am 11.03.2014 um 20:53 schrieb Alain Vezina : > Hi All, > > I used to use RB Package Maker Studio to prepare an app for Apple Store. > It seems it no longer works on Mac OS 10.9. > I loved this package maker especially for setting the entitlements. > Is there anybody who knows an other package maker ? > I know how to sign and package an app, but I don?t know how to fix the entitlements. > > Alain Vezina > Logilangue > 514-596-1385 > www.logilangue.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 Tue Mar 11 16:26:56 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 11 Mar 2014 16:26:56 -0400 Subject: New chunks In-Reply-To: References: Message-ID: <5178F887-0E73-476B-B231-5032D6353598@gmail.com> On Mar 11, 2014, at 2:15 PM, Benjamin Beaumont wrote: > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) Will this be implemented so that naturalword excludes punctuation fore and aft? eg, naturalword 2 of "one (unusual, but illustrative) suggestion would be" --> "unusual" -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From iowahengst at mac.com Tue Mar 11 16:49:13 2014 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 11 Mar 2014 15:49:13 -0500 Subject: OT: limitations in paid iOS apps In-Reply-To: <0ACE261A-C476-4CBA-A9C8-0C25831E1054@icloud.com> References: <0ACE261A-C476-4CBA-A9C8-0C25831E1054@icloud.com> Message-ID: <2E8B70BF-F617-4A1D-BF75-1FB6E379597F@mac.com> Hi Chris, I'll speak from an educator point of view? while I haven't developed any apps with a check-in system, I would never even consider having a limit of 6 if the target market includes classrooms. I wouldn't even have a system of in app purchase where the teacher could "buy" a larger number of "seats" for the app. Heck, raise the price of the app or don't include the educator discount? I bet there'd be negative feedback about that... Be forewarned that I am now standing on my "soap box" (is that a phrase that translates well outside the US?) That system of limiting the number of users would create a mess for simply using the "6" iPads? there'd have to be a system where none of the six students who shared an iPad needed it at the same time. You'd in essence be forced to create iPad "groups" that could really never change? it would create a system of use that will do nothing but get in the way? simply the opposite of "ubiquitous" ? if the app is to really be integrated as a tool for students to use, that limitation must be removed. It really is akin to having six pencils for the class to take turns using. OK, off my soap box. Other educators on this list should please chime in, but that would be a deal breaker in a heartbeat. be well, randy ----- On Mar 10, 2014, at 12:20 PM, Chris Sheffield wrote: > This isn?t directly LiveCode-related, but I?m looking to get some opinions on this from anyone who?s willing to share. > > I?m in the middle of working on a new app for my company. This is an educational app that could be used in either a classroom or home setting. It?s the type of app that requires a simple user management system. Basically just setting up user names so the app can track progress on a per-user basis. Nothing complex at all. The ?powers that be? have requested that the app have a 6-user limit per device. This will be a paid app. > > In my experience, most paid apps do not impose these types of limitations, and I?m trying to make an argument for doing away with this limitation. Has anyone else worked on or seen something similar? My main concern would be a scenario where a classroom teacher may only have a single iPad available to her, with a class size of 30 students. She?s not going to be too happy if she can only use the app with six students at a time. I?m very worried that our app ratings/reviews will be very poor if we release the app with this limitation. > > Am I just making something out of nothing? Is this not really as big a deal as I think it is? If anyone has an opinion, please share. Like I said, I?d like to try to come up with a good argument against this. > > 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 mwieder at ahsoftware.net Tue Mar 11 17:06:39 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Mar 2014 21:06:39 +0000 (UTC) Subject: New chunks References: <531F637F.6060405@gmail.com> Message-ID: Richmond writes: > How are you going to work out what marks a sentence boundary in every > language that one can write > with Unicode? And there are languages where the idea of a 'sentence' is > absent. My initial take on this was the same as yours. But unicode separators seem to have been well thought-out (or at least standardized ): http://www.unicode.org/reports/tr29/ http://www.unicode.org/Public/6.3.0/ucd/auxiliary/SentenceBreakTest.html and I think any discussion or arguments should be taken up with the unicode working group, and not have LC create Yet Another Variation on the way folks will expect things to work. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Tue Mar 11 17:15:25 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Mar 2014 21:15:25 +0000 (UTC) Subject: New chunks References: Message-ID: Benjamin Beaumont writes: > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. My preferences, in order would be: 1. change the parser so that it accepts modifiers, and specifically so that it accepts "unicode word". 2. break on word boundaries with "unicodeWord". I think "unicode" makes it much clearer what is going on, rather than having to process what "natural" means. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Mar 11 17:33:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Mar 2014 16:33:24 -0500 Subject: disable mousedoubleup In-Reply-To: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> References: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> Message-ID: <531F8124.5000407@hyperactivesw.com> On 3/11/14, 10:09 AM, Bj?rnke von Gierke wrote: > Hi > > I wanted to disable mousedoubleup for a short time on a specific > object, but it seems it's not possible to do this whit the > doubleclickinterval, as that is not available on windows. > > The problem is of course that in this stack people will click very > fast and the double events will then "swallow" some of the > interactions. Is there any other workaround to react to the mouse > events, but none of the double ones? > There's the old standby: on mouseDoubleUp mouseUp end mouseDoubleUp The clicks will queue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Tue Mar 11 17:33:38 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 11 Mar 2014 17:33:38 -0400 Subject: SQLYoga and LC 6.6 In-Reply-To: References: Message-ID: > > Trevor, if you're listening, have you noticed any issues? I would guess > this has something to do with the updated SQLite libraries. > Getting on a plane so I will be brief. I haven't tested in 6.6 yet. You might download latest SQL Yoga library from my site as the source code is now unlocked. You should be able to step through and see what is going on when you connect. -- Trevor DeVore From smudge.andy at googlemail.com Tue Mar 11 17:49:30 2014 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 11 Mar 2014 14:49:30 -0700 (PDT) Subject: NASA's First Asteroid Grand Challenge -coding- Message-ID: <1394574569948-4676909.post@n4.nabble.com> Interesting coding challenge from NASA. $35,000 prize. I've hilited the part that caught my eye in relation to Live Code. 'The Asteroid Data Hunter contest series challenges participants to develop significantly improved algorithms to identify asteroids in images captured by ground-based telescopes. The winning solution must increase the detection sensitivity, minimize the number of false positives, ignore imperfections in the data, *and run effectively on all computer systems.*' http://www.nasa.gov/content/be-an-asteroid-hunter-in-nasas-first-asteroid-grand-challenge-contest-series/index.html Any takers? ----- 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 Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ 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/NASA-s-First-Asteroid-Grand-Challenge-coding-tp4676909.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Tue Mar 11 18:34:35 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 11 Mar 2014 15:34:35 -0700 Subject: New chunks In-Reply-To: References: Message-ID: Can someone explain how the ?sentence" chunk would work? How are decimal points, and points in an abbreviation distinguished from the ?period? that deliniates the end of a ?sentence?? Does it presume that the exitsing text has special embedded ?periods?? I?ve written my own, but it is very cumbersome and not flawless. I use it to do manuscript analysis. Like: Find all sentences in which ?time? and ?party? occur anywhere in the same sentence. My ignorance on unicode is profound. Jim C > Message: 15 > Date: Tue, 11 Mar 2014 18:15:18 +0000 > From: Benjamin Beaumont > To: LiveCode Developer List , How to > use LiveCode > Subject: New chunks > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) > sentence (breaks on unicode sentence boundaries) > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. > Renaming the current 'word' chunk to 'token' to free up 'word' is not an > option for backward compatibility. We are also limited by the current > parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. > > Warm regards and thank you for your input. > > Ben > > _____ From m.schonewille at economy-x-talk.com Tue Mar 11 18:35:36 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 11 Mar 2014 23:35:36 +0100 Subject: disable mousedoubleup In-Reply-To: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> References: <4801EDF6-F4A7-4E5E-8336-5C33840571EC@mac.com> Message-ID: <531F8FB8.9050204@economy-x-talk.com> Hi Bj?rnke, What would you say about on mouseDoubleUp mouseUp mouseUp end mouseDoubleUp This way, every click is counted as a real click (if this actually works). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/11/2014 16:09, Bj?rnke von Gierke wrote: > Hi > > I wanted to disable mousedoubleup for a short time on a specific object, but it seems it's not possible to do this whit the doubleclickinterval, as that is not available on windows. > > The problem is of course that in this stack people will click very fast and the double events will then "swallow" some of the interactions. Is there any other workaround to react to the mouse events, but none of the double ones? > From revdev at pdslabs.net Tue Mar 11 18:42:47 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 11 Mar 2014 15:42:47 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <531F9167.7020407@pdslabs.net> What are the pros and cons of making the 'useUnicode' property persistent and true by default, and let it determine the meaning of 'word'? To my own immature understanding, that seems like a better approach that trying to come up with a new vocabulary item. Phil Davis On 3/11/14, 11:15 AM, Benjamin Beaumont wrote: > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) > sentence (breaks on unicode sentence boundaries) > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. > Renaming the current 'word' chunk to 'token' to free up 'word' is not an > option for backward compatibility. We are also limited by the current > parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. > > Warm regards and thank you for your input. > > Ben > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 11 18:44:40 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 11 Mar 2014 15:44:40 -0700 Subject: New chunks In-Reply-To: <531F9167.7020407@pdslabs.net> References: <531F9167.7020407@pdslabs.net> Message-ID: <531F91D8.1010909@pdslabs.net> Or maybe introduce a persistent 'useUnicodeChunks' property that controls which kind of chunking is used. On 3/11/14, 3:42 PM, Phil Davis wrote: > What are the pros and cons of making the 'useUnicode' property > persistent and true by default, and let it determine the meaning of > 'word'? To my own immature understanding, that seems like a better > approach that trying to come up with a new vocabulary item. > > Phil Davis > > > > On 3/11/14, 11:15 AM, Benjamin Beaumont wrote: >> Hi All, >> >> We're in the process of adding some new chunk types in LiveCode 7 and we >> would appreciate suggestions for a particular chunk name. >> >> The new chunk types are: >> >> naturalword (breaks on unicode word boundaries) >> sentence (breaks on unicode sentence boundaries) >> paragraph (Same behaviour as current 'line' chunk) >> >> The first chunk is called 'naturalword' because 'word' is already in >> use. >> Renaming the current 'word' chunk to 'token' to free up 'word' is not an >> option for backward compatibility. We are also limited by the current >> parser which doesn't allow us to use the form: >> >> put natural word 1 of "this is a string of words" >> >> 'naturalword' is the clearest internal suggestion at the moment and we'd >> love to get the input from community members if there is an even clearer >> option. >> >> Warm regards and thank you for your input. >> >> Ben >> >> _____________________________________________ >> >> Benjamin Beaumont . RunRev Ltd >> >> LiveCode Product Manager >> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >> email : ben at runrev.com >> company : +44(0) 845 219 89 23 >> fax : +44(0) 845 458 8487 >> web : www.runrev.com >> >> LiveCode - Programming made simple >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue Mar 11 18:51:04 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 11 Mar 2014 15:51:04 -0700 Subject: New chunks In-Reply-To: <531F91D8.1010909@pdslabs.net> References: <531F9167.7020407@pdslabs.net> <531F91D8.1010909@pdslabs.net> Message-ID: <531F9358.2070906@pdslabs.net> Sorry, I didn't read all emails before suggesting this. :-) On 3/11/14, 3:44 PM, Phil Davis wrote: > Or maybe introduce a persistent 'useUnicodeChunks' property that > controls which kind of chunking is used. > > On 3/11/14, 3:42 PM, Phil Davis wrote: >> What are the pros and cons of making the 'useUnicode' property >> persistent and true by default, and let it determine the meaning of >> 'word'? To my own immature understanding, that seems like a better >> approach that trying to come up with a new vocabulary item. >> >> Phil Davis >> >> >> >> On 3/11/14, 11:15 AM, Benjamin Beaumont wrote: >>> Hi All, >>> >>> We're in the process of adding some new chunk types in LiveCode 7 >>> and we >>> would appreciate suggestions for a particular chunk name. >>> >>> The new chunk types are: >>> >>> naturalword (breaks on unicode word boundaries) >>> sentence (breaks on unicode sentence boundaries) >>> paragraph (Same behaviour as current 'line' chunk) >>> >>> The first chunk is called 'naturalword' because 'word' is already in >>> use. >>> Renaming the current 'word' chunk to 'token' to free up 'word' is >>> not an >>> option for backward compatibility. We are also limited by the current >>> parser which doesn't allow us to use the form: >>> >>> put natural word 1 of "this is a string of words" >>> >>> 'naturalword' is the clearest internal suggestion at the moment and >>> we'd >>> love to get the input from community members if there is an even >>> clearer >>> option. >>> >>> Warm regards and thank you for your input. >>> >>> Ben >>> >>> _____________________________________________ >>> >>> Benjamin Beaumont . RunRev Ltd >>> >>> LiveCode Product Manager >>> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >>> email : ben at runrev.com >>> company : +44(0) 845 219 89 23 >>> fax : +44(0) 845 458 8487 >>> web : www.runrev.com >>> >>> LiveCode - Programming made simple >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 mwieder at ahsoftware.net Tue Mar 11 19:13:59 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Mar 2014 23:13:59 +0000 (UTC) Subject: New chunks References: <531F9167.7020407@pdslabs.net> Message-ID: Phil Davis writes: > > What are the pros and cons of making the 'useUnicode' property > persistent and true by default, and let it determine the meaning of > 'word'? To my own immature understanding, that seems like a better > approach that trying to come up with a new vocabulary item. I like this as well. -- Mark Wieder ahsoftware at gmail.com From m.schonewille at economy-x-talk.com Tue Mar 11 19:25:31 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Mar 2014 00:25:31 +0100 Subject: New chunks In-Reply-To: References: Message-ID: <531F9B6B.60604@economy-x-talk.com> Hi Ben, I think that the chunk names for unicode should be exactly the same as for english text, but they should act differently if either the text being operated on is unicode text or the useUnicode has been set to true. Note that other development tools don't have this problem at all. Operations on English text work the same way as on unicode text and there is no need to even think about the encoding. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/11/2014 19:15, Benjamin Beaumont wrote: > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we > would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) > sentence (breaks on unicode sentence boundaries) > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. > Renaming the current 'word' chunk to 'token' to free up 'word' is not an > option for backward compatibility. We are also limited by the current > parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd > love to get the input from community members if there is an even clearer > option. > > Warm regards and thank you for your input. > > Ben > From james at thehales.id.au Tue Mar 11 19:29:34 2014 From: james at thehales.id.au (James Hale) Date: Wed, 12 Mar 2014 10:29:34 +1100 Subject: SQLYoga and LC 6.6 Message-ID: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Chris, Do as Trevor suggested and download the latest SQLYoga. It is no longer password protected so you can modify its handlers. I am not at my desk right now but if you find the handler that opens the db connection you just need to modify the SQLite case (in the switch statement) to handle the new syntax for opening a SQLite connection. I hit the same issue and just changed the single line to the new syntax. Hopefully Trevor will modify the code to enable the call to optionally enable to the extensions. As I wanted them I just changed the line to the new syntax with the extensions enabled. James From pete at lcsql.com Tue Mar 11 21:33:48 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Mar 2014 18:33:48 -0700 Subject: SQLYoga and LC 6.6 In-Reply-To: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: Maybe I'm misunderstanding since I don't have SQLYoga but if calls to the old format revOpenDatase are failing, that's a bug since every stack that opens an sqlite database will fail. If you don't need the ability to load extensions or change the way blobs work, no change should be required. Incidentally, I've tried the new ability to load third part libraries with the load_extension function and it works great. Got myself access to a whole new set of sqlite functions! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 11, 2014 at 4:29 PM, James Hale wrote: > Chris, > > Do as Trevor suggested and download the latest SQLYoga. > > It is no longer password protected so you can modify its handlers. I am > not at my desk right now but if you find the handler that opens the db > connection you just need to modify the SQLite case (in the switch > statement) to handle the new syntax for opening a SQLite connection. > > I hit the same issue and just changed the single line to the new syntax. > > Hopefully Trevor will modify the code to enable the call to optionally > enable to the extensions. > As I wanted them I just changed the line to the new syntax with the > extensions enabled. > > James > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 11 21:38:34 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 11 Mar 2014 21:38:34 -0400 Subject: NASA's First Asteroid Grand Challenge -coding- In-Reply-To: <1394574569948-4676909.post@n4.nabble.com> References: <1394574569948-4676909.post@n4.nabble.com> Message-ID: <32259968-E670-4121-B4FA-359BD8FA241B@gmail.com> I'm in.... Who is with me?? SKIP > On Mar 11, 2014, at 5:49 PM, AndyP wrote: > > Interesting coding challenge from NASA. $35,000 prize. > > I've hilited the part that caught my eye in relation to Live Code. > > 'The Asteroid Data Hunter contest series challenges participants to develop > significantly improved algorithms to identify asteroids in images captured > by ground-based telescopes. The winning solution must increase the detection > sensitivity, minimize the number of false positives, ignore imperfections in > the data, *and run effectively on all computer systems.*' > > http://www.nasa.gov/content/be-an-asteroid-hunter-in-nasas-first-asteroid-grand-challenge-contest-series/index.html > > > Any takers? > > > > ----- > 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 > > > Your LiveCode Work Desks - New Blog > http://livecodemydesk.blogspot.de/ > > 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/NASA-s-First-Asteroid-Grand-Challenge-coding-tp4676909.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 bobsneidar at iotecdigital.com Wed Mar 12 00:14:25 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 04:14:25 +0000 Subject: A useful command Message-ID: <46D6C7EA-E550-49D4-8359-E4F896469DD6@iotecdigital.com> Hi all. I wanted to share what may be a useful command for filling in data and setting controls on a card. This assumes you have an array whose key names ?match? control names with the following rules: Fields you want filled must begin with ?fld? Checkboxes you want hilited must begin with ?btn? and the value must be true or false Menu style buttons you want to set must begin with ?mnu? and the value must be one of the choices for the menu Radio button groups must begin with ?rdo? and the value must be one of the button names in the group Datagrids you want populated can be named as you please, and the value must be an encoded array For instance a field named ?fldCustomerName? will be populated with the value in key theData[?customername?]. A field simply named ?customername? will be ignored. I use this convention because this is how I distinguish positively the fields I want populated and the ones I want to leave alone. Also, it?s how I determine the method for populating the control. Since I use sqlYoga a BUNCH, the data I return from query calls is an numbered array of arrays representing the returned records. Since I sometimes store whole data grid arrays in SQL, I have to encode them first, hence the need to arrayEncode them first. If I pass a single array record from the numbered array I get from sqlYoga queries, this command will populate any form that uses this naming convention. However, you can build your own array and it will work fine. I hope you like it. DISCLAIMER: I have not completely debugged it yet, I just wrote it so use with caution. Bob on populate theData if theData is not an array then exit populate put the keys of theData into theKeyList repeat for each line theKey in theKeyList put "fld" & theKey into theFieldName put "btn" & theKey into theButtonName put "mnu" & theKey into theMenuName put "rdo" & theKey into theRadioName put theKey into theDGName if there is a field theFieldName then put theData [theKey] into field theFieldName next repeat end if if there is a button theButtonName and the style of button theButtonName is "checkbox" then set the hilite of button theButtonName to theData [theKey] next repeat end if if there is a button theMenuName then put lineOffset(theData [theKey], the text of button theMenuName) into theFoundLine set the menuHistory of button theMenuName to theFoundLine next repeat end if if there is a group theRdoName then set the hilitedButtonName of group theRdoName to theData [theKey] next repeat end if if there is a group theDGName then try put arrayDecode(theData [theKey]) into theDGData set the dgData of group theDGName to theDGData catch theError end try end if end repeat end populate From richmondmathewson at gmail.com Wed Mar 12 03:59:21 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 09:59:21 +0200 Subject: New chunks In-Reply-To: <531F637F.6060405@gmail.com> References: <531F637F.6060405@gmail.com> Message-ID: <532013D9.4050507@gmail.com> I think this might be useful for anyone who wants to detect word breaks in Unicode, although, personally, it makes me feel very queasy indeed: http://www.unicode.org/Public/6.3.0/ucd/auxiliary/WordBreakTest.html This comment; "The material here is informative, not normative." doesn't exactly inspire confidence either. But, rather than some of the RunRev team taking a year to have a world tour interviewing speakers of the 100 most-spoken languages to find out how they type their stuff, this is all there is. "If your browser handles titles (tool tips), then hovering the mouse over the row header will show a sample character of that type." Well, Firefox handles them; and in some ways the tooltips are the most useful things on that page. [ Mind you, if I were the person at RunRev having to deal with implementing Unicode I would jump at the chance to have a world tour interviewing people . . . LOL . . . however, I might just "softly and silently vanish away" somewhere near Singapore! ] This might, as well, be a "right bu**er" when one comes to typing languages that go from right to left [ Arabic, Manda, Hebrew, et al ]. And here is a bit about sentences: http://www.unicode.org/reports/tr29/#Sentence_Boundaries Richmond. From bvg at mac.com Wed Mar 12 05:46:27 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 12 Mar 2014 10:46:27 +0100 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: <7730A004-FA4D-4D4E-8742-A769498D1D5A@mac.com> I do use sqlite in networked environment, by having written my own server & client in LC. It's pretty trivial, and there's no parallelity, because sqlite only ever 'sees' the server, which is exactly one sql client. Here's an early example that is missing most error checking (this is an older version and for the productive version I added lots of errors, logging, etc.): -- server on mouseUp if the label of me = "start server" then set the label of me to "stop server" accept connections on port (field "port") with message "connectionAttempt" else set the label of me to "start server" close socket (field "port") end if end mouseUp on connectionAttempt theIP read from socket theIP until return with message "gotMessage" end connectionAttempt on gotMessage theIP theProtocol delete char -1 of theProtocol --return used as protocol delimiter if theProtocol = "query" then read from socket theIP until return with message "queryDB" else if theProtocol = "write" then read from socket theIP until return with message "writeDB" -- else -- never happens, unless public accessible end if end gotMessage on queryDB theIP theQuery delete char -1 of theQuery --return from the protocol put field "database" into theDB --path to sqlite file put revOpenDatabase("sqlite", theDB,,,) into connID put unidecode(uniencode(theQuery),"utf8") into theQuery put revDataFromQuery(comma,,connID,theQuery) into myResult revCloseDatabase connID put unidecode(uniencode(myResult,"utf8")) into myResult if myresult = "" then --query empty write "queryResult" & return & 0 & return to socket theIP close socket theIP else write "queryResult" & return & length(myResult) & return & myResult to socket theIP --return not needed close socket theIP end if end queryDB on writeDB theIP myQuery delete char -1 of myQuery --return from protocol put field "database" into theDB --path to sqlite file put revOpenDatabase("sqlite", theDB,,,) into connID put unidecode(uniencode(myQuery),"utf8") into myQuery revExecuteSQL connID,myQuery put the result into myResult revCloseDatabase connID --sets the result to "" write "writeOK" & return to socket theIP close socket theIP end writeDB --client function queryDB theQuery --theQuery is a sql statement, as understood by LC (no multiline, no ;) replace return with "" in theQuery --just to make sure... put the milliseconds into theIdent put field "IP" & "|" & theIdent into theIP open socket to theIP write "query" & return & theQuery & return to socket theIP read from socket theIP until return put it into theMessage delete char -1 of theMessage if theMessage = "queryResult" then read from socket theIP until return put it into theAmount delete char -1 of theAmount if theAmount = 0 then put "sqlempty: No entry found" into theResult else read from socket theIp for theAmount chars put it into theResult --no return at end, do not delete char -1 end if else put "error: Server can't query:" & return & theMessage into theResult end if close socket theIP return theResult end queryDB function insertDB theCommand --any sql that's not SELECT put the milliseconds into theIdent put field "IP" & "|" & theIdent into theIP open socket to theIP write "write" & return & theCommand & return to socket theIP read from socket theIP until return put it into myReply delete char -1 of myReply if myReply = "writeOK" then put "" into myReply else put "error: Server wrong:" & return & myReply into myReply end if close socket theIP return myReply end insertDB >> On Tue, Mar 11, 2014 at 7:41 AM, Michael Gruenthal >> wrote: >> >>> I?m interested in having a small (<20) number of users simultaneously >>> connected to an sqlite DB on a shared network drive as an alternative to >>> hosting on a server. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From fraser.gordon at runrev.com Wed Mar 12 06:12:33 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 12 Mar 2014 10:12:33 +0000 Subject: New chunks In-Reply-To: <531F637F.6060405@gmail.com> References: <531F637F.6060405@gmail.com> Message-ID: <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> On 11 Mar 2014, at 19:26, Richmond wrote: > > Well; in theory that looks good until you start to think about languages which are > written (such as Sanskrit) with no obvious word boundaries and both vowel mutation (Sandhi) > at what would be word boundaries, and consonant fusion. The library that we use for low-level Unicode stuff (ICU) provides a facility called "break iterators" - basically, these functions break up text according to various rules and variants are provided for graphemes, words, sentences, etc. ICU has a (very large) database of rules and (for some languages) dictionaries in order to properly break words even in complex languages. Not all languages are supported but a large number are. > >> sentence (breaks on unicode sentence boundaries) > > That looks a bit fishy. > > How are you going to work out what marks a sentence boundary in every language that one can write > with Unicode? And there are languages where the idea of a 'sentence' is absent. Again, ICU does the hard work. In a language without sentences, text will only contain one sentence. There is also enough intelligence in ICU that it can tell the difference between a decimal point and a full-stop/period. Some languages use different marks as sentence separators and ICU also knows about them. > > I'm sorry to be such a "pill", but word and sentence boundaries are such culture-bound concepts > that they will only be any good for languages that mark word and sentence boundaries. > > This is about the same as stating dogmatically that "all bananas are yellow", when they are not. Paragraphs are defined in the Unicode standard. They are runs of text terminated by the Paragraph Separator character or (optionally) any other newline character. While it may not make sense linguistically, this is how we delimit paragraphs in LiveCode fields. Regards, Fraser From bvg at mac.com Wed Mar 12 06:49:50 2014 From: bvg at mac.com (=?windows-1252?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 12 Mar 2014 11:49:50 +0100 Subject: Fwd: New chunks References: <67ED9F5A-51FA-47E2-A2BA-F320BB37251B@mac.com> Message-ID: sent to wrong list.. resend. I like this approach. However I think two problems still remain: Problems with libraries and substacks still remain. A stack property that is able to set a whole stack to some kind of 'word legacy mode' would therefore be very useful. Word was always unintuitive with punctuation and quotes, so while we're at it, why not make word more intuitive? But If you change that, the legacy way of word handling should not be removed, because it was somewhat useful. The existing word could also theoretically be improved to work with csv parsing, that would be very neat. However, either of these ideas about changing how word works can't be handled by a simple find/replace in the ide. On 12.03.2014, at 11:00, Kevin Miller wrote: > I think having slept on it my initial suggestion is this: > > We introduce a new legacyWord property for the current word behavior > > What you propose as naturalWord is simply the ?word" chunk. Most existing users ? in time ? and all new users, will want to use this. It is the only way to deliver transparent Unicode. I hate having to make new users use naturalWord, unicodeWord or anything else like that, from now until the dawn of time. > > When the IDE opens a stack in pre 7.0 format, a dialog pops up informing the user of the change and asking if they want to update their scripts. If yes, we use find and replace to swap out word for legacyWord in their scripts. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ > LiveCode: Everyone can code > > From: Benjamin Beaumont > Reply-To: LiveCode Developer List > Date: Tuesday, 11 March 2014 18:15 > To: LiveCode Developer List , How to use LiveCode > Subject: New chunks > > Hi All, > > We're in the process of adding some new chunk types in LiveCode 7 and we would appreciate suggestions for a particular chunk name. > > The new chunk types are: > > naturalword (breaks on unicode word boundaries) > sentence (breaks on unicode sentence boundaries) > paragraph (Same behaviour as current 'line' chunk) > > The first chunk is called 'naturalword' because 'word' is already in use. Renaming the current 'word' chunk to 'token' to free up 'word' is not an option for backward compatibility. We are also limited by the current parser which doesn't allow us to use the form: > > put natural word 1 of "this is a string of words" > > 'naturalword' is the clearest internal suggestion at the moment and we'd love to get the input from community members if there is an even clearer option. > > Warm regards and thank you for your input. > > Ben -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From richmondmathewson at gmail.com Wed Mar 12 08:26:28 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 14:26:28 +0200 Subject: New chunks In-Reply-To: <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> References: <531F637F.6060405@gmail.com> <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> Message-ID: <53205274.70103@gmail.com> On 12/03/14 12:12, Fraser Gordon wrote: > On 11 Mar 2014, at 19:26, Richmond wrote: >> Well; in theory that looks good until you start to think about languages which are >> written (such as Sanskrit) with no obvious word boundaries and both vowel mutation (Sandhi) >> at what would be word boundaries, and consonant fusion. > The library that we use for low-level Unicode stuff (ICU) provides a facility called "break iterators" - basically, these functions break up text according to various rules and variants are provided for graphemes, words, sentences, etc. ICU has a (very large) database of rules and (for some languages) dictionaries in order to properly break words even in complex languages. Not all languages are supported but a large number are. > >>> sentence (breaks on unicode sentence boundaries) >> That looks a bit fishy. >> >> How are you going to work out what marks a sentence boundary in every language that one can write >> with Unicode? And there are languages where the idea of a 'sentence' is absent. > Again, ICU does the hard work. In a language without sentences, text will only contain one sentence. > > There is also enough intelligence in ICU that it can tell the difference between a decimal point and a full-stop/period. Some languages use different marks as sentence separators and ICU also knows about them. > >> I'm sorry to be such a "pill", but word and sentence boundaries are such culture-bound concepts >> that they will only be any good for languages that mark word and sentence boundaries. >> >> This is about the same as stating dogmatically that "all bananas are yellow", when they are not. > Paragraphs are defined in the Unicode standard. They are runs of text terminated by the Paragraph Separator character or (optionally) any other newline character. While it may not make sense linguistically, this is how we delimit paragraphs in LiveCode fields. A pretty comprehensive answer to all my points. Thanks. Richmond. > > Regards, > Fraser > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Wed Mar 12 10:54:01 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Mar 2014 07:54:01 -0700 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: <7730A004-FA4D-4D4E-8742-A769498D1D5A@mac.com> References: <7730A004-FA4D-4D4E-8742-A769498D1D5A@mac.com> Message-ID: Thanks Bjornke, that's very useful. Pete lcSQL Software On Mar 12, 2014 2:46 AM, "Bj?rnke von Gierke" wrote: > I do use sqlite in networked environment, by having written my own server > & client in LC. It's pretty trivial, and there's no parallelity, because > sqlite only ever 'sees' the server, which is exactly one sql client. Here's > an early example that is missing most error checking (this is an older > version and for the productive version I added lots of errors, logging, > etc.): > > > -- server > on mouseUp > if the label of me = "start server" then > set the label of me to "stop server" > accept connections on port (field "port") with message > "connectionAttempt" > else > set the label of me to "start server" > close socket (field "port") > end if > end mouseUp > > on connectionAttempt theIP > read from socket theIP until return with message "gotMessage" > end connectionAttempt > > on gotMessage theIP theProtocol > delete char -1 of theProtocol --return used as protocol delimiter > if theProtocol = "query" then > read from socket theIP until return with message "queryDB" > else if theProtocol = "write" then > read from socket theIP until return with message "writeDB" > -- else > -- never happens, unless public accessible > end if > end gotMessage > > on queryDB theIP theQuery > delete char -1 of theQuery --return from the protocol > put field "database" into theDB --path to sqlite file > put revOpenDatabase("sqlite", theDB,,,) into connID > put unidecode(uniencode(theQuery),"utf8") into theQuery > put revDataFromQuery(comma,,connID,theQuery) into myResult > revCloseDatabase connID > put unidecode(uniencode(myResult,"utf8")) into myResult > if myresult = "" then --query empty > write "queryResult" & return & 0 & return to socket theIP > close socket theIP > else > write "queryResult" & return & length(myResult) & return & > myResult to socket theIP --return not needed > close socket theIP > end if > end queryDB > > on writeDB theIP myQuery > delete char -1 of myQuery --return from protocol > put field "database" into theDB --path to sqlite file > put revOpenDatabase("sqlite", theDB,,,) into connID > put unidecode(uniencode(myQuery),"utf8") into myQuery > revExecuteSQL connID,myQuery > put the result into myResult > revCloseDatabase connID --sets the result to "" > write "writeOK" & return to socket theIP > close socket theIP > end writeDB > > > > --client > > function queryDB theQuery --theQuery is a sql statement, as understood by > LC (no multiline, no ;) > replace return with "" in theQuery --just to make sure... > put the milliseconds into theIdent > put field "IP" & "|" & theIdent into theIP > open socket to theIP > write "query" & return & theQuery & return to socket theIP > read from socket theIP until return > put it into theMessage > delete char -1 of theMessage > if theMessage = "queryResult" then > read from socket theIP until return > put it into theAmount > delete char -1 of theAmount > if theAmount = 0 then > put "sqlempty: No entry found" into theResult > else > read from socket theIp for theAmount chars > put it into theResult --no return at end, do not delete char -1 > end if > else > put "error: Server can't query:" & return & theMessage into > theResult > end if > close socket theIP > return theResult > end queryDB > > function insertDB theCommand --any sql that's not SELECT > put the milliseconds into theIdent > put field "IP" & "|" & theIdent into theIP > open socket to theIP > write "write" & return & theCommand & return to socket theIP > read from socket theIP until return > put it into myReply > delete char -1 of myReply > if myReply = "writeOK" then > put "" into myReply > else > put "error: Server wrong:" & return & myReply into myReply > end if > close socket theIP > return myReply > end insertDB > > > >> On Tue, Mar 11, 2014 at 7:41 AM, Michael Gruenthal > >> wrote: > >> > >>> I?m interested in having a small (<20) number of users simultaneously > >>> connected to an sqlite DB on a shared network drive as an alternative > to > >>> hosting on a server. > > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 cmsheffield at icloud.com Wed Mar 12 10:59:17 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 12 Mar 2014 08:59:17 -0600 Subject: SQLYoga and LC 6.6 In-Reply-To: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: Thanks for the suggestion James. I followed your and Trevor?s suggestion to download the latest version and have gone in and changed the line of code that opens a SQLite db. In my case, I?m not seeing a connection problem, though, and the problem isn?t fixed after changing that line of code. I?m getting a connection just fine. And some queries are working just fine. But in one place I?m seeing an issue where setting search criteria is not working. Specifically, I?m using a ?begins with? search. If I comment out the code that sets that condition, my query works. I?m kind of stuck. I need to use LC 6.6 because it contains some bug fixes for issues I was seeing in this app. I?ll dig into the SQLYoga code a bit more and see what I can find. Thanks, Chris On Mar 11, 2014, at 5:29 PM, James Hale wrote: > Chris, > > Do as Trevor suggested and download the latest SQLYoga. > > It is no longer password protected so you can modify its handlers. I am not at my desk right now but if you find the handler that opens the db connection you just need to modify the SQLite case (in the switch statement) to handle the new syntax for opening a SQLite connection. > > I hit the same issue and just changed the single line to the new syntax. > > Hopefully Trevor will modify the code to enable the call to optionally enable to the extensions. > As I wanted them I just changed the line to the new syntax with the extensions enabled. > > James > _______________________________________________ > use-livecode mailing list > use-livecode 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 derbrill.de Wed Mar 12 11:39:47 2014 From: revolution at derbrill.de (Malte Brill) Date: Wed, 12 Mar 2014 16:39:47 +0100 Subject: Linux 64 Bit builds In-Reply-To: References: Message-ID: <5DF3DBDB-694B-4851-911B-E8657AA442F7@derbrill.de> Hi all, does anybody know what the status of Linux 64 Bit builts is? It is becoming more and more difficult to install the 32 Bit compatibility layer. I think there has been quite a bit of work done on that, however it seems not yet possible to build a 64 Bit version. Also, can anybody point out the requirements for running liveCode under Linux? I have a puzzling situation, where on a vanilla UBUNTU 13.x install text is not rendered and the gui is semi transparent. Anyone else seen that? I guess I just miss some library on the UBUNTU install, but can not figure out which. Best, Malte From cmsheffield at icloud.com Wed Mar 12 11:51:58 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 12 Mar 2014 09:51:58 -0600 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: More info. I don?t think there?s an issue with SQLYoga here. I?m worried that I may have come across a bug either in SQLite itself or in LC. After my query is completely generated, here is my complete query string: SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 The part that?s not working in LC 6.6 is the where clause. Does anyone familiar with sql see any issues with this? As I said before, the same query works just fine with LC 6.5.2 and the older SQLite library. I?m not really sure what to do. I need some of the bug fixes in LC 6.6, but I also need this query to work. Is there a way to take the older SQLite library from 6.5.2 and use that? Should I submit a bug report to RunRev? Not really sure what to do at this point. Anybody have other suggestions? Thanks, Chris On Mar 12, 2014, at 8:59 AM, Chris Sheffield wrote: > Thanks for the suggestion James. > > I followed your and Trevor?s suggestion to download the latest version and have gone in and changed the line of code that opens a SQLite db. In my case, I?m not seeing a connection problem, though, and the problem isn?t fixed after changing that line of code. I?m getting a connection just fine. And some queries are working just fine. But in one place I?m seeing an issue where setting search criteria is not working. Specifically, I?m using a ?begins with? search. If I comment out the code that sets that condition, my query works. > > I?m kind of stuck. I need to use LC 6.6 because it contains some bug fixes for issues I was seeing in this app. I?ll dig into the SQLYoga code a bit more and see what I can find. > > Thanks, > Chris > > On Mar 11, 2014, at 5:29 PM, James Hale wrote: > >> Chris, >> >> Do as Trevor suggested and download the latest SQLYoga. >> >> It is no longer password protected so you can modify its handlers. I am not at my desk right now but if you find the handler that opens the db connection you just need to modify the SQLite case (in the switch statement) to handle the new syntax for opening a SQLite connection. >> >> I hit the same issue and just changed the single line to the new syntax. >> >> Hopefully Trevor will modify the code to enable the call to optionally enable to the extensions. >> As I wanted them I just changed the line to the new syntax with the extensions enabled. >> >> James >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 fraser.gordon at runrev.com Wed Mar 12 11:56:44 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 12 Mar 2014 15:56:44 +0000 Subject: Linux 64 Bit builds In-Reply-To: <5DF3DBDB-694B-4851-911B-E8657AA442F7@derbrill.de> References: <5DF3DBDB-694B-4851-911B-E8657AA442F7@derbrill.de> Message-ID: <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> On 12 Mar 2014, at 15:39, Malte Brill wrote: > > Also, can anybody point out the requirements for running liveCode under Linux? I have a puzzling situation, where on a vanilla UBUNTU 13.x install text is not rendered and the gui is semi transparent. Anyone else seen that? I guess I just miss some library on the UBUNTU install, but can not figure out which. Usually it indicates you are missing a 32-bit version of libPango or libGTK. Text rendering now depends on them (though I guess the requirements haven't been updated to reflect this). Regards, Fraser From jacque at hyperactivesw.com Wed Mar 12 12:07:52 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Mar 2014 11:07:52 -0500 Subject: New chunks In-Reply-To: <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> References: <531F637F.6060405@gmail.com> <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> Message-ID: <53208658.3090204@hyperactivesw.com> On 3/12/14, 5:12 AM, Fraser Gordon wrote: > The library that we use for low-level Unicode stuff Just curious, do you know how much this will inflate the file size of a standalone? (Not that it matters really.) I'm thinking about the dictionary size(s) as well as the library itself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Mar 12 12:28:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Mar 2014 09:28:29 -0700 Subject: Linux 64 Bit builds In-Reply-To: <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> References: <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> Message-ID: <53208B2D.6000008@fourthworld.com> Fraser Gordon wrote: > On 12 Mar 2014, at 15:39, Malte Brill wrote: > >> Also, can anybody point out the requirements for running liveCode >> under Linux? I have a puzzling situation, where on a vanilla UBUNTU >> 13.x install text is not rendered and the gui is semi transparent. >> Anyone else seen that? I guess I just miss some library on the >> UBUNTU install, but can not figure out which. > > Usually it indicates you are missing a 32-bit version of libPango or > libGTK. Text rendering now depends on them (though I guess the > requirements haven't been updated to reflect this). Thanks for that info, Fraser. Helpful as it is, with a consumer-focused distro like Ubuntu (the most popular Linux distro, accounting for some 30% of all desktop installs) it's no longer an option to try to rely on requiring users to dive into Terminal with apt-get just to run one app. For all the things I enjoy about Linux, Multiarch dropped the ball on backward compatibility, so it's up to app devs to update their builds. I believe Mark Weider has already successfully built a 64-bit compile of the Linux engine - Mark, is that correct? What's required to make that a part of the release process going forward? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From fraser.gordon at runrev.com Wed Mar 12 12:48:47 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 12 Mar 2014 16:48:47 +0000 Subject: Linux 64 Bit builds In-Reply-To: <53208B2D.6000008@fourthworld.com> References: <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> <53208B2D.6000008@fourthworld.com> Message-ID: On 12 Mar 2014, at 16:28, Richard Gaskin wrote: > I believe Mark Weider has already successfully built a 64-bit compile of the Linux engine - Mark, is that correct? He's done a lot of work getting it running and it has been merged in to our GitHub repo. > > What's required to make that a part of the release process going forward? The release of 7.0 ;) The intention is to start supporting 64-bit Linux with version 7.0 of LiveCode but this depends on us finding a suitable distro to build against. As with 32-bit Linux, we need to find a distribution that will allow is to produce builds that work well on the majority of Linux distributions. Stay tuned for updates. Regards, Fraser From fraser.gordon at runrev.com Wed Mar 12 13:01:52 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 12 Mar 2014 17:01:52 +0000 Subject: LiveCode 7 and Bi-directional fields Message-ID: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> Hi all, Due to the many responses we received to our question about adding new chunk types to the LiveCode engine, I thought it might be useful to ask you about another potential change coming in LiveCode 7.0: how fields should handle bi-directional text. Currently, fields can be aligned to the left, centre or right and default to the left. This means that any right-to-left (RTL) or bi-directional (BiDi) text entered into the field will always align to the left, rather than to the most natural side for the text being entered. The question that arises is can and should we change this? Question 1: should the text alignment options be expanded to include "start" and "end"? (Start means right for RTL and left for LTR while end is the opposite) Question 2: if we expand the options, should we interpret "left" and "right" in existing stacks to mean "start" and "end", respectively? This would mean alignment flips when RTL text is entered, making support for RTL text easier. On the other hand, it might be undesirable in some cases. Question 3: if we don't add "start" and "end" alignments, should left/right always mean left/right or should they mean the opposite when the field is set up for RTL text? Some office suites and text editors take one approach, others the opposite? The fact that existing applications don't all follow the same standard makes it more difficult to decide if any particular approach is the right one. What do you think LiveCode should do? Regards, Fraser From richmondmathewson at gmail.com Wed Mar 12 13:02:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 19:02:16 +0200 Subject: New chunks In-Reply-To: <53208658.3090204@hyperactivesw.com> References: <531F637F.6060405@gmail.com> <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> <53208658.3090204@hyperactivesw.com> Message-ID: <53209318.5000606@gmail.com> On 12/03/14 18:07, J. Landman Gay wrote: > On 3/12/14, 5:12 AM, Fraser Gordon wrote: >> The library that we use for low-level Unicode stuff > > Just curious, do you know how much this will inflate the file size of > a standalone? (Not that it matters really.) I'm thinking about the > dictionary size(s) as well as the library itself. > This is going to be the price of having an IDE that is capable of singing, dancing and brewing coffee at 5 in the morning: standalone bloat. I wonder if all the jazzy new additions could not be hived off, so that everything is modularised, so one could run down a checklist of capabilities one's standalone uses before build-time? The one could "trim the fat" to whatever one's standalone required, rather than carting around a lot of excess baggage. For instance; I might be making something that only deals with ASCII script, so I would uncheck all the modules to do with Unicode capabilities and they would not be built into my standalone. There are already one or two choices about inclusions to be made in the standalone builder, so this would not be setting a precedent. Just a thought. Richmond. From jhurley0305 at sbcglobal.net Wed Mar 12 13:06:35 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 12 Mar 2014 10:06:35 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <8DA1AAA2-4A09-4B67-A38C-1758C16641CE@sbcglobal.net> Let me try this again. In ?sentence (breaks on unicode sentence boundaries)? how does RR distinguish between the multiple uses of the period? Jim From fraser.gordon at runrev.com Wed Mar 12 13:08:35 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 12 Mar 2014 17:08:35 +0000 Subject: New chunks In-Reply-To: <53209318.5000606@gmail.com> References: <531F637F.6060405@gmail.com> <3123D683-0D99-4321-A842-8622577ADDDB@runrev.com> <53208658.3090204@hyperactivesw.com> <53209318.5000606@gmail.com> Message-ID: <10E7905C-C954-46DB-BB8E-F3D8031FF6F1@runrev.com> On 12 Mar 2014, at 17:02, Richmond wrote: > On 12/03/14 18:07, J. Landman Gay wrote: >> On 3/12/14, 5:12 AM, Fraser Gordon wrote: >>> The library that we use for low-level Unicode stuff >> >> Just curious, do you know how much this will inflate the file size of >> a standalone? (Not that it matters really.) I'm thinking about the >> dictionary size(s) as well as the library itself. >> If you include everything? about 30MB. Not exactly small. > > This is going to be the price of having an IDE that is capable of singing, dancing and brewing coffee at 5 in the morning: standalone bloat. > > I wonder if all the jazzy new additions could not be hived off, so that everything is modularised, so one could run down a checklist of capabilities > one's standalone uses before build-time? The one could "trim the fat" to whatever one's standalone required, rather than carting around > a lot of excess baggage. We definitely don't want to force anyone to include this mass of data if they don't need it. As you suggest, the standalone builder will allow you to configure how much of this data you want, though we've not yet decided the best way to do this. Some will always be necessary for the engine to function, but we're trying to minimise that. Regards, Fraser From m.schonewille at economy-x-talk.com Wed Mar 12 13:18:21 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Mar 2014 18:18:21 +0100 Subject: [ANN] User Group Meeting in the Netherlands Message-ID: <532096DD.5050307@economy-x-talk.com> Hallo, Op 22 Maart 2014 organiseert eHUG weer een LiveCode-bijeenkomst. De bijeenkomst begint om 11:00h en zal rond 15:00h afgelopen zijn. De locatie is Utrecht. De exacte plek moet nog bepaald worden en zal zo gauw mogelijk bekend worden gemaakt. Als hierin ge?nteresseerd bent, laat het dan alsjeblieft even weten in een persoonlijke e-mail aan mij. -- 22nd March 2014, eHUG will be organising another LiveCode meeting. The meeting starts at 11:00h and will finish at approximately 15:00h. The location will be Utrecht. The exact venue has yet to be determined and will be announced shortly. If you intend to participate in this event, please send me an e-mail off-list. More information will follow soon. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From pete at lcsql.com Wed Mar 12 13:18:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Mar 2014 10:18:54 -0700 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: Hi Chris, I don;t see anything wrong with the WHERE clause. Do you get any sort of error message or is it that the results of the query are not what you expect? Do you have access to an SQLite admin tool that uses an up to date version of the SQLite library? If so, you could try the SELECT directly in it and see what happens. If it works there, then there's something amiss with either SQLYoga or LC 6.6 With regard to using a different SQL library, I entered an enhancement request on the QCC (# 11729) a while back to enable loading of different versions of the SQLite library within LC. It was the subject of some discussion with Mark Waddingham but so far hasn't been accepted for implementation. This might be a good case to cite to support it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Mar 12, 2014 at 8:51 AM, Chris Sheffield wrote: > More info. I don't think there's an issue with SQLYoga here. I'm worried > that I may have come across a bug either in SQLite itself or in LC. > > After my query is completely generated, here is my complete query string: > > SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 > FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 > > The part that's not working in LC 6.6 is the where clause. Does anyone > familiar with sql see any issues with this? As I said before, the same > query works just fine with LC 6.5.2 and the older SQLite library. I'm not > really sure what to do. I need some of the bug fixes in LC 6.6, but I also > need this query to work. Is there a way to take the older SQLite library > from 6.5.2 and use that? Should I submit a bug report to RunRev? Not really > sure what to do at this point. > > Anybody have other suggestions? > > Thanks, > Chris > > On Mar 12, 2014, at 8:59 AM, Chris Sheffield > wrote: > > > Thanks for the suggestion James. > > > > I followed your and Trevor's suggestion to download the latest version > and have gone in and changed the line of code that opens a SQLite db. In my > case, I'm not seeing a connection problem, though, and the problem isn't > fixed after changing that line of code. I'm getting a connection just fine. > And some queries are working just fine. But in one place I'm seeing an > issue where setting search criteria is not working. Specifically, I'm using > a "begins with" search. If I comment out the code that sets that condition, > my query works. > > > > I'm kind of stuck. I need to use LC 6.6 because it contains some bug > fixes for issues I was seeing in this app. I'll dig into the SQLYoga code a > bit more and see what I can find. > > > > Thanks, > > Chris > > > > On Mar 11, 2014, at 5:29 PM, James Hale wrote: > > > >> Chris, > >> > >> Do as Trevor suggested and download the latest SQLYoga. > >> > >> It is no longer password protected so you can modify its handlers. I am > not at my desk right now but if you find the handler that opens the db > connection you just need to modify the SQLite case (in the switch > statement) to handle the new syntax for opening a SQLite connection. > >> > >> I hit the same issue and just changed the single line to the new syntax. > >> > >> Hopefully Trevor will modify the code to enable the call to optionally > enable to the extensions. > >> As I wanted them I just changed the line to the new syntax with the > extensions enabled. > >> > >> James > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 palcibiades-first at yahoo.co.uk Wed Mar 12 13:49:04 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 12 Mar 2014 10:49:04 -0700 (PDT) Subject: Linux 64 Bit builds In-Reply-To: References: <5DF3DBDB-694B-4851-911B-E8657AA442F7@derbrill.de> <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> <53208B2D.6000008@fourthworld.com> Message-ID: <1394646544619-4676940.post@n4.nabble.com> Fraser Gordon wrote > ....As with 32-bit Linux, we need to find a distribution that will allow > is to produce builds that work well on the majority of Linux > distributions..... The answer probably begins with a 'D'....! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Linux-64-Bit-builds-tp4676928p4676940.html Sent from the Revolution - User mailing list archive at Nabble.com. From paul at researchware.com Wed Mar 12 13:49:35 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 12 Mar 2014 13:49:35 -0400 Subject: LiveCode 7 and Bi-directional fields In-Reply-To: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> References: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> Message-ID: <53209E2F.50905@researchware.com> Add start and end - that way programmers can be explicit in what they want. Given a start and end alignment, I would suggest left and right always be left and right explicitly rather than dependent upon the whether the script itself is RTL or LTR. This preserves a level of backwards compatability easily and yet allows full management of text alignments in fields. On 3/12/2014 1:01 PM, Fraser Gordon wrote: > Hi all, > > Due to the many responses we received to our question about adding new chunk types to the LiveCode engine, I thought it might be useful to ask you about another potential change coming in LiveCode 7.0: how fields should handle bi-directional text. > > Currently, fields can be aligned to the left, centre or right and default to the left. This means that any right-to-left (RTL) or bi-directional (BiDi) text entered into the field will always align to the left, rather than to the most natural side for the text being entered. The question that arises is can and should we change this? > > Question 1: should the text alignment options be expanded to include "start" and "end"? (Start means right for RTL and left for LTR while end is the opposite) > > Question 2: if we expand the options, should we interpret "left" and "right" in existing stacks to mean "start" and "end", respectively? This would mean alignment flips when RTL text is entered, making support for RTL text easier. On the other hand, it might be undesirable in some cases. > > Question 3: if we don't add "start" and "end" alignments, should left/right always mean left/right or should they mean the opposite when the field is set up for RTL text? Some office suites and text editors take one approach, others the opposite? > > The fact that existing applications don't all follow the same standard makes it more difficult to decide if any particular approach is the right one. What do you think LiveCode should do? > > Regards, > Fraser > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 12 13:52:52 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 19:52:52 +0200 Subject: Linux 64 Bit builds In-Reply-To: <1394646544619-4676940.post@n4.nabble.com> References: <5DF3DBDB-694B-4851-911B-E8657AA442F7@derbrill.de> <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> <53208B2D.6000008@fourthworld.com> <1394646544619-4676940.post@n4.nabble.com> Message-ID: <53209EF4.6050101@gmail.com> On 12/03/14 19:49, Peter Alcibiades wrote: > Fraser Gordon wrote >> ....As with 32-bit Linux, we need to find a distribution that will allow >> is to produce builds that work well on the majority of Linux >> distributions..... > The answer probably begins with a 'D'....! > > Al > > OR; the most widely deployed desktop distros = Debian derivatives. Oh, Err, there's that 'D' again. Richmond. From richmondmathewson at gmail.com Wed Mar 12 13:56:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 19:56:59 +0200 Subject: LiveCode 7 and Bi-directional fields In-Reply-To: <53209E2F.50905@researchware.com> References: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> <53209E2F.50905@researchware.com> Message-ID: <53209FEB.70005@gmail.com> On 12/03/14 19:49, Paul Dupuis wrote: > Add start and end - that way programmers can be explicit in what they want. > > Given a start and end alignment, I would suggest left and right always > be left and right explicitly rather than dependent upon the whether the > script itself is RTL or LTR. This preserves a level of backwards > compatability easily and yet allows full management of text alignments > in fields. > > On 3/12/2014 1:01 PM, Fraser Gordon wrote: >> Hi all, >> >> Due to the many responses we received to our question about adding new chunk types to the LiveCode engine, I thought it might be useful to ask you about another potential change coming in LiveCode 7.0: how fields should handle bi-directional text. >> >> Currently, fields can be aligned to the left, centre or right and default to the left. This means that any right-to-left (RTL) or bi-directional (BiDi) text entered into the field will always align to the left, rather than to the most natural side for the text being entered. The question that arises is can and should we change this? >> >> Question 1: should the text alignment options be expanded to include "start" and "end"? (Start means right for RTL and left for LTR while end is the opposite) >> >> Question 2: if we expand the options, should we interpret "left" and "right" in existing stacks to mean "start" and "end", respectively? This would mean alignment flips when RTL text is entered, making support for RTL text easier. On the other hand, it might be undesirable in some cases. Why not expand to 'LTR' and 'RTL', and then we could have something like this: set the textAlign [of line] of {button | field} to {LTR | RTL} {left | center | right} Where (for backwards compatibility, and because the majority of scripts are LTR) if {LTR | RTL} is not defined it defaults to LTR. Richmond. >> >> Question 3: if we don't add "start" and "end" alignments, should left/right always mean left/right or should they mean the opposite when the field is set up for RTL text? Some office suites and text editors take one approach, others the opposite? >> >> The fact that existing applications don't all follow the same standard makes it more difficult to decide if any particular approach is the right one. What do you think LiveCode should do? >> >> Regards, >> Fraser >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 cmsheffield at icloud.com Wed Mar 12 14:16:09 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 12 Mar 2014 12:16:09 -0600 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: <7A435419-5133-4370-8979-D5BDE7E88C67@icloud.com> Pete, I don?t get any kind of error message. In fact, the query sort of returns successfully. It just doesn?t return all the results. When running the query I showed earlier, I only get back the value of the wordID field. No other field values are returned. I do have a a couple admin tools, and the query runs correctly in both of them. I tried it in Valentina Studio, which I believe is using a fairly recent version of SQLite, though I can?t tell for sure as I can?t find a SQLite version anywhere in the app. I also tried SQLiteManger, which is an older version and therefore using an older version of SQLite. So I?m guessing I?ve found a bug in the newer LC SQLite library. I think I?ll go ahead and submit a bug report at this point. I?m not really sure what else to try. Thanks for the help. Chris On Mar 12, 2014, at 11:18 AM, Peter Haworth wrote: > Hi Chris, > I don;t see anything wrong with the WHERE clause. Do you get any sort of > error message or is it that the results of the query are not what you > expect? > > Do you have access to an SQLite admin tool that uses an up to date version > of the SQLite library? If so, you could try the SELECT directly in it and > see what happens. If it works there, then there's something amiss with > either SQLYoga or LC 6.6 > > With regard to using a different SQL library, I entered an enhancement > request on the QCC (# 11729) a while back to enable loading of different > versions of the SQLite library within LC. It was the subject of some > discussion with Mark Waddingham but so far hasn't been accepted for > implementation. This might be a good case to cite to support it. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Wed, Mar 12, 2014 at 8:51 AM, Chris Sheffield wrote: > >> More info. I don't think there's an issue with SQLYoga here. I'm worried >> that I may have come across a bug either in SQLite itself or in LC. >> >> After my query is completely generated, here is my complete query string: >> >> SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 >> FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 >> >> The part that's not working in LC 6.6 is the where clause. Does anyone >> familiar with sql see any issues with this? As I said before, the same >> query works just fine with LC 6.5.2 and the older SQLite library. I'm not >> really sure what to do. I need some of the bug fixes in LC 6.6, but I also >> need this query to work. Is there a way to take the older SQLite library >> from 6.5.2 and use that? Should I submit a bug report to RunRev? Not really >> sure what to do at this point. >> >> Anybody have other suggestions? >> >> Thanks, >> Chris >> >> On Mar 12, 2014, at 8:59 AM, Chris Sheffield >> wrote: >> >>> Thanks for the suggestion James. >>> >>> I followed your and Trevor's suggestion to download the latest version >> and have gone in and changed the line of code that opens a SQLite db. In my >> case, I'm not seeing a connection problem, though, and the problem isn't >> fixed after changing that line of code. I'm getting a connection just fine. >> And some queries are working just fine. But in one place I'm seeing an >> issue where setting search criteria is not working. Specifically, I'm using >> a "begins with" search. If I comment out the code that sets that condition, >> my query works. >>> >>> I'm kind of stuck. I need to use LC 6.6 because it contains some bug >> fixes for issues I was seeing in this app. I'll dig into the SQLYoga code a >> bit more and see what I can find. >>> >>> Thanks, >>> Chris >>> >>> On Mar 11, 2014, at 5:29 PM, James Hale wrote: >>> >>>> Chris, >>>> >>>> Do as Trevor suggested and download the latest SQLYoga. >>>> >>>> It is no longer password protected so you can modify its handlers. I am >> not at my desk right now but if you find the handler that opens the db >> connection you just need to modify the SQLite case (in the switch >> statement) to handle the new syntax for opening a SQLite connection. >>>> >>>> I hit the same issue and just changed the single line to the new syntax. >>>> >>>> Hopefully Trevor will modify the code to enable the call to optionally >> enable to the extensions. >>>> As I wanted them I just changed the line to the new syntax with the >> extensions enabled. >>>> >>>> James >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 revdev at pdslabs.net Wed Mar 12 14:25:55 2014 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 12 Mar 2014 11:25:55 -0700 Subject: LiveCode 7 and Bi-directional fields In-Reply-To: References: Message-ID: <5320A6B3.8010007@pdslabs.net> Fraser, Would it make sense to add a textDirection or textFlow property to fields, to indicate the native direction of the text? In my simplistic way of seeing things this would make for less confusion. Then you can have right-aligned LTR text (e.g. a column of numbers) and left-aligned RTL text as the case calls for it, without any foggy terminology. Right would still mean right, etc. Or maybe I have oversimplified. Also, are you suggesting that LC would autoDetect the native text direction? I get the feeling it's an assumption but may be reading too much into your description. Thanks - Phil Davis On 3/12/14, 10:07 AM, Fraser Gordon wrote: > Hi all, > > Due to the many responses we received to our question about adding new chunk types to the LiveCode engine, I thought it might be useful to ask you about another potential change coming in LiveCode 7.0: how fields should handle bi-directional text. > > Currently, fields can be aligned to the left, centre or right and default to the left. This means that any right-to-left (RTL) or bi-directional (BiDi) text entered into the field will always align to the left, rather than to the most natural side for the text being entered. The question that arises is can and should we change this? > > Question 1: should the text alignment options be expanded to include "start" and "end"? (Start means right for RTL and left for LTR while end is the opposite) > > Question 2: if we expand the options, should we interpret "left" and "right" in existing stacks to mean "start" and "end", respectively? This would mean alignment flips when RTL text is entered, making support for RTL text easier. On the other hand, it might be undesirable in some cases. > > Question 3: if we don't add "start" and "end" alignments, should left/right always mean left/right or should they mean the opposite when the field is set up for RTL text? Some office suites and text editors take one approach, others the opposite? > > The fact that existing applications don't all follow the same standard makes it more difficult to decide if any particular approach is the right one. What do you think LiveCode should do? > > Regards, > Fraser > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev > -- Phil Davis From pete at lcsql.com Wed Mar 12 15:26:30 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Mar 2014 12:26:30 -0700 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: Hi Chris, I created a database with 1 table and added some entries that begin with "5-C" then executed your SELECT statement with the same LIKE, ORDER BY, and LIMIT clauses using revDataFromQuery in LC 6.6 and it worked fine so doesn't seem like it's an SQLite or LC issue. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Mar 12, 2014 at 8:51 AM, Chris Sheffield wrote: > More info. I don't think there's an issue with SQLYoga here. I'm worried > that I may have come across a bug either in SQLite itself or in LC. > > After my query is completely generated, here is my complete query string: > > SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 > FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 > > The part that's not working in LC 6.6 is the where clause. Does anyone > familiar with sql see any issues with this? As I said before, the same > query works just fine with LC 6.5.2 and the older SQLite library. I'm not > really sure what to do. I need some of the bug fixes in LC 6.6, but I also > need this query to work. Is there a way to take the older SQLite library > from 6.5.2 and use that? Should I submit a bug report to RunRev? Not really > sure what to do at this point. > > Anybody have other suggestions? > > Thanks, > Chris > > On Mar 12, 2014, at 8:59 AM, Chris Sheffield > wrote: > > > Thanks for the suggestion James. > > > > I followed your and Trevor's suggestion to download the latest version > and have gone in and changed the line of code that opens a SQLite db. In my > case, I'm not seeing a connection problem, though, and the problem isn't > fixed after changing that line of code. I'm getting a connection just fine. > And some queries are working just fine. But in one place I'm seeing an > issue where setting search criteria is not working. Specifically, I'm using > a "begins with" search. If I comment out the code that sets that condition, > my query works. > > > > I'm kind of stuck. I need to use LC 6.6 because it contains some bug > fixes for issues I was seeing in this app. I'll dig into the SQLYoga code a > bit more and see what I can find. > > > > Thanks, > > Chris > > > > On Mar 11, 2014, at 5:29 PM, James Hale wrote: > > > >> Chris, > >> > >> Do as Trevor suggested and download the latest SQLYoga. > >> > >> It is no longer password protected so you can modify its handlers. I am > not at my desk right now but if you find the handler that opens the db > connection you just need to modify the SQLite case (in the switch > statement) to handle the new syntax for opening a SQLite connection. > >> > >> I hit the same issue and just changed the single line to the new syntax. > >> > >> Hopefully Trevor will modify the code to enable the call to optionally > enable to the extensions. > >> As I wanted them I just changed the line to the new syntax with the > extensions enabled. > >> > >> James > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 cmsheffield at icloud.com Wed Mar 12 15:40:06 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 12 Mar 2014 13:40:06 -0600 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: Interesting. Thanks for trying that. Maybe I?ll try bypassing SQLYoga for that query then and see what happens. On Mar 12, 2014, at 1:26 PM, Peter Haworth wrote: > Hi Chris, > I created a database with 1 table and added some entries that begin with > "5-C" then executed your SELECT statement with the same LIKE, ORDER BY, and > LIMIT clauses using revDataFromQuery in LC 6.6 and it worked fine so > doesn't seem like it's an SQLite or LC issue. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Wed, Mar 12, 2014 at 8:51 AM, Chris Sheffield wrote: > >> More info. I don't think there's an issue with SQLYoga here. I'm worried >> that I may have come across a bug either in SQLite itself or in LC. >> >> After my query is completely generated, here is my complete query string: >> >> SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 >> FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 >> >> The part that's not working in LC 6.6 is the where clause. Does anyone >> familiar with sql see any issues with this? As I said before, the same >> query works just fine with LC 6.5.2 and the older SQLite library. I'm not >> really sure what to do. I need some of the bug fixes in LC 6.6, but I also >> need this query to work. Is there a way to take the older SQLite library >> from 6.5.2 and use that? Should I submit a bug report to RunRev? Not really >> sure what to do at this point. >> >> Anybody have other suggestions? >> >> Thanks, >> Chris >> >> On Mar 12, 2014, at 8:59 AM, Chris Sheffield >> wrote: >> >>> Thanks for the suggestion James. >>> >>> I followed your and Trevor's suggestion to download the latest version >> and have gone in and changed the line of code that opens a SQLite db. In my >> case, I'm not seeing a connection problem, though, and the problem isn't >> fixed after changing that line of code. I'm getting a connection just fine. >> And some queries are working just fine. But in one place I'm seeing an >> issue where setting search criteria is not working. Specifically, I'm using >> a "begins with" search. If I comment out the code that sets that condition, >> my query works. >>> >>> I'm kind of stuck. I need to use LC 6.6 because it contains some bug >> fixes for issues I was seeing in this app. I'll dig into the SQLYoga code a >> bit more and see what I can find. >>> >>> Thanks, >>> Chris >>> >>> On Mar 11, 2014, at 5:29 PM, James Hale wrote: >>> >>>> Chris, >>>> >>>> Do as Trevor suggested and download the latest SQLYoga. >>>> >>>> It is no longer password protected so you can modify its handlers. I am >> not at my desk right now but if you find the handler that opens the db >> connection you just need to modify the SQLite case (in the switch >> statement) to handle the new syntax for opening a SQLite connection. >>>> >>>> I hit the same issue and just changed the single line to the new syntax. >>>> >>>> Hopefully Trevor will modify the code to enable the call to optionally >> enable to the extensions. >>>> As I wanted them I just changed the line to the new syntax with the >> extensions enabled. >>>> >>>> James >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 wow at together.net Wed Mar 12 15:52:18 2014 From: wow at together.net (Richard Miller) Date: Wed, 12 Mar 2014 15:52:18 -0400 Subject: Any way to create a Mac LC background app? In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: <5320BAF2.2000104@together.net> Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. Thanks, Richard Miller From mwieder at ahsoftware.net Wed Mar 12 16:27:15 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Mar 2014 20:27:15 +0000 (UTC) Subject: Linux 64 Bit builds References: <5DF3DBDB-694B-4851-911B-E8657AA442F7@derbrill.de> <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> <53208B2D.6000008@fourthworld.com> <1394646544619-4676940.post@n4.nabble.com> Message-ID: Peter Alcibiades writes: > > Fraser Gordon wrote > > ....As with 32-bit Linux, we need to find a distribution that will allow > > is to produce builds that work well on the majority of Linux > > distributions..... > > The answer probably begins with a 'D'....! LOL -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Mar 12 16:33:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Mar 2014 13:33:29 -0700 Subject: Linux 64 Bit builds In-Reply-To: References: Message-ID: <5320C499.9070701@fourthworld.com> Fraser Gordon wrote: > On 12 Mar 2014, at 16:28, Richard Gaskin wrote: > >> What's required to make that a part of the release process going >> forward? > > The release of 7.0 ;) > > The intention is to start supporting 64-bit Linux with version 7.0 > of LiveCode but this depends on us finding a suitable distro to build > against. Excellent! Thanks, Fraser. And thank you, Mark Wieder, for doing the work to get that going. Very much appreciated. I look forward to Ubuntu 14.04 being the first install where I haven't had to follow it up with an apt-get for ia32-libs. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From wow at together.net Wed Mar 12 16:36:23 2014 From: wow at together.net (Richard Miller) Date: Wed, 12 Mar 2014 16:36:23 -0400 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320BAF2.2000104@together.net> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> Message-ID: <5320C547.9060601@together.net> What I need is a way to have a Mac LC (desktop) app run once every 12 hours, complete a brief 15-second routine, shut down, then repeat every 12 hours... all without user interaction. On 3/12/14 3:52 PM, Richard Miller wrote: > Is there any way for a LC app to run in the background on a Mac, so > the user won't see it listed when they cycle through their open > programs? I know how to make it invisible, but it still shows up when > you Apple Key-Tab through running apps. > > Thanks, > Richard Miller > > _______________________________________________ > use-livecode mailing list > use-livecode 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 cmsheffield at icloud.com Wed Mar 12 16:42:53 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 12 Mar 2014 14:42:53 -0600 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: <986BD865-528B-47A2-8C50-17836DED14DF@icloud.com> Hmm. I still get the same results even after bypassing SQLYoga and using revDataFromQuery instead. So I?m at a lost. Not sure where the problem is... On Mar 12, 2014, at 1:26 PM, Peter Haworth wrote: > Hi Chris, > I created a database with 1 table and added some entries that begin with > "5-C" then executed your SELECT statement with the same LIKE, ORDER BY, and > LIMIT clauses using revDataFromQuery in LC 6.6 and it worked fine so > doesn't seem like it's an SQLite or LC issue. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Wed, Mar 12, 2014 at 8:51 AM, Chris Sheffield wrote: > >> More info. I don't think there's an issue with SQLYoga here. I'm worried >> that I may have come across a bug either in SQLite itself or in LC. >> >> After my query is completely generated, here is my complete query string: >> >> SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 >> FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 >> >> The part that's not working in LC 6.6 is the where clause. Does anyone >> familiar with sql see any issues with this? As I said before, the same >> query works just fine with LC 6.5.2 and the older SQLite library. I'm not >> really sure what to do. I need some of the bug fixes in LC 6.6, but I also >> need this query to work. Is there a way to take the older SQLite library >> from 6.5.2 and use that? Should I submit a bug report to RunRev? Not really >> sure what to do at this point. >> >> Anybody have other suggestions? >> >> Thanks, >> Chris >> >> On Mar 12, 2014, at 8:59 AM, Chris Sheffield >> wrote: >> >>> Thanks for the suggestion James. >>> >>> I followed your and Trevor's suggestion to download the latest version >> and have gone in and changed the line of code that opens a SQLite db. In my >> case, I'm not seeing a connection problem, though, and the problem isn't >> fixed after changing that line of code. I'm getting a connection just fine. >> And some queries are working just fine. But in one place I'm seeing an >> issue where setting search criteria is not working. Specifically, I'm using >> a "begins with" search. If I comment out the code that sets that condition, >> my query works. >>> >>> I'm kind of stuck. I need to use LC 6.6 because it contains some bug >> fixes for issues I was seeing in this app. I'll dig into the SQLYoga code a >> bit more and see what I can find. >>> >>> Thanks, >>> Chris >>> >>> On Mar 11, 2014, at 5:29 PM, James Hale wrote: >>> >>>> Chris, >>>> >>>> Do as Trevor suggested and download the latest SQLYoga. >>>> >>>> It is no longer password protected so you can modify its handlers. I am >> not at my desk right now but if you find the handler that opens the db >> connection you just need to modify the SQLite case (in the switch >> statement) to handle the new syntax for opening a SQLite connection. >>>> >>>> I hit the same issue and just changed the single line to the new syntax. >>>> >>>> Hopefully Trevor will modify the code to enable the call to optionally >> enable to the extensions. >>>> As I wanted them I just changed the line to the new syntax with the >> extensions enabled. >>>> >>>> James >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 richmondmathewson at gmail.com Wed Mar 12 17:02:07 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 23:02:07 +0200 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320C547.9060601@together.net> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> <5320C547.9060601@together.net> Message-ID: <5320CB4F.8020408@gmail.com> On 12/03/14 22:36, Richard Miller wrote: > What I need is a way to have a Mac LC (desktop) app run once every 12 > hours, complete a brief 15-second routine, shut down, then repeat > every 12 hours... all without user interaction. Well, I don't suppose it matters if the user can see that it is running. Unless, of course, you are using it for snooping on their activity . . . ???? > > > On 3/12/14 3:52 PM, Richard Miller wrote: >> Is there any way for a LC app to run in the background on a Mac, so >> the user won't see it listed when they cycle through their open >> programs? I know how to make it invisible, but it still shows up when >> you Apple Key-Tab through running apps. >> >> Thanks, >> Richard Miller >> Richmond. From ambassador at fourthworld.com Wed Mar 12 17:07:22 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Mar 2014 14:07:22 -0700 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320C547.9060601@together.net> References: <5320C547.9060601@together.net> Message-ID: <5320CC8A.4080204@fourthworld.com> Your app could use the shell function to set up a cron job, and once that's in place it could handle command line arguments so it can be called with -ui to run facelessly. When run with -ui, the environment() function will return "command line", so you can use a startup handler to determine if it's been launched from the command line, and if so check the value of $# to get the number of arguments passed to it so you can parse them out as #1, #2, etc. For cron: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys Richard Miller wrote: > What I need is a way to have a Mac LC (desktop) app run once every 12 > hours, complete a brief 15-second routine, shut down, then repeat > every 12 hours... all without user interaction. > > On 3/12/14 3:52 PM, Richard Miller wrote: >> Is there any way for a LC app to run in the background on a Mac, so >> the user won't see it listed when they cycle through their open >> programs? I know how to make it invisible, but it still shows up >> when you Apple Key-Tab through running apps. From devin_asay at byu.edu Wed Mar 12 17:10:07 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 12 Mar 2014 21:10:07 +0000 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320BAF2.2000104@together.net> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> Message-ID: On Mar 12, 2014, at 1:52 PM, Richard Miller wrote: > Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. > Richard, You have to edit the info.plist file for the app and insert a LSUIElement key: This creates a faceless application (one that doesn't appear in Force Quit list or in the Dock): LSUIElement 1 See http://cocoadev.com/LSUIElement I haven't used it for a few years, but I assume it still works. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From richmondmathewson at gmail.com Wed Mar 12 17:11:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 23:11:58 +0200 Subject: Any way to create a Mac LC background app? In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> Message-ID: <5320CD9E.9090305@gmail.com> On 12/03/14 23:10, Devin Asay wrote: > On Mar 12, 2014, at 1:52 PM, Richard Miller > wrote: > >> Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. >> > Richard, > > You have to edit the info.plist file for the app and insert a LSUIElement key: > > This creates a faceless application (one that doesn't appear in Force Quit list or in the Dock): And what happens when your standalone starts creating merry hell, and you have no way of quitting the thing? Sounds a bit risky. Richmond. > > LSUIElement > 1 > > See http://cocoadev.com/LSUIElement > > > I haven't used it for a few years, but I assume it still works. > > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.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 wow at together.net Wed Mar 12 17:17:10 2014 From: wow at together.net (Richard Miller) Date: Wed, 12 Mar 2014 17:17:10 -0400 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320CC8A.4080204@fourthworld.com> References: <5320C547.9060601@together.net> <5320CC8A.4080204@fourthworld.com> Message-ID: <5320CED6.9050307@together.net> Thanks, Richard. I think this approach will do it... if only I knew more about implementing it! I'll read about cron's and try to figure it out. If anyone can offer a bit more guidance, that would be great. Very much appreciated. On 3/12/14 5:07 PM, Richard Gaskin wrote: > Your app could use the shell function to set up a cron job, and once > that's in place it could handle command line arguments so it can be > called with -ui to run facelessly. > > When run with -ui, the environment() function will return "command > line", so you can use a startup handler to determine if it's been > launched from the command line, and if so check the value of $# to get > the number of arguments passed to it so you can parse them out as #1, > #2, etc. > > For cron: > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > > Richard Miller wrote: > > > What I need is a way to have a Mac LC (desktop) app run once every 12 > > hours, complete a brief 15-second routine, shut down, then repeat > > every 12 hours... all without user interaction. > > > > On 3/12/14 3:52 PM, Richard Miller wrote: > >> Is there any way for a LC app to run in the background on a Mac, so > >> the user won't see it listed when they cycle through their open > >> programs? I know how to make it invisible, but it still shows up > >> when you Apple Key-Tab through running apps. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 12 17:20:04 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 12 Mar 2014 21:20:04 +0000 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320CD9E.9090305@gmail.com> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> <5320CD9E.9090305@gmail.com> Message-ID: <96E08763-4BE2-4168-B105-29B346DB727B@byu.edu> On Mar 12, 2014, at 3:11 PM, Richmond wrote: > On 12/03/14 23:10, Devin Asay wrote: >> On Mar 12, 2014, at 1:52 PM, Richard Miller >> wrote: >> >>> Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. >>> >> Richard, >> >> You have to edit the info.plist file for the app and insert a LSUIElement key: >> >> This creates a faceless application (one that doesn't appear in Force Quit list or in the Dock): > > And what happens when your standalone starts creating merry hell, and you have no way of quitting the thing? > > Sounds a bit risky. Actually, the app is not exactly "faceless"' that was a poor choice of words. You can still quit the app by clicking into the interface and choosing Quit from the app menu. It just doesn't show up in the dock or on Cmd+tab. In my case I only used it for a couple of dead simple applications that I tested thoroughly before changing the plist. It sounds like Richard has something like that in mind. It turns the app into something called an "agent app". https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/20001431-108256 Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From richmondmathewson at gmail.com Wed Mar 12 17:39:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Mar 2014 23:39:44 +0200 Subject: Any way to create a Mac LC background app? In-Reply-To: <96E08763-4BE2-4168-B105-29B346DB727B@byu.edu> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> <5320CD9E.9090305@gmail.com> <96E08763-4BE2-4168-B105-29B346DB727B@byu.edu> Message-ID: <5320D420.3040909@gmail.com> On 12/03/14 23:20, Devin Asay wrote: > On Mar 12, 2014, at 3:11 PM, Richmond > wrote: > >> On 12/03/14 23:10, Devin Asay wrote: >>> On Mar 12, 2014, at 1:52 PM, Richard Miller >>> wrote: >>> >>>> Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. >>>> >>> Richard, >>> >>> You have to edit the info.plist file for the app and insert a LSUIElement key: >>> >>> This creates a faceless application (one that doesn't appear in Force Quit list or in the Dock): >> And what happens when your standalone starts creating merry hell, and you have no way of quitting the thing? >> >> Sounds a bit risky. > Actually, the app is not exactly "faceless"' that was a poor choice of words. You can still quit the app by clicking into the interface Um? If the app is running invisibly, how does one click into the interface? Richmond. > and choosing Quit from the app menu. It just doesn't show up in the dock or on Cmd+tab. In my case I only used it for a couple of dead simple applications that I tested thoroughly before changing the plist. It sounds like Richard has something like that in mind. > > It turns the app into something called an "agent app". > https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/20001431-108256 > > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.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 devin_asay at byu.edu Wed Mar 12 17:52:27 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 12 Mar 2014 21:52:27 +0000 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320D420.3040909@gmail.com> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> <5320CD9E.9090305@gmail.com> <96E08763-4BE2-4168-B105-29B346DB727B@byu.edu> <5320D420.3040909@gmail.com> Message-ID: On Mar 12, 2014, at 3:39 PM, Richmond wrote: > On 12/03/14 23:20, Devin Asay wrote: >> On Mar 12, 2014, at 3:11 PM, Richmond >> wrote: >> >>> On 12/03/14 23:10, Devin Asay wrote: >>>> On Mar 12, 2014, at 1:52 PM, Richard Miller >>>> wrote: >>>> >>>>> Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. >>>>> >>>> Richard, >>>> >>>> You have to edit the info.plist file for the app and insert a LSUIElement key: >>>> >>>> This creates a faceless application (one that doesn't appear in Force Quit list or in the Dock): >>> And what happens when your standalone starts creating merry hell, and you have no way of quitting the thing? >>> >>> Sounds a bit risky. >> Actually, the app is not exactly "faceless"' that was a poor choice of words. You can still quit the app by clicking into the interface > > Um? If the app is running invisibly, how does one click into the interface? Right, that's why I said "faceless" was a poor choice of words on my part. An app configured like this still has a visible interface; it just doesn't appear on the Force Quit list or the dock. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From wow at together.net Wed Mar 12 17:53:28 2014 From: wow at together.net (Richard Miller) Date: Wed, 12 Mar 2014 17:53:28 -0400 Subject: Any way to create a Mac LC background app? In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> Message-ID: <5320D758.4050104@together.net> Hi Devin, Here's the modified info.plist file, which is pointed to in the Standalone builder. But it isn't working yet. Suggestions? ------------------- CFBundleDevelopmentRegion English CFBundleDocumentTypes CFBundleTypeExtensions CFBundleTypeIconFile StandaloneDoc.icns CFBundleTypeName Consoler Engine Files CFBundleTypeOSTypes CFBundleTypeRole Editor CFBundleExecutable Consoler Engine LSUIElement 1 CFBundleIdentifier com..startconsolerengine CFBundleGetInfoString Start Consoler Engine Version 1.0.0.0 CFBundleIconFile Standalone.icns CFBundleInfoDictionaryVersion 6.0 CFBundleLongVersionString Start Consoler Engine 1.0.0.0 CFBundleName Start Consoler Engine CFBundlePackageType APPL CFBundleShortVersionString 1.0.0.0 CFBundleSignature ???? CFBundleVersion 1.0.0.0 CSResourcesFileMapped LFPrefersCarbon LSGetAppDiedEvents NSAppleScriptEnabled YES NSHumanReadableCopyright 2013 All rights reserved worldwide From pete at lcsql.com Wed Mar 12 18:00:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Mar 2014 15:00:25 -0700 Subject: SQLYoga and LC 6.6 In-Reply-To: <986BD865-528B-47A2-8C50-17836DED14DF@icloud.com> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <986BD865-528B-47A2-8C50-17836DED14DF@icloud.com> Message-ID: On Wed, Mar 12, 2014 at 1:42 PM, Chris Sheffield wrote: > Hmm. I still get the same results even after bypassing SQLYoga and using > revDataFromQuery instead. > > So I'm at a lost. Not sure where the problem is... > That is strange since it worked OK for me with both revDataFromQuery and revQueryDatabase. Off course I'm not using your database so maybe some data condition is causing the problem. Does sound like you should enter a bug report though. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From wow at together.net Wed Mar 12 18:08:44 2014 From: wow at together.net (Richard Miller) Date: Wed, 12 Mar 2014 18:08:44 -0400 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320D758.4050104@together.net> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> <5320D758.4050104@together.net> Message-ID: <5320DAEC.7060708@together.net> Got it. Thank you! Works great. The formatting is VERY specific. This works: |LSUIElement 1 This doesn't: | LSUIElement 1 From devin_asay at byu.edu Wed Mar 12 18:11:49 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 12 Mar 2014 22:11:49 +0000 Subject: Any way to create a Mac LC background app? In-Reply-To: <5320D758.4050104@together.net> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <5320BAF2.2000104@together.net> <5320D758.4050104@together.net> Message-ID: <3F640A2E-4F18-4FC1-94A4-1CFA590D8557@byu.edu> On Mar 12, 2014, at 3:53 PM, Richard Miller wrote: > Hi Devin, > > Here's the modified info.plist file, which is pointed to in the Standalone builder. But it isn't working yet. Suggestions? > LSUIElement > 1 All I can guess is that you seem to have some extra white space characters before and after your key name. The xml schema for plists may be unforgiving of extraneous characters. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From bobsneidar at iotecdigital.com Wed Mar 12 18:58:20 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 22:58:20 +0000 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: <216C681E-6C21-4C07-B8F2-CAF8099DA6D5@iotecdigital.com> Try using LIKE instead. customer name LIKE ?%bob%? will find all Bobs. Bob On Mar 12, 2014, at 07:59 , Chris Sheffield wrote: > Thanks for the suggestion James. > > I followed your and Trevor?s suggestion to download the latest version and have gone in and changed the line of code that opens a SQLite db. In my case, I?m not seeing a connection problem, though, and the problem isn?t fixed after changing that line of code. I?m getting a connection just fine. And some queries are working just fine. But in one place I?m seeing an issue where setting search criteria is not working. Specifically, I?m using a ?begins with? search. If I comment out the code that sets that condition, my query works. > > I?m kind of stuck. I need to use LC 6.6 because it contains some bug fixes for issues I was seeing in this app. I?ll dig into the SQLYoga code a bit more and see what I can find. > > Thanks, > Chris > > On Mar 11, 2014, at 5:29 PM, James Hale wrote: > >> Chris, >> >> Do as Trevor suggested and download the latest SQLYoga. >> >> It is no longer password protected so you can modify its handlers. I am not at my desk right now but if you find the handler that opens the db connection you just need to modify the SQLite case (in the switch statement) to handle the new syntax for opening a SQLite connection. >> >> I hit the same issue and just changed the single line to the new syntax. >> >> Hopefully Trevor will modify the code to enable the call to optionally enable to the extensions. >> As I wanted them I just changed the line to the new syntax with the extensions enabled. >> >> James >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mar 12 19:00:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 23:00:59 +0000 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: Never mind I see you are using LIKE. Okay, so try the Firefox SQLite plugin and run the query there. If it works there and not in Livecode, well you have divided and are prepared to conquer? Bob On Mar 12, 2014, at 08:51 , Chris Sheffield > wrote: SELECT wordID, targetWord, questionStem, answer, distractor1, distractor2 FROM words WHERE words.wordID LIKE '5-C%' ORDER BY random() LIMIT 1 From bobsneidar at iotecdigital.com Wed Mar 12 19:10:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 23:10:15 +0000 Subject: SQLYoga and LC 6.6 - Found word(s) list error in the Text body In-Reply-To: <89bd057b-c7bc-4c0a-820b-60c2ae3e4f5c@lists.runrev.com> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <89bd057b-c7bc-4c0a-820b-60c2ae3e4f5c@lists.runrev.com> Message-ID: <670BF7EB-E7FC-441B-B448-55BA622CB597@iotecdigital.com> Okay so the syntax for sqlYoga would be: put sqlquery_createObject(?words?), theQueryObject sqlquery_set theQueryObject, ?select clause?, "wordID, targetWord, questionStem, answer, distractor1, distractor2? put "wordID LIKE :1? into theConditions put ?5-C%? into aBindings [1] sqlquery_set theQueryObject, ?conditions?, theConditions sqlquery_set theQueryObject, ?condition bindings?, aBindings sqlquery_retrieveAsData theQueryObject, theQueryData You can do something similar with sqlrecord, but it will always return record objects, not text data. Also, make SURE you run sqlyoga_reloadSchema() if you have made any alterations to your database schema and save the database object you are using (if you are using one). Bob On Mar 12, 2014, at 11:16 , Chris Sheffield > wrote: Pete, I don?t get any kind of error message. In fact, the query sort of returns successfully. It just doesn?t return all the results. When running the query I showed earlier, I only get back the value of the wordID field. No other field values are returned. From bobsneidar at iotecdigital.com Wed Mar 12 19:29:28 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 23:29:28 +0000 Subject: SQLYoga and LC 6.6 - Found word(s) list error in the Text body - Found word(s) list error in the Text body In-Reply-To: <8eece12e-b31b-418b-bcae-aff62779eb8a@lists.runrev.com> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au><89bd057b-c7bc-4c0a-820b-60c2ae3e4f5c@lists.runrev.com> <8eece12e-b31b-418b-bcae-aff62779eb8a@lists.runrev.com> Message-ID: <653D4D79-F122-4280-9FFA-731F9A0053A9@iotecdigital.com> add sqlquery_set theQueryObject, ?limit?, ?1? if you only want the first occurrence. Bob On Mar 12, 2014, at 16:10 , Bob Sneidar wrote: > Okay so the syntax for sqlYoga would be: > > put sqlquery_createObject(?words?), theQueryObject > sqlquery_set theQueryObject, ?select clause?, "wordID, targetWord, questionStem, answer, distractor1, distractor2? > put "wordID LIKE :1? into theConditions > put ?5-C%? into aBindings [1] > sqlquery_set theQueryObject, ?conditions?, theConditions > sqlquery_set theQueryObject, ?condition bindings?, aBindings > sqlquery_retrieveAsData theQueryObject, theQueryData > > You can do something similar with sqlrecord, but it will always return record objects, not text data. > > Also, make SURE you run sqlyoga_reloadSchema() if you have made any alterations to your database schema and save the database object you are using (if you are using one). > > Bob > > On Mar 12, 2014, at 11:16 , Chris Sheffield > wrote: > > Pete, > > I don?t get any kind of error message. In fact, the query sort of returns successfully. It just doesn?t return all the results. When running the query I showed earlier, I only get back the value of the wordID field. No other field values are returned. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 12 19:49:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 23:49:38 +0000 Subject: Crowd Funding Enhancements In-Reply-To: <531E71BB.6070304@hyperactivesw.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> Message-ID: +1 On Mar 10, 2014, at 19:15 , J. Landman Gay wrote: > On 3/10/14, 9:04 PM, Peter Haworth wrote: >> Here's one I'd like to see: the use of "each" in conjunction with chunk >> expressions. For example: >> >> delete item 4 of each line of tVar >> >> put item 1 to 3 of each line of tVar into tSave >> >> replace word 1 of each item of each line with "xyz" in tVar >> >> Maybe even: >> >> put tArray[each key]["LastName"] & return into tNames > > That'd be nice. And as long as we're dreaming, how about: > > repeat for each card c in this stack > repeat for each button b of this card > > ...and like that. > > -- > 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 bobsneidar at iotecdigital.com Wed Mar 12 19:51:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 23:51:58 +0000 Subject: MSSQL Support? In-Reply-To: References: <034D1FC1-DDAC-4A07-851D-72B23A484304@m-r-d.de> Message-ID: Yes thanks. For some reason I didn?t get the original reply to this. Bob On Mar 11, 2014, at 11:17 , Skip Kimpel wrote: > Awesome.... Thank you for that! > > SKIP > >> On Mar 11, 2014, at 1:27 PM, Matthias Rebbe | M-R-D wrote: >> >> Hi Bob, >> >> i am using ODBC to MSSQL connections on Mac and Windows for some years now with great success. >> >> I am using system dsn and in some projects also ODBC connection strings. >> Advantage of the ODBC connection string is the customer do not have to create a dsn. >> >> Here are some examples of ODBC connection strings under Windows >> >> SQL SERVER Driver >> get revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=192.168.1.250;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERNAME;Trusted_Connection=No",,,) >> >> SQL Server Driver - connect to instance >> get revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=192.168.1.250\INSTANCENAME;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) >> >> Native Client 11 Driver >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) >> >> Native Client 11 Driver - connect to instance >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 11.0};SERVER=192.168.1.250\InstanceName;DATABASE=DBNAME;UID=DBUSER;PWD=DBUSERPASSWORD;Trusted_Connection=No",,,) >> >> and under Mac using the Actualtech ODBC driver >> get revOpenDatabase("ODBC","Driver={Actual SQL Server};Server=192.168.1.250\INSTANCENAME;Database=DBNAME;UID=DBUSER;PWD=DBPASSWORD;",,,) >> >> >> >> >> Regards, >> >> Matthias >> >> >>> Am 11.03.2014 um 18:05 schrieb Bob Sneidar : >>> >>> Has anyone had any success querying MSSQL? I suppose it could be done via shell, but I?m not sure I want to go that route. ODBC seems fairly clunky to implement as well, and I?m not sure MS even supports ODBC for MSSQL. >>> >>> Bob >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Mar 12 19:55:44 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 12 Mar 2014 16:55:44 -0700 Subject: Reading and decoding binary data In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> Message-ID: <50866053-760F-4A72-A1AC-20628A14BDDF@earthednet.org> Folks: Before I bang my head against the wall too much, I'd like to make sure I'm approaching this task correctly. I have a digital elevation file consisting of 16 bit 2's complement data. I first determine the position of the data for the desired location, then I do a binary read. put getAFilePath("files/dems/") into fPath put fPath&"ETOPO5.DAT" into theFile open file theFile for binary read if the result <> empty then answer "Couldn't open DEM file" exit readDemTest end if --Then i calculate the byte position where the data should be, then read it using: read from file theFile at thePos for 8 --read 8 chars beginning at thePos (I should only need 2 to get the value) put it into theDepths put byteToNum(byte 1 of theDepths) into b1 put byteToNum(byte 2 of theDepths) into b2 --Then, because I don't remember the byte order, I'm trying each one to see which gives me sensible results --It should have a sign bit, so only 7 bits of the most significant byte should count, and the first one is the sign bit. if b1 > 127 then --sign is negative. numbers from 128 to 255 should be negative put -256+b1 into msb put 256*msb - b2 into depth1 else --sign is positive put b1 into msb put 256*msb + b2 into depth1 end if --try the other way if b2 > 127 then put -256+b2 into msb put 256*msb - b1 into depth2 else put b2 into msb put 256*msb + b1 into depth2 end if What I'm wondering before I spend more time on this, is whether the livecode commands are the correct ones for this. I have old C code that does some of the same processing, but I can't run it now to test. Thanks, Bill William Prothero http://es.earthednet.org From bobsneidar at iotecdigital.com Wed Mar 12 19:58:46 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Mar 2014 23:58:46 +0000 Subject: New chunks In-Reply-To: References: Message-ID: Pretty sure Livecode is going to do a simple delimiter on period. You would have to prep the data first by replacing periods in any word that is a number with a placeholder, processing your sentences, then restoring the placeholders (if you need to). You could get fancy by setting the lineDelimiter to space, then finding every line that ends in a period and processing everything in-between. It?s doubtful a number would end in a period without it being the end of a sentence. Bob On Mar 11, 2014, at 15:34 , Jim Hurley wrote: > Can someone explain how the ?sentence" chunk would work? > How are decimal points, and points in an abbreviation distinguished from the ?period? that deliniates the end of a ?sentence?? > Does it presume that the exitsing text has special embedded ?periods?? > > I?ve written my own, but it is very cumbersome and not flawless. I use it to do manuscript analysis. > Like: Find all sentences in which ?time? and ?party? occur anywhere in the same sentence. > > My ignorance on unicode is profound. > Jim > > C >> Message: 15 >> Date: Tue, 11 Mar 2014 18:15:18 +0000 >> From: Benjamin Beaumont >> To: LiveCode Developer List , How to >> use LiveCode >> Subject: New chunks >> Message-ID: >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Hi All, >> >> We're in the process of adding some new chunk types in LiveCode 7 and we >> would appreciate suggestions for a particular chunk name. >> >> The new chunk types are: >> >> naturalword (breaks on unicode word boundaries) >> sentence (breaks on unicode sentence boundaries) >> paragraph (Same behaviour as current 'line' chunk) >> >> The first chunk is called 'naturalword' because 'word' is already in use. >> Renaming the current 'word' chunk to 'token' to free up 'word' is not an >> option for backward compatibility. We are also limited by the current >> parser which doesn't allow us to use the form: >> >> put natural word 1 of "this is a string of words" >> >> 'naturalword' is the clearest internal suggestion at the moment and we'd >> love to get the input from community members if there is an even clearer >> option. >> >> Warm regards and thank you for your input. >> >> 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 vokey at uleth.ca Wed Mar 12 20:54:11 2014 From: vokey at uleth.ca (Vokey, John) Date: Thu, 13 Mar 2014 00:54:11 +0000 Subject: New chunks Message-ID: As they are unicode ?words?, why not: wurd? put the 2nd wurd of ?word word? into naturalword. Just a thought. (Now ducking and running because this email is obviously about cheese). -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From lan.kc.macmail at gmail.com Wed Mar 12 21:18:00 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 13 Mar 2014 09:18:00 +0800 Subject: SQLYoga and LC 6.6 In-Reply-To: <7A435419-5133-4370-8979-D5BDE7E88C67@icloud.com> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <7A435419-5133-4370-8979-D5BDE7E88C67@icloud.com> Message-ID: On Thu, Mar 13, 2014 at 2:16 AM, Chris Sheffield wrote: > I do have a a couple admin tools, and the query runs correctly in both of > them. I tried it in Valentina Studio, which I believe is using a fairly > recent version of SQLite, though I can't tell for sure as I can't find a > SQLite version anywhere in the app. I also tried SQLiteManger, which is an > older version and therefore using an older version of SQLite. > > In Val Studio, SQL Editor window: SELECT sqlite_version() My Val Studio 5.5.4 currently reports 3.8.1 In LC, in multi-line msg box, put revOpenDatabase("sqlite","/Users/me/my.sqlite",,,) into tDbID put "SELECT sqlite_version()" into tDbQuery put revDataFromQuery(,,tDbID,tDbQuery) into msg In LC 6.5.2 I get 3.7.4 In LC 6.6.1 I get 3.8.3.1 I have seen something close to what you are experiencing with WHERE clauses before, BUT no matter which SQL admin tool I used they didn't work. The problem was caused by duplicating data in Val Studio. For some reason data in certain rows didn't 'register' correctly and so WHERE clauses based on those rows didn't work. A bug report was issued and the problem solved. Currently the WHERE clauses in SQLite + LC 6.6.1 (6.6 rc1) seem to be working for me, but I haven't really stress tested it. Try creating a brand new db and see if you can get WHERE clauses to work. If so, what about dumping your data, build a new db and see if that works? From paul at researchware.com Wed Mar 12 21:32:07 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 12 Mar 2014 21:32:07 -0400 Subject: New chunks In-Reply-To: References: Message-ID: <53210A97.4010508@researchware.com> Actually, no it is not based on simple period delimiters. It is using a code library that has built in rules to understand sentence structure in most languages and actually can recognize real end-of-sentences. It deals with numbers, abbreviations, etc. correctly. Can someone probably construct some sequence of characters that could be called a sentence that might get mis-parsed? Possibly - I am familiar with the library RunRev is using only by reputation, so I can't say for sure. However for most text you will work with where you want to return "sentence 2 of paragraph 5 of fld X" you will get exactly what you expect. On 3/12/2014 7:58 PM, Bob Sneidar wrote: > Pretty sure Livecode is going to do a simple delimiter on period. You would have to prep the data first by replacing periods in any word that is a number with a placeholder, processing your sentences, then restoring the placeholders (if you need to). > > You could get fancy by setting the lineDelimiter to space, then finding every line that ends in a period and processing everything in-between. It?s doubtful a number would end in a period without it being the end of a sentence. > > Bob > > > On Mar 11, 2014, at 15:34 , Jim Hurley wrote: > >> Can someone explain how the ?sentence" chunk would work? >> How are decimal points, and points in an abbreviation distinguished from the ?period? that deliniates the end of a ?sentence?? >> Does it presume that the exitsing text has special embedded ?periods?? >> >> I?ve written my own, but it is very cumbersome and not flawless. I use it to do manuscript analysis. >> Like: Find all sentences in which ?time? and ?party? occur anywhere in the same sentence. >> >> My ignorance on unicode is profound. >> Jim >> >> C >>> Message: 15 >>> Date: Tue, 11 Mar 2014 18:15:18 +0000 >>> From: Benjamin Beaumont >>> To: LiveCode Developer List , How to >>> use LiveCode >>> Subject: New chunks >>> Message-ID: >>> >>> Content-Type: text/plain; charset=ISO-8859-1 >>> >>> Hi All, >>> >>> We're in the process of adding some new chunk types in LiveCode 7 and we >>> would appreciate suggestions for a particular chunk name. >>> >>> The new chunk types are: >>> >>> naturalword (breaks on unicode word boundaries) >>> sentence (breaks on unicode sentence boundaries) >>> paragraph (Same behaviour as current 'line' chunk) >>> >>> The first chunk is called 'naturalword' because 'word' is already in use. >>> Renaming the current 'word' chunk to 'token' to free up 'word' is not an >>> option for backward compatibility. We are also limited by the current >>> parser which doesn't allow us to use the form: >>> >>> put natural word 1 of "this is a string of words" >>> >>> 'naturalword' is the clearest internal suggestion at the moment and we'd >>> love to get the input from community members if there is an even clearer >>> option. >>> >>> Warm regards and thank you for your input. >>> >>> 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 lan.kc.macmail at gmail.com Wed Mar 12 22:04:34 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 13 Mar 2014 10:04:34 +0800 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <7A435419-5133-4370-8979-D5BDE7E88C67@icloud.com> Message-ID: On Thu, Mar 13, 2014 at 9:18 AM, Kay C Lan wrote: > In LC, in multi-line msg box, > > put revOpenDatabase("sqlite","/Users/me/my.sqlite",,,) into tDbID > put "SELECT sqlite_version()" into tDbQuery > put revDataFromQuery(,,tDbID,tDbQuery) into msg > Whoops, should have included one more line: revCloseDatabase tDbID And also remember if you use Val Studio first you need to disconnect the DB otherwise you'll get an error when you try to concurrently connect LC (if you are testing against the same DB). From dick.kriesel at mail.com Wed Mar 12 22:25:16 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 12 Mar 2014 19:25:16 -0700 Subject: New chunks In-Reply-To: References: Message-ID: How about "revword" for the pre-7 behavior? + frees "word" to make learning easier post-6 + tribute to heritage + easily recognizable and sensible reference for current and future livecoders + no reference to encoding + no reference to versions + no unexpected "u" + precedent for similar changes in the future -- Dick From dunbarx at aol.com Wed Mar 12 23:09:46 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 12 Mar 2014 23:09:46 -0400 (EDT) Subject: New chunks In-Reply-To: <8DA1AAA2-4A09-4B67-A38C-1758C16641CE@sbcglobal.net> References: <8DA1AAA2-4A09-4B67-A38C-1758C16641CE@sbcglobal.net> Message-ID: <8D10C80D276CA81-195C-927F@webmail-vd002.sysops.aol.com> JIm. Me, too. I asked early on if it was envisioned that a sentence be delimited by a period and a space. (or a paragraph by two successive returns) These seem unreliable as large scale text separators, Craig -----Original Message----- From: Jim Hurley To: use-livecode Sent: Wed, Mar 12, 2014 1:07 pm Subject: Re: New chunks Let me try this again. In ?sentence (breaks on unicode sentence boundaries)? how does RR distinguish between the multiple uses of the period? Jim _______________________________________________ use-livecode mailing list use-livecode 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 jhj at jhj.com Wed Mar 12 23:50:10 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 12 Mar 2014 20:50:10 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <7E060D46-FE9C-4CD5-A225-6068A6C61033@jhj.com> +1 for revword. But I still think wurd is the funniest. .Jerry On Mar 12, 2014, at 7:25 PM, Dick Kriesel wrote: > How about "revword" for the pre-7 behavior? > > + frees "word" to make learning easier post-6 > + tribute to heritage > + easily recognizable and sensible reference for current and future livecoders > + no reference to encoding > + no reference to versions > + no unexpected "u" > + precedent for similar changes in the future > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode 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 jhurley0305 at sbcglobal.net Thu Mar 13 00:48:13 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 12 Mar 2014 21:48:13 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <30E29391-C9FF-4DE2-B854-099CB5AB9140@sbcglobal.net> Hi Bob, I have an app that I use for manuscript analysis and have done some of this "prep." For example to deal with decimal points, since the digit following the decimal point is always a number (0123456789): repeat with i = 0 to 9 replace "." & i with "\" & i in tText end repeat So that 3.14 becomes 3\14 and 2.3456 becomes 2\3456 But that's only the beginning. There are a massive number of abbreviations: Mr. Smith, etc. Jan. , A.D., Dr. I have a list of about 70. But then there are names: P. G. Wodehouse and on and on. I find my script useful for my own needs, but I don't see any commercial application. Just too many unexpected places where a period will show up. So I really can't see the purpose of RR's "sentence chunk". I wish they would explain. Jim > > Message: 25 > Date: Wed, 12 Mar 2014 23:58:46 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: New chunks > Message-ID: > Content-Type: text/plain; charset="Windows-1252" > > Pretty sure Livecode is going to do a simple delimiter on period. You would have to prep the data first by replacing periods in any word that is a number with a placeholder, processing your sentences, then restoring the placeholders (if you need to). > > You could get fancy by setting the lineDelimiter to space, then finding every line that ends in a period and processing everything in-between. It?s doubtful a number would end in a period without it being the end of a sentence. > > Bob > > > On Mar 11, 2014, at 15:34 , Jim Hurley wrote: > >> Can someone explain how the ?sentence" chunk would work? >> How are decimal points, and points in an abbreviation distinguished from the ?period? that deliniates the end of a ?sentence?? >> Does it presume that the exitsing text has special embedded ?periods?? >> >> I?ve written my own, but it is very cumbersome and not flawless. I use it to do manuscript analysis. >> Like: Find all sentences in which ?time? and ?party? occur anywhere in the same sentence. >> >> My ignorance on unicode is profound. >> Jim >> For some reason data > in certain rows didn't 'register' correctly and so WHERE clauses based on > those rows didn't work. A bug report was issued and the problem solved. > > Currently the WHERE clauses in SQLite + LC 6.6.1 (6.6 rc1) seem to be > working for me, but I haven't really stress tested it. > > Try creating a brand new db and see if you can get WHERE clauses to work. > If so, what about dumping your data, build a new db and see if that works? > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 126, Issue 19 > ********************************************* From mwieder at ahsoftware.net Thu Mar 13 01:18:10 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Mar 2014 22:18:10 -0700 Subject: Linux 64 Bit builds In-Reply-To: <53208B2D.6000008@fourthworld.com> References: <982C59C7-CCDB-44CB-B836-ADF54708987B@runrev.com> <53208B2D.6000008@fourthworld.com> Message-ID: <89269377315.20140312221810@ahsoftware.net> Richard- Wednesday, March 12, 2014, 9:28:29 AM, you wrote: > I believe Mark Weider has already successfully built a 64-bit compile of > the Linux engine - Mark, is that correct? Yes, the code changes necessary for 64-bit engine builds are already incorporated into the master branch of the code repository. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Thu Mar 13 01:21:18 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Mar 2014 22:21:18 -0700 Subject: Linux 64 Bit builds In-Reply-To: <5320C499.9070701@fourthworld.com> References: <5320C499.9070701@fourthworld.com> Message-ID: <42269564827.20140312222118@ahsoftware.net> Richard- Wednesday, March 12, 2014, 1:33:29 PM, you wrote: > And thank you, Mark Wieder, for doing the work to get that going. Very > much appreciated. Well, going down the 64-bit route was kind of an accident - I forgot that I was on a 64-bit OS when I started compiling. People really shouldn't tempt me by saying something can't be done - it just becomes more of a challenge. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Thu Mar 13 02:43:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Mar 2014 01:43:13 -0500 Subject: New chunks In-Reply-To: References: Message-ID: <53215381.3000407@hyperactivesw.com> On 3/12/14, 9:25 PM, Dick Kriesel wrote: > How about "revword" for the pre-7 behavior? That's not bad. I wouldn't mind it. As an aside, I'm working late tonight and doing a lot of text parsing. I've got some text like this: 3/13/14 text more text and without even thinking about it, I grab the date: put word 1 of line x of fld y into tDate And then I stop short and think about what I'd need to do if "word" wasn't a word any more. This is going to take some getting used to. I've been having this kind of double-take all night. I didn't realize at first just how much I use that token. Changing "word" is going to be a huge hit for a while. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jaguayo at telur.es Thu Mar 13 04:26:46 2014 From: jaguayo at telur.es (Joseba Aguayo) Date: Thu, 13 Mar 2014 09:26:46 +0100 Subject: use-livecode Digest, Vol 126, Issue 18 In-Reply-To: References: Message-ID: Hello: Please, add options. Not change the options until now. The applications constructed now must be run OK in the new version 7. Un saludo. Joseba Aguayo Fern?ndez (jaguayo at telur.es) El Mar 12, 2014, a las 8:40 PM, use-livecode-request at lists.runrev.com escribi?: > Hi all, > > Due to the many responses we received to our question about adding new chunk types to the LiveCode engine, I thought it might be useful to ask you about another potential change coming in LiveCode 7.0: how fields should handle bi-directional text. > > Currently, fields can be aligned to the left, centre or right and default to the left. This means that any right-to-left (RTL) or bi-directional (BiDi) text entered into the field will always align to the left, rather than to the most natural side for the text being entered. The question that arises is can and should we change this? > > Question 1: should the text alignment options be expanded to include "start" and "end"? (Start means right for RTL and left for LTR while end is the opposite) > > Question 2: if we expand the options, should we interpret "left" and "right" in existing stacks to mean "start" and "end", respectively? This would mean alignment flips when RTL text is entered, making support for RTL text easier. On the other hand, it might be undesirable in some cases. > > Question 3: if we don't add "start" and "end" alignments, should left/right always mean left/right or should they mean the opposite when the field is set up for RTL text? Some office suites and text editors take one approach, others the opposite? > > The fact that existing applications don't all follow the same standard makes it more difficult to decide if any particular approach is the right one. What do you think LiveCode should do? > > Regards, > Fraser From dixonja at hotmail.co.uk Thu Mar 13 05:04:11 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 13 Mar 2014 09:04:11 +0000 Subject: Tio anyone ? Message-ID: Anyone having problems with tio ?... Everything was fine last night but it seems not to want to play nicely this morning... or is it just me ?..:-( From fraser.gordon at runrev.com Thu Mar 13 05:47:20 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Thu, 13 Mar 2014 09:47:20 +0000 Subject: New chunks In-Reply-To: <30E29391-C9FF-4DE2-B854-099CB5AB9140@sbcglobal.net> References: <30E29391-C9FF-4DE2-B854-099CB5AB9140@sbcglobal.net> Message-ID: On 13 Mar 2014, at 04:48, Jim Hurley wrote: > > So I really can't see the purpose of RR's "sentence chunk". I wish they would explain. > We'd be using ICU's sentence breaking code. They include a whole bunch of language-related knowledge with the library and can use that to tell the difference between decimal points, full stops, abbreviations, etc. You're right about it not being perfect but it does seem pretty reliable. Regards, Fraser From t.heaford at btinternet.com Thu Mar 13 07:40:39 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 13 Mar 2014 11:40:39 +0000 Subject: Setting up an Option Menu Button Message-ID: I have an Option Menu on a card accessed from other cards where I want to select item 1 of the menu whenever you go to the card. The Card that owns Option Menu Button is also accessed from a Tab Panel. I have this script that is used to setup the button and sometimes it works and other times it doesn?t. When I say doesn?t, the ellipsis are not added. Can someone point me in the right direction please: -------- This is the Tab Panel Script -------- on menuPick pItemName switch pItemName case "General" go to cd "ChartGeneral" break case "Categories" go to cd "ChartCategories" break case "5 Year Categories" go to cd "Chart5YearCategories" put revDataFromQuery(tab, return, the uDB of stack ?MyStack", "select categoryName from 'categoryList' order by categoryName asc") into tCatNames set the text of cd btn "CategoryMenu" to tCatNames --send "menuPick " & line 1 of tCatNames to cd btn "CategoryMenu" dispatch "menuPick" to cd btn "CategoryMenu" of cd "Chart5YearCategories" with line 1 of tCatNames set the menuHistory of cd btn "CategoryMenu" to 1 break end switch end menuPick -------- This is the Option Menu Script -------- on menuPick pItemName lock screen addEllipsis the long name of me,pItemName unlock screen end menuPick -------- The following method is in the stack script to make it available to other menu?s elsewhere. -------- on addEllipsis pName,pChoice lock screen put the width of pName - 15 into tW set the label of pName to pChoice put the formattedWidth of pName into tSize if tSize > tW then repeat with x = length(pChoice) down to 1 set the label of pName to (char 1 to x of pChoice) & "..." if the formattedWidth of pName < tW then exit repeat else put x-1 into tMax put char 1 to tMax of pChoice & "..." into tLabel end if end repeat set the label of pName to tLabel end if unlock screen end addEllipsis From alanstenhouse at hotmail.com Thu Mar 13 07:58:27 2014 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 13 Mar 2014 12:58:27 +0100 Subject: New chunks In-Reply-To: References: Message-ID: Wouldn't it be simple to set the itemDel to tab put item 1 of line x of fld y into tDate Granted, slightly more work, but since itemDel changes are limited to only the local handler, it's not too big a deal, is it? Or am I missing something else? Re: the change to "word" - I'd love for it to function seamlessly with unicode and actually work properly according to what "normal" people's idea of a word is. Isn't that the reason we use livecode? Regarding using another term for the previous behaviour - legacyWord or revWord seem reasonable. Some scripts will need changed, but such are the side-effects of progress? cheers Alan On 13/03/2014, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > 3/13/14 text more text > > and without even thinking about it, I grab the date: > > put word 1 of line x of fld y into tDate > > And then I stop short and think about what I'd need to do if "word" > wasn't a word any more. > > This is going to take some getting used to. I've been having this kind > of double-take all night. I didn't realize at first just how much I use > that token. Changing "word" is going to be a huge hit for a while. From heather at runrev.com Thu Mar 13 08:22:24 2014 From: heather at runrev.com (Heather Laine) Date: Thu, 13 Mar 2014 12:22:24 +0000 Subject: New Learn Tab Message-ID: <6D447B42-4115-48C6-BE48-E94693B24A32@runrev.com> Dear List Members, In response to a user suggestion, we have now added a new tab on our website, called Learn. This pulls together various training resources available to you which may previously not have been easy to find: http://livecode.com/learn/ Something on this page I'd like to highlight is our new Training Days offering. We're providing this in response to a demand for more in-person, hands on training options. We are sending a team live to LA in May, and London in April, to sit down with you for two whole days and take you through a serious, structured, training course. If you can't make the conference for whatever reason, or you want serious LiveCode training before September, this is something you might want to look at. It's a new product and as such on trial - it will only go ahead if there is sufficient demand. So if you want this, be sure and sign up! If it goes well we'll look at taking it to new centres. Where do you want us to come next? Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ From jacque at hyperactivesw.com Thu Mar 13 10:17:18 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Mar 2014 09:17:18 -0500 Subject: New chunks In-Reply-To: References: Message-ID: Sure, that's what I'd need to do, convert each instance to items. I was bemoaning the sheer number of times it would have been necessary in just one night's work. It does point out the necessity for me to have a global switch of some sort. Think of all the swapping you'd have to do within a single repeat loop just to pull out chunks composed of different types of characters. A date followed by a currency followed by a quoted string for example. On March 13, 2014 6:58:27 AM CDT, Alan Stenhouse wrote: >Wouldn't it be simple to > >set the itemDel to tab >put item 1 of line x of fld y into tDate > > >Granted, slightly more work, but since itemDel changes are limited to >only the local handler, it's not too big a deal, is it? > >Or am I missing something else? > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alain.vezina at logilangue.com Thu Mar 13 10:25:50 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 13 Mar 2014 10:25:50 -0400 Subject: package maker In-Reply-To: <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> Message-ID: <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> Hi Matthias, Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. Regards Alain Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : > Hi Alain, > > there is "App Wrapper? from Ohanaware. > They published some information about Mavericks & Codesigning for LiveCode apps. > > http://www.ohanaware.com/support/mavericksCodesign.php#liveCode > > I did not try it yet, but it reads and sounds reasonable. > > Regards, > > Matthias Rebbe > > > Am 11.03.2014 um 20:53 schrieb Alain Vezina : > >> Hi All, >> >> I used to use RB Package Maker Studio to prepare an app for Apple Store. >> It seems it no longer works on Mac OS 10.9. >> I loved this package maker especially for setting the entitlements. >> Is there anybody who knows an other package maker ? >> I know how to sign and package an app, but I don?t know how to fix the entitlements. >> >> Alain Vezina >> Logilangue >> 514-596-1385 >> www.logilangue.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 Mar 13 10:28:20 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Mar 2014 07:28:20 -0700 Subject: v7 testing and "word" In-Reply-To: References: Message-ID: <5321C084.3070206@fourthworld.com> Joseba Aguayo made this very important request on the use-livecode list: > Please, add options. Not change the options until now. > The applications constructed now must be run OK in the new version 7. LiveCode v7 will include some of the most sweeping changes we've seen in any engine build in many years. We must all test it thoroughly. If it's riddled with bugs it'll frustrate long-time users, hamper adoption among newcomers, and increase expenses for RunRev while it risks lowering their revenue with a bad reputation. So we must be ABLE to test it. If we're all spending time tracking down the inevitable cases where even an automated search-and-replace for "word" didn't update our code, we simply won't be able to spend enough time doing the sort of testing v7 will require. Whether this is done through synonyms to assist the transition, or some other means, Joseba's post reminds us that it's absolutely critical that v7 maintain backward compatibility to allow thorough testing. From the moment we run our stacks in v7, we must be able to assume that any issues we find with previously-working code are regression issues, not merely side-effects of new features. As important as the new chunk type is, I believe it's far more important that the team remain keenly focused on delivering a v7 build that addresses unfortunately long-standing concerns of stability. The goal of v7 is "Unicode: it just works". Keep to that mandate, and find some means of handling any deviation from that goal, even if it means postponement of this new chunk type. For an engine change this big, backward compatibility with long-standing language tokens is an absolute must, at least for now. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pmbrig at gmail.com Thu Mar 13 10:31:13 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Thu, 13 Mar 2014 10:31:13 -0400 Subject: New chunks In-Reply-To: <53210A97.4010508@researchware.com> References: <53210A97.4010508@researchware.com> Message-ID: On Wed, Mar 12, 2014 at 9:32 PM, Paul Dupuis wrote: > Can someone probably construct some sequence of characters that could be > called a sentence that might get mis-parsed? Possibly - I am familiar > with the library RunRev is using only by reputation, so I can't say for > sure. However for most text you will work with where you want to return > "sentence 2 of paragraph 5 of fld X" you will get exactly what you expect. > How about this: "In later years, P.G. Wodehouse always went by P.G. Wodehouse might have thought that Pelham Grenville sounded snooty." No algorithm is going to manage this kind of thing, where the reader has to understand the meaning of the sentences to parse them correctly. The question is how seldom will mistakes occur. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dunbarx at aol.com Thu Mar 13 10:38:49 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 13 Mar 2014 10:38:49 -0400 (EDT) Subject: v7 testing and "word" In-Reply-To: <5321C084.3070206@fourthworld.com> References: <5321C084.3070206@fourthworld.com> Message-ID: <8D10CE114ED63B2-1A7C-B30D@webmail-m170.sysops.aol.com> What Richard said, I will lose no sleep at all if I can never, ever: get the number of sentences of myText. Craig Newman -----Original Message----- From: Richard Gaskin To: use-livecode ; LiveCode Developer List Sent: Thu, Mar 13, 2014 10:28 am Subject: v7 testing and "word" Joseba Aguayo made this very important request on the use-livecode list: > Please, add options. Not change the options until now. > The applications constructed now must be run OK in the new version 7. LiveCode v7 will include some of the most sweeping changes we've seen in any engine build in many years. We must all test it thoroughly. If it's riddled with bugs it'll frustrate long-time users, hamper adoption among newcomers, and increase expenses for RunRev while it risks lowering their revenue with a bad reputation. So we must be ABLE to test it. If we're all spending time tracking down the inevitable cases where even an automated search-and-replace for "word" didn't update our code, we simply won't be able to spend enough time doing the sort of testing v7 will require. Whether this is done through synonyms to assist the transition, or some other means, Joseba's post reminds us that it's absolutely critical that v7 maintain backward compatibility to allow thorough testing. From the moment we run our stacks in v7, we must be able to assume that any issues we find with previously-working code are regression issues, not merely side-effects of new features. As important as the new chunk type is, I believe it's far more important that the team remain keenly focused on delivering a v7 build that addresses unfortunately long-standing concerns of stability. The goal of v7 is "Unicode: it just works". Keep to that mandate, and find some means of handling any deviation from that goal, even if it means postponement of this new chunk type. For an engine change this big, backward compatibility with long-standing language tokens is an absolute must, at least for now. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys _______________________________________________ use-livecode mailing list use-livecode 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 Thu Mar 13 11:04:09 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Mar 2014 15:04:09 +0000 Subject: [ANN] User Group Meeting in the Netherlands In-Reply-To: <532096DD.5050307@economy-x-talk.com> References: <532096DD.5050307@economy-x-talk.com> Message-ID: <3AC68490-9DA9-407D-9B31-746C9BE151B0@iotecdigital.com> Gee, wish I could come. :-) Bob On Mar 12, 2014, at 10:18 , Mark Schonewille wrote: > Hallo, > > Op 22 Maart 2014 organiseert eHUG weer een LiveCode-bijeenkomst. De bijeenkomst begint om 11:00h en zal rond 15:00h afgelopen zijn. De locatie is Utrecht. De exacte plek moet nog bepaald worden en zal zo gauw mogelijk bekend worden gemaakt. > > Als hierin ge?nteresseerd bent, laat het dan alsjeblieft even weten in een persoonlijke e-mail aan mij. > > -- > > 22nd March 2014, eHUG will be organising another LiveCode meeting. The meeting starts at 11:00h and will finish at approximately 15:00h. The location will be Utrecht. The exact venue has yet to be determined and will be announced shortly. > > If you intend to participate in this event, please send me an e-mail off-list. > > More information will follow soon. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Thu Mar 13 11:04:32 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 13 Mar 2014 15:04:32 +0000 Subject: Setting up an Option Menu Button In-Reply-To: References: Message-ID: <5FACE441-124A-459F-886D-B4A267498EE0@btinternet.com> Still looking for help. I have changed my script in the Tab Panel Script to below because the dictionary entry for menuHistory says: "When you set the menuHistory property, a menuPick message is sent to the button.? In the script below the menuPick message is not send to btw ?CategoryMenu" on menuPick pItemName switch pItemName case "General" go to cd "ChartGeneral" break case "Categories" go to cd "ChartCategories" break case "5 Year Categories" go to cd "Chart5YearCategories" put revDataFromQuery(tab, return, the uDB of stack ?MyStack", "select categoryName from 'categoryList' order by categoryName asc") into tCatNames set the text of cd btn "CategoryMenu" to tCatNames set the menuHistory of cd btn "CategoryMenu" to 1 break end switch end menuPick Hope someone can help All the best Terry On 13 Mar 2014, at 11:40, Terence Heaford wrote: > I have an Option Menu on a card accessed from other cards where I want to select item 1 of the menu whenever you go to the card. > > The Card that owns Option Menu Button is also accessed from a Tab Panel. > > I have this script that is used to setup the button and sometimes it works and other times it doesn?t. > > When I say doesn?t, the ellipsis are not added. > > Can someone point me in the right direction please: > > -------- > This is the Tab Panel Script > -------- > on menuPick pItemName > switch pItemName > case "General" > go to cd "ChartGeneral" > break > case "Categories" > go to cd "ChartCategories" > break > case "5 Year Categories" > go to cd "Chart5YearCategories" > put revDataFromQuery(tab, return, the uDB of stack ?MyStack", "select categoryName from 'categoryList' order by categoryName asc") into tCatNames > set the text of cd btn "CategoryMenu" to tCatNames > --send "menuPick " & line 1 of tCatNames to cd btn "CategoryMenu" > dispatch "menuPick" to cd btn "CategoryMenu" of cd "Chart5YearCategories" with line 1 of tCatNames > set the menuHistory of cd btn "CategoryMenu" to 1 > break > end switch > end menuPick > > -------- > This is the Option Menu Script > -------- > on menuPick pItemName > lock screen > addEllipsis the long name of me,pItemName > unlock screen > end menuPick > > -------- > The following method is in the stack script to make it available to other menu?s elsewhere. > -------- > on addEllipsis pName,pChoice > lock screen > put the width of pName - 15 into tW > set the label of pName to pChoice > put the formattedWidth of pName into tSize > if tSize > tW then > repeat with x = length(pChoice) down to 1 > set the label of pName to (char 1 to x of pChoice) & "..." > if the formattedWidth of pName < tW then > exit repeat > else > put x-1 into tMax > put char 1 to tMax of pChoice & "..." into tLabel > end if > end repeat > set the label of pName to tLabel > end if > unlock screen > end addEllipsis > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Thu Mar 13 11:34:59 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Mar 2014 08:34:59 -0700 Subject: Setting up an Option Menu Button In-Reply-To: References: Message-ID: If the menu history of the button is already 1, no menuPick will be generated. Try setting the menu History to zero then 1. Pete lcSQL Software On Mar 13, 2014 4:40 AM, "Terence Heaford" wrote: > I have an Option Menu on a card accessed from other cards where I want to > select item 1 of the menu whenever you go to the card. > > The Card that owns Option Menu Button is also accessed from a Tab Panel. > > I have this script that is used to setup the button and sometimes it works > and other times it doesn't. > > When I say doesn't, the ellipsis are not added. > > Can someone point me in the right direction please: > > -------- > This is the Tab Panel Script > -------- > on menuPick pItemName > switch pItemName > case "General" > go to cd "ChartGeneral" > break > case "Categories" > go to cd "ChartCategories" > break > case "5 Year Categories" > go to cd "Chart5YearCategories" > put revDataFromQuery(tab, return, the uDB of stack "MyStack", > "select categoryName from 'categoryList' order by categoryName asc") into > tCatNames > set the text of cd btn "CategoryMenu" to tCatNames > --send "menuPick " & line 1 of tCatNames to cd btn "CategoryMenu" > dispatch "menuPick" to cd btn "CategoryMenu" of cd > "Chart5YearCategories" with line 1 of tCatNames > set the menuHistory of cd btn "CategoryMenu" to 1 > break > end switch > end menuPick > > -------- > This is the Option Menu Script > -------- > on menuPick pItemName > lock screen > addEllipsis the long name of me,pItemName > unlock screen > end menuPick > > -------- > The following method is in the stack script to make it available to other > menu's elsewhere. > -------- > on addEllipsis pName,pChoice > lock screen > put the width of pName - 15 into tW > set the label of pName to pChoice > put the formattedWidth of pName into tSize > if tSize > tW then > repeat with x = length(pChoice) down to 1 > set the label of pName to (char 1 to x of pChoice) & "..." > if the formattedWidth of pName < tW then > exit repeat > else > put x-1 into tMax > put char 1 to tMax of pChoice & "..." into tLabel > end if > end repeat > set the label of pName to tLabel > end if > unlock screen > end addEllipsis > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 13 11:39:03 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Mar 2014 08:39:03 -0700 Subject: v7 testing and "word" In-Reply-To: <8D10CE114ED63B2-1A7C-B30D@webmail-m170.sysops.aol.com> References: <8D10CE114ED63B2-1A7C-B30D@webmail-m170.sysops.aol.com> Message-ID: <5321D117.9060707@fourthworld.com> dunbarx wrote: > What Richard said, > > I will lose no sleep at all if I can never, ever: > > get the number of sentences of myText. Fortunately "sentences" poses no conflict with any existing code, so if it appears in v7 we know any issues with it are new and well worth reporting. My only caution would be in cases where an existing token were changed in ways that break code, with my recommendation being not to do that for now. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bobsneidar at iotecdigital.com Thu Mar 13 11:45:21 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Mar 2014 15:45:21 +0000 Subject: New chunks In-Reply-To: References: <30E29391-C9FF-4DE2-B854-099CB5AB9140@sbcglobal.net> Message-ID: <344EDBF6-D89B-4953-A237-B41304C304C8@iotecdigital.com> Office products stumble at name and standard street abbreviations as well. Floating point numbers however are ignored. Apparently what they are looking for is period-space or period-. Not very comprehensive, but of course nothing could accommodate all abbreviations. The example, "I used to know H. G. Wells." will produce 3 sentences. But if you ignore a single letter followed by a period, then the phrase, ?A is greater than B. Therefore, B is not greater than A.? will only produce one sentence. This evokes in me a severe doubt that the number of sentences can ever be absolutely determined with 100% confidence. I suppose had the English language been developed in the digital age, someone would have thought of this conundrum and used a different character for abbreviations, decimal indicators and sentences. Things like this make me ponder in what scenario would it be necessary to isolate sentences at all. If Microsoft Word, the defacto word processor of the world, cannot absolutely detect all sentences in all situations, they obviously don?t think there is a real need for it. Can anyone cite an application that can detect sentences with 100% certainty? If so, figure out what they are using. Bob On Mar 13, 2014, at 02:47 , Fraser Gordon wrote: > > On 13 Mar 2014, at 04:48, Jim Hurley wrote: >> >> So I really can't see the purpose of RR's "sentence chunk". I wish they would explain. >> > > We'd be using ICU's sentence breaking code. They include a whole bunch of language-related knowledge with the library and can use that to tell the difference between decimal points, full stops, abbreviations, etc. You're right about it not being perfect but it does seem pretty reliable. > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jhurley0305 at sbcglobal.net Thu Mar 13 11:51:08 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 13 Mar 2014 08:51:08 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <9C05387C-CA09-4B74-9E9A-5857533B4844@sbcglobal.net> Thanks Fraser. I?m looking forward to it. I have a poor man?s version that is workable. However just ran across a sentence in today?s NYT that I will have to include: (?What they?re offering people is a full stomach and an empty soul.?) I had dealt with the quote beyond the period and the paren beyond the period, but not both. I find it quite useful in look ups. I can look find all sentences in a book length ms. in which any number of words occur, regardless of the order. The ICU library will be a welcome addition. Jim > To: How to use LiveCode > Subject: Re: New chunks > Message-ID: > Content-Type: text/plain; charset=us-ascii > > > On 13 Mar 2014, at 04:48, Jim Hurley wrote: >> >> So I really can't see the purpose of RR's "sentence chunk". I wish they would explain. >> > > We'd be using ICU's sentence breaking code. They include a whole bunch of language-related knowledge with the library and can use that to tell the difference between decimal points, full stops, abbreviations, etc. You're right about it not being perfect but it does seem pretty reliable. > > Regards, > Fraser > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 126, Issue 20 > ********************************************* From prothero at earthednet.org Thu Mar 13 12:16:20 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Thu, 13 Mar 2014 09:16:20 -0700 Subject: Reading and decoding binary data In-Reply-To: <50866053-760F-4A72-A1AC-20628A14BDDF@earthednet.org> References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <50866053-760F-4A72-A1AC-20628A14BDDF@earthednet.org> Message-ID: Folks: Mainly, what I was wondering is if the byteToNum command is the correct one. In images, its the convert character to number, but I thought the character commands for binary data were going to be deprecated. Thanks, Bill William Prothero http://es.earthednet.org On Mar 12, 2014, at 4:55 PM, prothero at earthednet.org wrote: > Folks: > Before I bang my head against the wall too much, I'd like to make sure I'm approaching this task correctly. > I have a digital elevation file consisting of 16 bit 2's complement data. I first determine the position of the data for the desired location, then I do a binary read. > > put getAFilePath("files/dems/") into fPath > put fPath&"ETOPO5.DAT" into theFile > open file theFile for binary read > if the result <> empty then > answer "Couldn't open DEM file" > exit readDemTest > end if > > --Then i calculate the byte position where the data should be, then read it using: > read from file theFile at thePos for 8 --read 8 chars beginning at thePos (I should only need 2 to get the value) > put it into theDepths > put byteToNum(byte 1 of theDepths) into b1 > put byteToNum(byte 2 of theDepths) into b2 > > --Then, because I don't remember the byte order, I'm trying each one to see which gives me sensible results > --It should have a sign bit, so only 7 bits of the most significant byte should count, and the first one is the sign bit. > > if b1 > 127 then --sign is negative. numbers from 128 to 255 should be negative > put -256+b1 into msb > put 256*msb - b2 into depth1 > else --sign is positive > put b1 into msb > put 256*msb + b2 into depth1 > end if > --try the other way > if b2 > 127 then > put -256+b2 into msb > put 256*msb - b1 into depth2 > else > put b2 into msb > put 256*msb + b1 into depth2 > end if > > What I'm wondering before I spend more time on this, is whether the livecode commands are the correct ones for this. I have old C code that does some of the same processing, but I can't run it now to test. > > Thanks, > 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 t.heaford at btinternet.com Thu Mar 13 12:35:11 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 13 Mar 2014 16:35:11 +0000 Subject: Setting up an Option Menu Button In-Reply-To: References: Message-ID: Hi Pete, Simplified by putting addEllipsis into the menu script. put the script below into OpenCard handler on openCard put revDataFromQuery(tab, return, the uDB of stack "THFinancials", "select categoryName from 'categoryList' order by categoryName asc") into tCatNames set the text of cd btn "CategoryMenu" to tCatNames set the menuHistory of cd btn "CategoryMenu" to 2 put the menuHistory of cd btn "CategoryMenu" into tA set the menuHistory of cd btn "CategoryMenu" to 1 put the menuHistory of cd btn "CategoryMenu" into tB put tA & "," & tB end openCard put the other methods into the button script on menuPick pItemName lock screen addEllipsis pItemName unlock screen end menuPick on addEllipsis @pItemName put the width of me - 15 into tW set the label of me to pItemName put the formattedWidth of me into tSize if tSize > tW then repeat with x = length(pItemName) down to 1 set the label of me to (char 1 to x of pItemName) & "..." if the formattedWidth of me < tW then exit repeat else put x-1 into tMax put char 1 to tMax of pItemName & "..." into tLabel end if end repeat set the label of me to tLabel end if end addEllipsis Changed menuHistory to 0 first and then to 1. Have noted if you use 0 in MenuHistory then it uses 1. If I use 2 first then it changes to 2 then to 1 but menuPick does not get called. MenuPick is getting called on openCard but the label with the ellipses is not sticking, it reverts back to pItemName. If I call menuPick via dropping the menu down it works correctly. All the best Terry On 13 Mar 2014, at 15:34, Peter Haworth wrote: > If the menu history of the button is already 1, no menuPick will be > generated. Try setting the menu History to zero then 1. > From martyknappster at gmail.com Thu Mar 13 12:40:42 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 13 Mar 2014 09:40:42 -0700 Subject: package maker In-Reply-To: <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> Message-ID: <5321DF8A.9070703@gmail.com> I would contact Ohanaware and let them know. He's a great guy and very responsive so if there's an issue with App Wrapper that needs to be fixed I'm sure he'll take care of it. Marty Knapp > Hi Matthias, > > Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. > At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. > > So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. > > Regards > > Alain > > Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : > >> Hi Alain, >> >> there is "App Wrapper? from Ohanaware. >> They published some information about Mavericks & Codesigning for LiveCode apps. >> >> http://www.ohanaware.com/support/mavericksCodesign.php#liveCode >> >> I did not try it yet, but it reads and sounds reasonable. >> >> Regards, >> >> Matthias Rebbe >> >> >> Am 11.03.2014 um 20:53 schrieb Alain Vezina : >> >>> Hi All, >>> >>> I used to use RB Package Maker Studio to prepare an app for Apple Store. >>> It seems it no longer works on Mac OS 10.9. >>> I loved this package maker especially for setting the entitlements. >>> Is there anybody who knows an other package maker ? >>> I know how to sign and package an app, but I don?t know how to fix the entitlements. >>> >>> Alain Vezina >>> Logilangue >>> 514-596-1385 >>> www.logilangue.com From ambassador at fourthworld.com Thu Mar 13 12:44:13 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Mar 2014 09:44:13 -0700 Subject: Reading and decoding binary data In-Reply-To: References: Message-ID: <5321E05D.2080400@fourthworld.com> prothero wrote: > Mainly, what I was wondering is if the byteToNum command is the > correct one. In images, its the convert character to number, but > I thought the character commands for binary data were going to > be deprecated. Yes, for comparing a single-byte value, byteToNum is the better choice. Very soon charToNum may involve multi-byte sequences for Unicode, so all code that uses it where a single-byte value is needed should be updated to use byteToNum instead. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From rjb at robelko.com Thu Mar 13 12:31:37 2014 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 13 Mar 2014 17:31:37 +0100 Subject: v7 testing and "word" In-Reply-To: <5321D117.9060707@fourthworld.com> References: <8D10CE114ED63B2-1A7C-B30D@webmail-m170.sysops.aol.com> <5321D117.9060707@fourthworld.com> Message-ID: On 13.03.2014 at 8:39 Uhr -0700 Richard Gaskin apparently wrote: > >My only caution would be in cases where an existing token were >changed in ways that break code, with my recommendation being not to >do that for now. > I wonder whether we really need a new keyword for old style word. I mean that an alternative could be to have a global property that controls whether word means the ascii word or the unicode word. It could actually function as a switch for any text handling, usable in the fashion of itemDelimiter, and eventually become obsolete in the more distant future. Something like set the unicodeChunks to false/true get the unicodeChunks RObert From ben at runrev.com Thu Mar 13 12:53:18 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 13 Mar 2014 16:53:18 +0000 Subject: Fwd: New chunks In-Reply-To: References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> Message-ID: Dear List Members, This discussion has been very interesting and there have been a lot of suggestions made. Ultimately I do not feel that now is the correct time to change the fundamental meaning of any of the syntax of LiveCode. My team and I have been very carefully crafting the 7.0 release so that existing applications will run and (with virtually no changes in most cases) work exactly the same as before except that they will allow arbitrary language strings as input rather than ones which are just limited to the 'native' character set of the platform (i.e. MacRoman / Latin-1). As Richard pointed out in a recent post, this has been a huge endeavour and if we were to change fundamental syntax then it would make it a lot harder to determine where problems might lie as we stabilize the 7.0 engine and get it release-worthy. One of the next big projects we will be undertaking when 7.0 is release-worthy is integrating the Open Language ideas that have been discussed and mentioned (albeit in not much depth) before. At this point we will be completely at liberty to experiment with, adapt and even change syntax to ensure it is the best it can be, and the most appropriate. One part of this project will be the refinement of all existing syntax - there will be two parsers the existing one and the new, together with a script translation system that should mean upgrading to the new syntax will be straightforward (and only required when you wish to use the new Open Language syntax in an existing script - you won't have to update all scripts at once, and perhaps never at all for some). This is one point at which we can perhaps correct some historical syntax which is perhaps not the best. Moreover, eventually the Open Language project will mean that on (at the very least) a project-by-project basis you will be able to tailor your syntax environment to how you want it. If you prefer the current definition of 'word' then you will be able to continue to use that - just plug in a module that maps the 'word' syntax to the existing semantics. It is also important to stress just how important the current 'word' chunk actually is in script - it's been interesting to see people go from "we should change the meaning of word" to, "hmmm, perhaps we shouldn't - I looked at my scripts last night and it would be a nightmare to change". Currently LiveCode's 'word' chunk is inherited from HyperCard and is deeply ingrained in the language - it is a programmatic construct which is convenient for numerous things, it is not an attempt at proper word boundary analysis. [ A good example of usage, original cited by Monte, is things like 'word 2 of the name of tObject' ]. So with that in mind, I really do think the only option we have now if we want a more word-like word chunk is to choose a different name for it. This gives existing scripts access to the ability without having to change them in any way, but doesn't close the door to a more radical change in the future (when we have Open Language). The original suggestion was 'naturalWord' to suggest 'natural language' - however that does not seem popular (I could mention 'lead balloon' here, but I think the discussion on the lists speaks for itself). The suggestion of 'unicodeWord' (or variants thereof) I do think would be an incorrect path - the notion of word boundaries is not somehow just applicable to 'Unicode' text, it applies to existing (non-Unicode) text also. Indeed, in 7.0 there will not be a difference - all of the tokens which mention 'unicode' will be deprecated as they are no longer needed for new code. i.e. The idea is that you just have text - word boundary analysis applies to all text, regardless of whatever internal encoding you might need to store it. Another suggestion has been 'wordUnit' - however (to me at least) this just does not seem to suggest anything meaningful. We are talking about 'words' which is something everyone has some idea about - indeed, as has been pointed out, the fact that LiveCode's current 'word' is not really like a 'word' as we might intuitively expect can trip-up people new to the language and its history. I'm not sure adding 'unit' on the end of 'word' adds anything really related to the underlying concept nor helps quantify the difference. Given that we are talking about adding a chunk type that is more 'real-world' or 'true' to intuitive expectation of what a word should be - the best suggestion I've seen so far is 'trueWord' (thanks Richard!). Warm regards, Mark From ben at runrev.com Thu Mar 13 12:54:09 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 13 Mar 2014 16:54:09 +0000 Subject: New chunks In-Reply-To: References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> Message-ID: Dear list member, Thank you for your input on this important matter. Having taken all the posts into account and discussed it internally we are inclined to implement the following in LiveCode 7.0: 1) Add a 'trueWord' chunk type to provide access to the Unicode Standard's notion of word-breaking. 2) Add a 'sentence' chunk type to provide access to the Unicode Standard's notion of sentence-breaking. 3) Add a 'paragraph' chunk type to provide access to the Unicode Standard's notion of paragraph-breaking. 4) Add a synonym 'part' for the current 'word' chunk type. This will allow LiveCoders to update their scripts to use the newer syntax in anticipation of a future change to make the behaviour of the 'word' chunk match the new 'trueWord' behaviour. We would anticipate changing the meaning of 'word' with our 'Open Language' project. It requires us to create a highly accurate script translation system to allow old scripts to be rewritten in new revised and cleaner syntax. It is at this point we can seriously think about changing the meaning of existing tokens including word. Existing scripts will continue to run using the existing parser, and they can be converted (by the user) over time to use the 'newer' / 'more refined' syntax we are planning. Warm regards and thank you again for your participation in this discussion. Ben _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From ambassador at fourthworld.com Thu Mar 13 12:57:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Mar 2014 09:57:45 -0700 Subject: v7 testing and "word" In-Reply-To: References: Message-ID: <5321E389.6010705@fourthworld.com> Robert Brenstein wrote: > I wonder whether we really need a new keyword for old style word. I > mean that an alternative could be to have a global property that > controls whether word means the ascii word or the unicode word. While Unicode support is part of it, there's more to it than that. The new ICU library is much smarter than the rather strange definition of "word" the HyperTalk team cooked up, which in some cases isn't a word at all. Consider this plain-text example: one, two, three. current form: word 2 = "two," new form: word 2 = "two" And: He said, "Hello there, big beautiful world!" current form: the number of words = 3 new form: the number of words = 7 There's utility in both forms, and AFAIK both forms are planned for support. The key question is whether we want to seriously compromise the scope and quality of v7 testing by changing the behavior of "word" right now. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From alain.vezina at logilangue.com Thu Mar 13 13:01:40 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 13 Mar 2014 13:01:40 -0400 Subject: package maker In-Reply-To: <5321DF8A.9070703@gmail.com> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> <5321DF8A.9070703@gmail.com> Message-ID: <91562F3F-EF45-4686-BEFA-7424D6E6755D@logilangue.com> That?s what I did. I?m waiting for an answer. Alain V?zina Le 2014-03-13 ? 12:40, Marty Knapp a ?crit : > I would contact Ohanaware and let them know. He's a great guy and very responsive so if there's an issue with App Wrapper that needs to be fixed I'm sure he'll take care of it. > > Marty Knapp >> Hi Matthias, >> >> Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. >> At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. >> >> So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. >> >> Regards >> >> Alain >> >> Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : >> >>> Hi Alain, >>> >>> there is "App Wrapper? from Ohanaware. >>> They published some information about Mavericks & Codesigning for LiveCode apps. >>> >>> http://www.ohanaware.com/support/mavericksCodesign.php#liveCode >>> >>> I did not try it yet, but it reads and sounds reasonable. >>> >>> Regards, >>> >>> Matthias Rebbe >>> >>> >>> Am 11.03.2014 um 20:53 schrieb Alain Vezina : >>> >>>> Hi All, >>>> >>>> I used to use RB Package Maker Studio to prepare an app for Apple Store. >>>> It seems it no longer works on Mac OS 10.9. >>>> I loved this package maker especially for setting the entitlements. >>>> Is there anybody who knows an other package maker ? >>>> I know how to sign and package an app, but I don?t know how to fix the entitlements. >>>> >>>> Alain Vezina >>>> Logilangue >>>> 514-596-1385 >>>> www.logilangue.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 Mar 13 13:10:49 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Mar 2014 10:10:49 -0700 Subject: New chunks In-Reply-To: References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> Message-ID: <5321E699.3010600@fourthworld.com> On 3/13/14 9:51 AM, Benjamin Beaumont wrote: > Dear List Members, > > This discussion has been very interesting and there have been a lot of > suggestions made. Ultimately I do not feel that now is the correct time > to change the fundamental meaning of any of the syntax of LiveCode. My > team and I have been very carefully crafting the 7.0 release so that > existing applications will run and (with virtually no changes in most > cases) work exactly the same as before except that they will allow > arbitrary language strings as input rather than ones which are just > limited to the 'native' character set of the platform (i.e. MacRoman / > Latin-1). As Richard pointed out in a recent post, this has been a huge > endeavour and if we were to change fundamental syntax then it would make > it a lot harder to determine where problems might lie as we stabilize > the 7.0 engine and get it release-worthy. Giving credit where due, it was really Joseba Aguayo's post that prompted me to consider the impact on testing. Sometimes it's the brief post that gets to the point quickly that helps us keep our priorities clear. Now we have a challenge for the community: The LiveCode team has done their part, postponing a change so we can expect our existing code to run in v7 as well as it does in v6. This means that it's up to us to actually do the testing. If any of you aren't currently using v6.6 RC1, please note that it's a Release Candidate, so it's critical that you work with it now. If you put off using it until after release, any bugs found will just be more expensive to fix, and an embarrassment to the community. Let's step up our game and give v6.6 a thorough workout today. When it's released, we'll have established a solid baseline for evaluating v7. Given v7's scope of changes, we'll really need that solid baseline for the thorough testing I hope you'll all give it. In the past I've been lax myself about testing some RCs, but after seeing bugs post-release that I could have found earlier, I've learned. So let's please do our part to ensure that the current Release Candidate fully meets our needs. If we test thoroughly enough it may even be the most solid release ever, which benefits everyone. 6.6 RC1 is available at the top of this page: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jacque at hyperactivesw.com Thu Mar 13 13:12:12 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Mar 2014 12:12:12 -0500 Subject: New chunks In-Reply-To: <344EDBF6-D89B-4953-A237-B41304C304C8@iotecdigital.com> References: <30E29391-C9FF-4DE2-B854-099CB5AB9140@sbcglobal.net> <344EDBF6-D89B-4953-A237-B41304C304C8@iotecdigital.com> Message-ID: <5321E6EC.5040202@hyperactivesw.com> On 3/13/14, 10:45 AM, Bob Sneidar wrote: > Things like this make me ponder in what scenario would it be > necessary to isolate sentences at all. I've had more than one case where I wanted to extract portions of a paragraph. Right now lines = paragraphs and it gets messy trying to do that. Parse a legal document, for example: Section III. This is contract language for something or other. Blah blah blah. Section IIIii. Under no circumstances is this to be implied that blah blah blah. "put sentence 2 of line 1 of tText into tLegalese" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at btinternet.com Thu Mar 13 13:45:00 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 13 Mar 2014 17:45:00 +0000 Subject: Setting up an Option Menu Button In-Reply-To: References: Message-ID: Just playing around trying different options and I thin it may be as simple as: on openCard put revDataFromQuery(tab, return, the uDB of stack "THFinancials", "select categoryName from 'categoryList' order by categoryName asc") into tCatNames set the text of cd btn "CategoryMenu" to tCatNames set the menuHistory of cd btn "CategoryMenu" to 1 send "menuPick " & line 1 of tCatNames to cd btn "CategoryMenu" end openCard Ensuring that you set the menuHistory BEFORE send ?menuPick?. My wife's on my back, as we are going out soon but on first try I think this is it. If it is a note in the Docs would be a good thing. All the best Terry From prothero at earthednet.org Thu Mar 13 14:51:42 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Thu, 13 Mar 2014 11:51:42 -0700 Subject: Reading and decoding binary data In-Reply-To: <5321E05D.2080400@fourthworld.com> References: <5321E05D.2080400@fourthworld.com> Message-ID: <46A4536F-A715-480E-9939-48A18FBB848B@earthednet.org> Thanks, Richard. That lets me anticipate the new changes. I'm also modifying images and I'l convert that code to use byteToNum. Bill William Prothero http://es.earthednet.org On Mar 13, 2014, at 9:44 AM, Richard Gaskin wrote: > prothero wrote: > > > Mainly, what I was wondering is if the byteToNum command is the > > correct one. In images, its the convert character to number, but > > I thought the character commands for binary data were going to > > be deprecated. > > Yes, for comparing a single-byte value, byteToNum is the better choice. > > Very soon charToNum may involve multi-byte sequences for Unicode, so all code that uses it where a single-byte value is needed should be updated to use byteToNum instead. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 cmsheffield at icloud.com Thu Mar 13 15:29:34 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 13 Mar 2014 13:29:34 -0600 Subject: SQLYoga and LC 6.6 In-Reply-To: References: <2EFF55A1-4186-43F0-955E-C28DBD1E5E91@thehales.id.au> <7A435419-5133-4370-8979-D5BDE7E88C67@icloud.com> Message-ID: Thanks for all the suggestions on this issue. I finally resorted to dumping my data, creating a new db using Valentina Studio, and loading the data back in. Worked like a charm. I?m back in business. The original file was created with an older version of SQLite, so I?m guessing that had something to do with it. Not sure why an issue like this would happen, but glad it?s working again. Thanks, Chris On Mar 12, 2014, at 7:18 PM, Kay C Lan wrote: > Try creating a brand new db and see if you can get WHERE clauses to work. > If so, what about dumping your data, build a new db and see if that works? From matthias_livecode_150811 at m-r-d.de Thu Mar 13 15:59:58 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 13 Mar 2014 20:59:58 +0100 Subject: package maker In-Reply-To: <91562F3F-EF45-4686-BEFA-7424D6E6755D@logilangue.com> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> <5321DF8A.9070703@gmail.com> <91562F3F-EF45-4686-BEFA-7424D6E6755D@logilangue.com> Message-ID: <52E71219-1338-410E-815C-34D11C3BFE86@m-r-d.de> Hi Alain, it would be nice, if you would share Ohanaware?s answer to your support request after you received it. This would help others who have same problem. Regards, Matthias Am 13.03.2014 um 18:01 schrieb Alain Vezina : > That?s what I did. I?m waiting for an answer. > > Alain V?zina > > Le 2014-03-13 ? 12:40, Marty Knapp a ?crit : > >> I would contact Ohanaware and let them know. He's a great guy and very responsive so if there's an issue with App Wrapper that needs to be fixed I'm sure he'll take care of it. >> >> Marty Knapp >>> Hi Matthias, >>> >>> Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. >>> At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. >>> >>> So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. >>> >>> Regards >>> >>> Alain >>> >>> Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : >>> >>>> Hi Alain, >>>> >>>> there is "App Wrapper? from Ohanaware. >>>> They published some information about Mavericks & Codesigning for LiveCode apps. >>>> >>>> http://www.ohanaware.com/support/mavericksCodesign.php#liveCode >>>> >>>> I did not try it yet, but it reads and sounds reasonable. >>>> >>>> Regards, >>>> >>>> Matthias Rebbe >>>> >>>> >>>> Am 11.03.2014 um 20:53 schrieb Alain Vezina : >>>> >>>>> Hi All, >>>>> >>>>> I used to use RB Package Maker Studio to prepare an app for Apple Store. >>>>> It seems it no longer works on Mac OS 10.9. >>>>> I loved this package maker especially for setting the entitlements. >>>>> Is there anybody who knows an other package maker ? >>>>> I know how to sign and package an app, but I don?t know how to fix the entitlements. >>>>> >>>>> Alain Vezina >>>>> Logilangue >>>>> 514-596-1385 >>>>> www.logilangue.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 alain.vezina at logilangue.com Thu Mar 13 16:15:08 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 13 Mar 2014 16:15:08 -0400 Subject: package maker In-Reply-To: <52E71219-1338-410E-815C-34D11C3BFE86@m-r-d.de> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> <5321DF8A.9070703@gmail.com> <91562F3F-EF45-4686-BEFA-7424D6E6755D@logilangue.com> <52E71219-1338-410E-815C-34D11C3BFE86@m-r-d.de> Message-ID: <7E58D327-D58A-4C30-A5BC-D5B7B9342687@logilangue.com> Hi Matthias, You can count on me. I like when someone helps me, so I will do the same. Regards, Alain V?zina Logilangue 514-596-1385 www.logilangue.com Le 2014-03-13 ? 15:59, Matthias Rebbe | M-R-D a ?crit : > Hi Alain, > > it would be nice, if you would share Ohanaware?s answer to your support request after you received it. > This would help others who have same problem. > > Regards, > > Matthias > > > Am 13.03.2014 um 18:01 schrieb Alain Vezina : > >> That?s what I did. I?m waiting for an answer. >> >> Alain V?zina >> >> Le 2014-03-13 ? 12:40, Marty Knapp a ?crit : >> >>> I would contact Ohanaware and let them know. He's a great guy and very responsive so if there's an issue with App Wrapper that needs to be fixed I'm sure he'll take care of it. >>> >>> Marty Knapp >>>> Hi Matthias, >>>> >>>> Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. >>>> At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. >>>> >>>> So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. >>>> >>>> Regards >>>> >>>> Alain >>>> >>>> Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : >>>> >>>>> Hi Alain, >>>>> >>>>> there is "App Wrapper? from Ohanaware. >>>>> They published some information about Mavericks & Codesigning for LiveCode apps. >>>>> >>>>> http://www.ohanaware.com/support/mavericksCodesign.php#liveCode >>>>> >>>>> I did not try it yet, but it reads and sounds reasonable. >>>>> >>>>> Regards, >>>>> >>>>> Matthias Rebbe >>>>> >>>>> >>>>> Am 11.03.2014 um 20:53 schrieb Alain Vezina : >>>>> >>>>>> Hi All, >>>>>> >>>>>> I used to use RB Package Maker Studio to prepare an app for Apple Store. >>>>>> It seems it no longer works on Mac OS 10.9. >>>>>> I loved this package maker especially for setting the entitlements. >>>>>> Is there anybody who knows an other package maker ? >>>>>> I know how to sign and package an app, but I don?t know how to fix the entitlements. >>>>>> >>>>>> Alain Vezina >>>>>> Logilangue >>>>>> 514-596-1385 >>>>>> www.logilangue.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 bobsneidar at iotecdigital.com Thu Mar 13 16:46:31 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Mar 2014 20:46:31 +0000 Subject: Setting up an Option Menu Button In-Reply-To: References: Message-ID: <7FA78350-C609-4362-9E80-02B6C8CA0F4C@iotecdigital.com> Actually all you need to do is send selectionChanged to the menu button. Bob On Mar 13, 2014, at 08:34 , Peter Haworth > wrote: If the menu history of the button is already 1, no menuPick will be generated. Try setting the menu History to zero then 1. Pete lcSQL Software From bobsneidar at iotecdigital.com Thu Mar 13 16:51:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Mar 2014 20:51:49 +0000 Subject: New chunks In-Reply-To: References: <53210A97.4010508@researchware.com> Message-ID: <43763575-BDDD-422C-83D6-3A402F462D9E@iotecdigital.com> I had to read it 3 times to get it right! No computer is THAT advanced! Bob On Mar 13, 2014, at 07:31 , Peter Brigham wrote: > On Wed, Mar 12, 2014 at 9:32 PM, Paul Dupuis wrote: > >> Can someone probably construct some sequence of characters that could be >> called a sentence that might get mis-parsed? Possibly - I am familiar >> with the library RunRev is using only by reputation, so I can't say for >> sure. However for most text you will work with where you want to return >> "sentence 2 of paragraph 5 of fld X" you will get exactly what you expect. >> > > How about this: > > "In later years, P.G. Wodehouse always went by P.G. Wodehouse might have > thought that Pelham Grenville sounded snooty." > > No algorithm is going to manage this kind of thing, where the reader has to > understand the meaning of the sentences to parse them correctly. The > question is how seldom will mistakes occur. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > _______________________________________________ > use-livecode mailing list > use-livecode 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 at splash21.com Thu Mar 13 18:25:19 2014 From: john at splash21.com (John Craig) Date: Thu, 13 Mar 2014 22:25:19 +0000 Subject: New chunks In-Reply-To: References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> Message-ID: <5322304F.6030400@splash21.com> Will point 4 - 'part' synonym break anything that already uses 'part' as a synonym of 'control'? I've only got one project that uses this keyword - not a big deal for me to change it, but others may have more substantial work to change. On 13/03/2014 16:54, Benjamin Beaumont wrote: > Dear list member, > > Thank you for your input on this important matter. Having taken all the > posts into account and discussed it internally we are inclined to implement > the following in LiveCode 7.0: > > 1) Add a 'trueWord' chunk type to provide access to the Unicode Standard's > notion of word-breaking. > 2) Add a 'sentence' chunk type to provide access to the Unicode Standard's > notion of sentence-breaking. > 3) Add a 'paragraph' chunk type to provide access to the Unicode Standard's > notion of paragraph-breaking. > 4) Add a synonym 'part' for the current 'word' chunk type. > > This will allow LiveCoders to update their scripts to use the newer syntax > in anticipation of a future change to make the behaviour of the 'word' > chunk match the new 'trueWord' behaviour. > > We would anticipate changing the meaning of 'word' with our 'Open Language' > project. It requires us to create a highly accurate script translation > system to allow old scripts to be rewritten in new revised and cleaner > syntax. It is at this point we can seriously think about changing the > meaning of existing tokens including word. Existing scripts will continue > to run using the existing parser, and they can be converted (by the user) > over time to use the 'newer' / 'more refined' syntax we are planning. > > Warm regards and thank you again for your participation in this discussion. > > Ben > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Thu Mar 13 19:58:26 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Mar 2014 16:58:26 -0700 Subject: OSX/Windows issue Message-ID: I have a stack, developed on OSX, that tests which version of LC I'm running under and if v6 or later, executes a relayer command. If less than v6, some other commands are executed instead since the relayer command doesn't exist prior to v6. This has all compiled and worked fine on OSX, even when compiling under versions prior to v6, and the correct code is executed when running under either V6 or v5.5.4. However, I just moved the same stack to a Windows box for some final testing and as soon as the stack starts up under an LC version prior to v6, I get a script error window indicating an issue with the relayer command. I should add that the code in question shouldn't even be executing during startup and that the script error window includes the heading "error while compiling". Why is any compiling happening at that point? Even if there is a good reason for it, why does this situation cause a compilation error on Windows but not on OSX? Thanks for any insights. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From bobsneidar at iotecdigital.com Thu Mar 13 20:43:37 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Mar 2014 00:43:37 +0000 Subject: OSX/Windows issue - Found word(s) list error in the Text body In-Reply-To: <2d586fbd-4943-4988-85a7-13dfb5581509@lists.runrev.com> References: <2d586fbd-4943-4988-85a7-13dfb5581509@lists.runrev.com> Message-ID: <83FA671B-861A-43EB-8475-9E0B1B364BB7@iotecdigital.com> I?m going to hazard a guess and say that when moving from platform to platform, a stacks scripts get re-compiled for compatibility issues. Bob On Mar 13, 2014, at 16:58 , Peter Haworth wrote: > I have a stack, developed on OSX, that tests which version of LC I'm > running under and if v6 or later, executes a relayer command. If less than > v6, some other commands are executed instead since the relayer command > doesn't exist prior to v6. > > This has all compiled and worked fine on OSX, even when compiling under > versions prior to v6, and the correct code is executed when running under > either V6 or v5.5.4. > > However, I just moved the same stack to a Windows box for some final > testing and as soon as the stack starts up under an LC version prior to v6, > I get a script error window indicating an issue with the relayer command. > > I should add that the code in question shouldn't even be executing during > startup and that the script error window includes the heading "error while > compiling". > > Why is any compiling happening at that point? Even if there is a good > reason for it, why does this situation cause a compilation error on Windows > but not on OSX? > > Thanks for any insights. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 13 20:49:03 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Mar 2014 17:49:03 -0700 Subject: OSX/Windows issue In-Reply-To: References: Message-ID: <532251FF.7070901@fourthworld.com> Peter Haworth wrote: > I should add that the code in question shouldn't even be executing during > startup and that the script error window includes the heading "error while > compiling". > > Why is any compiling happening at that point? Even if there is a good > reason for it, why does this situation cause a compilation error on Windows > but not on OSX? Scripts are dynamically compiled as needed. What is the line throwing the error? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Thu Mar 13 21:29:11 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Mar 2014 18:29:11 -0700 Subject: OSX/Windows issue In-Reply-To: <532251FF.7070901@fourthworld.com> References: <532251FF.7070901@fourthworld.com> Message-ID: Hi Richard, The exact line is: relayer tControlToRelayerID before getLineInfo(pendline+1,"longID") As mentioned, it compiles fine on OSX under 5.5.4 even though the relayer command doesn't exist in that version. After the startup error on Windows, I tried a compile of the script and got the same error: (Commands: missing ',') near "before", char 18 char 18 is the start of "tControlToRelayerID" Apart from the issue of why it compiles OK on OSX but not Windows which I assume must be a bug of some sort, I'm wondering what "as needed" means? Seems like it's when the stack is opened, not when a handler is executed since there's no way this script could be executing at startup even if running under v6+. I plan on entering a bug report on this but in the meantime I'm hoping someone will come up with a workaround (other than having 2 separate version of the stack!) I know some languages have conditional compile switches but I don't think LC does. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Mar 13, 2014 at 5:49 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> I should add that the code in question shouldn't even be executing during >> startup and that the script error window includes the heading "error while >> compiling". >> >> Why is any compiling happening at that point? Even if there is a good >> reason for it, why does this situation cause a compilation error on >> Windows >> but not on OSX? >> > > Scripts are dynamically compiled as needed. > > What is the line throwing the error? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Thu Mar 13 22:09:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Mar 2014 19:09:38 -0700 Subject: New chunks In-Reply-To: <5322304F.6030400@splash21.com> References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> <5322304F.6030400@splash21.com> Message-ID: <110344463568.20140313190938@ahsoftware.net> John- Thursday, March 13, 2014, 3:25:19 PM, you wrote: > Will point 4 - 'part' synonym break anything that already uses 'part' as > a synonym of 'control'? I've only got one project that uses this > keyword - not a big deal for me to change it, but others may have more > substantial work to change. That was my thought as well. I'm not sure I haven't used 'part' already, but I can't guarantee I haven't. I'd rather not use a real word for this, but instead have something that doesn't have another meaning... "wurd" comes to mind. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Thu Mar 13 22:12:36 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Mar 2014 19:12:36 -0700 Subject: OSX/Windows issue In-Reply-To: References: <532251FF.7070901@fourthworld.com> Message-ID: <104344642288.20140313191236@ahsoftware.net> Pete- Thursday, March 13, 2014, 6:29:11 PM, you wrote: > I plan on entering a bug report on this but in the meantime I'm hoping > someone will come up with a workaround (other than having 2 separate > version of the stack!) I know some languages have conditional compile > switches but I don't think LC does. That is correct - LC doesn't have those switches, and it's caused me problems in the past for which I've had to come up with tricky coding workarounds. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Thu Mar 13 22:32:14 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Mar 2014 19:32:14 -0700 Subject: OSX/Windows issue In-Reply-To: References: <532251FF.7070901@fourthworld.com> Message-ID: <64345819870.20140313193214@ahsoftware.net> Pete- Thursday, March 13, 2014, 6:29:11 PM, you wrote: > As mentioned, it compiles fine on OSX under 5.5.4 even though the relayer > command doesn't exist in that version. Actually, it does. Type this in the messagebox: put "relayer" is among the lines of the commandnames -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From smaclean at madmansoft.com Thu Mar 13 23:05:43 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 13 Mar 2014 23:05:43 -0400 Subject: New chunks In-Reply-To: <5321E699.3010600@fourthworld.com> References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> <5321E699.3010600@fourthworld.com> Message-ID: <3B30BF07-7FE2-4EA2-AE44-DC762E2A3BE8@madmansoft.com> On Mar 13, 2014, at 1:10 PM, Richard Gaskin wrote: > So let's please do our part to ensure that the current Release Candidate fully meets our needs. If we test thoroughly enough it may even be the most solid release ever, which benefits everyone. > > 6.6 RC1 is available at the top of this page: > > > -- > Richard Gaskin Hi All, In testing on 6.6 RC1, it seems there is an automatic scaling going on. I see it in the release notes, but am looking for more info on it. LC graphics are for sure super crisp under iOS 7 and retina iPhone, going to have to work in those hi-res graphics I have :) So far, very stable and fast! Everything If tested so far works fine, but mergMK seems to have a problem when when you go to set it's rect to the rect of a graphic that's been scaled, it doesn't see it as scaled and is drawn at a quarter of the size. How do we turn that off for now? Posting here. so both RR and Monte see this as well. Best, Steve MacLean From monte at sweattechnologies.com Thu Mar 13 23:41:57 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Mar 2014 14:41:57 +1100 Subject: New chunks In-Reply-To: <3B30BF07-7FE2-4EA2-AE44-DC762E2A3BE8@madmansoft.com> References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> <5321E699.3010600@fourthworld.com> <3B30BF07-7FE2-4EA2-AE44-DC762E2A3BE8@madmansoft.com> Message-ID: <03A0627E-5B93-40AA-8BE3-8F561DD91C80@sweattechnologies.com> On 14/03/2014, at 2:05 PM, Stephen MacLean wrote: > Everything If tested so far works fine, but mergMK seems to have a problem when when you go to set it's rect to the rect of a graphic that's been scaled, it doesn't see it as scaled and is drawn at a quarter of the size. Hmm... LCInterfaceQueryViewScale must be returning the wrong value. We resolved this pre 6.5 but from the looks of things there's some changes marked HiDPI at the end of Jan that must break it. I won't have time to follow up on this so could you bug report with RunRev. The basics if the problem is MCIPhoneGetResolutionScale is no longer returning a scaling factor from LiveCode points/pixels to UIKit points. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From larry at significantplanet.org Thu Mar 13 23:45:11 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 13 Mar 2014 21:45:11 -0600 Subject: compile problem Message-ID: I have a hyperlink in my program. In the IDE, I have the cursor change to "hand" when it mouses over the link - works fine. Then I compile it and when I mouse over the link, the cursor just disappears. From jacque at hyperactivesw.com Fri Mar 14 01:17:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Mar 2014 00:17:00 -0500 Subject: compile problem In-Reply-To: References: Message-ID: <532290CC.40807@hyperactivesw.com> On 3/13/14, 10:45 PM, larry at significantplanet.org wrote: > I have a hyperlink in my program. In the IDE, I have the cursor > change to "hand" when it mouses over the link - works fine. Then I > compile it and when I mouse over the link, the cursor just > disappears. Check to be sure you've included the cursors in standalone settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Mar 14 01:26:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Mar 2014 22:26:06 -0700 Subject: OSX/Windows issue In-Reply-To: <64345819870.20140313193214@ahsoftware.net> References: <532251FF.7070901@fourthworld.com> <64345819870.20140313193214@ahsoftware.net> Message-ID: You're right, that's strange. The first mention I can find of it in either the dictionary or the release notes is 6.0(DP1). I think you may have solved the mystery though. I do see relayer in the commandnames in 5.5.4 on OSX but it's not there on 5.5.0 on Windows which is where I see the problem, and it's not in the commandnames in that version. The line that the error is flagged does have a reserved word (before) in it, maybe the compiler thinks there should be a comma separating it from the other parameters? I wonder if I can get round this by using a do statement instead of executing the command directly within the script. I will try that and post the results. Thanks for the lead Mark! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Mar 13, 2014 at 7:32 PM, Mark Wieder wrote: > Pete- > > Thursday, March 13, 2014, 6:29:11 PM, you wrote: > > > As mentioned, it compiles fine on OSX under 5.5.4 even though the relayer > > command doesn't exist in that version. > > Actually, it does. Type this in the messagebox: > > put "relayer" is among the lines of the commandnames > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 larry at significantplanet.org Fri Mar 14 01:26:59 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 13 Mar 2014 23:26:59 -0600 Subject: compile problem Message-ID: Thanks Jacqueline!! So simple! From ben at runrev.com Fri Mar 14 06:35:16 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 14 Mar 2014 10:35:16 +0000 Subject: New chunks In-Reply-To: <03A0627E-5B93-40AA-8BE3-8F561DD91C80@sweattechnologies.com> References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> <5321E699.3010600@fourthworld.com> <3B30BF07-7FE2-4EA2-AE44-DC762E2A3BE8@madmansoft.com> <03A0627E-5B93-40AA-8BE3-8F561DD91C80@sweattechnologies.com> Message-ID: Hi Stephen, Monte. We're looking at this today. Warm regards, Ben On 14 March 2014 03:41, Monte Goulding wrote: > > On 14/03/2014, at 2:05 PM, Stephen MacLean wrote: > > > Everything If tested so far works fine, but mergMK seems to have a > problem when when you go to set it's rect to the rect of a graphic that's > been scaled, it doesn't see it as scaled and is drawn at a quarter of the > size. > > Hmm... LCInterfaceQueryViewScale must be returning the wrong value. We > resolved this pre 6.5 but from the looks of things there's some changes > marked HiDPI at the end of Jan that must break it. I won't have time to > follow up on this so could you bug report with RunRev. The basics if the > problem is MCIPhoneGetResolutionScale is no longer returning a scaling > factor from LiveCode points/pixels to UIKit points. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From smaclean at madmansoft.com Fri Mar 14 09:55:35 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 14 Mar 2014 09:55:35 -0400 Subject: New chunks In-Reply-To: References: <53206DBD.5000907@pair.com> <532082ED.4090101@pair.com> <5320DEC4.50803@fourthworld.com> <5320E436.3040805@fourthworld.com> <5320E572.9080904@pdslabs.net> <34F07633-A657-49FB-97BE-21FAFA92C8D7@mac.com> <2BB845F2-083A-4AE1-A359-50B9C96DF0AB@mac.com> <5321E699.3010600@fourthworld.com> <3B30BF07-7FE2-4EA2-AE44-DC762E2A3BE8@madmansoft.com> <03A0627E-5B93-40AA-8BE3-8F561DD91C80@sweattechnologies.com> Message-ID: Thanks Ben! Best, Steve On Mar 14, 2014, at 6:35 AM, Benjamin Beaumont wrote: > Hi Stephen, Monte. > > We're looking at this today. > > Warm regards, > > Ben > > > On 14 March 2014 03:41, Monte Goulding wrote: > >> >> On 14/03/2014, at 2:05 PM, Stephen MacLean wrote: >> >>> Everything If tested so far works fine, but mergMK seems to have a >> problem when when you go to set it's rect to the rect of a graphic that's >> been scaled, it doesn't see it as scaled and is drawn at a quarter of the >> size. >> >> Hmm... LCInterfaceQueryViewScale must be returning the wrong value. We >> resolved this pre 6.5 but from the looks of things there's some changes >> marked HiDPI at the end of Jan that must break it. I won't have time to >> follow up on this so could you bug report with RunRev. The basics if the >> problem is MCIPhoneGetResolutionScale is no longer returning a scaling >> factor from LiveCode points/pixels to UIKit points. >> >> Cheers >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Fri Mar 14 12:43:08 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Mar 2014 09:43:08 -0700 Subject: OSX/Windows issue In-Reply-To: References: <532251FF.7070901@fourthworld.com> <64345819870.20140313193214@ahsoftware.net> Message-ID: Executing the relayer command via a do statement fixed the problem. For my own eduction, I'd like to know a little more about the "as needed" compilation Richard mentioned. Does this happen every time a stack is opened, or only the first time a stack is opened on a different platform than it was compiled on? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Mar 13, 2014 at 10:26 PM, Peter Haworth wrote: > You're right, that's strange. The first mention I can find of it in > either the dictionary or the release notes is 6.0(DP1). > > I think you may have solved the mystery though. I do see relayer in the > commandnames in 5.5.4 on OSX but it's not there on 5.5.0 on Windows which > is where I see the problem, and it's not in the commandnames in that > version. > > The line that the error is flagged does have a reserved word (before) in > it, maybe the compiler thinks there should be a comma separating it from > the other parameters? > > I wonder if I can get round this by using a do statement instead of > executing the command directly within the script. I will try that and post > the results. > > Thanks for the lead Mark! > > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Thu, Mar 13, 2014 at 7:32 PM, Mark Wieder wrote: > >> Pete- >> >> Thursday, March 13, 2014, 6:29:11 PM, you wrote: >> >> > As mentioned, it compiles fine on OSX under 5.5.4 even though the >> relayer >> > command doesn't exist in that version. >> >> Actually, it does. Type this in the messagebox: >> >> put "relayer" is among the lines of the commandnames >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> This communication may be unlawfully collected and stored by the National >> Security Agency (NSA) in secret. The parties to this email do not >> consent to the retrieving or storing of this communication and any >> related metadata, as well as printing, copying, re-transmitting, >> disseminating, or otherwise using it. If you believe you have received >> this communication in error, please delete it immediately. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Fri Mar 14 14:10:14 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Mar 2014 18:10:14 +0000 Subject: OSX/Windows issue - Found word(s) list error in the Text body In-Reply-To: References: <532251FF.7070901@fourthworld.com><64345819870.20140313193214@ahsoftware.net> Message-ID: <8534D013-5E95-4AB5-AAB2-88215586F592@iotecdigital.com> I believe in the past there were threads on this issue, and I believe it is the latter. It makes sense, because as we have seen there can be issues. If you were to run the stack on Windows, save it and then open it on another platform again, another recompile would ensue, but if nothing is amiss, you would never notice it. Bob On Mar 14, 2014, at 09:43 , Peter Haworth > wrote: Executing the relayer command via a do statement fixed the problem. For my own eduction, I'd like to know a little more about the "as needed" compilation Richard mentioned. Does this happen every time a stack is opened, or only the first time a stack is opened on a different platform than it was compiled on? Pete From mikedoub at gmail.com Fri Mar 14 15:58:02 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 14 Mar 2014 15:58:02 -0400 Subject: Sending email from livecode Message-ID: Has any one solved the problem of sending email from a live code stack? I have see Sean?s and Sara?s stacks but my service requires SSL. Any suggestions? Thanks Mike From mikedoub at gmail.com Fri Mar 14 16:03:05 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 14 Mar 2014 16:03:05 -0400 Subject: Sending email from a stack Message-ID: <65826D52-C9B7-42B6-BF83-2828FBF1E054@gmail.com> Has any one solved the problem of sending email from a live code stack? I have see Sean?s and Sara?s stacks but my service requires SSL. Any suggestions? Thanks Mike From andrew at ctech.me Fri Mar 14 16:06:33 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 14 Mar 2014 15:06:33 -0500 Subject: Sending email from livecode In-Reply-To: References: Message-ID: Hmmm, I don't know if it will help in your situation, but I use this quite a bit from livecode over it's rest api. https://postmarkapp.com/ Usually helps with spam filter issues and i would imagine you could access their api over ssl. On Fri, Mar 14, 2014 at 2:58 PM, Michael Doub wrote: > Has any one solved the problem of sending email from a live code stack? > I have see Sean's and Sara's stacks but my service requires SSL. Any > suggestions? > > Thanks > Mike > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From t.heaford at btinternet.com Fri Mar 14 16:09:22 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 14 Mar 2014 20:09:22 +0000 Subject: RevBrowser Message-ID: <9572C37D-DF89-49B2-B0B2-D48EBF8D439E@btinternet.com> I have just been playing around with the RevBrowser example and visited http://www.chartjs.org/ and downloaded the Chart.js library On dragging the html example files into the RevBrowser they displayed OK and then I thought about printing and created a button with a simple script. on mouseUp revBrowserPrint the altBrowserId of this stack end mouseUp I noted when printing that text was blurred and created a PDF in the OSX print dialog box. This did not scale well and clearly the PDF just contains an image. Would anyone know if this is a limitation of the revBrowserPrint command or Chart.js library and if there is a way around it as these charts seem very pleasing on the eye and are easy to implement. All the best Terry From bobsneidar at iotecdigital.com Fri Mar 14 20:45:50 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Mar 2014 00:45:50 +0000 Subject: Datagrid Discrimination Message-ID: I am trying to determine if a group is a data grid. I tested earlier with a regular group of objects using this statement: put (the dgProp ["allow editing"] of group theGroupName is not empty) into isDataGrid It returned false for non-datagrid groups and true for data grid groups, since that dgprop must always return true or false. I thought I was being quite clever. NOW it is returning true for non-datagrid groups! Is there a simple way to test whether or not a gout is a data grid? I know this has been asked before, but I?m not sure the answers were comprehensive. I could check to see if it had a parent script, but then any group with a parent script that was not a data grid would pass that test. Is there a property that data grids possess that no other group possesses that I can use? Bob From zryip.theslug at gmail.com Fri Mar 14 21:01:25 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 15 Mar 2014 02:01:25 +0100 Subject: Datagrid Discrimination In-Reply-To: References: Message-ID: Bob, Use the "control type" property of the datagrid: if (the dgProp["control Type"] of grp theGroupName is "Data Grid") then doSomething end if Best Regards, On Sat, Mar 15, 2014 at 1:45 AM, Bob Sneidar wrote: > I am trying to determine if a group is a data grid. I tested earlier with a regular group of objects using this statement: > > put (the dgProp ["allow editing"] of group theGroupName is not empty) into isDataGrid > > It returned false for non-datagrid groups and true for data grid groups, since that dgprop must always return true or false. I thought I was being quite clever. > > NOW it is returning true for non-datagrid groups! Is there a simple way to test whether or not a gout is a data grid? I know this has been asked before, but I'm not sure the answers were comprehensive. I could check to see if it had a parent script, but then any group with a parent script that was not a data grid would pass that test. > > Is there a property that data grids possess that no other group possesses that I can use? > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From bobsneidar at iotecdigital.com Fri Mar 14 21:17:16 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Mar 2014 01:17:16 +0000 Subject: Datagrid Discrimination In-Reply-To: References: Message-ID: <8C52EE8D-F80A-4740-B74E-50625A26A687@iotecdigital.com> Oh, nice. Cleaner. Right after I sent the email I though of using dgprop [?columns?] as well, but it is *possible* to have a data grid without any columns yet. Also, it probably would return empty for form style data grids. Bob On Mar 14, 2014, at 18:01 , zryip theSlug wrote: > Bob, > > Use the "control type" property of the datagrid: > > if (the dgProp["control Type"] of grp theGroupName is "Data Grid") then > doSomething > end if > > > > > Best Regards, > > On Sat, Mar 15, 2014 at 1:45 AM, Bob Sneidar > wrote: >> I am trying to determine if a group is a data grid. I tested earlier with a regular group of objects using this statement: >> >> put (the dgProp ["allow editing"] of group theGroupName is not empty) into isDataGrid >> >> It returned false for non-datagrid groups and true for data grid groups, since that dgprop must always return true or false. I thought I was being quite clever. >> >> NOW it is returning true for non-datagrid groups! Is there a simple way to test whether or not a gout is a data grid? I know this has been asked before, but I'm not sure the answers were comprehensive. I could check to see if it had a parent script, but then any group with a parent script that was not a data grid would pass that test. >> >> Is there a property that data grids possess that no other group possesses that I can use? >> >> Bob >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.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 bobsneidar at iotecdigital.com Fri Mar 14 23:43:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Mar 2014 03:43:39 +0000 Subject: Populate and Extract update Message-ID: <1B92E067-4495-4DB7-8012-96519E1411BC@iotecdigital.com> Hi all. I have an update to the POPULATE code I posted. This has a new argument for exclusions, so that you can skip table columns in case you need to. I found that tables with shared column names (like custid for example) were getting overwritten on a form that displayed data from multiple tables, when a child table had not yet been populated for that customer. The table without related data had NULL in the shared column, and so was overwriting the correct value from when I populated from the main table, if that makes sense. I also have a new command which is the opposite of POPULATE, called EXTRACT. It was really meant to work with sqlYoga record objects, so the code will reference sqlrecord_set commands, but it can easily be modified to handle normal arrays. I suppose I can put code in easily enough to discriminate between normal arrays and record objects. This is necessary because sqlYoga record objects cannot be manipulated directly without borking the object itself. You have to use sqlrecord_set commands. This makes it very much simpler to populate forms and extract the data from a form, because all you have to do now is create a control based upon my naming conventions I delineated in my first post, and your fields will populate automagically, as well as your arrays you use to update your sql tables. Just call populate aArray, theExclusions (a comma delimited list of columns to ignore), or extract aRecordObject and you are done! I hope someone finds this useful for database applications. It will save a boatload of coding later. For those who didn?t get the naming rules I will repeat them here: Fields you want filled must begin with ?fld? Checkboxes you want hilited must begin with ?btn? and the value must be true or false Menu style buttons you want to set must begin with ?mnu? and the value must be one of the choices for the menu Radio button groups must begin with ?rdo? and the value must be one of the button names in the group Datagrids you want populated can be named as you please, and the value must be an encoded array For instance a field named ?fldCustomerName? will be populated with the value in key theData[?customername?]. A field simply named ?customername? will be ignored. I use this convention because this is how I distinguish positively the fields I want populated and the ones I want to leave alone. Also, it?s how I determine the method for populating the control. Bob on populate theData, theExclusions if theData is not an array then exit populate put the keys of theData into theKeyList repeat for each line theKey in theKeyList -- skip exclusions if theKey is in theExclusions then next repeat end if put "fld" & theKey into theFieldName put "btn" & theKey into theButtonName put "mnu" & theKey into theMenuName put "rdo" & theKey into theRadioName put theKey into theDGName put theData [theKey] into theValue if theValue is "NULL" then put empty into theValue end if if there is a field theFieldName then put theValue into field theFieldName next repeat end if if there is a button theButtonName and the style of button theButtonName is "checkbox" then set the hilite of button theButtonName to theValue next repeat end if if there is a button theMenuName then put lineOffset(theValue, the text of button theMenuName) into theFoundLine set the menuHistory of button theMenuName to theFoundLine next repeat end if if there is a group theRdoName then set the hilitedButtonName of group theRdoName to theValue next repeat end if if there is a group theDGName then try put arrayDecode(theValue) into theDGData set the dgData of group theDGName to theDGData catch theError end try end if end repeat end populate on extract @aRecordData put the keys of aRecordData into theKeyList repeat for each line theKey in theKeyList put "fld" & theKey into theFieldName put "btn" & theKey into theButtonName put "mnu" & theKey into theMenuName put "rdo" & theKey into theRadioName put theKey into theDGName if there is a field theFieldName then sqlrecord_set aRecordData, theKey, field theFieldName next repeat end if if there is a button theButtonName and the style of button theButtonName is "checkbox" then sqlrecord_set aRecordData, theKey, the hilite of button theButtonName next repeat end if if there is a button theMenuName then put the menuHistory of button theMenuName into theFoundLine sqlrecord_set aRecordData, theKey, line theFoundLine of the text of button theButtonName next repeat end if if there is a group theRdoName then sqlrecord_set aRecordData, theKey, the hilitedButtonName of group theRdoName next repeat end if if there is a group theDGName then put the dgData of group theDGName into theDGData sqlrecord_set aRecordData, theKey, arrayEncode(theDGData) end if end repeat end extract From smaclean at madmansoft.com Sat Mar 15 01:44:42 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 15 Mar 2014 01:44:42 -0400 Subject: revDataFromQuery with variable list question Message-ID: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> Hi All, I'm having a problem with this: put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" into gMsgListQuery put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into tSearchResult puts nothing into tSearchResult and the result is empty. Do I have escape something differently? Or just missing something? TIA, Steve MacLean From t.heaford at btinternet.com Sat Mar 15 03:50:07 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 15 Mar 2014 07:50:07 +0000 Subject: revDataFromQuery with variable list question In-Reply-To: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> Message-ID: <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> I normally do my Sqlite queries like this, I think examples speak a thousand words.: put merge("select date,type,description,amount,balance,category,recID from '[[the uAcctName of this stack]]' order by date asc") into tSQL put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData or put "select categoryName from 'categoryList' order by categoryName asc" into tSQL put revDataFromQuery(tab, return, the uDB of stack ?myStack", tSQL) into tCatNames or put merge("SELECT date,type,description,amount,balance,category,recID from '[[the uAcctName of this stack]]' where date >= [[tStartDate]] and date <= [[tEndDate]] [[tCatStatement]] order by date asc") into tSQL put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData or put merge("type like '%[[tType]]%'") into tTypeQuery put merge("[[tQuery]] [[tCatQuery]] [[tAmountQuery]] [[tDescQuery]] [[tTypeQuery]] order by date asc") into tSQL Is mTextContent a variable? All the best Terry On 15 Mar 2014, at 05:44, Stephen MacLean wrote: > Hi All, > > I'm having a problem with this: > > put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" into gMsgListQuery > > put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into tSearchResult > > puts nothing into tSearchResult and the result is empty. > > Do I have escape something differently? Or just missing something? > > TIA, > > Steve MacLean > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Mar 15 09:39:44 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 15 Mar 2014 09:39:44 -0400 Subject: New chunks In-Reply-To: References: Message-ID: On Mar 13, 2014, at 10:17 AM, J. Landman Gay wrote: > Sure, that's what I'd need to do, convert each instance to items. I was bemoaning the sheer number of times it would have been necessary in just one night's work. It does point out the necessity for me to have a global switch of some sort. > > Think of all the swapping you'd have to do within a single repeat loop just to pull out chunks composed of different types of characters. A date followed by a currency followed by a quoted string for example. > > On March 13, 2014 6:58:27 AM CDT, Alan Stenhouse wrote: >> Wouldn't it be simple to >> >> set the itemDel to tab >> put item 1 of line x of fld y into tDate >> >> >> Granted, slightly more work, but since itemDel changes are limited to >> only the local handler, it's not too big a deal, is it? >> >> Or am I missing something else? I use the following: get getItem(line x of fld y,1,tab) function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just "get item tIndex of tList" in the calling handler but -- then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem Very handy for pulling strings out of containers. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sat Mar 15 10:28:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Mar 2014 16:28:15 +0200 Subject: PPC pursuit Message-ID: <5324637F.9040007@gmail.com> Only slightly more stimulating than Trivial Pursuit [a board game (err, maybe a 'bored game') that was popular in Britain in the Mid 1980s], but in need of input: http://forums.runrev.com/viewtopic.php?f=66&t=19328&start=165 Richmond. From pmbrig at gmail.com Sat Mar 15 11:30:06 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 15 Mar 2014 11:30:06 -0400 Subject: New chunks In-Reply-To: <9C05387C-CA09-4B74-9E9A-5857533B4844@sbcglobal.net> References: <9C05387C-CA09-4B74-9E9A-5857533B4844@sbcglobal.net> Message-ID: On Mar 13, 2014, at 11:51 AM, Jim Hurley wrote: > I have a poor man?s version that is workable. > > However just ran across a sentence in today?s NYT that I will have to include: > > (?What they?re offering people is a full stomach and an empty soul.?) > > I had dealt with the quote beyond the period and the paren beyond the period, but not both. Here's a simple function I've been using. The new LC grammar revisions will make it obsolete eventually. function naturalWord tWord -- strips punctuation from HC-style "words" fore and aft -- to return something closer to what is normally understood as a word put "abcdefghijklmnopqrstuvwxyz1234567890" into tAlphabet -- numerals included to cope with numbers and things like "HTML5" repeat while char 1 of tWord is not in tAlphabet delete char 1 of tWord end repeat repeat while char -1 of tWord is not in tAlphabet delete char -1 of tWord end repeat return tWord end naturalWord It's simple, and therefore somewhat simple-minded -- it will miss some cases, but I've found it useful. "Every complicated problem has a simple, easy, obvious, wrong answer." -- H. L. Mencken -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at lcsql.com Sat Mar 15 11:32:41 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 15 Mar 2014 08:32:41 -0700 Subject: revDataFromQuery with variable list question In-Reply-To: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> Message-ID: Try LIKE :1 with tfld containing your search text enclosed in % characters. Pete lcSQL Software On Mar 14, 2014 10:44 PM, "Stephen MacLean" wrote: > Hi All, > > I'm having a problem with this: > > put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" > into gMsgListQuery > > put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into > tSearchResult > > puts nothing into tSearchResult and the result is empty. > > Do I have escape something differently? Or just missing something? > > TIA, > > Steve MacLean > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Sat Mar 15 11:36:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 15 Mar 2014 08:36:06 -0700 Subject: revDataFromQuery with variable list question In-Reply-To: <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> Message-ID: You should have double quotes around sql entities like table and column names. Single quotes will work in some but not all awkward implementations. Pete lcSQL Software On Mar 15, 2014 12:50 AM, "Terence Heaford" wrote: > I normally do my Sqlite queries like this, I think examples speak a > thousand words.: > > put merge("select date,type,description,amount,balance,category,recID > from '[[the uAcctName of this stack]]' order by date asc") into tSQL > put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into > tData > > or > > put "select categoryName from 'categoryList' order by categoryName asc" > into tSQL > put revDataFromQuery(tab, return, the uDB of stack "myStack", tSQL) > into tCatNames > > or > > put merge("SELECT date,type,description,amount,balance,category,recID > from '[[the uAcctName of this stack]]' where date >= [[tStartDate]] and > date <= [[tEndDate]] [[tCatStatement]] order by date asc") into tSQL > put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into > tData > > or > > put merge("type like '%[[tType]]%'") into tTypeQuery > > put merge("[[tQuery]] [[tCatQuery]] [[tAmountQuery]] [[tDescQuery]] > [[tTypeQuery]] order by date asc") into tSQL > > > Is mTextContent a variable? > > > All the best > > Terry > > > > On 15 Mar 2014, at 05:44, Stephen MacLean wrote: > > > Hi All, > > > > I'm having a problem with this: > > > > put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" > into gMsgListQuery > > > > put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into > tSearchResult > > > > puts nothing into tSearchResult and the result is empty. > > > > Do I have escape something differently? Or just missing something? > > > > TIA, > > > > Steve MacLean > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 dochawk at gmail.com Sat Mar 15 11:50:11 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 08:50:11 -0700 Subject: Crowd Funding Enhancements In-Reply-To: <531E71BB.6070304@hyperactivesw.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> Message-ID: On Mon, Mar 10, 2014 at 7:15 PM, J. Landman Gay wrote: > That'd be nice. And as long as we're dreaming, how about: > > repeat for each card c in this stack > repeat for each button b of this card > I had to do that for myself way back in hypercard . . . it was absolutely necessary for what I was doing, and I've never understood why it wasn't part of the language. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 15 11:56:12 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 08:56:12 -0700 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: On Tue, Mar 11, 2014 at 9:34 AM, Peter Haworth wrote: > In general, it's risky accessing SQlite databases over a network unless you > are only querying the database and not doing any insert/update/delete > operations for the reasons explained in the link. > How about sharing a :memory: instance between two apps of the same user and machine. This would go a long way on my master/slave issue of syncing to a remote database without locking up the user interface . . . (at the moment, I watch for time since last keystroke, and if it's long enough, risk the update. I'm thinking to pass the UPDATE/SELECT command to to a slave process, but having the slave access the internal db would be better . . .). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Mar 15 11:59:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Mar 2014 17:59:45 +0200 Subject: Crowd Funding Enhancements In-Reply-To: References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> Message-ID: <532478F1.2000606@gmail.com> On 15/03/14 17:50, Dr. Hawkins wrote: > On Mon, Mar 10, 2014 at 7:15 PM, J. Landman Gay wrote: > >> That'd be nice. And as long as we're dreaming, how about: >> >> repeat for each card c in this stack >> repeat for each button b of this card >> > I had to do that for myself way back in hypercard . . . it was absolutely > necessary for what I was doing, and I've never understood why it wasn't > part of the language. > > Why not just have a script something like this: put 1 into KARD repeat until exists(card KARD) = false -- do whatever you want on card KARD put (KARD + 1) into KARD end repeat I have just tested this on a 50 card stack which has a button on the first card with this fairly trivial script: on mouseUp put 1 into KARD repeat until exists(card KARD) = false set the backgroundColor of card KARD to blue put (KARD + 1) into KARD end repeat end mouseUp -------------------- so, quite frankly: "repeat for each card c in this stack" doesn't seem worth bothering about. ------------------- AND, presumably, as cannot be bothered to try this out; "repeat for each button b of this card" can be handled in a similar way. ---------------------- Surely, there are more interesting enhancements we could ask for? Richmond. From pete at lcsql.com Sat Mar 15 12:08:00 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 15 Mar 2014 09:08:00 -0700 Subject: revDataFromQuery with variable list question In-Reply-To: References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> Message-ID: "awkward"!? Spell correction at its worst, should be "SQL", sorry. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 15, 2014 at 8:36 AM, Peter Haworth wrote: > You should have double quotes around sql entities like table and column > names. Single quotes will work in some but not all awkward > implementations. > > Pete > lcSQL Software > On Mar 15, 2014 12:50 AM, "Terence Heaford" > wrote: > >> I normally do my Sqlite queries like this, I think examples speak a >> thousand words.: >> >> put merge("select date,type,description,amount,balance,category,recID >> from '[[the uAcctName of this stack]]' order by date asc") into tSQL >> put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into >> tData >> >> or >> >> put "select categoryName from 'categoryList' order by categoryName >> asc" into tSQL >> put revDataFromQuery(tab, return, the uDB of stack "myStack", tSQL) >> into tCatNames >> >> or >> >> put merge("SELECT date,type,description,amount,balance,category,recID >> from '[[the uAcctName of this stack]]' where date >= [[tStartDate]] and >> date <= [[tEndDate]] [[tCatStatement]] order by date asc") into tSQL >> put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into >> tData >> >> or >> >> put merge("type like '%[[tType]]%'") into tTypeQuery >> >> put merge("[[tQuery]] [[tCatQuery]] [[tAmountQuery]] [[tDescQuery]] >> [[tTypeQuery]] order by date asc") into tSQL >> >> >> Is mTextContent a variable? >> >> >> All the best >> >> Terry >> >> >> >> On 15 Mar 2014, at 05:44, Stephen MacLean >> wrote: >> >> > Hi All, >> > >> > I'm having a problem with this: >> > >> > put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" >> into gMsgListQuery >> > >> > put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into >> tSearchResult >> > >> > puts nothing into tSearchResult and the result is empty. >> > >> > Do I have escape something differently? Or just missing something? >> > >> > TIA, >> > >> > Steve MacLean >> > >> > >> > >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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 btinternet.com Sat Mar 15 12:16:33 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 15 Mar 2014 16:16:33 +0000 Subject: revDataFromQuery with variable list question In-Reply-To: References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> Message-ID: Thanks for pointing that out. Just for clarity: From sqlite.org. "Use single-quotes, not double-quotes, around string literals in SQL. This is what the SQL standard requires?. SQL uses double-quotes around identifiers (column or table names) that contains special characters or which are keywords. So double-quotes are a way of escaping identifier names. Hence, when you say column1="column1" that is equivalent to column1=column1 which is obviously always true." All the best Terry On 15 Mar 2014, at 15:36, Peter Haworth wrote: > You should have double quotes around sql entities like table and column > names. Single quotes will work in some but not all awkward > implementations. > > Pete > lcSQL Software > On Mar 15, 2014 12:50 AM, "Terence Heaford" > wrote: > >> I normally do my Sqlite queries like this, I think examples speak a >> thousand words.: >> >> put merge("select date,type,description,amount,balance,category,recID >> from '[[the uAcctName of this stack]]' order by date asc") into tSQL >> put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into >> tData >> >> or >> >> put "select categoryName from 'categoryList' order by categoryName asc" >> into tSQL >> put revDataFromQuery(tab, return, the uDB of stack "myStack", tSQL) >> into tCatNames >> >> or >> >> put merge("SELECT date,type,description,amount,balance,category,recID >> from '[[the uAcctName of this stack]]' where date >= [[tStartDate]] and >> date <= [[tEndDate]] [[tCatStatement]] order by date asc") into tSQL >> put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into >> tData >> >> or >> >> put merge("type like '%[[tType]]%'") into tTypeQuery >> >> put merge("[[tQuery]] [[tCatQuery]] [[tAmountQuery]] [[tDescQuery]] >> [[tTypeQuery]] order by date asc") into tSQL >> >> >> Is mTextContent a variable? >> >> >> All the best >> >> Terry >> >> >> >> On 15 Mar 2014, at 05:44, Stephen MacLean wrote: >> >>> Hi All, >>> >>> I'm having a problem with this: >>> >>> put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" >> into gMsgListQuery >>> >>> put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into >> tSearchResult >>> >>> puts nothing into tSearchResult and the result is empty. >>> >>> Do I have escape something differently? Or just missing something? >>> >>> TIA, >>> >>> Steve MacLean >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 dochawk at gmail.com Sat Mar 15 12:32:16 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 09:32:16 -0700 Subject: properties vs local variable In-Reply-To: <531DEC5E.2050109@hyperactivesw.com> References: <423634F3-22B0-499C-B71B-4F513646F69A@btinternet.com> <531D980E.3010807@economy-x-talk.com> <531DEC5E.2050109@hyperactivesw.com> Message-ID: On Mon, Mar 10, 2014 at 9:46 AM, J. Landman Gay wrote: > This will be the speed bottleneck. Array access is very fast, faster than > almost any other method. As noted here, variable access is the fastest, > followed by access to custom properties, but the difference is so minimal > as to be insignificant. I don't want to hijack anything, but this is my burning issue today. I have cards that will become output; groups are copied from them to my output window, and then manipulated. It's also possible that cards will be added to that stack during program execution (there are a couple of hundred districts with their own forms). I'm waffling between something like if pg = 1 then put "group footer_1 " & " of " & tgCrd into tgGrp else put "group footer_c " & " of " & tgCrd into tgGrp end if if exists( tgGrp ) then copy tgGrp to outTarget do some other stuff with it end if The other approach would be to set a custom property full of this kind of information, and then at program load (or when another card is added) put the outControl of tgCrd into myTmp split myTmp by return and space put myTmp into outProps[the short name of tgCrd] and then the routine becomes if pg=1 then put "footer_1" into tgProp else put "footer_c" into tgProp end if if outProps[cdName][tgProp] is not empty then copy outProps[cdName][tgProp] of tgCrd do other stuff end if So if using the custom properties of a stack in memory is faster (even if having to parse the name?), then the first should be faster, while if a multi-dimensional array is faster, the second is faster. And I suppose there's a third, where I copy outProps[cdNam] to theProps, when beginning to render a form. I recall someone discovering that under some circumstances, it was worth the time to copy the subarray . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From t.heaford at btinternet.com Sat Mar 15 12:38:40 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 15 Mar 2014 16:38:40 +0000 Subject: revDataFromQuery with variable list question In-Reply-To: References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> Message-ID: <268D8758-4082-4C1F-9686-B995259E6ED5@btinternet.com> This would be my interpretation: select "date","type","description","amount","balance","category","recID" from ?MyTable" order by "date? asc All the best Terry On 15 Mar 2014, at 16:16, Terence Heaford wrote: > "Use single-quotes, not double-quotes, around string literals in SQL. This is what the SQL standard requires?. > SQL uses double-quotes around identifiers (column or table names) that contains special characters or which are keywords. So double-quotes are a way of escaping identifier names. Hence, when you say column1="column1" that is equivalent to column1=column1 which is obviously always true." From scott at tactilemedia.com Sat Mar 15 13:16:09 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 15 Mar 2014 10:16:09 -0700 Subject: Crowd Funding Enhancements In-Reply-To: <532478F1.2000606@gmail.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> Message-ID: We have all been doing what you suggest for years, which is precisely the point. There are several reasons why having "repeat for each ?" would be extremely welcome. 1) Precedents for this structure already exist in the language, so it's not a departure: repeat for each item x in "a,b,c". 2) The "repeat for each" structure is more efficient than looping through controls, and developers would gain the benefits of fast processing. 3) The lives of developers would be easier. How many times have I started typing "repeat for each button?" and then stopped myself, having remembered "Oh yeah, we can't do that." Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/15/14 8:59 AM, "Richmond" wrote: >>>That'd be nice. And as long as we're dreaming, how about: >>> >>> repeat for each card c in this stack >>> repeat for each button b of this card >>> >>I had to do that for myself way back in hypercard . . . it was absolutely >>necessary for what I was doing, and I've never understood why it wasn't >>part of the language. >> >> > >Why not just have a script something like this: > >put 1 into KARD >repeat until exists(card KARD) = false >-- do whatever you want on card KARD >put (KARD + 1) into KARD >end repeat From richmondmathewson at gmail.com Sat Mar 15 13:35:02 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Mar 2014 19:35:02 +0200 Subject: Crowd Funding Enhancements In-Reply-To: References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> Message-ID: <53248F46.50604@gmail.com> On 15/03/14 19:16, Scott Rossi wrote: > We have all been doing what you suggest for years, which is precisely the > point. There are several reasons why having "repeat for each ?" > would be extremely welcome. I wouldn't deny that it wouldn't be welcome. However, as there IS a way of getting that sort of thing done, without too much fuss; I wouldn't put it anywhere the top of my wish list. Richmond. > > 1) Precedents for this structure already exist in the language, so it's > not a departure: > repeat for each item x in "a,b,c". > > 2) The "repeat for each" structure is more efficient than looping through > controls, and developers would gain the benefits of fast processing. > > 3) The lives of developers would be easier. > > How many times have I started typing "repeat for each button?" and then > stopped myself, having remembered "Oh yeah, we can't do that." > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/15/14 8:59 AM, "Richmond" wrote: > >>>> That'd be nice. And as long as we're dreaming, how about: >>>> >>>> repeat for each card c in this stack >>>> repeat for each button b of this card >>>> >>> I had to do that for myself way back in hypercard . . . it was absolutely >>> necessary for what I was doing, and I've never understood why it wasn't >>> part of the language. >>> >>> >> Why not just have a script something like this: >> >> put 1 into KARD >> repeat until exists(card KARD) = false >> -- do whatever you want on card KARD >> put (KARD + 1) into KARD >> end repeat > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 smaclean at madmansoft.com Sat Mar 15 13:41:14 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 15 Mar 2014 13:41:14 -0400 Subject: revDataFromQuery with variable list question In-Reply-To: <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> Message-ID: Hi Terry & Pete, Thanks for the replies. Pete's suggestion was what I was looking for and your use of merge reminded me about using it for this part of it. This works beautifully: put merge("%[[tFld]]%") into tFld put "SELECT mFromGUID from messages WHERE mTextContent LIKE :1" put revDataFromQuery(,comma,gDatabaseID,gMsgListQUERY,"tFld") into tSearchResult I use this variable replacement form of revDataFromQuery because it helps prevent SQL injection attacks and I've had issues with merge on some punctuation in an input field. It also helps keep the queries more readable for me;) To answer Terry's question, mTextContent is a column in the DB. The above select statement get's translated by LC to look like (with my variable containing the text "Dad"): "SELECT mFromGUID from messages WHERE mTextContent LIKE '%Dad%'" LC seems to know the column type and binds it correctly in SQLite. Thanks again! Best, Steve On Mar 15, 2014, at 3:50 AM, Terence Heaford wrote: > I normally do my Sqlite queries like this, I think examples speak a thousand words.: > > put merge("select date,type,description,amount,balance,category,recID from '[[the uAcctName of this stack]]' order by date asc") into tSQL > put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData > > or > > put "select categoryName from 'categoryList' order by categoryName asc" into tSQL > put revDataFromQuery(tab, return, the uDB of stack ?myStack", tSQL) into tCatNames > > or > > put merge("SELECT date,type,description,amount,balance,category,recID from '[[the uAcctName of this stack]]' where date >= [[tStartDate]] and date <= [[tEndDate]] [[tCatStatement]] order by date asc") into tSQL > put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData > > or > > put merge("type like '%[[tType]]%'") into tTypeQuery > > put merge("[[tQuery]] [[tCatQuery]] [[tAmountQuery]] [[tDescQuery]] [[tTypeQuery]] order by date asc") into tSQL > > > Is mTextContent a variable? > > > All the best > > Terry > > > > On 15 Mar 2014, at 05:44, Stephen MacLean wrote: > >> Hi All, >> >> I'm having a problem with this: >> >> put "SELECT mFromGUID from messages WHERE (mTextContent LIKE '%:1%')" into gMsgListQuery >> >> put revDataFromQuery(,comma, gDatabaseID, gMsgListQUERY,"tFld") into tSearchResult >> >> puts nothing into tSearchResult and the result is empty. >> >> Do I have escape something differently? Or just missing something? >> >> TIA, >> >> Steve MacLean >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sat Mar 15 13:43:49 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Mar 2014 12:43:49 -0500 Subject: Crowd Funding Enhancements In-Reply-To: References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> Message-ID: <53249155.80704@hyperactivesw.com> On 3/15/14, 12:16 PM, Scott Rossi wrote: > We have all been doing what you suggest for years, which is precisely the > point. There are several reasons why having "repeat for each ?" > would be extremely welcome. > > 1) Precedents for this structure already exist in the language, so it's > not a departure: > repeat for each item x in "a,b,c". > > 2) The "repeat for each" structure is more efficient than looping through > controls, and developers would gain the benefits of fast processing. > > 3) The lives of developers would be easier. > > How many times have I started typing "repeat for each button?" and then > stopped myself, having remembered "Oh yeah, we can't do that." Exactly. It seems so natural that even though I've been using xtalk since 1987, I still inadvertently try to use that structure occasionally. I suspect new users will too. But as Richmond says, it's a trivial feature request, and there's a ready workaround, so I've never asked for it in the bug database. But I keep thinking someday I should. Maybe one of our C++ geniuses will take pity on us. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 15 14:09:09 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Mar 2014 13:09:09 -0500 Subject: LiveCode 7 and Bi-directional fields In-Reply-To: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> References: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> Message-ID: <53249745.9090206@hyperactivesw.com> On 3/12/14, 12:01 PM, Fraser Gordon wrote: > > Question 1: should the text alignment options be expanded to include > "start" and "end"? (Start means right for RTL and left for LTR while > end is the opposite) That could work. It allows a degree of flexibility. The default "start" should be "left" if unspecified so that existing code won't break. > Question 2: if we expand the options, should we interpret "left" and > "right" in existing stacks to mean "start" and "end", respectively? > This would mean alignment flips when RTL text is entered, making > support for RTL text easier. On the other hand, it might be > undesirable in some cases. I'm going to pass on this one, because I haven't needed to use RTF languages in my work yet. If you do decide to change the direction in existing code, it could have impact in unexpected ways. Those who have implemented RTF would need to chime in here, but I'm thinking that any automatic changes will break existing stacks. > > Question 3: if we don't add "start" and "end" alignments, should > left/right always mean left/right or should they mean the opposite > when the field is set up for RTL text? Some office suites and text > editors take one approach, others the opposite? I'm against changing the logical definitions of "left" and "right," because keeping track of a shifting definition would be a nightmare. Adding new syntax for a new feature is a better approach (verified in my mind after watching the "word" discussion evolve.) My first thoughts are that "left" should always mean "left," and RTF languages can be managed by the "start" and "end" syntax. The engine would check the start position and calculate text chunking from that. Another option might be a stack, global, or local direction toggle. Then we could do something like this: set the languageDirection [of object] to "RTL" put after word 4 of line 1 of fld y set the languageDirection [of object] to "LTR" and everything in the field after that would go back to being LTR. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Mar 15 14:32:55 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 11:32:55 -0700 Subject: Crowd Funding Enhancements In-Reply-To: <53249155.80704@hyperactivesw.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> <53249155.80704@hyperactivesw.com> Message-ID: On Sat, Mar 15, 2014 at 10:43 AM, J. Landman Gay wrote: > Exactly. It seems so natural that even though I've been using xtalk since > 1987, I still inadvertently try to use that structure occasionally. I > suspect new users will too. But as Richmond says, it's a trivial feature > request, and there's a ready workaround, so I've never asked for it in the > bug database. But I keep thinking someday I should. > > When we all work around it on a regular basis . . . Also, I think it would produce cleaner and more understandable code. *and* [some of you will want to scream now, so get ready . . .] it could allow parallelization . . . (modern Fortran has such structures) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mats.wilstrand at tapirsoft.com Sat Mar 15 15:04:09 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Sat, 15 Mar 2014 20:04:09 +0100 Subject: Crowd Funding Enhancements In-Reply-To: <53249155.80704@hyperactivesw.com> References: <53012FF2.4080006@gmail.com> <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> <53249155.80704@hyperactives w.com> Message-ID: <026a01cf4081$586f9420$094ebc60$@tapirsoft.com> We had some discussion about this at the Engine forum. I too think this would be a very nice feature to add. Check the last two pages of this thread: http://forums.runrev.com/viewtopic.php?f=66&t=14880 Cheers Mats > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay > Sent: den 15 mars 2014 18:44 > To: How to use LiveCode > Subject: Re: Crowd Funding Enhancements > > On 3/15/14, 12:16 PM, Scott Rossi wrote: > > We have all been doing what you suggest for years, which is precisely > > the point. There are several reasons why having "repeat for each > ?" > > would be extremely welcome. > > > > 1) Precedents for this structure already exist in the language, so > > it's not a departure: > > repeat for each item x in "a,b,c". > > > > 2) The "repeat for each" structure is more efficient than looping > > through controls, and developers would gain the benefits of fast > processing. > > > > 3) The lives of developers would be easier. > > > > How many times have I started typing "repeat for each button?" and > > then stopped myself, having remembered "Oh yeah, we can't do that." > > Exactly. It seems so natural that even though I've been using xtalk since 1987, > I still inadvertently try to use that structure occasionally. I suspect new users > will too. But as Richmond says, it's a trivial feature request, and there's a > ready workaround, so I've never asked for it in the bug database. But I keep > thinking someday I should. > > Maybe one of our C++ geniuses will take pity on us. > > -- > 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 richmondmathewson at gmail.com Sat Mar 15 15:11:24 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Mar 2014 21:11:24 +0200 Subject: Crowd Funding Enhancements In-Reply-To: References: <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> <53249155.80704@hyperactivesw.com> Message-ID: <5324A5DC.4070003@gmail.com> On 15/03/14 20:32, Dr. Hawkins wrote: > On Sat, Mar 15, 2014 at 10:43 AM, J. Landman Gay > wrote: > >> Exactly. It seems so natural that even though I've been using xtalk since >> 1987, I still inadvertently try to use that structure occasionally. I >> suspect new users will too. But as Richmond says, it's a trivial feature >> request, and there's a ready workaround, so I've never asked for it in the >> bug database. But I keep thinking someday I should. >> >> > When we all work around it on a regular basis . . . > > Also, I think it would produce cleaner and more understandable code. That's true. It will also speed things up insofar as both the compiler doesn't have to chew through a repeat loop, and programmer's won't have to spend so much time crafting those repeat loops. ----- This doesn't stop me thinking that, perhaps, other things are more urgent right now. And, it might not be a bad thing if RunRev complete all their fund-raiser goals && stretch goals BEFORE they get distracted by other things. At the risk of sounding preachy (!!!); when the fund-raiser thing started, the theory (which turned out to be right) was that folk would donate money, not just to support an Open Source version of Livecode, but also because of all the extremely jazzy improvements (a.k.a. goals) that were dangled, carrot-like, before us. One or two people on the Use-List and the Forum have made the odd "anti" remark about their Kickstarter money not being spent on what they had thought it would be. Mostly not because it wasn't, but because the RunRev team weren't shoving their pet lust-object to the front of the queue. However, if RunRev really do get badly distracted, then there is a very real risk that there will be further criticisms which may be accurate, and detract from sales, uptake, and so forth. ----- The title of this thread is "Crowd Funding Enhancements"; and as the vast majority of us 'here' on the Use-list are very keen on that sort of thing, we should let the RunRev team fulfill their targets/promises/what-have-yers for the first "Funding Enhancement", i.e. the Kickstarter thing, before we start pressurising them and/or chucking more money at them. > > *and* [some of you will want to scream now, so get ready . . .] it could > allow parallelization . . . (modern Fortran has such structures) > > Well, it didn't make me scream; but it did make me go and check exactly what 'parallelization' is :) If we are to start thinking about parallelization we are beginning to think that Livecode is something more than a programming environment-cum-language which is used on desktop PCs and laptops; and is going to develop in such a way that it will, eventually, sit "up there" beside Fortran, Pascal and all the other "major players", and, even, maybe, one day, displace them. Tell, you, what; that's a wonderful thought. ---------- But: see rant above. Richmond. From pete at lcsql.com Sat Mar 15 15:51:04 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 15 Mar 2014 12:51:04 -0700 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: Not sure how you would do that unless you mean switching on shared cache. Unfortunately, you can't do that in LC even with the updated SQLite library because LC doesn't support URI filenames in revOPenDatabase and that's how you switch on shared cache. I've entered a bug report about that, waiting to hear if it will be fixed or not. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 15, 2014 at 8:56 AM, Dr. Hawkins wrote: > On Tue, Mar 11, 2014 at 9:34 AM, Peter Haworth wrote: > > > In general, it's risky accessing SQlite databases over a network unless > you > > are only querying the database and not doing any insert/update/delete > > operations for the reasons explained in the link. > > > > How about sharing a :memory: instance between two apps of the same user and > machine. > > This would go a long way on my master/slave issue of syncing to a remote > database without locking up the user interface . . . (at the moment, I > watch for time since last keystroke, and if it's long enough, risk the > update. I'm thinking to pass the UPDATE/SELECT command to to a slave > process, but having the slave access the internal db would be better . . > .). > > > -- > 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 dochawk at gmail.com Sat Mar 15 15:53:38 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 12:53:38 -0700 Subject: Multi user sqlite via shared-cache mode? In-Reply-To: References: Message-ID: On Sat, Mar 15, 2014 at 12:51 PM, Peter Haworth wrote: > Not sure how you would do that unless you mean switching on shared cache. > Unfortunately, you can't do that in LC even with the updated SQLite > library because LC doesn't support URI filenames in revOPenDatabase and > that's how you switch on shared cache. I've entered a bug report about > that, waiting to hear if it will be fixed or not. > Thanks. I was afraid of this, but hoping . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 15 16:04:15 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 13:04:15 -0700 Subject: alternative to do for loading variables from array? Message-ID: Is there a "decent" way to load variables from an array without "do" or a long list of commands? If theList[pageName] is "cat page" and so forth, I can repeat for each word theVar in "pageName pageHeight pageWidth" do "put " & theList[theVar] & " into " & theVar end repeat but this will cause a slew of compiles. I could also rattle off the list, but this is more maintainable. Is there a better way to do this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Mar 15 16:19:05 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Mar 2014 22:19:05 +0200 Subject: [OT] My son's fried laptop Message-ID: <5324B5B9.6080907@gmail.com> My son's laptop stopped working about 3 months agao, after only 18 months (not good). He brought it back from Germany (we having bought him a new one), having been told that the Motherboard is fried. Am I wasting both time thinking of having a new Motherboard installed, is that even possible in a laptop? Would be glad of advice. Richmond. From prothero at earthednet.org Sat Mar 15 16:27:26 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 15 Mar 2014 13:27:26 -0700 Subject: [OT] My son's fried laptop In-Reply-To: <5324B5B9.6080907@gmail.com> References: <5324B5B9.6080907@gmail.com> Message-ID: <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> Richmond, No warranty? If it were me, I'd google the laptop type for user experiences first, to see if the laptop is generally crap. Then, if the motherboard isn't more expensive than the original laptop, and you want the laptop, it might be worth it. But it's definitely a personal choice. Bill William Prothero http://es.earthednet.org > On Mar 15, 2014, at 1:19 PM, Richmond wrote: > > My son's laptop stopped working about 3 months agao, after only 18 months (not good). > > He brought it back from Germany (we having bought him a new one), having been told that > the Motherboard is fried. > > Am I wasting both time thinking of having a new Motherboard installed, is that even possible in > a laptop? > > Would be glad of advice. > > 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 jacque at hyperactivesw.com Sat Mar 15 18:27:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Mar 2014 17:27:11 -0500 Subject: Crowd Funding Enhancements In-Reply-To: <5324A5DC.4070003@gmail.com> References: <5311B2D6.30208@economy-x-talk.com> <5311D4B2.9030607@gmail.com> <531AD9EF.8090605@gmail.com> <45844401544.20140308134854@ahsoftware.net> <531E71BB.6070304@hyperactivesw.com> <532478F1.2000606@gmail.com> <53249155.80704@hyperactivesw.com> <5324A5DC.4070003@gmail.com> Message-ID: <5324D3BF.3070300@hyperactivesw.com> On 3/15/14, 2:11 PM, Richmond wrote: > This doesn't stop me thinking that, perhaps, other things are more > urgent right now. Which is why I haven't entered it as a feature request in the database. It's a minor enhancement that can easily wait. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sat Mar 15 19:05:58 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 15 Mar 2014 16:05:58 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> > > Message: 3 > Date: Sat, 15 Mar 2014 11:30:06 -0400 > From: "Peter M. Brigham" > To: How to use LiveCode > Subject: Re: New chunks > Message-ID: > Content-Type: text/plain; charset=windows-1252 > > On Mar 13, 2014, at 11:51 AM, Jim Hurley wrote: > >> I have a poor man?s version that is workable. >> >> However just ran across a sentence in today?s NYT that I will have to include: >> >> (?What they?re offering people is a full stomach and an empty soul.?) >> >> I had dealt with the quote beyond the period and the paren beyond the period, but not both. > > Here's a simple function I've been using. The new LC grammar revisions will make it obsolete eventually. > > function naturalWord tWord > -- strips punctuation from HC-style "words" fore and aft > -- to return something closer to what is normally understood as a word > put "abcdefghijklmnopqrstuvwxyz1234567890" into tAlphabet > -- numerals included to cope with numbers and things like "HTML5" > repeat while char 1 of tWord is not in tAlphabet > delete char 1 of tWord > end repeat > repeat while char -1 of tWord is not in tAlphabet > delete char -1 of tWord > end repeat > return tWord > end naturalWord > > It's simple, and therefore somewhat simple-minded -- it will miss some cases, but I've found it useful. > > "Every complicated problem has a simple, easy, obvious, wrong answer." > -- H. L. Mencken > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig Hi Peter, Always good to hear from you. I like your approach, but as you say, it sill miss some cases, for example: ?Don?t? tell Ms. Fitz-Williams that pi is equal to 3.15? I have built an app I find very useful. I do a lot of writing and I often want to go back to search through a manuscripts for sentences or paragraphs contain a certain combination of words, in whatever order. The following app allows one to put any text into a field and search for any or all words (whole words of patricidal) in a sentence or paragraph in whatever order, even MS Word with all their curly quotes and apostrophes etc. It handles decimal numberers and also check for 70 of the most common abbreviations. But still I am looking forward to LC implementation of these new word and sentence chunks. No telling how many special cases I have missed. In the msg. box: go url ?https://dl.dropboxusercontent.com/u/47044230/Find%20sentences2.livecode? Warm regards, Jim From jhurley0305 at sbcglobal.net Sat Mar 15 19:25:38 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 15 Mar 2014 16:25:38 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <08225D00-1B30-4DFC-B351-A82666018EA0@sbcglobal.net> Just thought of a situation I didn?t deal with. The apostrophe is tricky. In doing a word search, you would want to kept the apostrophe in the word ?don?t? but probably not in ?Howard?s best friend is his dog.? ?Howard?s? should appear in the found sentence but not in the word search, i.e. If you searched for sentences in which ?Howard? appeared, you would want to find ?Howard?s best?.? From pete at lcsql.com Sat Mar 15 20:02:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 15 Mar 2014 17:02:20 -0700 Subject: New chunks In-Reply-To: <08225D00-1B30-4DFC-B351-A82666018EA0@sbcglobal.net> References: <08225D00-1B30-4DFC-B351-A82666018EA0@sbcglobal.net> Message-ID: Hi Jim, Have you ever tried the sqlite fts virtual table? It's specifically designed for text searching and is lightening fast. Certainly an extra step load stuff into a sneak but might be worth a look. Pete lcSQL Software On Mar 15, 2014 4:25 PM, "Jim Hurley" wrote: > Just thought of a situation I didn't deal with. The apostrophe is tricky. > > In doing a word search, you would want to kept the apostrophe in the word > "don't" but probably not in "Howard's best friend is his dog." "Howard's" > should appear in the found sentence but not in the word search, i.e. If you > searched for sentences in which "Howard" appeared, you would want to find > "Howard's best...." > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Mar 15 22:19:20 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 15 Mar 2014 22:19:20 -0400 Subject: New chunks In-Reply-To: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> References: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> Message-ID: <5865B76A-362C-44A2-97E6-1BF49181A6A7@gmail.com> On Mar 15, 2014, at 7:05 PM, Jim Hurley wrote: > The following app allows one to put any text into a field and search for any or all words (whole words of patricidal) in a sentence or paragraph in whatever order, even MS Word with all their curly quotes and apostrophes etc. It handles decimal numberers and also check for 70 of the most common abbreviations. But still I am looking forward to LC implementation of these new word and sentence chunks. No telling how many special cases I have missed. > > In the msg. box: > > go url ?https://dl.dropboxusercontent.com/u/47044230/Find%20sentences2.livecode? I get "script compile error: Expression bad factor" in the message box, and when I click on the link itself I get a 404 in the browser. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From stephenREVOLUTION2 at barncard.com Sat Mar 15 22:47:24 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 15 Mar 2014 19:47:24 -0700 Subject: New chunks In-Reply-To: <5865B76A-362C-44A2-97E6-1BF49181A6A7@gmail.com> References: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> <5865B76A-362C-44A2-97E6-1BF49181A6A7@gmail.com> Message-ID: On Sat, Mar 15, 2014 at 7:19 PM, Peter M. Brigham wrote: > I get "script compile error: Expression bad factor" in the message box, > and when I click on the link itself I get a 404 in the browser. yeah something odd about the URL here too. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From lan.kc.macmail at gmail.com Sat Mar 15 23:08:10 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 16 Mar 2014 11:08:10 +0800 Subject: alternative to do for loading variables from array? In-Reply-To: References: Message-ID: I'm not sure I understand your problem fully but I think 'repeat for each key' and the value() function might help. In the message box: put 5 into tApple --put something into various variables put 50 into tBanana put 5000 into tCarrot put "tApple" into aArray[a] --build an array put "tBanana" into aArray[b] put "tCarrot" into aArray[c] repeat for each key tKey in aArray put "tKey = " & tKey & "; Variable = " & aArray[tKey] & " = " & value(aArray[tKey]) & cr after msg end repeat On Sun, Mar 16, 2014 at 4:04 AM, Dr. Hawkins wrote: > Is there a "decent" way to load variables from an array without "do" or a > long list of commands? > > If theList[pageName] is "cat page" and so forth, I can > > repeat for each word theVar in "pageName pageHeight pageWidth" > do "put " & theList[theVar] & " into " & theVar > end repeat > > but this will cause a slew of compiles. > > I could also rattle off the list, but this is more maintainable. > > Is there a better way to do this? > -- > 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 sims at ezpzapps.com Sat Mar 15 23:30:29 2014 From: sims at ezpzapps.com (Jim sims) Date: Sun, 16 Mar 2014 03:30:29 +0000 Subject: alternative to do for loading variables from arraypp Message-ID: On Sunday, March 16, 2014, Kay C Lan wrote: > I'm not sure I understand your problem fully but I think 'repeat for each > key' and the value() function might help. > In the message box: > > put 5 into tApple --put something into various variables > put 50 into tBanana > put 5000 into tCarrot > put "tApple" into aArray[a] --build an array > put "tBanana" into aArray[b] > put "tCarrot" into aArray[c] > repeat for each key tKey in aArray > put "tKey = " & tKey & "; Variable = " & aArray[tKey] & " = " & > value(aArray[tKey]) & cr after msg > end repeat > > > On Sun, Mar 16, 2014 at 4:04 AM, Dr. Hawkins > > wrote: > > > Is there a "decent" way to load variables from an array without "do" or a > > long list of commands? > > > > If theList[pageName] is "cat page" and so forth, I can > > > > repeat for each word theVar in "pageName pageHeight pageWidth" > > do "put " & theList[theVar] & " into " & theVar > > end repeat > > > > but this will cause a slew of compiles. > > > > I could also rattle off the list, but this is more maintainable. > > > > Is there a better way to do this? > > -- > > 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 > -- Sent from my iPodo - it makes weird spelling sometimes :-P From dochawk at gmail.com Sat Mar 15 23:39:20 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Mar 2014 20:39:20 -0700 Subject: alternative to do for loading variables from array? In-Reply-To: References: Message-ID: On Sat, Mar 15, 2014 at 8:08 PM, Kay C Lan wrote: > I'm not sure I understand your problem fully but I think 'repeat for each > key' and the value() function might help. > This would produce a message. I use different columns of a database for different output. As such, the output cards carry information to help build them. I might tell it which column is the page for that card with pgCol, so the card would have the data to set pgCol to astPg, thus accessing column astPg. I'd like to have a human-editable list of these variables as a property of the output card, and then load these into their respective variables. So a list of pgCol astPg fruit kumquat rock quartz gets split into an array with keys pgCol, fruit, & rock, after which I'd like to put these values into variables pgCol, fruit, and rock. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sun Mar 16 03:59:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 16 Mar 2014 09:59:59 +0200 Subject: [OT] Spam-a-lamb-a-ding-dong In-Reply-To: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> References: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> Message-ID: <532559FF.5080204@gmail.com> This message landed in my Spam folder; that, coupled with a sudden rise in real Spam messages to my gmail account makes me feel a bit queasy. No other messages from the Use-List landed in the Spam folder. JIm; on a personal note; we may have had the odd difference of opinion in the past, but I assure you I am not marking your posts as Spam :) Richmond. On 16/03/14 01:05, Jim Hurley wrote: >> Message: 3 >> Date: Sat, 15 Mar 2014 11:30:06 -0400 >> From: "Peter M. Brigham" >> To: How to use LiveCode >> Subject: Re: New chunks >> Message-ID: >> Content-Type: text/plain; charset=windows-1252 >> >> On Mar 13, 2014, at 11:51 AM, Jim Hurley wrote: >> >>> I have a poor man?s version that is workable. >>> >>> However just ran across a sentence in today?s NYT that I will have to include: >>> >>> (?What they?re offering people is a full stomach and an empty soul.?) >>> >>> I had dealt with the quote beyond the period and the paren beyond the period, but not both. >> Here's a simple function I've been using. The new LC grammar revisions will make it obsolete eventually. >> >> function naturalWord tWord >> -- strips punctuation from HC-style "words" fore and aft >> -- to return something closer to what is normally understood as a word >> put "abcdefghijklmnopqrstuvwxyz1234567890" into tAlphabet >> -- numerals included to cope with numbers and things like "HTML5" >> repeat while char 1 of tWord is not in tAlphabet >> delete char 1 of tWord >> end repeat >> repeat while char -1 of tWord is not in tAlphabet >> delete char -1 of tWord >> end repeat >> return tWord >> end naturalWord >> >> It's simple, and therefore somewhat simple-minded -- it will miss some cases, but I've found it useful. >> >> "Every complicated problem has a simple, easy, obvious, wrong answer." >> -- H. L. Mencken >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig > Hi Peter, > > Always good to hear from you. I like your approach, but as you say, it sill miss some cases, for example: ?Don?t? tell Ms. Fitz-Williams that pi is equal to 3.15? > > I have built an app I find very useful. I do a lot of writing and I often want to go back to search through a manuscripts for sentences or paragraphs contain a certain combination of words, in whatever order. > > The following app allows one to put any text into a field and search for any or all words (whole words of patricidal) in a sentence or paragraph in whatever order, even MS Word with all their curly quotes and apostrophes etc. It handles decimal numberers and also check for 70 of the most common abbreviations. But still I am looking forward to LC implementation of these new word and sentence chunks. No telling how many special cases I have missed. > > In the msg. box: > > go url ?https://dl.dropboxusercontent.com/u/47044230/Find%20sentences2.livecode? > > Warm regards, > > Jim > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jhurley0305 at sbcglobal.net Sun Mar 16 08:24:41 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 16 Mar 2014 05:24:41 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <119D547F-9EC5-4349-B7C2-BC5CD1E3BDE7@sbcglobal.net> Sorry Peter and Stephen, That should have been: open stack url ?https://dl.dropboxusercontent.com/u/47044230/FindSentences2.livecode" Jim > Message: 6 > Date: Sat, 15 Mar 2014 22:19:20 -0400 > From: "Peter M. Brigham" > To: How to use LiveCode > Subject: Re: New chunks > Message-ID: <5865B76A-362C-44A2-97E6-1BF49181A6A7 at gmail.com> > Content-Type: text/plain; charset=windows-1252 > > On Mar 15, 2014, at 7:05 PM, Jim Hurley wrote: > >> The following app allows one to put any text into a field and search for any or all words (whole words of patricidal) in a sentence or paragraph in whatever order, even MS Word with all their curly quotes and apostrophes etc. It handles decimal numberers and also check for 70 of the most common abbreviations. But still I am looking forward to LC implementation of these new word and sentence chunks. No telling how many special cases I have missed. >> >> In the msg. box: >> >> go url ?https://dl.dropboxusercontent.com/u/47044230/Find%20sentences2.livecode? > > I get "script compile error: Expression bad factor" in the message box, and when I click on the link itself I get a 404 in the browser. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > > ------------------------------ > > Message: 7 > Date: Sat, 15 Mar 2014 19:47:24 -0700 > From: stephen barncard > To: How to use LiveCode > Subject: Re: New chunks > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > On Sat, Mar 15, 2014 at 7:19 PM, Peter M. Brigham wrote: > >> I get "script compile error: Expression bad factor" in the message box, >> and when I click on the link itself I get a 404 in the browser. > > > yeah something odd about the URL here too. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > From jhurley0305 at sbcglobal.net Sun Mar 16 08:31:10 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 16 Mar 2014 05:31:10 -0700 Subject: New chunks In-Reply-To: References: Message-ID: <1EF9AD06-C7BC-48CA-A757-89CC91DA7629@sbcglobal.net> Hi Pete, I?ve never gotten into SQL. Will it search for any or all words in any order in a sentence? Jim > Message: 5 > Date: Sat, 15 Mar 2014 17:02:20 -0700 > From: Peter Haworth > To: How to use LiveCode > Subject: Re: New chunks > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Jim, > Have you ever tried the sqlite fts virtual table? It's specifically > designed for text searching and is lightening fast. Certainly an extra > step load stuff into a sneak but might be worth a look. > > Pete > lcSQL Software > On Mar 15, 2014 4:25 PM, "Jim Hurley" wrote: From pete at lcsql.com Sun Mar 16 17:32:13 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 16 Mar 2014 14:32:13 -0700 Subject: New chunks In-Reply-To: <1EF9AD06-C7BC-48CA-A757-89CC91DA7629@sbcglobal.net> References: <1EF9AD06-C7BC-48CA-A757-89CC91DA7629@sbcglobal.net> Message-ID: If you're not into SQL, probably not worth the learning curve to go down that path. To answer your question though, I believe that could be done with the right database structure but you'd probably have to pre-parse your manuscript into sentences then load each sentence as a separate row in the database. It also feels like a regexp could do this without having to worry about stripping out punctuation. The key is to define exactly what constitutes a sentence. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 16, 2014 at 5:31 AM, Jim Hurley wrote: > Hi Pete, > > I've never gotten into SQL. Will it search for any or all words in any > order in a sentence? > > Jim > > > > Message: 5 > > Date: Sat, 15 Mar 2014 17:02:20 -0700 > > From: Peter Haworth > > To: How to use LiveCode > > Subject: Re: New chunks > > Message-ID: > > < > CAGDT7eP0pdWccHNHoXcFPxdJGPy4YxQ9pNMF0bRw73Je4Vc8zQ at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hi Jim, > > Have you ever tried the sqlite fts virtual table? It's specifically > > designed for text searching and is lightening fast. Certainly an extra > > step load stuff into a sneak but might be worth a look. > > > > Pete > > lcSQL Software > > On Mar 15, 2014 4:25 PM, "Jim Hurley" 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 pete at lcsql.com Sun Mar 16 19:43:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 16 Mar 2014 16:43:28 -0700 Subject: [ANN] lcStackBrowser v2.1 - Stack Checkpoints and Controls Palette Message-ID: I'm pleased to announce the release of version 2.1 of lcStackBrowser, a plugin replacement for the Livecode Application/Project Browser. This is a free upgrade for existing users. New users can download a fully functional 30-day demo of lcStackbrowser here or purchase a new license here . The complete release notes can be found here and a series of short videos showing how these new features work is available here . This release contains a couple of major enhancements. CONTROLS PALETTE lcStackbrowser now includes its own controls palette within the main display, allowing you create controls using the same methods as in the IDE Tools palette. In addition, you can create multiple instances of one or more controls in one drag/drop operation. When the controls are dropped, you will be prompted for placement and spacing information. Using this feature, you can, for example, create rows of label and field controls, or multiple radio buttons in one drag/drop operation. The Controls Palette is shown and hidden by clicking on a new expand/collapse icon at the bottom left of the main display. The palette is displayed beneath the list of objects. STACK FILE CHECKPOINTS Checkpoints provide you with the ability to create multiple copies of your stack file each time a stack is saved, at timed intervals, or when manually requested. Checkpoints can be tagged with a descriptive text. Checkpoints can be retained based on a count or age, or you can choose to delete all of a stack's checkpoints when it is removed from memory. A default set of checkpoint options is defined in the Preferences dialog but they can be overridden for individual stacks by selecting the "Checkpoint settings" action from a main stack's popup menu. A checkpoint can be created on request by selecting the "Checkpoint" action from a main stack's popup menu or highlighting the stack and pressing the "C" key. When a stack has at least one checkpoint available, a new icon will appear next to its name and details of its checkpoints will appear in the stack's tooltip. To rollback to a checkpoint, select the "Rollback" option from a main stack's popup menu, or click the checkpoint icon next to its name, or highlight the main stack and press the "R" key. A list of available checkpoints will be displayed to choose from. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From mblivecode at harbourhosting.co.uk Mon Mar 17 04:53:27 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Mon, 17 Mar 2014 08:53:27 +0000 Subject: Famous at last, though not in the best way Message-ID: <5326B807.3080904@harbourhosting.co.uk> Our favourite tool used to make bitcoin wallet stealing malware: Martin From richmondmathewson at gmail.com Mon Mar 17 07:37:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 13:37:30 +0200 Subject: Famous at last, though not in the best way In-Reply-To: <5326B807.3080904@harbourhosting.co.uk> References: <5326B807.3080904@harbourhosting.co.uk> Message-ID: <5326DE7A.6080503@gmail.com> On 03/17/2014 10:53 AM, Martin Baxter wrote: > Our favourite tool used to make bitcoin wallet stealing malware: > > > > Martin > > "The Command and ?ontrol server, which used to be located in Bulgaria seems like has been shutdown is now offline." I'm sorry to disappoint you; but THAT was NOT me. Even if for no other reason than that sort of coding is a bit beyond me! Bulgaria, unfortunately, is an incredibly corrupt country, and Bulgarian programmers are very good [as in 'clever, capable', NOT as in 'morally good']. The EU keeps pressurising Bulgaria to stamp out corruption; but as corruption riddles the government there is no hope of that. Until Bulgarians can see that there is a clear advantage in not being corrupt corruption will never stop. Markets are controlled by oligarchs who have direct links to the government. Bulgarians wonder why they are not benefitting from EU membership; and are so short-sighted that they cannot see that the enormously bent nature of their country goes hand in hand with the lack of benefits. But as they see EU membership as a sort of gravy-train with endless free handouts I wonder if the fact that nothing is, ultimately, free will ever sink in. I have been trying to explain to kids / teenagers here that pirating Windows and sofware is wrong [morally, legally, financially] and feel that I am getting a bit tired of banging my head against a brick wall. Corruption has become almost culturally endemic. Sorry to spoil your lunch. Richmond. From richmondmathewson at gmail.com Mon Mar 17 07:41:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 13:41:18 +0200 Subject: Famous at last, though not in the best way In-Reply-To: <5326B807.3080904@harbourhosting.co.uk> References: <5326B807.3080904@harbourhosting.co.uk> Message-ID: <5326DF5E.8070305@gmail.com> On 03/17/2014 10:53 AM, Martin Baxter wrote: > Our favourite tool used to make bitcoin wallet stealing malware: > > > > Martin > > On a further note: I find it hilarious that Kaspersky should employ a Russian resident in Moscow to identify Bulgarian MalWare. This is already suspect, even if Sergey Lozhkin is, himself, 100% upright; Russians have taught most Bulgarian hackers what they know. Big brother teaches little brother how to smoke. Richmond. From curry at pair.com Mon Mar 17 07:52:28 2014 From: curry at pair.com (Curry Kenworthy) Date: Mon, 17 Mar 2014 06:52:28 -0500 Subject: Famous at last, though not in the best way In-Reply-To: <5326DE7A.6080503@gmail.com> References: <5326DE7A.6080503@gmail.com> Message-ID: <5326E1FC.8030903@pair.com> Richmond: > I'm sorry to disappoint you; but THAT was NOT me. I was already disappointed about that when reading the article; the coding style indicates someone who is more comfortable in traditional programming languages and not a lover of linguistics. Unless that was a clever ploy of disguising the coding style! :) We have a lot of gravy-train and handout mentality growing over here too, and new innovative forms of government corruption spring up just like new forms of malware. So don't feel isolated over there. Best wishes, Curry K. From t.heaford at btinternet.com Mon Mar 17 10:19:12 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 17 Mar 2014 14:19:12 +0000 Subject: Group Parent of an Object Message-ID: Hi, I am aware of childControlNames which returns a list of objects contained in a group. Is there something like ?parent of me" that would return the group an object is a member of? Thanks Terry From t.heaford at btinternet.com Mon Mar 17 10:23:47 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 17 Mar 2014 14:23:47 +0000 Subject: Group Parent of an Object In-Reply-To: References: Message-ID: <60272285-F622-495B-8715-E2B074F89AAA@btinternet.com> I think i?ve found it put the owner of me. owner seems a strange word to use when I am a child. All the best Terry On 17 Mar 2014, at 14:19, Terence Heaford wrote: > Hi, > > I am aware of childControlNames which returns a list of objects contained in a group. > > Is there something like ?parent of me" that would return the group an object is a member of? > > Thanks > > 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 ambassador at fourthworld.com Mon Mar 17 10:32:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Mar 2014 07:32:11 -0700 Subject: Famous at last, though not in the best way In-Reply-To: <5326B807.3080904@harbourhosting.co.uk> References: <5326B807.3080904@harbourhosting.co.uk> Message-ID: <5327076B.3090308@fourthworld.com> Martin Baxter wrote: > Our favourite tool used to make bitcoin wallet stealing malware: > > Given how many orders of magnitude more malware is written in C, Java, PHP, Flash, and others, I see this as an inevitable and ultimately healthy sign that LiveCode is finding its way among the great programming languages. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bobsneidar at iotecdigital.com Mon Mar 17 11:17:50 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 15:17:50 +0000 Subject: revDataFromQuery with variable list question In-Reply-To: References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> Message-ID: <7C55FB35-704F-487A-99E8-FB0107BAD94F@iotecdigital.com> Oooh. I didn?t know about this one. I?m going to have to update my code. Very cool. Bob On Mar 15, 2014, at 10:41 , Stephen MacLean > wrote: put merge("%[[tFld]]%") into tFld From bobsneidar at iotecdigital.com Mon Mar 17 11:26:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 15:26:58 +0000 Subject: [OT] My son's fried laptop In-Reply-To: <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> Message-ID: I think it really comes down to the quality of the laptop components, as the prior post suggested, and particularly the display. Everything else in the laptop is not that expensive, but the display might be a higher quality. If it is just a stock LCD nothing fancy, then consider another laptop. BTW it is quite odd for a motherboard to ?fry? (barring abuse) in a laptop. Power surges are usually handled fairly well by the external power supplies. Laptop power supplies can afford to drop output power because they run on batteries. I would definitely see if others with this same model are having issues. Might be a lemon. Bob On Mar 15, 2014, at 13:27 , Earthednet-wp wrote: > Richmond, > No warranty? If it were me, I'd google the laptop type for user experiences first, to see if the laptop is generally crap. Then, if the motherboard isn't more expensive than the original laptop, and you want the laptop, it might be worth it. But it's definitely a personal choice. > Bill > > William Prothero > http://es.earthednet.org > >> On Mar 15, 2014, at 1:19 PM, Richmond wrote: >> >> My son's laptop stopped working about 3 months agao, after only 18 months (not good). >> >> He brought it back from Germany (we having bought him a new one), having been told that >> the Motherboard is fried. >> >> Am I wasting both time thinking of having a new Motherboard installed, is that even possible in >> a laptop? >> >> Would be glad of advice. >> >> 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 devin_asay at byu.edu Mon Mar 17 11:33:08 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 17 Mar 2014 15:33:08 +0000 Subject: LiveCode 7 and Bi-directional fields In-Reply-To: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> References: <6A40D78B-DCB2-4D13-BA93-37F5ABC3CBEF@runrev.com> Message-ID: On Mar 12, 2014, at 11:01 AM, Fraser Gordon wrote: > Hi all, > > Due to the many responses we received to our question about adding new chunk types to the LiveCode engine, I thought it might be useful to ask you about another potential change coming in LiveCode 7.0: how fields should handle bi-directional text. > > Currently, fields can be aligned to the left, centre or right and default to the left. This means that any right-to-left (RTL) or bi-directional (BiDi) text entered into the field will always align to the left, rather than to the most natural side for the text being entered. The question that arises is can and should we change this? > > Question 1: should the text alignment options be expanded to include "start" and "end"? (Start means right for RTL and left for LTR while end is the opposite) > > Question 2: if we expand the options, should we interpret "left" and "right" in existing stacks to mean "start" and "end", respectively? This would mean alignment flips when RTL text is entered, making support for RTL text easier. On the other hand, it might be undesirable in some cases. > > Question 3: if we don't add "start" and "end" alignments, should left/right always mean left/right or should they mean the opposite when the field is set up for RTL text? Some office suites and text editors take one approach, others the opposite? > > The fact that existing applications don't all follow the same standard makes it more difficult to decide if any particular approach is the right one. What do you think LiveCode should do? Fraser, I put this question to a faculty member here, who is a professor of Arabic and a pretty tech-savvy guy. Back in the day he wrote a whole series of Arabic instructional stacks in HyperCard, and had to code up the Arabic script insertions manually. So he knows all of the tricky issues of handling RTL languages. Here is what he told me: " Devin, Whatever they do it will wreck existing stacks because people would have already made kludgy accomodations to what is there. I would add the 'start' and 'end' options. But they need to make sure, with bi-diretional text, that there is a way to control where things like punctuation, quote marks, and parentheses go, since that is the #1 issue. Many text programs, and html itself, kind of work for right to left text, UNTIL you start adding parentheses and/or punctuation, and then everything falls apart. " Like Jacque, I don't feel we should mess with the definition of right and left, but I think there should be a textDirection property of objects (not just fields) and chunks of text in fields. I have been told by my RTL language using colleagues that among common Mac applications, TextEdit comes the closest to getting things right. HTH, Devin Devin Asay Office of Digital Humanities Brigham Young University From bobsneidar at iotecdigital.com Mon Mar 17 11:33:50 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 15:33:50 +0000 Subject: alternative to do for loading variables from array? In-Reply-To: References: Message-ID: Why would you want to? Why not just use the array variables ?as is?? What you are doing seems to me to be something like ?put a into b? and then not modifying a or b. In your example, do something like: put (theList[theVar] contains ?cat page?) into isTrue Bob On Mar 15, 2014, at 13:04 , Dr. Hawkins wrote: > Is there a "decent" way to load variables from an array without "do" or a > long list of commands? > > If theList[pageName] is "cat page" and so forth, I can > > repeat for each word theVar in "pageName pageHeight pageWidth" > do "put " & theList[theVar] & " into " & theVar > end repeat > > but this will cause a slew of compiles. > > I could also rattle off the list, but this is more maintainable. > > Is there a better way to do this? > -- > 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 MikeKerner at roadrunner.com Mon Mar 17 11:34:46 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 11:34:46 -0400 Subject: Famous at last, though not in the best way In-Reply-To: <5327076B.3090308@fourthworld.com> References: <5326B807.3080904@harbourhosting.co.uk> <5327076B.3090308@fourthworld.com> Message-ID: I disagree - this is the best way. Nothing says "badass" like having hackers blast out something that Kaspersky can then throw down for all to see. HOWEVER, they mention that the source was encrypted because the developer was using the pro version so 1) More needs to be done in the pro version to protect source and 2) A Pro user wrote this. One would think it would then be possible to figure out who that was, and I assume, since we have both the source and the encrypted code, it should be straightforward to determine what the key was, and then there's the whole thing about them asking for help along the way while they were working on this project. 3) It might be nice if some day my code was ACTUALLY compiled, not just encrypted, and then tossed through the interpreter, especially if we want the tool to be used by more than just script kiddies, because script kiddies will take this and run with it. On Mon, Mar 17, 2014 at 10:32 AM, Richard Gaskin wrote: > Martin Baxter wrote: > > > Our favourite tool used to make bitcoin wallet stealing malware: > > > > Malware_from_the_MtGox_leak_archive> > > Given how many orders of magnitude more malware is written in C, Java, > PHP, Flash, and others, I see this as an inevitable and ultimately healthy > sign that LiveCode is finding its way among the great programming languages. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Mon Mar 17 11:37:03 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 15:37:03 +0000 Subject: [OT] Spam-a-lamb-a-ding-dong In-Reply-To: <532559FF.5080204@gmail.com> References: <1E93D282-DA6E-4B83-B2B7-DE8B460E2E73@sbcglobal.net> <532559FF.5080204@gmail.com> Message-ID: I get the list emails in my spam regularly. Seems my spam filter is flagging words in the body that it thinks are offensive! I would disable that part of the spam filter, but it?s the company?s and I cannot. Bob On Mar 16, 2014, at 24:59 , Richmond > wrote: This message landed in my Spam folder; that, coupled with a sudden rise in real Spam messages to my gmail account makes me feel a bit queasy. No other messages from the Use-List landed in the Spam folder. JIm; on a personal note; we may have had the odd difference of opinion in the past, but I assure you I am not marking your posts as Spam :) Richmond. From bobsneidar at iotecdigital.com Mon Mar 17 11:44:14 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 15:44:14 +0000 Subject: Crowd Funding Enhancements - Found word(s) cum in the Text body In-Reply-To: References: <5311B2D6.30208@economy-x-talk.com><5311D4B2.9030607@gmail.com><531AD9EF.8090605@gmail.com><45844401544.20140308134854@ahsoftware.net><531E71BB.6070304@hyperactivesw.com><532478F1.2000606@gmail.com><53249155.80704@hyperactivesw.com> Message-ID: <1988093A-7F39-4087-84F2-3E5FDD2F798B@iotecdigital.com> I?m not sure what kinds of words or phrases might trigger a spam filter on this list. Words in a phrase like this could not POSSIBLY be causing a problem could they? Bob On Mar 15, 2014, at 12:11 , Richmond > wrote: environment-cum-language From ambassador at fourthworld.com Mon Mar 17 12:02:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Mar 2014 09:02:38 -0700 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <53271C9E.6020605@fourthworld.com> Mike Kerner wrote: > 3) It might be nice if some day my code was ACTUALLY compiled, not just > encrypted, and then tossed through the interpreter, especially if we want > the tool to be used by more than just script kiddies, because script > kiddies will take this and run with it. I would enjoy the performance benefits of static compilation, but as long as the source language is easy to use how it would compilation deter "script kiddies"? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From andrew at ctech.me Mon Mar 17 12:11:14 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 17 Mar 2014 11:11:14 -0500 Subject: Famous at last, though not in the best way In-Reply-To: References: <5326B807.3080904@harbourhosting.co.uk> <5327076B.3090308@fourthworld.com> Message-ID: On Mon, Mar 17, 2014 at 10:34 AM, Mike Kerner wrote: > More needs to be done in the pro version to protect source and I don't know. I have a feeling that this was done using the open source version and it was incorrectly reported as encrypted or mistaken as being encrypted prior to loading it into memory. I could be wrong though. -- Regards, Andrew Kluthe andrew at ctech.me From MikeKerner at roadrunner.com Mon Mar 17 12:10:59 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 12:10:59 -0400 Subject: Famous at last, though not in the best way In-Reply-To: <53271C9E.6020605@fourthworld.com> References: <53271C9E.6020605@fourthworld.com> Message-ID: Decompiling does not result in original source code. As it is, the kiddies can just copy/paste. The dump that Kaspersky included, even had a line that was commented out. Think about it - if you have the Pro version, yeah, your source is encrypted, until it's decrypted when the app is loaded. Then it's just sitting there for someone to take. I avoided doing this with MG when John went AWOL, but there is nothing that would have stopped someone with no scruples from doing it themselves. On Mon, Mar 17, 2014 at 12:02 PM, Richard Gaskin wrote: > Mike Kerner wrote: > >> 3) It might be nice if some day my code was ACTUALLY compiled, not just >> encrypted, and then tossed through the interpreter, especially if we want >> the tool to be used by more than just script kiddies, because script >> kiddies will take this and run with it. >> > > I would enjoy the performance benefits of static compilation, but as long > as the source language is easy to use how it would compilation deter > "script kiddies"? > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 revdev at pdslabs.net Mon Mar 17 12:23:15 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 17 Mar 2014 09:23:15 -0700 Subject: alternative to do for loading variables from array? In-Reply-To: References: Message-ID: <53272173.10903@pdslabs.net> Another approach: If you're worried about the number of compiles, you could build your block of code in the repeat loop and then run it with a single "do" afterward. (or to work around the 10-line limit for do statements, build 10 lines at a time and run them, then build 10 more...) Phil Davis On 3/17/14, 8:33 AM, Bob Sneidar wrote: > Why would you want to? Why not just use the array variables ?as is?? What you are doing seems to me to be something like ?put a into b? and then not modifying a or b. > > In your example, do something like: > > put (theList[theVar] contains ?cat page?) into isTrue > > Bob > > > On Mar 15, 2014, at 13:04 , Dr. Hawkins wrote: > >> Is there a "decent" way to load variables from an array without "do" or a >> long list of commands? >> >> If theList[pageName] is "cat page" and so forth, I can >> >> repeat for each word theVar in "pageName pageHeight pageWidth" >> do "put " & theList[theVar] & " into " & theVar >> end repeat >> >> but this will cause a slew of compiles. >> >> I could also rattle off the list, but this is more maintainable. >> >> Is there a better way to do this? >> -- >> 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 > -- Phil Davis From ambassador at fourthworld.com Mon Mar 17 12:24:14 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Mar 2014 09:24:14 -0700 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <532721AE.5020102@fourthworld.com> Mike Kerner wrote: > Decompiling does not result in original source code. As it is, the > kiddies can just copy/paste. The dump that Kaspersky included, even > had a line that was commented out. So it seems they can only "copy and paste" if an experienced security expert has first provided a RAM dump. While always an issue with every dynamically-compiled language, how easy is it to fully dump RAM? Has anyone here successfully done it? Still, I agree it merits consideration. Given the nature of the language static compilation may not be possible. What other means may be useful? > Think about it - if you have the Pro version, yeah, your source is > encrypted, until it's decrypted when the app is loaded. Then it's > just sitting there for someone to take. I avoided doing this with > MG when John went AWOL, but there is nothing that would have stopped > someone with no scruples from doing it themselves. I think I may have missed some posts: what is "MG" and who is "John"? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From MikeKerner at roadrunner.com Mon Mar 17 12:43:02 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 12:43:02 -0400 Subject: Famous at last, though not in the best way In-Reply-To: <532721AE.5020102@fourthworld.com> References: <532721AE.5020102@fourthworld.com> Message-ID: It doesn't require an experienced security expert. Memory dumps are very easy, and the tools are cheap. MG is MobGUI, and John is, of course, John. See thread from other list - we had static compilation of HC stacks and projects back in the 80's and early 90's with Heizer Software's CompileIt! and Double-XX! (the exclamation points were part of the name). CompileIt! was originally a tool for using HT to write XCMD's and XFCN's, but soon after, Double-XX came out as a way to build fully-compiled standalones from HC stacks. It worked great. I wrote the first HC-based Anti-virus/anti-trojan this way. It stopped the idiotic Dukakis trojan, and several others with only a handful of lines of code. Then I built several database applications for my employer at the time, all fully-compiled, double-clickable applications. It was all just HC stacks with a few restrictions placed on them by Heizer Software, the creators of CompileIt! and Double-XX! On Mon, Mar 17, 2014 at 12:24 PM, Richard Gaskin wrote: > Mike Kerner wrote: > > > Decompiling does not result in original source code. As it is, the > > kiddies can just copy/paste. The dump that Kaspersky included, even > > had a line that was commented out. > > So it seems they can only "copy and paste" if an experienced security > expert has first provided a RAM dump. > > While always an issue with every dynamically-compiled language, how easy > is it to fully dump RAM? Has anyone here successfully done it? > > Still, I agree it merits consideration. > > Given the nature of the language static compilation may not be possible. > What other means may be useful? > > > > > Think about it - if you have the Pro version, yeah, your source is > > encrypted, until it's decrypted when the app is loaded. Then it's > > just sitting there for someone to take. I avoided doing this with > > MG when John went AWOL, but there is nothing that would have stopped > > someone with no scruples from doing it themselves. > > I think I may have missed some posts: what is "MG" and who is "John"? > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Mar 17 12:59:24 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Mar 2014 09:59:24 -0700 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <532729EC.30808@fourthworld.com> Mike Kerner wrote: > See thread from other list - we had static compilation of HC stacks and > projects back in the 80's and early 90's with Heizer Software's CompileIt! > and Double-XX! (the exclamation points were part of the name). Those were clever, but a LOT of work to attempt to use well. Still, compilation could be done, but I'd sooner see it pursued for the performance gain than the perceived security benefit. While it's true that a disassembler wouldn't be able to reconstruct the LiveCode source (yet), modern disassemblers can produce readable C, some even C#, so the seeming security is only a matter of degrees. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jbv at souslelogo.com Mon Mar 17 13:00:59 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 17 Mar 2014 19:00:59 +0200 Subject: Triggering LC scripts when emails are received Message-ID: Hi list, I need to trigger LC scripts (on an on-rev account or with LC server) when an email is received on an email address. The address will be the same but email senders will vary and according to the sender's email, different scripts will be triggered. The idea is to process the content of the email with the scripts... I guess the trick is a server setting. Does anyone know how ? Thanks in advance. jbv From MikeKerner at roadrunner.com Mon Mar 17 13:11:09 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 13:11:09 -0400 Subject: Famous at last, though not in the best way In-Reply-To: <532729EC.30808@fourthworld.com> References: <532729EC.30808@fourthworld.com> Message-ID: Now that we're off in the weeds, yes, there are not just disassemblers, but decompilers as well, and there have been for 40 years. I think I used my first one on an Apple ][. The thing with those tools is that you don't get the variable names, or comments, or the exact control structures, etc., because they don't know what the author was trying to do (and often they aren't sure what language - computer or human) the code was written in, although depending on the platform, often humans can figure that part out. If you run an application through a decompiler/disassembler, you get something that if you recompile it will work, but it is not a road map to what the person was thinking, because optimizing compilers in particular take all sorts of liberties with the original source to get an executable that is smaller and/or runs faster. Even though you get source (and at least in theory can get source in whatever source language you want), that doesn't save you a lot of time. HOWEVER, if the code is just encrypted, it is far, far easier to get to back to what the author is really doing. Stuxnet, for instance, is a binary that isn't particularly large, but the malware experts have been trying for years to decipher all of it, and they have not, yet. On Mon, Mar 17, 2014 at 12:59 PM, Richard Gaskin wrote: > Mike Kerner wrote: > >> See thread from other list - we had static compilation of HC stacks and >> projects back in the 80's and early 90's with Heizer Software's CompileIt! >> and Double-XX! (the exclamation points were part of the name). >> > > Those were clever, but a LOT of work to attempt to use well. Still, > compilation could be done, but I'd sooner see it pursued for the > performance gain than the perceived security benefit. > > While it's true that a disassembler wouldn't be able to reconstruct the > LiveCode source (yet), modern disassemblers can produce readable C, some > even C#, so the seeming security is only a matter of degrees. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Mar 17 13:23:54 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Mar 2014 10:23:54 -0700 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <53272FAA.2090200@fourthworld.com> Mike Kerner wrote: > Stuxnet, for instance, is a binary that isn't particularly large, but the > malware experts have been trying for years to decipher all of it, and they > have not, yet. I've heard worse complaints about some of my LiveCode scripts. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From kevin at runrev.com Mon Mar 17 13:32:00 2014 From: kevin at runrev.com (Kevin Miller) Date: Mon, 17 Mar 2014 17:32:00 +0000 Subject: Famous at last, though not in the best way In-Reply-To: References: <532729EC.30808@fourthworld.com> Message-ID: Hi folks, The offending application was built with version 5.0.0 of LiveCode. That is long before the improved script security features introduced during the 6 series. It is now much harder to get a memory dump of a script from a password-protected stack. It would require catching the memory dump at exactly the right time - which is not the easiest thing to do without the original source code. To put this in perspective, the theoretical ability to dump memory has been present since the early 90s. This is the first recorded time I?ve seen of someone actually doing it. It is much, much harder in the latest version. However there isn?t any way we could make a script 100% secure against this sort of attack without moving to full compilation. Even then, there will always be ways of decompiling some of any application, accessing the variables etc like there is in every other app in any language. Full compilation would be better, but when you consider the number of processor architectures and platforms we support, its non-trivial to say the least. It *is* something we eventually plan to do after every single other thing out there is done but its going to be a very long time. In the mean time, the security is about as good as we can make it in the present version and far better than the version used to do this. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ LiveCode: Everyone can code On 17/03/2014 17:11, "Mike Kerner" wrote: >Now that we're off in the weeds, yes, there are not just disassemblers, >but >decompilers as well, and there have been for 40 years. I think I used my >first one on an Apple ][. > >The thing with those tools is that you don't get the variable names, or >comments, or the exact control structures, etc., because they don't know >what the author was trying to do (and often they aren't sure what language >- computer or human) the code was written in, although depending on the >platform, often humans can figure that part out. If you run an >application >through a decompiler/disassembler, you get something that if you recompile >it will work, but it is not a road map to what the person was thinking, >because optimizing compilers in particular take all sorts of liberties >with >the original source to get an executable that is smaller and/or runs >faster. > >Even though you get source (and at least in theory can get source in >whatever source language you want), that doesn't save you a lot of time. >HOWEVER, if the code is just encrypted, it is far, far easier to get to >back to what the author is really doing. > >Stuxnet, for instance, is a binary that isn't particularly large, but the >malware experts have been trying for years to decipher all of it, and they >have not, yet. > > >On Mon, Mar 17, 2014 at 12:59 PM, Richard Gaskin >> wrote: > >> Mike Kerner wrote: >> >>> See thread from other list - we had static compilation of HC stacks and >>> projects back in the 80's and early 90's with Heizer Software's >>>CompileIt! >>> and Double-XX! (the exclamation points were part of the name). >>> >> >> Those were clever, but a LOT of work to attempt to use well. Still, >> compilation could be done, but I'd sooner see it pursued for the >> performance gain than the perceived security benefit. >> >> While it's true that a disassembler wouldn't be able to reconstruct the >> LiveCode source (yet), modern disassemblers can produce readable C, some >> even C#, so the seeming security is only a matter of degrees. >> >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/FourthWorldSys >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 richmondmathewson at gmail.com Mon Mar 17 13:41:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 19:41:44 +0200 Subject: [OT] My son's fried laptop In-Reply-To: References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> Message-ID: <532733D8.9040408@gmail.com> On 17/03/14 17:26, Bob Sneidar wrote: > I think it really comes down to the quality of the laptop components, as the prior post suggested, and particularly the display. Everything else in the laptop is not that expensive, but the display might be a higher quality. If it is just a stock LCD nothing fancy, then consider another laptop. BTW it is quite odd for a motherboard to ?fry? (barring abuse) in a laptop. Power surges are usually handled fairly well by the external power supplies. Laptop power supplies can afford to drop output power because they run on batteries. I would definitely see if others with this same model are having issues. Might be a lemon. > > Bob > > Luckily I went over to my accountant who dug out the documents from when I purchased the laptop and it turns out to be guaranteed for 2 years; and I bought it 18 months ago. And, even more to the point, the company I bought it from have agreed to honour the guarantee [this being a rare phenomenon in Bulgaria], and have undertaken to repair it and have it up and running within 15 days. It might be a lemon, but my son did have it sitting on a desk for 7 hours, with no cooler pad underneath it, and was working on heavy stuff (Sibelius 7), running Windows 7; so the blasted thing overheated and the motherboard became a great-grandmother rather sooner than planned. If I can have it running Xubuntu, with a cooling pad, that will do. "Daddy" has already had to fork out for a replacement, so, at least, he deserves his son's cast-offs . . . LOL ----------------------- Interestingly enough, "the girlfriend" has a much more expensive laptop, also running Windows 7, which went the same way after a year. Again; silly girl didn't have a cooler pad; she, also, unfortunately got some pretty nasty burns on her legs. Richmond. From richmondmathewson at gmail.com Mon Mar 17 13:51:53 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 19:51:53 +0200 Subject: Crowd Funding Enhancements - Found word(s) cum in the Text body In-Reply-To: <1988093A-7F39-4087-84F2-3E5FDD2F798B@iotecdigital.com> References: <5311D4B2.9030607@gmail.com><531AD9EF.8090605@gmail.com><45844401544.20140308134854@ahsoftware.net><531E71BB.6070304@hyperactivesw.com><532478F1.2000606@gmail.com><53249155.80704@hyperactivesw.com> <1988093A-7F39-4087-84F2-3E5FDD2F798B@iotecdigital.com> Message-ID: <53273639.8000905@gmail.com> On 17/03/14 17:44, Bob Sneidar wrote: > I?m not sure what kinds of words or phrases might trigger a spam filter on this list. Words in a phrase like this could not POSSIBLY be causing a problem could they? > > Bob > > > On Mar 15, 2014, at 12:11 , Richmond > wrote: > > environment-cum-language > > _______________________________________________ > Some of us know that that word between 'environment' and 'language' is Latin for 'with' and is fairly standard in phrases such as "livingroom-cum-kitchen"; I suppose I must be old-fashioned and/or out-of-touch if it has COME to mean something else. http://www.houzz.com/kitchen-cum-living-room By the way, while I am typing this letter my small, black pussy is sitting on my lap and purring. From time to time I am pausing in my typing to stroke my pussy; she loves it. http://www.odechair.com/ode/ode/blog_files/Call_off_the_Wolves_Jack.html Richmond. From MikeKerner at roadrunner.com Mon Mar 17 14:42:15 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 14:42:15 -0400 Subject: Famous at last, though not in the best way In-Reply-To: References: <532729EC.30808@fourthworld.com> Message-ID: Thanks for weighing in, boss! It's still cool in a very perverse way that somebody is using LC to hack. Besides me, anyway. Now if I can get Glass to work with LC... -- 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 bobsneidar at iotecdigital.com Mon Mar 17 16:17:22 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 20:17:22 +0000 Subject: [OT] My son's fried laptop In-Reply-To: <532733D8.9040408@gmail.com> References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> <532733D8.9040408@gmail.com> Message-ID: <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> The palmtop should have a heat sensor that prevents the very thing you are experiencing. If an Intel processor overheats it will shut the computer off. Are you running Linux on these? It may be that Linux prevents the automatic shutdown of the OS. Bob On Mar 17, 2014, at 10:41 , Richmond wrote: > On 17/03/14 17:26, Bob Sneidar wrote: >> I think it really comes down to the quality of the laptop components, as the prior post suggested, and particularly the display. Everything else in the laptop is not that expensive, but the display might be a higher quality. If it is just a stock LCD nothing fancy, then consider another laptop. BTW it is quite odd for a motherboard to ?fry? (barring abuse) in a laptop. Power surges are usually handled fairly well by the external power supplies. Laptop power supplies can afford to drop output power because they run on batteries. I would definitely see if others with this same model are having issues. Might be a lemon. >> >> Bob >> >> > > Luckily I went over to my accountant who dug out the documents from when I purchased the laptop and it > turns out to be guaranteed for 2 years; and I bought it 18 months ago. > > And, even more to the point, the company I bought it from have agreed to honour the guarantee > [this being a rare phenomenon in Bulgaria], and have undertaken to repair it and have it up and running within 15 days. > > It might be a lemon, but my son did have it sitting on a desk for 7 hours, with no cooler pad underneath it, > and was working on heavy stuff (Sibelius 7), running Windows 7; so the blasted thing overheated and the motherboard became > a great-grandmother rather sooner than planned. > > If I can have it running Xubuntu, with a cooling pad, that will do. > > "Daddy" has already had to fork out for a replacement, so, at least, he deserves his son's cast-offs . . . LOL > > ----------------------- > > Interestingly enough, "the girlfriend" has a much more expensive laptop, also running Windows 7, which went > the same way after a year. Again; silly girl didn't have a cooler pad; she, also, unfortunately got some pretty nasty > burns on her legs. > > 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 Mon Mar 17 16:24:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 22:24:58 +0200 Subject: [OT] My son's fried laptop In-Reply-To: <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> <532733D8.9040408@gmail.com> <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> Message-ID: <53275A1A.80508@gmail.com> On 17/03/14 22:17, Bob Sneidar wrote: > The palmtop should have a heat sensor that prevents the very thing you are experiencing. If an Intel processor overheats it will shut the computer off. Are you running Linux on these? It may be that Linux prevents the automatic shutdown of the OS. This is a Samsung NP300E5X-S01 and it was running Windows 7 ultimate. Richmond. > Bob > > > On Mar 17, 2014, at 10:41 , Richmond wrote: > >> On 17/03/14 17:26, Bob Sneidar wrote: >>> I think it really comes down to the quality of the laptop components, as the prior post suggested, and particularly the display. Everything else in the laptop is not that expensive, but the display might be a higher quality. If it is just a stock LCD nothing fancy, then consider another laptop. BTW it is quite odd for a motherboard to ?fry? (barring abuse) in a laptop. Power surges are usually handled fairly well by the external power supplies. Laptop power supplies can afford to drop output power because they run on batteries. I would definitely see if others with this same model are having issues. Might be a lemon. >>> >>> Bob >>> >>> >> Luckily I went over to my accountant who dug out the documents from when I purchased the laptop and it >> turns out to be guaranteed for 2 years; and I bought it 18 months ago. >> >> And, even more to the point, the company I bought it from have agreed to honour the guarantee >> [this being a rare phenomenon in Bulgaria], and have undertaken to repair it and have it up and running within 15 days. >> >> It might be a lemon, but my son did have it sitting on a desk for 7 hours, with no cooler pad underneath it, >> and was working on heavy stuff (Sibelius 7), running Windows 7; so the blasted thing overheated and the motherboard became >> a great-grandmother rather sooner than planned. >> >> If I can have it running Xubuntu, with a cooling pad, that will do. >> >> "Daddy" has already had to fork out for a replacement, so, at least, he deserves his son's cast-offs . . . LOL >> >> ----------------------- >> >> Interestingly enough, "the girlfriend" has a much more expensive laptop, also running Windows 7, which went >> the same way after a year. Again; silly girl didn't have a cooler pad; she, also, unfortunately got some pretty nasty >> burns on her legs. >> >> Richmond. >> >> From bobsneidar at iotecdigital.com Mon Mar 17 16:34:42 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 20:34:42 +0000 Subject: [OT] My son's fried laptop In-Reply-To: <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> <532733D8.9040408@gmail.com> <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> Message-ID: I did NOT type palmtop! Stupid spell correct! On Mar 17, 2014, at 13:17 , Bob Sneidar > wrote: The palmtop should have a heat sensor From richmondmathewson at gmail.com Mon Mar 17 16:36:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 22:36:39 +0200 Subject: [OT] My son's fried laptop In-Reply-To: References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> <532733D8.9040408@gmail.com> <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> Message-ID: <53275CD7.7000603@gmail.com> On 17/03/14 22:34, Bob Sneidar wrote: > I did NOT type palmtop! Stupid spell correct! Isn't it lovely to have machines and software to blame . . . LOL > > On Mar 17, 2014, at 13:17 , Bob Sneidar > wrote: > > The palmtop should have a heat sensor > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Mar 17 16:39:25 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Mar 2014 20:39:25 +0000 Subject: [OT] My son's fried laptop In-Reply-To: <53275A1A.80508@gmail.com> References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> <532733D8.9040408@gmail.com> <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> <53275A1A.80508@gmail.com> Message-ID: <7E400CA2-968D-4BD2-B14F-DE9E520399AA@iotecdigital.com> I don?t get any google hits on Samsung NP300E5X-S01 motherboard failures. I am curious, do you have a compatible power supply unhand? Might want to try another one of those. I am also nervous about two laptops exactly alike having failed motherboards. As they say in the military, once is a coincidence. Twice is enemy action! I?m thinking bad power and supplies that do not detect power events. Bob On Mar 17, 2014, at 13:24 , Richmond wrote: > On 17/03/14 22:17, Bob Sneidar wrote: >> The palmtop should have a heat sensor that prevents the very thing you are experiencing. If an Intel processor overheats it will shut the computer off. Are you running Linux on these? It may be that Linux prevents the automatic shutdown of the OS. > > This is a Samsung NP300E5X-S01 > > and it was running Windows 7 ultimate. > > Richmond. > >> Bob >> >> >> On Mar 17, 2014, at 10:41 , Richmond wrote: >> >>> On 17/03/14 17:26, Bob Sneidar wrote: >>>> I think it really comes down to the quality of the laptop components, as the prior post suggested, and particularly the display. Everything else in the laptop is not that expensive, but the display might be a higher quality. If it is just a stock LCD nothing fancy, then consider another laptop. BTW it is quite odd for a motherboard to ?fry? (barring abuse) in a laptop. Power surges are usually handled fairly well by the external power supplies. Laptop power supplies can afford to drop output power because they run on batteries. I would definitely see if others with this same model are having issues. Might be a lemon. >>>> >>>> Bob >>>> >>>> >>> Luckily I went over to my accountant who dug out the documents from when I purchased the laptop and it >>> turns out to be guaranteed for 2 years; and I bought it 18 months ago. >>> >>> And, even more to the point, the company I bought it from have agreed to honour the guarantee >>> [this being a rare phenomenon in Bulgaria], and have undertaken to repair it and have it up and running within 15 days. >>> >>> It might be a lemon, but my son did have it sitting on a desk for 7 hours, with no cooler pad underneath it, >>> and was working on heavy stuff (Sibelius 7), running Windows 7; so the blasted thing overheated and the motherboard became >>> a great-grandmother rather sooner than planned. >>> >>> If I can have it running Xubuntu, with a cooling pad, that will do. >>> >>> "Daddy" has already had to fork out for a replacement, so, at least, he deserves his son's cast-offs . . . LOL >>> >>> ----------------------- >>> >>> Interestingly enough, "the girlfriend" has a much more expensive laptop, also running Windows 7, which went >>> the same way after a year. Again; silly girl didn't have a cooler pad; she, also, unfortunately got some pretty nasty >>> burns on her legs. >>> >>> 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 alex at tweedly.net Mon Mar 17 16:53:21 2014 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 17 Mar 2014 20:53:21 +0000 Subject: Triggering LC scripts when emails are received In-Reply-To: References: Message-ID: <532760C1.2030907@tweedly.net> In cPanel, within the "Email" section, add an email forwarder. Fill in the adddress you want to intercept, then click on "Advanced options" Select "Pipe to a program", and fill in the program script name for your program NB I haven't actually done this yet !! I've been meaning to try it out for a while, just not needed it yet, and so I haven't got round to trying it out - but it *should* work. I'll try it soon ... let me know if it works for you. -- Alex. On 17/03/2014 17:00, jbv at souslelogo.com wrote: > Hi list, > > I need to trigger LC scripts (on an on-rev account or with LC server) > when an email is received on an email address. The address will be > the same but email senders will vary and according to the sender's > email, different scripts will be triggered. The idea is to process the > content of the email with the scripts... > I guess the trick is a server setting. Does anyone know how ? > > 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 richmondmathewson at gmail.com Mon Mar 17 16:58:46 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Mar 2014 22:58:46 +0200 Subject: [OT] My son's fried laptop In-Reply-To: <7E400CA2-968D-4BD2-B14F-DE9E520399AA@iotecdigital.com> References: <5324B5B9.6080907@gmail.com> <85099998-215D-4530-848A-5FDBBB78F93D@earthednet.org> <532733D8.9040408@gmail.com> <1FDA0CED-264F-4B4F-A57A-8A2844B44CE7@iotecdigital.com> <53275A1A.80508@gmail.com> <7E400CA2-968D-4BD2-B14F-DE9E520399AA@iotecdigital.com> Message-ID: <53276206.8040906@gmail.com> On 17/03/14 22:39, Bob Sneidar wrote: > I don?t get any google hits on Samsung NP300E5X-S01 motherboard failures. I am curious, do you have a compatible power supply unhand? Might want to try another one of those. I am also nervous about two laptops exactly alike having failed motherboards. As they say in the military, once is a coincidence. Twice is enemy action! I?m thinking bad power and supplies that do not detect power events. I think it was simply a case of bad luck. I am not quite sure where you got the idea of two laptops exactly alike. My son's girlfriend's laptop is a quite different make and model. My son's laptop fried its motherboard on its original power supply. As the marketing company is going to repair the thing it is really only of academic interest. What is far more interesting to me is why 2 quite different laptops seem to have overheating problems with Windows 7. I do not like Windows that much, and did suggest to my son he might prefer Linux. He did say that he would prefer Linux [having had a desktop PC running GNU Musix while he was here in Bulgaria], and the only reason he HAD to run Windows 7 was that he was required to use Sibelius at the University [who had a cheapo bulk license for registered students] which has Mac and Windows versions, and the latter will not run under WINE. Open Source drop-in replacements for Sibelius are not anywhere near as good. Funnily enough Sibelius was first developed as a killer app for the Archimedes computer; and the fact that Sibelius subsequently put out a Windows version may have significantly contributed to RISC OS's death knell as a desktop system. Richmond. > > Bob > > > On Mar 17, 2014, at 13:24 , Richmond wrote: > >> On 17/03/14 22:17, Bob Sneidar wrote: >>> The palmtop should have a heat sensor that prevents the very thing you are experiencing. If an Intel processor overheats it will shut the computer off. Are you running Linux on these? It may be that Linux prevents the automatic shutdown of the OS. >> This is a Samsung NP300E5X-S01 >> >> and it was running Windows 7 ultimate. >> >> Richmond. >> >>> Bob >>> >>> >>> On Mar 17, 2014, at 10:41 , Richmond wrote: >>> >>>> On 17/03/14 17:26, Bob Sneidar wrote: >>>>> I think it really comes down to the quality of the laptop components, as the prior post suggested, and particularly the display. Everything else in the laptop is not that expensive, but the display might be a higher quality. If it is just a stock LCD nothing fancy, then consider another laptop. BTW it is quite odd for a motherboard to ?fry? (barring abuse) in a laptop. Power surges are usually handled fairly well by the external power supplies. Laptop power supplies can afford to drop output power because they run on batteries. I would definitely see if others with this same model are having issues. Might be a lemon. >>>>> >>>>> Bob >>>>> >>>>> >>>> Luckily I went over to my accountant who dug out the documents from when I purchased the laptop and it >>>> turns out to be guaranteed for 2 years; and I bought it 18 months ago. >>>> >>>> And, even more to the point, the company I bought it from have agreed to honour the guarantee >>>> [this being a rare phenomenon in Bulgaria], and have undertaken to repair it and have it up and running within 15 days. >>>> >>>> It might be a lemon, but my son did have it sitting on a desk for 7 hours, with no cooler pad underneath it, >>>> and was working on heavy stuff (Sibelius 7), running Windows 7; so the blasted thing overheated and the motherboard became >>>> a great-grandmother rather sooner than planned. >>>> >>>> If I can have it running Xubuntu, with a cooling pad, that will do. >>>> >>>> "Daddy" has already had to fork out for a replacement, so, at least, he deserves his son's cast-offs . . . LOL >>>> >>>> ----------------------- >>>> >>>> Interestingly enough, "the girlfriend" has a much more expensive laptop, also running Windows 7, which went >>>> the same way after a year. Again; silly girl didn't have a cooler pad; she, also, unfortunately got some pretty nasty >>>> burns on her legs. >>>> >>>> Richmond. >>>> >>>> From matthias_livecode_150811 at m-r-d.de Mon Mar 17 17:50:44 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 17 Mar 2014 22:50:44 +0100 Subject: Triggering LC scripts when emails are received In-Reply-To: <532760C1.2030907@tweedly.net> References: <532760C1.2030907@tweedly.net> Message-ID: Hi jbv, Alex is right. It is working this way and believe it or not, i was also working on this today. I must admit, that i use my own instances of livecode server on On-rev. It is installed under public_html/cgi-bin/livecode-server502 So for my configuration i selected ?Pipe to program? and entered public_html/cgi-bin/livecode-server502/livecode-server /home/MyAccountname/public_html/MyLivecodeScript.lc It does not work, if i just enter the path to the script. I have to enter the path to the livecode-server engine and the complete path to the livecode script. I do not know the paths to the preinstalled livecode-server engines on On-rev, but maybe someone from the list could help. If not, i am sure On-Rev support team knows the answer for that. Please be aware, that the script must not output anything. If it outputs something, even just a space or blank line, then although the script is executed the incoming mail is bounced. So please check your script for any blank lines or even spaces before the tag . It took me some hours to find out that just a small space after the ?> tag caused the incoming mails bouncing. Hope i could help. Regards, Matthias Am 17.03.2014 um 21:53 schrieb Alex Tweedly : > In cPanel, within the "Email" section, add an email forwarder. > Fill in the adddress you want to intercept, then click on "Advanced options" > Select "Pipe to a program", and fill in the program script name for your program > > NB I haven't actually done this yet !! > > I've been meaning to try it out for a while, just not needed it yet, and so I haven't got round to trying it out - but it *should* work. > > I'll try it soon ... let me know if it works for you. > -- Alex. > > > On 17/03/2014 17:00, jbv at souslelogo.com wrote: >> Hi list, >> >> I need to trigger LC scripts (on an on-rev account or with LC server) >> when an email is received on an email address. The address will be >> the same but email senders will vary and according to the sender's >> email, different scripts will be triggered. The idea is to process the >> content of the email with the scripts... >> I guess the trick is a server setting. Does anyone know how ? >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 m.schonewille at economy-x-talk.com Mon Mar 17 18:17:52 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Mar 2014 23:17:52 +0100 Subject: [ANN] User Group Meeting in the Netherlands In-Reply-To: <532096DD.5050307@economy-x-talk.com> References: <532096DD.5050307@economy-x-talk.com> Message-ID: <53277490.9080508@economy-x-talk.com> Hallo allemaal, Morgen is de laatste mogelijkheid om je aan te melden. Als je van plan bent om de bijeenkomst bij te wonen, laat me dat dan a.u.b. uiterlijk morgen even weten. Tomorrow is the last possibility to register for the meeting. If you want to participate, please let me know tomorrow. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/12/2014 18:18, Mark Schonewille wrote: > Hallo, > > Op 22 Maart 2014 organiseert eHUG weer een LiveCode-bijeenkomst. De > bijeenkomst begint om 11:00h en zal rond 15:00h afgelopen zijn. De > locatie is Utrecht. De exacte plek moet nog bepaald worden en zal zo > gauw mogelijk bekend worden gemaakt. > > Als hierin ge?nteresseerd bent, laat het dan alsjeblieft even weten in > een persoonlijke e-mail aan mij. > From bogdanoff at me.com Mon Mar 17 22:35:50 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Mar 2014 19:35:50 -0700 Subject: Set the hilite in a tab panel Message-ID: <898E163A-03A3-40B0-ACA1-835278360291@me.com> Hi, How do I programmatically set the selection/hilite of a choice in a tab panel, other than clicking? Peter Bogdanoff UCLA From MikeKerner at roadrunner.com Mon Mar 17 22:59:56 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 22:59:56 -0400 Subject: Famous at last, though not in the best way In-Reply-To: References: <532729EC.30808@fourthworld.com> Message-ID: By the way, it appears the hackers were trying to uncover fraud at Mt. Gox, so they're actually being considered heroes, which is a little weird... And.....it hit slashdot: http://it.slashdot.org/story/14/03/17/2220236/kaspersky-mt-gox-data-archive-contains-bitcoin-stealing-malware?utm_source=slashdot&utm_medium=twitter and itworld.com: http://www.itworld.com/security/410097/bitcoin-stealing-malware-hidden-mt-gox-data-dump-researcher-says coindesk: http://www.coindesk.com/mt-gox-hackers-claim-release-transaction-details-ceos-personal-data/ Forbes: http://www.forbes.com/sites/andygreenberg/2014/03/09/hackers-hit-mt-gox-exchanges-ceo-claim-to-publish-evidence-of-fraud/ Here's the reddit discussion of the guys hacking the source and working on it, some with debuggers, some by other means: http://www.reddit.com/r/Bitcoin/comments/200k30/the_tibannebackofficeexe_executable_is_wallet/ More from Reddit: http://www.reddit.com/r/Bitcoin/comments/1zz21j/mtgox_2014_hack_database_revealed_live_from_mark/cfya3ni Wow. 620 mb. Dang. On Mon, Mar 17, 2014 at 2:42 PM, Mike Kerner wrote: > Thanks for weighing in, boss! > > It's still cool in a very perverse way that somebody is using LC to hack. > Besides me, anyway. Now if I can get Glass to work with LC... > > > > -- > 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 Mon Mar 17 23:04:50 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Mar 2014 23:04:50 -0400 Subject: Famous at last, though not in the best way In-Reply-To: References: <532729EC.30808@fourthworld.com> Message-ID: And by the way, this is EXACTLY why when I download some random stack that someone here has thrown in that allegedly does something very cool, I only open it in an isolated VM until I can have a better look at it, first. On Mon, Mar 17, 2014 at 10:59 PM, Mike Kerner wrote: > By the way, it appears the hackers were trying to uncover fraud at Mt. > Gox, so they're actually being considered heroes, which is a little weird... > > > And.....it hit slashdot: > > http://it.slashdot.org/story/14/03/17/2220236/kaspersky-mt-gox-data-archive-contains-bitcoin-stealing-malware?utm_source=slashdot&utm_medium=twitter > > and itworld.com: > > http://www.itworld.com/security/410097/bitcoin-stealing-malware-hidden-mt-gox-data-dump-researcher-says > > coindesk: > > http://www.coindesk.com/mt-gox-hackers-claim-release-transaction-details-ceos-personal-data/ > > Forbes: > > http://www.forbes.com/sites/andygreenberg/2014/03/09/hackers-hit-mt-gox-exchanges-ceo-claim-to-publish-evidence-of-fraud/ > > > Here's the reddit discussion of the guys hacking the source and working on > it, some with debuggers, some by other means: > > http://www.reddit.com/r/Bitcoin/comments/200k30/the_tibannebackofficeexe_executable_is_wallet/ > > More from Reddit: > > http://www.reddit.com/r/Bitcoin/comments/1zz21j/mtgox_2014_hack_database_revealed_live_from_mark/cfya3ni > > Wow. 620 mb. Dang. > > > On Mon, Mar 17, 2014 at 2:42 PM, Mike Kerner wrote: > >> Thanks for weighing in, boss! >> >> It's still cool in a very perverse way that somebody is using LC to >> hack. Besides me, anyway. Now if I can get Glass to work with LC... >> >> >> >> -- >> 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 coiin at verizon.net Mon Mar 17 23:32:11 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 17 Mar 2014 23:32:11 -0400 Subject: Set the hilite in a tab panel In-Reply-To: <898E163A-03A3-40B0-ACA1-835278360291@me.com> References: <898E163A-03A3-40B0-ACA1-835278360291@me.com> Message-ID: <70474B8E-C476-4FED-9B04-ADAE96AB962E@verizon.net> select line 2 of btn 3 would highlight the second tab of the third button (which would be a tabbed panel) On Mar 17, 2014, at 10:35 PM, Peter Bogdanoff wrote: > >How do I programmatically set the selection/hilite of a choice in a tab panel, other than clicking? From bogdanoff at me.com Mon Mar 17 23:36:03 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Mar 2014 20:36:03 -0700 Subject: Set the hilite in a tab panel In-Reply-To: <70474B8E-C476-4FED-9B04-ADAE96AB962E@verizon.net> References: <898E163A-03A3-40B0-ACA1-835278360291@me.com> <70474B8E-C476-4FED-9B04-ADAE96AB962E@verizon.net> Message-ID: Yes! Thanks Colin. Peter On Mar 17, 2014, at 8:32 PM, Colin Holgate wrote: > select line 2 of btn 3 From revdev at pdslabs.net Mon Mar 17 23:40:04 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 17 Mar 2014 20:40:04 -0700 Subject: Set the hilite in a tab panel In-Reply-To: <70474B8E-C476-4FED-9B04-ADAE96AB962E@verizon.net> References: <898E163A-03A3-40B0-ACA1-835278360291@me.com> <70474B8E-C476-4FED-9B04-ADAE96AB962E@verizon.net> Message-ID: <5327C014.2050704@pdslabs.net> Another way: set the menuHistory of btn "tab menu" to 3 Setting this property causes the "menuPick" message to fire IF there was a change in which tab is selected. Phil On 3/17/14, 8:32 PM, Colin Holgate wrote: > select line 2 of btn 3 > > would highlight the second tab of the third button (which would be a tabbed panel) > > > On Mar 17, 2014, at 10:35 PM, Peter Bogdanoff wrote: > >>> How do I programmatically set the selection/hilite of a choice in a tab panel, other than clicking? > _______________________________________________ > use-livecode mailing list > use-livecode 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 lan.kc.macmail at gmail.com Tue Mar 18 00:14:47 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 18 Mar 2014 12:14:47 +0800 Subject: alternative to do for loading variables from array? In-Reply-To: <53272173.10903@pdslabs.net> References: <53272173.10903@pdslabs.net> Message-ID: On Tue, Mar 18, 2014 at 12:23 AM, Phil Davis wrote: > (or to work around the 10-line limit for do statements, build 10 lines at > a time and run them, then build 10 more...) > There are NO script limits anymore in either Community or Commercial LC. From revdev at pdslabs.net Tue Mar 18 00:20:01 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 17 Mar 2014 21:20:01 -0700 Subject: alternative to do for loading variables from array? In-Reply-To: References: <53272173.10903@pdslabs.net> Message-ID: <5327C971.1010109@pdslabs.net> Yaaay! (I was allowing for older versions in use) Phil On 3/17/14, 9:14 PM, Kay C Lan wrote: > On Tue, Mar 18, 2014 at 12:23 AM, Phil Davis wrote: > >> (or to work around the 10-line limit for do statements, build 10 lines at >> a time and run them, then build 10 more...) >> > There are NO script limits anymore in either Community or Commercial LC. > _______________________________________________ > use-livecode mailing list > use-livecode 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 peterwawood at gmail.com Tue Mar 18 01:05:45 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 18 Mar 2014 13:05:45 +0800 Subject: Triggering LC scripts when emails are received In-Reply-To: References: <532760C1.2030907@tweedly.net> Message-ID: <0BB75265-975C-489D-9866-CDC1304E7F28@gmail.com> Hi Mattias I believe that it is safer to install executables outside the public_html directory as it gives the possibility for somebody who knows how to run their scripts on your server. I don't know how to do that but I have a /bin directory at the same level as public_html for executables which can be made more secure. Regards Peter On 18 Mar 2014, at 05:50, Matthias Rebbe | M-R-D wrote: > Hi jbv, > > Alex is right. It is working this way and believe it or not, i was also working on this today. > > I must admit, that i use my own instances of livecode server on On-rev. > It is installed under public_html/cgi-bin/livecode-server502 > > So for my configuration i selected ?Pipe to program? and entered > > public_html/cgi-bin/livecode-server502/livecode-server /home/MyAccountname/public_html/MyLivecodeScript.lc > > It does not work, if i just enter the path to the script. I have to enter the path to the livecode-server engine and the complete path to the livecode script. > I do not know the paths to the preinstalled livecode-server engines on On-rev, but maybe someone from the list could help. If not, i am sure On-Rev support team knows > the answer for that. > > Please be aware, that the script must not output anything. If it outputs something, even just a space or blank line, then although the script is executed the incoming mail is bounced. > So please check your script for any blank lines or even spaces before the tag . It took me some hours to find out that just a small > space after the ?> tag caused the incoming mails bouncing. > > Hope i could help. > > > Regards, > > Matthias > > > > > > > > Am 17.03.2014 um 21:53 schrieb Alex Tweedly : > >> In cPanel, within the "Email" section, add an email forwarder. >> Fill in the adddress you want to intercept, then click on "Advanced options" >> Select "Pipe to a program", and fill in the program script name for your program >> >> NB I haven't actually done this yet !! >> >> I've been meaning to try it out for a while, just not needed it yet, and so I haven't got round to trying it out - but it *should* work. >> >> I'll try it soon ... let me know if it works for you. >> -- Alex. >> >> >> On 17/03/2014 17:00, jbv at souslelogo.com wrote: >>> Hi list, >>> >>> I need to trigger LC scripts (on an on-rev account or with LC server) >>> when an email is received on an email address. The address will be >>> the same but email senders will vary and according to the sender's >>> email, different scripts will be triggered. The idea is to process the >>> content of the email with the scripts... >>> I guess the trick is a server setting. Does anyone know how ? >>> >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue Mar 18 03:21:25 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 18 Mar 2014 08:21:25 +0100 Subject: Triggering LC scripts when emails are received In-Reply-To: <0BB75265-975C-489D-9866-CDC1304E7F28@gmail.com> References: <532760C1.2030907@tweedly.net> <0BB75265-975C-489D-9866-CDC1304E7F28@gmail.com> Message-ID: <1C7EDFF1-C7A8-4F1D-9DDE-5AC59B295429@m-r-d.de> Hi Peter, do you mean the livecode-server engine with ?executable"? I have installed it exactly how Runrev recommends it. But you are right. Sensitiv data or executables should be outside public_html. I am already using a special folder above public_html which contains sensitiv data like db usernames and passwords. So in any case Livecode-Server engine is not running and therefore showing the complete script , no one can see this data except the standard script which contains the line with the include. But i will try this also with the engine. Thanks for the hint. Regards, Matthias Am 18.03.2014 um 06:05 schrieb Peter W A Wood : > Hi Mattias > > I believe that it is safer to install executables outside the public_html directory as it gives the possibility for somebody who knows how to run their scripts on your server. I don't know how to do that but I have a /bin directory at the same level as public_html for executables which can be made more secure. > > Regards > > Peter > > > On 18 Mar 2014, at 05:50, Matthias Rebbe | M-R-D wrote: > >> Hi jbv, >> >> Alex is right. It is working this way and believe it or not, i was also working on this today. >> >> I must admit, that i use my own instances of livecode server on On-rev. >> It is installed under public_html/cgi-bin/livecode-server502 >> >> So for my configuration i selected ?Pipe to program? and entered >> >> public_html/cgi-bin/livecode-server502/livecode-server /home/MyAccountname/public_html/MyLivecodeScript.lc >> >> It does not work, if i just enter the path to the script. I have to enter the path to the livecode-server engine and the complete path to the livecode script. >> I do not know the paths to the preinstalled livecode-server engines on On-rev, but maybe someone from the list could help. If not, i am sure On-Rev support team knows >> the answer for that. >> >> Please be aware, that the script must not output anything. If it outputs something, even just a space or blank line, then although the script is executed the incoming mail is bounced. >> So please check your script for any blank lines or even spaces before the tag . It took me some hours to find out that just a small >> space after the ?> tag caused the incoming mails bouncing. >> >> Hope i could help. >> >> >> Regards, >> >> Matthias >> >> >> >> >> >> >> >> Am 17.03.2014 um 21:53 schrieb Alex Tweedly : >> >>> In cPanel, within the "Email" section, add an email forwarder. >>> Fill in the adddress you want to intercept, then click on "Advanced options" >>> Select "Pipe to a program", and fill in the program script name for your program >>> >>> NB I haven't actually done this yet !! >>> >>> I've been meaning to try it out for a while, just not needed it yet, and so I haven't got round to trying it out - but it *should* work. >>> >>> I'll try it soon ... let me know if it works for you. >>> -- Alex. >>> >>> >>> On 17/03/2014 17:00, jbv at souslelogo.com wrote: >>>> Hi list, >>>> >>>> I need to trigger LC scripts (on an on-rev account or with LC server) >>>> when an email is received on an email address. The address will be >>>> the same but email senders will vary and according to the sender's >>>> email, different scripts will be triggered. The idea is to process the >>>> content of the email with the scripts... >>>> I guess the trick is a server setting. Does anyone know how ? >>>> >>>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Tue Mar 18 05:04:14 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 18 Mar 2014 11:04:14 +0200 Subject: Triggering LC scripts when emails are received In-Reply-To: References: <532760C1.2030907@tweedly.net> Message-ID: <011e4ce366b187f30a25bae10ae6acf8.squirrel@185.8.104.234> Alex & Matthias, Thank you so much for your help. I have made a quick test with a php script, and when I entered the path of the php script, the mail forwarder detected a problem with the script (it needed to be made executable) and added the following line at the top of the script : #!/usr/local/bin/php -q Then everything worked fine : emails were forwarded and the php script ran fine. Then I made a test with an .irev script; the email forwarder also detected an error in the script, but was unable to fix it, so the test failed : the email bounced and was considered as spam. I guess I need to follow Matthias advice and ask on-rev the path to the LC engine on our server. I have one more question though : which server global do you use when you want to trap the content of the forwarded email (content, sender"s name & email, attached docs if any...) ? I'll keep you posted on my further tests. Best, jbv > Hi jbv, > > Alex is right. It is working this way and believe it or not, i was also > working on this today. > > I must admit, that i use my own instances of livecode server on On-rev. > It is installed under public_html/cgi-bin/livecode-server502 > > So for my configuration i selected ?Pipe to program? and entered > > public_html/cgi-bin/livecode-server502/livecode-server > /home/MyAccountname/public_html/MyLivecodeScript.lc > > It does not work, if i just enter the path to the script. I have to enter > the path to the livecode-server engine and the complete path to the > livecode script. > I do not know the paths to the preinstalled livecode-server engines on > On-rev, but maybe someone from the list could help. If not, i am sure > On-Rev support team knows > the answer for that. > > Please be aware, that the script must not output anything. If it outputs > something, even just a space or blank line, then although the script is > executed the incoming mail is bounced. > So please check your script for any blank lines or even spaces before the > tag . It took me some hours to find out that > just a small > space after the ?> tag caused the incoming mails bouncing. > > Hope i could help. > > > Regards, > > Matthias > > > > > > > > Am 17.03.2014 um 21:53 schrieb Alex Tweedly : > >> In cPanel, within the "Email" section, add an email forwarder. >> Fill in the adddress you want to intercept, then click on "Advanced >> options" >> Select "Pipe to a program", and fill in the program script name for >> your program >> >> NB I haven't actually done this yet !! >> >> I've been meaning to try it out for a while, just not needed it yet, and >> so I haven't got round to trying it out - but it *should* work. >> >> I'll try it soon ... let me know if it works for you. >> -- Alex. >> >> >> On 17/03/2014 17:00, jbv at souslelogo.com wrote: >>> Hi list, >>> >>> I need to trigger LC scripts (on an on-rev account or with LC server) >>> when an email is received on an email address. The address will be >>> the same but email senders will vary and according to the sender's >>> email, different scripts will be triggered. The idea is to process the >>> content of the email with the scripts... >>> I guess the trick is a server setting. Does anyone know how ? >>> >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue Mar 18 06:19:24 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 18 Mar 2014 11:19:24 +0100 Subject: Triggering LC scripts when emails are received In-Reply-To: <011e4ce366b187f30a25bae10ae6acf8.squirrel@185.8.104.234> References: <532760C1.2030907@tweedly.net> <011e4ce366b187f30a25bae10ae6acf8.squirrel@185.8.104.234> Message-ID: <3D6F6F62-C9B2-431F-B003-5E76191D164C@m-r-d.de> Hi jbv, the first command i use after the Alex & Matthias, > > Thank you so much for your help. > I have made a quick test with a php script, and when I entered the > path of the php script, the mail forwarder detected a problem with > the script (it needed to be made executable) and added the following > line at the top of the script : > #!/usr/local/bin/php -q > Then everything worked fine : emails were forwarded and the php > script ran fine. > > Then I made a test with an .irev script; the email forwarder also > detected an error in the script, but was unable to fix it, so the > test failed : the email bounced and was considered as spam. > I guess I need to follow Matthias advice and ask on-rev the path > to the LC engine on our server. > > I have one more question though : which server global do you use > when you want to trap the content of the forwarded email (content, > sender"s name & email, attached docs if any...) ? > > I'll keep you posted on my further tests. > > Best, > jbv > > >> Hi jbv, >> >> Alex is right. It is working this way and believe it or not, i was also >> working on this today. >> >> I must admit, that i use my own instances of livecode server on On-rev. >> It is installed under public_html/cgi-bin/livecode-server502 >> >> So for my configuration i selected ?Pipe to program? and entered >> >> public_html/cgi-bin/livecode-server502/livecode-server >> /home/MyAccountname/public_html/MyLivecodeScript.lc >> >> It does not work, if i just enter the path to the script. I have to enter >> the path to the livecode-server engine and the complete path to the >> livecode script. >> I do not know the paths to the preinstalled livecode-server engines on >> On-rev, but maybe someone from the list could help. If not, i am sure >> On-Rev support team knows >> the answer for that. >> >> Please be aware, that the script must not output anything. If it outputs >> something, even just a space or blank line, then although the script is >> executed the incoming mail is bounced. >> So please check your script for any blank lines or even spaces before the >> tag . It took me some hours to find out that >> just a small >> space after the ?> tag caused the incoming mails bouncing. >> >> Hope i could help. >> >> >> Regards, >> >> Matthias >> >> >> >> >> >> >> >> Am 17.03.2014 um 21:53 schrieb Alex Tweedly : >> >>> In cPanel, within the "Email" section, add an email forwarder. >>> Fill in the adddress you want to intercept, then click on "Advanced >>> options" >>> Select "Pipe to a program", and fill in the program script name for >>> your program >>> >>> NB I haven't actually done this yet !! >>> >>> I've been meaning to try it out for a while, just not needed it yet, and >>> so I haven't got round to trying it out - but it *should* work. >>> >>> I'll try it soon ... let me know if it works for you. >>> -- Alex. >>> >>> >>> On 17/03/2014 17:00, jbv at souslelogo.com wrote: >>>> Hi list, >>>> >>>> I need to trigger LC scripts (on an on-rev account or with LC server) >>>> when an email is received on an email address. The address will be >>>> the same but email senders will vary and according to the sender's >>>> email, different scripts will be triggered. The idea is to process the >>>> content of the email with the scripts... >>>> I guess the trick is a server setting. Does anyone know how ? >>>> >>>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 curry at pair.com Tue Mar 18 09:09:50 2014 From: curry at pair.com (Curry Kenworthy) Date: Tue, 18 Mar 2014 08:09:50 -0500 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <5328459E.50009@pair.com> Mike wrote: > By the way, it appears the hackers were trying to uncover fraud at Mt. Gox, > so they're actually being considered heroes, which is a little weird... Heroes? I seriously doubt it. The only scenario I could imagine for that argument would mean instead of using the heroism as cover for the bitcoin stealer, they developed the stealer as part of the heroics and used a public means to distribute it, hoping to snag the Mt Gox people again instead of anyone else? And using good old 419er type logic, that only greedy people would get affected or scammed? It would take a lot of faith to see it that way instead of as a simple criminal operation to steal fund accounts. But even giving them the benefit of all possible doubts, still at best it was designed to snoop on others besides the target, the target was assumed guilty, and once the assumption was made these types usually deface www and disclose stolen data regardless of whether their "investigation" shows any guilt. That's like saying the NSA would be big heroes if they also did some defacing and dumping - no thanks. Most hackers are just people overly full of themselves and imitating the very tactics of the big corporations and secretive government entities they rant and rave about. I would have hoped that if we have LC-based hackers, they would be higher class. And I don't think we need to try and spin this as some kind of example that LC has finally come of age. People have been doing truly remarkable and praiseworthy things with LC for a long time, maybe less sensational but much more interesting that this. Besides, I didn't like their coding style. LiveCode shouldn't look like it wants to be Javascript. So I hope it doesn't end up posted to the LC tutorial section. :) Best wishes, Curry K. From MikeKerner at roadrunner.com Tue Mar 18 09:19:09 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Mar 2014 09:19:09 -0400 Subject: Famous at last, though not in the best way In-Reply-To: References: <532729EC.30808@fourthworld.com> Message-ID: On the heroism, I'm just telling you what the writers of the posts seem to be saying, unless I'm reading them wrong. I don't disagree that LC is a nice tool to have. I do seem to spend enough time using it - but - I've used lots of tools that were nice. Sometimes, though, in business, mass leads to growth. I wasn't all that amped at being able to develop android apps, except for the fact that someone else who wants to develop for mobile can target ios and android with less work, which means more potential users, more potential revenue for RR, and thus, more potential goodies for me in the product. Today's hackers are frequently tomorrow's badasses, because eventually they grow up and get a job. I'll cheer the hackers latching on as a very big deal for tool growth. Now that LC is OSS, they might even eventually fork it and do other very cool things with it that we can all thank them for, later. On Mon, Mar 17, 2014 at 10:59 PM, Mike Kerner wrote: > By the way, it appears the hackers were trying to uncover fraud at Mt. > Gox, so they're actually being considered heroes, which is a little weird... > > > And.....it hit slashdot: > > http://it.slashdot.org/story/14/03/17/2220236/kaspersky-mt-gox-data-archive-contains-bitcoin-stealing-malware?utm_source=slashdot&utm_medium=twitter > > and itworld.com: > > http://www.itworld.com/security/410097/bitcoin-stealing-malware-hidden-mt-gox-data-dump-researcher-says > > coindesk: > > http://www.coindesk.com/mt-gox-hackers-claim-release-transaction-details-ceos-personal-data/ > > Forbes: > > http://www.forbes.com/sites/andygreenberg/2014/03/09/hackers-hit-mt-gox-exchanges-ceo-claim-to-publish-evidence-of-fraud/ > > > Here's the reddit discussion of the guys hacking the source and working on > it, some with debuggers, some by other means: > > http://www.reddit.com/r/Bitcoin/comments/200k30/the_tibannebackofficeexe_executable_is_wallet/ > > More from Reddit: > > http://www.reddit.com/r/Bitcoin/comments/1zz21j/mtgox_2014_hack_database_revealed_live_from_mark/cfya3ni > > Wow. 620 mb. Dang. > > > On Mon, Mar 17, 2014 at 2:42 PM, Mike Kerner wrote: > >> Thanks for weighing in, boss! >> >> It's still cool in a very perverse way that somebody is using LC to >> hack. Besides me, anyway. Now if I can get Glass to work with LC... >> >> >> >> -- >> 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 curry at pair.com Tue Mar 18 10:37:06 2014 From: curry at pair.com (Curry Kenworthy) Date: Tue, 18 Mar 2014 09:37:06 -0500 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <53285A12.8050001@pair.com> Mike wrote: > I'll cheer the hackers latching on as a very big > deal for tool growth. We could likewise hope for organized crime to latch on too; they have money to invest, and that could benefit everyone? That's not to say that hackers could never be heroes. A technique or a tool can be used for good or ill, and definitely there are some such scenarios I could cheer for. Bring 'em! But for now, generally I'll be cheering more for other sectors of the LC population. I see so many amazing ideas put in motion by folks here using LC that it's ironic to see only a nebulous coin nabber get attention. :) Best wishes, Curry K. From ambassador at fourthworld.com Tue Mar 18 10:43:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Mar 2014 07:43:17 -0700 Subject: Famous at last, though not in the best way In-Reply-To: References: Message-ID: <53285B85.5000701@fourthworld.com> Mike Kerner wrote: > By the way, it appears the hackers were trying to uncover fraud at Mt. Gox, > so they're actually being considered heroes, which is a little weird... Weird or not, nice to see LC in the role of hero code. > And by the way, this is EXACTLY why when I download some random stack that > someone here has thrown in that allegedly does something very cool, I only > open it in an isolated VM until I can have a better look at it, first. Hard to beat a full VM for containment, but for those of you who may need to run stacks from unknown sources within your main system I wrote a simple tool to help with that. 4W Secure Runner provides checkboxes for all the categories in the new securityPermissions property added in v6.1.3, so you can conveniently turn on the permissions you want to allow and then select a stack to open: As with the older secureMode property (which is still supported, though more strictly than in older versions), once the security permissions are set they can only be made more restrictive during the current session, but cannot be lifted. So if you run this tool, be sure you've saved any work you need first, since turning off the "disk" option will prevent any reads or writes to disk. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Tue Mar 18 10:49:46 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Mar 2014 07:49:46 -0700 Subject: alternative to do for loading variables from array? In-Reply-To: References: Message-ID: <53285D0A.2070606@fourthworld.com> Kay C Lan wrote: > There are NO script limits anymore in either Community or Commercial LC. This is true at the moment but the docs still say otherwise, so I filed a but report on that some time ago: Whether the bug is in the docs or an oversight in the ifdef for the Commercial build is something I can't say with any certainty. The report is flagged as "confirmed" but also has a status of "EXPERT_REVIEW", so I'm not sure where that sits at the moment. Hopefully we'll get guidance on that soon. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From heather at runrev.com Tue Mar 18 11:54:36 2014 From: heather at runrev.com (Heather Laine) Date: Tue, 18 Mar 2014 15:54:36 +0000 Subject: 6.6 RC2 Release Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 6.6 RC2. This release is now considered feature complete. Warning, this is a pre-release with new features which have the potential to cause issues. Please ensure you backup your stacks before testing this release. Release Contents ? 'assert' command (experimental) ? New showAll fullscreenmode. ? Hi-DPI support for Windows 7/8 and OSX. ? HTTPS through proxy ? Image Filtering Updates ? iOS 7.1 Support ? Graphics Library Update ? OpenSSL & Encryption Updates ? Proxy automatic configuration support ? 'secure socket' command ? '#!' now recognised by server ? SQLite support updated and improved ? Stack scaling ? OS 10.4 (Tiger) Support ? 54 bug fixes: ? 11927 - LCInterfaceQueryViewScale returns incorrect scale values ? 11925 - revBrowser does not use retina resolution on retina Macs. ? 11924 - matrixMultiply crashes if given non-arrays as input. ? 11915 - Fullscreen mode not preserved when using \'go in window\'. ? 11914 - Popping up a stack or using a stack as a menu causes strange problems. ? 11908 - Images with best resizeQuality print at low resolution. ? 11903 - Ensure large XML files (those with large text nodes) still parse. ? 11893 - Attaching an empty stack panel to a combo or option menu causes a crash when opened. ? 11892 - Image blending only works for srcOver inkMode ? 11888 - Malformed htmlText can cause an infinite loop. ? 11885 - Memory leak in iOS causes app to exit ? 11882 - textStyle box has missing pixel in topleft. ? 11880 - Tiles with a constant color blend incorrectly when acceleratedRendering is in OpenGL mode. ? 11874 - BinaryDecode wrong on Android ? 11867 - Union and intersect commands can give erroneous results if source array is empty or not an array. ? 11858 - Hidden stacks don't update their position when re-shown ? 11844 - Stack height limited to screen height ? 11841 - The effective revAvailableHandlers of an object sometimes contains duplicates ? 11836 - MouseLoc returns wrong value if pixelScale set to value other than 1 ? 11823 - SQLite enhanced query syntax not enabled. ? 11819 - Windows with no decorations don't redraw on first open. ? 11816 - Native Android control rects not scaled when set from preOpenStack handler ? 11814 - Accelerated rendering causes cards to be rendered in the bottom left of the screen on iOS Retina devices ? 11813 - \'go in window\' doesn\'t work on mobile ? 11811 - Cannot take screen snapshot at high resolution. ? 11789 - mobileComposeMail only blocks the first time on Android. ? 11785 - Option menu with height > 22 draws incorrectly on OSX with Retina display. ? 11783 - Setting the fullscreenmode on Windows when not fullscreen causes text to change. ? 11781 - Visual effects can display in the wrong place on iOS on Retina devices. ? 11778 - averageDeviation returns incorrect result on Mac, Linux, iOS, Android ? 11771 - Pasting HTML containing BR doesn't copy into LiveCode correctly from Safari on Mac. ? 11769 - Copying from a field with paragraph-level metadata causes incorrect RTF output (thus meaning it pastes incorrectly into other apps on Mac). ? 11754 - Error (invalid bundle) on uploading app to iOS App Store ? 11753 - Cannot play some video streams on Android ? 11751 - After selecting an item in an option menu contaning unicode, the label is corrupted (Mac only) ? 11732 - <> operator is different from 'is not' operator for arrays ? 11728 - Changing the backdrop color doesn't update properly on Mac. ? 11721 - Crash when taking a snapshot of the template graphic ? 11720 - SQLite FTS feature doesn't work on iOS or Mac. ? 11715 - LiveCode crashes if dragsource object is closed during dragEnd handler ? 11704 - Patterns cannot be applied to lines. ? 11703 - iPhoneSetRemoteControlDisplay crashes ? 11654 - import snapshot doesn't finish until keypress on Lion. ? 11649 - Android app name can't contain unicode text ? 11617 - acceleratedRendering will clip the end of long scrolling groups ? 11462 - Failing to set image data to the image data of self ? 11442 - Can't quit LiveCode after setting the securityPermissions to \"network\" ? 11124 - No error message when external not found when deploying to simulator ? 11069 - mobileComposeMail attachment missing in Android ? 10910 - "Crop image" command crashes LiveCode application ? 10467 - Indenting of scripts can go wrong ? 10280 - SQLite binary entries are non-standard. ? 8044 - setting a cprop with quotes loses data ? 5331 - Mac live window resizing is off by default. Known Issues Text scaling/clipping on Linux with stack scale set Getting this release To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ Reporting Bugs If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team Heather Laine Customer Services Manager http://www.livecode.com/ From MikeKerner at roadrunner.com Tue Mar 18 12:48:48 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Mar 2014 12:48:48 -0400 Subject: Famous at last, though not in the best way In-Reply-To: <53285B85.5000701@fourthworld.com> References: <53285B85.5000701@fourthworld.com> Message-ID: CSO article: http://www.csoonline.com/article/749849/bitcoin-stealing-malware-hidden-in-mt.-gox-data-dump-researcher-says?source=CSONLE_nlt_salted_hash_2014-03-18 On Tue, Mar 18, 2014 at 10:43 AM, Richard Gaskin wrote: > Mike Kerner wrote: > > By the way, it appears the hackers were trying to uncover fraud at Mt. >> Gox, >> so they're actually being considered heroes, which is a little weird... >> > > Weird or not, nice to see LC in the role of hero code. > > > > And by the way, this is EXACTLY why when I download some random stack that >> someone here has thrown in that allegedly does something very cool, I only >> open it in an isolated VM until I can have a better look at it, first. >> > > Hard to beat a full VM for containment, but for those of you who may need > to run stacks from unknown sources within your main system I wrote a simple > tool to help with that. > > 4W Secure Runner provides checkboxes for all the categories in the new > securityPermissions property added in v6.1.3, so you can conveniently turn > on the permissions you want to allow and then select a stack to open: > > > As with the older secureMode property (which is still supported, though > more strictly than in older versions), once the security permissions are > set they can only be made more restrictive during the current session, but > cannot be lifted. So if you run this tool, be sure you've saved any work > you need first, since turning off the "disk" option will prevent any reads > or writes to disk. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 18 13:49:10 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 18 Mar 2014 13:49:10 -0400 Subject: definition of "word" Message-ID: <5688BB8E-828A-4C67-A446-AE8E89B8D2BE@gmail.com> In playing around with this I came across the following problem. if tSentence = "I think animal testing is a terrible idea: they get all nervous and give the wrong answers." (including the quotes), then word -1 of tSentence = "I think animal testing is a terrible idea: they get all nervous and give the wrong answers." as we all know. And word -1 of I "think animal testing is a terrible idea: they get all nervous and give the wrong answers." is "think animal testing is a terrible idea: they get all nervous and give the wrong answers." If tSentence = ("I think animal testing is a terrible idea: they get all nervous and give the wrong answers.") then word -1 of tSentence = ("I think animal testing is a terrible idea: they get all nervous and give the wrong answers.") Hmmm. OK, a "word" includes immediately adjacent punctuation. But if tSentence = (I "think animal testing is a terrible idea: they get all nervous and give the wrong answers.") then word -1 of tSentence = ) I've complained before about the treatment of a phrase in quotes as a single word, but the minimum requirement for a computer grammar is consistency. I'm looking forward to the proposed new implementation of this token. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Tue Mar 18 13:57:52 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 18 Mar 2014 13:57:52 -0400 Subject: Crowd Funding Enhancements - Found word(s) cum in the Text body In-Reply-To: <1988093A-7F39-4087-84F2-3E5FDD2F798B@iotecdigital.com> References: <5311B2D6.30208@economy-x-talk.com><5311D4B2.9030607@gmail.com><531AD9EF.8090605@gmail.com><45844401544.20140308134854@ahsoftware.net><531E71BB.6070304@hyperactivesw.com><532478F1.2000606@gmail.com><53249155.80704@hyperactivesw.com> <1988093A-7F39-4087-84F2-3E5FDD2F798B@iotecdigital.com> Message-ID: On Mar 17, 2014, at 11:44 AM, Bob Sneidar wrote: > I?m not sure what kinds of words or phrases might trigger a spam filter on this list. Words in a phrase like this could not POSSIBLY be causing a problem could they? "Cheese" ??? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobsneidar at iotecdigital.com Tue Mar 18 14:03:44 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Mar 2014 18:03:44 +0000 Subject: Famous at last, though not in the best way In-Reply-To: <53285B85.5000701@fourthworld.com> References: <53285B85.5000701@fourthworld.com> Message-ID: <91E18709-87C8-4569-A64A-861D2D56D7E6@iotecdigital.com> Awesome Richard. Erm? this isn?t going to hack my bank account is it?? ;-) Bob On Mar 18, 2014, at 07:43 , Richard Gaskin > wrote: Hard to beat a full VM for containment, but for those of you who may need to run stacks from unknown sources within your main system I wrote a simple tool to help with that. From bobsneidar at iotecdigital.com Tue Mar 18 14:06:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Mar 2014 18:06:58 +0000 Subject: Crowd Funding Enhancements - Found word(s) cum in the Text body In-Reply-To: References: <5311B2D6.30208@economy-x-talk.com><5311D4B2.9030607@gmail.com><531AD9EF.8090605@gmail.com><45844401544.20140308134854@ahsoftware.net><531E71BB.6070304@hyperactivesw.com><532478F1.2000606@gmail.com><53249155.80704@hyperactivesw.com> <1988093A-7F39-4087-84F2-3E5FDD2F798B@iotecdigital.com> Message-ID: Just pointing out that we need to be careful about the words we type in our emails if we want them to get past people?s spam filters. I copied that from one of Richards posts. Bob On Mar 18, 2014, at 10:57 , Peter M. Brigham wrote: > On Mar 17, 2014, at 11:44 AM, Bob Sneidar wrote: > >> I?m not sure what kinds of words or phrases might trigger a spam filter on this list. Words in a phrase like this could not POSSIBLY be causing a problem could they? > > "Cheese" ??? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 18 14:11:28 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 18 Mar 2014 14:11:28 -0400 Subject: Famous at last, though not in the best way In-Reply-To: References: <532729EC.30808@fourthworld.com> Message-ID: <9B367D26-9307-4109-8652-F235DC998CCA@gmail.com> On Mar 18, 2014, at 9:19 AM, Mike Kerner wrote: > On the heroism, I'm just telling you what the writers of the posts seem to > be saying, unless I'm reading them wrong. > > I don't disagree that LC is a nice tool to have. I do seem to spend enough > time using it - but - I've used lots of tools that were nice. Sometimes, > though, in business, mass leads to growth. I wasn't all that amped at > being able to develop android apps, except for the fact that someone else > who wants to develop for mobile can target ios and android with less work, > which means more potential users, more potential revenue for RR, and thus, > more potential goodies for me in the product. > > Today's hackers are frequently tomorrow's badasses, because eventually they > grow up and get a job. I'll cheer the hackers latching on as a very big > deal for tool growth. Now that LC is OSS, they might even eventually fork > it and do other very cool things with it that we can all thank them for, > later. It strikes me that in a perverse way this marks the entrance of LC into the mainstream of programming languages. For it to be used as a malware tool, I mean. It is after all just a tool, and tools can be used for good or ill. If it's a truly powerful tool, someone will discover how to misuse it sooner or later. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From index at kenjikojima.com Tue Mar 18 14:20:14 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Tue, 18 Mar 2014 14:20:14 -0400 Subject: 6.6 RC2 Release In-Reply-To: References: Message-ID: <405628E0-EAA2-4EDA-BC1B-4EFB1743B051@kenjikojima.com> Please restore box filtering. It was very useful for making a mosaic image. I loved 6.5 of poor quality image too. Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Mar 18, 2014, at 11:54 AM, Heather Laine wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6 RC2. This release is now considered feature complete. > > Warning, this is a pre-release with new features which have the potential to cause issues. Please ensure you backup your stacks before testing this release. > > Release Contents > > ? 'assert' command (experimental) > ? New showAll fullscreenmode. > ? Hi-DPI support for Windows 7/8 and OSX. > ? HTTPS through proxy > ? Image Filtering Updates > ? iOS 7.1 Support > ? Graphics Library Update > ? OpenSSL & Encryption Updates > ? Proxy automatic configuration support > ? 'secure socket' command > ? '#!' now recognised by server > ? SQLite support updated and improved > ? Stack scaling > ? OS 10.4 (Tiger) Support > ? 54 bug fixes: > ? 11927 - LCInterfaceQueryViewScale returns incorrect scale values > ? 11925 - revBrowser does not use retina resolution on retina Macs. > ? 11924 - matrixMultiply crashes if given non-arrays as input. > ? 11915 - Fullscreen mode not preserved when using \'go in window\'. > ? 11914 - Popping up a stack or using a stack as a menu causes strange problems. > ? 11908 - Images with best resizeQuality print at low resolution. > ? 11903 - Ensure large XML files (those with large text nodes) still parse. > ? 11893 - Attaching an empty stack panel to a combo or option menu causes a crash when opened. > ? 11892 - Image blending only works for srcOver inkMode > ? 11888 - Malformed htmlText can cause an infinite loop. > ? 11885 - Memory leak in iOS causes app to exit > ? 11882 - textStyle box has missing pixel in topleft. > ? 11880 - Tiles with a constant color blend incorrectly when acceleratedRendering is in OpenGL mode. > ? 11874 - BinaryDecode wrong on Android > ? 11867 - Union and intersect commands can give erroneous results if source array is empty or not an array. > ? 11858 - Hidden stacks don't update their position when re-shown > ? 11844 - Stack height limited to screen height > ? 11841 - The effective revAvailableHandlers of an object sometimes contains duplicates > ? 11836 - MouseLoc returns wrong value if pixelScale set to value other than 1 > ? 11823 - SQLite enhanced query syntax not enabled. > ? 11819 - Windows with no decorations don't redraw on first open. > ? 11816 - Native Android control rects not scaled when set from preOpenStack handler > ? 11814 - Accelerated rendering causes cards to be rendered in the bottom left of the screen on iOS Retina devices > ? 11813 - \'go in window\' doesn\'t work on mobile > ? 11811 - Cannot take screen snapshot at high resolution. > ? 11789 - mobileComposeMail only blocks the first time on Android. > ? 11785 - Option menu with height > 22 draws incorrectly on OSX with Retina display. > ? 11783 - Setting the fullscreenmode on Windows when not fullscreen causes text to change. > ? 11781 - Visual effects can display in the wrong place on iOS on Retina devices. > ? 11778 - averageDeviation returns incorrect result on Mac, Linux, iOS, Android > ? 11771 - Pasting HTML containing BR doesn't copy into LiveCode correctly from Safari on Mac. > ? 11769 - Copying from a field with paragraph-level metadata causes incorrect RTF output (thus meaning it pastes incorrectly into other apps on Mac). > ? 11754 - Error (invalid bundle) on uploading app to iOS App Store > ? 11753 - Cannot play some video streams on Android > ? 11751 - After selecting an item in an option menu contaning unicode, the label is corrupted (Mac only) > ? 11732 - <> operator is different from 'is not' operator for arrays > ? 11728 - Changing the backdrop color doesn't update properly on Mac. > ? 11721 - Crash when taking a snapshot of the template graphic > ? 11720 - SQLite FTS feature doesn't work on iOS or Mac. > ? 11715 - LiveCode crashes if dragsource object is closed during dragEnd handler > ? 11704 - Patterns cannot be applied to lines. > ? 11703 - iPhoneSetRemoteControlDisplay crashes > ? 11654 - import snapshot doesn't finish until keypress on Lion. > ? 11649 - Android app name can't contain unicode text > ? 11617 - acceleratedRendering will clip the end of long scrolling groups > ? 11462 - Failing to set image data to the image data of self > ? 11442 - Can't quit LiveCode after setting the securityPermissions to \"network\" > ? 11124 - No error message when external not found when deploying to simulator > ? 11069 - mobileComposeMail attachment missing in Android > ? 10910 - "Crop image" command crashes LiveCode application > ? 10467 - Indenting of scripts can go wrong > ? 10280 - SQLite binary entries are non-standard. > ? 8044 - setting a cprop with quotes loses data > ? 5331 - Mac live window resizing is off by default. > > Known Issues > Text scaling/clipping on Linux with stack scale set > > Getting this release > To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ > > Reporting Bugs > If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > Heather Laine > Customer Services Manager > http://www.livecode.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 Tue Mar 18 15:23:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Mar 2014 12:23:09 -0700 Subject: Crowd Funding Enhancements - Found word(s) cum in the Text body In-Reply-To: References: Message-ID: <53289D1D.4020907@fourthworld.com> Bob Sneidar wrote: > Just pointing out that we need to be careful about the words we type > in our emails if we want them to get past people?s spam filters. I > copied that from one of Richards posts. There's your problem: the NSA has me blacklisted because I often write favorable things about LC, and you know how dangerous LC is. Why, it's at least 0.00001% as valuable as C for writing seriously dangerous code!!! :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From t.heaford at btinternet.com Tue Mar 18 15:26:41 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 18 Mar 2014 19:26:41 +0000 Subject: revDataFromQuery with variable list question In-Reply-To: <7C55FB35-704F-487A-99E8-FB0107BAD94F@iotecdigital.com> References: <6EC126F0-565E-40CB-AD51-1B58B0F4C6D6@madmansoft.com> <62C5813C-810A-4752-B82E-6076251E5216@btinternet.com> <7C55FB35-704F-487A-99E8-FB0107BAD94F@iotecdigital.com> Message-ID: Out of interest the RunRev Lesson on how to create and use a sqlite database found here: http://lessons.runrev.com/s/lessons/m/4071/l/30516-how-to-create-and-use-an-sqlite-database does not double quote identifiers, for example: put "CREATE TABLE contact_details (name char(50), email char(50))" into tSQL I suppose they should correct this to prevent users making mistakes with the correct syntax for sqlite databases unless the LC wrapper adds in the quotes where necessary, which I doubt. In addition correcting the lesson would identify the best way to form the double quoted tables, columns etc in LC. Clearly the LC code necessary to perform CREATE TABLE above is not as simple as portraid in the example above. All the best Terry On 17 Mar 2014, at 15:17, Bob Sneidar wrote: > Oooh. I didn?t know about this one. I?m going to have to update my code. Very cool. > > Bob > > > On Mar 15, 2014, at 10:41 , Stephen MacLean > wrote: > > put merge("%[[tFld]]%") into tFld > > _______________________________________________ > use-livecode mailing list > use-livecode 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 smaclean at madmansoft.com Tue Mar 18 16:05:56 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 18 Mar 2014 16:05:56 -0400 Subject: 6.6 RC2 Release In-Reply-To: References: Message-ID: <5B8CBEBB-7326-41F7-881B-560F6253C537@madmansoft.com> Fixed the mergMk issue, thanks!!!! Best, Steve On Mar 18, 2014, at 11:54 AM, Heather Laine wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6 RC2. This release is now considered feature complete. > > Warning, this is a pre-release with new features which have the potential to cause issues. Please ensure you backup your stacks before testing this release. > > Release Contents > > ? 'assert' command (experimental) > ? New showAll fullscreenmode. > ? Hi-DPI support for Windows 7/8 and OSX. > ? HTTPS through proxy > ? Image Filtering Updates > ? iOS 7.1 Support > ? Graphics Library Update > ? OpenSSL & Encryption Updates > ? Proxy automatic configuration support > ? 'secure socket' command > ? '#!' now recognised by server > ? SQLite support updated and improved > ? Stack scaling > ? OS 10.4 (Tiger) Support > ? 54 bug fixes: > ? 11927 - LCInterfaceQueryViewScale returns incorrect scale values > ? 11925 - revBrowser does not use retina resolution on retina Macs. > ? 11924 - matrixMultiply crashes if given non-arrays as input. > ? 11915 - Fullscreen mode not preserved when using \'go in window\'. > ? 11914 - Popping up a stack or using a stack as a menu causes strange problems. > ? 11908 - Images with best resizeQuality print at low resolution. > ? 11903 - Ensure large XML files (those with large text nodes) still parse. > ? 11893 - Attaching an empty stack panel to a combo or option menu causes a crash when opened. > ? 11892 - Image blending only works for srcOver inkMode > ? 11888 - Malformed htmlText can cause an infinite loop. > ? 11885 - Memory leak in iOS causes app to exit > ? 11882 - textStyle box has missing pixel in topleft. > ? 11880 - Tiles with a constant color blend incorrectly when acceleratedRendering is in OpenGL mode. > ? 11874 - BinaryDecode wrong on Android > ? 11867 - Union and intersect commands can give erroneous results if source array is empty or not an array. > ? 11858 - Hidden stacks don't update their position when re-shown > ? 11844 - Stack height limited to screen height > ? 11841 - The effective revAvailableHandlers of an object sometimes contains duplicates > ? 11836 - MouseLoc returns wrong value if pixelScale set to value other than 1 > ? 11823 - SQLite enhanced query syntax not enabled. > ? 11819 - Windows with no decorations don't redraw on first open. > ? 11816 - Native Android control rects not scaled when set from preOpenStack handler > ? 11814 - Accelerated rendering causes cards to be rendered in the bottom left of the screen on iOS Retina devices > ? 11813 - \'go in window\' doesn\'t work on mobile > ? 11811 - Cannot take screen snapshot at high resolution. > ? 11789 - mobileComposeMail only blocks the first time on Android. > ? 11785 - Option menu with height > 22 draws incorrectly on OSX with Retina display. > ? 11783 - Setting the fullscreenmode on Windows when not fullscreen causes text to change. > ? 11781 - Visual effects can display in the wrong place on iOS on Retina devices. > ? 11778 - averageDeviation returns incorrect result on Mac, Linux, iOS, Android > ? 11771 - Pasting HTML containing BR doesn't copy into LiveCode correctly from Safari on Mac. > ? 11769 - Copying from a field with paragraph-level metadata causes incorrect RTF output (thus meaning it pastes incorrectly into other apps on Mac). > ? 11754 - Error (invalid bundle) on uploading app to iOS App Store > ? 11753 - Cannot play some video streams on Android > ? 11751 - After selecting an item in an option menu contaning unicode, the label is corrupted (Mac only) > ? 11732 - <> operator is different from 'is not' operator for arrays > ? 11728 - Changing the backdrop color doesn't update properly on Mac. > ? 11721 - Crash when taking a snapshot of the template graphic > ? 11720 - SQLite FTS feature doesn't work on iOS or Mac. > ? 11715 - LiveCode crashes if dragsource object is closed during dragEnd handler > ? 11704 - Patterns cannot be applied to lines. > ? 11703 - iPhoneSetRemoteControlDisplay crashes > ? 11654 - import snapshot doesn't finish until keypress on Lion. > ? 11649 - Android app name can't contain unicode text > ? 11617 - acceleratedRendering will clip the end of long scrolling groups > ? 11462 - Failing to set image data to the image data of self > ? 11442 - Can't quit LiveCode after setting the securityPermissions to \"network\" > ? 11124 - No error message when external not found when deploying to simulator > ? 11069 - mobileComposeMail attachment missing in Android > ? 10910 - "Crop image" command crashes LiveCode application > ? 10467 - Indenting of scripts can go wrong > ? 10280 - SQLite binary entries are non-standard. > ? 8044 - setting a cprop with quotes loses data > ? 5331 - Mac live window resizing is off by default. > > Known Issues > Text scaling/clipping on Linux with stack scale set > > Getting this release > To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ > > Reporting Bugs > If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > Heather Laine > Customer Services Manager > http://www.livecode.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 Tue Mar 18 16:07:35 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 18 Mar 2014 20:07:35 +0000 Subject: 6.6 RC2 Release In-Reply-To: <5B8CBEBB-7326-41F7-881B-560F6253C537@madmansoft.com> References: , <5B8CBEBB-7326-41F7-881B-560F6253C537@madmansoft.com> Message-ID: What was the mergMK issue ? > Subject: Re: 6.6 RC2 Release > From: smaclean at madmansoft.com > Date: Tue, 18 Mar 2014 16:05:56 -0400 > To: use-livecode at lists.runrev.com > > Fixed the mergMk issue, thanks!!!! > > Best, > > Steve From smaclean at madmansoft.com Tue Mar 18 16:10:38 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 18 Mar 2014 16:10:38 -0400 Subject: 6.6 RC2 Release In-Reply-To: References: , <5B8CBEBB-7326-41F7-881B-560F6253C537@madmansoft.com> Message-ID: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> Hi John From the 13th: >> Everything I've tested so far works fine, but mergMK seems to have a problem when when you go to set it's rect to the rect of a graphic that's been scaled, it doesn't see it as scaled and is drawn at a quarter of the size. Best, Steve On Mar 18, 2014, at 4:07 PM, John Dixon wrote: > What was the mergMK issue ? > >> Subject: Re: 6.6 RC2 Release >> From: smaclean at madmansoft.com >> Date: Tue, 18 Mar 2014 16:05:56 -0400 >> To: use-livecode at lists.runrev.com >> >> Fixed the mergMk issue, thanks!!!! >> >> Best, >> >> Steve > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 18 16:12:29 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Mar 2014 20:12:29 +0000 Subject: Crowd Funding Enhancements - Found word(s) cum in the Text body In-Reply-To: <53289D1D.4020907@fourthworld.com> References: <53289D1D.4020907@fourthworld.com> Message-ID: Sorry, I meant Richmond. Can I blame speel coreect? On Mar 18, 2014, at 12:23 , Richard Gaskin wrote: > Bob Sneidar wrote: > > > Just pointing out that we need to be careful about the words we type > > in our emails if we want them to get past people?s spam filters. I > > copied that from one of Richards posts. > > There's your problem: the NSA has me blacklisted because I often write favorable things about LC, and you know how dangerous LC is. Why, it's at least 0.00001% as valuable as C for writing seriously dangerous code!!! :) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 gerry.orkin at gmail.com Tue Mar 18 16:24:14 2014 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 18 Mar 2014 13:24:14 -0700 (PDT) Subject: 6.6 RC2 Release In-Reply-To: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> Message-ID: <1395174254725.74b1eff5@Nodemailer> Could people please limit the text they include from the message they are quoting when replying? A one line response followed by 50 lines of quoted text makes scrolling through messages on mobile devices a pain.? Thanks.? Gerry On Wed, Mar 19, 2014 at 7:10 AM, Stephen MacLean wrote: > Hi John > From the 13th: >>> Everything I've tested so far works fine, but mergMK seems to have a problem when when you go to set it's rect to the rect of a graphic that's been scaled, it doesn't see it as scaled and is drawn at a quarter of the size. > Best, > Steve > On Mar 18, 2014, at 4:07 PM, John Dixon wrote: >> What was the mergMK issue ? >> >>> Subject: Re: 6.6 RC2 Release >>> From: smaclean at madmansoft.com >>> Date: Tue, 18 Mar 2014 16:05:56 -0400 >>> To: use-livecode at lists.runrev.com >>> >>> Fixed the mergMk issue, thanks!!!! >>> >>> Best, >>> >>> Steve >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mar 18 16:26:30 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 18 Mar 2014 16:26:30 -0400 Subject: 6.6 RC2 Release In-Reply-To: <1395174254725.74b1eff5@Nodemailer> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> Message-ID: Anybody else see anything particularly interesting in this release? The expansion of the syntax for assert was interesting for me, even if I'm still not sure what advantage it holds over existing syntax. On Tue, Mar 18, 2014 at 4:24 PM, Gerry Orkin wrote: > Could people please limit the text they include from the message they are > quoting when replying? A one line response followed by 50 lines of quoted > text makes scrolling through messages on mobile devices a pain. > > > Thanks. > > > > > Gerry > > On Wed, Mar 19, 2014 at 7:10 AM, Stephen MacLean > wrote: > > > Hi John > > From the 13th: > >>> Everything I've tested so far works fine, but mergMK seems to have a > problem when when you go to set it's rect to the rect of a graphic that's > been scaled, it doesn't see it as scaled and is drawn at a quarter of the > size. > > Best, > > Steve > > On Mar 18, 2014, at 4:07 PM, John Dixon wrote: > >> What was the mergMK issue ? > >> > >>> Subject: Re: 6.6 RC2 Release > >>> From: smaclean at madmansoft.com > >>> Date: Tue, 18 Mar 2014 16:05:56 -0400 > >>> To: use-livecode at lists.runrev.com > >>> > >>> Fixed the mergMk issue, thanks!!!! > >>> > >>> Best, > >>> > >>> Steve > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 pete at lcsql.com Tue Mar 18 17:35:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 18 Mar 2014 14:35:54 -0700 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> Message-ID: On Tue, Mar 18, 2014 at 1:26 PM, Mike Kerner wrote: > Anybody else see anything particularly interesting in this release? The > expansion of the syntax for assert was interesting for me, even if I'm > still not sure what advantage it holds over existing syntax. > Getting the SQLite library up to date from one that was 2 1/2 years old is "interesting" to me! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From calhorner at xtra.co.nz Tue Mar 18 18:33:56 2014 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 19 Mar 2014 11:33:56 +1300 (New Zealand Daylight Time) Subject: LC Commercial Update Message-ID: <5328C9D2.00000B.07144@CALS_BIG_PC> Call me old fashioned and stodgy but I'm still using LC 5.5.5 to do what I want to do. No doubt I will upgrade when LC 7.0 comes about, if it meets my needs. But, while I continue to use what I consider to be a fairly stable IDE I don t wish to be bothered each time I start up by that annoying message that there is a new "interim" update available. Finally, the question: Is there a switch I can set that will stop that startup message from notifying me something I don't want or need to know? Cal From dochawk at gmail.com Tue Mar 18 18:40:48 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Mar 2014 15:40:48 -0700 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> Message-ID: On Tue, Mar 18, 2014 at 1:26 PM, Mike Kerner wrote: > Anybody else see anything particularly interesting in this release? High-dpi support on the desktop. This is critical for form generation; a standard page of paper appears too small for most eyes . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From larry at significantplanet.org Tue Mar 18 18:42:15 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 16:42:15 -0600 Subject: LC Commercial Update Message-ID: <34BE115B52BB4536A0EACB756A8653A5@userd204a4d61c> I agree with Cal. It doesn't do any good to update to a new full of bugs IDE and waste time programming. Backing up stacks is not the issue. (why even bother to point that out?? Duh! Everyone is going to be backing up all the time!!) It's wasting time coding in the IDE and only after compiling finding out that certain things don't work properly. Call me old fashioned and stodgy but I'm still using LC 5.5.5 to do what I want to do. No doubt I will upgrade when LC 7.0 comes about, if it meets my needs. But, while I continue to use what I consider to be a fairly stable IDE I don t wish to be bothered each time I start up by that annoying message that there is a new "interim" update available. Finally, the question: Is there a switch I can set that will stop that startup message from notifying me something I don't want or need to know? Cal _______________________________________________ use-livecode mailing list use-livecode 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 Mar 18 18:55:53 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 18 Mar 2014 23:55:53 +0100 Subject: LC Commercial Update In-Reply-To: <5328C9D2.00000B.07144@CALS_BIG_PC> References: <5328C9D2.00000B.07144@CALS_BIG_PC> Message-ID: Hi Cal, in the LiveCode preferences under update you can select if you want to get informed. Regards, Matthias Am 18.03.2014 um 23:33 schrieb Cal Horner : > Finally, the question: > Is there a switch I can set that will stop that startup message from > notifying me something I don't want or need to know? > > Cal > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 18 18:57:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Mar 2014 15:57:31 -0700 Subject: LC Commercial Update In-Reply-To: <5328C9D2.00000B.07144@CALS_BIG_PC> References: <5328C9D2.00000B.07144@CALS_BIG_PC> Message-ID: <5328CF5B.2070100@fourthworld.com> larry wrote: > It doesn't do any good to update to a new full of bugs IDE and waste > time programming. That's exactly why working with these interim releases is so important. After all, if no one tested that would only guarantee bugs won't be found until after release. Even if you don't intend to deploy with a given release, testing the free Community Edition helps ensure that the issues that are important to your apps can be identified and addressed before we get to a version you would consider upgrading to. I used to put off testing myself, hoping others would do it for me. But over time I've found that all that does is prevent me from taking advantage of a new feature I need because I didn't catch a regression issue that was critical for my app. I've learned. I don't do that anymore. These days I always work with the latest test build, and use any older version only at build time, and even then only in specific and ever-fewer cases. The changes in the v6 series may seem minor in terms of bullet points, but there's a lot going on under the hood, so regression potential really needs our attention. V7 will be even more sweeping, so even those who don't intend to use any new build until then will want to use the free Community Edition of v6 to help ensure we have a solid baseline to work with for v7. V6.6.0 rc2 is available here: I hope everyone will jump on this and make it the most stable build yet. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From m.schonewille at economy-x-talk.com Tue Mar 18 19:00:32 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 00:00:32 +0100 Subject: LC Commercial Update In-Reply-To: <34BE115B52BB4536A0EACB756A8653A5@userd204a4d61c> References: <34BE115B52BB4536A0EACB756A8653A5@userd204a4d61c> Message-ID: <541637E0-7138-4800-81DA-1F255A1C65E7@economy-x-talk.com> Hi Larry, I just deleted "livecode setup.exe" and "livecode setup.app" and am no longer getting these messages. I decided to do this after trying to turn off update checks in the preferences without success. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 18 mrt 2014, at 23:42, wrote: > I agree with Cal. > > It doesn't do any good to update to a new full of bugs IDE and waste time programming. Backing up stacks is not the issue. (why even bother to point that out?? Duh! Everyone is going to be backing up all the time!!) It's wasting time coding in the IDE and only after compiling finding out that certain things don't work properly. > > > > Call me old fashioned and stodgy but I'm still using LC 5.5.5 to do what I > want to do. No doubt I will upgrade when LC 7.0 comes about, if it meets my > needs. > > But, while I continue to use what I consider to be a fairly stable IDE I don > t wish to be bothered each time I start up by that annoying message that > there is a new "interim" update available. > > Finally, the question: > Is there a switch I can set that will stop that startup message from > notifying me something I don't want or need to know? > > Cal > _______________________________________________ > use-livecode mailing list > use-livecode 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 larry at significantplanet.org Tue Mar 18 19:28:49 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 17:28:49 -0600 Subject: LC Commercial Update References: <5328C9D2.00000B.07144@CALS_BIG_PC> <5328CF5B.2070100@fourthworld.com> Message-ID: Thank you Richard, That is a very good point. And thanks to Mark Schonewille for explaining how to turn off the update message. Larry ----- Original Message ----- From: "Richard Gaskin" To: Sent: Tuesday, March 18, 2014 4:57 PM Subject: Re: LC Commercial Update > larry wrote: > > > It doesn't do any good to update to a new full of bugs IDE and waste > > time programming. > > That's exactly why working with these interim releases is so important. > > After all, if no one tested that would only guarantee bugs won't be found > until after release. > > Even if you don't intend to deploy with a given release, testing the free > Community Edition helps ensure that the issues that are important to your > apps can be identified and addressed before we get to a version you would > consider upgrading to. > > I used to put off testing myself, hoping others would do it for me. But > over time I've found that all that does is prevent me from taking > advantage of a new feature I need because I didn't catch a regression > issue that was critical for my app. I've learned. I don't do that > anymore. > > These days I always work with the latest test build, and use any older > version only at build time, and even then only in specific and ever-fewer > cases. > > The changes in the v6 series may seem minor in terms of bullet points, but > there's a lot going on under the hood, so regression potential really > needs our attention. > > V7 will be even more sweeping, so even those who don't intend to use any > new build until then will want to use the free Community Edition of v6 to > help ensure we have a solid baseline to work with for v7. > > V6.6.0 rc2 is available here: > > > I hope everyone will jump on this and make it the most stable build yet. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 18 19:33:17 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 18 Mar 2014 23:33:17 +0000 Subject: before vs on in behavior scripts Message-ID: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> All, If a button has a behavior attached to it, and the behavior script has a 'before mouseUp' handler, can the behavior script also have a 'on mouseUp' handler? I could swear the answer was yes; I thought I had done that before, but now when I try it, it doesn't work. (In LC 6.5.x. and 6.6.0RC2). Instead I have to put the 'in mouseUp' in the button's script. Of course I might be completely missing the point of 'before' and 'after' handlers. Wouldn't be the first time. Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University From larry at significantplanet.org Tue Mar 18 19:47:06 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 17:47:06 -0600 Subject: I'm trying to rally the troops... Message-ID: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Hello Everyone, Over a year ago I wrote to RR and suggested they allow the user to add notes directly to the LC dictionary. (for private viewing) I understand why they need to approve notes that are added for public viewing. But there are literally HUNDREDS of times where I have to figure something out that is NOT documented in the dictionary. A recent example: I had trouble with the cursor disappearing once I compiled. Happily, Jacqueline answered the question in here for me. What I want to do is go to the dictionary and make my OWN note about that under "cursor" - since I don't have a photographic memory and because LC for me is a hobby and not a profession, I will sometimes go months without using it. It's too difficult to remember everything. Sure, I could make a spreadsheet with "cursor" in column 1 and my notes in column 2 - whatever. But that seems like a pretty dopey solution. I hope some of you will agree with me that this feature would be VERY useful and a great timesaver. Then let's rattle the LC cage. Thanks for listening. Larry From vclement at gmail.com Tue Mar 18 20:13:15 2014 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 18 Mar 2014 17:13:15 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: Hi larry I am in the process of doing just what your asking for, a dictionary that allows you to edit, add, and save code. It will be online in the next 15 days. I will even have Google translate in the app where you can convert the scripts or text to any language. I will annonce the app very soon. On Tuesday, March 18, 2014, wrote: > Hello Everyone, > > Over a year ago I wrote to RR and suggested they allow the user to add > notes directly to the LC dictionary. (for private viewing) > > I understand why they need to approve notes that are added for public > viewing. > > But there are literally HUNDREDS of times where I have to figure something > out that is NOT documented in the dictionary. A recent example: I had > trouble with the cursor disappearing once I compiled. Happily, Jacqueline > answered the question in here for me. What I want to do is go to the > dictionary and make my OWN note about that under "cursor" - since I don't > have a photographic memory and because LC for me is a hobby and not a > profession, I will sometimes go months without using it. It's too > difficult to remember everything. > > Sure, I could make a spreadsheet with "cursor" in column 1 and my notes in > column 2 - whatever. But that seems like a pretty dopey solution. > > I hope some of you will agree with me that this feature would be VERY > useful and a great timesaver. Then let's rattle the LC cage. > > Thanks for listening. > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 From larry at significantplanet.org Tue Mar 18 20:19:43 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 18:19:43 -0600 Subject: I'm trying to rally the troops... References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: Hello Vaughn, That's great. I hope you're saying the app would integrate directly into LiveCode? I really don't want to have it be a separate app, but even that would be OK if your app also includes ALL the LC dictionary and notes. ----- Original Message ----- From: "Vaughn Clement" To: "How to use LiveCode" Sent: Tuesday, March 18, 2014 6:13 PM Subject: Re: I'm trying to rally the troops... > Hi larry > > I am in the process of doing just what your asking for, a dictionary that > allows you to edit, add, and save code. It will be online in the next 15 > days. I will even have Google translate in the app where you can convert > the scripts or text to any language. I will annonce the app very soon. > > On Tuesday, March 18, 2014, wrote: > >> Hello Everyone, >> >> Over a year ago I wrote to RR and suggested they allow the user to add >> notes directly to the LC dictionary. (for private viewing) >> >> I understand why they need to approve notes that are added for public >> viewing. >> >> But there are literally HUNDREDS of times where I have to figure >> something >> out that is NOT documented in the dictionary. A recent example: I had >> trouble with the cursor disappearing once I compiled. Happily, >> Jacqueline >> answered the question in here for me. What I want to do is go to the >> dictionary and make my OWN note about that under "cursor" - since I don't >> have a photographic memory and because LC for me is a hobby and not a >> profession, I will sometimes go months without using it. It's too >> difficult to remember everything. >> >> Sure, I could make a spreadsheet with "cursor" in column 1 and my notes >> in >> column 2 - whatever. But that seems like a pretty dopey solution. >> >> I hope some of you will agree with me that this feature would be VERY >> useful and a great timesaver. Then let's rattle the LC cage. >> >> Thanks for listening. >> >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 18 20:24:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Mar 2014 17:24:32 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: <5328E3C0.30605@fourthworld.com> larry wrote: > Over a year ago I wrote to RR and suggested they allow the user to > add notes directly to the LC dictionary. (for private viewing) > > I understand why they need to approve notes that are added for public > viewing. > > But there are literally HUNDREDS of times where I have to figure > something out that is NOT documented in the dictionary. A recent > example: I had trouble with the cursor disappearing once I compiled. > Happily, Jacqueline answered the question in here for me. What I > want to do is go to the dictionary and make my OWN note about that > under "cursor" - since I don't have a photographic memory and because > LC for me is a hobby and not a profession, I will sometimes go months > without using it. It's too difficult to remember everything. > > Sure, I could make a spreadsheet with "cursor" in column 1 and my > notes in column 2 - whatever. But that seems like a pretty dopey > solution. > > I hope some of you will agree with me that this feature would be VERY > useful and a great timesaver. Then let's rattle the LC cage. > > Thanks for listening. On the contrary, thank you for writing that. One of the things that I especially like about it is that it's achievable. I suspect rattling RunRev's cage would introduce a wait on something like this, because at the moment they have an army of Kickstarter backers to whom they need to fulfill their promises. But what you're talking about is quite doable without them - maybe the cage we should be rattling is our own. There are a few ways this could be done: A. Update the IDE's Dictionary to include this B. Replace the IDE's Dictionary with something else that includes this and perhaps much more C. Make an separate Notes stack that integrates with the Dictionary All of these are doable, but I wonder if C may the easiest, since A requires coordination with their own ongoing changes and we don't yet have a GitHub-like setup for IDE elements, and B is a lot of work and we could expect some might still prefer the one included in the IDE. Option C could be built at any time by anyone, freely shared, and perhaps with additional features added by other members of the community. And being separate from the IDE itself it would maintain a healthy "separation of concerns" that often bogs down projects that don't stay mindful of such things. While poking around in the IDE I discovered a nifty command: revDocumentationGo e.g.: revDocumentationGo "securityPermissions" So quickly opening the Dictionary from a given Note card is a one-liner. For making the creation of Notes easier, I'll bet there's a handy way to obtain the token currently displayed in the Dictionary, so you could just click a "New" button and it would fill in the token name for you. All that's needed is for someone to take this on. Once it gets started, others would likely pitch in to help. Option B may also be good if you could start with one of the existing Dictionary replacements, like Bj?rnke's if he's up for that. Many of us still think of LiveCode in terms of a proprietary product, but the open source thang is more than just a gimme for educators and in-house developers: RunRev's open source initiative seems a very earnest effort to liberate the world with a really fun programming language; the Commercial Edition licenses are just a means to that end, keeping the pro devs in their audience happy with a proprietary license option and commercial-quality features, and enough money coming in to keep the whole effort going. The more time I've spent with open source projects, the more I've come to think of them as an "us" proposition, an opportunity for partnership between a vendor and their community to continually improve the software experience. Projects like the one you've proposed may well serve as a good example of this new dynamic, exploring ways to make the best use of resources both within the company and within the community. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From larry at significantplanet.org Tue Mar 18 20:32:20 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 18:32:20 -0600 Subject: I'm trying to rally the troops... References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5328E3C0.30605@fourthworld.com> Message-ID: <8A59C3D442AC4530A1F6EE3980459CEC@userd204a4d61c> Hello Richard, Great thoughts! I hope someone will do what you suggest. As I said, I program as a hobby and not as a pro, so I'll have to leave it up to the rest of you. But I know what features I would like! Thanks, Larry ----- Original Message ----- From: "Richard Gaskin" To: Sent: Tuesday, March 18, 2014 6:24 PM Subject: Re: I'm trying to rally the troops... larry wrote: > Over a year ago I wrote to RR and suggested they allow the user to > add notes directly to the LC dictionary. (for private viewing) > > I understand why they need to approve notes that are added for public > viewing. > > But there are literally HUNDREDS of times where I have to figure > something out that is NOT documented in the dictionary. A recent > example: I had trouble with the cursor disappearing once I compiled. > Happily, Jacqueline answered the question in here for me. What I > want to do is go to the dictionary and make my OWN note about that > under "cursor" - since I don't have a photographic memory and because > LC for me is a hobby and not a profession, I will sometimes go months > without using it. It's too difficult to remember everything. > > Sure, I could make a spreadsheet with "cursor" in column 1 and my > notes in column 2 - whatever. But that seems like a pretty dopey > solution. > > I hope some of you will agree with me that this feature would be VERY > useful and a great timesaver. Then let's rattle the LC cage. > > Thanks for listening. On the contrary, thank you for writing that. One of the things that I especially like about it is that it's achievable. I suspect rattling RunRev's cage would introduce a wait on something like this, because at the moment they have an army of Kickstarter backers to whom they need to fulfill their promises. But what you're talking about is quite doable without them - maybe the cage we should be rattling is our own. There are a few ways this could be done: A. Update the IDE's Dictionary to include this B. Replace the IDE's Dictionary with something else that includes this and perhaps much more C. Make an separate Notes stack that integrates with the Dictionary All of these are doable, but I wonder if C may the easiest, since A requires coordination with their own ongoing changes and we don't yet have a GitHub-like setup for IDE elements, and B is a lot of work and we could expect some might still prefer the one included in the IDE. Option C could be built at any time by anyone, freely shared, and perhaps with additional features added by other members of the community. And being separate from the IDE itself it would maintain a healthy "separation of concerns" that often bogs down projects that don't stay mindful of such things. While poking around in the IDE I discovered a nifty command: revDocumentationGo e.g.: revDocumentationGo "securityPermissions" So quickly opening the Dictionary from a given Note card is a one-liner. For making the creation of Notes easier, I'll bet there's a handy way to obtain the token currently displayed in the Dictionary, so you could just click a "New" button and it would fill in the token name for you. All that's needed is for someone to take this on. Once it gets started, others would likely pitch in to help. Option B may also be good if you could start with one of the existing Dictionary replacements, like Bj?rnke's if he's up for that. Many of us still think of LiveCode in terms of a proprietary product, but the open source thang is more than just a gimme for educators and in-house developers: RunRev's open source initiative seems a very earnest effort to liberate the world with a really fun programming language; the Commercial Edition licenses are just a means to that end, keeping the pro devs in their audience happy with a proprietary license option and commercial-quality features, and enough money coming in to keep the whole effort going. The more time I've spent with open source projects, the more I've come to think of them as an "us" proposition, an opportunity for partnership between a vendor and their community to continually improve the software experience. Projects like the one you've proposed may well serve as a good example of this new dynamic, exploring ways to make the best use of resources both within the company and within the community. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys _______________________________________________ use-livecode mailing list use-livecode 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 Tue Mar 18 20:37:50 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Mar 2014 17:37:50 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <8A59C3D442AC4530A1F6EE3980459CEC@userd204a4d61c> References: <8A59C3D442AC4530A1F6EE3980459CEC@userd204a4d61c> Message-ID: <5328E6DE.4090806@fourthworld.com> larry wrote: > Hello Richard, > Great thoughts! I hope someone will do what you suggest. As I said, I > program as a hobby and not as a pro, so I'll have to leave it up to the rest > of you. But I know what features I would like! You may be selling yourself short, Larry. After all, we all started out as hobbyists, and became pros only when we discovered people wanted to pay us to pursue our hobby. :) I look forward to seeing what Vaughn's been working on. Sounds quite promising. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From vclement at gmail.com Tue Mar 18 22:09:48 2014 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 18 Mar 2014 19:09:48 -0700 Subject: I'm trying to rally the troops... In-Reply-To: References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: Hi Larry I would put it in live code but! The LC issue with relational databases is not so good. That is why the LC people used DataGrids to do the Dictionary and that doesn't present the best way to do searches and to use a relational table design. My issue with LiveCode is you need to first learn the language, and that is a starting point to then learn the scripting. I wanted to develop a tool that allows me to do a global search by a word, or a phrase and then see everything in the entire dictionary that has that word or phrase. It also needs to allow the users to add their own code or definitions data to any part of the dictionary. I wanted it to have subrecords under the main LC dictionary words where the user could add their own custom uses for that term. Then also have user defined search words that are a part of extensions and plugins. I also wanted plugin and extensions developers to add their custom content to the user defined area. Not done yet, then custom behaviors usage and custom property example can be added to the user defined records. The icing on the cake is the built in Google translation editor where users can convert any text to their language. All of the data will be available to edit, copy and paste into external media or scripts. NOTE: I have hundreds of hours in the development and that is only to add data, it will have ongoing support to maintain the dictionary. That does not include the hosting fees. So I will have two types of users, those who can see all of the records, but cannot edit or copy data. Then for an annual donation of $12.00 or $1 month per user you will have full access to all the features like editing copy, paste an so on. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Tue, Mar 18, 2014 at 5:19 PM, wrote: > Hello Vaughn, > That's great. I hope you're saying the app would integrate directly into > LiveCode? I really don't want to have it be a separate app, but even that > would be OK if your app also includes ALL the LC dictionary and notes. > > > ----- Original Message ----- From: "Vaughn Clement" > To: "How to use LiveCode" > Sent: Tuesday, March 18, 2014 6:13 PM > Subject: Re: I'm trying to rally the troops... > > > Hi larry >> >> I am in the process of doing just what your asking for, a dictionary that >> allows you to edit, add, and save code. It will be online in the next 15 >> days. I will even have Google translate in the app where you can convert >> the scripts or text to any language. I will annonce the app very soon. >> >> On Tuesday, March 18, 2014, wrote: >> >> Hello Everyone, >>> >>> Over a year ago I wrote to RR and suggested they allow the user to add >>> notes directly to the LC dictionary. (for private viewing) >>> >>> I understand why they need to approve notes that are added for public >>> viewing. >>> >>> But there are literally HUNDREDS of times where I have to figure >>> something >>> out that is NOT documented in the dictionary. A recent example: I had >>> trouble with the cursor disappearing once I compiled. Happily, >>> Jacqueline >>> answered the question in here for me. What I want to do is go to the >>> dictionary and make my OWN note about that under "cursor" - since I don't >>> have a photographic memory and because LC for me is a hobby and not a >>> profession, I will sometimes go months without using it. It's too >>> difficult to remember everything. >>> >>> Sure, I could make a spreadsheet with "cursor" in column 1 and my notes >>> in >>> column 2 - whatever. But that seems like a pretty dopey solution. >>> >>> I hope some of you will agree with me that this feature would be VERY >>> useful and a great timesaver. Then let's rattle the LC cage. >>> >>> Thanks for listening. >>> >>> Larry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> -- >> Thank you >> >> Vaughn Clement >> >> Apps by Vaughn Clement (Support) >> *http://www.appsbyvaughnclement.com/tools/home-page/ >> * >> >> Skype: vaughn.clement >> https://secure.join.me/appsbyvclement >> FaceTime: vclement at gmail.com >> LogMeIn also avaialble >> Call on "ooVoo" at address: vaughnclement or 9282549062 >> Ph. 928-254-9062 >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue Mar 18 22:44:09 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 18 Mar 2014 19:44:09 -0700 Subject: before vs on in behavior scripts In-Reply-To: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> Message-ID: How are you determining that "on" isn't working? Is it possible that "on" is executing immediately after "before"? Placing the following in a behavior script works fine here: before mouseUp answer "A" end mouseUp on mouseUp answer "B" end mouseUp If you need some kind of alternate behavior to take place after "before" that isn't "on", you might consider "after". I know, it's a lot of prepositions ... Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/18/14 4:33 PM, "Devin Asay" wrote: >All, > >If a button has a behavior attached to it, and the behavior script has a >'before mouseUp' handler, can the behavior script also have a 'on >mouseUp' handler? > >I could swear the answer was yes; I thought I had done that before, but >now when I try it, it doesn't work. (In LC 6.5.x. and 6.6.0RC2). Instead >I have to put the 'in mouseUp' in the button's script. > >Of course I might be completely missing the point of 'before' and 'after' >handlers. Wouldn't be the first time. > >Regards, > >Devin > > >Devin Asay >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 scott at tactilemedia.com Tue Mar 18 22:54:05 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 18 Mar 2014 19:54:05 -0700 Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> Message-ID: I didn't realize it until just now, but this is the order of events: before mouseUp answer "A" end mouseUp on mouseUp answer "B" end mouseUp after mouseUp answer "C" end mouseUp Really cool stuff for custom behaviors, but I'm still trying to come up with a nifty use for the "after" event. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/18/14 7:44 PM, "Scott Rossi" wrote: >How are you determining that "on" isn't working? Is it possible that "on" >is executing immediately after "before"? > >Placing the following in a behavior script works fine here: > >before mouseUp > answer "A" >end mouseUp > >on mouseUp > answer "B" >end mouseUp > > >If you need some kind of alternate behavior to take place after "before" >that isn't "on", you might consider "after". I know, it's a lot of >prepositions ... > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 3/18/14 4:33 PM, "Devin Asay" wrote: > >>All, >> >>If a button has a behavior attached to it, and the behavior script has a >>'before mouseUp' handler, can the behavior script also have a 'on >>mouseUp' handler? >> >>I could swear the answer was yes; I thought I had done that before, but >>now when I try it, it doesn't work. (In LC 6.5.x. and 6.6.0RC2). Instead >>I have to put the 'in mouseUp' in the button's script. >> >>Of course I might be completely missing the point of 'before' and 'after' >>handlers. Wouldn't be the first time. >> >>Regards, >> >>Devin >> >> >>Devin Asay >>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 >> > > > >_______________________________________________ >use-livecode mailing list >use-livecode 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 mwieder at ahsoftware.net Tue Mar 18 23:18:39 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 18 Mar 2014 20:18:39 -0700 Subject: I'm trying to rally the troops... In-Reply-To: References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: <192288772362.20140318201839@ahsoftware.net> Vaughn- Tuesday, March 18, 2014, 7:09:48 PM, you wrote: > All of the data will be available to edit, copy and paste into external > media or scripts. NOTE: I have hundreds of hours in the development and > that is only to add data, it will have ongoing support to maintain the > dictionary. That does not include the hosting fees. So I will have two > types of users, those who can see all of the records, but cannot edit or > copy data. Then for an annual donation of $12.00 or $1 month per user you > will have full access to all the features like editing copy, paste an so on. Sounds good. I'm in. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From larry at significantplanet.org Wed Mar 19 00:22:58 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 22:22:58 -0600 Subject: I'm trying to rally the troops... References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: Hi Vaughn, Whenever you're ready with it, I'll be your first customer. thanks, Larry ----- Original Message ----- From: "Vaughn Clement" To: "How to use LiveCode" Sent: Tuesday, March 18, 2014 8:09 PM Subject: Re: I'm trying to rally the troops... > Hi Larry > > I would put it in live code but! The LC issue with relational databases is > not so good. That is why the LC people used DataGrids to do the Dictionary > and that doesn't present the best way to do searches and to use a > relational table design. > > My issue with LiveCode is you need to first learn the language, and that > is > a starting point to then learn the scripting. I wanted to develop a tool > that allows me to do a global search by a word, or a phrase and then see > everything in the entire dictionary that has that word or phrase. It also > needs to allow the users to add their own code or definitions data to any > part of the dictionary. I wanted it to have subrecords under the main LC > dictionary words where the user could add their own custom uses for that > term. Then also have user defined search words that are a part of > extensions and plugins. I also wanted plugin and extensions developers to > add their custom content to the user defined area. Not done yet, then > custom behaviors usage and custom property example can be added to the > user > defined records. The icing on the cake is the built in Google translation > editor where users can convert any text to their language. > > All of the data will be available to edit, copy and paste into external > media or scripts. NOTE: I have hundreds of hours in the development and > that is only to add data, it will have ongoing support to maintain the > dictionary. That does not include the hosting fees. So I will have two > types of users, those who can see all of the records, but cannot edit or > copy data. Then for an annual donation of $12.00 or $1 month per user you > will have full access to all the features like editing copy, paste an so > on. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > > > > On Tue, Mar 18, 2014 at 5:19 PM, wrote: > >> Hello Vaughn, >> That's great. I hope you're saying the app would integrate directly into >> LiveCode? I really don't want to have it be a separate app, but even >> that >> would be OK if your app also includes ALL the LC dictionary and notes. >> >> >> ----- Original Message ----- From: "Vaughn Clement" >> To: "How to use LiveCode" >> Sent: Tuesday, March 18, 2014 6:13 PM >> Subject: Re: I'm trying to rally the troops... >> >> >> Hi larry >>> >>> I am in the process of doing just what your asking for, a dictionary >>> that >>> allows you to edit, add, and save code. It will be online in the next 15 >>> days. I will even have Google translate in the app where you can convert >>> the scripts or text to any language. I will annonce the app very soon. >>> >>> On Tuesday, March 18, 2014, wrote: >>> >>> Hello Everyone, >>>> >>>> Over a year ago I wrote to RR and suggested they allow the user to add >>>> notes directly to the LC dictionary. (for private viewing) >>>> >>>> I understand why they need to approve notes that are added for public >>>> viewing. >>>> >>>> But there are literally HUNDREDS of times where I have to figure >>>> something >>>> out that is NOT documented in the dictionary. A recent example: I had >>>> trouble with the cursor disappearing once I compiled. Happily, >>>> Jacqueline >>>> answered the question in here for me. What I want to do is go to the >>>> dictionary and make my OWN note about that under "cursor" - since I >>>> don't >>>> have a photographic memory and because LC for me is a hobby and not a >>>> profession, I will sometimes go months without using it. It's too >>>> difficult to remember everything. >>>> >>>> Sure, I could make a spreadsheet with "cursor" in column 1 and my notes >>>> in >>>> column 2 - whatever. But that seems like a pretty dopey solution. >>>> >>>> I hope some of you will agree with me that this feature would be VERY >>>> useful and a great timesaver. Then let's rattle the LC cage. >>>> >>>> Thanks for listening. >>>> >>>> Larry >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> -- >>> Thank you >>> >>> Vaughn Clement >>> >>> Apps by Vaughn Clement (Support) >>> *http://www.appsbyvaughnclement.com/tools/home-page/ >>> * >>> >>> Skype: vaughn.clement >>> https://secure.join.me/appsbyvclement >>> FaceTime: vclement at gmail.com >>> LogMeIn also avaialble >>> Call on "ooVoo" at address: vaughnclement or 9282549062 >>> Ph. 928-254-9062 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Mar 19 01:00:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 00:00:37 -0500 Subject: I'm trying to rally the troops... In-Reply-To: <5328E3C0.30605@fourthworld.com> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5328E3C0.30605@fourthworld.com> Message-ID: <53292475.40100@hyperactivesw.com> On 3/18/14, 7:24 PM, Richard Gaskin wrote: > C. Make an separate Notes stack that integrates with the Dictionary I like that idea a lot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Wed Mar 19 01:05:04 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 18 Mar 2014 23:05:04 -0600 Subject: I'm trying to rally the troops... References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c><5328E3C0.30605@fourthworld.com> <53292475.40100@hyperactivesw.com> Message-ID: <6719653D9C7B4AC39B840E79E7F80AE0@userd204a4d61c> Me too, Jacqueline! But who is going to do that? I wouldn't have a clue how to begin to make a separate Notes stack that integrates with the Dictionary. Help! Larry ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Tuesday, March 18, 2014 11:00 PM Subject: Re: I'm trying to rally the troops... > On 3/18/14, 7:24 PM, Richard Gaskin wrote: >> C. Make an separate Notes stack that integrates with the Dictionary > > I like that idea a lot. > > -- > 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 devin_asay at byu.edu Wed Mar 19 01:14:49 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 19 Mar 2014 05:14:49 +0000 Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> , Message-ID: <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> > On Mar 18, 2014, at 8:54 PM, "Scott Rossi" wrote: > > I didn't realize it until just now, but this is the order of events: > > before mouseUp > answer "A" > end mouseUp > > on mouseUp > answer "B" > end mouseUp > > after mouseUp > answer "C" > end mouseUp That's what I thought. But when I tried it earlier today it didn't work with both and after end and on handler. I'll go back and check to make sure I don't have another mouse up Hendler somewhere in the message path. Devin From jacque at hyperactivesw.com Wed Mar 19 01:26:33 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 00:26:33 -0500 Subject: before vs on in behavior scripts In-Reply-To: <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> , <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> Message-ID: <53292A89.3010903@hyperactivesw.com> On 3/19/14, 12:14 AM, Devin Asay wrote: > it didn't work with both and after end and on handler Lay off the Scotch, Devin. ;) Though actually, if you read it out loud, it makes sense. > I don't have another mouse up Hendler Reminds me of something I saw: "Frankly, auto-correct, I'm tired of your shirt." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 19 01:29:20 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 00:29:20 -0500 Subject: I'm trying to rally the troops... In-Reply-To: <6719653D9C7B4AC39B840E79E7F80AE0@userd204a4d61c> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c><5328E3C0.30605@fourthworld.com> <53292475.40100@hyperactivesw.com> <6719653D9C7B4AC39B840E79E7F80AE0@userd204a4d61c> Message-ID: <53292B30.1050102@hyperactivesw.com> On 3/19/14, 12:05 AM, larry at significantplanet.org wrote: > Me too, Jacqueline! > But who is going to do that? I wouldn't have a clue how to begin to > make a separate Notes stack that integrates with the Dictionary. Help! I'd have a clue, but I don't have the time. Let's make Richard do it, it was his idea. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Mar 19 04:13:05 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 10:13:05 +0200 Subject: 6.6 RC2 Release In-Reply-To: <1395174254725.74b1eff5@Nodemailer> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> Message-ID: <53295191.9030903@gmail.com> On 18/03/14 22:24, Gerry Orkin wrote: > Could people please limit the text they include from the message they are quoting when replying? A one line response followed by 50 lines of quoted text makes scrolling through messages on mobile devices a pain. > I'm sorry, but I am not going to take responsibility for your decision to read the Use-List using a mobile device. LOL. Richmond. From richmondmathewson at gmail.com Wed Mar 19 04:15:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 10:15:06 +0200 Subject: I'm trying to rally the troops... In-Reply-To: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> Message-ID: <5329520A.1040301@gmail.com> On 19/03/14 01:47, larry at significantplanet.org wrote: > Hello Everyone, > > Over a year ago I wrote to RR and suggested they allow the user to add notes directly to the LC dictionary. (for private viewing) > > I understand why they need to approve notes that are added for public viewing. > > But there are literally HUNDREDS of times where I have to figure something out that is NOT documented in the dictionary. A recent example: I had trouble with the cursor disappearing once I compiled. Happily, Jacqueline answered the question in here for me. What I want to do is go to the dictionary and make my OWN note about that under "cursor" - since I don't have a photographic memory and because LC for me is a hobby and not a profession, I will sometimes go months without using it. It's too difficult to remember everything. > > Sure, I could make a spreadsheet with "cursor" in column 1 and my notes in column 2 - whatever. But that seems like a pretty dopey solution. > > I hope some of you will agree with me that this feature would be VERY useful and a great timesaver. Then let's rattle the LC cage. > > Thanks for listening. > > Larry > _______________________________________________ That sounds a very good idea indeed. Richmond. From richmondmathewson at gmail.com Wed Mar 19 04:37:22 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 10:37:22 +0200 Subject: Font sizes and Ubuntu versions Message-ID: <53295742.4020803@gmail.com> This may be a bit of a niche problem [a niche consisting of me, myself and I], but problem it is, nevertheless (nice spot of grammatical inversion there): A series of EFL standalones I authored with LC/RR 2.2.1 on Linux about 6/7 years ago have been causing me some problems recently. All of those stacks were authored with the textFields set to a fontSize of 24. Until recently I was running the PCs in my school on Edubuntu 7.10 and Ubuntu 8.something, and the textFields were displaying text at size 24. I am gently changing my machines over to Xubuntu 12.04 LTS [and, thanks to the very sound advice from Mark Wieder, putting the 'Home' folder on a separate partition to the 'Root' partition; speeds things up no end]. BUT, now those standalones are displaying text at size 10!!!!! This is a PIB to say the least. So, here I am on my "day off" looking at the source stacks and feeling foolish. I have to do ONE thing, which I wonder how to do: and that is to guarantee that the texts will display at size 24. I don't know whether the problem has been because the textSize was set for each stack individually (rather than for either the card or the stack), whether this is something to do with the fact that they contain the 2.2.1 Linux engine (that is easily rectified), or something else. HOWEVER, as these standalones are used to fairly good effect on an almost daily basis I don't want to: 1. Chuck them out. 2. Put all the PCs back to Edubuntu 7.10. 3. Rewrite everything from scratch. Richmond. From williamdesmet at gmail.com Wed Mar 19 04:59:21 2014 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 19 Mar 2014 09:59:21 +0100 Subject: Font sizes and Ubuntu versions In-Reply-To: <53295742.4020803@gmail.com> References: <53295742.4020803@gmail.com> Message-ID: Hi Richmond, Could it be that the font names have changed on Xubuntu 12.04? Or the font is not present on Xubuntu 12.04? I see the same thing when I work with a font and the font is not installed on the pc the app is used on. greetings, William 2014-03-19 9:37 GMT+01:00 Richmond : > This may be a bit of a niche problem [a niche consisting of me, myself and > I], > but problem it is, nevertheless (nice spot of grammatical inversion there): > > A series of EFL standalones I authored with LC/RR 2.2.1 on Linux about 6/7 > years ago > have been causing me some problems recently. > > All of those stacks were authored with the textFields set to a fontSize of > 24. > > Until recently I was running the PCs in my school on Edubuntu 7.10 and > Ubuntu 8.something, and > the textFields were displaying text at size 24. > > I am gently changing my machines over to Xubuntu 12.04 LTS [and, thanks to > the very sound advice from > Mark Wieder, putting the 'Home' folder on a separate partition to the > 'Root' partition; speeds things up no end]. > > BUT, now those standalones are displaying text at size 10!!!!! > > This is a PIB to say the least. > > So, here I am on my "day off" looking at the source stacks and feeling > foolish. > > I have to do ONE thing, which I wonder how to do: and that is to guarantee > that the > texts will display at size 24. > > I don't know whether the problem has been because the textSize was set for > each stack individually > (rather than for either the card or the stack), whether this is something > to do with the fact that they > contain the 2.2.1 Linux engine (that is easily rectified), or something > else. > > HOWEVER, as these standalones are used to fairly good effect on an almost > daily basis I don't want to: > > 1. Chuck them out. > > 2. Put all the PCs back to Edubuntu 7.10. > > 3. Rewrite everything from scratch. > > 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 shawnlivecode at gmail.com Wed Mar 19 05:28:35 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 19 Mar 2014 04:28:35 -0500 Subject: I'm trying to rally the troops... In-Reply-To: <5329520A.1040301@gmail.com> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5329520A.1040301@gmail.com> Message-ID: This would be a great feature for the Commercial version ;) Another feature to differentiate the two versions. On Wed, Mar 19, 2014 at 3:15 AM, Richmond wrote: > On 19/03/14 01:47, larry at significantplanet.org wrote: > >> Hello Everyone, >> >> Over a year ago I wrote to RR and suggested they allow the user to add >> notes directly to the LC dictionary. (for private viewing) >> >> I understand why they need to approve notes that are added for public >> viewing. >> >> But there are literally HUNDREDS of times where I have to figure >> something out that is NOT documented in the dictionary. A recent example: >> I had trouble with the cursor disappearing once I compiled. Happily, >> Jacqueline answered the question in here for me. What I want to do is go >> to the dictionary and make my OWN note about that under "cursor" - since I >> don't have a photographic memory and because LC for me is a hobby and not a >> profession, I will sometimes go months without using it. It's too >> difficult to remember everything. >> >> Sure, I could make a spreadsheet with "cursor" in column 1 and my notes >> in column 2 - whatever. But that seems like a pretty dopey solution. >> >> I hope some of you will agree with me that this feature would be VERY >> useful and a great timesaver. Then let's rattle the LC cage. >> >> Thanks for listening. >> >> Larry >> _______________________________________________ >> > > That sounds a very good idea indeed. > > 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 Wed Mar 19 05:43:11 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 11:43:11 +0200 Subject: I'm trying to rally the troops... In-Reply-To: References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5329520A.1040301@gmail.com> Message-ID: <532966AF.7050506@gmail.com> On 19/03/14 11:28, Shawn Blc wrote: > This would be a great feature for the Commercial version ;) Another > feature to differentiate the two versions. > Raw Prawns! That would be a good thing for both versions. Having taken a quick shuftie at the Dictionary this morning, the idea should not be insurmountable to implement. Richmond. > > > On Wed, Mar 19, 2014 at 3:15 AM, Richmond wrote: > >> On 19/03/14 01:47, larry at significantplanet.org wrote: >> >>> Hello Everyone, >>> >>> Over a year ago I wrote to RR and suggested they allow the user to add >>> notes directly to the LC dictionary. (for private viewing) >>> >>> I understand why they need to approve notes that are added for public >>> viewing. >>> >>> But there are literally HUNDREDS of times where I have to figure >>> something out that is NOT documented in the dictionary. A recent example: >>> I had trouble with the cursor disappearing once I compiled. Happily, >>> Jacqueline answered the question in here for me. What I want to do is go >>> to the dictionary and make my OWN note about that under "cursor" - since I >>> don't have a photographic memory and because LC for me is a hobby and not a >>> profession, I will sometimes go months without using it. It's too >>> difficult to remember everything. >>> >>> Sure, I could make a spreadsheet with "cursor" in column 1 and my notes >>> in column 2 - whatever. But that seems like a pretty dopey solution. >>> >>> I hope some of you will agree with me that this feature would be VERY >>> useful and a great timesaver. Then let's rattle the LC cage. >>> >>> Thanks for listening. >>> >>> Larry >>> _______________________________________________ >>> >> That sounds a very good idea indeed. >> >> 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 gbojsza at gmail.com Wed Mar 19 05:48:38 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 19 Mar 2014 02:48:38 -0700 Subject: Telnet on Android Message-ID: I need to create an Android app that does a telnet session to a router and the n processes several command line arguments. Livecode's Android support doesn't currently support sockets so can anyone recommend a solution? The app does simply what I have described...when launched there should be a couple of buttons and nothing else. thanks, Glen From m.schonewille at economy-x-talk.com Wed Mar 19 05:59:17 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 10:59:17 +0100 Subject: Telnet on Android In-Reply-To: References: Message-ID: <53296A75.80206@economy-x-talk.com> Hi Glen, Can you tell more about this? Is this a router in an existing network environment? Is this a router that is yet to be designed? Can you alter the software in the router? Normally, you'd log in on a router over http and change the settings in your internet browser. I would expect this to be possible on an Android device too. If you can't change the software in the router and you can't write an external to use sockets, then you're probably out of options, unless you want to use ugly hacks like using another server in the middle. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/19/2014 10:48, Glen Bojsza wrote: > I need to create an Android app that does a telnet session to a router and > the n processes several command line arguments. > > Livecode's Android support doesn't currently support sockets so can anyone > recommend a solution? > > The app does simply what I have described...when launched there should be a > couple of buttons and nothing else. > > thanks, > > Glen From gbojsza at gmail.com Wed Mar 19 06:09:49 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 19 Mar 2014 03:09:49 -0700 Subject: Telnet on Android In-Reply-To: <53296A75.80206@economy-x-talk.com> References: <53296A75.80206@economy-x-talk.com> Message-ID: The router already is designed, built and deployed. Needs to be telnet since the app will use a special purpose command line built only for a specific admin level access so there are no other options. Believe it or not but the tablet connects via ethernet to the router...this is a very special application so I may need to go outside of Livecode from the looks of it. On Wed, Mar 19, 2014 at 2:59 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Glen, > > Can you tell more about this? Is this a router in an existing network > environment? Is this a router that is yet to be designed? Can you alter the > software in the router? > > Normally, you'd log in on a router over http and change the settings in > your internet browser. I would expect this to be possible on an Android > device too. > > If you can't change the software in the router and you can't write an > external to use sockets, then you're probably out of options, unless you > want to use ugly hacks like using another server in the middle. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > > On 3/19/2014 10:48, Glen Bojsza wrote: > >> I need to create an Android app that does a telnet session to a router and >> the n processes several command line arguments. >> >> Livecode's Android support doesn't currently support sockets so can anyone >> recommend a solution? >> >> The app does simply what I have described...when launched there should be >> a >> couple of buttons and nothing else. >> >> thanks, >> >> Glen >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 19 06:39:57 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 12:39:57 +0200 Subject: Font sizes and Ubuntu versions In-Reply-To: References: <53295742.4020803@gmail.com> Message-ID: <532973FD.20004@gmail.com> On 19/03/14 10:59, William de Smet wrote: > Hi Richmond, > > Could it be that the font names have changed on Xubuntu 12.04? Or the font > is not present on Xubuntu 12.04? > I see the same thing when I work with a font and the font is not installed > on the pc the app is used on. That's certainly a thought. I have to go back and look at the original stacks. What I cannot remember is whether I set the textFont as well as the textSize. However, whether the textFont was set or not, I cannot quite work out why the textSize is not preserved. Richmond. > greetings, > > William > > > > > 2014-03-19 9:37 GMT+01:00 Richmond : > >> This may be a bit of a niche problem [a niche consisting of me, myself and >> I], >> but problem it is, nevertheless (nice spot of grammatical inversion there): >> >> A series of EFL standalones I authored with LC/RR 2.2.1 on Linux about 6/7 >> years ago >> have been causing me some problems recently. >> >> All of those stacks were authored with the textFields set to a fontSize of >> 24. >> >> Until recently I was running the PCs in my school on Edubuntu 7.10 and >> Ubuntu 8.something, and >> the textFields were displaying text at size 24. >> >> I am gently changing my machines over to Xubuntu 12.04 LTS [and, thanks to >> the very sound advice from >> Mark Wieder, putting the 'Home' folder on a separate partition to the >> 'Root' partition; speeds things up no end]. >> >> BUT, now those standalones are displaying text at size 10!!!!! >> >> This is a PIB to say the least. >> >> So, here I am on my "day off" looking at the source stacks and feeling >> foolish. >> >> I have to do ONE thing, which I wonder how to do: and that is to guarantee >> that the >> texts will display at size 24. >> >> I don't know whether the problem has been because the textSize was set for >> each stack individually >> (rather than for either the card or the stack), whether this is something >> to do with the fact that they >> contain the 2.2.1 Linux engine (that is easily rectified), or something >> else. >> >> HOWEVER, as these standalones are used to fairly good effect on an almost >> daily basis I don't want to: >> >> 1. Chuck them out. >> >> 2. Put all the PCs back to Edubuntu 7.10. >> >> 3. Rewrite everything from scratch. >> >> 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 Wed Mar 19 07:33:43 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 19 Mar 2014 07:33:43 -0400 Subject: Telnet on Android In-Reply-To: References: <53296A75.80206@economy-x-talk.com> Message-ID: Coming in 6.6 is a 'secure socket' command (mentioned in the RC announcements). It is in RC 1 and RC 2, but I haven't looked to see if it is cross-platform. I would hope yes. Sent from my Android tablet On Mar 19, 2014 6:10 AM, "Glen Bojsza" wrote: > The router already is designed, built and deployed. > > Needs to be telnet since the app will use a special purpose command line > built only for a specific admin level access so there are no other options. > Believe it or not but the tablet connects via ethernet to the router...this > is a very special application so I may need to go outside of Livecode from > the looks of it. > > > On Wed, Mar 19, 2014 at 2:59 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi Glen, > > > > Can you tell more about this? Is this a router in an existing network > > environment? Is this a router that is yet to be designed? Can you alter > the > > software in the router? > > > > Normally, you'd log in on a router over http and change the settings in > > your internet browser. I would expect this to be possible on an Android > > device too. > > > > If you can't change the software in the router and you can't write an > > external to use sockets, then you're probably out of options, unless you > > want to use ugly hacks like using another server in the middle. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour > > spaces. http://www.color-converter.com > > > > Buy my new book "Programming LiveCode for the Real Beginner" > > http://qery.us/3fi > > > > LiveCode on Facebook: > > https://www.facebook.com/groups/runrev/ > > > > > > On 3/19/2014 10:48, Glen Bojsza wrote: > > > >> I need to create an Android app that does a telnet session to a router > and > >> the n processes several command line arguments. > >> > >> Livecode's Android support doesn't currently support sockets so can > anyone > >> recommend a solution? > >> > >> The app does simply what I have described...when launched there should > be > >> a > >> couple of buttons and nothing else. > >> > >> thanks, > >> > >> Glen > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mar 19 07:49:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 13:49:17 +0200 Subject: Font sizes and Ubuntu versions In-Reply-To: References: <53295742.4020803@gmail.com> Message-ID: <5329843D.90300@gmail.com> Thanks, William de Smet. The problem has now been "resolved" (if that's what building a whole slew of standalones all over again means): http://forums.runrev.com/viewtopic.php?f=20&t=19647&p=99475#p99475 This problem may also crop up with other people transferring standalones written for earlier recensions of operating systems onto more recent ones. Richmond. From dave at applicationinsight.com Wed Mar 19 08:22:05 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 19 Mar 2014 05:22:05 -0700 (PDT) Subject: Telnet on Android In-Reply-To: References: <53296A75.80206@economy-x-talk.com> Message-ID: <1395231725838-4677195.post@n4.nabble.com> According to the dictionary in 6.6.0 (rc2) Secure Socket is only for Mac/Win/Linux ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Telnet-on-Android-tp4677189p4677195.html Sent from the Revolution - User mailing list archive at Nabble.com. From bleiler at buffalo.edu Wed Mar 19 09:30:26 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 09:30:26 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 Message-ID: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> Hi, After doing a quick check, this problem has existed for at least a couple of versions, but I just noticed it. I've only checked on a Mac. When a new field is created it appears to be empty but the htmlText of the field is

. The number of lines reported for the field is 0. The text of the field is empty but the htmlText of the field is not. If you set the htmlText of the field to empty then test if the htmlText of the field is empty it is reported as false. Are others seeing this and is it a bug? Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From klaus at major-k.de Wed Mar 19 09:39:15 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Mar 2014 14:39:15 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> Message-ID: <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> Hi Tim, Am 19.03.2014 um 14:30 schrieb Tim Bleiler : > Hi, > > After doing a quick check, this problem has existed for at least a couple of versions, but I just noticed it. > > I've only checked on a Mac. > When a new field is created it appears to be empty but the htmlText of the field is

. > The number of lines reported for the field is 0. > The text of the field is empty but the htmlText of the field is not. > If you set the htmlText of the field to empty then test if the htmlText of the field is empty it is reported as false. > Are others seeing this and is it a bug? since

is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-) > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bleiler at buffalo.edu Wed Mar 19 10:02:28 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 10:02:28 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> Message-ID: <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: >> Are others seeing this and is it a bug? > > since

is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-) Thanks Klaus, I thought I should check on that before putting in a bug report. It seemed too obvious to have been missed. It does create an odd condition by Livecode standards however that you can set the htmlText to empty, then immediately test if the htmlText is empty and it returns false. I suspect that could confuse some people. Out of curiosity, do you know how "something" (

) came to be regarded as equivalent to empty? Tim From klaus at major-k.de Wed Mar 19 10:04:56 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Mar 2014 15:04:56 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: <758BDBB5-41FB-474B-8153-573C31BFAA08@major-k.de> Hi Tim, Am 19.03.2014 um 15:02 schrieb Tim Bleiler : > On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: >>> Are others seeing this and is it a bug? >> since

is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-) > Thanks Klaus, I thought I should check on that before putting in a bug report. It seemed too obvious to have been missed. > It does create an odd condition by Livecode standards however that you can set the htmlText to empty, then immediately test if the htmlText is empty and it returns false. > I suspect that could confuse some people. > Out of curiosity, do you know how "something" (

) came to be regarded as equivalent to empty? sorry, not the slightest idea :-) > Tim Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Wed Mar 19 10:05:29 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:05:29 +0200 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> Message-ID: <5329A429.1050000@gmail.com> On 19/03/14 15:39, Klaus major-k wrote: > Hi Tim, > > Am 19.03.2014 um 14:30 schrieb Tim Bleiler : > >> Hi, >> >> After doing a quick check, this problem has existed for at least a couple of versions, but I just noticed it. >> >> I've only checked on a Mac. >> When a new field is created it appears to be empty but the htmlText of the field is

. >> The number of lines reported for the field is 0. >> The text of the field is empty but the htmlText of the field is not. >> If you set the htmlText of the field to empty then test if the htmlText of the field is empty it is reported as false. >> Are others seeing this and is it a bug? > since

is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-) Just tested this in both LC 6.6 and 4.5; and the result is just the same: set up 2 fields, "f1" and "f2" and a button with this script: on mouseUp put the htmlText of fld "f1" into fld "f2" end mouseUp and you end up, indeed, with

/

in field "f2" ____________________________ what is interesting is that if you run this in the Message box: put empty into fld "f1" the htmlText of fld "f1" is still

------------------------------------ Which would argue that RunRev have set that like that intentionally. I agree with Klaus! Richmond. > >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo > 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 richmondmathewson at gmail.com Wed Mar 19 10:07:51 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:07:51 +0200 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: <5329A4B7.9010807@gmail.com> On 19/03/14 16:02, Tim Bleiler wrote: > On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: > >>> Are others seeing this and is it a bug? >> since

is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-) > > Thanks Klaus, I thought I should check on that before putting in a bug report. It seemed too obvious to have been missed. > > It does create an odd condition by Livecode standards however that you can set the htmlText to empty, then immediately test if the htmlText is empty and it returns false. I suspect that could confuse some people. > > Out of curiosity, do you know how "something" (

) came to be regarded as equivalent to empty? Well, of course that's logically fairly crappy. The way to test if an htmlField is empty is surely something like this: if the htmlText of fld "f1" is not "

" then put "Yippee-Do, 'tis empty my friend!" end if Richmond. > > Tim > _______________________________________________ > use-livecode mailing list > use-livecode 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 m.schonewille at economy-x-talk.com Wed Mar 19 10:09:58 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 15:09:58 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: <5329A536.5040102@economy-x-talk.com> Hi Tim, Why would you want to do this? To make a field empty, just put empty into the field and if you want you can test that it is empty: put empty into fld 1 put (fld 1 is empty) --> true This clears the text, the htmlText, the unicodeText and the rtfText of the field. Why would you want to test that only the htmlText is empty? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/19/2014 15:02, Tim Bleiler wrote: > > On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: > >>> Are others seeing this and is it a bug? >> >> since

is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-) > > > Thanks Klaus, I thought I should check on that before putting in a bug report. It seemed too obvious to have been missed. > > It does create an odd condition by Livecode standards however that you can set the htmlText to empty, then immediately test if the htmlText is empty and it returns false. I suspect that could confuse some people. > > Out of curiosity, do you know how "something" (

) came to be regarded as equivalent to empty? > > Tim From bleiler at buffalo.edu Wed Mar 19 10:10:40 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 10:10:40 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329A4B7.9010807@gmail.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A4B7.9010807@gmail.com> Message-ID: On Mar 19, 2014, at 10:07 AM, Richmond wrote: > Well, of course that's logically fairly crappy. > > The way to test if an htmlField is empty is surely something like this: > > if the htmlText of fld "f1" is not "

" then > put "Yippee-Do, 'tis empty my friend!" > end if Sure, it's easy to deal with and I can live with it, but I do wonder why empty is not empty in this one case. Tim From bleiler at buffalo.edu Wed Mar 19 10:12:51 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 10:12:51 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329A536.5040102@economy-x-talk.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> Message-ID: <11DED516-0D21-4352-8435-B2B8A6CE9FBC@buffalo.edu> On Mar 19, 2014, at 10:09 AM, Mark Schonewille wrote: > This clears the text, the htmlText, the unicodeText and the rtfText of the field. Why would you want to test that only the htmlText is empty? Yes, all true, it's definitely easy to deal with. I stumbled on it by accident and thought it was odd behavior that could be confusing to people. Tim From richmondmathewson at gmail.com Wed Mar 19 10:12:52 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:12:52 +0200 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329A536.5040102@economy-x-talk.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> Message-ID: <5329A5E4.8010506@gmail.com> On 19/03/14 16:09, Mark Schonewille wrote: > Hi Tim, > > Why would you want to do this? To make a field empty, just put empty > into the field and if you want you can test that it is empty: > > put empty into fld 1 > put (fld 1 is empty) --> true > > This clears the text, the htmlText, Not exactly: "put empty into fld 1" still leaves "

" in the field, OR, at least when one does something like this: put the htmlText of fld 1 into fld 2 one ends up with "

" in fld 2. Richmond. > the unicodeText and the rtfText of the field. Why would you want to > test that only the htmlText is empty? > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 3/19/2014 15:02, Tim Bleiler wrote: >> >> On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: >> >>>> Are others seeing this and is it a bug? >>> >>> since

is in fact the HTML equivalent to "empty/no text" I >>> would not consider this a bug :-) >> >> >> Thanks Klaus, I thought I should check on that before putting in a >> bug report. It seemed too obvious to have been missed. >> >> It does create an odd condition by Livecode standards however that >> you can set the htmlText to empty, then immediately test if the >> htmlText is empty and it returns false. I suspect that could confuse >> some people. >> >> Out of curiosity, do you know how "something" (

) came to be >> regarded as equivalent to empty? >> >> Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 19 10:14:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:14:17 +0200 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A4B7.9010807@gmail.com> Message-ID: <5329A639.9040700@gmail.com> On 19/03/14 16:10, Tim Bleiler wrote: > On Mar 19, 2014, at 10:07 AM, Richmond wrote: > >> Well, of course that's logically fairly crappy. >> >> The way to test if an htmlField is empty is surely something like this: >> >> if the htmlText of fld "f1" is not "

" then >> put "Yippee-Do, 'tis empty my friend!" >> end if > > Sure, it's easy to deal with and I can live with it, but I do wonder why empty is not empty in this one case. When I was a kid I wondered why babies were born the way they were, rather than in hygienically packaged eggs like chickens. Richmond. > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 19 10:18:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 09:18:10 -0500 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: To me it looks like the engine wraps the html in opening and closing tags, and when there is no content it forgets to take them off. I think the logical concept of empty outweighs the technical meaning of the html and it's a bug. On March 19, 2014 9:02:28 AM CDT, Tim Bleiler wrote: > >On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: > >It does create an odd condition by Livecode standards however that you >can set the htmlText to empty, then immediately test if the htmlText is >empty and it returns false. I suspect that could confuse some people. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bleiler at buffalo.edu Wed Mar 19 10:18:44 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 10:18:44 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329A639.9040700@gmail.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A4B7.9010807@gmail.com> <5329A639.9040700@gmail.com> Message-ID: On Mar 19, 2014, at 10:14 AM, Richmond wrote: > When I was a kid I wondered why babies were born the way they were, rather than in hygienically packaged eggs > like chickens. Great! Thanks, Richmond. Now I've got to worry about that, too! Tim From klaus at major-k.de Wed Mar 19 10:24:57 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Mar 2014 15:24:57 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A4B7.9010807@gmail.com> <5329A639.9040700@gmail.com> Message-ID: <9178FEF2-AB65-45C9-9135-150BA26559A1@major-k.de> Hi Tim, Am 19.03.2014 um 15:18 schrieb Tim Bleiler : > On Mar 19, 2014, at 10:14 AM, Richmond wrote: > >> When I was a kid I wondered why babies were born the way they were, rather than in hygienically packaged eggs >> like chickens. > > Great! Thanks, Richmond. Now I've got to worry about that, too! :-D :-D :-D > Tim Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Wed Mar 19 10:26:47 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Mar 2014 07:26:47 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <532966AF.7050506@gmail.com> References: <532966AF.7050506@gmail.com> Message-ID: <5329A927.309@fourthworld.com> Richmond wrote: > On 19/03/14 11:28, Shawn Blc wrote: >> This would be a great feature for the Commercial version ;) Another >> feature to differentiate the two versions. > > Raw Prawns! > > That would be a good thing for both versions. > > Having taken a quick shuftie at the Dictionary this morning, the idea > should not be insurmountable to implement. I agree that it would be best to produce some sort of enhancement for personal annotations that could be used by everyone, Commercial and Community users alike. In an ideal world LiveCode would be everywhere, with a solid majority of its users enjoying the free Community Edition - indeed, that may well be the case already. The Commercial Edition offers a proprietary license - that should be sufficient enticement for those who need that. For everything else, at least where a feature poses no logical conflict with the GPL (such as script encryption), parity between Community and Commercial is a valuable goal. My only hesitation here is with attempting to modify the existing Dictionary stack, esp. given the scope of changes the team is implementing for v7 and beyond. But a separate Notes stack that can instantly open relevant Dictionary entries with the IDE's revDocumentationGo command would be easily achievable, and an ideal community project since it would require no coordination with the RunRev IDE team. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bleiler at buffalo.edu Wed Mar 19 10:29:57 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 10:29:57 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: <9F2AA11A-9151-4F9A-820B-4FD6A1E1B623@buffalo.edu> On Mar 19, 2014, at 10:18 AM, J. Landman Gay wrote: > To me it looks like the engine wraps the html in opening and closing tags, and when there is no content it forgets to take them off. I think the logical concept of empty outweighs the technical meaning of the html and it's a bug. Being a contrarian again, Jacqueline? I was all set to forget about this. I really hate posting bug reports that aren't bugs but I agree with you on this from my Livecode centric world view. Anyone else have any insights into the Livecode riddle of "when is empty not really empty"? Tim From m.schonewille at economy-x-talk.com Wed Mar 19 10:30:34 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 15:30:34 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329A5E4.8010506@gmail.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> <5329A5E4.8010506@gmail.com> Message-ID: <5329AA0A.3020609@economy-x-talk.com> Richmond, That's a matter of interpretation. By "clearing the htmlText" I mean "resetting it to "

". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/19/2014 15:12, Richmond wrote: > On 19/03/14 16:09, Mark Schonewille wrote: >> Hi Tim, >> >> Why would you want to do this? To make a field empty, just put empty >> into the field and if you want you can test that it is empty: >> >> put empty into fld 1 >> put (fld 1 is empty) --> true >> >> This clears the text, the htmlText, > > Not exactly: "put empty into fld 1" still leaves "

" in the field, > OR, at least when one does something like this: > > put the htmlText of fld 1 into fld 2 > > one ends up with "

" in fld 2. > > Richmond. > From richmondmathewson at gmail.com Wed Mar 19 10:33:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:33:44 +0200 Subject: I'm trying to rally the troops... In-Reply-To: <5329A927.309@fourthworld.com> References: <532966AF.7050506@gmail.com> <5329A927.309@fourthworld.com> Message-ID: <5329AAC8.7050209@gmail.com> On 19/03/14 16:26, Richard Gaskin wrote: > Richmond wrote: > >> On 19/03/14 11:28, Shawn Blc wrote: >>> This would be a great feature for the Commercial version ;) Another >>> feature to differentiate the two versions. >> >> Raw Prawns! >> >> That would be a good thing for both versions. >> >> Having taken a quick shuftie at the Dictionary this morning, the idea >> should not be insurmountable to implement. > > I agree that it would be best to produce some sort of enhancement for > personal annotations that could be used by everyone, Commercial and > Community users alike. > > In an ideal world LiveCode would be everywhere, with a solid majority > of its users enjoying the free Community Edition - indeed, that may > well be the case already. > > The Commercial Edition offers a proprietary license - that should be > sufficient enticement for those who need that. > > For everything else, at least where a feature poses no logical > conflict with the GPL (such as script encryption), parity between > Community and Commercial is a valuable goal. > > My only hesitation here is with attempting to modify the existing > Dictionary stack, esp. given the scope of changes the team is > implementing for v7 and beyond. I don't think there is much point with mucking around with the Dictionary stack right now. However, when we see what the Dictionary looks like in version 7: 1. Just the same but with more words. 2. Completely redesigned. Either somebody can hack the Dictionary stack as it is [doesn't get me vote], or somebody can write a 'hack-stack' which people can use to add features to the Dictionary stack, AND [very important] UNDO changes they don't like. ---------------------------------------------- When people think of additional features, I feel that the 'hack-stack' route is a better bet than mucking around with the original thing - these could be rather like those little things you dropped into your Mac OS 7,8,9 system folder to enhance things: easily added and easily removed. From time to time Apple would then roll the more successful features into their next release. --------------------------------------------- Richmond. > > But a separate Notes stack that can instantly open relevant Dictionary > entries with the IDE's revDocumentationGo command would be easily > achievable, and an ideal community project since it would require no > coordination with the RunRev IDE team. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 m.schonewille at economy-x-talk.com Wed Mar 19 10:35:28 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 15:35:28 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> Jacque, In the past 15 years I never had any problems with htmlText always containing p tags, even if the text of the field was empty. Therefore, I think it is no bug. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 19 mrt 2014, at 15:18, J. Landman Gay wrote: > To me it looks like the engine wraps the html in opening and closing tags, and when there is no content it forgets to take them off. I think the logical concept of empty outweighs the technical meaning of the html and it's a bug. From richmondmathewson at gmail.com Wed Mar 19 10:36:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:36:20 +0200 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329AA0A.3020609@economy-x-talk.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> <5329A5E4.8010506@gmail.com> <5329AA0A.3020609@economy-x-talk.com> Message-ID: <5329AB64.10900@gmail.com> On 19/03/14 16:30, Mark Schonewille wrote: > Richmond, > > That's a matter of interpretation. By "clearing the htmlText" I mean > "resetting it to "

". Well, now we have 2 conumdrums for the price of one: 1. When is 'empty' empty? 2. When does "clearing the text" clear the text? Well; even if nothing else, some of us have had a wee drop of fun at a slack time in the week :) Richmond. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 3/19/2014 15:12, Richmond wrote: >> On 19/03/14 16:09, Mark Schonewille wrote: >>> Hi Tim, >>> >>> Why would you want to do this? To make a field empty, just put empty >>> into the field and if you want you can test that it is empty: >>> >>> put empty into fld 1 >>> put (fld 1 is empty) --> true >>> >>> This clears the text, the htmlText, >> >> Not exactly: "put empty into fld 1" still leaves "

" in the field, >> OR, at least when one does something like this: >> >> put the htmlText of fld 1 into fld 2 >> >> one ends up with "

" in fld 2. >> >> 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 bleiler at buffalo.edu Wed Mar 19 10:37:28 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 10:37:28 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329AA0A.3020609@economy-x-talk.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> <5329A5E4.8010506@gmail.com> <5329AA0A.3020609@economy-x-talk.com> Message-ID: On Mar 19, 2014, at 10:30 AM, Mark Schonewille wrote: > That's a matter of interpretation. By "clearing the htmlText" I mean "resetting it to "

". On Mar 19, 2014, at 10:35 AM, Mark Schonewille wrote: > Jacque, > > In the past 15 years I never had any problems with htmlText always containing p tags, even if the text of the field was empty. Therefore, I think it is no bug. It seems inconsistent by Livecode conventions, though. I hit it because I was doing a lot of htmlText work and the "null" condition came up so I just tested against the htmlText property instead of the text. When I discovered what was actually in the property I quickly moved on. But, I've been doing this for 20 years and it didn't really slow me down much but wouldn't a beginner be pretty confused by this? Tim From m.schonewille at economy-x-talk.com Wed Mar 19 10:45:17 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 15:45:17 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> <5329A5E4.8010506@gmail.com> <5329AA0A.3020609@economy-x-talk.com> Message-ID: Tim, I would expect a real beginner to use the put command: put fld x into fld y put something into fld x put fld y into something etc. Once your going to use htmlText, perhaps you're not a real beginner anymore. It seems you have a lot of experience with other programming language. Perhaps that's te culprit and not being a "beginner". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 19 mrt 2014, at 15:37, Tim Bleiler wrote: > > > It seems inconsistent by Livecode conventions, though. I hit it because I was doing a lot of htmlText work and the "null" condition came up so I just tested against the htmlText property instead of the text. When I discovered what was actually in the property I quickly moved on. But, I've been doing this for 20 years and it didn't really slow me down much but wouldn't a beginner be pretty confused by this? > > Tim From richmondmathewson at gmail.com Wed Mar 19 10:53:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 16:53:58 +0200 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <5329A536.5040102@economy-x-talk.com> <5329A5E4.8010506@gmail.com> <5329AA0A.3020609@economy-x-talk.com> Message-ID: <5329AF86.1060106@gmail.com> On 19/03/14 16:45, Mark Schonewille wrote: > Tim, > > I would expect a real beginner to use the put command: > > put fld x into fld y > put something into fld x > put fld y into something > etc. > > Once your going to use htmlText, perhaps you're not a real beginner anymore. It seems you have a lot of experience with other programming language. Perhaps that's te culprit and not being a "beginner". If you try "PUTIN" you are a real beginner, or an uncritical Greater-Russian Imperialist . . . LOL --------------------------------------------------------- As soon as one starts using set the htmlText of fld 2 to the htmlText of fld 1 or set the unicodeText of fld 2 to the unicodeText of fld 1 && numToChar(1852) one is no longer completely green. ------------------------------------------------------- Mind you; even the "conceptual leap" from using 'field' to 'fld' shows that one has been mucking around for a while :) Richmond. > -- > Best regards, > > Mark Schonewille > > From bobsneidar at iotecdigital.com Wed Mar 19 11:16:10 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Mar 2014 15:16:10 +0000 Subject: before vs on in behavior scripts In-Reply-To: <53292A89.3010903@hyperactivesw.com> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> , <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: Actually, you need to down a few, and then all of this makes sense. Bob On Mar 18, 2014, at 22:26 , J. Landman Gay wrote: > On 3/19/14, 12:14 AM, Devin Asay wrote: >> it didn't work with both and after end and on handler > > Lay off the Scotch, Devin. ;) Though actually, if you read it out loud, it makes sense. > > > I don't have another mouse up Hendler > > Reminds me of something I saw: "Frankly, auto-correct, I'm tired of your shirt." > > -- > 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 bobsneidar at iotecdigital.com Wed Mar 19 11:18:43 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Mar 2014 15:18:43 +0000 Subject: 6.6 RC2 Release In-Reply-To: <1395174254725.74b1eff5@Nodemailer> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> Message-ID: <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> I agree that people should select the pertinent text to be quoted before replying. It?s just good email etiquette. However, there may be an option to reverse the direction of the quoted text to place it at the top instead of the bottom of the post. Bob On Mar 18, 2014, at 13:24 , Gerry Orkin > wrote: Could people please limit the text they include from the message they are quoting when replying? A one line response followed by 50 lines of quoted text makes scrolling through messages on mobile devices a pain. Thanks. Gerry From ludovic.thebault at laposte.net Wed Mar 19 11:20:30 2014 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 19 Mar 2014 16:20:30 +0100 Subject: Livecode and Genymotion Message-ID: <7A2C2F64-A2FC-4D1A-91F5-59C8EE670A4A@laposte.net> Hello, Anyone use Genymotion to test android app ? I cannot succeed to launch my apps on it, they crashes at launch (but works with the "official" way). I add my app to the device by dragging the apk on the window of the virtual device (i set the settings to allow unknow sources). Thanks From pete at lcsql.com Wed Mar 19 11:22:09 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 19 Mar 2014 08:22:09 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <532966AF.7050506@gmail.com> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5329520A.1040301@gmail.com> <532966AF.7050506@gmail.com> Message-ID: I hope Bjornke picks up on this. His Docu2 plugin is already a better way to view the dictionary and already provides the search mechanisms that have been mentioned . Since it's based on an sqlite database, I suspect it would be relatively easy to add a Notes table and associated access routines. Pete lcSQL Software On Mar 19, 2014 2:43 AM, "Richmond" wrote: > On 19/03/14 11:28, Shawn Blc wrote: > >> This would be a great feature for the Commercial version ;) Another >> feature to differentiate the two versions. >> >> > Raw Prawns! > > That would be a good thing for both versions. > > Having taken a quick shuftie at the Dictionary this morning, the idea > should not be insurmountable to implement. > > Richmond. > > >> >> On Wed, Mar 19, 2014 at 3:15 AM, Richmond >> wrote: >> >> On 19/03/14 01:47, larry at significantplanet.org wrote: >>> >>> Hello Everyone, >>>> >>>> Over a year ago I wrote to RR and suggested they allow the user to add >>>> notes directly to the LC dictionary. (for private viewing) >>>> >>>> I understand why they need to approve notes that are added for public >>>> viewing. >>>> >>>> But there are literally HUNDREDS of times where I have to figure >>>> something out that is NOT documented in the dictionary. A recent >>>> example: >>>> I had trouble with the cursor disappearing once I compiled. Happily, >>>> Jacqueline answered the question in here for me. What I want to do is >>>> go >>>> to the dictionary and make my OWN note about that under "cursor" - >>>> since I >>>> don't have a photographic memory and because LC for me is a hobby and >>>> not a >>>> profession, I will sometimes go months without using it. It's too >>>> difficult to remember everything. >>>> >>>> Sure, I could make a spreadsheet with "cursor" in column 1 and my notes >>>> in column 2 - whatever. But that seems like a pretty dopey solution. >>>> >>>> I hope some of you will agree with me that this feature would be VERY >>>> useful and a great timesaver. Then let's rattle the LC cage. >>>> >>>> Thanks for listening. >>>> >>>> Larry >>>> _______________________________________________ >>>> >>>> That sounds a very good idea indeed. >>> >>> 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 devin_asay at byu.edu Wed Mar 19 11:24:54 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 19 Mar 2014 15:24:54 +0000 Subject: before vs on in behavior scripts In-Reply-To: <53292A89.3010903@hyperactivesw.com> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> , <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: <56C2F22B-7D1D-4740-83B6-544988EBFC81@byu.edu> On Mar 18, 2014, at 11:26 PM, "J. Landman Gay" wrote: > On 3/19/14, 12:14 AM, Devin Asay wrote: >> it didn't work with both and after end and on handler > > Lay off the Scotch, Devin. ;) Though actually, if you read it out loud, it makes sense. > > > I don't have another mouse up Hendler > > Reminds me of something I saw: "Frankly, auto-correct, I'm tired of your shirt." Hey, I resemble that remark. I typed the whole thing with my own fink hairs! (Stop that, Siri!) Devin Devin Asay Office of Digital Humanities Brigham Young University From bobsneidar at iotecdigital.com Wed Mar 19 11:25:53 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Mar 2014 15:25:53 +0000 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> Message-ID: <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> I do not see this as a bug. Is it possible that there is some HTML convention that requires some kind of tag/ending tag to be present for a page to be considered an html page? And I agree with Richmond that if a field is empty, there is NO POSSIBLE WAY for the HTML Text of the field to be anything other than

, so I am struggling to see when this would present an impassible problem. Bob On Mar 19, 2014, at 07:18 , J. Landman Gay wrote: > To me it looks like the engine wraps the html in opening and closing tags, and when there is no content it forgets to take them off. I think the logical concept of empty outweighs the technical meaning of the html and it's a bug. > > On March 19, 2014 9:02:28 AM CDT, Tim Bleiler wrote: >> >> On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote: > >> >> It does create an odd condition by Livecode standards however that you >> can set the htmlText to empty, then immediately test if the htmlText is >> empty and it returns false. I suspect that could confuse some people. >> > > > -- > 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 bleiler at buffalo.edu Wed Mar 19 11:40:08 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 11:40:08 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> Message-ID: On Mar 19, 2014, at 11:25 AM, Bob Sneidar wrote: > I do not see this as a bug. Is it possible that there is some HTML convention that requires some kind of tag/ending tag to be present for a page to be considered an html page? And I agree with Richmond that if a field is empty, there is NO POSSIBLE WAY for the HTML Text of the field to be anything other than

, so I am struggling to see when this would present an impassible problem. It's certainly not an impassible problem and I don't think it's a bug either. It is a little inconsistent from a strict Livecode perspective and might cause some confusion. The key concept to remember, for newbies and old farts like me alike, is that the htmlText is a property for FORMATTING text, it is not THE TEXT. Use it with respect and caution. Maybe a little clarification in the htmlText entry of the dictionary would be sufficient. Tim From jacque at hyperactivesw.com Wed Mar 19 11:45:56 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 10:45:56 -0500 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> Message-ID: <5329BBB4.5090604@hyperactivesw.com> On 3/19/14, 9:35 AM, Mark Schonewille wrote: > In the past 15 years I never had any problems with htmlText always > containing p tags, even if the text of the field was empty. > Therefore, I think it is no bug. I haven't had any problem with it either, but that doesn't mean it isn't a bug. Consider this, which is very similar to what my current project does: A user enters some styled text into a field. The text is stored as htmltext in a custom property. Because the field is a background field, there may be many of these properties per field, and the correct text is displayed based on the stack's current status. In my project, a preOpenCard handler looks for the correct property to determine which text to display. In some cases the script needs to determine whether the custom property has content or not in order to take action. Because the text in the field may not be the text that needs to be checked, the custom property is checked. If it contains paragraph tags, it isn't empty and the script fails. (In my case this doesn't matter; in other cases it could.) I anticipate you will say "don't put anything in the custom property if you plan to check it" -- but if the content is set by the user then we have no control over that. And I agree -- if there is no content, then the engine should not put anything into the custom property. It isn't difficult to script around the behavior but I think it shouldn't happen in the first place. And it does defy the definition of "empty." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Wed Mar 19 11:54:03 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 16:54:03 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329BBB4.5090604@hyperactivesw.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: <5329BD9B.8070406@economy-x-talk.com> Jacque, I don't agree and the solution is simple: just include a statement in the docs that the htmlText property is never empty but always returns at least one pair of p tags. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/19/2014 16:45, J. Landman Gay wrote: > On 3/19/14, 9:35 AM, Mark Schonewille wrote: >> In the past 15 years I never had any problems with htmlText always >> containing p tags, even if the text of the field was empty. >> Therefore, I think it is no bug. > > I haven't had any problem with it either, but that doesn't mean it isn't > a bug. Consider this, which is very similar to what my current project > does: > > A user enters some styled text into a field. The text is stored as > htmltext in a custom property. > > Because the field is a background field, there may be many of these > properties per field, and the correct text is displayed based on the > stack's current status. In my project, a preOpenCard handler looks for > the correct property to determine which text to display. > > In some cases the script needs to determine whether the custom property > has content or not in order to take action. Because the text in the > field may not be the text that needs to be checked, the custom property > is checked. > > If it contains paragraph tags, it isn't empty and the script fails. (In > my case this doesn't matter; in other cases it could.) > > I anticipate you will say "don't put anything in the custom property if > you plan to check it" -- but if the content is set by the user then we > have no control over that. And I agree -- if there is no content, then > the engine should not put anything into the custom property. > > It isn't difficult to script around the behavior but I think it > shouldn't happen in the first place. And it does defy the definition of > "empty." > From jacque at hyperactivesw.com Wed Mar 19 11:57:31 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 10:57:31 -0500 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> Message-ID: <5329BE6B.9050406@hyperactivesw.com> On 3/19/14, 10:25 AM, Bob Sneidar wrote: > I am struggling to see when this would present an impassible problem. I grant that it's trivial and not a high priority. But it makes the language inconsistent, and I see that as the primary issue. I gave an example in another post of how it could affect scripts. Try this in a newly created field with no content: set the cText of this cd to the htmltext of fld 1 put (the cText of this cd = empty) Empty is no longer empty. Sometimes it will matter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From neil at runrev.com Wed Mar 19 12:01:50 2014 From: neil at runrev.com (Neil Roger) Date: Wed, 19 Mar 2014 16:01:50 +0000 Subject: Livecode and Genymotion In-Reply-To: <7A2C2F64-A2FC-4D1A-91F5-59C8EE670A4A@laposte.net> References: <7A2C2F64-A2FC-4D1A-91F5-59C8EE670A4A@laposte.net> Message-ID: <5329BF6E.3060702@runrev.com> Hi Ludovic, GennyMotion is built on x86 architecture and this is why LiveCode Android apps will not run on this emulator (they are ARM based). However, I did have some success installing the ARM Translation Installer v1.1 found on the following XDA developer post http://forum.xda-developers.com/showthread.php?t=2528952 I have to say, it is nice to have a fast Android Emulator to test on :) Kind Regards,? Neil Roger -- RunRev Support Team ~ http://www.runrev.com ------ On 19/03/2014 15:20, Ludovic THEBAULT wrote: > Hello, > > Anyone use Genymotion to test android app ? > > I cannot succeed to launch my apps on it, they crashes at launch (but works with the "official" way). I add my app to the device by dragging the apk on the window of the virtual device (i set the settings to allow unknow sources). > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode 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 alain.vezina at logilangue.com Wed Mar 19 12:03:23 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Wed, 19 Mar 2014 12:03:23 -0400 Subject: package maker In-Reply-To: <7E58D327-D58A-4C30-A5BC-D5B7B9342687@logilangue.com> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> <5321DF8A.9070703@gmail.com> <91562F3F-EF45-4686-BEFA-7424D6E6755D@logilangue.com> <52E71219-1338-410E-815C-34D11C3BFE86@m-r-d.de> <7E58D327-D58A-4C30-A5BC-D5B7B9342687@logilangue.com> Message-ID: <43149A7D-F3CB-47F1-954F-3E387F07FD45@logilangue.com> Hi All, Here is the answer I received this morning from Ohanaware : "Pleased to hear that you like our App Wrapper, on the main page, unselect ?Change Version?. It?s designed to automatically reformat your version number to Apple?s suggested format. However it shouldn?t be enabled when you version is only 3 places. So I will look into this. " I would have like to try it right now but my 15 day trial version no longer works, enven if 8 days are left. I posted this problem to Ohanaware Alain V?zina Logilangue 514-596-1385 www.logilangue.com Le 2014-03-13 ? 16:15, Alain Vezina a ?crit : > Hi Matthias, > > You can count on me. I like when someone helps me, so I will do the same. > > Regards, > > Alain V?zina > Logilangue > 514-596-1385 > www.logilangue.com > > > Le 2014-03-13 ? 15:59, Matthias Rebbe | M-R-D a ?crit : > >> Hi Alain, >> >> it would be nice, if you would share Ohanaware?s answer to your support request after you received it. >> This would help others who have same problem. >> >> Regards, >> >> Matthias >> >> >> Am 13.03.2014 um 18:01 schrieb Alain Vezina : >> >>> That?s what I did. I?m waiting for an answer. >>> >>> Alain V?zina >>> >>> Le 2014-03-13 ? 12:40, Marty Knapp a ?crit : >>> >>>> I would contact Ohanaware and let them know. He's a great guy and very responsive so if there's an issue with App Wrapper that needs to be fixed I'm sure he'll take care of it. >>>> >>>> Marty Knapp >>>>> Hi Matthias, >>>>> >>>>> Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. >>>>> At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. >>>>> >>>>> So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. >>>>> >>>>> Regards >>>>> >>>>> Alain >>>>> >>>>> Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : >>>>> >>>>>> Hi Alain, >>>>>> >>>>>> there is "App Wrapper? from Ohanaware. >>>>>> They published some information about Mavericks & Codesigning for LiveCode apps. >>>>>> >>>>>> http://www.ohanaware.com/support/mavericksCodesign.php#liveCode >>>>>> >>>>>> I did not try it yet, but it reads and sounds reasonable. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Matthias Rebbe >>>>>> >>>>>> >>>>>> Am 11.03.2014 um 20:53 schrieb Alain Vezina : >>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> I used to use RB Package Maker Studio to prepare an app for Apple Store. >>>>>>> It seems it no longer works on Mac OS 10.9. >>>>>>> I loved this package maker especially for setting the entitlements. >>>>>>> Is there anybody who knows an other package maker ? >>>>>>> I know how to sign and package an app, but I don?t know how to fix the entitlements. >>>>>>> >>>>>>> Alain Vezina >>>>>>> Logilangue >>>>>>> 514-596-1385 >>>>>>> www.logilangue.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 rjb at robelko.com Wed Mar 19 12:33:47 2014 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 19 Mar 2014 17:33:47 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <9F2AA11A-9151-4F9A-820B-4FD6A1E1B623@buffalo.edu> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <9F2AA11A-9151-4F9A-820B-4FD6A1E1B623@buffalo.edu> Message-ID: On 19.03.2014 at 10:29 Uhr -0400 Tim Bleiler apparently wrote: > >Being a contrarian again, Jacqueline? I was all set to forget about >this. I really hate posting bug reports that aren't bugs but I agree >with you on this from my Livecode centric world view. > >Anyone else have any insights into the Livecode riddle of "when is >empty not really empty"? > I believe Jacque is on the right track and this is a side-effect of the way htmltext was implemented as an add-on (afterthought?) to the existing field. My guess would be, which can be confirmed by someone snooping the code, that htmltext always wraps the field content in the p tag pair before returning it and it does not bother to check whether the field is empty. Whether this is a bug or not is a matter of opinion. Documenting it might be an easy way out. RObert From vclement at gmail.com Wed Mar 19 12:49:10 2014 From: vclement at gmail.com (Vaughn Clement) Date: Wed, 19 Mar 2014 09:49:10 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <5329A927.309@fourthworld.com> References: <532966AF.7050506@gmail.com> <5329A927.309@fourthworld.com> Message-ID: OK this is a video from YouTube showing the LiveCode Dictionary Pro app demo: The YouTube link: https://www.youtube.com/watch?v=YFDZjxVHgZI&feature=em-upload_owner This is a demo of the apps main features. I am putting this up for questions and suggestions. Note: the app will include Video screen help when it is released. I still have hundreds of records where the descriptions need to be added. The dictionary has all of the current search words in now. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Wed, Mar 19, 2014 at 7:26 AM, Richard Gaskin wrote: > Richmond wrote: > > On 19/03/14 11:28, Shawn Blc wrote: >> >>> This would be a great feature for the Commercial version ;) Another >>> feature to differentiate the two versions. >>> >> >> Raw Prawns! >> >> That would be a good thing for both versions. >> >> Having taken a quick shuftie at the Dictionary this morning, the idea >> should not be insurmountable to implement. >> > > I agree that it would be best to produce some sort of enhancement for > personal annotations that could be used by everyone, Commercial and > Community users alike. > > In an ideal world LiveCode would be everywhere, with a solid majority of > its users enjoying the free Community Edition - indeed, that may well be > the case already. > > The Commercial Edition offers a proprietary license - that should be > sufficient enticement for those who need that. > > For everything else, at least where a feature poses no logical conflict > with the GPL (such as script encryption), parity between Community and > Commercial is a valuable goal. > > My only hesitation here is with attempting to modify the existing > Dictionary stack, esp. given the scope of changes the team is implementing > for v7 and beyond. > > But a separate Notes stack that can instantly open relevant Dictionary > entries with the IDE's revDocumentationGo command would be easily > achievable, and an ideal community project since it would require no > coordination with the RunRev IDE team. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 warren at warrensweb.us Wed Mar 19 13:00:51 2014 From: warren at warrensweb.us (Warren Samples) Date: Wed, 19 Mar 2014 12:00:51 -0500 Subject: 6.6 RC2 Release In-Reply-To: <53295191.9030903@gmail.com> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> Message-ID: <5329CD43.1020107@warrensweb.us> On 03/19/2014 03:13 AM, Richmond wrote: > > I'm sorry, but I am not going to take responsibility for your decision > to read the Use-List using a mobile device. > > LOL. > > Richmond. > > 'pain' and to decontextualise the posting> I don't know that there's any need to be so snarky. It's a fairly common request in mailing lists that care be taken to avoid quoting unnecessary text in replies, and it doesn't just annoy people on small screen devices. If only we can get people to stop nesting responses within quoted text, which can make for dizziness after a couple of rounds of replies. Of course, that's one of your favorite techniques... (Yes, I understand the logic, but it only really works for the first reply or two which makes it seem to me to be an arrogant strategy. I know this has been discussed here before, and I also see the problem is getting worse.) Warren From mats.wilstrand at tapirsoft.com Wed Mar 19 13:11:08 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Wed, 19 Mar 2014 18:11:08 +0100 Subject: I'm trying to rally the troops... In-Reply-To: References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5329520A.1040301@gmail.com> <532966AF.7050506@gmail.com> Message-ID: <004001cf4396$38ba69d0$aa2f3d70$@tapirsoft.com> + 1 from me Pete. Bj?rnke's Docu 2 is a little gem. It has a framework already in place to add new features and design from with ease. It's fast, works with any LC version, takes care of correcting some flaws of the structure and in the xml of the LC dictionary and I haven't seen any bugs! It would be the best starting point for a community effort to improve the dictionary ecosystem and give us nice and needed features like the one Larry suggests. Best regards Mats > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Peter Haworth > Sent: den 19 mars 2014 16:22 > To: How to use LiveCode > Subject: Re: I'm trying to rally the troops... > > I hope Bjornke picks up on this. His Docu2 plugin is already a better way to > view the dictionary and already provides the search mechanisms that have > been mentioned . Since it's based on an sqlite database, I suspect it would be > relatively easy to add a Notes table and associated access routines. > > Pete > lcSQL Software > On Mar 19, 2014 2:43 AM, "Richmond" > wrote: > > > On 19/03/14 11:28, Shawn Blc wrote: > > > >> This would be a great feature for the Commercial version ;) Another > >> feature to differentiate the two versions. > >> > >> > > Raw Prawns! > > > > That would be a good thing for both versions. > > > > Having taken a quick shuftie at the Dictionary this morning, the idea > > should not be insurmountable to implement. > > > > Richmond. > > > > > >> > >> On Wed, Mar 19, 2014 at 3:15 AM, Richmond > >> > >> wrote: > >> > >> On 19/03/14 01:47, larry at significantplanet.org wrote: > >>> > >>> Hello Everyone, > >>>> > >>>> Over a year ago I wrote to RR and suggested they allow the user to > >>>> add notes directly to the LC dictionary. (for private viewing) > >>>> > >>>> I understand why they need to approve notes that are added for > >>>> public viewing. > >>>> > >>>> But there are literally HUNDREDS of times where I have to figure > >>>> something out that is NOT documented in the dictionary. A recent > >>>> example: > >>>> I had trouble with the cursor disappearing once I compiled. > >>>> Happily, Jacqueline answered the question in here for me. What I > >>>> want to do is go to the dictionary and make my OWN note about that > >>>> under "cursor" - since I don't have a photographic memory and > >>>> because LC for me is a hobby and not a profession, I will sometimes > >>>> go months without using it. It's too difficult to remember > >>>> everything. > >>>> > >>>> Sure, I could make a spreadsheet with "cursor" in column 1 and my > >>>> notes in column 2 - whatever. But that seems like a pretty dopey > solution. > >>>> > >>>> I hope some of you will agree with me that this feature would be > >>>> VERY useful and a great timesaver. Then let's rattle the LC cage. > >>>> > >>>> Thanks for listening. > >>>> > >>>> Larry > >>>> _______________________________________________ > >>>> > >>>> That sounds a very good idea indeed. > >>> > >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ludovic.thebault at laposte.net Wed Mar 19 13:28:50 2014 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 19 Mar 2014 18:28:50 +0100 Subject: Livecode and Genymotion In-Reply-To: <5329BF6E.3060702@runrev.com> References: <7A2C2F64-A2FC-4D1A-91F5-59C8EE670A4A@laposte.net> <5329BF6E.3060702@runrev.com> Message-ID: <0927294B-A285-44A3-A83E-AF38583A0E86@laposte.net> Le 19 mars 2014 ? 17:01, Neil Roger a ?crit : > Hi Ludovic, > > GennyMotion is built on x86 architecture and this is why LiveCode Android apps will not run on this emulator (they are ARM based). > > However, I did have some success installing the ARM Translation Installer v1.1 found on the following XDA developer post > > http://forum.xda-developers.com/showthread.php?t=2528952 > > I have to say, it is nice to have a fast Android Emulator to test on :) > > Kind Regards,? > > Neil Roger Thanks, I'll try that From devin_asay at byu.edu Wed Mar 19 13:38:44 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 19 Mar 2014 17:38:44 +0000 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329BE6B.9050406@hyperactivesw.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> <5329BE6B.9050406@hyperactivesw.com> Message-ID: On Mar 19, 2014, at 9:57 AM, "J. Landman Gay" wrote: > On 3/19/14, 10:25 AM, Bob Sneidar wrote: >> I am struggling to see when this would present an impassible problem. > > I grant that it's trivial and not a high priority. But it makes the language inconsistent, and I see that as the primary issue. > > I gave an example in another post of how it could affect scripts. Try this in a newly created field with no content: > > set the cText of this cd to the htmltext of fld 1 > put (the cText of this cd = empty) > > Empty is no longer empty. Sometimes it will matter. HtmlText is an odd beast. I think Robert may be on the right track when he wonders about it being an add-on. Try this: Paste the following html list markup in field "source":
  1. List item 1
  2. List item 2
Now use it as the source to set the htmlText of another field "dest": set the htmlText of fld "dest" to fld "source" Now examine the htmlText of fld "dest". You get this:
  1. List item 1

  2. List item 2

Now manually select the text in fld "dest" and hit delete. The contents of fld "dest" looks like this: 1. No matter what you do you can't manually delete the first list item marker. The htmlText of "dest" now looks like this:
The field thinks it's a list and you can't change it's mind. Unless you do this: put empty into fld "dest" At which point the htmlText is

. Which is where this all started. :) We had an interesting discussion of the html list issue in the Quality Control center a couple of years ago: http://quality.runrev.com/show_bug.cgi?id=9342 Best, Devin Asay Learn to code with LiveCode University http://university.livecode.com From richmondmathewson at gmail.com Wed Mar 19 13:39:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 19:39:30 +0200 Subject: 6.6 RC2 Release In-Reply-To: <5329CD43.1020107@warrensweb.us> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> <5329CD43.1020107@warrensweb.us> Message-ID: <5329D652.1050206@gmail.com> On 19/03/14 19:00, Warren Samples wrote: > On 03/19/2014 03:13 AM, Richmond wrote: >> >> I'm sorry, but I am not going to take responsibility for your decision >> to read the Use-List using a mobile device. >> >> LOL. >> >> Richmond. >> >> > 'pain' and to decontextualise the posting> > > > I don't know that there's any need to be so snarky. This topic (shortening reposts) comes up about every 18 months. Old chestnuts tend to make me (at least) snarky. The useful thing about all the quoted bits from previous stuff in a thread is that late-comers to a thread who have not read their way through post-after-post can see everything in some sort of context. While it may be a nifty thing to check the odd item on one's handheld; and probably one could get housemaid's thumb/finger from scrolling down all the stuff in a long thread; surely the advantage of having the context well outweighs that, and a desktop PC and/or laptop is a far better piece of gear from this sort of thing. > It's a fairly common request in mailing lists that care be taken to > avoid quoting unnecessary text in replies, As I said above; this 'problem' crops up about once every 18 months. The real 'problem' is that what might be deemed 'unnecessary text' by Thee, may be deemed 'necessary text' by Me, and the other way round. > and it doesn't just annoy people on small screen devices. > > If only we can get people to stop nesting responses within quoted > text, which can make for dizziness after a couple of rounds of > replies. Of course, that's one of your favorite techniques... Not mine alone. > (Yes, I understand the logic, but it only really works for the first > reply or two which makes it seem to me to be > an arrogant strategy. I don't entirely understand what you mean by "arrogant strategy". What you will see is that I have taken your posting seriously, and tried to reply seriously; and to do this I have had to nest responses so that each response-let connects to each of your points. > I know this has been discussed here before, and I also see the problem > is getting worse.) > > Warren > This discussion seems also to be bifurcating into the chestnut about long nested texts, and the fag of trawling through them on handhelds. I can see the gripe about both those points; although the contextualisation, to my mind, over-rides the fag. The thing about using hand-helds to read the Use-list is slightly tangential, because, surely, scrolling through anything on a hand-held is going to get pretty awful after a few minutes; whether Use-List or not. I know that scrolling through stuff on my wife's iPad has convinced: 1. Me not to get one. 2. Her to give it to our older son to use in lectures and at the library at university over in Munich. I cannot stand trackpads either, for exactly the same reason. Richmond. From dave at applicationinsight.com Wed Mar 19 13:45:03 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 19 Mar 2014 10:45:03 -0700 (PDT) Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> <5329BE6B.9050406@hyperactivesw.com> Message-ID: <1395251103889-4677238.post@n4.nabble.com> I'm with Jacque - definitely a bug ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-setting-htmlText-of-field-to-empty-in-LiveCode-6-6-RC2-tp4677196p4677238.html Sent from the Revolution - User mailing list archive at Nabble.com. From rjb at robelko.com Wed Mar 19 13:44:22 2014 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 19 Mar 2014 18:44:22 +0100 Subject: LC Commercial Update In-Reply-To: References: <5328C9D2.00000B.07144@CALS_BIG_PC> <5328CF5B.2070100@fourthworld.com> Message-ID: On 18.03.2014 at 17:28 Uhr -0600 apparently wrote: >Thank you Richard, >That is a very good point. > >And thanks to Mark Schonewille for explaining how to turn off the >update message. > >Larry Am I imagining this or was there an option (button to click) on the update dialog to "skip this release" that is no more reminders until the next next version comes out? I see this in some programs and find very useful. RObert From heather at runrev.com Wed Mar 19 14:02:56 2014 From: heather at runrev.com (Heather Laine) Date: Wed, 19 Mar 2014 18:02:56 +0000 Subject: RELEASE LiveCode 7.0 DP1 Message-ID: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> Dear List Members. We are pleased to announce the release of LiveCode 7.0 DP1. *Warning, this is a pre-release with new features which have the potential to cause issues. Please ensure you backup your stacks before testing this release.* Important Changes ---------------------------- - The file format has changed for this release to accommodate Unicode. Old stacks will still work in 7.0, but stacks saved in 7.0 format will not open in previous versions of LiveCode. Therefore it is doubly critical to backup your stacks. *Release Contents* - Transparent Unicode support - Right-to-left text support (experimental) - Paragraph, sentence and trueWord chunks (experimental) Unicode support entails a number of additional features- please see the release notes athttp://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_dp_1.pdf for details. *Known Issues* Although the engine has undergone significant refactoring work, every effort has been made to ensure that LiveCode behaviour (with the exception of the additional features listed above) is identical to the current unrefactored release. In other words, users should not notice any difference in functionality in their existing stacks. However, users will notice a general slow-down caused by lack of optimisation in this release - this will be addressed for DP2. -The installer will currently fail if you run it from a network share on Windows. Please copy the installer to a local disk before launching on this platform. -The engine files are much larger than previous versions due to inclusion of ICU data -LiveCode does not run correctly when installed to Unicode paths on OSX -On Windows, executing LiveCode from the installer fails as it cannot find the IDE -Android app label is not yet Unicode compatible -Auto-updater process doesn't terminate when dismissed *Getting this release* To upgrade to this release please download the installers directly at: http://downloads.livecode.com/livecode/ *Reporting Bugs* A release tag has been set up in our quality control center at quality.runrev.com where you can report possible problems you are having with this release. Please ensure you use the correct version tag "7.0 DP 1" in your report, so that we can track exactly where the issue you report originated from. This allows us to address your report as quickly and efficiently as possible. As with any bug reported for LiveCode, we require a recipe with a simple sample stack that demonstrates the issue you are having, but in addition we also invite you to submit complete stacks that do not work the way they did in a previous version of LiveCode. This is a one off change to the bug submission process for LiveCode "7.0 DP 1" issues ONLY. If you are submitting complete stacks, then please provide use with a recipe that describes what your stack does and under what version of LiveCode it worked reliably. Then describe what it does in LiveCode "7.0 DP 1" and explain how we can replicate the bug you are reporting. You can attach your sample stacks to your bug report or if you are experiencing the issue in a confidential stack, then please note this in your bug report and we will get back to you with an e-mail address where you can submit your confidential stack to. Warm regards, The LiveCode Team Heather Laine Customer Services Manager http://www.livecode.com/ From rdimola at evergreeninfo.net Wed Mar 19 14:06:26 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 19 Mar 2014 14:06:26 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1395251103889-4677238.post@n4.nabble.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> <5329BE6B.9050406@hyperactivesw.com> <1395251103889-4677238.post@n4.nabble.com> Message-ID: <009601cf439d$f1fe3910$d5faab30$@net> +1 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 Dave Kilroy Sent: Wednesday, March 19, 2014 1:45 PM To: use-revolution at lists.runrev.com Subject: Re: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 I'm with Jacque - definitely a bug ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-setting-htmlText -of-field-to-empty-in-LiveCode-6-6-RC2-tp4677196p4677238.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 rdimola at evergreeninfo.net Wed Mar 19 14:06:26 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 19 Mar 2014 14:06:26 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <1395251103889-4677238.post@n4.nabble.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <7AED612D-87B7-4B97-985B-CC634673C106@iotecdigital.com> <5329BE6B.9050406@hyperactivesw.com> <1395251103889-4677238.post@n4.nabble.com> Message-ID: <009601cf439d$f1fe3910$d5faab30$@net> +1 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 Dave Kilroy Sent: Wednesday, March 19, 2014 1:45 PM To: use-revolution at lists.runrev.com Subject: Re: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 I'm with Jacque - definitely a bug ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-setting-htmlText -of-field-to-empty-in-LiveCode-6-6-RC2-tp4677196p4677238.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 richmondmathewson at gmail.com Wed Mar 19 14:07:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 20:07:32 +0200 Subject: LC Commercial Update In-Reply-To: References: <5328C9D2.00000B.07144@CALS_BIG_PC> <5328CF5B.2070100@fourthworld.com> Message-ID: <5329DCE4.5070507@gmail.com> On 19/03/14 19:44, Robert Brenstein wrote: > On 18.03.2014 at 17:28 Uhr -0600 > apparently wrote: >> Thank you Richard, >> That is a very good point. >> >> And thanks to Mark Schonewille for explaining how to turn off the >> update message. >> >> Larry > > Am I imagining this or was there an option (button to click) on the > update dialog to "skip this release" that is no more reminders until > the next next version comes out? I see this in some programs and find > very useful. You are imagining things. If you open the Preferences stack; /Edit/Preferences you can stop update notices; select "Updates" (second from the bottom). You will then be given a fantastic range of choices: Notify me of stable releases Notify me of maintainence (sic transit gloria mundi) releases Notify me of beta releases Notify me of development releases and you can have lots of fun deciding what you want and what you don't, and even a spot of vicarious fun reflecting on the fact that being a jolly clever computer programmer does not necessarily mean you are very good at spelling. Richmond. > > RObert > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 19 14:12:01 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 20:12:01 +0200 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> Message-ID: <5329DDF1.9090604@gmail.com> On 19/03/14 20:02, Heather Laine wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 7.0 DP1. > > Ooh, ecstasy and a long night ahead of me! This should bring us the vast majority of the Kickstarter goals! It is our moral duty, Use-List members, to try and: 1. Break the thing. 2. Find glitches, inconsistencies, and so forth. Oh, Dear! (this is shorthand for something far coarser and stronger) I have to teach tomorrow, Thursday and Saturday morning. Bung on the strong coffee lads and lassies :) Richmond. From richmondmathewson at gmail.com Wed Mar 19 14:32:52 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 20:32:52 +0200 Subject: I'm trying to rally the troops... In-Reply-To: <5329AAC8.7050209@gmail.com> References: <532966AF.7050506@gmail.com> <5329A927.309@fourthworld.com> <5329AAC8.7050209@gmail.com> Message-ID: <5329E2D4.2030802@gmail.com> Right; lads and lasses, the initial release of 7.0.0 is here !!!! The Dictionary stack looks exactly the same as that in previous releases, so now we can consider running up some hack-stacks. Richmond. From scott at tactilemedia.com Wed Mar 19 14:36:24 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 Mar 2014 11:36:24 -0700 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329BBB4.5090604@hyperactivesw.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: Maybe it helps (or hinders) to consider the fact the following renders as empty in a web browser, even though clearly there is code content present: So given what HTML is, checking if the HTML content of a field is empty doesn't really compare to checking if the code content of a field is empty. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From rjb at robelko.com Wed Mar 19 14:23:49 2014 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 19 Mar 2014 19:23:49 +0100 Subject: LC Commercial Update In-Reply-To: <5329DCE4.5070507@gmail.com> References: <5328C9D2.00000B.07144@CALS_BIG_PC> <5328CF5B.2070100@fourthworld.com> <5329DCE4.5070507@gmail.com> Message-ID: On 19.03.2014 at 20:07 Uhr +0200 Richmond apparently wrote: >You are imagining things. > >If you open the Preferences stack; /Edit/Preferences you can stop >update notices; select "Updates" (second from the bottom). > >You will then be given a fantastic range of choices: > >Notify me of stable releases >Notify me of maintainence (sic transit gloria mundi) releases >Notify me of beta releases >Notify me of development releases > >and you can have lots of fun deciding what you want and what you >don't, and even a spot of vicarious fun >reflecting on the fact that being a jolly clever computer programmer >does not necessarily mean you >are very good at spelling. > >Richmond. But none of those options is what I am talking about. Regardless of which of the above choices is selected, when I get a notice of a new upgrade, I'd like to see upgrade now ask later skip this release RObert From pete at lcsql.com Wed Mar 19 14:37:39 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 19 Mar 2014 11:37:39 -0700 Subject: I'm trying to rally the troops... In-Reply-To: <004001cf4396$38ba69d0$aa2f3d70$@tapirsoft.com> References: <0CF8E61CDB9B46AC8F450BE59BD7FA2E@userd204a4d61c> <5329520A.1040301@gmail.com> <532966AF.7050506@gmail.com> <004001cf4396$38ba69d0$aa2f3d70$@tapirsoft.com> Message-ID: I might try adding a basic Notes feature to it, if Bjornke is OK with that. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Mar 19, 2014 at 10:11 AM, Mats Wilstrand < mats.wilstrand at tapirsoft.com> wrote: > + 1 from me Pete. > > Bj?rnke's Docu 2 is a little gem. It has a framework already > in place to add new features and design from with ease. It's > fast, works with any LC version, takes care of correcting > some flaws of the structure and in the xml of the LC dictionary > and I haven't seen any bugs! It would be the best starting point > for a community effort to improve the dictionary ecosystem and > give us nice and needed features like the one Larry suggests. > > Best regards > Mats > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > > Behalf Of Peter Haworth > > Sent: den 19 mars 2014 16:22 > > To: How to use LiveCode > > Subject: Re: I'm trying to rally the troops... > > > > I hope Bjornke picks up on this. His Docu2 plugin is already a better > way > to > > view the dictionary and already provides the search mechanisms that have > > been mentioned . Since it's based on an sqlite database, I suspect it > would be > > relatively easy to add a Notes table and associated access routines. > > > > Pete > > lcSQL Software > > On Mar 19, 2014 2:43 AM, "Richmond" > > wrote: > > > > > On 19/03/14 11:28, Shawn Blc wrote: > > > > > >> This would be a great feature for the Commercial version ;) Another > > >> feature to differentiate the two versions. > > >> > > >> > > > Raw Prawns! > > > > > > That would be a good thing for both versions. > > > > > > Having taken a quick shuftie at the Dictionary this morning, the idea > > > should not be insurmountable to implement. > > > > > > Richmond. > > > > > > > > >> > > >> On Wed, Mar 19, 2014 at 3:15 AM, Richmond > > >> > > >> wrote: > > >> > > >> On 19/03/14 01:47, larry at significantplanet.org wrote: > > >>> > > >>> Hello Everyone, > > >>>> > > >>>> Over a year ago I wrote to RR and suggested they allow the user to > > >>>> add notes directly to the LC dictionary. (for private viewing) > > >>>> > > >>>> I understand why they need to approve notes that are added for > > >>>> public viewing. > > >>>> > > >>>> But there are literally HUNDREDS of times where I have to figure > > >>>> something out that is NOT documented in the dictionary. A recent > > >>>> example: > > >>>> I had trouble with the cursor disappearing once I compiled. > > >>>> Happily, Jacqueline answered the question in here for me. What I > > >>>> want to do is go to the dictionary and make my OWN note about that > > >>>> under "cursor" - since I don't have a photographic memory and > > >>>> because LC for me is a hobby and not a profession, I will sometimes > > >>>> go months without using it. It's too difficult to remember > > >>>> everything. > > >>>> > > >>>> Sure, I could make a spreadsheet with "cursor" in column 1 and my > > >>>> notes in column 2 - whatever. But that seems like a pretty dopey > > solution. > > >>>> > > >>>> I hope some of you will agree with me that this feature would be > > >>>> VERY useful and a great timesaver. Then let's rattle the LC cage. > > >>>> > > >>>> Thanks for listening. > > >>>> > > >>>> Larry > > >>>> _______________________________________________ > > >>>> > > >>>> That sounds a very good idea indeed. > > >>> > > >>> 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 > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 pete at lcsql.com Wed Mar 19 14:45:24 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 19 Mar 2014 11:45:24 -0700 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: I'm not sure why this is such a problem. Html isn't regular text and shouldn't be treated as such, that's why htmltext is a separate property from text. If the current behavior was changed, I'm sure it would cause backward compatibility problems. If you want to check if a field is empty - if field "myField" is empty - works fine as does - if the text of field "myField" is empty Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Mar 19, 2014 at 11:36 AM, Scott Rossi wrote: > Maybe it helps (or hinders) to consider the fact the following renders as > empty in a web browser, even though clearly there is code content present: > > > > > > > So given what HTML is, checking if the HTML content of a field is empty > doesn't really compare to checking if the code content of a field is empty. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 19 14:46:09 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 20:46:09 +0200 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <5329DDF1.9090604@gmail.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <5329DDF1.9090604@gmail.com> Message-ID: <5329E5F1.9050509@gmail.com> For types like me; "-The engine files are much larger than previous versions due to inclusion of ICU data" --------------------------------------------------------------- ICU = International Components for Unicode "an open source project of mature C/C++ and Java libraries for Unicode support, software internationalization, and software globalization." --------------------------------------------------------------- I assume that that means the engine files are going to be much larger from here on in. -------------------------------------------------------------- I am currently trying to build a standalone leaving out the ICU data, 1. on the 'General' card of the standalone builder I cannot change the name of the standalone. We'll let that pass just now, 2. There is no dialog(ue) and/or checkbox where I can choose not to include the new ICU 'baggage'. Aha: the standalone won't execute. UbuntuStudio 13.10. Richmond. From kevin at runrev.com Wed Mar 19 14:52:20 2014 From: kevin at runrev.com (Kevin Miller) Date: Wed, 19 Mar 2014 18:52:20 +0000 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <5329E5F1.9050509@gmail.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <5329DDF1.9090604@gmail.com> <5329E5F1.9050509@gmail.com> Message-ID: Currently there is no way to reduce the size of the executables, which are much larger. This is noted in ?Known issues?. I notice that the release notes in the download are not correct, you can find the right ones here http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_dp_1.pdf Known issues = things we are going to address. We will be including a way to detect what is actually required and to reduce the size of your standalone in a future DP. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ LiveCode: Everyone can code On 19/03/2014 18:46, "Richmond" wrote: >For types like me; > >"-The engine files are much larger than previous versions due to >inclusion of ICU data" >--------------------------------------------------------------- >ICU = International Components for Unicode > >"an open source project of mature C/C++ and Java libraries for Unicode >support, software internationalization, and software globalization." > >--------------------------------------------------------------- > >I assume that that means the engine files are going to be much larger >from here on in. > >-------------------------------------------------------------- > >I am currently trying to build a standalone leaving out the ICU data, > >1. on the 'General' card of the standalone builder I cannot change the >name of the standalone. > >We'll let that pass just now, > >2. There is no dialog(ue) and/or checkbox where I can choose not to >include the new ICU 'baggage'. > >Aha: the standalone won't execute. > >UbuntuStudio 13.10. > >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 Wed Mar 19 14:58:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 20:58:30 +0200 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <5329DDF1.9090604@gmail.com> <5329E5F1.9050509@gmail.com> Message-ID: <5329E8D6.8010107@gmail.com> On 19/03/14 20:52, Kevin Miller wrote: > Currently there is no way to reduce the size of the executables, which are > much larger. This is noted in ?Known issues?. I notice that the release > notes in the download are not correct, you can find the right ones here > http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_dp_1.pdf > > Known issues = things we are going to address. We will be including a way > to detect what is actually required and to reduce the size of your > standalone in a future DP. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ > LiveCode: Everyone can code > Thank you very much for such a quick response to my question. Richmond. On 19/03/2014 18:46, "Richmond" wrote: >> For types like me; >> >> "-The engine files are much larger than previous versions due to >> inclusion of ICU data" >> --------------------------------------------------------------- >> ICU = International Components for Unicode >> >> "an open source project of mature C/C++ and Java libraries for Unicode >> support, software internationalization, and software globalization." >> >> --------------------------------------------------------------- >> >> I assume that that means the engine files are going to be much larger > >from here on in. >> -------------------------------------------------------------- >> >> I am currently trying to build a standalone leaving out the ICU data, >> >> 1. on the 'General' card of the standalone builder I cannot change the >> name of the standalone. >> >> We'll let that pass just now, >> >> 2. There is no dialog(ue) and/or checkbox where I can choose not to >> include the new ICU 'baggage'. >> >> Aha: the standalone won't execute. >> >> UbuntuStudio 13.10. >> >> Richmond. >> >> From lists at mangomultimedia.com Wed Mar 19 15:08:18 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 19 Mar 2014 15:08:18 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: On Wed, Mar 19, 2014 at 2:36 PM, Scott Rossi wrote: > Maybe it helps (or hinders) to consider the fact the following renders as > empty in a web browser, even though clearly there is code content present: > > > > > > True. But doesn't

mean that you have 1 empty paragraph? I think that the HTML returned by LiveCode (1 empty paragraph) is different than what is present in the field (nothing). Since the htmltext is a property of a field, and no an entire document, I'm inclined to say that the htmltext should return empty and not

when there is not text present. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From richmondmathewson at gmail.com Wed Mar 19 15:09:52 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 21:09:52 +0200 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <5329E5F1.9050509@gmail.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <5329DDF1.9090604@gmail.com> <5329E5F1.9050509@gmail.com> Message-ID: <5329EB80.6080309@gmail.com> Building the same stack for Linux [ PISMO: http://andregarzia.on-rev.com/richmond/LANGTOOLS.html] I get these results; Livecode 6.6.0 rc 2: 12.9 MB Livecode 7.0.0 dp 1: 38.7 MB So, I assume that 25.8 MB is the size of the ICU data that gets rolled into the standalone. ---------------------------------------------------------- When I start to think about our Mac LC III we bought from Montgomery Ward in Carbondale, Illinois in 1993, with its 120 MB hard drive I start feeling a bit odd. ---------------------------------------------------------- Richmond. From bleiler at buffalo.edu Wed Mar 19 15:14:15 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 19 Mar 2014 15:14:15 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: <5EB315A6-B102-42A5-B795-E33261BF3565@buffalo.edu> On Mar 19, 2014, at 2:36 PM, Scott Rossi wrote: > Maybe it helps (or hinders) to consider the fact the following renders as > empty in a web browser, even though clearly there is code content present: > > > > > > > So given what HTML is, checking if the HTML content of a field is empty > doesn't really compare to checking if the code content of a field is empty. On Mar 19, 2014, at 2:45 PM, Peter Haworth wrote: > If the current behavior was changed, I'm sure it would cause backward > compatibility problems. > > If you want to check if a field is empty - if field "myField" is empty - > works fine as does - if the text of field "myField" is empty I think these views are correct. The fact that the htmlText is never really empty may not be as inconsistent as it seems at first. Many properties have ranges of specific values and if you try to set them to something outside of those ranges, the engine often throws an error. The engine is just being kind when it allows us to Set the htmlText of fld "My field" to empty, since this is apparently not technically valid. I agree with Peter that a change at this point would likely cause far more problems than it's worth. > I'm not sure why this is such a problem. Html isn't regular text and > shouldn't be treated as such, that's why htmltext is a separate property > from text. Yes, I think this is the key take home point of the discussion. Tim From m.schonewille at economy-x-talk.com Wed Mar 19 15:20:38 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Mar 2014 20:20:38 +0100 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: <5329EE06.2010707@economy-x-talk.com> Trevor, When a browser renders "

" it displays nothing. Correct htmlText starts and ends with p tags. That's the LiveCode convention. Anything else is not htmlText. Therefore, if a text is empty, to have valid htmlText the propety still needs to return the tags. Currently, we wil always know for sure whether data is htmlText or not. If we remove the tags, there is no way to know if data is htmlText if that data happens to be empty. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/19/2014 20:08, Trevor DeVore wrote: > On Wed, Mar 19, 2014 at 2:36 PM, Scott Rossi wrote: > >> Maybe it helps (or hinders) to consider the fact the following renders as >> empty in a web browser, even though clearly there is code content present: >> >> >> >> >> >> > > True. But doesn't

mean that you have 1 empty paragraph? I think > that the HTML returned by LiveCode (1 empty paragraph) is different than > what is present in the field (nothing). > > Since the htmltext is a property of a field, and no an entire document, I'm > inclined to say that the htmltext should return empty and not

when > there is not text present. > From scott at tactilemedia.com Wed Mar 19 15:24:18 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 Mar 2014 12:24:18 -0700 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: Using was an example. If you have

in an HTML file, the browser will still render the HTML as empty. Of course there are tons of tags will accomplish the same. And if the HTMLtext is limited to a field, then the field is essentially the entire document. The HTML isn't describing the content of a stack, just the field's content. Both

and no text at all both count as empty when it comes to *viewing* HTML. So it would seem both are valid as far as HTML is concerned. But the two situations are different when it comes to code. BTW, I'm not proposing LiveCode *should* return

as a default for empty HTML text, but I think it should be allowed to do so. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/19/14 12:08 PM, "Trevor DeVore" wrote: >On Wed, Mar 19, 2014 at 2:36 PM, Scott Rossi >wrote: > >> Maybe it helps (or hinders) to consider the fact the following renders >>as >> empty in a web browser, even though clearly there is code content >>present: >> >> >> >> >> >> > >True. But doesn't

mean that you have 1 empty paragraph? I think >that the HTML returned by LiveCode (1 empty paragraph) is different than >what is present in the field (nothing). > >Since the htmltext is a property of a field, and no an entire document, >I'm >inclined to say that the htmltext should return empty and not

when >there is not text present. > >-- >Trevor DeVore >Blue Mango Learning Systems >www.screensteps.com - www.clarify-it.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 mwieder at ahsoftware.net Wed Mar 19 15:27:51 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 19 Mar 2014 19:27:51 +0000 (UTC) Subject: before vs on in behavior scripts References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> , <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: J. Landman Gay writes: > > On 3/19/14, 12:14 AM, Devin Asay wrote: > > it didn't work with both and after end and on handler > > Lay off the Scotch, Devin. ;) Though actually, if you read it out loud, > it makes sense. This me had to read "with both and after end and on" aloud three times before it started making sense. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Mar 19 15:28:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Mar 2014 14:28:24 -0500 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: <5329EFD8.5060400@hyperactivesw.com> On 3/19/14, 1:45 PM, Peter Haworth wrote: > I'm not sure why this is such a problem. Html isn't regular text and > shouldn't be treated as such, that's why htmltext is a separate property > from text. It isn't a problem really, and it doesn't require immediate attention. I just think it's wrong, purely for the sake of consistency in the language. There is a difference between "no measureable content" and "empty". For example, a variable containing zero is not empty. Likewise, htmltext containing only tags should not be empty. (I notice the rtfText behaves the same way and returns a skeletal paragraph structure.) Now technically, paired "p" tags (in LC fields) indicate a line break, which also doesn't equate to empty. The engine apparently strips that off before setting the content of a field if that is the only thing in the htmltext; it has to, otherwise the field would contain a single carriage return -- which isn't empty. Basically, empty should always mean entirely empty, not "empty most of the time except for these cases where you have to check something else to see if it's empty." It really is a quibble, and easy to work around, though I don't really think changing the behavior would break anything since apparently the current way hasn't been noticed before. My only concern would be that it creates an unnecessary exception to the existing syntax. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Wed Mar 19 15:34:16 2014 From: warren at warrensweb.us (Warren Samples) Date: Wed, 19 Mar 2014 14:34:16 -0500 Subject: 6.6 RC2 Release In-Reply-To: <5329D652.1050206@gmail.com> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> <5329CD43.1020107@warrensweb.us> <5329D652.1050206@gmail.com> Message-ID: <5329F138.3030807@warrensweb.us> On 03/19/2014 12:39 PM, Richmond wrote: > to do this I have had to nest > responses so that each response-let connects to each of your points. For whose benefit? That was not in any sense necessary. It was your preference. You could have just as easily constructed a coherent response addressing all the points in a single block. It wouldn't have taken advanced writing skills to do. I am confident you are capable of this. What I meant be "arrogant strategy" is that after more than a couple of rounds, a thread in which people are nesting comments often becomes very difficult to follow and respond to, which may limit further responses. Also, useful information can become buried and hard to extract, which naturally makes it potentially less useful. I don't mean to imply that you or anyone is motivated by these negative possibilities, I do wonder, though, how much thought is given to them. "Short-sighted" might be another appropriate and less inflammatory description. I have noticed that you are not alone in preferring this approach; I only seem to single you out because I was replying to you. Rest assured I dislike it just as much when someone else employs it. That's what motivated me to say the problem (as I see it) is getting worse. Cheers, Warren From richmondmathewson at gmail.com Wed Mar 19 16:00:38 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Mar 2014 22:00:38 +0200 Subject: 6.6 RC2 Release In-Reply-To: <5329F138.3030807@warrensweb.us> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> <5329CD43.1020107@warrensweb.us> <5329D652.1050206@gmail.com> <5329F138.3030807@warrensweb.us> Message-ID: <5329F766.6090004@gmail.com> On 19/03/14 21:34, Warren Samples wrote: > On 03/19/2014 12:39 PM, Richmond wrote: >> to do this I have had to nest >> responses so that each response-let connects to each of your points. > > > For whose benefit? That was not in any sense necessary. It was your > preference. You could have just as easily constructed a coherent > response addressing all the points in a single block. It wouldn't have > taken advanced writing skills to do. I am confident you are capable of > this. > > What I meant be "arrogant strategy" is that after more than a couple > of rounds, a thread in which people are nesting comments often becomes > very difficult to follow and respond to, which may limit further > responses. Also, useful information can become buried and hard to > extract, which naturally makes it potentially less useful. I don't > mean to imply that you or anyone is motivated by these negative > possibilities, I do wonder, though, how much thought is given to them. > "Short-sighted" might be another appropriate and less inflammatory > description. > > I have noticed that you are not alone in preferring this approach; I > only seem to single you out because I was replying to you. Rest > assured I dislike it just as much when someone else employs it. That's > what motivated me to say the problem (as I see it) is getting worse. If I were offended by the 'arrogant strategy' comment I would have been dead or locked up in a secure mental hospital years ago, so don't worry yourself on that one. Of course my 'nesting' (tweet, tweet, chirrup, chirrup) is a subjective decision. But, in our multicoloured, many-splendoured world, almost everything, from how you hold your knife and fork to how you walk down the road, is bound to offend someone. This is why political correctness is a nonstarter, because it is an attempt to offend no-one. The ONLY way to offend no-one is to keep one's mouth permanently shut; at which point other people will think you are stupid, rude or trying to to be clever for your own good. I am quite an expert at offending people, having done it all my life, and at 52 have got to the stage where I have, quite frankly stopped worrying about who I offend beyond my nearest and dearest, and, from time-to-time those who employ me. I can only imagine the awful level of stress people put themselves to if they are constantly worrying about how they might offend someone. ------------------------------------- daft story follows ------------------------ Many years ago (well, about 24) my best friend Charles (who is Indian and Black) and I were at a cocktail party at the InterContinental Hotel in Al Ain (UAE) when an American woman said to me, "Oh, Richmond, is this your black friend, I've heard so much about him." then turning, she realised that Charles was right next to me, so she said, "Oh, I'm so sorry, I didn't mean 'black' in an offensive way." To which Charles replied, "I'm black; that's the way God wants me to be, and I know God loves me just as much as he loves you." We then had a laugh at that poor woman's expense (we were young and thoughtless) thinking of how stressed she must have got thinking she had made a faux pas! My friend Charles is still my best friend (although, sadly he and his family now live in Melbourne so we can only communicate over the internet), still black, and still with a robust sense of humour and his own value in the world. I am still white, red-haired (although going white in patches), and still offending people on a daily basis. My kilt, having been eaten by moths last year, has been chucked out. A new kilt is currently being made for me in Perth (Scotland) both as a replacement and to cope with my middle-aged spread, and will be delivered in time for me to attend my younger son's graduation from his prestigious High-School in Germany; the effect should be most pleasing amongst all those long-faced upper-class Prussians. ------------------------------------------------------------------------------------- > > Cheers, > > Warren > Best, Richmond. From lists at mangomultimedia.com Wed Mar 19 16:46:18 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 19 Mar 2014 16:46:18 -0400 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: On Wed, Mar 19, 2014 at 3:24 PM, Scott Rossi wrote: > Using was an example. If you have

in an HTML file, the > browser will still render the HTML as empty. Of course there are tons of > tags will accomplish the same. > Ah, but if you had a style applied to p that shows a border then the border would be rendered by the browser. So from a DOM point of view you do have a line. p { border: 1px solid red; } So if I were to put the htmltext of an empty field into an HTML document I would end up with an object in the DOM that I wouldn't necessarily expect to be there. That being said, I don't think the hmltext property is designed to behave like I am interpreting it and I think I've changed my mind. I just looked at the styledText and it also returns an array with 1 line, even if there is no text: 1 runs: So, like Mark said, you can identify the type of formatting that a variable contains based on these indicators.

for htmlText, an array for styledText, etc. So while I agree that it isn't intuitive at first (I was stumped by this when I first started working with htmltext/styledText and empty content) it probably is the appropriate behavior. Now, looking at Jacque's example, I wonder if the language could help us here (at least in the future). Her example involved storing the htmltext of a field somewhere and then checking the value later on to see if it is empty. What if you could check a text length property of a variable to get the number of characters? if the text length of the cMyHTMLTextValue of me is 0 then ... This could, of course, be scripted right now on your own. But it might be a nice way of checking the string length of any variable that holds text in any format. Just an idea. It may be better to just leave it up to the developer to know the format they are storing the text data in and do the appropriate checks. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From jiml at netrin.com Wed Mar 19 18:36:00 2014 From: jiml at netrin.com (Jim Lambert) Date: Wed, 19 Mar 2014 15:36:00 -0700 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: References: Message-ID: <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> Team, Thanks for the 7.0 DP1 Very exciting. FYI, http://quality.runrev.com should include this version in the version selector. Thanks, Jim Lambert From dave at applicationinsight.com Wed Mar 19 19:16:59 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 19 Mar 2014 16:16:59 -0700 (PDT) Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> Message-ID: <1395271019760-4677263.post@n4.nabble.com> Hi all The release notes you get from the downloads page on the website are fine - however the release notes you get from 7.0.0's IDE menu give you release notes from 6.0.1 I'd report it as a bug but there is no drop-down entry for LiveCode 7.0.0 at quality.runrev.com :) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-7-0-DP1-tp4677240p4677263.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Wed Mar 19 19:41:54 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 19 Mar 2014 23:41:54 +0000 Subject: Telnet on Android In-Reply-To: <53296A75.80206@economy-x-talk.com> References: <53296A75.80206@economy-x-talk.com> Message-ID: <532A2B42.2050603@tweedly.net> On 19/03/2014 09:59, Mark Schonewille wrote: > > Can you tell more about this? Is this a router in an existing network > environment? Is this a router that is yet to be designed? Can you > alter the software in the router? > > Normally, you'd log in on a router over http and change the settings > in your internet browser. I would expect this to be possible on an > Android device too. That depends on your point of view, or your context. For me, I'd say you "normally" telnet (or similar) to a router and use the efficient, all-powerful command line interface. The majority of routers (Juniper, Cisco, Draytek, Netgear, ...) support a telnet interface. OK, recent consumer routers will usually recommend browser-style interfaces - but there's 20 years of tradition before that using telnet-like interfaces to control routers. At least some routers will have configuration options or commands that are not available, or relatively clumsy to use, through an HTTP interface. -- Alex. From bobsneidar at iotecdigital.com Wed Mar 19 19:49:11 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Mar 2014 23:49:11 +0000 Subject: LC Commercial Update In-Reply-To: References: <5328C9D2.00000B.07144@CALS_BIG_PC> <5328CF5B.2070100@fourthworld.com> <5329DCE4.5070507@gmail.com> Message-ID: <92E07DF5-59AE-4E8F-B330-3E72B2FDDFEB@iotecdigital.com> I get that when the updater launches for me? Bob On Mar 19, 2014, at 11:23 , Robert Brenstein wrote: > On 19.03.2014 at 20:07 Uhr +0200 Richmond apparently wrote: >> You are imagining things. >> >> If you open the Preferences stack; /Edit/Preferences you can stop update notices; select "Updates" (second from the bottom). >> >> You will then be given a fantastic range of choices: >> >> Notify me of stable releases >> Notify me of maintainence (sic transit gloria mundi) releases >> Notify me of beta releases >> Notify me of development releases >> >> and you can have lots of fun deciding what you want and what you don't, and even a spot of vicarious fun >> reflecting on the fact that being a jolly clever computer programmer does not necessarily mean you >> are very good at spelling. >> >> Richmond. > > But none of those options is what I am talking about. Regardless of which of the above choices is selected, when I get a notice of a new upgrade, I'd like to see > > upgrade now > ask later > skip this release > > RObert > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 19 19:49:49 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 19 Mar 2014 23:49:49 +0000 Subject: Triggering LC scripts when emails are received In-Reply-To: <011e4ce366b187f30a25bae10ae6acf8.squirrel@185.8.104.234> References: <532760C1.2030907@tweedly.net> <011e4ce366b187f30a25bae10ae6acf8.squirrel@185.8.104.234> Message-ID: <532A2D1D.8020807@tweedly.net> On 18/03/2014 09:04, jbv at souslelogo.com wrote: > Then I made a test with an .irev script; the email forwarder also > detected an error in the script, but was unable to fix it, so the > test failed : the email bounced and was considered as spam. > I guess I need to follow Matthias advice and ask on-rev the path > to the LC engine on our server. > > I had similar problem. Pending a reply from on-rev, I decided to be pragmatic and use a bit of php. I modified my php test script to save the email to a file, and then trigger my LC script to operate on it. #!/usr/bin/php -q and then I use an ordinary LC script to deal with it. Note that when I change to use LC directly, it will be simple to replace the section that reads the mail_cache file with reading from stdin - after that the processing will be unaffected. (Here's a trimmed down version of my LC script - remember the php script is at the top level, but the LC script is inside an html-folder, so it must use an absolute path to access the shared mail-cache file) -- Alex. From bobsneidar at iotecdigital.com Wed Mar 19 19:56:33 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Mar 2014 23:56:33 +0000 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: <0650EFC0-1BAA-4E5A-A163-66DD3EC44FC0@iotecdigital.com> I keep having this niggling feeling that the devs did this for some good reason, and that if empty text didn?t correspond to

in htmlText, the engine would choke, cough and sputter when it discovered to it?s horror that the htmlText of anything was literally empty. Either way, I?m still going to sleep well tonight. Bob On Mar 19, 2014, at 13:46 , Trevor DeVore > wrote: So if I were to put the htmltext of an empty field into an HTML document I would end up with an object in the DOM that I wouldn't necessarily expect to be there. That being said, I don't think the hmltext property is designed to behave like I am interpreting it and I think I've changed my mind. I just looked at the styledText and it also returns an array with 1 line, even if there is no text: From gbojsza at gmail.com Wed Mar 19 21:40:54 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 19 Mar 2014 21:40:54 -0400 Subject: Telnet on Android In-Reply-To: <532A2B42.2050603@tweedly.net> References: <53296A75.80206@economy-x-talk.com> <532A2B42.2050603@tweedly.net> Message-ID: Is there an option to possibly open process from LC on Android and then work with a third party telnet client that we would need to identify and have installed on the table? Does LC's open process work on Android? On Wed, Mar 19, 2014 at 7:41 PM, Alex Tweedly wrote: > On 19/03/2014 09:59, Mark Schonewille wrote: > >> >> Can you tell more about this? Is this a router in an existing network >> environment? Is this a router that is yet to be designed? Can you alter the >> software in the router? >> >> Normally, you'd log in on a router over http and change the settings in >> your internet browser. I would expect this to be possible on an Android >> device too. >> > That depends on your point of view, or your context. For me, I'd say you > "normally" telnet (or similar) to a router and use the efficient, > all-powerful command line interface. The majority of routers (Juniper, > Cisco, Draytek, Netgear, ...) support a telnet interface. > > OK, recent consumer routers will usually recommend browser-style > interfaces - but there's 20 years of tradition before that using > telnet-like interfaces to control routers. At least some routers will have > configuration options or commands that are not available, or relatively > clumsy to use, through an HTTP interface. > > > -- 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 > From larry at significantplanet.org Thu Mar 20 01:37:36 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 19 Mar 2014 23:37:36 -0600 Subject: Rally the troops Part 2 - aka Wish List Part 1 Message-ID: When selecting multiple objects (for grouping) it would be really nice to see a list of those objects instead of the vague "Multiple Objects" in the Inspector. I would even settle for just the number of objects instead of the almost useless "Multiple" There have been times when I inadvertently selected 3 objects to group when I was really trying to group just 2 objects. Thank you in advance. Larry From lan.kc.macmail at gmail.com Thu Mar 20 02:08:19 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 20 Mar 2014 14:08:19 +0800 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: <5329EFD8.5060400@hyperactivesw.com> References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> <5329EFD8.5060400@hyperactivesw.com> Message-ID: On Thu, Mar 20, 2014 at 3:28 AM, J. Landman Gay wrote: > I just think it's wrong, purely for the sake of consistency in the > language. In some ways your argument is correct; as with my own pet peeve, what the language does when putting empty into an item: put 1,2,3,4 into tStore put the number of items in tStore into msg --gives 4 put empty into item 2 of tStore put empty into item 4 of tStore put the number of items in tStore into msg --gives 3 So the language allows you to have an empty item, just as long as it's not the last item. It's been explained to me that this is because of tokens needed to delimit something as an item. The same applies for counting lines as empty last lines are not counted. So it appears in this case that the language is inconsistent (although to me appears logical) in that it doesn't remove the tokens that are used to define what is html. But on the other hand there are many cases in LC where empty is not empty: set the defaultFolder to empty put the defafaultFolder is empty into msg --result = false Surely this, as with many other properties which when the user sets to empty the language actually returns it to a default non-empty value, is just another example. As previously advised, a simple case of a note in the Dictionary to indicate that setting the HTMLText to empty results in a default

<\p> From lan.kc.macmail at gmail.com Thu Mar 20 02:31:23 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 20 Mar 2014 14:31:23 +0800 Subject: LC Commercial Update In-Reply-To: References: <5328C9D2.00000B.07144@CALS_BIG_PC> <5328CF5B.2070100@fourthworld.com> Message-ID: On Thu, Mar 20, 2014 at 1:44 AM, Robert Brenstein wrote: > > Am I imagining this or was there an option (button to click) on the update > dialog to "skip this release" that is no more reminders until the next next > version comes out? I see this in some programs and find very useful. No, your not imagining it. That's what happens, at least on the OS X. From scott at elementarysoftware.com Thu Mar 20 02:44:57 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 19 Mar 2014 23:44:57 -0700 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu> <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: So then the ?empty? field *is* truly empty and it is the act of ?looking? at the htmlText that causes the

tags. Schr?dinger's cat may have more to say on this. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ From patrick.roza at gmail.com Thu Mar 20 05:58:19 2014 From: patrick.roza at gmail.com (Patrick Roza) Date: Thu, 20 Mar 2014 05:58:19 -0400 Subject: Preferences Message-ID: Hi, Having problems resetting my login to the forums so I am posting the question here. Having a problem configuring LiveCode android support in the preferences. I have a valid location of the android SDK but when I try to specify the location under Moblie Support in the preferences is says it is not a valid location. Any suggestions would be a great help. Thanks, Patrick From fraser.gordon at runrev.com Thu Mar 20 06:31:18 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Thu, 20 Mar 2014 10:31:18 +0000 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <1395271019760-4677263.post@n4.nabble.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> <1395271019760-4677263.post@n4.nabble.com> Message-ID: On 19 Mar 2014, at 23:16, Dave Kilroy wrote: > Hi all > > The release notes you get from the downloads page on the website are fine - > however the release notes you get from 7.0.0's IDE menu give you release > notes from 6.0.1 It looks like the office gremlins were at work here - we've re-uploaded the DMG for OSX Commercial (the other versions look fine) so future downloads should have the 7.0.0-DP-1 release notes. Not quite sure how that happened - I must have done something silly! > > I'd report it as a bug but there is no drop-down entry for LiveCode 7.0.0 at > quality.runrev.com :) > Maybe you should have reported that as a bug against 7.0.0 too ;) That should also be fixed - 7.0.0-DP-1 now appears in the drop-down list. Regards, Fraser From matthias_livecode_150811 at m-r-d.de Thu Mar 20 06:55:32 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 20 Mar 2014 11:55:32 +0100 Subject: Preferences In-Reply-To: References: Message-ID: <07C1182F-1D63-439E-B9E2-3186F9F4323A@m-r-d.de> Hi Patrick, there was a discussion on this list in May 2013 about Android SDK not recognised in LiveCode under Windows. If you are on Windows you could try to use Android SDK R21. You?ll find the download here: http://dl.google.com/android/installer_r21-windows.exe Regards, Matthias Am 20.03.2014 um 10:58 schrieb Patrick Roza : > Hi, > > Having problems resetting my login to the forums so I am posting the > question here. > > Having a problem configuring LiveCode android support in the preferences. I > have a valid location of the android SDK but when I try to specify the > location under Moblie Support in the preferences is says it is not a valid > location. Any suggestions would be a great help. > > Thanks, > > Patrick > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Mar 20 07:31:01 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 20 Mar 2014 04:31:01 -0700 (PDT) Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> <1395271019760-4677263.post@n4.nabble.com> Message-ID: <1395315061982-4677276.post@n4.nabble.com> Thanks Fraser! Actually though - is there a way to automatically insert relevant version number in the quality centre's drop-down so that bugs can be reported on new releases from the get-go? Fraser Gordon wrote > That should also be fixed - 7.0.0-DP-1 now appears in the drop-down list. ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-7-0-DP1-tp4677240p4677276.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Thu Mar 20 07:34:06 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 20 Mar 2014 04:34:06 -0700 (PDT) Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> <1395271019760-4677263.post@n4.nabble.com> Message-ID: <1395315246724-4677277.post@n4.nabble.com> Thanks Fraser! Actually though, if LC could include an auto insert of new version numbers in the quality centre's drop-down then we can report bugs from the get-go... Fraser Gordon wrote > That should also be fixed - 7.0.0-DP-1 now appears in the drop-down list. ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-7-0-DP1-tp4677240p4677277.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Thu Mar 20 07:38:30 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 20 Mar 2014 04:38:30 -0700 (PDT) Subject: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2 In-Reply-To: References: <7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de> <1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu> <3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com> <5329BBB4.5090604@hyperactivesw.com> Message-ID: <1395315510945-4677278.post@n4.nabble.com> Scott I am in awe of how you have combined coding, physics and philosophy - I will now always think of Schr?dinger's cat enclosed in

<\p> tags :) Scott Morrow wrote > So then the ?empty? field *is* truly empty and it is the act of ?looking? > at the htmlText that causes the >

>

> tags. Schr?dinger's cat may have more to say on this. ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-setting-htmlText-of-field-to-empty-in-LiveCode-6-6-RC2-tp4677196p4677278.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Mar 20 09:45:55 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 Mar 2014 06:45:55 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: Message-ID: <532AF113.4000206@fourthworld.com> larry wrote: > When selecting multiple objects (for grouping) it would be really > nice to see a list of those objects instead of the vague "Multiple > Objects" in the Inspector. I would even settle for just the number > of objects instead of the almost useless "Multiple" > > There have been times when I inadvertently selected 3 objects to > group when I was really trying to group just 2 objects. The Inspector has limited space so it may be difficult to display more than a few items in it, but the Project Browser exhibits the behavior you're looking for. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From janschenkel at yahoo.com Thu Mar 20 09:43:28 2014 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 20 Mar 2014 06:43:28 -0700 (PDT) Subject: before vs on in behavior scripts In-Reply-To: Message-ID: <1395323008.336.YahooMailBasic@web141103.mail.bf1.yahoo.com> Hi Scott et al, The 'after' handler in the behavior script will be executed even if the control script itself contains an 'on' handler which forgets to 'pass' the message. This is really useful for custom controls where you want to allow the developer to implement standard message handlers but ensure the control instance returns to a normal state. Let's say you have your own implementation of a button control. Your behavior script would handle 'before mouseDown' to turn on the hilited appearance, and handle 'after mouseUp' and 'after mouseRelease' to turn off the hilited appearance. Now the developer can simple handle 'on mouseUp' to execute his business logic, and doesn't have to remember to include a 'pass mouseUp' to ensure the appearance is restored. At first I was skeptical about behaviors, as I could do everything I needed using frontscripts and backscripts. Its convenience was in having all code in one place, but there were still waysd for the custom control user to mess things up (by not passing messages). So thanks to the addition of 'before' and 'after' message handlers and chained behaviors, this feature has really matured and everyone should use it :) Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Tue, 3/18/14, Scott Rossi wrote: Subject: Re: before vs on in behavior scripts To: "LiveCode Mail List" Date: Tuesday, March 18, 2014, 7:54 PM I didn't realize it until just now, but this is the order of events: before mouseUp ???answer "A" end mouseUp on mouseUp ???answer "B" end mouseUp after mouseUp ???answer "C" end mouseUp Really cool stuff for custom behaviors, but I'm still trying to come up with a nifty use for the "after" event. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/18/14 7:44 PM, "Scott Rossi" wrote: >How are you determining that "on" isn't working?? Is it possible that "on" >is executing immediately after "before"? > >Placing the following in a behavior script works fine here: > >before mouseUp >???answer "A" >end mouseUp > >on mouseUp >???answer "B" >end mouseUp > > >If you need some kind of alternate behavior to take place after "before" >that isn't "on", you might consider "after".? I know, it's a lot of >prepositions ... > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 3/18/14 4:33 PM, "Devin Asay" wrote: > >>All, >> >>If a button has a behavior attached to it, and the behavior script has a >>'before mouseUp' handler, can the behavior script also have a 'on >>mouseUp' handler? >> >>I could swear the answer was yes; I thought I had done that before, but >>now when I try it, it doesn't work. (In LC 6.5.x. and 6.6.0RC2). Instead >>I have to put the 'in mouseUp' in the button's script. >> >>Of course I might be completely missing the point of 'before' and 'after' >>handlers. Wouldn't be the first time. >> >>Regards, >> >>Devin >> >> >>Devin Asay >>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 >> > > > >_______________________________________________ >use-livecode mailing list >use-livecode 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 patrick.roza at gmail.com Thu Mar 20 10:00:29 2014 From: patrick.roza at gmail.com (Patrick R. Roza) Date: Thu, 20 Mar 2014 10:00:29 -0400 Subject: Preferences In-Reply-To: <07C1182F-1D63-439E-B9E2-3186F9F4323A@m-r-d.de> References: <07C1182F-1D63-439E-B9E2-3186F9F4323A@m-r-d.de> Message-ID: <532AF47D.8080906@gmail.com> Thanks Matthias up and running. On 3/20/2014 6:55 AM, Matthias Rebbe | M-R-D wrote: > Hi Patrick, > > there was a discussion on this list in May 2013 about Android SDK not recognised in LiveCode under Windows. > If you are on Windows you could try to use Android SDK R21. > You?ll find the download here: > > http://dl.google.com/android/installer_r21-windows.exe > > > Regards, > > Matthias > > > Am 20.03.2014 um 10:58 schrieb Patrick Roza : > >> Hi, >> >> Having problems resetting my login to the forums so I am posting the >> question here. >> >> Having a problem configuring LiveCode android support in the preferences. I >> have a valid location of the android SDK but when I try to specify the >> location under Moblie Support in the preferences is says it is not a valid >> location. Any suggestions would be a great help. >> >> Thanks, >> >> Patrick >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mar 20 10:07:23 2014 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 20 Mar 2014 16:07:23 +0200 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <532AF113.4000206@fourthworld.com> References: <532AF113.4000206@fourthworld.com> Message-ID: On 20/03/14 15:45, Richard Gaskin wrote: larry wrote: > When selecting multiple objects (for grouping) it would be really > nice to see a list of those objects instead of the vague "Multiple > Objects" in the Inspector. I would even settle for just the number > of objects instead of the almost useless "Multiple" > > There have been times when I inadvertently selected 3 objects to > group when I was really trying to group just 2 objects. The Inspector has limited space so it may be difficult to display more than a few items in it, but the Project Browser exhibits the behavior you're looking for. At which point . . . . . . we might like to consider whether Application Browser, Project Browser and Inspector isn't overdoing things a bit, and it might be time to consider rolling 2 or 3 of them into one. A while ago somebody round these parts did suggest that maybe the Project Browser wasn't the heir-apparent to replace the Application Browser. Personally, I'd far rather keep the Application Browser as it is and roll the Inspector and the Project Browser up into some sort of Super Inspector. Or, just possibly put some of the Proj. Browser's capabilities over in the App. Browser, and the rest in the Inspector, and then remove the Proj. Browser. However; all I am trying to do here is stimulate a bit of debate now we have had the Proj. Browser for a while. Richmond. From devin_asay at byu.edu Thu Mar 20 11:09:15 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 20 Mar 2014 15:09:15 +0000 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> Message-ID: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> On Mar 18, 2014, at 5:33 PM, Devin Asay wrote: > All, > > If a button has a behavior attached to it, and the behavior script has a 'before mouseUp' handler, can the behavior script also have a 'on mouseUp' handler? > > I could swear the answer was yes; I thought I had done that before, but now when I try it, it doesn't work. (In LC 6.5.x. and 6.6.0RC2). Instead I have to put the 'in mouseUp' in the button's script. > > Of course I might be completely missing the point of 'before' and 'after' handlers. Wouldn't be the first time. I think I figured out the problem, and actually my initial post was a red herring. There is still a little mystery. I had assigned behaviors to several buttons in my main project stack; the button containing the behavior script is in a library stack. So far so good. Everything worked the way it was supposed to. But later I came back into the project and added an 'on mouseUp' handler to the behavior script. However, the new ON handler never fired. (In fact, none of the handlers in the behavior script were being fired, and I couldn't invoke the debugger in the behavior script after placing breakpoints in it.) After a little tinkering I discovered that if I reassigned the behavior to just one the buttons that the handlers in the behavior worked again, for ALL of the buttons. The red herring part happened because the BEFORE and AFTER handlers were being used to set up and down icon states in the buttons using that behavior. The icon states were always working properly when the ON mouseUp handler would not. Later I discovered that *someone* (I blame the code kabouters*) had gone in and assigned icon states to the buttons using the behaviors, rendering the BEFORE and AFTER handlers redundant. So I was left thinking only some of the behavior handlers were working, when in fact none of them were. So it appears that each time I launch the project I have to reassign the behavior to the buttons. This only seems to happen for behaviors stored in library stacks. I have seen a similar problem with objects that were assigned a background pattern stored in a library stack. In that instance I finally had to add a line of code in my preOpenStack handler to reassign the bg pattern. Now it appears I'll have to do the same for these behaviors. But it doesn't seem right. Shouldn't I expect that buttons with behaviors contained in a library stack will always find those behaviors once the stack is reopened and the library stack has been start-using'ed? Or am I misunderstanding something (again)? Or maybe I stumbled upon a bug? Anyone know? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com * kabouters = gnomes. In this case the Dutch have the far better word. From gcanyon at gmail.com Thu Mar 20 11:29:21 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 20 Mar 2014 11:29:21 -0400 Subject: A weird bug/occurrence Message-ID: I was trying to make a copy of a stack to take on the road, by: 1. Saving the stack and closing LC on one Mac. (mountain lion, LC 6.5.2) 2. Copying the stack to a USB drive. 3. Copying the stack to another Mac (Mavericks, LC 6.5.2) I opened the stack, and saw what I thought was an earlier revision -- half of one card, with fields and buttons I had added, was missing. I repeated several times, and no luck. I took it as some way that I was copying the wrong file (a backup, perhaps) and decided to live with it, because I was out of time. Later, on the Mavericks mac, I was modifying that stack. I had taken several steps toward re-building what I had lost, when POP everything appeared. literally just wasn't there, then it was. It wasn't a single group (which could have been invisible, then visible). It wasn't the whole card. It was several controls -- fields and buttons -- loose on the card, that somehow were invisible, or inaccessible, and then came back. Unfortunately I never thought to look using Navigator to see if the miscreant items were invisible or really (seemingly) not there. Has anyone experienced something similar? From gcanyon at gmail.com Thu Mar 20 11:37:59 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 20 Mar 2014 11:37:59 -0400 Subject: best/fastest way to tell if a field contains unicode text? Message-ID: I have a field that has been populated by setting the unicodetext. Some lines actually need unicode -- umlauts, enye, etc. -- and others are plain ascii. What's the most efficient way to count how many lines are plain and how many actually need unicode? The best thing I've come up with so far is to count the length of each line, and then get the HTML text and compare the lengths minus the

and

. From fraser.gordon at runrev.com Thu Mar 20 11:47:12 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Thu, 20 Mar 2014 15:47:12 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: Message-ID: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> On 20 Mar 2014, at 15:37, Geoff Canyon wrote: > What's the most efficient way to count how many lines are plain and how > many actually need unicode? Out of interest - why are you trying to do this? I ask because trying to do so may not be useful in future versions of LiveCode. In LiveCode 7.0, all text is Unicode and there is no such thing as "non-Unicode text". There are ways to convert text to and from legacy 8-bit encodings (like MacRoman) when doing I/O to files/sockets/processes/etc but (in the engine at least) all text is Unicode. Regards, Fraser From ambassador at fourthworld.com Thu Mar 20 11:54:25 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 Mar 2014 08:54:25 -0700 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> References: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> Message-ID: <532B0F31.8020306@fourthworld.com> Devin Asay wrote: > Later I discovered that *someone* (I blame the code kabouters*) had > gone in and assigned icon states to the buttons using the behaviors, > rendering the BEFORE and AFTER handlers redundant. I like "kabouters". I have a friend who refers to unexpected behavior in software as the work of faeries. I imagine Brahmanathswami blames the Menehuni. I blame Coyote, the mischievous spirit the native Californians blamed for the inexplicable annoyances of their world. :) > So it appears that each time I launch the project I have to reassign > the behavior to the buttons. This only seems to happen for behaviors > stored in library stacks. I have seen a similar problem with objects > that were assigned a background pattern stored in a library stack. As much as I love behaviors, the finicky way they're resolved has been an annoyance for me: you have to make sure that any behavior script objects are loaded before any object that uses them. For example, if you have a mainstack which is an executable and contains objects that use behaviors, and a separate library stackfile which contains the behavior buttons, it will always fail because that mainstack is opened before the library is loaded, so the resolution will be attempted before the objects they resolve to can be known. The workaround is as you've discovered: you have to write code to reassign the behavior on the fly. To simplify this occasional necessity, I had hoped the team would have implemented a command they once talked about in the early days of behaviors but never quite got around to: "resolve behaviors", which would trigger the same resolution mechanism that happens when stacks are first loaded, but could be called whenever you need it. FWIW I submitted a request for that: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From gcanyon at gmail.com Thu Mar 20 11:54:15 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 20 Mar 2014 11:54:15 -0400 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: On Thu, Mar 20, 2014 at 11:47 AM, Fraser Gordon wrote: > Out of interest - why are you trying to do this? I ask because trying to > do so may not be useful in future versions of LiveCode. I'm preparing data for use through an API. The API doesn't support unicode, so any entries I create that include unicode will give bad results. I need to figure out how many entries use unicode to get a sense of the scope of the issue, and then either convert them to plain text or drop them from the update. From jacque at hyperactivesw.com Thu Mar 20 12:00:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Mar 2014 11:00:47 -0500 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> Message-ID: <532B10AF.80202@hyperactivesw.com> On 3/20/14, 10:09 AM, Devin Asay wrote: > So it appears that each time I launch the project I have to reassign > the behavior to the buttons. This only seems to happen for behaviors > stored in library stacks. I have seen a similar problem with objects > that were assigned a background pattern stored in a library stack. In > that instance I finally had to add a line of code in my preOpenStack > handler to reassign the bg pattern. My guess is: the engine looks for behaviors and other resources when the main stack first opens (before any messages are sent,) then it gets the command to open the libraries, and by the time that happens the main stack has already finished looking for all resources. If my theory is right, you wouldn't see the problem if you were using a launch stack that loads the libraries and then opens the main working stack. The libraries would be in RAM already in that scenario. Maybe the engine could change the order so that it doesn't look for resources until after preOpenStack is sent, but I'm not sure what the internal repercussions of that would be. Might be worth a feature request though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Mar 20 12:01:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 20 Mar 2014 09:01:18 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: <532AF113.4000206@fourthworld.com> Message-ID: It would be remiss of me at this point to not point out that there are at least two alternatives to the ApplicationBrowser/Project Browser/Inspector - my lcStackBrowser and Mats Wilstrand's rIDE. Both of them offer all the capabilities of the above IDE components plus more. The main difference is that rIDE is free and open source, while I, being less altruistic and more money grubbing than Mats, demand payment for lcStackBrowser and also have the audacity to password protect it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Mar 20, 2014 at 7:07 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 20/03/14 15:45, Richard Gaskin wrote: > > larry wrote: > > > When selecting multiple objects (for grouping) it would be really > > nice to see a list of those objects instead of the vague "Multiple > > Objects" in the Inspector. I would even settle for just the number > > of objects instead of the almost useless "Multiple" > > > > There have been times when I inadvertently selected 3 objects to > > group when I was really trying to group just 2 objects. > > The Inspector has limited space so it may be difficult to display more than > a few items in it, but the Project Browser exhibits the behavior you're > looking for. > > > At which point . . . > > . . . we might like to consider whether Application Browser, Project > Browser and Inspector > isn't overdoing things a bit, and it might be time to consider rolling 2 or > 3 of them into one. > > A while ago somebody round these parts did suggest that maybe the Project > Browser wasn't the heir-apparent to replace the > Application Browser. > > Personally, I'd far rather keep the Application Browser as it is and roll > the Inspector and the Project Browser up into some sort > of Super Inspector. > > Or, just possibly put some of the Proj. Browser's capabilities over in the > App. Browser, and the rest in the Inspector, and then > remove the Proj. Browser. > > However; all I am trying to do here is stimulate a bit of debate now we > have had the Proj. Browser for a while. > > 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 jacque at hyperactivesw.com Thu Mar 20 12:03:14 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Mar 2014 11:03:14 -0500 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <532B0F31.8020306@fourthworld.com> References: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> <532B0F31.8020306@fourthworld.com> Message-ID: <532B1142.30903@hyperactivesw.com> On 3/20/14, 10:54 AM, Richard Gaskin wrote: > To simplify this occasional necessity, I had hoped the team would have > implemented a command they once talked about in the early days of > behaviors but never quite got around to: "resolve behaviors", which > would trigger the same resolution mechanism that happens when stacks are > first loaded, but could be called whenever you need it. > > FWIW I submitted a request for that: > You're way ahead of me. We wrote our responses at the same time. Yours is better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From michael.mccreary at runrev.com Thu Mar 20 12:37:44 2014 From: michael.mccreary at runrev.com (Michael McCreary) Date: Thu, 20 Mar 2014 16:37:44 +0000 Subject: RELEASE: LiveCode 6.6 Message-ID: <532B1958.5040401@runrev.com> Dear List Members. We are pleased to announce the release of LiveCode 6.6. Release Contents * 'assert' command (experimental) * New **showAll** fullscreenmode. * Hi-DPI support for Windows 7/8 and OSX. * HTTPS through proxy * Image Filtering Updates * iOS 7.1 Support * Graphics Library Update * OpenSSL & Encryption Updates * Proxy automatic configuration support * 'secure socket' command * '#!' now recognised by server * SQLite support updated and improved * Stack scaling * OS 10.4 (Tiger) support dropped Bug Fixes * 11946 - iOS 7.1 Simulator doesn't remember device type when launching using 'Test' * 11927 - LCInterfaceQueryViewScale returns incorrect scale values * 11925 - revBrowser does not use retina resolution on retina Macs. * 11924 - matrixMultiply crashes if given non-arrays as input. * 11915 - Fullscreen mode not preserved when using 'go in window'. * 11914 - Popping up a stack or using a stack as a menu causes strange problems. * 11908 - Images with best resizeQuality print at low resolution. * 11903 - Ensure large XML files (those with large text nodes) still parse. * 11893 - Attaching an empty stack panel to a combo or option menu causes a crash when opened. * 11892 - Image blending only works for srcOver inkMode * 11888 - Malformed htmlText can cause an infinite loop. * 11885 - Memory leak in iOS causes app to exit * 11882 - textStyle box has missing pixel in topleft. * 11880 - Tiles with a constant color blend incorrectly when acceleratedRendering is in OpenGL mode. * 11874 - BinaryDecode wrong on Android * 11867 - Union and intersect commands can give erroneous results if source array is empty or not an array. * 11858 - Hidden stacks don't update their position when re-shown * 11844 - Stack height limited to screen height * 11841 - The effective revAvailableHandlers of an object sometimes contains duplicates * 11836 - MouseLoc returns wrong value if pixelScale set to value other than 1 * 11823 - SQLite enhanced query syntax not enabled. * 11819 - Windows with no decorations don't redraw on first open. * 11816 - Native Android control rects not scaled when set from preOpenStack handler * 11814 - Accelerated rendering causes cards to be rendered in the bottom left of the screen on iOS Retina devices * 11813 - 'go in window' doesn't work on mobile * 11811 - Cannot take screen snapshot at high resolution. * 11789 - mobileComposeMail only blocks the first time on Android. * 11785 - Option menu with height > 22 draws incorrectly on OSX with Retina display. * 11783 - Setting the fullscreenmode on Windows when not fullscreen causes text to change. * 11781 - Visual effects can display in the wrong place on iOS on Retina devices. * 11778 - averageDeviation returns incorrect result on Mac, Linux, iOS, Android * 11771 - Pasting HTML containing BR doesn't copy into LiveCode correctly from Safari on Mac. * 11769 - Copying from a field with paragraph-level metadata causes incorrect RTF output (thus meaning it pastes incorrectly into other apps on Mac). * 11754 - Error (invalid bundle) on uploading app to iOS App Store * 11753 - Cannot play some video streams on Android * 11751 - After selecting an item in an option menu contaning unicode, the label is corrupted (Mac only) * 11732 - <> operator is different from 'is not' operator for arrays * 11728 - Changing the backdrop color doesn't update properly on Mac. * 11721 - Crash when taking a snapshot of the template graphic * 11720 - SQLite FTS feature doesn't work on iOS or Mac. * 11715 - LiveCode crashes if dragsource object is closed during dragEnd handler * 11704 - Patterns cannot be applied to lines. * 11703 - iPhoneSetRemoteControlDisplay crashes * 11654 - import snapshot doesn't finish until keypress on Lion. * 11649 - Android app name can't contain unicode text * 11617 - acceleratedRendering will clip the end of long scrolling groups * 11462 - Failing to set image data to the image data of self * 11442 - Can't quit LiveCode after setting the securityPermissions to "network" * 11124 - No error message when external not found when deploying to simulator * 11069 - mobileComposeMail attachment missing in Android * 10910 - "Crop image" command crashes LiveCode application * 10467 - Indenting of scripts can go wrong * 10280 - SQLite binary entries are non-standard. * 8044 - setting a cprop with quotes loses data * 5331 - Mac live window resizing is off by default. Getting this release To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ Reporting Bugs If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team -- *Michael McCreary . Runtime Revolution Ltd LiveCode - Unleash Your Killer App* mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : michael.mccreary at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com From guglielmo at braguglia.ch Thu Mar 20 12:58:35 2014 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 20 Mar 2014 17:58:35 +0100 Subject: A weird bug/occurrence In-Reply-To: References: Message-ID: <532B1E3B.1080408@braguglia.ch> Hi Geoff, have you a "fusion" drive on your Mac ? Because on mine, with "fusion" drive, I have experienced some strange behavior, and ... not only with LiveCode ... I think there is some sneaky issue with updates of caches on Mavericks with "fusion" drive ... Guglielmo Geoff Canyon wrote: > I was trying to make a copy of a stack to take on the road, by: > > 1. Saving the stack and closing LC on one Mac. (mountain lion, LC 6.5.2) > 2. Copying the stack to a USB drive. > 3. Copying the stack to another Mac (Mavericks, LC 6.5.2) > > I opened the stack, and saw what I thought was an earlier revision -- half > of one card, with fields and buttons I had added, was missing. > > I repeated several times, and no luck. I took it as some way that I was > copying the wrong file (a backup, perhaps) and decided to live with it, > because I was out of time. > > Later, on the Mavericks mac, I was modifying that stack. I had taken > several steps toward re-building what I had lost, when POP everything > appeared. literally just wasn't there, then it was. > > It wasn't a single group (which could have been invisible, then visible). > > It wasn't the whole card. > > It was several controls -- fields and buttons -- loose on the card, that > somehow were invisible, or inaccessible, and then came back. Unfortunately > I never thought to look using Navigator to see if the miscreant items were > invisible or really (seemingly) not there. > > Has anyone experienced something similar? > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Mar 20 13:01:36 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 20 Mar 2014 17:01:36 +0000 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <532B0F31.8020306@fourthworld.com> References: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> <532B0F31.8020306@fourthworld.com> Message-ID: On Mar 20, 2014, at 9:54 AM, Richard Gaskin wrote: > Devin Asay wrote: > > So it appears that each time I launch the project I have to reassign > > the behavior to the buttons. This only seems to happen for behaviors > > stored in library stacks. I have seen a similar problem with objects > > that were assigned a background pattern stored in a library stack. > > As much as I love behaviors, the finicky way they're resolved has been an annoyance for me: you have to make sure that any behavior script objects are loaded before any object that uses them. > > For example, if you have a mainstack which is an executable and contains objects that use behaviors, and a separate library stackfile which contains the behavior buttons, it will always fail because that mainstack is opened before the library is loaded, so the resolution will be attempted before the objects they resolve to can be known. > > The workaround is as you've discovered: you have to write code to reassign the behavior on the fly. > > To simplify this occasional necessity, I had hoped the team would have implemented a command they once talked about in the early days of behaviors but never quite got around to: "resolve behaviors", which would trigger the same resolution mechanism that happens when stacks are first loaded, but could be called whenever you need it. > > FWIW I submitted a request for that: > Thanks, Richard and Jacque, I'm sure, somewhere in the cobwebby corners of my brain, there is a dusty memory of this discussion, but it takes me multiple times getting bitten by it to wrestle it from the grip of my inner slack-jawed yokel. I'll have to write a "poker" in my preopenStack script to force the resolution. I like Jacque's suggestion to load the libraries first, then the main project stack. I also like Richard's enhancement request, and I'd vote for it if we still had votes. It might not be a bad idea, Richard, to bump the version number up in the enhancement request to the latest release, maybe it'd get some attention. Thanks all, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From pete at lcsql.com Thu Mar 20 13:01:42 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 20 Mar 2014 10:01:42 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: <532AF113.4000206@fourthworld.com> Message-ID: Add Geoff Canyon's Navigator and Richard Gaskin's 4Wprops to the list. Pete lcSQL Software On Mar 20, 2014 9:01 AM, "Peter Haworth" wrote: > It would be remiss of me at this point to not point out that there are at > least two alternatives to the ApplicationBrowser/Project Browser/Inspector > - my lcStackBrowser and Mats Wilstrand's rIDE. > > Both of them offer all the capabilities of the above IDE components plus > more. The main difference is that rIDE is free and open source, while I, > being less altruistic and more money grubbing than Mats, demand payment for > lcStackBrowser and also have the audacity to password protect it. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Thu, Mar 20, 2014 at 7:07 AM, Richmond Mathewson < > richmondmathewson at gmail.com> wrote: > >> On 20/03/14 15:45, Richard Gaskin wrote: >> >> larry wrote: >> >> > When selecting multiple objects (for grouping) it would be really >> > nice to see a list of those objects instead of the vague "Multiple >> > Objects" in the Inspector. I would even settle for just the number >> > of objects instead of the almost useless "Multiple" >> > >> > There have been times when I inadvertently selected 3 objects to >> > group when I was really trying to group just 2 objects. >> >> The Inspector has limited space so it may be difficult to display more >> than >> a few items in it, but the Project Browser exhibits the behavior you're >> looking for. >> >> >> At which point . . . >> >> . . . we might like to consider whether Application Browser, Project >> Browser and Inspector >> isn't overdoing things a bit, and it might be time to consider rolling 2 >> or >> 3 of them into one. >> >> A while ago somebody round these parts did suggest that maybe the Project >> Browser wasn't the heir-apparent to replace the >> Application Browser. >> >> Personally, I'd far rather keep the Application Browser as it is and roll >> the Inspector and the Project Browser up into some sort >> of Super Inspector. >> >> Or, just possibly put some of the Proj. Browser's capabilities over in the >> App. Browser, and the rest in the Inspector, and then >> remove the Proj. Browser. >> >> However; all I am trying to do here is stimulate a bit of debate now we >> have had the Proj. Browser for a while. >> >> 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 mwieder at ahsoftware.net Thu Mar 20 13:01:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Mar 2014 17:01:57 +0000 (UTC) Subject: Rally the troops Part 2 - aka Wish List Part 1 References: <532AF113.4000206@fourthworld.com> Message-ID: Peter Haworth writes: > Both of them offer all the capabilities of the above IDE components plus > more. The main difference is that rIDE is free and open source, while I, > being less altruistic and more money grubbing than Mats, demand payment for > lcStackBrowser and also have the audacity to password protect it. Which means, of course, that it won't work with the Community version of LC, but it's otherwise a wonderful tool, well worth the price, and a great addition to my toolbox. -- Happy User ahsoftware at gmail.com From th.douez at gmail.com Thu Mar 20 13:17:37 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 20 Mar 2014 18:17:37 +0100 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: <532AF113.4000206@fourthworld.com> Message-ID: 2014-03-20 18:01 GMT+01:00 Mark Wieder : > Peter Haworth writes: > >> Both of them offer all the capabilities of the above IDE components plus >> more. The main difference is that rIDE is free and open source, while I, >> being less altruistic and more money grubbing than Mats, demand payment for >> lcStackBrowser and also have the audacity to password protect it. > > it's a wonderful tool, well worth the price, and a great > addition to my toolbox. +1 Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From mwieder at ahsoftware.net Thu Mar 20 13:28:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Mar 2014 17:28:38 +0000 (UTC) Subject: best/fastest way to tell if a field contains unicode text? References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: Fraser Gordon writes: > In LiveCode 7.0, all text is Unicode and there is no such thing as "non-Unicode text". In that case, shouldn't the setUnicode value be "true" rather than false? And does it make sense to have that property settable any more? -- Mark Wieder ahsoftware at gmail.com From revdev at pdslabs.net Thu Mar 20 13:36:31 2014 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 20 Mar 2014 10:36:31 -0700 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: Message-ID: <532B271F.1090804@pdslabs.net> Get the styledText of a field and check it for any "unicodeText" elements. (Or will that be meaningless in 7.0 when everything is Unicode?) Phil On 3/20/14, 8:37 AM, Geoff Canyon wrote: > I have a field that has been populated by setting the unicodetext. Some > lines actually need unicode -- umlauts, enye, etc. -- and others are plain > ascii. > > What's the most efficient way to count how many lines are plain and how > many actually need unicode? > > The best thing I've come up with so far is to count the length of each > line, and then get the HTML text and compare the lengths minus the

and >

. > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Thu Mar 20 13:39:25 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Mar 2014 17:39:25 +0000 (UTC) Subject: best/fastest way to tell if a field contains unicode text? References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: Fraser Gordon writes: > In LiveCode 7.0, all text is Unicode and there is no such thing as "non-Unicode text". There are ways to > convert text to and from legacy 8-bit encodings (like MacRoman) when doing I/O to > files/sockets/processes/etc but (in the engine at least) all text is Unicode. Um. put unidecode("hello bucko") converts the text to ??????. (I'm hoping that makes it through the various email filters)... in case it doesn't,, it's Kanji with an upside-down A in the middle. Running it through Google presented me with , which has the interesting Copyright @ 2002 Mark Twain - I assume the rumors of his death are once again exagerated. -- Mark Wieder ahsoftware at gmail.com From coiin at verizon.net Thu Mar 20 13:44:59 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 20 Mar 2014 13:44:59 -0400 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: When I try that I get ????? On Mar 20, 2014, at 1:39 PM, Mark Wieder wrote: > > put unidecode("hello bucko") > > converts the text to ??????. From fraser.gordon at runrev.com Thu Mar 20 13:50:28 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Thu, 20 Mar 2014 17:50:28 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> On 20 Mar 2014, at 17:28, Mark Wieder wrote: > > In that case, shouldn't the setUnicode value be "true" rather than false? > And does it make sense to have that property settable any more? All the previous Unicode functionality has been left as-is in order to avoid breaking existing stacks. However, they can be completely ignored in future. I don't think that there are any existing LiveCode commands/functions/properties/etc containing the word "unicode" that are actually useful in the 7.0 engine (but they all need to remain for backwards compatibility). One annoyance is that the unicodeText of a field is not, in fact, unicode text in the 7.0 engine - it is binary data. Similarly, the uniEncode and uniDecode functions convert between two different forms of binary data rather than binary data and text. As uniEncode and uniDecode do completely the wrong thing as far as 7.0 is concerned, they are deprecated and should be replaced with textDecode(binary encoding -> text) and textEncode(text -> binary encoding). Again, backwards compatibility. > put unidecode("hello bucko") > > converts the text to ??????. What you asked the engine to do there is convert UTF-16 to binary data (as uniDecode expects binary) which it does, giving you "hello bucko" in an 8-bit encoding. UniDecode then takes that and drops the high bytes of each UTF-16 codeunit that it expects the binary data to contain. But it isn't UTF-16 so bad things happen. In 7.0 you should instead say textEncode("hello bucko", "native") and you'll get some nice, 8-bit binary data. Or, if you just pass it to something that expects binary data (like a file), it'll get converted to 8-bit automatically. Regards, Fraser From mwieder at ahsoftware.net Thu Mar 20 13:50:49 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Mar 2014 17:50:49 +0000 (UTC) Subject: best/fastest way to tell if a field contains unicode text? References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: Colin Holgate writes: > > When I try that I get ????? > > On Mar 20, 2014, at 1:39 PM, Mark Wieder ahsoftware.net> wrote: > > > > > put unidecode("hello bucko") > > > > converts the text to ??????. Ah. Right. So do I. I had a comma after the hello originally, and it didn't make it into the email. -- Mark Wieder ahsoftware at gmail.com From fraser.gordon at runrev.com Thu Mar 20 14:10:30 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Thu, 20 Mar 2014 18:10:30 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> Message-ID: <29882421-1564-4A30-BD46-B3F9C9D5E32F@runrev.com> On 20 Mar 2014, at 17:39, Mark Wieder wrote: > put unidecode("hello bucko") > > converts the text to ??????. Thinking about this a bit more, I ought to write something up about how text and binary work in the 7.0 engine and how this relates to the existing ways of doing things. The short version is that text and binary data are now very different things and some unexpected things can happen when the engine converts between them. As a rough guide: unicodeText of ...: binary data, encoded in UTF-16 text of ?: text (unicode but transparent) I/O: expects and produces binary data uniEncode/uniDecode: accept and produce binary data When the engine implicitly converts binary data -> Unicode, it treats the binary data as native characters. When the engine implicitly converts Unicode -> binary data, it converts to native characters and changes unrepresentable characters to '?' The "byte" chunk expression operates on binary data. The "word", "char", etc chunk expressions operate on text. To convert from text to binary, use textEncode e.g. textEncode("Hello, World!", "UTF-8") To convert from binary to text, use textDecode e.g. textDecode(url(...), "UTF-8") Hope that helps explain what is going on. I'll write it up a bit more thoroughly so people have a guide to using Unicode (i.e it is transparent except where it can't be, like dealing with files*). *except in some cases ;) Regards, Fraser From pete at lcsql.com Thu Mar 20 14:11:58 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 20 Mar 2014 11:11:58 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: <532AF113.4000206@fourthworld.com> Message-ID: Thanks Mark. I'm looking at ways to make it available for Community Edition users, favorite right now is to turn it into a standalone program, either completely so or perhaps communicating with the IDE via a small, unprotected plugin. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Mar 20, 2014 at 10:01 AM, Mark Wieder wrote: > Peter Haworth writes: > > > Both of them offer all the capabilities of the above IDE components plus > > more. The main difference is that rIDE is free and open source, while I, > > being less altruistic and more money grubbing than Mats, demand payment > for > > lcStackBrowser and also have the audacity to password protect it. > > Which means, of course, that it won't work with the Community version of > LC, > but it's otherwise a wonderful tool, well worth the price, and a great > addition to my toolbox. > > -- > Happy User > 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 pete at lcsql.com Thu Mar 20 14:14:58 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 20 Mar 2014 11:14:58 -0700 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <532B0F31.8020306@fourthworld.com> References: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> <532B0F31.8020306@fourthworld.com> Message-ID: On Thu, Mar 20, 2014 at 8:54 AM, Richard Gaskin wrote: > For example, if you have a mainstack which is an executable and contains > objects that use behaviors, and a separate library stackfile which contains > the behavior buttons, it will always fail because that mainstack is opened > before the library is loaded, so the resolution will be attempted before > the objects they resolve to can be known. > > The workaround is as you've discovered: you have to write code to reassign > the behavior on the fly. > I wasn't aware of this issue but completely by chance I worked around it by making my library stack a substack of the mainstack which uses it. Of course that won't work for all circumstances but happens to work for me. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From richmondmathewson at gmail.com Thu Mar 20 14:45:04 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Mar 2014 20:45:04 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B1958.5040401@runrev.com> References: <532B1958.5040401@runrev.com> Message-ID: <532B3730.9010804@gmail.com> I am sorry to say that the middle button: "You Only" does not work as it stops with a windows that states this: "The installer will automatically continue when these conflicting applications are closed: -update" Using the "Custom" button, followed by "Install for you only" WORKS. UbuntuStudio 13.10 Richmond. From benr_mc at cogapp.com Thu Mar 20 14:40:00 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 20 Mar 2014 18:40:00 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: Message-ID: <532B3600.1050106@cogapp.com> On 20/03/2014 15:37, Geoff Canyon wrote: > I have a field that has been populated by setting the unicodetext. Some > lines actually need unicode -- umlauts, enye, etc. -- and others are plain > ascii. > > What's the most efficient way to count how many lines are plain and how > many actually need unicode? Could you (when all the uni-7 stuff has settled down and we have proper conversions etc) convert text from unicode to UTF8, and also to an 8- or 7-bit representation, and compare the number of bytes in these two representations? If the lengths are the same in both the UTF8 and ISO-8859-1 versions, then all the characters could be represented in a single byte in UTF8. That probably means in fact that all the characters are in ISO-8859-1 (I think that the one-byte characters in UTF8 approximately correspond to ISO-8859-1, but I'm prepared to be corrected). Depending your definition of 'plain', that may suffice. If your API actually needs plain ASCII, then you can convert one more time, to ASCII, and compare the actual text of the ISO-8859-1 and ASCII versions - if they differ that should be because some characters that aren't in ASCII have been replaced with "?", so it ain't ASCII. (Unless the textDecode system is cute and eg tries to replace 'smart' quotes with plain ones...) Ben From richmondmathewson at gmail.com Thu Mar 20 14:49:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Mar 2014 20:49:55 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B3730.9010804@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> Message-ID: <532B3853.3070205@gmail.com> On 20/03/14 20:45, Richmond wrote: > I am sorry to say that the middle button: "You Only" does not > work as it stops with a windows that states this: > > "The installer will automatically continue when these conflicting > applications are closed: > > -update" > > Using the "Custom" button, followed by "Install for you only" WORKS. This installs 6.6.0 into /opt/runrev/ where it does not show up in the XFCE menu, nor in Whisker, so one has to manually navigate there to execute the thing. It should install in /home/yourname/.runrev/components/ and show up in menu. > UbuntuStudio 13.10 > > Richmond. From palcibiades-first at yahoo.co.uk Thu Mar 20 15:04:18 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 20 Mar 2014 12:04:18 -0700 (PDT) Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B1958.5040401@runrev.com> References: <532B1958.5040401@runrev.com> Message-ID: <1395342258064-4677310.post@n4.nabble.com> Debian Jessie running Fluxbox. The updater starts, downloads, then seems to fail to either update or put a new version into /opt/rev. Tried twice. Also the updater loses all its text. I guess maybe update does not work and one has to install from scratch? Thinking of moving to i3 based on Carla Schroder's endorsement, but hate to think what that might do to LC! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-tp4677292p4677310.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Mar 20 15:24:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Mar 2014 21:24:45 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <1395342258064-4677310.post@n4.nabble.com> References: <532B1958.5040401@runrev.com> <1395342258064-4677310.post@n4.nabble.com> Message-ID: <532B407D.1020404@gmail.com> On 20/03/14 21:04, Peter Alcibiades wrote: > Debian Jessie running Fluxbox. The updater starts, downloads, then seems to > fail to either update or put a new version into /opt/rev. Tried twice. > Also the updater loses all its text. I guess maybe update does not work and > one has to install from scratch? > > Thinking of moving to i3 based on Carla Schroder's endorsement, but hate to > think what that might do to LC! > > Al > > Something went wrong between 'rc-2' and 'stable' as the 'Custom' install option will not allow you to type in a path by hand you cannot install to /home/yourname/.runrev/components. If it is installed in /opt/runrev/ hacks applied to it don't "stick". If one installs in in this sort of directory: /home/yourname/RR660/ one can apply hacks to it, but it does not appear in menus. Richmond. From warren at warrensweb.us Thu Mar 20 16:13:34 2014 From: warren at warrensweb.us (Warren Samples) Date: Thu, 20 Mar 2014 15:13:34 -0500 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B3730.9010804@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> Message-ID: <532B4BEE.6020800@warrensweb.us> On 03/20/2014 01:45 PM, Richmond wrote: > I am sorry to say that the middle button: "You Only" does not > work as it stops with a windows that states this: > > "The installer will automatically continue when these conflicting > applications are closed: Running openSUSE with KDE. I just installed by opening 6.5.2 and choosing to update when offered the option. As soon as the update started downloading (while it was downloading) I quit 6.5.2. This would be the conflicting application you're being warned about. The update proceeded normally, installing for only my user, correctly installed in ~/.runrev and appears in the launch menu as expected. Warren From richmondmathewson at gmail.com Thu Mar 20 16:27:52 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Mar 2014 22:27:52 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B4BEE.6020800@warrensweb.us> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> Message-ID: <532B4F48.8080100@gmail.com> On 20/03/14 22:13, Warren Samples wrote: > On 03/20/2014 01:45 PM, Richmond wrote: >> I am sorry to say that the middle button: "You Only" does not >> work as it stops with a windows that states this: >> >> "The installer will automatically continue when these conflicting >> applications are closed: > > > Running openSUSE with KDE. I just installed by opening 6.5.2 and > choosing to update when offered the option. As soon as the update > started downloading (while it was downloading) I quit 6.5.2. This > would be the conflicting application you're being warned about. The > update proceeded normally, installing for only my user, correctly > installed in ~/.runrev and appears in the launch menu as expected. > > Warren > I got that message having downloaded the installer, and attempting to install from that rather than via the upgrade system from inside an earlier version. Richmond. From warren at warrensweb.us Thu Mar 20 16:35:26 2014 From: warren at warrensweb.us (Warren Samples) Date: Thu, 20 Mar 2014 15:35:26 -0500 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B4F48.8080100@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532B4F48.8080100@gmail.com> Message-ID: <532B510E.9020405@warrensweb.us> On 03/20/2014 03:27 PM, Richmond wrote: > I got that message having downloaded the installer, and attempting to > install from that > rather than via the upgrade system from inside an earlier version. Well, that's not good! I hadn't realized you were using the straight installer and was additionally confused by having read Peter's message about having trouble with the updater. That's what I'll tell the judge, anyway. What happens if you use the update system? Good luck, Warren From palcibiades-first at yahoo.co.uk Thu Mar 20 16:48:45 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 20 Mar 2014 13:48:45 -0700 (PDT) Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B510E.9020405@warrensweb.us> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532B4F48.8080100@gmail.com> <532B510E.9020405@warrensweb.us> Message-ID: <1395348525070-4677315.post@n4.nabble.com> I've installed for everyone, so its in /opt. Maybe the thing to do is su to root and then fire up the old version and then do the update and kill the app immediately the download starts... Well. Worth a try. But there must be lots of people who install in /opt, so the installer or updater really should take account of it. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-tp4677292p4677315.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Thu Mar 20 16:58:32 2014 From: warren at warrensweb.us (Warren Samples) Date: Thu, 20 Mar 2014 15:58:32 -0500 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B4F48.8080100@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532B4F48.8080100@gmail.com> Message-ID: <532B5678.1010804@warrensweb.us> On 03/20/2014 03:27 PM, Richmond wrote: > I got that message having downloaded the installer, and attempting to > install from that > rather than via the upgrade system from inside an earlier version. > > Richmond. Richmond, I just tried it using the downloaded installer (both community and commercial versions). It worked as expected. I wonder if you might have had a left over .setup process running without you knowing. I have found that this will still occasionally not close when it should. Check your running processes before running the installer. Warren From richmondmathewson at gmail.com Thu Mar 20 17:15:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Mar 2014 23:15:23 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B5678.1010804@warrensweb.us> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532B4F48.8080100@gmail.com> <532B5678.1010804@warrensweb.us> Message-ID: <532B5A6B.6010604@gmail.com> On 20/03/14 22:58, Warren Samples wrote: > On 03/20/2014 03:27 PM, Richmond wrote: >> I got that message having downloaded the installer, and attempting to >> install from that >> rather than via the upgrade system from inside an earlier version. >> >> Richmond. > > > Richmond, I just tried it using the downloaded installer (both > community and commercial versions). It worked as expected. I wonder if > you might have had a left over .setup process running without you > knowing. I have found that this will still occasionally not close when > it should. Check your running processes before running the installer. Humph: I did. > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 20 17:25:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Mar 2014 23:25:03 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B5678.1010804@warrensweb.us> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532B4F48.8080100@gmail.com> <532B5678.1010804@warrensweb.us> Message-ID: <532B5CAF.8060104@gmail.com> Here's an incredibly boring and tedious report on an incredibly boring and tedious thing I did just now: Attempted install on UbuntuStudio [Linux] 13.10 32 bit, Mac OS 10.6.7, Mac OS 10.9.2, Windows XP SP2, Windows 7, WINE 1.7.13 of Livecode 6.6.0 stable and 7.0.0 dp-1 Community. http://forums.runrev.com/viewtopic.php?f=4&t=19658&p=99655#p99655 Richmond. From bobsneidar at iotecdigital.com Thu Mar 20 17:32:46 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Mar 2014 21:32:46 +0000 Subject: Problem with setting htmlText of field to empty in LiveCode 6.6RC2 - Found word(s) remove list in the Text body In-Reply-To: References: <1787A237-147D-4640-823B-926B52E3CB88@buffalo.edu><7BD5C554-B03F-4613-9B5F-95A4AECF1F7B@major-k.de><1E98AA6A-35AE-4D9B-9983-6CB4C4A7B749@buffalo.edu><3A3012E7-2432-4349-83BC-247C277516DB@economy-x-talk.com><5329BBB4.5090604@hyperactivesw.com><5329EFD8.5060400@hyperactivesw.com> Message-ID: <202DF55F-C834-4F23-8FD6-6F5A0E910F19@iotecdigital.com> Yes I agree that is odd. This could stumble you if you were conditionally putting empty into items, and then acting on an empty value. The last item would never get processed because it would no longer exist! It goes against the principle that for computers, empty is not the same as nothing. NULL is nothing. Empty is in terms of a Livecode string a value that still is taking up an address in memory. I guess it?s one of those oddities of Livecode we learn to live with. I suppose if were an issue, I would use an array instead. But it is inconsistent, and so is deleting the last line if you put empty into it. After all, we have DELETE if we really wanted to REMOVE the last word or item or line. put empty into should not work differently just because it is the last token we are working with. Bob On Mar 19, 2014, at 23:08 , Kay C Lan > wrote: put 1,2,3,4 into tStore put the number of items in tStore into msg --gives 4 put empty into item 2 of tStore put empty into item 4 of tStore put the number of items in tStore into msg --gives 3 From pete at lcsql.com Thu Mar 20 18:22:35 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 20 Mar 2014 15:22:35 -0700 Subject: Clone command problem Message-ID: It seems that the clone command allows you to bypass the unique stack name convention of LC. Let's say I have a substack named "Sub1" and another substack named "Copy of Sub1". If I issue the command "clone stack Sub1" in a script, it happily creates a new stack with the name "Copy of Sub1" so now I have two stacks with that name. Issuing the same command from the message box results in a warning about duplicate stack names, but it still creates the new substack. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From peterwawood at gmail.com Thu Mar 20 19:15:30 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 21 Mar 2014 07:15:30 +0800 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: <532B3600.1050106@cogapp.com> References: <532B3600.1050106@cogapp.com> Message-ID: <27B79336-B17D-4524-BC09-5EADD5258D65@gmail.com> Ben On 21 Mar 2014, at 02:40, Ben Rubinstein wrote: > That probably means in fact that all the characters are in ISO-8859-1 (I think that the one-byte characters in UTF8 approximately correspond to ISO-8859-1, but I'm prepared to be corrected). UTF-8 only has 128 one-byte characters (0 - 127) whereas ISO-8859-1 has 256 (0 - 255). The characters in the range 128 - 255 require two bytes in UTF-8. Regards Peter From bobsneidar at iotecdigital.com Thu Mar 20 20:06:33 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 00:06:33 +0000 Subject: before vs on in behavior scripts - red herring alert! In-Reply-To: <532B0F31.8020306@fourthworld.com> References: <50870EAA-95F4-45BB-B55D-2A1B3745632B@byu.edu> <532B0F31.8020306@fourthworld.com> Message-ID: When I worked on Radars, many technicians were convinced there were electronic gremlins, because the rate at which the equipment suffered a failure within days before a missile test was uncanny. I am not superstitious, but by the time I was discharged, I was not ruling out the possibility. Bob On Mar 20, 2014, at 08:54 , Richard Gaskin > wrote: Devin Asay wrote: > Later I discovered that *someone* (I blame the code kabouters*) had > gone in and assigned icon states to the buttons using the behaviors, > rendering the BEFORE and AFTER handlers redundant. I like "kabouters". I have a friend who refers to unexpected behavior in software as the work of faeries. I imagine Brahmanathswami blames the Menehuni. I blame Coyote, the mischievous spirit the native Californians blamed for the inexplicable annoyances of their world. :) From mwieder at ahsoftware.net Thu Mar 20 21:36:41 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Mar 2014 18:36:41 -0700 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> Message-ID: <104455451208.20140320183641@ahsoftware.net> Fraser- Thursday, March 20, 2014, 10:50:28 AM, you wrote: > One annoyance is that the unicodeText of a field is not, in fact, > unicode text in the 7.0 engine - it is binary data. Similarly, the > uniEncode and uniDecode functions convert between two different > forms of binary data rather than binary data and text. As uniEncode > and uniDecode do completely the wrong thing as far as 7.0 is > concerned, they are deprecated and should be replaced with > textDecode(binary encoding -> text) and textEncode(text -> binary > encoding). Again, backwards compatibility. Thanks. Most of that makes sense, but why not alias the deprecated uni* functions to text* functions rather than just having them return the wrong thing? > In 7.0 you should instead say textEncode("hello bucko", "native") > and you'll get some nice, 8-bit binary data. Or, if you just pass it > to something that expects binary data (like a file), it'll get > converted to 8-bit automatically. The textEncode function does indeed work as expected. I hadn't checked out the release notes before trying this. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Thu Mar 20 22:09:49 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 19:09:49 -0700 Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: On Wed, Mar 19, 2014 at 8:16 AM, Bob Sneidar wrote: > Actually, you need to down a few, and then all of this makes sense. > This is a good time to point out where quantum physics was developed . . . You didn't find Professors Einstein, Plank, Boltman, etc. in their offices, but in the bierhalls. And, speaking as a physics major, noone would have come up with that stuff sober . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Mar 20 22:14:51 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 19:14:51 -0700 Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: On Thu, Mar 20, 2014 at 7:09 PM, Dr. Hawkins wrote: > And, speaking as a physics major, noone would have come up with that stuff > sober . . . > OF course, this is coming from an attorney who actually used Schrodinger's Cat in his argument in Bankruptcy Court today . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Mar 20 22:38:10 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 19:38:10 -0700 Subject: RELEASE LiveCode 7.0 DP1 In-Reply-To: <1395315246724-4677277.post@n4.nabble.com> References: <325B2643-3E1E-4A54-851C-CBD7A586EDB8@runrev.com> <74D411E0-CB01-4866-BA9F-EF13B17B2E2C@netrin.com> <1395271019760-4677263.post@n4.nabble.com> <1395315246724-4677277.post@n4.nabble.com> Message-ID: On Thu, Mar 20, 2014 at 4:34 AM, Dave Kilroy wrote: > Actually though, if LC could include an auto insert of new version numbers > in the quality centre's drop-down then we can report bugs from the > get-go... > > It's not that hard to do . . . My software checks while opening the main stack whether it's in the IDE or not. If in the IDE, it checks whether the version from the filename is different from the version in the customProperties of the main stack. If it's different, I do things including setting the values in the application build stack, and the displayed version. No reason not to send another message adding the version number elsewhere (or asking). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Mar 20 22:42:11 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 19:42:11 -0700 Subject: 6.6 RC2 Release In-Reply-To: <53295191.9030903@gmail.com> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> Message-ID: On Wed, Mar 19, 2014 at 1:13 AM, Richmond wrote: > I'm sorry, but I am not going to take responsibility for your decision to > read the Use-List using a mobile device. > > LOL. > > Yet you took the time to quote properly :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Thu Mar 20 22:41:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Mar 2014 19:41:38 -0700 Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: <191459347984.20140320194138@ahsoftware.net> > OF course, this is coming from an attorney who actually used Schrodinger's > Cat in his argument in Bankruptcy Court today . . . You do realize, of course, that it's no good citing precedents in that case... -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Thu Mar 20 22:53:44 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 19:53:44 -0700 Subject: 6.6 RC2 Release In-Reply-To: <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> Message-ID: On Wed, Mar 19, 2014 at 8:18 AM, Bob Sneidar wrote: > I agree that people should select the pertinent text to be quoted before > replying. It's just good email etiquette. It's more than "good etiquette." it's correct, and not doing it is incorrect. This is spelled out in the ancient RFC that defines email. > However, there may be an option to reverse the direction of the quoted > text to place it at the top instead of the bottom of the post. Top-quoting is not an "option," it's just plain wrong. It came about from AOL placing the cursor before the text, an abuse followed by microsoft and gmail. I filed bugs 11562493 and 11562437 in the very early days of gmail, for not instructing users on etiquette and for misplacing the cursor in the top-posting position. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Mar 20 23:02:46 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 20:02:46 -0700 Subject: 6.6 RC2 Release In-Reply-To: <5329CD43.1020107@warrensweb.us> References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> <5329CD43.1020107@warrensweb.us> Message-ID: On Wed, Mar 19, 2014 at 10:00 AM, Warren Samples wrote: > If only we can get people to stop nesting responses within quoted text, > which can make for dizziness after a couple of rounds of replies. > Of course, that's one of your favorite techniques... (Yes, I understand the > logic, but it only really works for the first reply or two which makes it > seem to me to be an arrogant strategy. I know this has been discussed here > before, and I also see the problem is getting worse.) > ??? Are you out of your mind??? This is not a "preference," or a "technique." It is quite simply correct, and not doing it is wrong. It allows multiple sub-topics to be discussed in a thread, and to keep responses coherent, as opposed to the simplistic list. Quite seriously, in the old days, we simply flamed people until they complied with proper format. Then came on the Eternal September brought on by AOL led to this foolish notion that it was a matter of preference, rather than right and wrong. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Mar 20 23:05:01 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Mar 2014 20:05:01 -0700 Subject: before vs on in behavior scripts In-Reply-To: <191459347984.20140320194138@ahsoftware.net> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> <191459347984.20140320194138@ahsoftware.net> Message-ID: On Thu, Mar 20, 2014 at 7:41 PM, Mark Wieder wrote: > > OF course, this is coming from an attorney who actually used > Schrodinger's > > Cat in his argument in Bankruptcy Court today . . . > > You do realize, of course, that it's no good citing precedents in that > case... It is, or it isn't, but we don't know until he rules . . . (and the result was so good that I had a very rare beer with lunch . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From warren at warrensweb.us Thu Mar 20 23:33:41 2014 From: warren at warrensweb.us (Warren Samples) Date: Thu, 20 Mar 2014 22:33:41 -0500 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <53295191.9030903@gmail.com> <5329CD43.1020107@warrensweb.us> Message-ID: <532BB315.8080703@warrensweb.us> On 03/20/2014 10:02 PM, Dr. Hawkins wrote: > It is quite simply correct, and not doing it is wrong. Thank you very much for your response. No, I'm not out of my mind and your statement is your opinion and nothing more and I heartily disagree. The reasoning I gave - maintaining readability through several rounds of replies - is valid. Have a good evening. Warren From bobsneidar at iotecdigital.com Thu Mar 20 23:53:44 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 03:53:44 +0000 Subject: Deja Vu Message-ID: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> I know this has come up in the past, because I remember the poor fellow who was struggling with it. I have a field with a closeField handler. In the handler there is an answer dialog command which the user must respond to. The problem is that the answer dialog pops twice! I have verified by way of search that the ONLY closeField handler in this stack is the one in this field. I have also verified by way of search that nothing else is sending a close field to this field! Further, when I set a breakpoint and try to catch the bugger in the act of executing twice, IT DOES NOT DO IT! Only when I am running does it pop twice and it does so every time. Now I have tried all kinds of tricks, like setting a counter and bailing on the second time through, and locking messages before the answer dialog and unlocking them afterwards, and nothing prevents the dialog from popping twice. I believe this is a bug. Somehow the engine is sending the closeField message twice to the field, but NOT when in debug mode! Did anyone find a solution for this? Bob From bobsneidar at iotecdigital.com Thu Mar 20 23:55:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 03:55:56 +0000 Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: Wait, you mean to tell me that the notion of curved space came from a bunch of drunks who thought the room was spinning??? Bob On Mar 20, 2014, at 19:09 , Dr. Hawkins wrote: > On Wed, Mar 19, 2014 at 8:16 AM, Bob Sneidar wrote: > >> Actually, you need to down a few, and then all of this makes sense. >> > > This is a good time to point out where quantum physics was developed . . . > > You didn't find Professors Einstein, Plank, Boltman, etc. in their offices, > but in the bierhalls. > > And, speaking as a physics major, noone would have come up with that stuff > sober . . . > > > -- > 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 pete at lcsql.com Fri Mar 21 00:05:34 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 20 Mar 2014 21:05:34 -0700 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> Message-ID: C'mon guys, use a email reader that hides the quoted text unless you click on it (like gmail) and let's all get on with our lives. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Mar 20, 2014 at 7:53 PM, Dr. Hawkins wrote: > On Wed, Mar 19, 2014 at 8:18 AM, Bob Sneidar >wrote: > > > I agree that people should select the pertinent text to be quoted before > > replying. It's just good email etiquette. > > > It's more than "good etiquette." it's correct, and not doing it is > incorrect. This is spelled out in the ancient RFC that defines email. > > > > However, there may be an option to reverse the direction of the quoted > > text to place it at the top instead of the bottom of the post. > > > Top-quoting is not an "option," it's just plain wrong. > > It came about from AOL placing the cursor before the text, an abuse > followed by microsoft and gmail. > > I filed bugs 11562493 and 11562437 in the very early days of gmail, for not > instructing users on etiquette and for misplacing the cursor in the > top-posting position. > > > -- > 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 larry at significantplanet.org Fri Mar 21 00:07:48 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 20 Mar 2014 22:07:48 -0600 Subject: Rally the troops Part 2 - aka Wish List Part 1 References: <532AF113.4000206@fourthworld.com> Message-ID: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> Hello Richard, Thanks for the info, but it seems you missed my point. The Project Browser does NOT tell me BEFORE I group something what is going to be grouped. At least not that I can figure it out. I want something to show me what the grouping will be BEFORE I group it. Larry P.S. Does lcStackBrowser or Mats Wilstrand's rIDE give me the components BEFORE I group it? ----- Original Message ----- From: "Richard Gaskin" To: Sent: Thursday, March 20, 2014 7:45 AM Subject: Re: Rally the troops Part 2 - aka Wish List Part 1 > larry wrote: > > > When selecting multiple objects (for grouping) it would be really > > nice to see a list of those objects instead of the vague "Multiple > > Objects" in the Inspector. I would even settle for just the number > > of objects instead of the almost useless "Multiple" > > > > There have been times when I inadvertently selected 3 objects to > > group when I was really trying to group just 2 objects. > > The Inspector has limited space so it may be difficult to display more > than a few items in it, but the Project Browser exhibits the behavior > you're looking for. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 21 00:13:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 04:13:08 +0000 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> Message-ID: ?Wrong.? I have heard that word a lot in my life. Once it was ?wrong? to not double space between sentences. It was ?wrong? to eat spaghetti with a spoon. It was ?wrong? to ride my bike on the sidewalk. It was ?wrong? to pee with the toilet seat down. Okay, that?s still wrong! But you get my drift. ?Wrong? is sometimes only a way of saying, ?This is the way we think people on the whole should behave in this specific circumstance?. I think that what you must mean by, ?wrong? is, ?presently inconvenient to me?, but as Richmond pointed out, what is inconvenient for one may be standard operating procedure for another. I don?t want to belabor the point, but if some committee of persons sat around a table and actually wrote an RFC about how quoted text MUST be top down in an email or else it was just ?wrong?, then I am inclined to disregard their notions, and symbolically give them the raspberry! Has anyone actually explained to these people that they can actually have a LIFE? Now in a list like this, most people who read it I think are fairly familiar with the topics they are interested in, and do not really need to see all the quoted text, and while I again quite agree that only relative parts *should* be quoted, I am a long, long way from telling anyone here how wrong they are to quote everything, and while once I griped about the direction they were quoting, because I would get mixed quotes from different people who quoted in opposite directions making the thread of conversation hopelessly muddled, I won?t even go so far as to say THAT is wrong. It?s simply ?presently inconvenient to me.? Bob On Mar 20, 2014, at 19:53 , Dr. Hawkins > wrote: I agree that people should select the pertinent text to be quoted before replying. It's just good email etiquette. It's more than "good etiquette." it's correct, and not doing it is incorrect. This is spelled out in the ancient RFC that defines email. However, there may be an option to reverse the direction of the quoted text to place it at the top instead of the bottom of the post. Top-quoting is not an "option," it's just plain wrong. It came about from AOL placing the cursor before the text, an abuse followed by microsoft and gmail. From lan.kc.macmail at gmail.com Fri Mar 21 02:08:41 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 21 Mar 2014 14:08:41 +0800 Subject: Deja Vu In-Reply-To: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> References: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> Message-ID: On Fri, Mar 21, 2014 at 11:53 AM, Bob Sneidar wrote: > I know this has come up in the past, because I remember the poor fellow > who was struggling with it. > > I have a field with a closeField handler. In the handler there is an > answer dialog command which the user must respond to. > Sorry I don't know how to put links do old posts, but if you search for "What's is wrong with this Script logic" you'll find a work around. Basically something like this: on closefield send "hCheckEntry me" to me in 1 end closefield on hCheckEntry pData repeat until pData is an integer if the shiftkey is down then exit to top ask warning "Please enter only whole numbers!" with pData \ titled "Enter A Number" if the result = "cancel" then exit to top put it into pData end repeat put pData into me end hCheckEntry From lan.kc.macmail at gmail.com Fri Mar 21 02:35:42 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 21 Mar 2014 14:35:42 +0800 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> Message-ID: On Fri, Mar 21, 2014 at 12:13 PM, Bob Sneidar wrote: > > "Wrong." I have heard that word a lot in my life. > Well, I meet a lot of people and I'm conviced that the vast majority of wrongthinking people are right. [Mrs. Havoc-Jones] From palcibiades-first at yahoo.co.uk Fri Mar 21 03:17:12 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 21 Mar 2014 00:17:12 -0700 (PDT) Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B5CAF.8060104@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532B4F48.8080100@gmail.com> <532B5678.1010804@warrensweb.us> <532B5CAF.8060104@gmail.com> Message-ID: <1395386232058-4677340.post@n4.nabble.com> No, its broken. Update simply doesn't work. I'll download and try to install from scratch. This is: su to root, cd to /opt/runrev/release-in-question ./livedodexxx Then run the updater and quit LC as soon as downloading starts. The window loses its content and there is no update. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-tp4677292p4677340.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Fri Mar 21 05:26:41 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 21 Mar 2014 02:26:41 -0700 (PDT) Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B1958.5040401@runrev.com> References: <532B1958.5040401@runrev.com> Message-ID: <1395394001751-4677341.post@n4.nabble.com> No, its broke. Logged in as root, navigated to the download, started from the file manager, and I get the same thing, blank window with buttons with no text in them, and it don't work. Running it in a terminal gives no information. I do have mulitarch latest version (debian has dropped ia32 as such). Maybe there is something else dependency? But this is a standard debian install, admittedly without the horrible gnome or kde, but perfectly standard otherwise and everything else seems to work fine. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-tp4677292p4677341.html Sent from the Revolution - User mailing list archive at Nabble.com. From mblivecode at harbourhosting.co.uk Fri Mar 21 06:18:51 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 21 Mar 2014 10:18:51 +0000 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532B4BEE.6020800@warrensweb.us> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> Message-ID: <532C120B.90100@harbourhosting.co.uk> On 20/03/14 20:13, Warren Samples wrote: > On 03/20/2014 01:45 PM, Richmond wrote: >> I am sorry to say that the middle button: "You Only" does not >> work as it stops with a windows that states this: >> >> "The installer will automatically continue when these conflicting >> applications are closed: > > > Running openSUSE with KDE. I just installed by opening 6.5.2 and > choosing to update when offered the option. As soon as the update > started downloading (while it was downloading) I quit 6.5.2. This would > be the conflicting application you're being warned about. The update > proceeded normally, installing for only my user, correctly installed in > ~/.runrev and appears in the launch menu as expected. > > Warren > I did much the same under debian wheezy with xfce / multiarch: Update from within 6.5.2, selected install for you only, unchecked launch and quit, ran 6.6 from the menu All works as expected. Martin From richmondmathewson at gmail.com Fri Mar 21 06:56:10 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 12:56:10 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532C120B.90100@harbourhosting.co.uk> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532C120B.90100@harbourhosting.co.uk> Message-ID: <532C1ACA.7090602@gmail.com> I have extended my report with attempts on Xubuntu 12.04 LTS. http://forums.runrev.com/viewtopic.php?f=4&t=19658&p=99712#p99712 Richmond. From fraser.gordon at runrev.com Fri Mar 21 06:56:39 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 21 Mar 2014 10:56:39 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: <104455451208.20140320183641@ahsoftware.net> References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> <104455451208.20140320183641@ahsoftware.net> Message-ID: On 21 Mar 2014, at 01:36, Mark Wieder wrote: > > Thanks. Most of that makes sense, but why not alias the deprecated > uni* functions to text* functions rather than just having them return > the wrong thing? UniEncode would alias to textDecode and uniDecode to textEncode as the closest equivalents. Unfortunately, they're not exactly equivalent - as I found out when I initially re-implemented them in 7.0. That's the reason behind most of the functions we've marked as deprecated in 7.0 - upgrading them to support Unicode would break existing stacks in subtle ways (e.g. numToChar - somebody, somewhere, might be depending on the fact that it interprets the number modulo 256. Plus, it takes the native encoding rather than Unicode codepoints). > > The textEncode function does indeed work as expected. I hadn't checked > out the release notes before trying this. Reading the release notes is almost as common as reading the (friendly?) manual? It does make me wonder if one of the most important pieces of feedback from this DP is that we need to find some way to better highlight these changes. Somewhat ironically, the transparent Unicode support means: - New stacks don't require any additional work to support Unicode - Existing stacks with no Unicode support need (hopefully) minor changes where they do binary I/O - Existing stacks using uni* should remove all the uni* stuff Thankfully, removing uni* doesn't need to be done all at once - if you set the unicodeText of a field and then get the text of it, the text you'll get will be Unicode. The main disadvantage to continuing to use the unicodeText is that some of the new chunk expression features may not work properly (e.g. trueWord won't work; char won't properly account for combining characters, etc) because they are operating on binary data rather than text. Regards, Fraser From warren at warrensweb.us Fri Mar 21 08:47:48 2014 From: warren at warrensweb.us (Warren Samples) Date: Fri, 21 Mar 2014 07:47:48 -0500 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <1395394001751-4677341.post@n4.nabble.com> References: <532B1958.5040401@runrev.com> <1395394001751-4677341.post@n4.nabble.com> Message-ID: <532C34F4.6020007@warrensweb.us> On 03/21/2014 04:26 AM, Peter Alcibiades wrote: > No, its broke. ... Maybe > there is something else dependency? Since it's worked for others, it might not be correct to say "it's broke". There must be some definable reason it's not working on your system and a dependency issue sounds like the most probable cause. I don't see that the specified dependencies have changed, although there is evidence that the dependencies listed as optional are becoming required. People with disappearing interface text in 6.5 fixed that by installing libpango (32 bit version). If you've had 6.5 running without issue, then you might be lacking something else. As a first step, I would suggest you check your system for all the "optional" libs. Good luck, Warren From bernd.niggemann at uni-wh.de Fri Mar 21 09:40:02 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 21 Mar 2014 06:40:02 -0700 (PDT) Subject: before vs on in behavior scripts In-Reply-To: References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> Message-ID: <1395409202757-4677346.post@n4.nabble.com> Dr. Hawkins wrote > This is a good time to point out where quantum physics was developed . . . > > You didn't find Professors Einstein, Plank, Boltman, etc. in their > offices, > but in the bierhalls. > > And, speaking as a physics major, noone would have come up with that stuff > sober . . . may I humbly suggest to a physics major to reconsider the spelling of "Boltman"? :) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/before-vs-on-in-behavior-scripts-tp4677166p4677346.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Fri Mar 21 09:43:55 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 21 Mar 2014 06:43:55 -0700 (PDT) Subject: before vs on in behavior scripts In-Reply-To: <1395409202757-4677346.post@n4.nabble.com> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> <1395409202757-4677346.post@n4.nabble.com> Message-ID: <1395409435990-4677347.post@n4.nabble.com> Dear Dr. Hauking, and while you are at reconsidering spelling you might want to have a look at "Plank" also. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/before-vs-on-in-behavior-scripts-tp4677166p4677347.html Sent from the Revolution - User mailing list archive at Nabble.com. From gcanyon at gmail.com Fri Mar 21 10:08:51 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 21 Mar 2014 10:08:51 -0400 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> <104455451208.20140320183641@ahsoftware.net> Message-ID: On Fri, Mar 21, 2014 at 6:56 AM, Fraser Gordon wrote: > That's the reason behind most of the functions we've marked as deprecated > in 7.0 - upgrading them to support Unicode would break existing stacks in > subtle ways (e.g. numToChar - somebody, somewhere, might be depending on > the fact that it interprets the number modulo 256. Plus, it takes the > native encoding rather than Unicode codepoints). That's the Microsoft way to handle this. The Apple way would simply be to do the right thing -- if you want to be nice, issue a note that backwards compatibility is being broken and specify how and the reasons. From gcanyon at gmail.com Fri Mar 21 10:10:51 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 21 Mar 2014 10:10:51 -0400 Subject: A weird bug/occurrence In-Reply-To: <532B1E3B.1080408@braguglia.ch> References: <532B1E3B.1080408@braguglia.ch> Message-ID: On Thu, Mar 20, 2014 at 12:58 PM, Guglielmo Braguglia < guglielmo at braguglia.ch> wrote: > have you a "fusion" drive on your Mac ? I don't think so -- macbook pro w/retina display, straight SSD. From ambassador at fourthworld.com Fri Mar 21 10:52:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 Mar 2014 07:52:07 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> References: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> Message-ID: <532C5217.3030004@fourthworld.com> larry wrote: > Hello Richard, > Thanks for the info, but it seems you missed my point. The Project Browser > does NOT tell me BEFORE I group something what is going to be grouped. At > least not that I can figure it out. I want something to show me what the > grouping will be BEFORE I group it. The Project Browser shows all currently-selected objects. Once you select objects, those are highlighted there before subsequently grouping. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From vclement at gmail.com Fri Mar 21 11:02:19 2014 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 21 Mar 2014 08:02:19 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <532C5217.3030004@fourthworld.com> References: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> <532C5217.3030004@fourthworld.com> Message-ID: Hi Richard First the objects on the screen will have the selection highlights appear when you select them to be apart of a group. On the edit menu you can use the Select Grouped Controls and then you can click to add the objects you want to add to the group. If you group the selected items, then deselect the Select Grouped Controls and click on the objects they will be surrounded as a group on the screen with the highlight box. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Fri, Mar 21, 2014 at 7:52 AM, Richard Gaskin wrote: > larry wrote: > > Hello Richard, >> Thanks for the info, but it seems you missed my point. The Project >> Browser >> does NOT tell me BEFORE I group something what is going to be grouped. At >> least not that I can figure it out. I want something to show me what the >> grouping will be BEFORE I group it. >> > > The Project Browser shows all currently-selected objects. Once you select > objects, those are highlighted there before subsequently grouping. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 21 11:12:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 15:12:49 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> <104455451208.20140320183641@ahsoftware.net> Message-ID: Apple vs Microsoft anyone? I?m not a huge Microsoft fan, but I have to work with it everyday as part of my job, so I?ve learned to live with it. But Apple of late has not blown my skirt up either. Soldering memory to the motherboard?? And why??? Well they will cite cost of production, but how curious that we can no longer take advantage of the price match guarantee on a memory upgrade when we walk into a store and buy a laptop instead of paying three to four times the market price for Apple memory. And glueing the battery to the case? well seems we have to take it to Apple to get serviced if the battery needs replacing now, don?t we? Bob On Mar 21, 2014, at 07:08 , Geoff Canyon wrote: > On Fri, Mar 21, 2014 at 6:56 AM, Fraser Gordon wrote: > >> That's the reason behind most of the functions we've marked as deprecated >> in 7.0 - upgrading them to support Unicode would break existing stacks in >> subtle ways (e.g. numToChar - somebody, somewhere, might be depending on >> the fact that it interprets the number modulo 256. Plus, it takes the >> native encoding rather than Unicode codepoints). > > > That's the Microsoft way to handle this. The Apple way would simply > be to do the right thing -- if you want to be nice, issue a note that > backwards compatibility is being broken and specify how and the > reasons. > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 21 11:20:35 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 Mar 2014 08:20:35 -0700 Subject: [OT][[TL/DR] Re: 6.6 RC2 Release In-Reply-To: References: Message-ID: <532C58C3.2020505@fourthworld.com> Bob Sneidar wrote: > I think that what you must mean by, ?wrong? is, ?presently > inconvenient to me?, but as Richmond pointed out, what is > inconvenient for one may be standard operating procedure for > another. I don?t want to belabor the point, but if some committee > of persons sat around a table and actually wrote an RFC about how > quoted text MUST be top down in an email or else it was just ?wrong?, > then I am inclined to disregard their notions, and symbolically give > them the raspberry! Has anyone actually explained to these people > that they can actually have a LIFE? Being a bit of a curmudgeon myself (after all, I've earned the honor of having food thrown at me during a RevLive conference session on code style ), I find it fascinating that a matter of etiquette found its way into an RFC. Social conventions, whether email or others, change over time. Once upon a time Henry Watson Fowler (author of the esteemed, and later sadly watered-down, Dictionary of Modern English Usage) would have had fits had he heard the word "irregardless", having devoted a section in his book under "L" for "Love of the Long Word", and given that "irregardless" came into popular usage largely from its frequent use by the fictional Archie Bunker. But today "irregardless" is in the OED. Similarly, it was once well respected that of course you would only drop by your friend's house on their established visiting day, and on any other you would expect only to leave your card with the butler for a future appointment. Few of my friends have a visiting day, and none have a butler. And so it goes. When the RFC was written, email was a luxury enjoyed by a relative few. We didn't have our magazines filled with articles on how to manage an overflowing In Box and other side-effects of information overload, because few had email at all, the Web hadn't been invented, and none of us carried access to the entire world around in our pocket. So while there is a certain err-on-the-side-of-completeness charm to quoting an entire, sometimes lengthy, email before replying to a small part of it, it seems the result of an organic evolution of our information-grazing habits to expect that the original message be trimmed to the relevant portion. That said, it's merely a matter of taste, and perhaps usability, and neither trimming nor quoting in full is law. It benefits the respondent to trim because it helps ensure the response will be read. But as with my long off-topic posts here, the world won't stop if a message is overlooked because it's TL/DR. It only matters to the writer who wants it to be read. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Fri Mar 21 11:26:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 Mar 2014 08:26:32 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: Message-ID: <532C5A28.4010206@fourthworld.com> Vaughn Clement wrote: > First the objects on the screen will have the selection highlights appear > when you select them to be apart of a group. On the edit menu you can use > the Select Grouped Controls and then you can click to add the objects you > want to add to the group. If you group the selected items, then deselect > the Select Grouped Controls and click on the objects they will be > surrounded as a group on the screen with the highlight box. Yes, I see the same behavior here, but unless I'm missing something it seems correct, doesn't it? That is, the Project Browser consistently reflects the current selection, no? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Fri Mar 21 11:29:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 Mar 2014 08:29:31 -0700 Subject: Deja Vu In-Reply-To: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> References: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> Message-ID: <532C5ADB.7030601@fourthworld.com> Bob Sneidar wrote: > I have a field with a closeField handler. In the handler there is > an answer dialog command which the user must respond to. The problem > is that the answer dialog pops twice! I have verified by way of > search that the ONLY closeField handler in this stack is the one in > this field. I have also verified by way of search that nothing else > is sending a close field to this field! Further, when I set a > breakpoint and try to catch the bugger in the act of executing twice, > IT DOES NOT DO IT! Only when I am running does it pop twice and it > does so every time. Kay's workaround seems helpful, but if the engine is indeed sending the message twice that would be a bug. Can you come up with an isolated example that exhibits this behavior? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bobsneidar at iotecdigital.com Fri Mar 21 11:45:42 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 15:45:42 +0000 Subject: Deja Vu In-Reply-To: References: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> Message-ID: Kay, I?ll give your solution a try. Richard, I will attempt to do that. Bob On Mar 20, 2014, at 23:08 , Kay C Lan wrote: > On Fri, Mar 21, 2014 at 11:53 AM, Bob Sneidar > wrote: > >> I know this has come up in the past, because I remember the poor fellow >> who was struggling with it. >> >> I have a field with a closeField handler. In the handler there is an >> answer dialog command which the user must respond to. >> > > Sorry I don't know how to put links do old posts, but if you search for > "What's is wrong with this Script logic" you'll find a work around. > Basically something like this: > > on closefield > send "hCheckEntry me" to me in 1 > end closefield > > on hCheckEntry pData > repeat until pData is an integer > if the shiftkey is down then exit to top > ask warning "Please enter only whole numbers!" with pData \ > titled "Enter A Number" > > if the result = "cancel" then exit to top > put it into pData > end repeat > put pData into me > end hCheckEntry > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 21 11:58:29 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 15:58:29 +0000 Subject: Deja Vu In-Reply-To: <532C5ADB.7030601@fourthworld.com> References: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> <532C5ADB.7030601@fourthworld.com> Message-ID: <3D9B6B7B-C918-4012-870D-B4CBD116C49F@iotecdigital.com> Richard, I have a field with only the closeField handler and an answer dialog. Tabbing out of the field after editing pops the dialog, and any answer to the dialog returns the focus to the field, even if I pass closeField! That can?t be the desired behavior. Also, if you edit the field, then click on the Edit tool, the dialog will pop 3 times! I think the engine is not properly handling the focus of a field with a closeField handler and an answer dialog embedded in it. I?m willing to bet that if I move the closeField handler to the card, the problem will not exhibit itself. I have zipped up the stack. How would you like me to send it to you? Bob On Mar 21, 2014, at 08:29 , Richard Gaskin > wrote: Kay's workaround seems helpful, but if the engine is indeed sending the message twice that would be a bug. Can you come up with an isolated example that exhibits this behavior? -- Richard Gaskin Fourth World From jacque at hyperactivesw.com Fri Mar 21 12:01:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Mar 2014 11:01:43 -0500 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <532C5217.3030004@fourthworld.com> References: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> <532C5217.3030004@fourthworld.com> Message-ID: <532C6267.7010502@hyperactivesw.com> On 3/21/14, 9:52 AM, Richard Gaskin wrote: > The Project Browser shows all currently-selected objects. Once you > select objects, those are highlighted there before subsequently grouping. And the Application Browser does the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Mar 21 12:24:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 Mar 2014 09:24:07 -0700 Subject: Deja Vu In-Reply-To: <3D9B6B7B-C918-4012-870D-B4CBD116C49F@iotecdigital.com> References: <3D9B6B7B-C918-4012-870D-B4CBD116C49F@iotecdigital.com> Message-ID: <532C67A7.1040006@fourthworld.com> Bob Sneidar wrote: > Richard, I have a field with only the closeField handler and an > answer dialog. Tabbing out of the field after editing pops the > dialog, and any answer to the dialog returns the focus to the field, > even if I pass closeField! That can?t be the desired behavior. Also, > if you edit the field, then click on the Edit tool, the dialog will > pop 3 times! > > I think the engine is not properly handling the focus of a field with > a closeField handler and an answer dialog embedded in it. I?m willing > to bet that if I move the closeField handler to the card, the problem > will not exhibit itself. > > I have zipped up the stack. How would you like me to send it to you? If this is isolated from other code it would be helpful to see it in action. As Linus Torvalds says, "Given enough eyeballs, all bugs are shallow." If you could post it to a server and provide the URL here we could all look into it. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bobsneidar at iotecdigital.com Fri Mar 21 12:36:12 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Mar 2014 16:36:12 +0000 Subject: Deja Vu In-Reply-To: References: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> Message-ID: <9204D47C-E0AE-4882-B7D4-0DB431A3AC4D@iotecdigital.com> Okay so the solution is send in time. This apparently allows the engine to complete the closing of the field and then set the focus on the next field. Simply moving the closeField handler out of the field and into the card script did not do the trick. I am curious however, to know what gets executed first, the next objects openField handler, or the closeField handler in the card script. My money is on the openField handler! What an odd situation that would be then, that an openField handler gets executed before a closeField handler completes! Since the issue also occurs when selecting a tool, I?m going to hazard a guess and say that the focus of the field is not changing because the modal nature of the answer dialog interrupts the normal process of closing the field. Apparently, unless the closeField handler is allowed to terminate uninterrupted, it fails to complete. This also explains why in my test stack, tabbing out of the field to another field doesn?t actually happen. The focus remains on the original field, as is indicated by the focus border. Not sure if this is intended or not, so I am reticent to submit this as a bug. Also, It seems to me to be a fundamental engine modification which could have far reaching affects on existing projects. At any rate, thank you all for the workaround. It is passable, and in the end, all that really matters is that the application *appears* to work as intended. :-) Bob On Mar 21, 2014, at 08:45 , Bob Sneidar wrote: > Kay, I?ll give your solution a try. Richard, I will attempt to do that. > > Bob > > > On Mar 20, 2014, at 23:08 , Kay C Lan wrote: > >> On Fri, Mar 21, 2014 at 11:53 AM, Bob Sneidar >> wrote: >> >>> I know this has come up in the past, because I remember the poor fellow >>> who was struggling with it. >>> >>> I have a field with a closeField handler. In the handler there is an >>> answer dialog command which the user must respond to. >>> >> >> Sorry I don't know how to put links do old posts, but if you search for >> "What's is wrong with this Script logic" you'll find a work around. >> Basically something like this: >> >> on closefield >> send "hCheckEntry me" to me in 1 >> end closefield >> >> on hCheckEntry pData >> repeat until pData is an integer >> if the shiftkey is down then exit to top >> ask warning "Please enter only whole numbers!" with pData \ >> titled "Enter A Number" >> >> if the result = "cancel" then exit to top >> put it into pData >> end repeat >> put pData into me >> end hCheckEntry From effendi at wanadoo.fr Fri Mar 21 13:11:44 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 21 Mar 2014 18:11:44 +0100 Subject: Inserting Text, photo or video into a circle ? Message-ID: <8F11CBF1-7D32-4ACA-B662-AB6D176DAEBC@wanadoo.fr> Hi from Beautiful Brittany, I recently asked for help on displaying video clips in a circle. Scott Rossi put me on the right track, and I managed to get a stack up and running. Thanks Scott ! If anybody is interested, you can find the stack at : http://www.nugent.fr/Round1.htm I hope you have a good set of speakers. VF-001 is a great song ! Glad to explain anything if you find nebulous. Don?t ask me why the ?playerFinished" script doesn?t . . . . . Best Regards -Francis From pete at lcsql.com Fri Mar 21 13:17:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Mar 2014 10:17:15 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> References: <532AF113.4000206@fourthworld.com> <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> Message-ID: lcStackBrowser highlights all selected objects in it's display, assuming that the card they are on is expanded. You can also select the control's in lcStackBrowser. However they are selected, the pop up menu action to group them includes a count of how many control's are to be grouped. Pete lcSQL Software On Mar 20, 2014 9:07 PM, wrote: > Hello Richard, > Thanks for the info, but it seems you missed my point. The Project > Browser does NOT tell me BEFORE I group something what is going to be > grouped. At least not that I can figure it out. I want something to show > me what the grouping will be BEFORE I group it. > Larry > P.S. Does lcStackBrowser or Mats Wilstrand's rIDE give me the components > BEFORE I group it? > > > > ----- Original Message ----- From: "Richard Gaskin" < > ambassador at fourthworld.com> > To: > Sent: Thursday, March 20, 2014 7:45 AM > Subject: Re: Rally the troops Part 2 - aka Wish List Part 1 > > > larry wrote: >> >> > When selecting multiple objects (for grouping) it would be really >> > nice to see a list of those objects instead of the vague "Multiple >> > Objects" in the Inspector. I would even settle for just the number >> > of objects instead of the almost useless "Multiple" >> > >> > There have been times when I inadvertently selected 3 objects to >> > group when I was really trying to group just 2 objects. >> >> The Inspector has limited space so it may be difficult to display more >> than a few items in it, but the Project Browser exhibits the behavior >> you're looking for. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/FourthWorldSys >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 larry at significantplanet.org Fri Mar 21 13:23:01 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 21 Mar 2014 11:23:01 -0600 Subject: Rally the troops Part 2 - aka Wish List Part 1 References: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c><532C5217.3030004@fourthworld.com> <532C6267.7010502@hyperactivesw.com> Message-ID: <6CD03422F55D4DE487E6E1D6BE51EADA@userd204a4d61c> You've done it again Jacqueline! The simplest answer. I just never realized until you explained that the Application Browser highlights the selected objects. Thanks to all of you who helped me understand. Larry ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Friday, March 21, 2014 10:01 AM Subject: Re: Rally the troops Part 2 - aka Wish List Part 1 > On 3/21/14, 9:52 AM, Richard Gaskin wrote: > >> The Project Browser shows all currently-selected objects. Once you >> select objects, those are highlighted there before subsequently grouping. > > And the Application Browser does the same. > > -- > 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 mwieder at ahsoftware.net Fri Mar 21 13:28:55 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Mar 2014 17:28:55 +0000 (UTC) Subject: Deja Vu References: <6274E730-1B93-4432-B732-DE987D5FED44@iotecdigital.com> Message-ID: Bob Sneidar writes: > Further, when I set a breakpoint and try to catch the bugger in > the act of executing twice, IT DOES NOT DO IT! Only when I am running does it pop twice and it does so every time. http://en.wikipedia.org/wiki/Heisenbug -- Mark Wieder ahsoftware at gmail.com From larry at significantplanet.org Fri Mar 21 13:31:23 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 21 Mar 2014 11:31:23 -0600 Subject: P.S. Why is there no minimize button on the Project Browser? Message-ID: <53F5507794F148A69D65E9BA2F9DE9CD@userd204a4d61c> Am I missing something again? I can see no way to minimize the Project Browser, which reduces its usefullness a great deal. From pmbrig at gmail.com Fri Mar 21 14:05:58 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 21 Mar 2014 14:05:58 -0400 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <532C58C3.2020505@fourthworld.com> References: <532C58C3.2020505@fourthworld.com> Message-ID: <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> On Mar 21, 2014, at 11:20 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > I think that what you must mean by, ?wrong? is, ?presently > > inconvenient to me?, but as Richmond pointed out, what is > > inconvenient for one may be standard operating procedure for > > another. I don?t want to belabor the point, but if some committee > > of persons sat around a table and actually wrote an RFC about how > > quoted text MUST be top down in an email or else it was just ?wrong?, > > then I am inclined to disregard their notions, and symbolically give > > them the raspberry! Has anyone actually explained to these people > > that they can actually have a LIFE? > > > > So while there is a certain err-on-the-side-of-completeness charm to quoting an entire, sometimes lengthy, email before replying to a small part of it, it seems the result of an organic evolution of our information-grazing habits to expect that the original message be trimmed to the relevant portion. > > That said, it's merely a matter of taste, and perhaps usability, and neither trimming nor quoting in full is law. > > It benefits the respondent to trim because it helps ensure the response will be read. > > But as with my long off-topic posts here, the world won't stop if a message is overlooked because it's TL/DR. > > It only matters to the writer who wants it to be read. > > Guidelines are guidelines. Many times they make a good deal of sense, but they're just a tool, and the goal is to foster smooth communication. How you say things should always be in the service of getting your point across. So sometimes top quoting makes sense, sometimes bottom quoting, and sometimes interrupting the quote with responses to each point is the way to go. No algorithm will work all the time, and human judgment based on context is ultimately the thing that works best. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From larry at significantplanet.org Fri Mar 21 14:16:11 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 21 Mar 2014 12:16:11 -0600 Subject: [OT][[TL/DR] 6.6 RC2 Release References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> Message-ID: I'm really glad we're having this very lengthy discussion about email procedure. It's helping me a lot with my programming. ----- Original Message ----- From: "Peter M. Brigham" To: "How to use LiveCode" Sent: Friday, March 21, 2014 12:05 PM Subject: Re: [OT][[TL/DR] 6.6 RC2 Release On Mar 21, 2014, at 11:20 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > I think that what you must mean by, ?wrong? is, ?presently > > inconvenient to me?, but as Richmond pointed out, what is > > inconvenient for one may be standard operating procedure for > > another. I don?t want to belabor the point, but if some committee > > of persons sat around a table and actually wrote an RFC about how > > quoted text MUST be top down in an email or else it was just ?wrong?, > > then I am inclined to disregard their notions, and symbolically give > > them the raspberry! Has anyone actually explained to these people > > that they can actually have a LIFE? > > > > So while there is a certain err-on-the-side-of-completeness charm to > quoting an entire, sometimes lengthy, email before replying to a small > part of it, it seems the result of an organic evolution of our > information-grazing habits to expect that the original message be trimmed > to the relevant portion. > > That said, it's merely a matter of taste, and perhaps usability, and > neither trimming nor quoting in full is law. > > It benefits the respondent to trim because it helps ensure the response > will be read. > > But as with my long off-topic posts here, the world won't stop if a > message is overlooked because it's TL/DR. > > It only matters to the writer who wants it to be read. > > Guidelines are guidelines. Many times they make a good deal of sense, but they're just a tool, and the goal is to foster smooth communication. How you say things should always be in the service of getting your point across. So sometimes top quoting makes sense, sometimes bottom quoting, and sometimes interrupting the quote with responses to each point is the way to go. No algorithm will work all the time, and human judgment based on context is ultimately the thing that works best. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig _______________________________________________ use-livecode mailing list use-livecode 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 vclement at gmail.com Fri Mar 21 14:34:01 2014 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 21 Mar 2014 11:34:01 -0700 Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <6CD03422F55D4DE487E6E1D6BE51EADA@userd204a4d61c> References: <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> <532C5217.3030004@fourthworld.com> <532C6267.7010502@hyperactivesw.com> <6CD03422F55D4DE487E6E1D6BE51EADA@userd204a4d61c> Message-ID: Hi All I provided a YouTube video for the app I wrote for the LC Dictionary Pro for LC users. I did not get 1 comment or question on the video. Did anyone view the video? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Fri, Mar 21, 2014 at 10:23 AM, wrote: > You've done it again Jacqueline! The simplest answer. I just never > realized until you explained that the Application Browser highlights the > selected objects. Thanks to all of you who helped me understand. > Larry > > ----- Original Message ----- From: "J. Landman Gay" < > jacque at hyperactivesw.com> > To: "How to use LiveCode" > Sent: Friday, March 21, 2014 10:01 AM > > Subject: Re: Rally the troops Part 2 - aka Wish List Part 1 > > > On 3/21/14, 9:52 AM, Richard Gaskin wrote: >> >> The Project Browser shows all currently-selected objects. Once you >>> select objects, those are highlighted there before subsequently grouping. >>> >> >> And the Application Browser does the same. >> >> -- >> 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 richmondmathewson at gmail.com Fri Mar 21 14:40:50 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 20:40:50 +0200 Subject: P.S. Why is there no minimize button on the Project Browser? In-Reply-To: <53F5507794F148A69D65E9BA2F9DE9CD@userd204a4d61c> References: <53F5507794F148A69D65E9BA2F9DE9CD@userd204a4d61c> Message-ID: <532C87B2.6030709@gmail.com> On 21/03/14 19:31, larry at significantplanet.org wrote: > Am I missing something again? I can see no way to minimize the Project Browser, which reduces its usefullness a great deal. Which platform are you on? On Linux, at least, there are, in the top, right-hand corner 3 'things': '-' this makes your Browser end up on a taskbar (well, at least on XFCE), '+' this makes your Browser take up the whole screen minus any screen furniture, 'x' this make your Browser vanish (although it still stays in the memory). Richmond. P.S. 'usefulness' is spelled with one 'L'. From richmondmathewson at gmail.com Fri Mar 21 14:43:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 20:43:39 +0200 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> Message-ID: <532C885B.9000101@gmail.com> On 21/03/14 20:16, larry at significantplanet.org wrote: > I'm really glad we're having this very lengthy discussion about email > procedure. It's helping me a lot with my programming. LOL! Mind you, it could be pointed out that it was your choice to read the thread. Maybe I should insert a second comment somewhere further down the thread just to really keep things "smoking". Richmond. > From curry at pair.com Fri Mar 21 14:44:20 2014 From: curry at pair.com (Curry Kenworthy) Date: Fri, 21 Mar 2014 13:44:20 -0500 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: Message-ID: <532C8884.9080709@pair.com> Fraser wrote: >> That's the reason behind most of the functions we've marked as deprecated >> in 7.0 - upgrading them to support Unicode would break existing stacks in >> subtle ways Geoff wrote: > That's the Microsoft way to handle this. The Apple way would simply > be to do the right thing -- if you want to be nice, issue a note that > backwards compatibility is being broken and specify how and the > reasons. ... and the Apple way is also to completely change what's the "right thing" while breaking not only compatibility but often their own rules too. And that actually seems to keep the fans happy; to each his own. With LC I consider both Win and Mac to be a normal and inevitable part of life. Both are far from perfect. But that's beside the point, which is: I believe RunRev truly did the right thing in considering both compatibility and future features in this release. It was just that - considerate, for all users and for all goals. Good job RunRev! Thanks again. Best wishes, Curry K. From pystcat at gmail.com Fri Mar 21 14:46:07 2014 From: pystcat at gmail.com (PystCat) Date: Fri, 21 Mar 2014 14:46:07 -0400 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <532C885B.9000101@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> Message-ID: <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> STOP, STOP! Do you know how much it hurts to snort Tea through your nose..? :-P > On Mar 21, 2014, at 2:43 PM, Richmond wrote: > >> On 21/03/14 20:16, larry at significantplanet.org wrote: >> I'm really glad we're having this very lengthy discussion about email procedure. It's helping me a lot with my programming. > > LOL! > > Mind you, it could be pointed out that it was your choice to read the thread. > > Maybe I should insert a second comment somewhere further down the thread just to really keep things "smoking". > > 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 dave at applicationinsight.com Fri Mar 21 15:20:18 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 21 Mar 2014 12:20:18 -0700 (PDT) Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: References: <532AF113.4000206@fourthworld.com> <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> <532C5217.3030004@fourthworld.com> <532C6267.7010502@hyperactivesw.com> <6CD03422F55D4DE487E6E1D6BE51EADA@userd204a4d61c> Message-ID: <1395429618306-4677373.post@n4.nabble.com> Hi Vaughn - I've just checked back through this thread and can't find your youtube link - post it again and I'll have a look (and I promise I'll give you feedback...) Dave Vaughn Clement wrote > I provided a YouTube video for the app I wrote for the LC Dictionary Pro > for LC users. I did not get 1 comment or question on the video. Did anyone > view the video? ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rally-the-troops-Part-2-aka-Wish-List-Part-1-tp4677269p4677373.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Mar 21 15:30:25 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 21:30:25 +0200 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> Message-ID: <532C9351.8090508@gmail.com> On 21/03/14 20:46, PystCat wrote: > STOP, STOP! Do you know how much it hurts to snort Tea through your nose..? :-P You really ought to try it with badly filtered coffee sometime; the grounds do wonders to your nasal membranes :-P > >> On Mar 21, 2014, at 2:43 PM, Richmond wrote: >> >>> On 21/03/14 20:16, larry at significantplanet.org wrote: >>> I'm really glad we're having this very lengthy discussion about email procedure. It's helping me a lot with my programming. >> LOL! >> >> Mind you, it could be pointed out that it was your choice to read the thread. >> >> Maybe I should insert a second comment somewhere further down the thread just to really keep things "smoking". >> >> Richmond. >> >> >> From curry at pair.com Fri Mar 21 15:33:11 2014 From: curry at pair.com (Curry Kenworthy) Date: Fri, 21 Mar 2014 14:33:11 -0500 Subject: Do you miss the 'box' filter? In-Reply-To: References: Message-ID: <532C93F7.5050809@pair.com> I love the box filter for graphic effects. It makes wonderful outlines around text or graphics. It also runs quickly on low end hardware. It's been gone since LC 6.5, I believe. Is anyone else missing it as much as I am? Here's the report: Best wishes, Curry K. From alain.vezina at logilangue.com Fri Mar 21 15:35:13 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 21 Mar 2014 15:35:13 -0400 Subject: package maker In-Reply-To: <43149A7D-F3CB-47F1-954F-3E387F07FD45@logilangue.com> References: <178733FD-42CB-4AA9-8C28-53DE5CC2A61E@logilangue.com> <5C0CF6BB-CC4E-4095-9F31-93C57C824209@m-r-d.de> <4018C269-0987-40D6-A71D-D7FBAD43F522@logilangue.com> <5321DF8A.9070703@gmail.com> <91562F3F-EF45-4686-BEFA-7424D6E6755D@logilangue.com> <52E71219-1338-410E-815C-34D11C3BFE86@m-r-d.de> <7E58D327-D58A-4C30-A5BC-D5B7B9342687@logilangue.com> <43149A7D-F3CB-47F1-954F-3E387F07FD45@logilangue.com> Message-ID: <8E0A0C88-BB13-4431-9944-0A4E8854563D@logilangue.com> Hi All, I just want too tell anybody who doesn?t want to have problem with entitlements list, sign Mac app and package it that App Wrapper from Ohanaware is a very good choice. It is easy to use, rapid and the step by step documentation is very helpful. Three advices to use this application 1. on the main page, unselect ?Change Version?, otherwise, App Wrapper will change your info.plist and Apple will reject your app 2. don?t change the info.plist made by LiveCode except if you are sure of what you are doing (that's the problem I had the second time I try to use App Wrapper : because my info.plist was not correct, App Wrapper did not open and it sent me no message) 3. don?t use it on Mavericks; its behaviour is very strange. Hoping Ohanaware will fix this problem. It works very well on OS 10.8.5 Just let you know I am talking about App Wrapper 2.5, not the mini version. It is more expensive, but it is worth the price. Alain V?zina, directeur Logilangue 514-596-1385 www.logilangue.com Le 2014-03-19 ? 12:03, Alain Vezina a ?crit : > Hi All, > > Here is the answer I received this morning from Ohanaware : > > "Pleased to hear that you like our App Wrapper, on the main page, unselect ?Change Version?. It?s designed to automatically reformat your version number to Apple?s suggested format. However it shouldn?t be enabled when you version is only 3 places. So I will look into this. " > > I would have like to try it right now but my 15 day trial version no longer works, enven if 8 days are left. > I posted this problem to Ohanaware > > Alain V?zina > Logilangue > 514-596-1385 > www.logilangue.com > > Le 2014-03-13 ? 16:15, Alain Vezina a ?crit : > >> Hi Matthias, >> >> You can count on me. I like when someone helps me, so I will do the same. >> >> Regards, >> >> Alain V?zina >> Logilangue >> 514-596-1385 >> www.logilangue.com >> >> >> Le 2014-03-13 ? 15:59, Matthias Rebbe | M-R-D a ?crit : >> >>> Hi Alain, >>> >>> it would be nice, if you would share Ohanaware?s answer to your support request after you received it. >>> This would help others who have same problem. >>> >>> Regards, >>> >>> Matthias >>> >>> >>> Am 13.03.2014 um 18:01 schrieb Alain Vezina : >>> >>>> That?s what I did. I?m waiting for an answer. >>>> >>>> Alain V?zina >>>> >>>> Le 2014-03-13 ? 12:40, Marty Knapp a ?crit : >>>> >>>>> I would contact Ohanaware and let them know. He's a great guy and very responsive so if there's an issue with App Wrapper that needs to be fixed I'm sure he'll take care of it. >>>>> >>>>> Marty Knapp >>>>>> Hi Matthias, >>>>>> >>>>>> Thank you for helping. I tried this App Wrapper on Mountain Lion. I seemed to work well until I send my app to Apps Store. >>>>>> At that time I discovered that App Wrapper changed my info.plist by puttin 0 for the bundle version and it was supposed to be 1.2.7. So Apple rejected my app. >>>>>> >>>>>> So I?m wondering if you or somebody else know how to build an Entitlements list and where to put it in the standalone process. >>>>>> >>>>>> Regards >>>>>> >>>>>> Alain >>>>>> >>>>>> Le 2014-03-11 ? 16:22, Matthias Rebbe | M-R-D a ?crit : >>>>>> >>>>>>> Hi Alain, >>>>>>> >>>>>>> there is "App Wrapper? from Ohanaware. >>>>>>> They published some information about Mavericks & Codesigning for LiveCode apps. >>>>>>> >>>>>>> http://www.ohanaware.com/support/mavericksCodesign.php#liveCode >>>>>>> >>>>>>> I did not try it yet, but it reads and sounds reasonable. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Matthias Rebbe >>>>>>> >>>>>>> >>>>>>> Am 11.03.2014 um 20:53 schrieb Alain Vezina : >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> I used to use RB Package Maker Studio to prepare an app for Apple Store. >>>>>>>> It seems it no longer works on Mac OS 10.9. >>>>>>>> I loved this package maker especially for setting the entitlements. >>>>>>>> Is there anybody who knows an other package maker ? >>>>>>>> I know how to sign and package an app, but I don?t know how to fix the entitlements. >>>>>>>> >>>>>>>> Alain Vezina >>>>>>>> Logilangue >>>>>>>> 514-596-1385 >>>>>>>> www.logilangue.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 richmondmathewson at gmail.com Fri Mar 21 15:35:29 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 21:35:29 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532C1ACA.7090602@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532C120B.90100@harbourhosting.co.uk> <532C1ACA.7090602@gmail.com> Message-ID: <532C9481.8050405@gmail.com> Interestingly enough, both 6.6 and 7 allow one to build Mac PPC and Mac Universal standalones. Currently I have no way of testing them: my 2 currently available PPC Macs being divided between my G3 iMac running Mac OS 9.2.2 (a.k.a.'Classic') and my MacMini running Xubuntu 12,04 PPC. Am I to assume that either: 1. The standalones they produce are duds? or 2. The standalones use earlier recensions of the engine (which, in the case of 7 would mean that all the new capabilites won't function)? Richmond. From richmondmathewson at gmail.com Fri Mar 21 15:43:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 21:43:06 +0200 Subject: Do you miss the 'box' filter? In-Reply-To: <532C93F7.5050809@pair.com> References: <532C93F7.5050809@pair.com> Message-ID: <532C964A.6070400@gmail.com> On 21/03/14 21:33, Curry Kenworthy wrote: > > I love the box filter for graphic effects. It makes wonderful outlines > around text or graphics. It also runs quickly on low end hardware. > > It's been gone since LC 6.5, I believe. > > Is anyone else missing it as much as I am? Here's the report: > > > > Best wishes, > > Curry K. > I just made a stack contain a field containing the text "cheese cheese cheese" and set the textStyle of the middle "cheese" to 'Box" in 6.6. 'stable' and everything worked as it should. I then did exactly the same thing in version 7 dp-7. I wouldn't miss it as I have never used it: that does not stop me thinking it should be kept. UbuntuStudio 13.10 From vclement at gmail.com Fri Mar 21 16:06:03 2014 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 21 Mar 2014 13:06:03 -0700 Subject: LC Dictionary Pro app for users of LC Message-ID: Hi all I just had a email question about the link for the app I developed for the LiveCode Dictionary improved features. The link below is for the YouTube intro for this app. I wanted to get feedback before it goes live in the near future. If you want to comment or add your suggestions for this app I looking for any comments. The YouTube link: https://www.youtube.com/watch?v=YFDZjxVHgZI&feature=em-upload_owner Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 From pete at lcsql.com Fri Mar 21 16:25:00 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Mar 2014 13:25:00 -0700 Subject: 7.0 Issues Message-ID: Two issues so far, all while going through the compile stage at startup which I assume is necessary for the new file format. On starting up on of my plugins got an error on put arrayDecode(it) into tVar Got the error "visual: not a visual name" with Hint: set to "fast" on the following: show group "SearchProgress" with visual effect "wipe down" "fast" After receiving these messages, I closed the stack then tried to open it again from the Plugins menu but the stack did not load. Closed LC and re-opened and the stack was not in the plugins menu, even though it is still in my plugins folder. I put a fresh copy of the plugin into my Plugins folder and launched LC7 again. The plugin started up, gave the visual effect error but did not give me the arraydecode error. Also, the new cursorMovement and textDirection properties do not have dictionary entries. Off to the QCC but wanted to spread the word. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From curry at pair.com Fri Mar 21 16:27:07 2014 From: curry at pair.com (Curry Kenworthy) Date: Fri, 21 Mar 2014 15:27:07 -0500 Subject: Do you miss the 'box' filter? In-Reply-To: <532C964A.6070400@gmail.com> References: <532C964A.6070400@gmail.com> Message-ID: <532CA09B.8070809@pair.com> Richmond wrote: > I just made a stack contain a field containing the text "cheese cheese > cheese" > and set the textStyle of the middle "cheese" to 'Box" in 6.6. 'stable' and > everything worked as it should. Thanks! This is a graphic effect filter rather than a text style. Try an outerglow, or better yet try the test stack which has screen shots to compare with live test. I just tried 6.6 on Win, no box. Best wishes, Curry K. From richmondmathewson at gmail.com Fri Mar 21 16:40:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 22:40:45 +0200 Subject: Do you miss the 'box' filter? In-Reply-To: <532CA09B.8070809@pair.com> References: <532C964A.6070400@gmail.com> <532CA09B.8070809@pair.com> Message-ID: <532CA3CD.6010504@gmail.com> On 21/03/14 22:27, Curry Kenworthy wrote: > > Richmond wrote: > >> I just made a stack contain a field containing the text "cheese cheese >> cheese" >> and set the textStyle of the middle "cheese" to 'Box" in 6.6. >> 'stable' and >> everything worked as it should. > > Thanks! This is a graphic effect filter rather than a text style. Try > an outerglow, or better yet try the test stack which has screen shots > to compare with live test. I just tried 6.6 on Win, no box. > Maybe this is a Windows problem. I have just set up a textFld and set its outerglow, which gives the whole text field a rather nice 3D shadow sort of border. 6.6 Linux The same stack looks the same in 7 Linux. Half a mo' while I fire up VMware 6.0.1 with Windows 7. Looks the same in Windows 7 [6.6]. Tell me what I'm missing so I can try and duplicate this, Please. Best thing to do would be to lob me a screenshot off list??? Richmond. From bernd.niggemann at uni-wh.de Fri Mar 21 16:42:51 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 21 Mar 2014 13:42:51 -0700 (PDT) Subject: 7.0 Issues In-Reply-To: References: Message-ID: <1395434571084-4677383.post@n4.nabble.com> Hi Pete, I noticed that plug-ins in 5.5 format save in 7.0 format when opened in 7.0 and the plug-in is saved. This happens inspite of the the preference to save in legacy format. Might that be a problem for you? It certainly is if you try out 7.0 and use a plug-in and then use 6.x and the plug-in will not work (does not load and does not show up in the plug-in menu, which is understandable since 6.x does not know the file format 7.0) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677383.html Sent from the Revolution - User mailing list archive at Nabble.com. From fraser.gordon at runrev.com Fri Mar 21 16:47:52 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 21 Mar 2014 20:47:52 +0000 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532C9481.8050405@gmail.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532C120B.90100@harbourhosting.co.uk> <532C1ACA.7090602@gmail.com> <532C9481.8050405@gmail.com> Message-ID: <532CA578.2050803@runrev.com> On 21/03/2014 19:35, Richmond wrote: > Am I to assume that either: > > 1. The standalones they produce are duds? > > or > > 2. The standalones use earlier recensions of the engine The changes that cause incompatibilities with MacOS X 10.5 are part of 6.7, which is still under development and isn't yet part of LiveCode 7.0. The PPC engines in LiveCode 7.0 are simply there because we haven't removed them from the build process but they aren't tested and may or may not work properly. Regards, Fraser From richmondmathewson at gmail.com Fri Mar 21 16:49:49 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 22:49:49 +0200 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532CA578.2050803@runrev.com> References: <532B1958.5040401@runrev.com> <532B3730.9010804@gmail.com> <532B4BEE.6020800@warrensweb.us> <532C120B.90100@harbourhosting.co.uk> <532C1ACA.7090602@gmail.com> <532C9481.8050405@gmail.com> <532CA578.2050803@runrev.com> Message-ID: <532CA5ED.4040702@gmail.com> On 21/03/14 22:47, Fraser Gordon wrote: > On 21/03/2014 19:35, Richmond wrote: >> Am I to assume that either: >> >> 1. The standalones they produce are duds? >> >> or >> >> 2. The standalones use earlier recensions of the engine > The changes that cause incompatibilities with MacOS X 10.5 are part of > 6.7, which is still under development and isn't yet part of LiveCode > 7.0. The PPC engines in LiveCode 7.0 are simply there because we haven't > removed them from the build process but they aren't tested and may or > may not work properly. > > Regards, > Fraser > > Thanks for the clarification. Richmond. From fraser.gordon at runrev.com Fri Mar 21 16:52:49 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 21 Mar 2014 20:52:49 +0000 Subject: 7.0 Issues In-Reply-To: References: Message-ID: <532CA6A1.1030908@runrev.com> On 21/03/2014 20:25, Peter Haworth wrote: > Also, the new cursorMovement and textDirection properties do not have > dictionary entries. They are not documented because RTL is still an experimental feature and they will almost certainly change before the final release - we don't want anyone relying on their current behaviour just to find out things will be different in a later DP. Well done for spotting them though - having a bug in the bug tracker will definitely make sure we remember to add documentation when the feature becomes more stable! Regards, Fraser From jacque at hyperactivesw.com Fri Mar 21 16:56:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Mar 2014 15:56:05 -0500 Subject: flushEvents("system") Message-ID: <532CA765.6040503@hyperactivesw.com> The dictionary says flushEvents("system") ignores operating system events. Does anyone know which events those might be? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From fraser.gordon at runrev.com Fri Mar 21 16:56:49 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 21 Mar 2014 20:56:49 +0000 Subject: 7.0 Issues In-Reply-To: <1395434571084-4677383.post@n4.nabble.com> References: <1395434571084-4677383.post@n4.nabble.com> Message-ID: <532CA791.9090208@runrev.com> On 21/03/2014 20:42, BNig wrote: > I noticed that plug-ins in 5.5 format save in 7.0 format when opened in 7.0 > and the plug-in is saved. > This happens inspite of the the preference to save in legacy format. That definitely looks like a bug to me - the intention was that anything that was opened in 5.5 format (the current format) would remain in that format when saved instead of being converted to 7.0 format. I'm glad to see people testing 7.0; the more bug reports we receive now, the better the engine will be when it is released. With such extensive changes to the internals of the engine, there are always going to be a few things we didn't get right. Regards, Fraser From curry at pair.com Fri Mar 21 16:57:38 2014 From: curry at pair.com (Curry Kenworthy) Date: Fri, 21 Mar 2014 15:57:38 -0500 Subject: Do you miss the 'box' filter? In-Reply-To: <532CA3CD.6010504@gmail.com> References: <532CA3CD.6010504@gmail.com> Message-ID: <532CA7C2.1010009@pair.com> Richmond wrote: > Best thing to do would be to lob me a screenshot off list??? Screenshots and live demo in the test stack here in the report: Best wishes, Curry K. From pete at lcsql.com Fri Mar 21 17:00:13 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Mar 2014 14:00:13 -0700 Subject: 7.0 Issues In-Reply-To: <532CA6A1.1030908@runrev.com> References: <532CA6A1.1030908@runrev.com> Message-ID: Thanks Fraser, not a big issue, just wanted to be sure you are aware. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Mar 21, 2014 at 1:52 PM, Fraser Gordon wrote: > On 21/03/2014 20:25, Peter Haworth wrote: > > Also, the new cursorMovement and textDirection properties do not have > > dictionary entries. > > They are not documented because RTL is still an experimental feature and > they will almost certainly change before the final release - we don't > want anyone relying on their current behaviour just to find out things > will be different in a later DP. Well done for spotting them though - > having a bug in the bug tracker will definitely make sure we remember to > add documentation when the feature becomes more stable! > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Fri Mar 21 17:01:09 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Mar 2014 14:01:09 -0700 Subject: 7.0 Issues In-Reply-To: <1395434571084-4677383.post@n4.nabble.com> References: <1395434571084-4677383.post@n4.nabble.com> Message-ID: Bernd, This all happened while using 7.0, but thanks for the heads up. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Mar 21, 2014 at 1:42 PM, BNig wrote: > Hi Pete, > > I noticed that plug-ins in 5.5 format save in 7.0 format when opened in 7.0 > and the plug-in is saved. > This happens inspite of the the preference to save in legacy format. > > Might that be a problem for you? > > It certainly is if you try out 7.0 and use a plug-in and then use 6.x and > the plug-in will not work > (does not load and does not show up in the plug-in menu, which is > understandable since 6.x does not know the file format 7.0) > > Kind regards > Bernd > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677383.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 pystcat at gmail.com Fri Mar 21 17:05:11 2014 From: pystcat at gmail.com (PystCat) Date: Fri, 21 Mar 2014 17:05:11 -0400 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <532C9351.8090508@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <532C9351.8090508@gmail.com> Message-ID: <7B28F751-D8EE-4F84-BE93-A7D26B695670@gmail.com> I would try it but... I really dislike the taste of coffee... I like the smell of it but can't take the taste. Now... I've been told I make the best coffee in the world, so I proudly made it all the time for her enjoyment and my delight to see her smile. Looking back on it, it might have been an incredibly devious ploy told this to me by my wife 30 years ago so I would always make the coffee. Any young bachelors out there take heed and listen closely: When asked to do something by a potential mate, make it LOOK like it was your best attempt but make sure it's the worst... Or you might forever be damned to do it always. Cooking... Cleaning... Whatever you don't want to get stuck doing the rest of your life. > On Mar 21, 2014, at 3:30 PM, Richmond wrote: > >> On 21/03/14 20:46, PystCat wrote: >> STOP, STOP! Do you know how much it hurts to snort Tea through your nose..? :-P > > You really ought to try it with badly filtered coffee sometime; the grounds do wonders to your nasal membranes :-P >> >>>> On Mar 21, 2014, at 2:43 PM, Richmond wrote: >>>> >>>> On 21/03/14 20:16, larry at significantplanet.org wrote: >>>> I'm really glad we're having this very lengthy discussion about email procedure. It's helping me a lot with my programming. >>> LOL! >>> >>> Mind you, it could be pointed out that it was your choice to read the thread. >>> >>> Maybe I should insert a second comment somewhere further down the thread just to really keep things "smoking". >>> >>> 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 Fri Mar 21 17:03:33 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 23:03:33 +0200 Subject: 7.0 Issues In-Reply-To: <532CA6A1.1030908@runrev.com> References: <532CA6A1.1030908@runrev.com> Message-ID: <532CA925.90505@gmail.com> On 21/03/14 22:52, Fraser Gordon wrote: > On 21/03/2014 20:25, Peter Haworth wrote: >> Also, the new cursorMovement and textDirection properties do not have >> dictionary entries. > They are not documented because RTL is still an experimental feature and > they will almost certainly change before the final release - we don't > want anyone relying on their current behaviour just to find out things > will be different in a later DP. Well done for spotting them though - > having a bug in the bug tracker will definitely make sure we remember to > add documentation when the feature becomes more stable! > > Regards, > Fraser > > By the way; Korean (among other writing systems) seems to have been overlooked: it is often written vertically: i.e. Top to Bottom, Right to Left. Other significant writing systems sometimes written Top to Bottom: Chinese [Top to Bottom, Right to Left], Mongolian (when written in Khitan small) [Top to Bottom, and Left to Right]. If Livecode aims to be really universal it needs to accommodate these possibilities. Richmond. From richmondmathewson at gmail.com Fri Mar 21 17:11:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 23:11:16 +0200 Subject: Do you miss the 'box' filter? In-Reply-To: <532CA7C2.1010009@pair.com> References: <532CA3CD.6010504@gmail.com> <532CA7C2.1010009@pair.com> Message-ID: <532CAAF4.2000802@gmail.com> On 21/03/14 22:57, Curry Kenworthy wrote: > > Richmond wrote: > > Best thing to do would be to lob me a screenshot off list??? > > Screenshots and live demo in the test stack here in the report: > > > > Best wishes, > > Curry K. > Yup: that's a dud in 6.6 on Linux. Similarly in 7 dp-1. Richmond. From richmondmathewson at gmail.com Fri Mar 21 17:15:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Mar 2014 23:15:39 +0200 Subject: [Waaaaay OT] [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <7B28F751-D8EE-4F84-BE93-A7D26B695670@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <532C9351.8090508@gmail.com> <7B28F751-D8EE-4F84-BE93-A7D26B695670@gmail.com> Message-ID: <532CABFB.2090902@gmail.com> On 21/03/14 23:05, PystCat wrote: > I would try it but... I really dislike the taste of coffee... I like the smell of it but can't take the taste. > > Now... I've been told I make the best coffee in the world, so I proudly made it all the time for her enjoyment and my delight to see her smile. Looking back on it, it might have been an incredibly devious ploy told this to me by my wife 30 years ago so I would always make the coffee. > http://abcnews.go.com/Travel/elephant-dung-coffee-worlds-expensive-exclusive/story?id=17489242 Are you sure of that? Let's see who gets to Thailand with the pooper-scooper first! Richmond. From fraser.gordon at runrev.com Fri Mar 21 18:11:29 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 21 Mar 2014 22:11:29 +0000 Subject: 7.0 Issues In-Reply-To: <532CA925.90505@gmail.com> References: <532CA6A1.1030908@runrev.com> <532CA925.90505@gmail.com> Message-ID: <532CB911.8030100@runrev.com> On 21/03/2014 21:03, Richmond wrote: > By the way; Korean (among other writing systems) seems to have been > overlooked: it is often written vertically: i.e. Top to Bottom, Right > to Left. Not overlooked so much as not really possible to retro-fit into the current implementation of fields (unlike RTL, which has been messy enough in getting working!). Chinese, at least, is usable in LTR and RTL directions; I'm not sure about the other two. It would definitely be nice to support TTB (and BTT, for symmetry) but we've too many other things on our collective plate at the moment. There's also boustrophedon, for those feeling a pressing need to write ancient Greek (I suspect this would actually be easier than TTB or BTT!) If I'm not careful, we might end up with Tex re-implemented inside the LiveCode engine. Unfortunately, I very much doubt I could live up to Donald Knuth! Regards, Fraser From devin_asay at byu.edu Fri Mar 21 18:39:55 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 21 Mar 2014 22:39:55 +0000 Subject: mobile sensor reading Message-ID: <3760B8BF-2833-4EB1-8142-B20F12DF0BC3@byu.edu> Has anyone successfully used the mobileSensorReading() function? I have tried it both in the simulator and on devices but it doesn't seem to report the expected sensor data. (I have been able to get sensor data using mobileStartTrackingSensor in conjunction with the sensor messages, but no luck with the mobileSensorReading function. Does it have to be used in conjunction with mobileStartSensorTracking, or does it stand by itself. Anyone know? Devin Devin Asay Office of Digital Humanities Brigham Young University From m.schonewille at economy-x-talk.com Fri Mar 21 19:08:30 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 22 Mar 2014 00:08:30 +0100 Subject: mobile sensor reading In-Reply-To: <3760B8BF-2833-4EB1-8142-B20F12DF0BC3@byu.edu> References: <3760B8BF-2833-4EB1-8142-B20F12DF0BC3@byu.edu> Message-ID: <532CC66E.7070300@economy-x-talk.com> Hi Devin, It depends... I wrote something about it at http://qery.us/45m -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/21/2014 23:39, Devin Asay wrote: > Has anyone successfully used the mobileSensorReading() function? I have tried it both in the simulator and on devices but it doesn't seem to report the expected sensor data. (I have been able to get sensor data using mobileStartTrackingSensor in conjunction with the sensor messages, but no luck with the mobileSensorReading function. Does it have to be used in conjunction with mobileStartSensorTracking, or does it stand by itself. Anyone know? > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > From revolution at jaedworks.com Fri Mar 21 19:08:55 2014 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 21 Mar 2014 16:08:55 -0700 Subject: flushEvents("system") In-Reply-To: <532CA765.6040503@hyperactivesw.com> References: <532CA765.6040503@hyperactivesw.com> Message-ID: At 3:56 PM -0500 3/21/2014, J. Landman Gay wrote: >The dictionary says flushEvents("system") ignores operating system >events. Does anyone know which events those might be? If I'm remembering right, flushEvents("system") called flushEvents() on Mac OS, which in turn removed low-level events from the OS event queue (as opposed to the engine's queue) - mouse, keyboard, disk-insert. I'm not sure what, if anything, it did on other platforms. It was one of those things that was inherited from SuperCard. I'm not entirely sure it does anything now - the flushEvents call has been deprecated in OS X for a while. -- jeanne a. e. devoto livecode at jaedworks.com From dave at applicationinsight.com Fri Mar 21 19:47:25 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 21 Mar 2014 16:47:25 -0700 (PDT) Subject: Rally the troops Part 2 - aka Wish List Part 1 In-Reply-To: <1395429618306-4677373.post@n4.nabble.com> References: <532AF113.4000206@fourthworld.com> <8FBBAA11D78D4BEE8DA4266F84BB819E@userd204a4d61c> <532C5217.3030004@fourthworld.com> <532C6267.7010502@hyperactivesw.com> <6CD03422F55D4DE487E6E1D6BE51EADA@userd204a4d61c> <1395429618306-4677373.post@n4.nabble.com> Message-ID: <1395445645542-4677400.post@n4.nabble.com> Hi Vaughn - just a quick note to say I've done what I said I would and have watched your video and sent you my feedback Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rally-the-troops-Part-2-aka-Wish-List-Part-1-tp4677269p4677400.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Fri Mar 21 19:52:28 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 21 Mar 2014 19:52:28 -0400 Subject: mobile sensor reading In-Reply-To: <3760B8BF-2833-4EB1-8142-B20F12DF0BC3@byu.edu> References: <3760B8BF-2833-4EB1-8142-B20F12DF0BC3@byu.edu> Message-ID: <003a01cf4560$9e1818b0$da484a10$@net> -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Devin Asay Sent: Friday, March 21, 2014 6:40 PM To: How to use LiveCode Subject: mobile sensor reading Has anyone successfully used the mobileSensorReading() function? I have tried it both in the simulator and on devices but it doesn't seem to report the expected sensor data. (I have been able to get sensor data using mobileStartTrackingSensor in conjunction with the sensor messages, but no luck with the mobileSensorReading function. Does it have to be used in conjunction with mobileStartSensorTracking, or does it stand by itself. Anyone know? Devin --------------------- Devin, I have always used it like that. I do a: if not dev() then if mobileSensorAvailable("location") then mobileStartTrackingSensor "Location", false end if end if in the preopenstack I also found that in some cases a reading is good the second time around if this is the first app that requested a GPS lock from the HW So I do this just in case and it seems to be working well out in the field. function GetGpsCords local tGPS if not mobileSensorAvailable("location") then return empty put mobileSensorReading("location", true) into tGPS if tGPS["latitude"] is not empty and tGPS["longitude"] <> 0 then wait .25 seconds put mobileSensorReading("location", true) into tGPS end if if tGPS["latitude"] is not empty and tGPS["longitude"] <> 0 then return tGPS else answer "GPS is not enabled or your GPS can't determine your location." & cr & \ "If your GPS was just enabled, please try again in a few minutes." \ with "OK" titled "Proximity Search" return empty end if end GetGpsCords Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From m.schonewille at economy-x-talk.com Fri Mar 21 21:17:28 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 22 Mar 2014 02:17:28 +0100 Subject: [ANN] Installer Maker 1.8.4 Message-ID: <532CE4A8.4070505@economy-x-talk.com> Hello, I have updated Installer Maker. In this version, you can now choose the root of the hard disk as the destination of files, the routine that adds aliases to the OSX dock has been improved and a few small interface improvements have been applied. This update applies to both the standalone version and the plug-in. You can download Installer Maker at http://qery.us/45n (standalone) or http://qery.us/45o (plug-in). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From dochawk at gmail.com Fri Mar 21 22:07:56 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Mar 2014 19:07:56 -0700 Subject: 7.0 Issues In-Reply-To: <532CB911.8030100@runrev.com> References: <532CA6A1.1030908@runrev.com> <532CA925.90505@gmail.com> <532CB911.8030100@runrev.com> Message-ID: On Fri, Mar 21, 2014 at 3:11 PM, Fraser Gordon wrote: > If I'm not careful, we might end up with Tex re-implemented inside the > LiveCode engine. > If this would let me manipulate pdf in livecode, I'd be all for it. At the moment, I need to have a latex installation to run the pdf tools (jar). And all I need is to be able to reassemble/insert pages into another pdf file. (being able to display a page would be nice, too . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 21 22:09:47 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Mar 2014 19:09:47 -0700 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> Message-ID: On Fri, Mar 21, 2014 at 11:46 AM, PystCat wrote: > STOP, STOP! Do you know how much it hurts to snort Tea through your > nose..? :-P > Another reason drink beer instead (he says sipping on a belgian pale) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From james at thehales.id.au Fri Mar 21 22:15:20 2014 From: james at thehales.id.au (James Hale) Date: Sat, 22 Mar 2014 13:15:20 +1100 Subject: Request to makers of add-ons Message-ID: <80B4A0E1-9670-418C-8A67-8B3FFABDCBA1@thehales.id.au> Hi, I really enjoy looking at software and appreciating the work the authors put in to their products. The same goes for all the helpful add-ons that are written for Livecode. I have quite a few and really appreciate their utility. But I have one request for authors of add-ons that require the installation of a library or "engine" in our projects. Please put a check in your demo/help/install stacks that check for the presence of the library BEFORE trying to load another copy. There seems to be a bug in either the way Livecode handles this situation or how the add-on is responding to it. LC throws up a warning of an existing stack of that name (the library) but gets stuck in an endless loop trying to resolve it regardless of one's response to the warning ( be it purge, save or cancel.) I can only assume that LC does its thing but is then thrown back by the add-on trying to do its thing. James From dochawk at gmail.com Fri Mar 21 22:15:34 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Mar 2014 19:15:34 -0700 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <362AA580-6A03-4ABF-A9E2-E1A9C6FACEFF@runrev.com> <33A22658-7D11-4CD4-A205-F63EE0B929E3@runrev.com> <104455451208.20140320183641@ahsoftware.net> Message-ID: On Fri, Mar 21, 2014 at 8:12 AM, Bob Sneidar wrote: > But Apple of late has not blown my skirt up either. Soldering memory to > the motherboard?? And why??? Well they will cite cost of production, but > how curious that we can no longer take advantage of the price match > guarantee on a memory upgrade when we walk into a store and buy a laptop > instead of paying three to four times the market price for Apple memory. > The last couple of Macs I've bought have been really cheap to upgrade the memory: 4 to 8 gb was $100, and 4 to 16 $200. This was, though, the first time since my SE/30 that it's made since to get more memory from apple (in that case, with my developer 50% discount, it cost less to by the 4mb/80mb than the 1/5 and upgrade. I'm not sure that would have been the case without the stiff discount) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 21 22:18:55 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Mar 2014 19:18:55 -0700 Subject: before vs on in behavior scripts In-Reply-To: <1395409202757-4677346.post@n4.nabble.com> References: <4FA4C9E1-E395-4504-8C15-B3F4F7AB57AE@byu.edu> <418C778C-DBA5-4F11-A8CF-DA7599BAA532@byu.edu> <53292A89.3010903@hyperactivesw.com> <1395409202757-4677346.post@n4.nabble.com> Message-ID: On Fri, Mar 21, 2014 at 6:40 AM, BNig wrote: > may I humbly suggest to a physics major to reconsider the spelling of > "Boltman"? > remembering and successfully typing with two numb fingers are separate matters :) It's over half my practice, and I type "bankruptcy" incorrectly 80% of the time. And it's been years . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pystcat at gmail.com Fri Mar 21 22:49:41 2014 From: pystcat at gmail.com (PystCat) Date: Fri, 21 Mar 2014 22:49:41 -0400 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> Message-ID: <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> One of my two favorite beers... Any ice cold Belgian beer and Guiness. Nothing else will do. > On Mar 21, 2014, at 10:09 PM, "Dr. Hawkins" wrote: > >> On Fri, Mar 21, 2014 at 11:46 AM, PystCat wrote: >> >> STOP, STOP! Do you know how much it hurts to snort Tea through your >> nose..? :-P > > Another reason drink beer instead (he says sipping on a belgian pale) > > > -- > 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 dochawk at gmail.com Sat Mar 22 00:30:13 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Mar 2014 21:30:13 -0700 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> Message-ID: On Thu, Mar 20, 2014 at 9:13 PM, Bob Sneidar wrote: > I think that what you must mean by, "wrong" is, "presently inconvenient to > me", Actually, I mean it as in, "driving on the left side of the road is wrong" (unless you're in Britain, or . . . ) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Mar 22 02:11:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Mar 2014 01:11:00 -0500 Subject: flushEvents("system") In-Reply-To: References: <532CA765.6040503@hyperactivesw.com> Message-ID: <532D2974.9040308@hyperactivesw.com> On 3/21/14, 6:08 PM, Jeanne A. E. DeVoto wrote: > If I'm remembering right, flushEvents("system") called flushEvents() on > Mac OS, which in turn removed low-level events from the OS event queue > (as opposed to the engine's queue) - mouse, keyboard, disk-insert. I'm > not sure what, if anything, it did on other platforms. Thanks Jeanne. I only need to remove mouse and keyboard events from the LC queue so I'll just call those individually, but I got curious. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Mar 22 04:59:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Mar 2014 10:59:59 +0200 Subject: 6.6 RC2 Release In-Reply-To: References: <01F126F9-6786-4FAB-9E05-4D0CB47CDDD4@madmansoft.com> <1395174254725.74b1eff5@Nodemailer> <7F8EA38B-0B4E-47DE-AFCC-187DC11898ED@iotecdigital.com> Message-ID: <532D510F.1020305@gmail.com> On 03/22/2014 06:30 AM, Dr. Hawkins wrote: > On Thu, Mar 20, 2014 at 9:13 PM, Bob Sneidar wrote: > >> I think that what you must mean by, "wrong" is, "presently inconvenient to >> me", > > Actually, I mean it as in, "driving on the left side of the road is wrong" > (unless you're in Britain, or . . . ) > > I drive a British car in Bulgaria [i.e. one that has the steering wheel on the 'wrong' side; on the right], I also have a car with the steering when on the 'right side' (on the left). As I also visit Britain at least once every year, and drive a car while I'm there, I find that the best way to avoid confusion is always to drive down the middle of the road except in places where there is a divided highway. Richmond. From ambassador at fourthworld.com Sat Mar 22 10:08:52 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Mar 2014 07:08:52 -0700 Subject: Request to makers of add-ons In-Reply-To: <80B4A0E1-9670-418C-8A67-8B3FFABDCBA1@thehales.id.au> References: <80B4A0E1-9670-418C-8A67-8B3FFABDCBA1@thehales.id.au> Message-ID: <532D9974.8040505@fourthworld.com> James Hale wrote: > I really enjoy looking at software and appreciating the work > the authors put in to their products. > The same goes for all the helpful add-ons that are written for > Livecode. > I have quite a few and really appreciate their utility. > But I have one request for authors of add-ons that require the > installation of a library or "engine" in our projects. > Please put a check in your demo/help/install stacks that check for > the presence of the library BEFORE trying to load another copy. That's an excellent idea. This raises a question for an option that may be useful to add to the Standalone Builder: Currently the SB allows us to specify external stacks, and at build time it'll copy those into a folder accompanying the app. On OS X those files are copied into the bundle, but on Windows and Linux it puts them into a separate folder alongside the app. If you're not using externals you wouldn't otherwise need that folder - why not - at least optionally - just copy the stacks into the stack file that becomes the standalone? If the SB had an option for that we'd have a few benefits: - Users of a given library wouldn't need multiple copies installed into their own mainstacks. This not only solves your problem, but the additional problem of opening two different stacks which contain the same copied substack, along with simply saving space. - One copy means one update to that stack file in the Plugins folder brings every subsequent build forward automatically. - It obviates the need for an extra folder for the standalone, allowing you to deliver a single executable file if you like (provided you're not already using externals or other separate files). Hmmmm.... The more I think about this, the more I realize this doesn't need to be in the SB at all, it could be a plugin that handles the savingStandalone message in a frontScript, examining a custom property in the mainstack (that it could provide a convenient UI to set) for a list of stack files to include, and then copy those in as needed. Anyone have time to make such a tool? If not I'll add it to my to-do list. > There seems to be a bug in either the way Livecode handles this > situation or how the add-on is responding to it. > LC throws up a warning of an existing stack of that name (the > library) but gets stuck in an endless loop trying to resolve it > regardless of one's response to the warning ( be it purge, save or > cancel.) > I can only assume that LC does its thing but is then thrown back by > the add-on trying to do its thing. As much as I appreciate the simplicity of being able to address stacks by short name, stack name conflicts have been a problem for many of us from time to time, including yours truly. I submitted an enhancement request to address this some time ago, but the current behavior is so ingrained in the engine that no clear way to resolve that has yet emerged: At a minimum, the error handling for stack name conflicts in the IDE needs to be improved. If you have a specific recipe for any such conflicts that are particularly troublesome, please file a bug report against it. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Sat Mar 22 10:16:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Mar 2014 16:16:45 +0200 Subject: Request to makers of add-ons In-Reply-To: <532D9974.8040505@fourthworld.com> References: <80B4A0E1-9670-418C-8A67-8B3FFABDCBA1@thehales.id.au> <532D9974.8040505@fourthworld.com> Message-ID: <532D9B4D.9030209@gmail.com> . > > This raises a question for an option that may be useful to add to the > Standalone Builder: > > Currently the SB allows us to specify external stacks, and at build > time it'll copy those into a folder accompanying the app. > > On OS X those files are copied into the bundle, but on Windows and > Linux it puts them into a separate folder alongside the app. > > If you're not using externals you wouldn't otherwise need that folder > - why not - at least optionally - just copy the stacks into the stack > file that becomes the standalone? > The separate folder alongside the app is a large PIB; especially if one delivers one's finished product in a ZIP file: I have had several problems with people who have just extracted the app itself and then junked the zip file including the folder with the necessary libraries, at which point their app doesn't work properly. I am well aware that a Mac OS X "app" is nothing of the sort, but a folder containing the real app and all sorts of ancillary stuff (and very clever it is too). I wonder if there is not a way to "fold" all externals into Windows and Linux standalones so end-users are presented with an apparently monolithic files as Mac users are. Richmond. From dochawk at gmail.com Sat Mar 22 11:51:16 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Mar 2014 08:51:16 -0700 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> Message-ID: On Fri, Mar 21, 2014 at 7:49 PM, PystCat wrote: > One of my two favorite beers... Any ice cold Belgian beer and Guiness. > Nothing else will do. > American Pale Ale, or IPA. Most of what I brew is dry stout or pale ale. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Mar 22 11:56:41 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Mar 2014 17:56:41 +0200 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> Message-ID: <532DB2B9.8020900@gmail.com> On 22/03/14 17:51, Dr. Hawkins wrote: > On Fri, Mar 21, 2014 at 7:49 PM, PystCat wrote: > >> One of my two favorite beers... Any ice cold Belgian beer and Guiness. >> Nothing else will do. >> > American Pale Ale, or IPA. Most of what I brew is dry stout or pale ale. > > "Kozel" (= goat), a fairly low alcohol dark beer from the Czech Republic. "Stolichnaya", a heavy dark stout brewed in Stara Zagora, Bulgaria. "Sweet Heart Stout", a fairly low alcohol sweet stout brewed in Scotland. "Samuel Adams" Dark: a stout brewed in Boston, Mass. From pmbrig at gmail.com Sat Mar 22 12:16:11 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 22 Mar 2014 12:16:11 -0400 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <532DB2B9.8020900@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> <532DB2B9.8020900@gmail.com> Message-ID: <761AB69B-5D9B-4EFC-BFD5-3199B1A3A85C@gmail.com> Our daughter brews a really fine chocolate porter. (No actual chocolate in the brew, it's just what it's called.) She and her husband brewed the beer for their wedding last year. This is wandering far afield now. But at least I didn't mention "cheese." :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 22, 2014, at 11:56 AM, Richmond wrote: > On 22/03/14 17:51, Dr. Hawkins wrote: >> On Fri, Mar 21, 2014 at 7:49 PM, PystCat wrote: >> >>> One of my two favorite beers... Any ice cold Belgian beer and Guiness. >>> Nothing else will do. >>> >> American Pale Ale, or IPA. Most of what I brew is dry stout or pale ale. >> >> > > "Kozel" (= goat), a fairly low alcohol dark beer from the Czech Republic. > > "Stolichnaya", a heavy dark stout brewed in Stara Zagora, Bulgaria. > > "Sweet Heart Stout", a fairly low alcohol sweet stout brewed in Scotland. > > "Samuel Adams" Dark: a stout brewed in Boston, Mass. From pystcat at gmail.com Sat Mar 22 13:15:35 2014 From: pystcat at gmail.com (PystCat) Date: Sat, 22 Mar 2014 13:15:35 -0400 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: <761AB69B-5D9B-4EFC-BFD5-3199B1A3A85C@gmail.com> References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> <532DB2B9.8020900@gmail.com> <761AB69B-5D9B-4EFC-BFD5-3199B1A3A85C@gmail.com> Message-ID: Cheese..? A nice extra sharp cheddar. > On Mar 22, 2014, at 12:16 PM, "Peter M. Brigham" wrote: > > Our daughter brews a really fine chocolate porter. (No actual chocolate in the brew, it's just what it's called.) She and her husband brewed the beer for their wedding last year. > > This is wandering far afield now. But at least I didn't mention "cheese." :-) > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > >> On Mar 22, 2014, at 11:56 AM, Richmond wrote: >> >>> On 22/03/14 17:51, Dr. Hawkins wrote: >>>> On Fri, Mar 21, 2014 at 7:49 PM, PystCat wrote: >>>> >>>> One of my two favorite beers... Any ice cold Belgian beer and Guiness. >>>> Nothing else will do. >>> American Pale Ale, or IPA. Most of what I brew is dry stout or pale ale. >> >> "Kozel" (= goat), a fairly low alcohol dark beer from the Czech Republic. >> >> "Stolichnaya", a heavy dark stout brewed in Stara Zagora, Bulgaria. >> >> "Sweet Heart Stout", a fairly low alcohol sweet stout brewed in Scotland. >> >> "Samuel Adams" Dark: a stout brewed in Boston, Mass. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 22 14:05:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Mar 2014 20:05:30 +0200 Subject: [OT][[TL/DR] 6.6 RC2 Release In-Reply-To: References: <532C58C3.2020505@fourthworld.com> <964675D5-1AB9-42ED-8D45-E1CED28C014C@gmail.com> <532C885B.9000101@gmail.com> <14140497-499B-46D1-A5B2-5B9F852DB203@gmail.com> <61BA116D-0E25-4F07-95AD-F468ADA6BBFC@gmail.com> <532DB2B9.8020900@gmail.com> <761AB69B-5D9B-4EFC-BFD5-3199B1A3A85C@gmail.com> Message-ID: <532DD0EA.8080109@gmail.com> On 22/03/14 19:15, PystCat wrote: > Cheese..? A nice extra sharp cheddar. A good chunk of Stilton or French blue. > >> On Mar 22, 2014, at 12:16 PM, "Peter M. Brigham" wrote: >> >> Our daughter brews a really fine chocolate porter. (No actual chocolate in the brew, it's just what it's called.) She and her husband brewed the beer for their wedding last year. >> >> This is wandering far afield now. But at least I didn't mention "cheese." :-) >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >>> On Mar 22, 2014, at 11:56 AM, Richmond wrote: >>> >>>> On 22/03/14 17:51, Dr. Hawkins wrote: >>>>> On Fri, Mar 21, 2014 at 7:49 PM, PystCat wrote: >>>>> >>>>> One of my two favorite beers... Any ice cold Belgian beer and Guiness. >>>>> Nothing else will do. >>>> American Pale Ale, or IPA. Most of what I brew is dry stout or pale ale. >>> "Kozel" (= goat), a fairly low alcohol dark beer from the Czech Republic. >>> >>> "Stolichnaya", a heavy dark stout brewed in Stara Zagora, Bulgaria. >>> >>> "Sweet Heart Stout", a fairly low alcohol sweet stout brewed in Scotland. >>> >>> "Samuel Adams" Dark: a stout brewed in Boston, Mass. >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sat Mar 22 14:58:33 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Sat, 22 Mar 2014 11:58:33 -0700 (PDT) Subject: 7.0 Issues In-Reply-To: <1395434571084-4677383.post@n4.nabble.com> References: <1395434571084-4677383.post@n4.nabble.com> Message-ID: <1395514713819-4677419.post@n4.nabble.com> BNig wrote > I noticed that plug-ins in 5.5 format save in 7.0 format when opened in > 7.0 and the plug-in is saved. > This happens in spite of the the preference to save in legacy format. Upon further inspections this seems due to the fact that if one issues a "save this stack" on "closeStack" it circumvents the preferences to save in legacy format. That does affect e.g. plug-ins that save their state to themselves, as lcStackBrowser does. And this will probably affect stacks that have their "destroyStack" property set to true AND do a save on closeStack. I don't know if this is a bug. But it surely makes the use of plug-ins that save themselves a one way thing if one wants to test 7.0 DP1 alongside of using older versions of Livecode. A workaround would be to set the stackFileVersion to 5.5. in the affected stacks, but that does not work for protected stacks. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677419.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Mar 22 15:21:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Mar 2014 12:21:25 -0700 Subject: multi-line constants? (for RSA keys) Message-ID: RSA keys, as generated, are multiple lines, like "-----BEGIN PUBLIC KEY-----" "ABC123" "DEF456" "-----END PUBLIC KEY-----" I'm trying to do something like constant mykey= "-----BEGIN PUBLIC KEY-----" \ & "ABC123"\ & "DEF456"\ & "-----END PUBLIC KEY-----" but it appears that you can't concatenate strings like this . . . (using 6.6.0) Is there a clean solution for this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Mar 22 15:37:48 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Mar 2014 21:37:48 +0200 Subject: multi-line constants? (for RSA keys) In-Reply-To: References: Message-ID: <532DE68C.9080906@gmail.com> On 22/03/14 21:21, Dr. Hawkins wrote: > RSA keys, as generated, are multiple lines, like > "-----BEGIN PUBLIC KEY-----" > "ABC123" > "DEF456" > "-----END PUBLIC KEY-----" > > I'm trying to do something like > > constant mykey= "-----BEGIN PUBLIC KEY-----" \ > & "ABC123"\ > & "DEF456"\ > & "-----END PUBLIC KEY-----" > > but it appears that you can't concatenate strings like this . . . (using > 6.6.0) > > Is there a clean solution for this? > Where are you getting your RSA key from? If, for the sake of argument, you have it loaded into your stack as a string variable you could do something like this: put line 1 of RSA after myKey put line 2 of RSA after myKey put line 3 of RSA after myKey put line 4 of RSA after myKey Richmond. From pete at lcsql.com Sat Mar 22 16:23:21 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 22 Mar 2014 13:23:21 -0700 Subject: 7.0 Issues In-Reply-To: <1395514713819-4677419.post@n4.nabble.com> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> Message-ID: Hi Bernd, Which preference setting are you using? The only one I could find is titled "Preserve stack file format on stacks saved in legacy format" on the Files and Memory tab. No matter how I set that, if I save a stack in LC from the File menu, I can't open it in versions prior to v7 ( get "file is not a stack file" error). This is with stacks with no closeStack handler. Maybe I'm missing a preference setting somewhere? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 22, 2014 at 11:58 AM, BNig wrote: > BNig wrote > > I noticed that plug-ins in 5.5 format save in 7.0 format when opened in > > 7.0 and the plug-in is saved. > > This happens in spite of the the preference to save in legacy format. > > Upon further inspections this seems due to the fact that if one issues a > "save this stack" on "closeStack" it circumvents the preferences to save in > legacy format. > That does affect e.g. plug-ins that save their state to themselves, as > lcStackBrowser does. And this will probably affect stacks that have their > "destroyStack" property set to true AND do a save on closeStack. > > I don't know if this is a bug. But it surely makes the use of plug-ins that > save themselves a one way thing if one wants to test 7.0 DP1 alongside of > using older versions of Livecode. > A workaround would be to set the stackFileVersion to 5.5. in the affected > stacks, but that does not work for protected stacks. > > Kind regards > Bernd > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677419.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 bernd.niggemann at uni-wh.de Sat Mar 22 17:25:37 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Sat, 22 Mar 2014 14:25:37 -0700 (PDT) Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> Message-ID: <1395523537353-4677423.post@n4.nabble.com> Peter Haworth wrote > Hi Bernd, > Which preference setting are you using? The only one I could find is > titled "Preserve stack file format on stacks saved in legacy format" on > the > Files and Memory tab. No matter how I set that, if I save a stack in LC > from the File menu, I can't open it in versions prior to v7 ( get "file is > not a stack file" error). > > This is with stacks with no closeStack handler. That is the setting I meant. At first I also had the impression that it would save to the new format regardless of the setting but then I switched that off, closed preferences, reopend preferences, turned "Preserve stack file format on stacks saved in legacy format" back on and quit Livecode 7.0. After that LC 7DP1 did follow the preference for saving from the menu or command-s. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677423.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Mar 22 19:01:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Mar 2014 16:01:25 -0700 Subject: multi-line constants? (for RSA keys) In-Reply-To: <532DE68C.9080906@gmail.com> References: <532DE68C.9080906@gmail.com> Message-ID: On Sat, Mar 22, 2014 at 12:37 PM, Richmond wrote: > Where are you getting your RSA key from? > > I'm generating it externally; it is to create the license keys for purchasers. I suppose putting it into a constant instead of a variable really doesn't accomplish anything . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Mar 22 19:57:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 22 Mar 2014 16:57:51 -0700 Subject: 7.0 Issues In-Reply-To: <1395523537353-4677423.post@n4.nabble.com> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <1395523537353-4677423.post@n4.nabble.com> Message-ID: Confirmed. Seems that the bug is that the Preference doesn't take effect until next time you run Livecode. I took a look at the Save As... dialog too. It lists "Livecode Stack", "Legacy Livecode stack (2.7)", and "Legacy Livecode Stack (2.4)" which are the same settings as I see when running v6.x and v5.x. Shouldn't there be a new one for v7? If so, I'll enter a QCC report. I also think the descriptions of the stack formats should echo the Livecode versions they apply to, not some other cryptic number. How do I know what versions of LC will work with 2.4 or 2.7? I don;t recall when stack file version 2.7 was introduced but if it was v5, it would be much clearer if the Save As menu options read "Livecode stack (v", Livecode stack (v5-v7)", and Livecode stack (pre v5)", or something similar. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 22, 2014 at 2:25 PM, BNig wrote: > Peter Haworth wrote > > Hi Bernd, > > Which preference setting are you using? The only one I could find is > > titled "Preserve stack file format on stacks saved in legacy format" on > > the > > Files and Memory tab. No matter how I set that, if I save a stack in LC > > from the File menu, I can't open it in versions prior to v7 ( get "file > is > > not a stack file" error). > > > > This is with stacks with no closeStack handler. > > That is the setting I meant. At first I also had the impression that it > would save to the new format regardless of the setting but then I switched > that off, closed preferences, reopend preferences, turned "Preserve stack > file format on stacks saved in legacy format" back on and quit Livecode > 7.0. > After that LC 7DP1 did follow the preference for saving from the menu or > command-s. > > Kind regards > Bernd > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677423.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 alex at tweedly.net Sat Mar 22 20:35:53 2014 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 23 Mar 2014 00:35:53 +0000 Subject: multi-line constants? (for RSA keys) In-Reply-To: References: Message-ID: <532E2C69.50309@tweedly.net> On 22/03/2014 19:21, Dr. Hawkins wrote: > RSA keys, as generated, are multiple lines, like > "-----BEGIN PUBLIC KEY-----" > "ABC123" > "DEF456" > "-----END PUBLIC KEY-----" > > I'm trying to do something like > > constant mykey= "-----BEGIN PUBLIC KEY-----" \ > & "ABC123"\ > & "DEF456"\ > & "-----END PUBLIC KEY-----" > > but it appears that you can't concatenate strings like this . . . (using > 6.6.0) > > Is there a clean solution for this? > constant doesn't allow any form of expression, you can't even do constant mykey = "abc" & "def" A "clean" solution ? - assign to a variable instead - custom prop - since you're generating it externally - put it in a fixed-name file, and have your script read that file in btw if I take the above code, and convert from using a constant to a variable, I'd get put "-----BEGIN PUBLIC KEY-----" \ & "ABC123"\ & "DEF456"\ & "-----END PUBLIC KEY-----" into myVar but that means it's become a single line, instead of 4 lines. Should it be put "-----BEGIN PUBLIC KEY-----" &CR& \ & "ABC123" &CR& \ & "DEF456" &CR& \ & "-----END PUBLIC KEY-----" into myVar ?? -- Alex. From dixonja at hotmail.co.uk Sat Mar 22 21:20:56 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 23 Mar 2014 01:20:56 +0000 Subject: import snapshot Message-ID: I have been using the following in LC 6.5.2 to take a snapshot of an area of a map, hiding the map and replacing it with the snapshot... set the margins of the templateImage to 0 import snapshot from rect (0,40, the width of card "map", the height of card "map" -40 ) set the name of the last image of card "map" to "mapic" LC 6.6 does not like this at all !... it makes the snapshot about a quarter of the size in width but it seems to squash it a little in the vertical too... I have tried the new snapshot syntax with at size, but can't get it to play... Anyone found out how to take a snapshot in LC 6.6 yet ? From mwieder at ahsoftware.net Sat Mar 22 21:46:49 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 22 Mar 2014 18:46:49 -0700 Subject: 7.0 Issues In-Reply-To: <1395514713819-4677419.post@n4.nabble.com> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> Message-ID: <176628856031.20140322184649@ahsoftware.net> Bernd- Saturday, March 22, 2014, 11:58:33 AM, you wrote: > That does affect e.g. plug-ins that save their state to themselves, as > lcStackBrowser does. This, by the way, is a very bad idea. Stacks, especially plug-in stacks, should save their state variables into a preferences file and not try to modify themselves. I learned this lesson the hard way some time back and always ended up shooting myself in many feet. Now I only have two. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Sat Mar 22 22:58:04 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Mar 2014 19:58:04 -0700 Subject: multi-line constants? (for RSA keys) In-Reply-To: <532E2C69.50309@tweedly.net> References: <532E2C69.50309@tweedly.net> Message-ID: On Sat, Mar 22, 2014 at 5:35 PM, Alex Tweedly wrote: > constant doesn't allow any form of expression, you can't even do > constant mykey = "abc" & "def" > *sigh* I was hoping that was doing something wrong. > > A "clean" solution ? > - assign to a variable instead > This is what I've been doing > - custom prop > - since you're generating it externally - put it in a fixed-name file, > and have your script read that file in > But then it would be readable :) > > btw if I take the above code, and convert from using a constant to a > variable, I'd get > put "-----BEGIN PUBLIC KEY-----" \ > & "ABC123"\ > & "DEF456"\ > & "-----END PUBLIC KEY-----" into myVar > > but that means it's become a single line, instead of 4 lines. > Should it be > put "-----BEGIN PUBLIC KEY-----" &CR& \ > & "ABC123" &CR& \ > & "DEF456" &CR& \ > & "-----END PUBLIC KEY-----" into myVar > Yes, I blew that typing it in . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sun Mar 23 00:58:41 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Mar 2014 23:58:41 -0500 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <1395523537353-4677423.post@n4.nabble.com> Message-ID: <532E6A01.2090902@hyperactivesw.com> On 3/22/14, 6:57 PM, Peter Haworth wrote: > I also think the descriptions of the stack formats should echo the Livecode > versions they apply to, not some other cryptic number. How do I know what > versions of LC will work with 2.4 or 2.7? I don;t recall when stack file > version 2.7 was introduced The numbers represent the version where the file format changed. File format 2.4 was introduced in Rev 2.4, format 2.7 was introduced in Rev 2.7, etc. Each engine is backward compatible, so you can use any version of LC/Rev equal to or higher than the file format. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Sun Mar 23 04:45:30 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 23 Mar 2014 01:45:30 -0700 (PDT) Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532C34F4.6020007@warrensweb.us> References: <532B1958.5040401@runrev.com> <1395394001751-4677341.post@n4.nabble.com> <532C34F4.6020007@warrensweb.us> Message-ID: <1395564330201-4677431.post@n4.nabble.com> Thanks for the suggestion! I've tried to follow it, but the problem is I can get detailed instructions for how to install the pango 32 bit libs on earlier versions of Debian which had the ia32 libs. However this has vanished from the repositories with the latest releases to be replaced by multiarch, which of course is installed. I have come on an article from 2007 (!) which reports a similar problem and offers a fairly complicated workaround. But that depends on having ia32.... This is really a bit ridiculous. 64 bit is here to stay, so is Debian, lets just get it done. I have tried installing the 7.0 preview, and the same thing happens there too. My version that I got installed and running is 6.1.1, so I guess I'll be sticking with it until a 64 bit release comes out. I cannot be alone in having this issue surely? Well, maybe.... Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-tp4677292p4677431.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Sun Mar 23 04:57:49 2014 From: revolution at derbrill.de (Malte Brill) Date: Sun, 23 Mar 2014 09:57:49 +0100 Subject: RELEASE: LiveCode 6.6 In-Reply-To: References: Message-ID: <3FA54F04-DB90-4B14-BD06-9D189A8D58AD@derbrill.de> Hi Peter! no, you are not alone. I have pretty much given up on my Linux endevours until the point we see a 64 Bit engine, not only with working with the IDE under Linux, but also in claiming to suppor Linux for my products. Too many hoops to jump through and with the vanishing of ia32 I have no desire to be the one who has to support my customers in the installing. Best, Malte > I cannot be alone in having this issue surely? Well, maybe.... From mats.wilstrand at tapirsoft.com Sun Mar 23 07:10:28 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Sun, 23 Mar 2014 12:10:28 +0100 Subject: 7.0 Issues In-Reply-To: <176628856031.20140322184649@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: Mark and all, As rIDE has saved itself upon closing, I too now only have two feet. I will change this for rIDE 4.0. I ask for guidance and opinions here on what would be best practice and the pros and cons of different approaches? Best Mats > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Mark Wieder > Sent: den 23 mars 2014 02:47 > To: How to use LiveCode > Subject: Re: 7.0 Issues > > Bernd- > > Saturday, March 22, 2014, 11:58:33 AM, you wrote: > > > That does affect e.g. plug-ins that save their state to themselves, as > > lcStackBrowser does. > > This, by the way, is a very bad idea. > Stacks, especially plug-in stacks, should save their state variables into a > preferences file and not try to modify themselves. I learned this lesson the > hard way some time back and always ended up shooting myself in many > feet. Now I only have two. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not consent to > the retrieving or storing of this communication and any related metadata, as > well as printing, copying, re-transmitting, disseminating, or otherwise using it. > If you believe you have received this communication in error, please delete it > immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mblivecode at harbourhosting.co.uk Sun Mar 23 08:07:00 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 23 Mar 2014 12:07:00 +0000 Subject: RELEASE: LiveCode 6.6 In-Reply-To: <1395564330201-4677431.post@n4.nabble.com> References: <532B1958.5040401@runrev.com> <1395394001751-4677341.post@n4.nabble.com> <532C34F4.6020007@warrensweb.us> <1395564330201-4677431.post@n4.nabble.com> Message-ID: <532ECE64.6050803@harbourhosting.co.uk> On 23/03/14 08:45, Peter Alcibiades wrote: > Thanks for the suggestion! I've tried to follow it, but the problem is I can > get detailed instructions for how to install the pango 32 bit libs on > earlier versions of Debian which had the ia32 libs. However this has > vanished from the repositories with the latest releases to be replaced by > multiarch, which of course is installed. > > I have come on an article from 2007 (!) which reports a similar problem and > offers a fairly complicated workaround. But that depends on having ia32.... > > This is really a bit ridiculous. 64 bit is here to stay, so is Debian, lets > just get it done. I have tried installing the 7.0 preview, and the same > thing happens there too. > > My version that I got installed and running is 6.1.1, so I guess I'll be > sticking with it until a 64 bit release comes out. I cannot be alone in > having this issue surely? Well, maybe.... > > Peter Peter, FWIW, as noted earlier, I have a multiarch setup on Debian Wheezy and xfce where 6.6 is installed and working. It was indeed difficult to set it up in the first place, especially as my experience is limited and I was a multiarch noob. I worked out the dependencies from what is given in the docs and from running ldd on a separate working system, and then very painfully ferreted out which packages needed to be installed to satisfy them. (Both luck and judgement were involved). Of course Multiarch has first to be enabled, https://wiki.debian.org/Multiarch/HOWTO then dpkg --add-architecture i386 apt-get update (One can then: apt-get install package:architecture ) According to the admittedly somewhat muddled notes I made at the time, the following are the i386 packages that I actually installed. Of course YMMV, depending on what is already on your system and what is applicable to it. But installing these installed all the other requirements in my case (that I care about - I don't need the more esoteric "optional" capabilities for my purposes). libc6 libx11-6 libxext6 libxcb1 libxau6 libxdmcp6 libgtk2.0-0 libgtk-3-0 After this livecode now runs acceptably. I say acceptably because theme support remains imperfect, but I assume that is because of livecode's emulated interface elements rather than the system itself. Martin From bernd.niggemann at uni-wh.de Sun Mar 23 09:18:38 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Sun, 23 Mar 2014 06:18:38 -0700 (PDT) Subject: import snapshot In-Reply-To: References: Message-ID: <1395580718646-4677435.post@n4.nabble.com> Hi John, I tried your example on a desktop stack and it worked. I suspect you use this on a mobile device? What I did though I turned local locs into global locs, which in your example should not make any difference. > I have tried the new snapshot syntax with at size, but can't get it to > play... Apparently this works only for objects >From the dictionary for export snapshot: "Important! The 'at size' variant of the export snaptshot command is currently only when creating snapshots of objects." (Bug 11145, and Bug 11976) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/import-snapshot-tp4677427p4677435.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Mar 23 12:19:42 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 09:19:42 -0700 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: <95681228344.20140323091942@ahsoftware.net> Mats- Sunday, March 23, 2014, 4:10:28 AM, you wrote: > As rIDE has saved itself upon closing, I too now only have two feet. > I will change this for rIDE 4.0. I ask for guidance and opinions here on > what would be best practice and the pros and cons of different approaches? I don't know about "best", but here are some techniques I've adopted (and the changes in my behavior are a direct result of the changing file format and the need to maintain compatibility with earlier versions): When I work on a plugin stack I use LC 4.6.4, as this is the last version to use the 2.4 format natively. That way when I save a plugin stack's changes I can be sure that the format hasn't changed. If I didn't need to maintain compatibility back to earlier versions I could use a later LC version, but in any event the native format of the selected version of LiveCode is what's important. I save a preferences file in the plugin directory and write any values I want to remain persistent into that file. This replaces my previous behavior of setting custom properties and saving the stack. In general I save information into this text file in the format property value so that it can also be edited by any text processor if necessary. Property names are single words, no spaces or punctuation. I have somewhat standardized boilerplate routines that read the preferences file on opening the stack and set plugin stack properties accordingly. Preference file contents are written when necessary (when one of them changes; or in the case of a preferences panel, when the Save button is clicked rather than the Cancel button). I think GLX2 still saves all its settings on quitting, but I'm too lazy to check right at the moment. I no longer use the save-stack-and-revert trick to update a running plugin stack because of the problem with maintaining version and format compatibility. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sun Mar 23 12:21:55 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 09:21:55 -0700 Subject: 7.0 Issues In-Reply-To: <176628856031.20140322184649@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: <79681361296.20140323092155@ahsoftware.net> > Saturday, March 22, 2014, 11:58:33 AM, I wrote: > Stacks, especially plug-in stacks, should save their state variables > into a preferences file and not try to modify themselves. A bit of hyperbole on my part: obviously stacks can change properties and save themselves if they don't need to maintain compatibility with earlier versions of LiveCode. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pete at lcsql.com Sun Mar 23 12:35:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 09:35:06 -0700 Subject: 7.0 Issues In-Reply-To: <176628856031.20140322184649@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: Hmmm, I was not aware that lcStackbrowser saved its state to itself. I agree that's a bad idea. It did at a very early release but I had requests to change that behavior and, unless I missed something along the way, all data that needs to be preserved between launches is saved in external files. Off to look at the code to see if I can spot what I missed, but there is one area that I have no control over. If a user decides to change the plugin settings in some way, LC stores those settings in custom properties of the stack and, I think, immediately saves the stack. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 22, 2014 at 6:46 PM, Mark Wieder wrote: > Bernd- > > Saturday, March 22, 2014, 11:58:33 AM, you wrote: > > > That does affect e.g. plug-ins that save their state to themselves, as > > lcStackBrowser does. > > This, by the way, is a very bad idea. > Stacks, especially plug-in stacks, should save their state variables > into a preferences file and not try to modify themselves. I learned > this lesson the hard way some time back and always ended up shooting > myself in many feet. Now I only have two. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Sun Mar 23 13:07:04 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 10:07:04 -0700 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: <84684070022.20140323100704@ahsoftware.net> Pete- Sunday, March 23, 2014, 9:35:06 AM, you wrote: > Off to look at the code to see if I can spot what I missed, but there is > one area that I have no control over. If a user decides to change the > plugin settings in some way, LC stores those settings in custom properties > of the stack and, I think, immediately saves the stack. Changing custom properties shouldn't be a problem. The plugin stack is in memory, so no harm done. It's only when you want the changes to be persistent that you need to save them somewhere, and that isn't done automatically. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pete at lcsql.com Sun Mar 23 13:13:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 10:13:06 -0700 Subject: 7.0 Issues In-Reply-To: <532E6A01.2090902@hyperactivesw.com> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <1395523537353-4677423.post@n4.nabble.com> <532E6A01.2090902@hyperactivesw.com> Message-ID: That makes sense but the dictionary entry says: Value: The stackFileVersion currently has two possible values: - "2.4" - This stack file version is used by LiveCode 2.6.1 and earlier - "2.7" - This stack file version is used by versions of LiveCode after 2.6.1. The 2.4 value is what is confusing. That's from the dictionary entry for 5.5.4 and it doesn't even mention the 5.5 value. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 22, 2014 at 9:58 PM, J. Landman Gay wrote: > On 3/22/14, 6:57 PM, Peter Haworth wrote: > >> I also think the descriptions of the stack formats should echo the >> Livecode >> versions they apply to, not some other cryptic number. How do I know what >> versions of LC will work with 2.4 or 2.7? I don;t recall when stack file >> version 2.7 was introduced >> > > The numbers represent the version where the file format changed. File > format 2.4 was introduced in Rev 2.4, format 2.7 was introduced in Rev 2.7, > etc. Each engine is backward compatible, so you can use any version of > LC/Rev equal to or higher than the file format. > > -- > 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 pete at lcsql.com Sun Mar 23 13:37:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 10:37:28 -0700 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: It seems there was a stray "save stack" lurking in my code. I've removed it and will put a bug fix release out there after a little more testing to make sure all is still preserved across launches. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 23, 2014 at 9:35 AM, Peter Haworth wrote: > Hmmm, I was not aware that lcStackbrowser saved its state to itself. I > agree that's a bad idea. It did at a very early release but I had requests > to change that behavior and, unless I missed something along the way, all > data that needs to be preserved between launches is saved in external files. > > Off to look at the code to see if I can spot what I missed, but there is > one area that I have no control over. If a user decides to change the > plugin settings in some way, LC stores those settings in custom properties > of the stack and, I think, immediately saves the stack. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Sat, Mar 22, 2014 at 6:46 PM, Mark Wieder wrote: > >> Bernd- >> >> Saturday, March 22, 2014, 11:58:33 AM, you wrote: >> >> > That does affect e.g. plug-ins that save their state to themselves, as >> > lcStackBrowser does. >> >> This, by the way, is a very bad idea. >> Stacks, especially plug-in stacks, should save their state variables >> into a preferences file and not try to modify themselves. I learned >> this lesson the hard way some time back and always ended up shooting >> myself in many feet. Now I only have two. >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> This communication may be unlawfully collected and stored by the National >> Security Agency (NSA) in secret. The parties to this email do not >> consent to the retrieving or storing of this communication and any >> related metadata, as well as printing, copying, re-transmitting, >> disseminating, or otherwise using it. If you believe you have received >> this communication in error, please delete it immediately. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 pete at lcsql.com Sun Mar 23 13:42:09 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 10:42:09 -0700 Subject: 7.0 Issues In-Reply-To: <84684070022.20140323100704@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> <84684070022.20140323100704@ahsoftware.net> Message-ID: Hi Mark, Sure, that's fine for my custom properties. I was meaning the cREVLoadInfo properties that are set when you select the "Plugin Settings" item from the Development menu Plugins item. I'm pretty sure changing any of them results in a save of the stack since LC has to know whether, eg, to launch the stack on startup. Kind of off topic but I didn't realize until recently that every stack in the plugins folder is opened at startup to get the stack name for display in the Plugins menu Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 23, 2014 at 10:07 AM, Mark Wieder wrote: > Pete- > > Sunday, March 23, 2014, 9:35:06 AM, you wrote: > > > Off to look at the code to see if I can spot what I missed, but there is > > one area that I have no control over. If a user decides to change the > > plugin settings in some way, LC stores those settings in custom > properties > > of the stack and, I think, immediately saves the stack. > > Changing custom properties shouldn't be a problem. The plugin stack is > in memory, so no harm done. It's only when you want the changes to be > persistent that you need to save them somewhere, and that isn't done > automatically. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 23 14:10:31 2014 From: paul at researchware.com (Paul Dupuis) Date: Sun, 23 Mar 2014 14:10:31 -0400 Subject: ANN: North East LiveCode User Group (NELUG) Message-ID: <532F2397.6050809@researchware.com> The North East LiveCode User Group (NELUG) is open to any interested LiveCoders (or just people interested in LiveCode) in the New York/New England area of the US. We held our first virtual user group meeting on Saturday, March 23rd, 2014. You can learn more about us at http://www.researchware.com/nelug. Our next online meeting is scheduled for Saturday, April 26, 2014 at 2Pm EDT. Come join us. From mwieder at ahsoftware.net Sun Mar 23 14:14:37 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 11:14:37 -0700 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> <84684070022.20140323100704@ahsoftware.net> Message-ID: <18688123034.20140323111437@ahsoftware.net> Pete- Sunday, March 23, 2014, 10:42:09 AM, you wrote: > Hi Mark, > Sure, that's fine for my custom properties. I was meaning the cREVLoadInfo > properties that are set when you select the "Plugin Settings" item from the > Development menu Plugins item. I'm pretty sure changing any of them > results in a save of the stack since LC has to know whether, eg, to launch > the stack on startup. Ack! Yes, you're right. I try not to mess with the Plugin Settings menu at all. Ever. And if I do have to open it, I do it in LC 4.6.4. > Kind of off topic but I didn't realize until recently that every stack in > the plugins folder is opened at startup to get the stack name for display > in the Plugins menu Depressing, eh? I still have hopes that someday the IDE will be open-sourced and we can fix these things. I'd also like to be able to specify a load order for plugin stacks. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From prothero at earthednet.org Sun Mar 23 14:31:08 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Sun, 23 Mar 2014 11:31:08 -0700 Subject: import snapshot In-Reply-To: References: Message-ID: John: Looks like we are working on similar project. I haven't had any trouble with my snapshot routine in LC 6.6. It's below. I'm on Mac OSX, regular (not retina) display. on copyMapToSnap put the name of me into thisImage wait for 0 seconds with messages set the visible of thisImage to FALSE put the rect of this stack into stackRect put rectLeft(stackRect)&","&rectTop(stackRect) into theOffset --this is the point at the topleft of the stack window put the rect of graphic "MapBox" into theRect --This is relative to the stack put offsetRect(theRect,theOffset) into snapRect--offset the capture rect to absolute screen coordinates put adjustSizeOfRect(snapRect,1,1,-1,-1) into snapRect --remove border of grahics box wait for 0.1 seconds with messages export snapshot from rect snapRect to image "mapSnap" put adjustSizeOfRect(theRect,1,1,-1,-1) into snapRect --theRect is relative to the stack set the rect of image "mapSnap" to snapRect --now set the captured rect to the mapbox rect wait for 0 seconds with messages set the visible of image thisImage to TRUE end copyMapToSnap Good luck, Bill prothero at earthednet.org http://es.earthednet.org On Mar 22, 2014, at 6:20 PM, John Dixon wrote: > I have been using the following in LC 6.5.2 to take a snapshot of an area of a map, hiding the map and replacing it with the snapshot... > > set the margins of the templateImage to 0 > import snapshot from rect (0,40, the width of card "map", the height of card "map" -40 ) > set the name of the last image of card "map" to "mapic" > > LC 6.6 does not like this at all !... it makes the snapshot about a quarter of the size in width but it seems to squash it a little in the vertical too... > > I have tried the new snapshot syntax with at size, but can't get it to play... > > Anyone found out how to take a snapshot in LC 6.6 yet ? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 23 15:10:42 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 Mar 2014 12:10:42 -0700 Subject: 7.0 Issues In-Reply-To: <18688123034.20140323111437@ahsoftware.net> References: <18688123034.20140323111437@ahsoftware.net> Message-ID: <532F31B2.4000008@fourthworld.com> Mark Wieder wrote: >> Kind of off topic but I didn't realize until recently that every >> stack in the plugins folder is opened at startup to get the stack >> name for display in the Plugins menu > > I still have hopes that someday the IDE will be open-sourced and > we can fix these things. I'd also like to be able to specify a > load order for plugin stacks. Whether the community does it or RunRev does, a solution still needs to be found and put into the request queue. Other than by reading the stack files, how could the display names be obtained? Since Plugins are by definition focused around community efforts, IMO the UI and much of the spec for the APIs for managing them should be driven by the community. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jacque at hyperactivesw.com Sun Mar 23 15:22:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 23 Mar 2014 14:22:26 -0500 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <1395523537353-4677423.post@n4.nabble.com> <532E6A01.2090902@hyperactivesw.com> Message-ID: <532F3472.2050408@hyperactivesw.com> On 3/23/14, 12:13 PM, Peter Haworth wrote: > That makes sense but the dictionary entry says: > > Value: > The stackFileVersion currently has two possible values: > - "2.4" - This stack file version is used by LiveCode 2.6.1 and earlier > - "2.7" - This stack file version is used by versions of LiveCode after > 2.6.1. > > > The 2.4 value is what is confusing. > > That's from the dictionary entry for 5.5.4 and it doesn't even mention the > 5.5 value. That's an iffy explanation for what I meant. Version 2.6.1 was the last release before 2.7. What they're trying to say is that version 2.7 changed the file format and if you save in 2.7 then version 2.6.1 won't open it any more. Back then, the only other file format was the 2.4 earlier one, which all files created prior to 2.7 were using. It's easier to think of it in the other direction: the numbers are the changeover version of the file format, and engines earlier than that number won't open files saved in later versions. And yeah, the entry apparently hasn't been updated since 2.7 when the "stackFileVersion" syntax was introduced. We've had 5.5 since then and now 7.0. Same rules apply though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Mar 23 15:23:18 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 Mar 2014 12:23:18 -0700 Subject: 7.0 Issues In-Reply-To: References: Message-ID: <532F34A6.3060205@fourthworld.com> Peter Haworth wrote: > Hi Mark, > Sure, that's fine for my custom properties. I was meaning the cREVLoadInfo > properties that are set when you select the "Plugin Settings" item from the > Development menu Plugins item. I'm pretty sure changing any of them > results in a save of the stack since LC has to know whether, eg, to launch > the stack on startup. This is a tough challenge. For v7 I've made a separate copy of my Plugins folder, and thankfully the team had for foresight to maintain a separate Prefs file, so that works for now. For the long term, should plugin settings be stored separately from the plugin itself, so that the plugin isn't modified? This raises many question. Desirable, but not simple. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jacque at hyperactivesw.com Sun Mar 23 15:30:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 23 Mar 2014 14:30:26 -0500 Subject: 7.0 Issues In-Reply-To: <532F34A6.3060205@fourthworld.com> References: <532F34A6.3060205@fourthworld.com> Message-ID: <532F3652.1060704@hyperactivesw.com> On 3/23/14, 2:23 PM, Richard Gaskin wrote: > For the long term, should plugin settings be stored separately from the > plugin itself, so that the plugin isn't modified? Probably. But for now the most expedient solution would be a feature request in the QCC asking RR to preserve the file format in their plugin handlers. That shouldn't be too hard for them to do, and it's a good time to request it since v. 7.0 is in active development. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Mar 23 15:36:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 Mar 2014 12:36:09 -0700 Subject: 7.0 Issues In-Reply-To: <532F3652.1060704@hyperactivesw.com> References: <532F3652.1060704@hyperactivesw.com> Message-ID: <532F37A9.4050709@fourthworld.com> J. Landman Gay wrote: > On 3/23/14, 2:23 PM, Richard Gaskin wrote: >> For the long term, should plugin settings be stored separately from the >> plugin itself, so that the plugin isn't modified? > > Probably. But for now the most expedient solution would be a feature > request in the QCC asking RR to preserve the file format in their plugin > handlers. That shouldn't be too hard for them to do, and it's a good > time to request it since v. 7.0 is in active development. I wonder if that should be extended to all stacks - whenever any IDE action would save changes to a stack file, it could check the stack file version of the stack and if saving would change it the user would be asked what version to save as, with the default being the one that causes no backward incompatibility. -- 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 pete at lcsql.com Sun Mar 23 16:04:30 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 13:04:30 -0700 Subject: 7.0 Issues In-Reply-To: <18688123034.20140323111437@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> <84684070022.20140323100704@ahsoftware.net> <18688123034.20140323111437@ahsoftware.net> Message-ID: On Sun, Mar 23, 2014 at 11:14 AM, Mark Wieder wrote: > Ack! Yes, you're right. I try not to mess with the Plugin Settings > menu at all. Ever. And if I do have to open it, I do it in LC 4.6.4. > Yeah, I'm the same (except I use 5.5.4). Problem is though that I send out lcStackBrowser with the mode set to modeless and to not load at startup and I'm pretty sure some folks change one or both of those settings. If they do that in 7.0 and don't have the preference set to preserve the stack file version, it will become a 7.0 stack and no longer recognized by anything prior to 7.0. Remind me again why I decided to get into the plugin business! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Sun Mar 23 16:09:31 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 13:09:31 -0700 Subject: 7.0 Issues In-Reply-To: <532F31B2.4000008@fourthworld.com> References: <18688123034.20140323111437@ahsoftware.net> <532F31B2.4000008@fourthworld.com> Message-ID: On Sun, Mar 23, 2014 at 12:10 PM, Richard Gaskin wrote: > Other than by reading the stack files, how could the display names be > obtained? I can't think of a way but maybe the the plugins menu could use the stack file name (without the extension) instead of the stack name. Most of the plugins I use have their filename the same as their stack name, although I'm sure there are some that wouldn't fit that mould. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Sun Mar 23 16:11:41 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 13:11:41 -0700 Subject: 7.0 Issues In-Reply-To: <532F3472.2050408@hyperactivesw.com> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <1395523537353-4677423.post@n4.nabble.com> <532E6A01.2090902@hyperactivesw.com> <532F3472.2050408@hyperactivesw.com> Message-ID: On Sun, Mar 23, 2014 at 12:22 PM, J. Landman Gay wrote: > That's an iffy explanation for what I meant. Version 2.6.1 was the last > release before 2.7. What they're trying to say is that version 2.7 changed > the file format and if you save in 2.7 then version 2.6.1 won't open it any > more. Back then, the only other file format was the 2.4 earlier one, which > all files created prior to 2.7 were using. > > It's easier to think of it in the other direction: the numbers are the > changeover version of the file format, and engines earlier than that number > won't open files saved in later versions. > > And yeah, the entry apparently hasn't been updated since 2.7 when the > "stackFileVersion" syntax was introduced. We've had 5.5 since then and now > 7.0. Same rules apply though. > Yeah, I get it now, it just seems an awkward way to express it. I still think it would help if the "Livecode stack" format in the dropdown menu of the Save dialog included the stack file version like the "Legacy stack" entries do. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Sun Mar 23 16:26:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 13:26:15 -0700 Subject: 7.0 Issues In-Reply-To: <532F34A6.3060205@fourthworld.com> References: <532F34A6.3060205@fourthworld.com> Message-ID: On Sun, Mar 23, 2014 at 12:23 PM, Richard Gaskin wrote: > For v7 I've made a separate copy of my Plugins folder, and thankfully the > team had for foresight to maintain a separate Prefs file, so that works for > now. > > For the long term, should plugin settings be stored separately from the > plugin itself, so that the plugin isn't modified? > I didn't know there was a separate prefs file for 7.0, that's good to know. As for the plugin settings, wouldn't storing them in the prefs file be the appropriate place? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dixonja at hotmail.co.uk Sun Mar 23 17:06:11 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 23 Mar 2014 21:06:11 +0000 Subject: import snapshot In-Reply-To: References: , Message-ID: Hi Bill.. I am trying to get this to work on iOS, but I thank you for your reply...:-) > Subject: Re: import snapshot > From: prothero at earthednet.org > Date: Sun, 23 Mar 2014 11:31:08 -0700 > To: use-livecode at lists.runrev.com > > John: > Looks like we are working on similar project. I haven't had any trouble with my snapshot routine in LC 6.6. It's below. I'm on Mac OSX, regular (not retina) display. From ambassador at fourthworld.com Sun Mar 23 17:23:40 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 Mar 2014 14:23:40 -0700 Subject: 7.0 Issues In-Reply-To: References: Message-ID: <532F50DC.5030105@fourthworld.com> Peter Haworth wrote: > As for the plugin settings, wouldn't storing them in the prefs file be the > appropriate place? What happens when a plugin is moved or renamed, or updated, or any number of other things that can happen. Binding the data to the file is useful, but since it requires saving the file it's a problem. But managing a list of plugin files and keeping it sync is another problem. Not necessarily intractable, perhaps even necessary, but not code I'd enjoy writing. ;) -- 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 pete at lcsql.com Sun Mar 23 18:05:35 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Mar 2014 15:05:35 -0700 Subject: 7.0 Issues In-Reply-To: <532F50DC.5030105@fourthworld.com> References: <532F50DC.5030105@fourthworld.com> Message-ID: Perhaps Jacque's suggestion of preserving the stack file version when a plugin is saved is the best solution. Jacque - did you enter a feature request? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 23, 2014 at 2:23 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> As for the plugin settings, wouldn't storing them in the prefs file be the >> appropriate place? >> > > What happens when a plugin is moved or renamed, or updated, or any number > of other things that can happen. > > Binding the data to the file is useful, but since it requires saving the > file it's a problem. > > But managing a list of plugin files and keeping it sync is another > problem. Not necessarily intractable, perhaps even necessary, but not code > I'd enjoy writing. ;) > > > -- > 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 scott at tactilemedia.com Sun Mar 23 19:35:50 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 23 Mar 2014 16:35:50 -0700 Subject: 7.0 Issues In-Reply-To: <532F34A6.3060205@fourthworld.com> References: <532F34A6.3060205@fourthworld.com> Message-ID: If you're referring to LiveCode settings that determine how to manage the plugin (i.e. cREVLoadInfo), it would be good if this info was stored outside the plugin. But obviously it needs to be configurable on the author's side, as well as the user's side, and somehow loaded in the user's LiveCode installation. Maybe you (the developer) want some plugins to open normally, maybe some invisibly, maybe some just to sit in the plugins folder without launching. (Not trying to get in a debate on what is the correct way to develop a plugin, just sayin' :-) It would be a bit of a chore to have to include a separate "default prefs" file with each plugin, but I imagine one could write a "first launch" script as part of their plugin's startup that checks to see if its configuration stuff is where it should be, and if not, writes a new file. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/23/14 12:23 PM, "Richard Gaskin" wrote: >For the long term, should plugin settings be stored separately from the >plugin itself, so that the plugin isn't modified? > >This raises many question. Desirable, but not simple. From mwieder at ahsoftware.net Sun Mar 23 21:40:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 18:40:38 -0700 Subject: 7.0 Issues In-Reply-To: References: <532F34A6.3060205@fourthworld.com> Message-ID: <4714884150.20140323184038@ahsoftware.net> Scott- Sunday, March 23, 2014, 4:35:50 PM, you wrote: > It would be a bit of a chore to have to include a separate "default prefs" > file with each plugin, but I imagine one could write a "first launch" > script as part of their plugin's startup that checks to see if its > configuration stuff is where it should be, and if not, writes a new file. I like this. Or at least a version of this: In the IDE on first launch (i.e., there's a new plugin in the plugins folder but there's no corresponding entry in the prefs file: The load handler in the IDE would check the plugin for a cREVLoadInfo preference (this would previously have been taken care of on the plugin developer's machine through a variation of the existing Plugin Settings system). If it's there then the IDE sets an entry in the prefs file. If not the IDE creates a default entry for the plugin in the prefs file *and doesn't set custom prefs in the plugin*. Thereafter on each launch of the IDE the prefs are read from the prefs file, and the custom prefs in the plugin are ignored. There should be an option in the Plugin Settings dialog to reset the plugin's settings to the plugin default, and preference settings for plugins that are no longer in the plugins folder are ignored. This also enables the plugin stack names to be retrieved from the plugin preferences file after their initial instantiation. Did I miss anything? -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Sun Mar 23 22:04:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 23 Mar 2014 21:04:58 -0500 Subject: 7.0 Issues In-Reply-To: References: <532F50DC.5030105@fourthworld.com> Message-ID: <532F92CA.4060700@hyperactivesw.com> On 3/23/14, 5:05 PM, Peter Haworth wrote: > Perhaps Jacque's suggestion of preserving the stack file version when a > plugin is saved is the best solution. > > Jacque - did you enter a feature request? No, but if you have time feel free. I like Mark Wieder's suggestion too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 23 22:21:32 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 19:21:32 -0700 Subject: 7.0 Issues In-Reply-To: <532F92CA.4060700@hyperactivesw.com> References: <532F50DC.5030105@fourthworld.com> <532F92CA.4060700@hyperactivesw.com> Message-ID: <5717337784.20140323192132@ahsoftware.net> Jacque- Sunday, March 23, 2014, 7:04:58 PM, you wrote: >> Jacque - did you enter a feature request? > No, but if you have time feel free. I like Mark Wieder's suggestion too. It's not an either/or thing. Call me crazy, but I think if you set the IDE preference to preserve stack file format, the stack file format should be preserved. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sun Mar 23 22:23:52 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 19:23:52 -0700 Subject: 7.0 Issues In-Reply-To: References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> Message-ID: <135717477442.20140323192352@ahsoftware.net> Pete- Sunday, March 23, 2014, 10:37:28 AM, you wrote: > It seems there was a stray "save stack" lurking in my code. Ah... that's another thing that I do. If I ever have to do a "save stack" operation I make sure to set the stackFileFormat before calling that. That way I can ensure backward compatibility. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sun Mar 23 22:39:52 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Mar 2014 19:39:52 -0700 Subject: 7.0 Issues In-Reply-To: <4714884150.20140323184038@ahsoftware.net> References: <532F34A6.3060205@fourthworld.com> <4714884150.20140323184038@ahsoftware.net> Message-ID: <138718437735.20140323193952@ahsoftware.net> Now filed as bug^H^H^Henhancement request 12004: http://quality.runrev.com/show_bug.cgi?id=12004 -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From Nakia.Brewer at westrac.com.au Mon Mar 24 00:38:49 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 24 Mar 2014 04:38:49 +0000 Subject: Accordian Menu Message-ID: <67116DB20798A94285EEE12A67079A284CACD1F2@MHSEXC02.westrac.com.au> Hi, Just wondering if anyone has a good examples of Accordian Menu's for LiveCode. There seems there may have been an example in the Tutorials section of the RunRev page but its no longer available? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From simon at asato-media.com Mon Mar 24 02:26:29 2014 From: simon at asato-media.com (As_Simon) Date: Sun, 23 Mar 2014 23:26:29 -0700 (PDT) Subject: Accordian Menu In-Reply-To: <67116DB20798A94285EEE12A67079A284CACD1F2@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACD1F2@MHSEXC02.westrac.com.au> Message-ID: <1395642389586-4677465.post@n4.nabble.com> There is this http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=13399#p78436 Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accordian-Menu-tp4677464p4677465.html Sent from the Revolution - User mailing list archive at Nabble.com. From mats.wilstrand at tapirsoft.com Mon Mar 24 08:13:15 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Mon, 24 Mar 2014 13:13:15 +0100 Subject: 7.0 Issues In-Reply-To: <95681228344.20140323091942@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> <95681228344.20140323091942@ahsoftware.net> Message-ID: <005d01cf475a$6fd43280$4f7c9780$@tapirsoft.com> Mark, Thanks for sharing your thoughts on this. It is much appreciated. For my plugins I'm leaning towards your use of a plain txt, written in a format that could easily be read and edited. I think pref files should be "plain English LiveCode" wherever possible. I also think there is need to save multi-level array data to pref files. Not sure what would be best approach for that though. I've done some very basic testing and there seems to be very little difference in size between using arrayEncode to save as a bin string and parsing the array to save as a plain text that could be read and edited. Any thoughts here? For rIDE the situation is a little different as it started out as a plugin but is now evolving towards an independent IDE of itself. If there is an interest, rIDE could now be used to test new community driven features like the ones you, Jaque and Richard are discussing for having the IDE handling the preferences of plugins. Best, Mats > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Mark Wieder > Sent: den 23 mars 2014 17:20 > To: How to use LiveCode > Subject: Re: 7.0 Issues > > Mats- > > Sunday, March 23, 2014, 4:10:28 AM, you wrote: > > > As rIDE has saved itself upon closing, I too now only have two feet. > > I will change this for rIDE 4.0. I ask for guidance and opinions here > > on what would be best practice and the pros and cons of different > approaches? > > I don't know about "best", but here are some techniques I've adopted (and > the changes in my behavior are a direct result of the changing file format and > the need to maintain compatibility with earlier > versions): > > When I work on a plugin stack I use LC 4.6.4, as this is the last version to use > the 2.4 format natively. That way when I save a plugin stack's changes I can > be sure that the format hasn't changed. If I didn't need to maintain > compatibility back to earlier versions I could use a later LC version, but in any > event the native format of the selected version of LiveCode is what's > important. > > I save a preferences file in the plugin directory and write any values I want to > remain persistent into that file. This replaces my previous behavior of setting > custom properties and saving the stack. In general I save information into this > text file in the format > > property value > > so that it can also be edited by any text processor if necessary. > Property names are single words, no spaces or punctuation. > > I have somewhat standardized boilerplate routines that read the > preferences file on opening the stack and set plugin stack properties > accordingly. Preference file contents are written when necessary (when one > of them changes; or in the case of a preferences panel, when the Save > button is clicked rather than the Cancel button). I think GLX2 still saves all its > settings on quitting, but I'm too lazy to check right at the moment. > > I no longer use the save-stack-and-revert trick to update a running plugin > stack because of the problem with maintaining version and format > compatibility. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not consent to > the retrieving or storing of this communication and any related metadata, as > well as printing, copying, re-transmitting, disseminating, or otherwise using it. > If you believe you have received this communication in error, please delete it > immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mblivecode at harbourhosting.co.uk Mon Mar 24 10:21:44 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Mon, 24 Mar 2014 14:21:44 +0000 Subject: set stack rect in startup handler Message-ID: <53303F78.7060501@harbourhosting.co.uk> This: on startup set the rect of this stack to "100,100,300,300" end startup Does not seem to work in version 6.6 (at least for me, on Linux) Obviously the idea is to set the initial position of an application window. What happens is that the window is correctly sized to 200 * 200 px, but the specified position on screen is not honoured. The stack window may open centered or displaced by whatever other windows are already open. Setting the loc doesn't seem to work either. This worked for me in 6.5.2 and earlier. I'm thinking this is a bug, does anyone else have any insight on this? Martin From dunbarx at aol.com Mon Mar 24 11:15:05 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 24 Mar 2014 11:15:05 -0400 (EDT) Subject: set stack rect in startup handler In-Reply-To: <53303F78.7060501@harbourhosting.co.uk> References: <53303F78.7060501@harbourhosting.co.uk> Message-ID: <8D1158AF85500C1-1E98-527CD@webmail-d211.sysops.aol.com> Martin. What happens if you run this line from msg after the window is open? Craig -----Original Message----- From: Martin Baxter To: How to use LiveCode Sent: Mon, Mar 24, 2014 10:22 am Subject: set stack rect in startup handler This: on startup set the rect of this stack to "100,100,300,300" end startup Does not seem to work in version 6.6 (at least for me, on Linux) Obviously the idea is to set the initial position of an application window. What happens is that the window is correctly sized to 200 * 200 px, but the specified position on screen is not honoured. The stack window may open centered or displaced by whatever other windows are already open. Setting the loc doesn't seem to work either. This worked for me in 6.5.2 and earlier. I'm thinking this is a bug, does anyone else have any insight on this? Martin _______________________________________________ use-livecode mailing list use-livecode 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 mblivecode at harbourhosting.co.uk Mon Mar 24 11:36:47 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Mon, 24 Mar 2014 15:36:47 +0000 Subject: set stack rect in startup handler In-Reply-To: <8D1158AF85500C1-1E98-527CD@webmail-d211.sysops.aol.com> References: <53303F78.7060501@harbourhosting.co.uk> <8D1158AF85500C1-1E98-527CD@webmail-d211.sysops.aol.com> Message-ID: <5330510F.8030408@harbourhosting.co.uk> Hi Craig, In the IDE it works correctly when startup is invoked from msg, but once the stack is built into a standalone it doesn't. The standalone in question is just to test this issue, and has only a quit button. I build it with a size different from 200 by 200, so I can tell that the on startup handler runs, because the stack is resized to 200 by 200, but is not placed at screen loc 300,300 as expected. However the line does work as desired if placed into the preopenstack handler instead of on startup. I'm not keen to move my configuration code to the app's preopenstack if I can avoid it though - in the actual application that I'm working on that could be a bit untidy, the real-world case is more involved than the test stack of course. Martin On 24/03/14 15:15, dunbarx at aol.com wrote: > Martin. > > > What happens if you run this line from msg after the window is open? > > > > Craig > > > > -----Original Message----- > From: Martin Baxter > To: How to use LiveCode > Sent: Mon, Mar 24, 2014 10:22 am > Subject: set stack rect in startup handler > > > This: > > on startup > set the rect of this stack to "100,100,300,300" > end startup > > Does not seem to work in version 6.6 (at least for me, on Linux) > > Obviously the idea is to set the initial position of an application window. > > What happens is that the window is correctly sized to 200 * 200 px, but > the specified position on screen is not honoured. The stack window may > open centered or displaced by whatever other windows are already open. > Setting the loc doesn't seem to work either. > > This worked for me in 6.5.2 and earlier. > > I'm thinking this is a bug, does anyone else have any insight on this? > > Martin > From mwieder at ahsoftware.net Mon Mar 24 11:31:47 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 24 Mar 2014 08:31:47 -0700 Subject: 7.0 Issues In-Reply-To: <005d01cf475a$6fd43280$4f7c9780$@tapirsoft.com> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> <95681228344.20140323091942@ahsoftware.net> <005d01cf475a$6fd43280$4f7c9780$@tapirsoft.com> Message-ID: <60764752264.20140324083147@ahsoftware.net> Mats- Monday, March 24, 2014, 5:13:15 AM, you wrote: > For my plugins I'm leaning towards your use of a plain txt, written > in a format that could easily be read and edited. I think pref files > should be "plain English LiveCode" wherever possible. Not sure about "English", but key:value pairs are my choice. > I also think there is need to save multi-level array data to pref files. > Not sure what would be best approach for that though. I've done > some very basic testing and there seems to be very little difference > in size between using arrayEncode to save as a bin string and > parsing the array to save as a plain text that could be read and edited. > Any thoughts here? JSON? I usually lean in favor or human-readable vs machine-readable formats, but probably what matters is just something that works for you. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Mon Mar 24 12:12:29 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 11:12:29 -0500 Subject: Application verification failure Message-ID: <5330596D.2090407@hyperactivesw.com> I'm getting the error "application verification failure" when sending data to Rails on a server. The same code works fine most of the time, but randomly returns that error, even with the same request. Searching on Google isn't very helpful, with only vague references to SSL errors, but I have set libURLSetVerification to false, so I wouldn't think SSL verification would be a problem. The URL does start with "https" though. Does anyone have info about what that error means and why I'd get it? It is not even clear to me whether the error is caused by my LiveCode scripts or something on the server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon Mar 24 12:21:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Mar 2014 09:21:36 -0700 Subject: 7.0 Issues In-Reply-To: <5717337784.20140323192132@ahsoftware.net> References: <532F50DC.5030105@fourthworld.com> <532F92CA.4060700@hyperactivesw.com> <5717337784.20140323192132@ahsoftware.net> Message-ID: Hi Mark, Definitely agree with that but there seems to be some confusion about whether that setting is working or not in 7.0. Haven't had time to check it out myself. On Sun, Mar 23, 2014 at 7:21 PM, Mark Wieder wrote: > Call me crazy, but I think if you set the IDE preference to preserve > stack file format, the stack file format should be preserved. > Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Mon Mar 24 12:23:45 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Mar 2014 09:23:45 -0700 Subject: 7.0 Issues In-Reply-To: <135717477442.20140323192352@ahsoftware.net> References: <1395434571084-4677383.post@n4.nabble.com> <1395514713819-4677419.post@n4.nabble.com> <176628856031.20140322184649@ahsoftware.net> <135717477442.20140323192352@ahsoftware.net> Message-ID: On Sun, Mar 23, 2014 at 7:23 PM, Mark Wieder wrote: > Ah... that's another thing that I do. If I ever have to do a "save > stack" operation I make sure to set the stackFileFormat before calling > that. That way I can ensure backward compatibility. > Yep, I've added that to my code just in case there's any other rogue saves I've missed! Hopefully once you set it, it stays that way until you reset it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Mon Mar 24 12:24:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Mar 2014 09:24:15 -0700 Subject: 7.0 Issues In-Reply-To: <138718437735.20140323193952@ahsoftware.net> References: <532F34A6.3060205@fourthworld.com> <4714884150.20140323184038@ahsoftware.net> <138718437735.20140323193952@ahsoftware.net> Message-ID: Thanks Mark, you beat me to it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 23, 2014 at 7:39 PM, Mark Wieder wrote: > Now filed as bug^H^H^Henhancement request 12004: > > http://quality.runrev.com/show_bug.cgi?id=12004 > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Mon Mar 24 12:28:53 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Mar 2014 09:28:53 -0700 Subject: 7.0 Issues In-Reply-To: <4714884150.20140323184038@ahsoftware.net> References: <532F34A6.3060205@fourthworld.com> <4714884150.20140323184038@ahsoftware.net> Message-ID: On Sun, Mar 23, 2014 at 6:40 PM, Mark Wieder wrote: > Did I miss anything? Not that I can think of. It also has the advantage of working with existing plugins without the need to change them. That's what I had in mind a few emails back when I suggested using the Prefs file, although hadn't thought it through as thoroughly as you. I think Richard had some concerns about that methodology though... Enhancement request? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Mon Mar 24 12:38:03 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Mar 2014 09:38:03 -0700 Subject: 7.0 Issues In-Reply-To: <5717337784.20140323192132@ahsoftware.net> References: <532F50DC.5030105@fourthworld.com> <532F92CA.4060700@hyperactivesw.com> <5717337784.20140323192132@ahsoftware.net> Message-ID: This issue has almost come full circle for me. The best thing to come out of it for me was fixing lcStackBrowser to not save itself so it's not affected by the 7.0 format, but I'm glad it developed into a discussion, and possible solution, for the LC plugin mechanisms. Another thing I learned from it is that the 7.0 User Extensions setting is separate from prior versions. I haven't been able to find any mention of that in the release notes and it really seems like a key piece of information for folks who want to do their community service in testing 7.0. Is that unique to 7.0 or do all versions have their own separate User Extensions setting? Ironically, I'm blocked from testing lcStackBrowser with 7.0 because of two serious bugs, one during initial compile on a show with visual effect command, and another during execution on an arraydecode statement. QCC looking into them. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 23, 2014 at 7:21 PM, Mark Wieder wrote: > Jacque- > > Sunday, March 23, 2014, 7:04:58 PM, you wrote: > > >> Jacque - did you enter a feature request? > > > No, but if you have time feel free. I like Mark Wieder's suggestion too. > > It's not an either/or thing. > Call me crazy, but I think if you set the IDE preference to preserve > stack file format, the stack file format should be preserved. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Mon Mar 24 13:07:43 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 24 Mar 2014 17:07:43 +0000 (UTC) Subject: 7.0 Issues References: <532F50DC.5030105@fourthworld.com> <532F92CA.4060700@hyperactivesw.com> <5717337784.20140323192132@ahsoftware.net> Message-ID: Peter Haworth writes: > Definitely agree with that but there seems to be some confusion about > whether that setting is working or not in 7.0. Haven't had time to check > it out myself. I don't think it's just a 7.0 thing. I've had problems with the stackFileFormat now being respected in the past, and that's why I set it explicitly right before saving if I'm going to need to maintain it. I think it probably just hasn't come up as an issue for you before because you haven't been trying to maintain backward compatibility back to the 2.4 format. -- Mark Wieder ahsoftware at gmail.com From palcibiades-first at yahoo.co.uk Mon Mar 24 13:37:10 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 24 Mar 2014 10:37:10 -0700 (PDT) Subject: RELEASE: LiveCode 6.6 In-Reply-To: <532ECE64.6050803@harbourhosting.co.uk> References: <532B1958.5040401@runrev.com> <1395394001751-4677341.post@n4.nabble.com> <532C34F4.6020007@warrensweb.us> <1395564330201-4677431.post@n4.nabble.com> <532ECE64.6050803@harbourhosting.co.uk> Message-ID: <1395682630284-4677478.post@n4.nabble.com> Martin, many thanks for this. I shall have a go. ldd is a very useful reminder. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-tp4677292p4677478.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Mon Mar 24 13:45:36 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Mon, 24 Mar 2014 10:45:36 -0700 Subject: Livecode membership In-Reply-To: <532F2397.6050809@researchware.com> References: <532F2397.6050809@researchware.com> Message-ID: I'm wondering what this offers that the full commercial license doesn't. I'm learning a lot about livecode and have a commercial license, and I figure the "Academies" will still be available to me. It seems this "membership" is targeted at the users of the opensource version of livecode. Am I correct? Best, Bill prothero at earthednet.org http://es.earthednet.org From revdev at pdslabs.net Mon Mar 24 13:51:55 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 24 Mar 2014 10:51:55 -0700 Subject: set stack rect in startup handler In-Reply-To: <53303F78.7060501@harbourhosting.co.uk> References: <53303F78.7060501@harbourhosting.co.uk> Message-ID: <533070BB.8060208@pdslabs.net> If I remember correctly, the startup message isn't available to our stacks in the IDE. Otherwise (in standalones) it should be. Phil Davis On 3/24/14, 7:21 AM, Martin Baxter wrote: > This: > > on startup > set the rect of this stack to "100,100,300,300" > end startup > > Does not seem to work in version 6.6 (at least for me, on Linux) > > Obviously the idea is to set the initial position of an application window. > > What happens is that the window is correctly sized to 200 * 200 px, but > the specified position on screen is not honoured. The stack window may > open centered or displaced by whatever other windows are already open. > Setting the loc doesn't seem to work either. > > This worked for me in 6.5.2 and earlier. > > I'm thinking this is a bug, does anyone else have any insight on this? > > Martin > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mblivecode at harbourhosting.co.uk Mon Mar 24 14:13:24 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Mon, 24 Mar 2014 18:13:24 +0000 Subject: set stack rect in startup handler In-Reply-To: <533070BB.8060208@pdslabs.net> References: <53303F78.7060501@harbourhosting.co.uk> <533070BB.8060208@pdslabs.net> Message-ID: <533075C4.3090702@harbourhosting.co.uk> Hi Phil, That's correct, although as Craig pointed out you can run the startup handler in the IDE from the message box, which I did on his suggestion as a test. Turns out that, when startup is run in the IDE, setting the stack rect works as I would expect, the size and position are modified correctly. But in a standalone, the stack size is set but not its position. So the startup handler obviously runs, but setting the stack rect doesn't have the side-effect of setting the loc. The same line in a preopenstack handler does work correctly however, so it is specifically in a standalone's startup handler that this issue appears to manifest. Anyway I have now bug-reported it. Martin On 24/03/14 17:51, Phil Davis wrote: > If I remember correctly, the startup message isn't available to our > stacks in the IDE. Otherwise (in standalones) it should be. > > Phil Davis > > > On 3/24/14, 7:21 AM, Martin Baxter wrote: >> This: >> >> on startup >> set the rect of this stack to "100,100,300,300" >> end startup >> >> Does not seem to work in version 6.6 (at least for me, on Linux) >> >> Obviously the idea is to set the initial position of an application >> window. >> >> What happens is that the window is correctly sized to 200 * 200 px, but >> the specified position on screen is not honoured. The stack window may >> open centered or displaced by whatever other windows are already open. >> Setting the loc doesn't seem to work either. >> >> This worked for me in 6.5.2 and earlier. >> >> I'm thinking this is a bug, does anyone else have any insight on this? >> >> Martin From ms1 at soas.ac.uk Mon Mar 24 15:49:42 2014 From: ms1 at soas.ac.uk (Muaadh Salih) Date: Mon, 24 Mar 2014 19:49:42 +0000 Subject: Entering text into vector graphic Message-ID: I am returning back to live code after being non active for a long while and having encouraged by the forthcoming live code 7.00 m( Unicode). ?My problem is that I am unable to type (enter text) inside a vector graphic shape . (e.g. to type a word inside an oval shape) . choosing either tools ( browse or edit) does not work ( naturally !) . I could not not find a "text tool" ( as in the old Hypercard). I looked everywhere (tutorials, userguide, forums ...etc) but to no avail. I am sure this might appear a silly request bu your help is really appreciate.d ?My email to write directly to me : ms1 at soas.ac.uk.? M ?uaadh ? .Salih Principal Teaching Fellow Fellow of the Teaching & Learning Academy in Higher Education Department of the Languages and Cultures of the Near and Middle East Faculty of Languages and Cultures School of Oriental and African Studies (SOAS) From jhj at jhj.com Mon Mar 24 15:58:30 2014 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 24 Mar 2014 12:58:30 -0700 Subject: Entering text into vector graphic In-Reply-To: References: Message-ID: <6A142FB5-DCE0-4C94-ABAB-F4CD9819A05E@jhj.com> On Mar 24, 2014, at 12:49 PM, Muaadh Salih wrote: > I am returning back to live code after being non active for a long while > and having encouraged by the forthcoming live code 7.00 m( Unicode). > ?My problem is that I am unable to type (enter text) inside a vector > graphic shape . (e.g. to type a word inside an oval shape) . > choosing either tools ( browse or edit) does not work ( naturally !) . I > could not not find a "text tool" ( as in the old Hypercard). > I looked everywhere (tutorials, userguide, forums ...etc) but to no avail. > I am sure this might appear a silly request bu your help is really > appreciate.d Welcome back. I think you want a small field, in its simplest form with no outline or fancy tricks. Put it on top of the oval. .Jerry From scott at tactilemedia.com Mon Mar 24 16:13:53 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 24 Mar 2014 13:13:53 -0700 Subject: Entering text into vector graphic In-Reply-To: References: Message-ID: I assume it's the same in LC7, but you can set the label property of the graphic to your text. There's just no entry for this in the property inspector. You can use the message box, something like: set the label of graphic "oval" to "My Great Text" Make sure you enable the showName property of the graphic also. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/24/14 12:49 PM, "Muaadh Salih" wrote: >I am returning back to live code after being non active for a long while >and having encouraged by the forthcoming live code 7.00 m( Unicode). >?My problem is that I am unable to type (enter text) inside a vector >graphic shape . (e.g. to type a word inside an oval shape) . >choosing either tools ( browse or edit) does not work ( naturally !) . I >could not not find a "text tool" ( as in the old Hypercard). >I looked everywhere (tutorials, userguide, forums ...etc) but to no >avail. >I am sure this might appear a silly request bu your help is really >appreciate.d > >?My email to write directly to me : ms1 at soas.ac.uk.? > > > > >M >?uaadh ? >.Salih >Principal Teaching Fellow >Fellow of the Teaching & Learning Academy in Higher Education >Department of the Languages and Cultures of the Near and Middle East >Faculty of Languages and Cultures >School of Oriental and African Studies (SOAS) >_______________________________________________ >use-livecode mailing list >use-livecode 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 jhj at jhj.com Mon Mar 24 17:37:13 2014 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 24 Mar 2014 14:37:13 -0700 Subject: Entering text into vector graphic In-Reply-To: References: Message-ID: <172F5974-BEA9-46BC-97E8-FFDC77AE44A0@jhj.com> Wow! I learn something every day, especially when Scott Rossi posts. Thanks, .Jerry On Mar 24, 2014, at 1:13 PM, Scott Rossi wrote: > I assume it's the same in LC7, but you can set the label property of the > graphic to your text. There's just no entry for this in the property > inspector. You can use the message box, something like: > > set the label of graphic "oval" to "My Great Text" > > Make sure you enable the showName property of the graphic also. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/24/14 12:49 PM, "Muaadh Salih" wrote: > >> I am returning back to live code after being non active for a long while >> and having encouraged by the forthcoming live code 7.00 m( Unicode). >> ?My problem is that I am unable to type (enter text) inside a vector >> graphic shape . (e.g. to type a word inside an oval shape) . >> choosing either tools ( browse or edit) does not work ( naturally !) . I >> could not not find a "text tool" ( as in the old Hypercard). >> I looked everywhere (tutorials, userguide, forums ...etc) but to no >> avail. >> I am sure this might appear a silly request bu your help is really >> appreciate.d From cszasz at me.com Mon Mar 24 17:44:53 2014 From: cszasz at me.com (Charles Szasz) Date: Mon, 24 Mar 2014 17:44:53 -0400 Subject: A print stack printing problem on Windows Message-ID: <807BB561-3296-41AB-A7E1-F9BFAE03FB72@me.com> I have a real problem with using substack as a printing stack. First of all, I am using Rev 5.5.5. This is the first time I am using a print stack in one of my projects. I usually use the print card command. The print stack is a substack of my app stack and has only one card, which receives data from my app stack. I am also using a splash app to launch to my app stack. I have some fields that are grouped and are used on several cards. The grouped fields are placed on several cards of my app stack. When I use a substack to print one of my card of my app stack on Windows XP, I found if the user prints or cancels printing, the last field in the group field loses data in the field. In my case, the field is Field ?school?. I have examined all of my scripts and stack settings. I still find what is causing this problem. I also set the format to printing for my print stack. Here is my script: if the platform is "macos" then set the printPaperOrientation to "portrait" set the printmargins to 36,108,36,72 set the printScale to .82351 open printing with dialog as sheet if the result = "cancel" then exit to top lock screen open invisible stack "printReferral" print stack "printReferral" close printing go to card "referral" of stack ?School Report" unlock screen end if if the platform is "win32" then answer printer set the printPaperOrientation to "portrait" set the printmargins to 36,108,36,72 set the printScale to .8235 open printing if the result = "cancel" then exit to top set the formatforprinting of this stack to true lock screen open invisible stack "printReferral" print stack "printReferral" close printing go to card "referral" of stack "School Report" unlock screen end if Anybody have any suggestions? Charles Szasz cszasz at mac.com From dave at applicationinsight.com Mon Mar 24 17:56:26 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 24 Mar 2014 14:56:26 -0700 (PDT) Subject: Entering text into vector graphic In-Reply-To: <172F5974-BEA9-46BC-97E8-FFDC77AE44A0@jhj.com> References: <172F5974-BEA9-46BC-97E8-FFDC77AE44A0@jhj.com> Message-ID: <1395698186680-4677487.post@n4.nabble.com> Yes thanks Scott - that is useful to know! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Entering-text-into-vector-graphic-tp4677482p4677487.html Sent from the Revolution - User mailing list archive at Nabble.com. From green.rodney at gmail.com Mon Mar 24 18:27:24 2014 From: green.rodney at gmail.com (Rodney Green) Date: Mon, 24 Mar 2014 18:27:24 -0400 Subject: mobile ads Message-ID: Just into my first few days of livecode. I tried to follow the inneractive tutorial here: http://lessons.runrev.com/s/3527/m/4069/l/68315-how-do-i-use-ads-in-livecode And in the tutorial it points to this url to sign up http://runrev.com/store/account/inneractive/ I don't get any inneractive login screens after logging in. Is Inneractive still supported? Are there any other ad networks I can use in livecode? Thanks, and sorry if this has been covered already. Rod From Nakia.Brewer at westrac.com.au Mon Mar 24 18:56:21 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 24 Mar 2014 22:56:21 +0000 Subject: Accordian Menu In-Reply-To: <1395642389586-4677465.post@n4.nabble.com> References: <67116DB20798A94285EEE12A67079A284CACD1F2@MHSEXC02.westrac.com.au> <1395642389586-4677465.post@n4.nabble.com> Message-ID: <67116DB20798A94285EEE12A67079A284CACD832@MHSEXC02.westrac.com.au> Thanks kindly, this should do the trick... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of As_Simon Sent: Monday, 24 March 2014 5:26 PM To: use-revolution at lists.runrev.com Subject: Re: Accordian Menu There is this http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=13399#p78436 Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accordian-Menu-tp4677464p4677465.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Mon Mar 24 18:56:21 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 24 Mar 2014 22:56:21 +0000 Subject: Accordian Menu In-Reply-To: <1395642389586-4677465.post@n4.nabble.com> References: <67116DB20798A94285EEE12A67079A284CACD1F2@MHSEXC02.westrac.com.au> <1395642389586-4677465.post@n4.nabble.com> Message-ID: <67116DB20798A94285EEE12A67079A284CACD832@MHSEXC02.westrac.com.au> Thanks kindly, this should do the trick... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of As_Simon Sent: Monday, 24 March 2014 5:26 PM To: use-revolution at lists.runrev.com Subject: Re: Accordian Menu There is this http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=13399#p78436 Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accordian-Menu-tp4677464p4677465.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From peterwawood at gmail.com Mon Mar 24 21:44:18 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Mar 2014 09:44:18 +0800 Subject: Application verification failure In-Reply-To: <5330596D.2090407@hyperactivesw.com> References: <5330596D.2090407@hyperactivesw.com> Message-ID: <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> Jacque Where does the error message appear? in the HTTP response? Peter On 25 Mar 2014, at 00:12, J. Landman Gay wrote: > I'm getting the error "application verification failure" when sending data to Rails on a server. The same code works fine most of the time, but randomly returns that error, even with the same request. Searching on Google isn't very helpful, with only vague references to SSL errors, but I have set libURLSetVerification to false, so I wouldn't think SSL verification would be a problem. The URL does start with "https" though. > > Does anyone have info about what that error means and why I'd get it? It is not even clear to me whether the error is caused by my LiveCode scripts or something on the server. > > -- > 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 jacque at hyperactivesw.com Mon Mar 24 22:06:53 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 21:06:53 -0500 Subject: Application verification failure In-Reply-To: <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> Message-ID: <5330E4BD.2080608@hyperactivesw.com> The error appears in the result: post pServerParams to url tURL put the result into tNetworkErr -- "application verification failure" put it into tData -- has data if things work, otherwise empty Some sleuthing today reveals that the post never arrives at the server at all, it's not in the logs anywhere. Do you know what "application" it refers to? It can't be the server, it never gets there. It's unlikely to be my code since the same script runs fine 90% of the time, even with the same parameters. On 3/24/14, 8:44 PM, Peter W A Wood wrote: > Jacque > > Where does the error message appear? in the HTTP response? > > Peter > > On 25 Mar 2014, at 00:12, J. Landman Gay wrote: > >> I'm getting the error "application verification failure" when sending data to Rails on a server. The same code works fine most of the time, but randomly returns that error, even with the same request. Searching on Google isn't very helpful, with only vague references to SSL errors, but I have set libURLSetVerification to false, so I wouldn't think SSL verification would be a problem. The URL does start with "https" though. >> >> Does anyone have info about what that error means and why I'd get it? It is not even clear to me whether the error is caused by my LiveCode scripts or something on the server. >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Mon Mar 24 22:17:30 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Mar 2014 10:17:30 +0800 Subject: Application verification failure In-Reply-To: <5330E4BD.2080608@hyperactivesw.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> Message-ID: Jacque On 25 Mar 2014, at 10:06, J. Landman Gay wrote: > The error appears in the result: > > post pServerParams to url tURL > put the result into tNetworkErr -- "application verification failure" > put it into tData -- has data if things work, otherwise empty > > Some sleuthing today reveals that the post never arrives at the server at all, it's not in the logs anywhere. > > Do you know what "application" it refers to? It can't be the server, it never gets there. It's unlikely to be my code since the same script runs fine 90% of the time, even with the same parameters. It's hard to tell whether the message is coming from your machine or the server. Have you taken a look at the HTTP Headers? I believe you can do that with libURLLastHTTPHeaders(). Regards Peter From jacque at hyperactivesw.com Mon Mar 24 22:20:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 21:20:55 -0500 Subject: A print stack printing problem on Windows In-Reply-To: <807BB561-3296-41AB-A7E1-F9BFAE03FB72@me.com> References: <807BB561-3296-41AB-A7E1-F9BFAE03FB72@me.com> Message-ID: <5330E807.1050809@hyperactivesw.com> On 3/24/14, 4:44 PM, Charles Szasz wrote: > When I use a substack to print one of my card of my app stack on > Windows XP, I found if the user prints or cancels printing, the last > field in the group field loses data in the field. There's nothing in the script fragment you posted that would cause fields to lose data, it must be something in the portion that moves the content to the printing stack. The script could be considerably shortened, but what you have doesn't destroy any content. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 24 22:29:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 21:29:46 -0500 Subject: Application verification failure In-Reply-To: References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> Message-ID: <5330EA1A.8040103@hyperactivesw.com> On 3/24/14, 9:17 PM, Peter W A Wood wrote: > It's hard to tell whether the message is coming from your machine or > the server. Have you taken a look at the HTTP Headers? I believe you > can do that with libURLLastHTTPHeaders(). Do you know what I should be looking for? I'd like to record it only conditionally. There's a lot of server interaction going on, and logging all the headers would give me a gigantic log. The other bad part is that it only happens occasionally. I haven't seen it all day today, but over the weekend I had multiple instances. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Mon Mar 24 22:57:53 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Mar 2014 10:57:53 +0800 Subject: Application verification failure In-Reply-To: <5330EA1A.8040103@hyperactivesw.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> <5330EA1A.8040103@hyperactivesw.com> Message-ID: <0893262B-F9F4-4376-81E5-A96C76206F5A@gmail.com> Jacque On 25 Mar 2014, at 10:29, J. Landman Gay wrote: > On 3/24/14, 9:17 PM, Peter W A Wood wrote: >> It's hard to tell whether the message is coming from your machine or >> the server. Have you taken a look at the HTTP Headers? I believe you >> can do that with libURLLastHTTPHeaders(). > > Do you know what I should be looking for? I'd like to record it only conditionally. There's a lot of server interaction going on, and logging all the headers would give me a gigantic log. From the message, I would guess that the message is coming from either the C library that LiveCode uses for HTTP support or from the server. Looking at the HTTP responses might help you work out which of the two doesn't like the request. In order to limit the number of entries in your log, I would suggest trying to look at any response that was not successful which usually means the Status 200 (though it can be anything in the 200 range and even some 300 codes may not indicate failure). Do you know what HTTP Status code the server returns with a successful transaction? Just in case it helps, here are the headers from a GET request to RunRev (with my annotations preceded by ##) Schulz:Red-System-Libs peter$ curl -v http://runrev.com ## a request send from curl from OS X terminal ### messages from Curl * About to connect() to runrev.com port 80 (#0) * Trying 37.59.205.90... connected * Connected to runrev.com (37.59.205.90) port 80 (#0) ### The headers curl sent to runrev, there is no body with a GET request > GET / HTTP/1.1 > User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8y zlib/1.2.5 > Host: runrev.com > Accept: */* > ### The response from RunRev ## Headers < HTTP/1.1 200 OK < Date: Tue, 25 Mar 2014 02:45:26 GMT < Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 < X-Powered-By: PHP/5.3.22 < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Pragma: no-cache < X-Pingback: http://runrev.com/xmlrpc.php < Set-Cookie: PHPSESSID=12ac26b4ddc9f94f4a5c8962f68ec5bb; path=/ < Transfer-Encoding: chunked < Content-Type: text/html; charset=UTF-8 < ## Body (The empty line is the boundary between headers and response. The other bad part is that it only happens occasionally. I haven't seen it all day today, but over the weekend I had multiple instances. Is the service more heavily used at the weekend? Regards Peter From lan.kc.macmail at gmail.com Mon Mar 24 23:44:44 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 25 Mar 2014 11:44:44 +0800 Subject: Livecode membership In-Reply-To: References: <532F2397.6050809@researchware.com> Message-ID: That would be my take on it. From jacque at hyperactivesw.com Mon Mar 24 23:45:57 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 22:45:57 -0500 Subject: Application verification failure In-Reply-To: <0893262B-F9F4-4376-81E5-A96C76206F5A@gmail.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> <5330EA1A.8040103@hyperactivesw.com> <0893262B-F9F4-4376-81E5-A96C76206F5A@gmail.com> Message-ID: <5330FBF5.80703@hyperactivesw.com> On 3/24/14, 9:57 PM, Peter W A Wood wrote: >> From the message, I would guess that the message is coming from >> either the C library that LiveCode uses for HTTP support or from >> the server. Looking at the HTTP responses might help you work out >> which of the two doesn't like the request. I've wondered if the problem is due to the revisions in libURL in 6.6. But before I start asking RR about it, I want to make sure it's not something else. Also, I can't give them a reliable recipe because it isn't reproducible on demand. > In order to limit the number of entries in your log, I would suggest > trying to look at any response that was not successful which usually > means the Status 200 (though it can be anything in the 200 range and > even some 300 codes may not indicate failure). Do you know what HTTP > Status code the server returns with a successful transaction? Yes, success returns "200 OK". And the server also sends back data that starts with either "success" or "failure" so my scripts can take action. But the server isn't getting my request, so nothing comes back from there. The error "application verification failure" can be found in a list of responses I found at which indicates it is related to SSL. That document says the error is "unused." But someone is obviously using it. And I have libURLSetVerification set to false, so it shouldn't matter. > > Just in case it helps, here are the headers from a GET request to > RunRev (with my annotations preceded by ##) I just looked it up, I the function I need is libURULlastRHHeaders(). But if it isn't hitting the server I probably won't get anything back. I just added the headers to my error logging though, thanks for the suggestion. > Is the service more heavily used at the weekend? No, it's actually used less. We're still in production so there are only three of us during the week. Over the weekend it's just me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 24 23:56:22 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 22:56:22 -0500 Subject: Application verification failure In-Reply-To: <5330FBF5.80703@hyperactivesw.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> <5330EA1A.8040103@hyperactivesw.com> <0893262B-F9F4-4376-81E5-A96C76206F5A@gmail.com> <5330FBF5.80703@hyperactivesw.com> Message-ID: <5330FE66.8050404@hyperactivesw.com> On 3/24/14, 10:45 PM, J. Landman Gay wrote: > The error "application verification failure" can be found in a list of > responses I found at > which indicates it is related to SSL. That document says the error is > "unused." But someone is obviously using it. And I have > libURLSetVerification set to false, so it shouldn't matter. I just found this in the release notes: "In addition to mobile support, LiveCode now includes its own version of the encryption and SSL libraries on OS X (LibOpenSSL version 1.0.1e). This means developers are now no longer relying on the system installed security libraries on OS X." My clients and I are all on OS X. This may be a lead, given that the error is listed at the OpenSSL site. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Tue Mar 25 00:33:24 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Mar 2014 12:33:24 +0800 Subject: Application verification failure In-Reply-To: <5330FE66.8050404@hyperactivesw.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> <5330EA1A.8040103@hyperactivesw.com> <0893262B-F9F4-4376-81E5-A96C76206F5A@gmail.com> <5330FBF5.80703@hyperactivesw.com> <5330FE66.8050404@hyperactivesw.com> Message-ID: <0A1D9377-4BB4-40A8-9B6C-99B4C55B0455@gmail.com> Jacque On 25 Mar 2014, at 11:56, J. Landman Gay wrote: > I just found this in the release notes: > > "In addition to mobile support, LiveCode now includes its own version of the encryption and SSL libraries on OS X (LibOpenSSL version 1.0.1e). This means developers are now no longer relying on the system installed security libraries on OS X." > > My clients and I are all on OS X. This may be a lead, given that the error is listed at the OpenSSL site. If you didn't have this problem before this version of LiveCode, it would suggest a bug. Just in case, does the problem happen after you've saved the stack as a standalone? Regards Peter From jacque at hyperactivesw.com Tue Mar 25 00:50:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Mar 2014 23:50:27 -0500 Subject: Application verification failure In-Reply-To: <0A1D9377-4BB4-40A8-9B6C-99B4C55B0455@gmail.com> References: <5330596D.2090407@hyperactivesw.com> <9417D6B0-CE5B-4AF9-B9D6-6ECB8164D254@gmail.com> <5330E4BD.2080608@hyperactivesw.com> <5330EA1A.8040103@hyperactivesw.com> <0893262B-F9F4-4376-81E5-A96C76206F5A@gmail.com> <5330FBF5.80703@hyperactivesw.com> <5330FE66.8050404@hyperactivesw.com> <0A1D9377-4BB4-40A8-9B6C-99B4C55B0455@gmail.com> Message-ID: <53310B13.4080303@hyperactivesw.com> On 3/24/14, 11:33 PM, Peter W A Wood wrote: > If you didn't have this problem before this version of LiveCode, it > would suggest a bug. > > Just in case, does the problem happen after you've saved the stack as > a standalone? We didn't have the problem until 6.6, and it does happen equally in the IDE and a standalone. I just submitted a bug report, but since I can't provide a reliable recipe I'm not sure it will help. I appreciate your feedback though. It's one of those things where you don't think through everything until you start writing about it. You made me think. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Mar 25 04:02:36 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 25 Mar 2014 01:02:36 -0700 Subject: Alternating Row Colors? Message-ID: Did I read/hear at some point that it's now possible to create alternating row colors in a field using htmlText or styledText? Or was this a dream about cheese? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From admin at FlexibleLearning.com Tue Mar 25 04:26:00 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 25 Mar 2014 08:26:00 -0000 Subject: Entering text into vector graphic Message-ID: <000601cf4803$dac24420$9046cc60$@FlexibleLearning.com> On Mon, 24 Mar 2014 14:56:26 -0700 (PDT) Dave Kilroy wrote: [snip] ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- This still makes me smile every time I see it :) Hugh Senior FLCo From dave at applicationinsight.com Tue Mar 25 04:45:15 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 25 Mar 2014 01:45:15 -0700 (PDT) Subject: mobile ads In-Reply-To: References: Message-ID: <1395737115491-4677503.post@n4.nabble.com> Hi Rodney Hope you're enjoying your LiveCode learning curve (I found it quite hard at first - but I'm a slow learner). Regarding access to Inneractive, I'm not sure whether you have to have a commercial licence to get it - but I have a feeling that you might - I've just had a look at its terms and conditions and it's silent on the matter. Do you have commercial or community licence? If nobody on the mailing list can help I would contact RunRev directly and ask for guidance (they're very helpful). Kind regards - Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/mobile-ads-tp4677488p4677503.html Sent from the Revolution - User mailing list archive at Nabble.com. From peterwawood at gmail.com Tue Mar 25 04:58:38 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Mar 2014 16:58:38 +0800 Subject: Alternating Row Colors? In-Reply-To: References: Message-ID: <144586ED-3E37-4BFE-85BA-FB7D1AC4160B@gmail.com> Scott I'm not sure whether you were dreaming or not, but I couldn't find anything about alternate rows colours with htmlText or styledText. Were you looking to avoid having to do something like this? put the height of field "Field" into tFieldHeight put the effective textHeight of field "Field" into tTextHeight put tFieldHeight into tNumOfLines divide tNumOfLines by tTextHeight put the round of tNumOfLines into tNumOfLines put tNumOfLines into field "Field" repeat with tLine = 1 to tNumOfLines put tLine mod 2 into tOdd if tOdd = 1 then put "Red" into tBackGrdCol else put "Blue" into tBackGrdCol end if set the backgroundColor of line tLine of field "Field" to tBackGrdCol end repeat Regards Peter On 25 Mar 2014, at 16:02, Scott Rossi wrote: > Did I read/hear at some point that it's now possible to create alternating > row colors in a field using htmlText or styledText? Or was this a dream > about cheese? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 25 05:32:30 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 25 Mar 2014 02:32:30 -0700 (PDT) Subject: Alternating Row Colors? In-Reply-To: References: Message-ID: <1395739950182-4677505.post@n4.nabble.com> Hi Scott, I don't know of an easy way to set alternating colors. I have put up a stack on Livecodeshare that makes a backgroundpattern on the fly. http://livecodeshare.runrev.com/stack/661/ListStripes_0_0_5 You can change the colors and the size according to the textHeight etc. Only drawback ist that the topmargin has to be 4 since that is necessary for the backgroundpattern to work. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp4677501p4677505.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Tue Mar 25 05:33:48 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 25 Mar 2014 02:33:48 -0700 Subject: Alternating Row Colors? In-Reply-To: <144586ED-3E37-4BFE-85BA-FB7D1AC4160B@gmail.com> References: <144586ED-3E37-4BFE-85BA-FB7D1AC4160B@gmail.com> Message-ID: Hi Peter: I didn't think backgroundColor would span the entire row (line) but it seems like your option could work -- thanks very much. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/25/14 1:58 AM, "Peter W A Wood" wrote: >Scott > >I'm not sure whether you were dreaming or not, but I couldn't find >anything about alternate rows colours with htmlText or styledText. > >Were you looking to avoid having to do something like this? > > put the height of field "Field" into tFieldHeight > put the effective textHeight of field "Field" into tTextHeight > put tFieldHeight into tNumOfLines > divide tNumOfLines by tTextHeight > put the round of tNumOfLines into tNumOfLines > put tNumOfLines into field "Field" > repeat with tLine = 1 to tNumOfLines > put tLine mod 2 into tOdd > if tOdd = 1 then > put "Red" into tBackGrdCol > else > put "Blue" into tBackGrdCol > end if > set the backgroundColor of line tLine of field "Field" to >tBackGrdCol > end repeat > >Regards > >Peter > >On 25 Mar 2014, at 16:02, Scott Rossi wrote: > >> Did I read/hear at some point that it's now possible to create >>alternating >> row colors in a field using htmlText or styledText? Or was this a dream >> about cheese? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 btinternet.com Tue Mar 25 07:47:03 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 25 Mar 2014 11:47:03 +0000 Subject: Alternating Row Colors? In-Reply-To: <1395739950182-4677505.post@n4.nabble.com> References: <1395739950182-4677505.post@n4.nabble.com> Message-ID: <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> Hi, I am interested in your solution and downloaded it. On running on a Mac 10.9.2 and LC Community 6.6 it crashes after I press fill in 365 and start using the scroller. May be a LC issue? All the best Terry Here is the report: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 VM Regions Near 0: --> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] ---/--- SM=NUL /Applications/LiveCode Community 6.6.app/Contents/MacOS/LiveCode-Community __TEXT 0000000000001000-00000000003d9000 [ 3936K] r-x/rwx SM=COW /Applications/LiveCode Community 6.6.app/Contents/MacOS/LiveCode-Community Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.runrev.livecode 0x00088e8e MCField::adjustpixmapoffset(MCContext*, unsigned short, int) + 174 1 com.runrev.livecode 0x00089912 MCField::drawrect(MCContext*, MCRectangle const&) + 706 2 com.runrev.livecode 0x00080178 MCField::draw(MCContext*, MCRectangle const&, bool, bool) + 408 3 com.runrev.livecode 0x0006a4bc MCControl::redraw(MCContext*, MCRectangle const&) + 220 4 com.runrev.livecode 0x000221cb MCCard::draw(MCContext*, MCRectangle const&, bool) + 123 5 com.runrev.livecode 0x001869f4 MCStack::render(MCContext*, MCRectangle const&) + 148 6 com.runrev.livecode 0x001896b8 MCStack::render(__MCGContext*, MCRectangle const&) + 504 7 com.runrev.livecode 0x0020103b MCStack::view_render(__MCGContext*, MCRectangle) + 491 8 com.runrev.livecode 0x00188642 MCStack::view_surface_redrawwindow(MCStackSurface*, __MCRegion*) + 594 9 com.runrev.livecode 0x0013c3d3 HIRevolutionStackViewHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2323 10 com.apple.HIToolbox 0x98d01d89 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36 11 com.apple.HIToolbox 0x98b5535f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1452 12 com.apple.HIToolbox 0x98b54678 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386 13 com.apple.HIToolbox 0x98b544f0 SendEventToEventTargetWithOptions + 94 14 com.apple.HIToolbox 0x98b6e3c4 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 458 15 com.apple.HIToolbox 0x98c30e7e HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned long, HIView*, CGContext*, unsigned char, float) + 784 16 com.apple.HIToolbox 0x98c3111a HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned long, HIView*, CGContext*, unsigned char, float) + 1452 17 com.apple.HIToolbox 0x98c3111a HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned long, HIView*, CGContext*, unsigned char, float) + 1452 18 com.apple.HIToolbox 0x98c30364 HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*) + 890 19 com.apple.HIToolbox 0x98c30134 HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*) + 330 20 com.apple.HIToolbox 0x98c2ff9e HIView::Draw(short, OpaqueGrafPtr*, unsigned long) + 84 21 com.apple.HIToolbox 0x98c250e9 HIViewRender + 86 22 com.runrev.livecode 0x0013a2a9 MCStack::view_platform_updatewindow(__MCRegion*) + 121 23 com.runrev.livecode 0x001ff36f MCStack::view_updatewindow() + 31 24 com.runrev.livecode 0x001ff3aa MCStack::view_apply_updates() + 42 25 com.runrev.livecode 0x00188bb4 MCStack::applyupdates() + 52 26 com.runrev.livecode 0x001d0f88 MCRedrawDoUpdateScreen() + 104 27 com.runrev.livecode 0x000eef65 MCIf::exec(MCExecPoint&) + 565 28 com.runrev.livecode 0x000d3135 MCHandler::exec(MCExecPoint&, MCParameter*) + 437 29 com.runrev.livecode 0x0010a952 MCObject::exechandler(MCHandler*, MCParameter*) + 290 30 com.runrev.livecode 0x0010ae20 MCObject::handleself(Handler_type, MCName*, MCParameter*) + 368 31 com.runrev.livecode 0x0010ae65 MCObject::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 53 32 com.runrev.livecode 0x0019f3b8 MCU_dofrontscripts(Handler_type, MCName*, MCParameter*) + 136 33 com.runrev.livecode 0x00108009 MCObject::message(MCName*, MCParameter*, unsigned char, unsigned char, unsigned char) + 521 34 com.runrev.livecode 0x00108809 MCObject::message_with_args(MCName*, int) + 121 35 com.runrev.livecode 0x00081d42 MCField::vscroll(int, unsigned char) + 258 36 com.runrev.livecode 0x0007ff76 MCField::readscrollbars() + 102 37 com.runrev.livecode 0x00068585 MCControl::sbfocus(short, short, MCScrollbar*, MCScrollbar*) + 117 38 com.runrev.livecode 0x000811ef MCField::mfocus(short, short) + 191 39 com.runrev.livecode 0x0002332e MCCard::mfocus(short, short) + 686 40 com.runrev.livecode 0x0017f739 MCStack::mfocus(short, short) + 153 41 com.runrev.livecode 0x000726ec MCDispatch::wmfocus_stack(MCStack*, short, short) + 140 42 com.runrev.livecode 0x0011dc80 MCScreenDC::mfocus(EventRecord*, Point, unsigned char, bool) + 688 43 com.runrev.livecode 0x0011f06d MCScreenDC::dispatchevent(EventRecord&, unsigned char, unsigned char&, unsigned char&) + 3693 44 com.runrev.livecode 0x0011fd3b MCScreenDC::handle(double, unsigned char, unsigned char, unsigned char&, unsigned char&) + 667 45 com.runrev.livecode 0x0011c853 MCScreenDC::wait(double, unsigned char, unsigned char) + 387 46 com.runrev.livecode 0x001cb588 X_main_loop_iteration() + 104 47 com.runrev.livecode 0x001cc2c1 X_main_loop() + 97 48 com.runrev.livecode 0x001cc451 main + 353 49 com.runrev.livecode 0x000024fa start + 54 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x97424992 kevent64 + 10 1 libdispatch.dylib 0x940748ad _dispatch_mgr_invoke + 238 2 libdispatch.dylib 0x94074546 _dispatch_mgr_thread + 52 Thread 2: 0 libsystem_kernel.dylib 0x97424046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x97b93dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x97b97cce start_wqthread + 30 Thread 3: 0 libsystem_kernel.dylib 0x97424046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x97b93dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x97b97cce start_wqthread + 30 Thread 4: 0 libsystem_kernel.dylib 0x97424046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x97b93dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x97b97cce start_wqthread + 30 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x00000000 ecx: 0x00000000 edx: 0xffffffff edi: 0xffff7e2a esi: 0x0865da20 ebp: 0xbfffe388 esp: 0xbfffe330 ss: 0x00000023 efl: 0x00010216 eip: 0x00088e8e cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x00000000 Logical CPU: 0 Error Code: 0x00000004 Trap Number: 14 On 25 Mar 2014, at 09:32, BNig wrote: > Hi Scott, > > I don't know of an easy way to set alternating colors. > > I have put up a stack on Livecodeshare that makes a backgroundpattern on the > fly. > > http://livecodeshare.runrev.com/stack/661/ListStripes_0_0_5 > > You can change the colors and the size according to the textHeight etc. > > Only drawback ist that the topmargin has to be 4 since that is necessary for > the backgroundpattern to work. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp4677501p4677505.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 rolf.kocherhans at id.uzh.ch Tue Mar 25 08:16:39 2014 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Tue, 25 Mar 2014 13:16:39 +0100 Subject: LiveCode 6.6 very slow on Retina MacBookPro Message-ID: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> Hello all I noticed that LiveCode 6.6 is very slow on MacBooks with Retina display on everything I do with it. My latest project-stack has a size of 500kb with about 10 bg buttons on it and 3 bg fields. When I click onto a button to edit the script in 6.6 on Retina MacBook, I can count to two until the script editor opens, everything is very, very slow ! At work, with a new iMac (late 2013), this is not the case, the script editor shows up almost instantly. I first thought that it might be that one, or all of my plugins could be responsible for this, but nada. I removed all plugins and I experience the same slow speed with LC 6.6 . After I noticed this, I repeated my tests with LiveCode 6.5.2 and I found that 6.5.2 has the same speed on both Mac's. To be sure that this is real I wanted to ask you to verify this. I created two apps, one created with 6.5.2 and one with 6.6. They contain only a background and now other controls. https://dl.dropboxusercontent.com/u/616613/Created%20with%20LiveCode%206.5.2.zip https://dl.dropboxusercontent.com/u/616613/Created%20with%20LiveCode%206.6.zip If you open them side by side and enlarge the window at the bottom right then you can see that the behavior on an iMac or any Mac with no Retina display is very similar. On a MacBook Pro with Retina Display the window from the 6.6 version ?jumps? and does not enlarge smoothly. This is just one example to show the slow performance of LC 6.6 on OSX. For me LC 6.6 does not feel good at all on a MacBook with Retina display. Others ? Cheers Rolf PS: Both systems where running the latest OSX with all updates. From bernd.niggemann at uni-wh.de Tue Mar 25 09:00:41 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 25 Mar 2014 06:00:41 -0700 (PDT) Subject: Alternating Row Colors? In-Reply-To: <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> Message-ID: <1395752441338-4677509.post@n4.nabble.com> Hi Terence, Terence Heaford wrote > I am interested in your solution and downloaded it. > > On running on a Mac 10.9.2 and LC Community 6.6 it crashes after I press > fill in 365 and start using the scroller. I have no idea what happens. I don't see any reason for it, have never seens this. I did not test on Mac 10.9.2. It works in LiveCode 6.6, in Lc 7.0DP1 "horizontal lines" does not work as expected since it is not a solid line (hgrid) Could anybody please also test on MacOSX 10.9.2? http://livecodeshare.runrev.com/stack/661/ListStripes_0_0_5 I would certainly be interested in hearing about crashes. Terence, could you test on an earlier version of LiveCode? Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp4677501p4677509.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Tue Mar 25 09:11:28 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 25 Mar 2014 09:11:28 -0400 Subject: LiveCode 6.6 very slow on Retina MacBookPro In-Reply-To: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> Message-ID: On Tue, Mar 25, 2014 at 8:16 AM, Rolf Kocherhans wrote: > I noticed that LiveCode 6.6 is very slow on MacBooks with Retina display on > everything I do with it. > retina = a lot more pixels Take a look at this blog post from Mark Waddingham which provides some background and the solution that is being worked on: http://livecode.com/blog/2014/03/18/hi-speed-hidpi/ -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From t.heaford at btinternet.com Tue Mar 25 09:28:47 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 25 Mar 2014 13:28:47 +0000 Subject: Alternating Row Colors? In-Reply-To: <1395752441338-4677509.post@n4.nabble.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> Message-ID: Tested a little more and if I makeBackgroundPattern first it does not crash. It only crashes if I fill in 365 days and then scroll WITHOUT makeBackgroundPattern (just to clarify). Will download earlier version of LC and report back All the best Terry On 25 Mar 2014, at 13:00, BNig wrote: > Hi Terence, > > > Terence Heaford wrote >> I am interested in your solution and downloaded it. >> >> On running on a Mac 10.9.2 and LC Community 6.6 it crashes after I press >> fill in 365 and start using the scroller. > > I have no idea what happens. I don't see any reason for it, have never seens > this. I did not test on Mac 10.9.2. It works in LiveCode 6.6, in Lc 7.0DP1 > "horizontal lines" does not work as expected since it is not a solid line > (hgrid) > > Could anybody please also test on MacOSX 10.9.2? > http://livecodeshare.runrev.com/stack/661/ListStripes_0_0_5 > > I would certainly be interested in hearing about crashes. > > Terence, could you test on an earlier version of LiveCode? > > Kind regards > Bernd > From t.heaford at btinternet.com Tue Mar 25 09:44:56 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 25 Mar 2014 13:44:56 +0000 Subject: Alternating Row Colors? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> Message-ID: <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> I can confirm the following: 1. Crashed 6.6.0 2. Crashed 6.5.2 3. Unable to get it to crash 6.1.3 All on Mac running 10.9.2 Hope this helps. All the best Terry On 25 Mar 2014, at 13:28, Terence Heaford wrote: > > > Will download earlier version of LC and report back > From rolf.kocherhans at id.uzh.ch Tue Mar 25 09:55:36 2014 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Tue, 25 Mar 2014 14:55:36 +0100 Subject: LiveCode 6.6 very slow on Retina MacBookPro In-Reply-To: <30E96316-0CB8-4330-8B4D-7B92D01668D9@id.uzh.ch> References: <30E96316-0CB8-4330-8B4D-7B92D01668D9@id.uzh.ch> Message-ID: <7248A8BC-6864-4FAB-B2C8-A3DE26BF725F@id.uzh.ch> @Trevor Thanks for pointing me and others to this great article from Mark ! > Take a look at this blog post from Mark Waddingham which provides some > background and the solution that is being worked on: > > http://livecode.com/blog/2014/03/18/hi-speed-hidpi/ > > -- > Trevor DeVore As it stands now - working with LC 6.6 on a Retina MacBook is no fun ! I am really looking forward to get some more "Horse Power" from future versions of LiveCode :-) ! Cheers Rolf From bernd.niggemann at uni-wh.de Tue Mar 25 10:15:24 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 25 Mar 2014 07:15:24 -0700 (PDT) Subject: Alternating Row Colors? In-Reply-To: <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> Message-ID: <1395756924992-4677513.post@n4.nabble.com> Thanks Terence, this must be an OSX 10.9.2 thing. All versions of Livecode you mention work with or without backgroundPattern without problems on other versions of MacOSX. Still soliciting confirmatory reports. So I am a bit at loss what to do about it. KInd regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp4677501p4677513.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Tue Mar 25 10:17:38 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 25 Mar 2014 14:17:38 +0000 Subject: LiveCode 6.6 very slow on Retina MacBookPro In-Reply-To: References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> Message-ID: Just read this out of interest and noted: "However, that being said, my current experiments indicate that around a two-fold increase in rendering speed should be attainable for large and reasonably graphically complex stacks (lots of bitmap effects and gradients) which should certainly help to mitigate jump from normal to Retina resolution? This is when compared to a 4 fold decrease due to the increase in pixels of a retina display. Overall does this actually mean a 2 fold decrease in rendering speed when comparing a retina screen to a conventional? Thanks Terry On 25 Mar 2014, at 13:11, Trevor DeVore wrote: > http://livecode.com/blog/2014/03/18/hi-speed-hidpi/ From heather at runrev.com Tue Mar 25 10:30:47 2014 From: heather at runrev.com (Heather Laine) Date: Tue, 25 Mar 2014 14:30:47 +0000 Subject: Livecode membership In-Reply-To: References: <532F2397.6050809@researchware.com> Message-ID: The LiveCode Membership offers a number of things: A livecode.org email address Full Academy subscription for a year (worth $199) The ability to submit free, closed source apps, to the iOS app store A quarterly webinar with The Management and last but not least, a forum badge to show your support. For more details go here: http://livecode.com/membership/ and if you have any questions, you know where to find me... support at runrev.com :) Regards, Heather On 24 Mar 2014, at 17:45, prothero at earthednet.org wrote: > I'm wondering what this offers that the full commercial license doesn't. I'm learning a lot about livecode and have a commercial license, and I figure the "Academies" will still be available to me. > > It seems this "membership" is targeted at the users of the opensource version of livecode. Am I correct? > Best, > Bill > > prothero at earthednet.org > 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 Heather Laine Customer Services Manager http://www.livecode.com/ From scott at tactilemedia.com Tue Mar 25 11:45:44 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 25 Mar 2014 08:45:44 -0700 Subject: Alternating Row Colors? In-Reply-To: <1395739950182-4677505.post@n4.nabble.com> References: <1395739950182-4677505.post@n4.nabble.com> Message-ID: Hi Bernd: I also found your solution (similar to one from Trevor DeVore from several years ago) which is my alternate option. :-) I was hoping to avoid using an image if possible. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/25/14 2:32 AM, "BNig" wrote: >Hi Scott, > >I don't know of an easy way to set alternating colors. > >I have put up a stack on Livecodeshare that makes a backgroundpattern on >the >fly. > >http://livecodeshare.runrev.com/stack/661/ListStripes_0_0_5 > >You can change the colors and the size according to the textHeight etc. > >Only drawback ist that the topmargin has to be 4 since that is necessary >for >the backgroundpattern to work. > >Kind regards >Bernd > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp46 >77501p4677505.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 rdimola at evergreeninfo.net Tue Mar 25 11:49:59 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Mar 2014 11:49:59 -0400 Subject: Livecode membership In-Reply-To: References: <532F2397.6050809@researchware.com> Message-ID: <00ff01cf4841$e0e40df0$a2ac29d0$@net> Heather, I've sent 2 emails to your 'heather at runrev.com' email on 3/7 and 3/24 about RR14. Did you get them? 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 Heather Laine Sent: Tuesday, March 25, 2014 10:31 AM To: How to use LiveCode Subject: Re: Livecode membership The LiveCode Membership offers a number of things: A livecode.org email address Full Academy subscription for a year (worth $199) The ability to submit free, closed source apps, to the iOS app store A quarterly webinar with The Management and last but not least, a forum badge to show your support. For more details go here: http://livecode.com/membership/ and if you have any questions, you know where to find me... support at runrev.com :) Regards, Heather On 24 Mar 2014, at 17:45, prothero at earthednet.org wrote: > I'm wondering what this offers that the full commercial license doesn't. I'm learning a lot about livecode and have a commercial license, and I figure the "Academies" will still be available to me. > > It seems this "membership" is targeted at the users of the opensource version of livecode. Am I correct? > Best, > Bill > > prothero at earthednet.org > 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 Heather Laine Customer Services Manager http://www.livecode.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 Tue Mar 25 12:03:43 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 25 Mar 2014 16:03:43 +0000 Subject: mobile ads In-Reply-To: <1395737115491-4677503.post@n4.nabble.com> References: , <1395737115491-4677503.post@n4.nabble.com> Message-ID: Has anybody ever got inneractive to work ? > > Hi Rodney > > Hope you're enjoying your LiveCode learning curve (I found it quite hard at > first - but I'm a slow learner). Regarding access to Inneractive, I'm not > sure whether you have to have a commercial licence to get it - but I have a > feeling that you might - I've just had a look at its terms and conditions > and it's silent on the matter. > > Do you have commercial or community licence? If nobody on the mailing list > can help I would contact RunRev directly and ask for guidance (they're very > helpful). > > Kind regards - Dave From pradeep.saxena at pacbell.net Tue Mar 25 12:07:38 2014 From: pradeep.saxena at pacbell.net (Pradeep Saxena) Date: Tue, 25 Mar 2014 09:07:38 -0700 (PDT) Subject: Livecode membership In-Reply-To: <00ff01cf4841$e0e40df0$a2ac29d0$@net> References: <532F2397.6050809@researchware.com> <00ff01cf4841$e0e40df0$a2ac29d0$@net> Message-ID: <1395763658.18933.YahooMailNeo@web185001.mail.gq1.yahoo.com> Do I get live code membership with the commercial $499 license (I am specifically referring to the special $499 all inclusive offer)? Pradeep ________________________________ From: Ralph DiMola To: 'How to use LiveCode' Sent: Tuesday, March 25, 2014 8:49 AM Subject: RE: Livecode membership Heather, I've sent 2 emails to your 'heather at runrev.com' email on 3/7 and 3/24 about RR14. Did you get them? 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 Heather Laine Sent: Tuesday, March 25, 2014 10:31 AM To: How to use LiveCode Subject: Re: Livecode membership The LiveCode Membership offers a number of things: A livecode.org email address Full Academy subscription for a year (worth $199) The ability to submit free, closed source apps, to the iOS app store A quarterly webinar with The Management and last but not least, a forum badge to show your support. For more details go here: http://livecode.com/membership/ and if you have any questions, you know where to find me... support at runrev.com :) Regards, Heather On 24 Mar 2014, at 17:45, prothero at earthednet.org wrote: > I'm wondering what this offers that the full commercial license doesn't. I'm learning a lot about livecode and have a commercial license, and I figure the "Academies" will still be available to me. > > It seems this "membership" is targeted at the users of the opensource version of livecode. Am I correct? > Best, > Bill > > prothero at earthednet.org > 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 Heather Laine Customer Services Manager http://www.livecode.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 ray at linkit.com Tue Mar 25 12:44:49 2014 From: ray at linkit.com (Ray) Date: Tue, 25 Mar 2014 12:44:49 -0400 Subject: Can't Associate Files with 6.6 In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> Message-ID: <5331B281.8010408@LinkIt.Com> I thought I saw some problems on the list a few days ago with 6.6 so I'm not sure whether this is a repeat or not. I've just installed 6.6.0 and can not associate Livesocde stacks with it. Even after uninstalling 6.5.2 I get hung when choosing Livecode 6.6.0 via the properties window as the 'open with' for a stack. I'm using Windows 8.1 Thanks, Ray From bernd.niggemann at uni-wh.de Tue Mar 25 13:36:15 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 25 Mar 2014 10:36:15 -0700 (PDT) Subject: Alternating Row Colors? In-Reply-To: <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> Message-ID: <1395768975785-4677522.post@n4.nabble.com> Hi Terence, trying repeatedly to scroll the field "fList" without setting a backgroundPattern I finally saw a crash. If you open the stack and before doing anything issue from the message box: ----------------- set the backgroundPattern of field "fList" to "" ----------------- there should be no more crashes. I admit that I did not test the stack extensively without an explicit backgroundPattern, but it seems a missing image might be the culprit. Would you be kind enough to test this? Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp4677501p4677522.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Tue Mar 25 14:26:10 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 25 Mar 2014 18:26:10 +0000 Subject: Alternating Row Colors? In-Reply-To: <1395768975785-4677522.post@n4.nabble.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> Message-ID: Hi Bernd, This seems to cure the problem. All the best Terry On 25 Mar 2014, at 17:36, BNig wrote: > Hi Terence, > > trying repeatedly to scroll the field "fList" without setting a > backgroundPattern I finally saw a crash. > > If you open the stack and before doing anything issue from the message box: > > ----------------- > set the backgroundPattern of field "fList" to "" > ----------------- > > there should be no more crashes. > > I admit that I did not test the stack extensively without an explicit > backgroundPattern, but it seems a missing image might be the culprit. > > Would you be kind enough to test this? > > Kind regards > Bernd > From prothero at earthednet.org Tue Mar 25 14:38:46 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 25 Mar 2014 11:38:46 -0700 Subject: iOS dev on older Mac? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> Message-ID: <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> Folks: I have a Mac that is old enough so that the latest version of OSX it can run is 10.7. The latest version of Xcode (5.1) won't run on this OS. Will it be possible, or practical to make iOS apps using an older version of Xcode, or will the support tools, require the latest Xcode too? I'm asking this in order to decide whether I'm going to have to get a new computer if I want to do iOS and App development that requires Xcode. Tnx, Bill prothero at earthednet.org http://es.earthednet.org From bernd.niggemann at uni-wh.de Tue Mar 25 14:38:30 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 25 Mar 2014 11:38:30 -0700 (PDT) Subject: Alternating Row Colors? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> Message-ID: <1395772710379-4677524.post@n4.nabble.com> Hi Terry, thank you for finding and testing. I guess I will file a bug report. Although it is probably not a good idea to have a missing image for the backgroundPattern Livecode should not crash. And I will update the stack on LivecodeShare. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternating-Row-Colors-tp4677501p4677524.html Sent from the Revolution - User mailing list archive at Nabble.com. From green.rodney at gmail.com Tue Mar 25 17:01:10 2014 From: green.rodney at gmail.com (Rodney Green) Date: Tue, 25 Mar 2014 17:01:10 -0400 Subject: mobile ads In-Reply-To: References: <1395737115491-4677503.post@n4.nabble.com> Message-ID: I got an ID key from inneractive and tried using it with the mobileAdRegister command but I get an error message saying that it can't find handler. Not sure how to proceed. The command takes only the ID key. Anyone else get past this? On Tue, Mar 25, 2014 at 12:03 PM, John Dixon wrote: > Has anybody ever got inneractive to work ? > > > > > Hi Rodney > > > > Hope you're enjoying your LiveCode learning curve (I found it quite hard > at > > first - but I'm a slow learner). Regarding access to Inneractive, I'm not > > sure whether you have to have a commercial licence to get it - but I > have a > > feeling that you might - I've just had a look at its terms and conditions > > and it's silent on the matter. > > > > Do you have commercial or community licence? If nobody on the mailing > list > > can help I would contact RunRev directly and ask for guidance (they're > very > > helpful). > > > > Kind regards - Dave > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Mar 25 17:15:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 16:15:55 -0500 Subject: mobile ads In-Reply-To: References: <1395737115491-4677503.post@n4.nabble.com> Message-ID: <5331F20B.9010301@hyperactivesw.com> On 3/25/14, 4:01 PM, Rodney Green wrote: > I got an ID key from inneractive and tried using it with the > mobileAdRegister command but I get an error message saying that it can't > find handler. Not sure how to proceed. The command takes only the ID key. > Anyone else get past this? All commands that start with "mobile" will only work in the simulator/emulator or the device. They aren't available in the IDE. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Tue Mar 25 17:19:25 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 25 Mar 2014 21:19:25 +0000 Subject: mobile ads In-Reply-To: <5331F20B.9010301@hyperactivesw.com> References: <1395737115491-4677503.post@n4.nabble.com> , , <5331F20B.9010301@hyperactivesw.com> Message-ID: That's understood, but the question remains... Can anyone point to a working app that employes 'inneractive' through liveCode ? > All commands that start with "mobile" will only work in the > simulator/emulator or the device. They aren't available in the IDE. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 25 17:21:40 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 16:21:40 -0500 Subject: iOS dev on older Mac? In-Reply-To: <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> Message-ID: <5331F364.90606@hyperactivesw.com> On 3/25/14, 1:38 PM, prothero at earthednet.org wrote: > Folks: I have a Mac that is old enough so that the latest version of > OSX it can run is 10.7. The latest version of Xcode (5.1) won't run > on this OS. Will it be possible, or practical to make iOS apps using > an older version of Xcode, or will the support tools, require the > latest Xcode too? You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 requires it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Tue Mar 25 17:26:07 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 25 Mar 2014 14:26:07 -0700 Subject: iOS dev on older Mac? In-Reply-To: <5331F364.90606@hyperactivesw.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> Message-ID: On Tue, Mar 25, 2014 at 2:21 PM, J. Landman Gay wrote: > You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 > requires it. I am really starting to hate Mavericks. I've never seen so many bugs and stupid UI tricks on the Mac. And I'm not even attempting to do iOS stuff right now. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jacque at hyperactivesw.com Tue Mar 25 17:26:36 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 16:26:36 -0500 Subject: mobile ads In-Reply-To: References: <1395737115491-4677503.post@n4.nabble.com> , , <5331F20B.9010301@hyperactivesw.com> Message-ID: <5331F48C.7020308@hyperactivesw.com> On 3/25/14, 4:19 PM, John Dixon wrote: > > That's understood, but the question remains... Can anyone point to a > working app that employes 'inneractive' through liveCode ? Sorry, if I'd paid attention to who I was answering I would have recognized that you already knew about the mobile commands. I know that several developers are using the ads successfully but I can't offhand recall who. I did find this in the forums though, so at least this person got it working: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From neil at runrev.com Tue Mar 25 17:29:08 2014 From: neil at runrev.com (Neil Roger) Date: Tue, 25 Mar 2014 21:29:08 +0000 Subject: mobile ads In-Reply-To: References: <1395737115491-4677503.post@n4.nabble.com> , , <5331F20B.9010301@hyperactivesw.com> Message-ID: <5331F524.9080104@runrev.com> Hi Everyone, There is a working test stack available the following a bug report that has been entered in regards to banner ads on high res Android devices. I have tested this on the iOS simulator and it works as expected. http://quality.runrev.com/show_bug.cgi?id=11510 It is worth noting that inneractive ads will not work on the community version of LiveCode due to open source licencing incompatibilities Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com ?? On 25/03/2014 21:19, John Dixon wrote: > That's understood, but the question remains... Can anyone point to a working app that employes 'inneractive' through liveCode ? > >> All commands that start with "mobile" will only work in the >> simulator/emulator or the device. They aren't available in the IDE. >> >> -- >> 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 dixonja at hotmail.co.uk Tue Mar 25 18:09:47 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 25 Mar 2014 22:09:47 +0000 Subject: mobile ads In-Reply-To: <5331F524.9080104@runrev.com> References: , <1395737115491-4677503.post@n4.nabble.com>, , , , , <5331F20B.9010301@hyperactivesw.com>, , <5331F524.9080104@runrev.com> Message-ID: Ok.. I can see that this example is working in the iOS simulator.. Where does one go to to find what is the value of revenue that is generated by displaying an ad in an app ? > There is a working test stack available the following a bug report that > has been entered in regards to banner ads on high res Android devices. I > have tested this on the iOS simulator and it works as expected. > > http://quality.runrev.com/show_bug.cgi?id=11510 > > It is worth noting that inneractive ads will not work on the community > version of LiveCode due to open source licencing incompatibilities > > Kind Regards, > > Neil Roger From Nakia.Brewer at westrac.com.au Tue Mar 25 18:36:44 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 25 Mar 2014 22:36:44 +0000 Subject: HTTPS Proxy and PAC files Message-ID: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> Hi, I see in the release notes for LC6.6 that HTTPS Through proxy is now supported so I thought I would give it a try. The network I want to test it on runs PAC files for proxy assignment and I can't find anywhere in livecode to set the location of the PAC file. Is it fair for me to assume it doesn't support PAC files yet? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From jacque at hyperactivesw.com Tue Mar 25 18:49:35 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 17:49:35 -0500 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> Message-ID: <533207FF.9050502@hyperactivesw.com> On 3/25/14, 5:36 PM, Nakia Brewer wrote: > Hi, > > I see in the release notes for LC6.6 that HTTPS Through proxy is now > supported so I thought I would give it a try. The network I want to > test it on runs PAC files for proxy assignment and I can't find > anywhere in livecode to set the location of the PAC file. > > Is it fair for me to assume it doesn't support PAC files yet? I asked about that too. It's supposed to find them automatically, you shouldn't need to do anything. I need this capability too but haven't got a good way to test it yet. Please let me know if it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Mar 25 18:55:27 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Mar 2014 18:55:27 -0400 Subject: iOS dev on older Mac? In-Reply-To: <5331F364.90606@hyperactivesw.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> Message-ID: <013b01cf487d$50d6ccc0$f2846640$@net> Jacqueline, I just downloaded Xcode 5.1 yesterday and just read this post. I'm running OX X 10.8.5 and just tried to launch Xcode 5.1 and it seems to launch OK. I have not tried to link up an LC iOS app yet. I will be submitting to the App Store later this week. Will this work or is an upgrade Mavericks required? 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 J. Landman Gay Sent: Tuesday, March 25, 2014 5:22 PM To: How to use LiveCode Subject: Re: iOS dev on older Mac? On 3/25/14, 1:38 PM, prothero at earthednet.org wrote: > Folks: I have a Mac that is old enough so that the latest version of > OSX it can run is 10.7. The latest version of Xcode (5.1) won't run on > this OS. Will it be possible, or practical to make iOS apps using an > older version of Xcode, or will the support tools, require the latest > Xcode too? You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 requires it. -- 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 Nakia.Brewer at westrac.com.au Tue Mar 25 19:25:50 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 25 Mar 2014 23:25:50 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: <533207FF.9050502@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <533207FF.9050502@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A284CACEB4D@MHSEXC02.westrac.com.au> FWIW I have tried even setting the proxy address in the LC prefs (the one PAC file would have assigned) and it still doesn't work. I know the script is good as I can shell It out to curl and everything works fine. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 26 March 2014 9:50 AM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On 3/25/14, 5:36 PM, Nakia Brewer wrote: > Hi, > > I see in the release notes for LC6.6 that HTTPS Through proxy is now > supported so I thought I would give it a try. The network I want to > test it on runs PAC files for proxy assignment and I can't find > anywhere in livecode to set the location of the PAC file. > > Is it fair for me to assume it doesn't support PAC files yet? I asked about that too. It's supposed to find them automatically, you shouldn't need to do anything. I need this capability too but haven't got a good way to test it yet. Please let me know if it works. -- 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From prothero at earthednet.org Tue Mar 25 20:44:42 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 25 Mar 2014 17:44:42 -0700 Subject: Rotated Text? In-Reply-To: <5331B281.8010408@LinkIt.Com> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> Message-ID: <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> Folks: I'm labeling a graph and wonder if it is possible to rotate text. I'd like to rotate it by 90 degrees for a y axis label. Currently, I'm using a text field with no border to show axis labels. It would be nice to rotate text for y axis labels. Bill prothero at earthednet.org http://es.earthednet.org From jacque at hyperactivesw.com Tue Mar 25 21:19:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 20:19:58 -0500 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACEB4D@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <533207FF.9050502@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284CACEB4D@MHSEXC02.westrac.com.au> Message-ID: <53322B3E.8020006@hyperactivesw.com> On 3/25/14, 6:25 PM, Nakia Brewer wrote: > FWIW I have tried even setting the proxy address in the LC prefs (the > one PAC file would have assigned) and it still doesn't work. Could you enter a report in the QCC for us? They'll want a description of the network setup probably, and maybe a test URL. http://quality.runrev.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 25 21:21:48 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 20:21:48 -0500 Subject: iOS dev on older Mac? In-Reply-To: <013b01cf487d$50d6ccc0$f2846640$@net> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> <013b01cf487d$50d6ccc0$f2846640$@net> Message-ID: <53322BAC.7040000@hyperactivesw.com> On 3/25/14, 5:55 PM, Ralph DiMola wrote: > I'm running > OX X 10.8.5 and just tried to launch Xcode 5.1 and it seems to launch OK. I > have not tried to link up an LC iOS app yet. I will be submitting to the App > Store later this week. Will this work or is an upgrade Mavericks required? I don't know, I thought they required each other, but I'm on Mavericks already so I never tried XCode 5 on any other OS. I suppose if it launches it should work, but that's not definitive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Mar 25 21:33:51 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 25 Mar 2014 18:33:51 -0700 Subject: Rotated Text? In-Reply-To: <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> Message-ID: Unless RunRev added something recently to the engine, I believe your only option is to rotate a screencapture of text. The following stack was put together years ago, and likely needs some updating, but still seems to work. In your message box: go url "http://dl.dropbox.com/s/2t147yvpnnynurn/textspinner.rev" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/25/14 5:44 PM, "prothero at earthednet.org" wrote: >Folks: >I'm labeling a graph and wonder if it is possible to rotate text. I'd >like to rotate it by 90 degrees for a y axis label. Currently, I'm using >a text field with no border to show axis labels. It would be nice to >rotate text for y axis labels. >Bill > >prothero at earthednet.org >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 anthonyhowe at me.com Tue Mar 25 19:39:28 2014 From: anthonyhowe at me.com (Anthony Howe) Date: Wed, 26 Mar 2014 10:39:28 +1100 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> Message-ID: <5F114D51-EE4E-43BA-982D-BDC7E1F51562@me.com> I would love to hear an answer to that query too! > On 26 Mar 2014, at 9:36 am, Nakia Brewer wrote: > > Hi, > > I see in the release notes for LC6.6 that HTTPS Through proxy is now supported so I thought I would give it a try. > The network I want to test it on runs PAC files for proxy assignment and I can't find anywhere in livecode to set the location of the PAC file. > > Is it fair for me to assume it doesn't support PAC files yet? > > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 25 22:09:54 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 25 Mar 2014 19:09:54 -0700 Subject: Rotated Text? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> Message-ID: <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> Scott: Ok, that makes sense. I see that images can be rotated, and I plan on finalizing the graph by capturing its image anyway. That should work fine. Great idea that I should have thought of. Thanks, Bill prothero at earthednet.org http://es.earthednet.org On Mar 25, 2014, at 6:33 PM, Scott Rossi wrote: > Unless RunRev added something recently to the engine, I believe your only > option is to rotate a screencapture of text. > > The following stack was put together years ago, and likely needs some > updating, but still seems to work. > In your message box: > > go url "http://dl.dropbox.com/s/2t147yvpnnynurn/textspinner.rev" > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/25/14 5:44 PM, "prothero at earthednet.org" > wrote: > >> Folks: >> I'm labeling a graph and wonder if it is possible to rotate text. I'd >> like to rotate it by 90 degrees for a y axis label. Currently, I'm using >> a text field with no border to show axis labels. It would be nice to >> rotate text for y axis labels. >> Bill >> >> prothero at earthednet.org >> 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 Tue Mar 25 22:17:55 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Tue, 25 Mar 2014 19:17:55 -0700 Subject: Rotated Text? In-Reply-To: <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> Message-ID: <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> Scott: Of course, the problem will be that I don't want the screen to be jumping around while the text is being displayed, then rotated. I assume that the text field needs to appear on the screen for the snapshot to work. Hmm, I'll have to think about whether this is ok. Or, perhaps I can make some pre-defined labels that are generic enough and use them for the axis labels (just thinking aloud). That would work. Best, Bill prothero at earthednet.org http://es.earthednet.org On Mar 25, 2014, at 7:09 PM, prothero at earthednet.org wrote: > Scott: > Ok, that makes sense. I see that images can be rotated, and I plan on finalizing the graph by capturing its image anyway. That should work fine. Great idea that I should have thought of. > Thanks, > Bill > > prothero at earthednet.org > http://es.earthednet.org > > On Mar 25, 2014, at 6:33 PM, Scott Rossi wrote: > >> Unless RunRev added something recently to the engine, I believe your only >> option is to rotate a screencapture of text. >> >> The following stack was put together years ago, and likely needs some >> updating, but still seems to work. >> In your message box: >> >> go url "http://dl.dropbox.com/s/2t147yvpnnynurn/textspinner.rev" >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 3/25/14 5:44 PM, "prothero at earthednet.org" >> wrote: >> >>> Folks: >>> I'm labeling a graph and wonder if it is possible to rotate text. I'd >>> like to rotate it by 90 degrees for a y axis label. Currently, I'm using >>> a text field with no border to show axis labels. It would be nice to >>> rotate text for y axis labels. >>> Bill >>> >>> prothero at earthednet.org >>> 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 scott at tactilemedia.com Tue Mar 25 22:33:29 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 25 Mar 2014 19:33:29 -0700 Subject: Rotated Text? In-Reply-To: <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> Message-ID: <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> You can do all image capturing off-screen, in variables, and using template objects, so you should have no problem with any unwanted visual artifacts. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Mar 25, 2014, at 7:17 PM, "prothero at earthednet.org" wrote: > > Scott: > Of course, the problem will be that I don't want the screen to be jumping around while the text is being displayed, then rotated. I assume that the text field needs to appear on the screen for the snapshot to work. Hmm, I'll have to think about whether this is ok. Or, perhaps I can make some pre-defined labels that are generic enough and use them for the axis labels (just thinking aloud). That would work. > Best, > Bill > > prothero at earthednet.org > http://es.earthednet.org > >> On Mar 25, 2014, at 7:09 PM, prothero at earthednet.org wrote: >> >> Scott: >> Ok, that makes sense. I see that images can be rotated, and I plan on finalizing the graph by capturing its image anyway. That should work fine. Great idea that I should have thought of. >> Thanks, >> Bill >> >> prothero at earthednet.org >> http://es.earthednet.org >> >>> On Mar 25, 2014, at 6:33 PM, Scott Rossi wrote: >>> >>> Unless RunRev added something recently to the engine, I believe your only >>> option is to rotate a screencapture of text. >>> >>> The following stack was put together years ago, and likely needs some >>> updating, but still seems to work. >>> In your message box: >>> >>> go url "http://dl.dropbox.com/s/2t147yvpnnynurn/textspinner.rev" >>> >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 3/25/14 5:44 PM, "prothero at earthednet.org" >>> wrote: >>> >>>> Folks: >>>> I'm labeling a graph and wonder if it is possible to rotate text. I'd >>>> like to rotate it by 90 degrees for a y axis label. Currently, I'm using >>>> a text field with no border to show axis labels. It would be nice to >>>> rotate text for y axis labels. >>>> Bill >>>> >>>> prothero at earthednet.org >>>> 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 Nakia.Brewer at westrac.com.au Wed Mar 26 00:26:16 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 26 Mar 2014 04:26:16 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: <53322B3E.8020006@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <533207FF.9050502@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284CACEB4D@MHSEXC02.westrac.com.au> <53322B3E.8020006@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A284CACEFB4@MHSEXC02.westrac.com.au> Getting a description of the network here at work is like asking NASA for classified information. Best I can is explain my test situation. It would be better if libURL actually produced some better error codes. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 26 March 2014 12:20 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On 3/25/14, 6:25 PM, Nakia Brewer wrote: > FWIW I have tried even setting the proxy address in the LC prefs (the > one PAC file would have assigned) and it still doesn't work. Could you enter a report in the QCC for us? They'll want a description of the network setup probably, and maybe a test URL. http://quality.runrev.com -- 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From jacque at hyperactivesw.com Wed Mar 26 00:49:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Mar 2014 23:49:00 -0500 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACEFB4@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <533207FF.9050502@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284CACEB4D@MHSEXC02.westrac.com.au> <53322B3E.8020006@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284CACEFB4@MHSEXC02.westrac.com.au> Message-ID: <53325C3C.2030002@hyperactivesw.com> On 3/25/14, 11:26 PM, Nakia Brewer wrote: > Getting a description of the network here at work is like asking NASA for classified information. > > Best I can is explain my test situation. > It would be better if libURL actually produced some better error codes. Well, just report what you can and hopefully RR can figure it out. I wonder if they'd be willing to add some error codes or debug logging that we could send back to them. If you could post the bug number I'll add myself to the cc list. I'm about to give my client a test app to try with a network that has a proxy, so maybe I will be able to add some feedback to the report in a few days. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Wed Mar 26 02:03:31 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 26 Mar 2014 14:03:31 +0800 Subject: LiveCode 6.6 very slow on Retina MacBookPro In-Reply-To: References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> Message-ID: On Tue, Mar 25, 2014 at 9:11 PM, Trevor DeVore wrote: > retina = a lot more pixels > > Take a look at this blog post from Mark Waddingham which provides some > background and the solution that is being worked on: > That makes sense but it doesn't add up. I'm on Retina display and never noticed any sluggishness with 6.6. Still I downloaded Rolf's stacks and sure enough when I rapidly adjust the size of the stack the 6.6 stack is jittery in it's adjustment and lags behind the mouse by some distance. But the 6.5 stack behaves nicely on my retina display, so clearly it's possible. The problem to me appears to be 6.6 attempts to apply retina resolution 100% of the time which is just a massive waste of cycles. Look at any individual frame of a movie and for anything moving it's blurry, but a human can't tell that when the movie is played. Whilst I accept that there would be times when a developer needs a stack to be rendered at full resolution 100% of the time, I would imagine for the vast majority of cases, like Rolf's resize stack example, if the stacks were rendered at 6.5 resolution during transit and at 6.6 resolution when static, no one would ever notice the reduction in resolution during these moves. I have a system preference to chose if my graphics run at full speed for faster processing or at a lower speed for better battery life. Seems that LC needs something similar. on mouseUp screenRes low --6.5 behaviour, resets to native (6.6) when script ends - like lock screen handlerToMovesStuff OR on mouseUp lock screen handlerToMoveStuff unlock screen with viual effect "dissolve" and screenRes Low -- don't need the intermediate frames to be full res end mouseUp --screenRes reset to native so engine will complete the render of the now static stack at native res. Give us the scriptable option to apply either. From richmondmathewson at gmail.com Wed Mar 26 02:47:19 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Mar 2014 08:47:19 +0200 Subject: iOS dev on older Mac? In-Reply-To: <5331F364.90606@hyperactivesw.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> Message-ID: <533277F7.6080004@gmail.com> On 03/25/2014 11:21 PM, J. Landman Gay wrote: > On 3/25/14, 1:38 PM, prothero at earthednet.org wrote: >> Folks: I have a Mac that is old enough so that the latest version of >> OSX it can run is 10.7. The latest version of Xcode (5.1) won't run >> on this OS. Will it be possible, or practical to make iOS apps using >> an older version of Xcode, or will the support tools, require the >> latest Xcode too? > > You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 > requires it. > Although your Physical Mac may not work with Mavericks you may find that VMware player will let you run a virtual version on your existing hardware . . . Richmond. From richmondmathewson at gmail.com Wed Mar 26 02:49:14 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Mar 2014 08:49:14 +0200 Subject: iOS dev on older Mac? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> Message-ID: <5332786A.6000906@gmail.com> On 03/25/2014 11:26 PM, stephen barncard wrote: > On Tue, Mar 25, 2014 at 2:21 PM, J. Landman Gay wrote: > >> You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 >> requires it. > > I am really starting to hate Mavericks. I've never seen so many bugs and > stupid UI tricks on the Mac. And I'm not even attempting to do iOS stuff > right now. Well; Steve Jobs is no longer with us, and, whether you liked him or not (personally I didn't), he was "the man", "Mr Apple", the man with the vision; and 'apres moi la deluge'. Richmond. > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode 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 btinternet.com Wed Mar 26 03:31:54 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 26 Mar 2014 07:31:54 +0000 Subject: Rotated Text? In-Reply-To: <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> Message-ID: Hi, I have tried this before in another scripting environment and if you intend to print the graph you may notice a difference in quality between the rendering of the text and the rendering of the image. I don?t know of a solution to this. All the best Terry On 26 Mar 2014, at 02:33, Scott Rossi wrote: > You can do all image capturing off-screen, in variables, and using template objects, so you should have no problem with any unwanted visual artifacts. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Mar 25, 2014, at 7:17 PM, "prothero at earthednet.org" wrote: >> >> Scott: >> Of course, the problem will be that I don't want the screen to be jumping around while the text is being displayed, then rotated. I assume that the text field needs to appear on the screen for the snapshot to work. Hmm, I'll have to think about whether this is ok. Or, perhaps I can make some pre-defined labels that are generic enough and use them for the axis labels (just thinking aloud). That would work. >> Best, >> Bill From richmondmathewson at gmail.com Wed Mar 26 04:35:35 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Mar 2014 10:35:35 +0200 Subject: Rotated Text? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> Message-ID: <53329157.1040001@gmail.com> On 26/03/14 09:31, Terence Heaford wrote: > Hi, > > I have tried this before in another scripting environment and if you intend to print the graph you may notice a difference in quality between the rendering of the text and the rendering of the image. > > I don?t know of a solution to this. The solution [which you will probably not like], is to export the snapshot the textfield and then rotate it in a dedicated image processing application such as GIMP and import the result. Obviously that is NBG if you are trying to do that in a standalone, or for end-users. I should also point out that 'rotate' in Livecode gives extremely crappy results, while 'set the angle' is much better. Richmond. > > All the best > > Terry > > > On 26 Mar 2014, at 02:33, Scott Rossi wrote: > >> You can do all image capturing off-screen, in variables, and using template objects, so you should have no problem with any unwanted visual artifacts. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >>> On Mar 25, 2014, at 7:17 PM, "prothero at earthednet.org" wrote: >>> >>> Scott: >>> Of course, the problem will be that I don't want the screen to be jumping around while the text is being displayed, then rotated. I assume that the text field needs to appear on the screen for the snapshot to work. Hmm, I'll have to think about whether this is ok. Or, perhaps I can make some pre-defined labels that are generic enough and use them for the axis labels (just thinking aloud). That would work. >>> Best, >>> Bill > > _______________________________________________ > use-livecode mailing list > use-livecode 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 neil at runrev.com Wed Mar 26 05:35:47 2014 From: neil at runrev.com (Neil Roger) Date: Wed, 26 Mar 2014 09:35:47 +0000 Subject: LiveCode 6.6 very slow on Retina MacBookPro In-Reply-To: References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> Message-ID: <53329F73.10208@runrev.com> Hi All, Thank you for all of your feedback in regards to LiveCode 6.6 and retina displays. We are aware of the performance hit our retina users are experiencing and are working fast on implementing various optimizations. There is a workaround that you may be interested in that I discovered when testing 6.6. last night and it involves manually selecting the resolution of your display, instead of the default "best for display" or "scaled". The following is a link to the free version of QuickRes that will allow you to do this without you having to poke about with the OS. http://techsupport.on-rev.com/QuickRes.app.zip The app basically brings back the removed functionality of selecting a specific resolution and allows you to select up to the native resolution of a retina display which is 2880x1800 (although this does give you lots of space to work with, all screen items are tiny) Once you set a resolution from this app, you should notice a significant performance increase in 6.6 Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com ?? On 26/03/2014 06:03, Kay C Lan wrote: > On Tue, Mar 25, 2014 at 9:11 PM, Trevor DeVorewrote: > >> retina = a lot more pixels >> >> Take a look at this blog post from Mark Waddingham which provides some >> background and the solution that is being worked on: >> > That makes sense but it doesn't add up. I'm on Retina display and never > noticed any sluggishness with 6.6. Still I downloaded Rolf's stacks and > sure enough when I rapidly adjust the size of the stack the 6.6 stack is > jittery in it's adjustment and lags behind the mouse by some distance. But > the 6.5 stack behaves nicely on my retina display, so clearly it's possible. > > The problem to me appears to be 6.6 attempts to apply retina resolution > 100% of the time which is just a massive waste of cycles. Look at any > individual frame of a movie and for anything moving it's blurry, but a > human can't tell that when the movie is played. > > Whilst I accept that there would be times when a developer needs a stack to > be rendered at full resolution 100% of the time, I would imagine for the > vast majority of cases, like Rolf's resize stack example, if the stacks > were rendered at 6.5 resolution during transit and at 6.6 resolution when > static, no one would ever notice the reduction in resolution during these > moves. > > I have a system preference to chose if my graphics run at full speed for > faster processing or at a lower speed for better battery life. Seems that > LC needs something similar. > > on mouseUp > screenRes low --6.5 behaviour, resets to native (6.6) when script ends - > like lock screen > handlerToMovesStuff > > OR > > on mouseUp > lock screen > handlerToMoveStuff > unlock screen with viual effect "dissolve" and screenRes Low > -- don't need the intermediate frames to be full res > end mouseUp > --screenRes reset to native so engine will complete the render of the now > static stack at native res. > > Give us the scriptable option to apply either. > _______________________________________________ > use-livecode mailing list > use-livecode 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 lan.kc.macmail at gmail.com Wed Mar 26 06:00:01 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 26 Mar 2014 18:00:01 +0800 Subject: LiveCode 6.6 very slow on Retina MacBookPro In-Reply-To: <53329F73.10208@runrev.com> References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> <53329F73.10208@runrev.com> Message-ID: On Wed, Mar 26, 2014 at 5:35 PM, Neil Roger wrote: > Once you set a resolution from this app, you should notice a significant > performance increase in 6.6 > Brilliant! Rolf's stack now tracks very smoothly AND I get even more screen real estate. Seems like you are definitely on the right track. Thanks for sharing. From jacques.clavel at gmail.com Wed Mar 26 07:04:14 2014 From: jacques.clavel at gmail.com (jacques CLAVEL) Date: Wed, 26 Mar 2014 12:04:14 +0100 Subject: iOS dev on older Mac? In-Reply-To: <5332786A.6000906@gmail.com> References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> <5332786A.6000906@gmail.com> Message-ID: Richmond, "Apr?s moi le d?luge". Jacques Clavel 2014-03-26 7:49 GMT+01:00 Richmond : > > On 03/25/2014 11:26 PM, stephen barncard wrote: > >> On Tue, Mar 25, 2014 at 2:21 PM, J. Landman Gay > >wrote: >> >> You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 >>> requires it. >>> >> >> I am really starting to hate Mavericks. I've never seen so many bugs and >> stupid UI tricks on the Mac. And I'm not even attempting to do iOS stuff >> right now. >> > > Well; Steve Jobs is no longer with us, and, whether you liked him or not > (personally I didn't), > he was "the man", "Mr Apple", the man with the vision; and 'apres moi la > deluge'. > > Richmond. > > > *--* >> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > -- Jacques Clavel From lists at mangomultimedia.com Wed Mar 26 08:29:22 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 26 Mar 2014 08:29:22 -0400 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> Message-ID: On Tue, Mar 25, 2014 at 6:36 PM, Nakia Brewer wrote: > > I see in the release notes for LC6.6 that HTTPS Through proxy is now > supported so I thought I would give it a try. > > The network I want to test it on runs PAC files for proxy assignment and I > can't find anywhere in livecode to set the location of the PAC file. > It looks like LiveCode is supposed to handle PAC files. If you look at the script of the revLibURL button of the revLibrary stack you will find that httpproxyforURL is now used to resolve the proxy for each url that is loaded. httpproxyforURL uses a PAC file to determine the proxy for a given URL. What I don't see in the script is where httpproxyforURL is initialized. If you pass in a 3rd parameter to httpproxyforURL with the PAC file contents then all subsequent calls to httpproxyforURL will use the same PAC file to resolve the proxy server for the given URL. It may be that the engine itself locates the PAC file and initialization is done in the engine. > Is it fair for me to assume it doesn't support PAC files yet? That depends. How is your computer configured to locate the PAC file? Is the path to the PAC file hardcoded or does your network use WPAD detection? On Windows, WPAD detection is done when the connection proxy settings are set to "Automatically detect settings". It could be that LiveCode will automatically initialize a PAC file if the OS is configured with a PAC file URL but that it doesn't support WPAD detection. If your computer has a hardcoded PAC file and LiveCode isn't picking it up then I think that would be a bug. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From richmondmathewson at gmail.com Wed Mar 26 10:08:11 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Mar 2014 16:08:11 +0200 Subject: iOS dev on older Mac? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <1A6365B9-B456-4BF9-9547-609AFC83B70D@btinternet.com> <1395752441338-4677509.post@n4.nabble.com> <30307CE2-C693-47E9-BB0B-FE6B7426642C@btinternet.com> <1395768975785-4677522.post@n4.nabble.com> <0584CDC4-978B-4EE5-9CF5-1D50991CF3B7@earthednet.org> <5331F364.90606@hyperactivesw.com> <5332786A.6000906@gmail.com> Message-ID: <5332DF4B.1080209@gmail.com> On 26/03/14 13:04, jacques CLAVEL wrote: > Richmond, > > "Apr?s moi le d?luge". > > Jacques Clavel Thank you very much indeed for correcting my bad French. Richmond. > > > 2014-03-26 7:49 GMT+01:00 Richmond : > >> On 03/25/2014 11:26 PM, stephen barncard wrote: >> >>> On Tue, Mar 25, 2014 at 2:21 PM, J. Landman Gay >>> wrote: >>> You'll need Mavericks and XCode 5.1 to submit to the App Store. iOS 7 >>>> requires it. >>>> >>> I am really starting to hate Mavericks. I've never seen so many bugs and >>> stupid UI tricks on the Mac. And I'm not even attempting to do iOS stuff >>> right now. >>> >> Well; Steve Jobs is no longer with us, and, whether you liked him or not >> (personally I didn't), >> he was "the man", "Mr Apple", the man with the vision; and 'apres moi la >> deluge'. >> >> Richmond. >> >> >> *--* >>> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 neil at runrev.com Wed Mar 26 10:35:52 2014 From: neil at runrev.com (Neil Roger) Date: Wed, 26 Mar 2014 14:35:52 +0000 Subject: mobile ads In-Reply-To: References: , <1395737115491-4677503.post@n4.nabble.com>, , , , , <5331F20B.9010301@hyperactivesw.com>, , <5331F524.9080104@runrev.com> Message-ID: <5332E5C8.4080905@runrev.com> Hi John, If you are looking to see the specific revenue for an inneractive ad that you have placed in your application then you will be able to use the inneractive advertising dashboard, that is part of your LiveCode store account, for this purpose. If you are looking for more specifics on the revenue to expect from an ad, then I would recommend contacting inneractive directly as they should be able to give you more information on this- http://inner-active.com/about#contact Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com ?? More specifics on the actual revenue On 25/03/2014 22:09, John Dixon wrote: > Ok.. I can see that this example is working in the iOS simulator.. Where does one go to to find what is the value of revenue that is generated by displaying an ad in an app ? > >> There is a working test stack available the following a bug report that >> has been entered in regards to banner ads on high res Android devices. I >> have tested this on the iOS simulator and it works as expected. >> >> http://quality.runrev.com/show_bug.cgi?id=11510 >> >> It is worth noting that inneractive ads will not work on the community >> version of LiveCode due to open source licencing incompatibilities >> >> Kind Regards, >> >> Neil 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 gcanyon at gmail.com Wed Mar 26 11:37:07 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 26 Mar 2014 10:37:07 -0500 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: <532C8884.9080709@pair.com> References: <532C8884.9080709@pair.com> Message-ID: Sorry for the delayed response. My point wasn't to start an Apple vs. MS war, it was simply to illustrate a clear ill that plagues MS non-stop: overwhelming backwards compatibility. Specifically: "somebody, somewhere, might be depending on the fact that it interprets the number modulo 256" My point is that we will *all* suffer with poor, confusing syntax, *forever*, so that hypothetical person doesn't have to fix their use of numToChar. One of the main advantages of Livecode is the natural syntax. Sacrificing that to backwards compatibility is a poor trade-off. gc On Fri, Mar 21, 2014 at 1:44 PM, Curry Kenworthy wrote: > > Fraser wrote: > >> That's the reason behind most of the functions we've marked as deprecated >>> in 7.0 - upgrading them to support Unicode would break existing stacks in >>> subtle ways >>> >> > Geoff wrote: > >> That's the Microsoft way to handle this. The Apple way would simply >> be to do the right thing -- if you want to be nice, issue a note that >> backwards compatibility is being broken and specify how and the >> reasons. >> > > ... and the Apple way is also to completely change what's the "right > thing" while breaking not only compatibility but often their own rules too. > And that actually seems to keep the fans happy; to each his own. With LC I > consider both Win and Mac to be a normal and inevitable part of life. Both > are far from perfect. > > But that's beside the point, which is: I believe RunRev truly did the > right thing in considering both compatibility and future features in this > release. It was just that - considerate, for all users and for all goals. > Good job RunRev! Thanks again. > > Best wishes, > > Curry K. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 26 12:58:33 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 26 Mar 2014 09:58:33 -0700 Subject: Rotated Text? In-Reply-To: <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> Message-ID: <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> Scott: I'm not sure how to approach this. Should I use a separate, offscreen window to put the field in, and to get the snapshot? Also, is it possible to create the image with the background transparent, so I can put the image where I want and see only the text? Bill prothero at earthednet.org http://es.earthednet.org On Mar 25, 2014, at 7:33 PM, Scott Rossi wrote: > You can do all image capturing off-screen, in variables, and using template objects, so you should have no problem with any unwanted visual artifacts. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Mar 25, 2014, at 7:17 PM, "prothero at earthednet.org" wrote: >> >> Scott: >> Of course, the problem will be that I don't want the screen to be jumping around while the text is being displayed, then rotated. I assume that the text field needs to appear on the screen for the snapshot to work. Hmm, I'll have to think about whether this is ok. Or, perhaps I can make some pre-defined labels that are generic enough and use them for the axis labels (just thinking aloud). That would work. >> Best, >> Bill >> >> prothero at earthednet.org >> http://es.earthednet.org >> >>> On Mar 25, 2014, at 7:09 PM, prothero at earthednet.org wrote: >>> >>> Scott: >>> Ok, that makes sense. I see that images can be rotated, and I plan on finalizing the graph by capturing its image anyway. That should work fine. Great idea that I should have thought of. >>> Thanks, >>> Bill >>> >>> prothero at earthednet.org >>> http://es.earthednet.org >>> >>>> On Mar 25, 2014, at 6:33 PM, Scott Rossi wrote: >>>> >>>> Unless RunRev added something recently to the engine, I believe your only >>>> option is to rotate a screencapture of text. >>>> >>>> The following stack was put together years ago, and likely needs some >>>> updating, but still seems to work. >>>> In your message box: >>>> >>>> go url "http://dl.dropbox.com/s/2t147yvpnnynurn/textspinner.rev" >>>> >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>>> >>>> On 3/25/14 5:44 PM, "prothero at earthednet.org" >>>> wrote: >>>> >>>>> Folks: >>>>> I'm labeling a graph and wonder if it is possible to rotate text. I'd >>>>> like to rotate it by 90 degrees for a y axis label. Currently, I'm using >>>>> a text field with no border to show axis labels. It would be nice to >>>>> rotate text for y axis labels. >>>>> Bill >>>>> >>>>> prothero at earthednet.org >>>>> 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 fraser.gordon at runrev.com Wed Mar 26 13:03:08 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 26 Mar 2014 17:03:08 +0000 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <532C8884.9080709@pair.com> Message-ID: On 26 Mar 2014, at 15:37, Geoff Canyon wrote: > > "somebody, somewhere, might be depending on the fact that it interprets the > number modulo 256" We've already had a bug report against 7.0 because it wasn't doing that in certain cases. The problem with making non-compatible changes to existing APIs is that changing things to work against the new API isn't a one-time cost. If you take LiveCode itself as an example, there are a number of run-time checks where things are done differently depending on the operating system version because something broke when a new version of the OS was released. Sometimes, we are lucky and the fix works on old versions too but (more often) it doesn't so both code paths have to remain until support is dropped for the older version. > > My point is that we will *all* suffer with poor, confusing syntax, > *forever*, so that hypothetical person doesn't have to fix their use of > numToChar. Backwards compatibility in LiveCode only needs to be sustained until Open Language: at that point, the core language will be cleaned up so that these legacy issues can be forgotten (though the old language will hang around as a backwards-compatibility mode for existing scripts but can be ignored when writing new scripts). > > One of the main advantages of Livecode is the natural syntax. Sacrificing > that to backwards compatibility is a poor trade-off. > I agree that clean syntax is better but there are limits to what we can do - it can be very discouraging when you upgrade to the latest-and-greatest version of some software and suddenly something doesn't work (I get that feeling when having to switch between the various versions of Xcode that we use!). "numToChar" and "charToNum" are unsound concepts anyway - imagine you have the sequence of Unicode "characters" (really codepoints) {"e", combining-accute} - these will display as a single grapheme "?" which means that in the LiveCode language they are one character. However, there are two codepoints - how do you map that to a single number? This may seem esoteric, but on MacOS X, accented characters in file names are returned in such a form. Either charToNum will have to not match what "char" means in LiveCode or it will have to fail on what is a relatively common occurrence. Thus, doing the wrong, backwards-compatible thing seemed a better choice than doing a new wrong thing. Backwards compatibility is a trade-off and in this case the upsides to breaking something just weren't enough. At least it isn't forever... Regards, Fraser From rjb at robelko.com Wed Mar 26 12:55:49 2014 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 26 Mar 2014 17:55:49 +0100 Subject: set stack rect in startup handler In-Reply-To: <533075C4.3090702@harbourhosting.co.uk> References: <53303F78.7060501@harbourhosting.co.uk> <533070BB.8060208@pdslabs.net> <533075C4.3090702@harbourhosting.co.uk> Message-ID: On 24.03.2014 at 18:13 Uhr +0000 Martin Baxter apparently wrote: >Turns out that, when startup is run in the IDE, setting the stack rect >works as I would expect, the size and position are modified correctly. >But in a standalone, the stack size is set but not its position. So the >startup handler obviously runs, but setting the stack rect doesn't have >the side-effect of setting the loc. > >The same line in a preopenstack handler does work correctly however, so >it is specifically in a standalone's startup handler that this issue >appears to manifest. > >Anyway I have now bug-reported it. > >Martin Curious that this worked in an earlier version. Isn't startup run before anything else? If so, it is quite likely that stack windows are not there yet when it runs. RObert From klaus at major-k.de Wed Mar 26 13:41:43 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 26 Mar 2014 18:41:43 +0100 Subject: Rotated Text? In-Reply-To: <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> Message-ID: Hi Bill, Am 26.03.2014 um 17:58 schrieb prothero at earthednet.org: > Scott: > I'm not sure how to approach this. Should I use a separate, offscreen window to put the field in, and to get the snapshot? you can use a hidden field on the same card, if you like! > Also, is it possible to create the image with the background transparent, so I can put the image where I want and see only the text? Yes, do something like this: ... ## tText is the text you want in the field set the text of fld "hidden field 4 screenshot" to tText ## Now cut off everything from the field that is NOT the text :-) set the width of fld "hidden field 4 screenshot" to the formattedwidth of fld "hidden field 4 screenshot" set the height of fld "hidden field 4 screenshot" to the formattedheight of fld "hidden field 4 screenshot" ## Now ready for snapping: ## Hint: Make the field transparent -> opaque OFF & no border import snapshot from rect(the rect of fld "hidden field 4 screenshot") of fld "hidden field 4 screenshot" ## E tvoila, a nice transparent image with text only ## Now "rotate" the text/image set the angle of last img to 90 ## And do whatever you like with -> the last image ## :-) ... > Bill Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From prothero at earthednet.org Wed Mar 26 13:45:11 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 26 Mar 2014 10:45:11 -0700 Subject: Rotated Text? In-Reply-To: References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> Message-ID: <2D5CCD21-5BD0-4905-B4EE-771524D7FDF7@earthednet.org> Thanks, Klaus. I'll do that. Bill prothero at earthednet.org http://es.earthednet.org On Mar 26, 2014, at 10:41 AM, Klaus major-k wrote: > Hi Bill, > > Am 26.03.2014 um 17:58 schrieb prothero at earthednet.org: > >> Scott: >> I'm not sure how to approach this. Should I use a separate, offscreen window to put the field in, and to get the snapshot? > > you can use a hidden field on the same card, if you like! > >> Also, is it possible to create the image with the background transparent, so I can put the image where I want and see only the text? > > Yes, do something like this: > ... > ## tText is the text you want in the field > set the text of fld "hidden field 4 screenshot" to tText > > ## Now cut off everything from the field that is NOT the text :-) > set the width of fld "hidden field 4 screenshot" to the formattedwidth of fld "hidden field 4 screenshot" > set the height of fld "hidden field 4 screenshot" to the formattedheight of fld "hidden field 4 screenshot" > > ## Now ready for snapping: > ## Hint: Make the field transparent -> opaque OFF & no border > import snapshot from rect(the rect of fld "hidden field 4 screenshot") of fld "hidden field 4 screenshot" > > ## E tvoila, a nice transparent image with text only > > ## Now "rotate" the text/image > set the angle of last img to 90 > > ## And do whatever you like with -> the last image > ## :-) > ... > >> Bill > > 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 richmondmathewson at gmail.com Wed Mar 26 14:04:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Mar 2014 20:04:17 +0200 Subject: Rotated Text? In-Reply-To: <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> Message-ID: <533316A1.1060002@gmail.com> http://forums.runrev.com/viewtopic.php?f=6&t=19764 I prefer getting my hands dirty :) Download my 'stuff' at the URL above. Richmond. From mblivecode at harbourhosting.co.uk Wed Mar 26 15:49:39 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Wed, 26 Mar 2014 19:49:39 +0000 Subject: set stack rect in startup handler In-Reply-To: References: <53303F78.7060501@harbourhosting.co.uk> <533070BB.8060208@pdslabs.net> <533075C4.3090702@harbourhosting.co.uk> Message-ID: <53332F53.5080805@harbourhosting.co.uk> On 26/03/14 16:55, Robert Brenstein wrote: > On 24.03.2014 at 18:13 Uhr +0000 Martin Baxter apparently wrote: >> Turns out that, when startup is run in the IDE, setting the stack rect >> works as I would expect, the size and position are modified correctly. >> But in a standalone, the stack size is set but not its position. So the >> startup handler obviously runs, but setting the stack rect doesn't have >> the side-effect of setting the loc. >> >> The same line in a preopenstack handler does work correctly however, so >> it is specifically in a standalone's startup handler that this issue >> appears to manifest. >> >> Anyway I have now bug-reported it. >> >> Martin > > Curious that this worked in an earlier version. Isn't startup run before > anything else? If so, it is quite likely that stack windows are not > there yet when it runs. > > RObert > Hi Robert Startup runs before any other scripts but the standalone must at least be completely loaded into memory beforehand, in order for the startup script to be accessible and executable. I would expect that setting the stack rect can precede the creation of the stack window, in the startup handler it's probably just stored as a property, and not actually used until some time later when the window is actually drawn. I've been doing that in standalone startup handlers since way back, so it is definitely 6.6 that is different. The bug report is now marked as confirmed BTW. Martin From richmondmathewson at gmail.com Wed Mar 26 16:02:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Mar 2014 22:02:06 +0200 Subject: Rotated Text? In-Reply-To: <533316A1.1060002@gmail.com> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> <533316A1.1060002@gmail.com> Message-ID: <5333323E.4090008@gmail.com> On 26/03/14 20:04, Richmond wrote: > http://forums.runrev.com/viewtopic.php?f=6&t=19764 > > I prefer getting my hands dirty :) > > Download my 'stuff' at the URL above. > > Richmond. Um: First of all, I should like to withdraw my comment that an image that is rotated using "set the angle" is better than one using "rotate". I have uploaded an updated stack; pairs of images are produced: the one on the right is rotated using "set the angle", the one on the left is rotated using "rotate": it can be seen quite clearly that the one rotated using "rotate" is far crisper than the other one. Richmond. From Nakia.Brewer at westrac.com.au Wed Mar 26 17:05:07 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 26 Mar 2014 21:05:07 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> Hi Trevor, Our web browsers here are configured with 'Use a configuration script" checked and the URL to the PAC file. I can open the PAC file URL in a browser and clearly read its content, seems very basic. Noting above, this probably only sets the Browser to know the location of the PAC file and not the OS so is there somewhere in the OS (windows 7 enterprise) that I might set the location of the Proxy PAC file? Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Wednesday, 26 March 2014 11:29 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On Tue, Mar 25, 2014 at 6:36 PM, Nakia Brewer wrote: > > I see in the release notes for LC6.6 that HTTPS Through proxy is now > supported so I thought I would give it a try. > > The network I want to test it on runs PAC files for proxy assignment > and I can't find anywhere in livecode to set the location of the PAC file. > It looks like LiveCode is supposed to handle PAC files. If you look at the script of the revLibURL button of the revLibrary stack you will find that httpproxyforURL is now used to resolve the proxy for each url that is loaded. httpproxyforURL uses a PAC file to determine the proxy for a given URL. What I don't see in the script is where httpproxyforURL is initialized. If you pass in a 3rd parameter to httpproxyforURL with the PAC file contents then all subsequent calls to httpproxyforURL will use the same PAC file to resolve the proxy server for the given URL. It may be that the engine itself locates the PAC file and initialization is done in the engine. > Is it fair for me to assume it doesn't support PAC files yet? That depends. How is your computer configured to locate the PAC file? Is the path to the PAC file hardcoded or does your network use WPAD detection? On Windows, WPAD detection is done when the connection proxy settings are set to "Automatically detect settings". It could be that LiveCode will automatically initialize a PAC file if the OS is configured with a PAC file URL but that it doesn't support WPAD detection. If your computer has a hardcoded PAC file and LiveCode isn't picking it up then I think that would be a bug. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From prothero at earthednet.org Wed Mar 26 17:10:30 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 26 Mar 2014 14:10:30 -0700 Subject: Rotated Text? In-Reply-To: <533316A1.1060002@gmail.com> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> <533316A1.1060002@gmail.com> Message-ID: <46761357-69C7-4973-B32D-6EB75B818842@earthednet.org> Richmond: Thanks! I'm using 14pt fonts, so that is pretty important. Best, Bill prothero at earthednet.org http://es.earthednet.org On Mar 26, 2014, at 11:04 AM, Richmond wrote: > http://forums.runrev.com/viewtopic.php?f=6&t=19764 > > I prefer getting my hands dirty :) > > Download my 'stuff' at the URL above. > > 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 Nakia.Brewer at westrac.com.au Wed Mar 26 17:12:44 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 26 Mar 2014 21:12:44 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CACFD74@MHSEXC02.westrac.com.au> Noting I have tried setting LiveCodes HTTP Proxy in the Preferences to the PAC File URL which didn't work. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer Sent: Thursday, 27 March 2014 8:05 AM To: How to use LiveCode Subject: RE: HTTPS Proxy and PAC files Hi Trevor, Our web browsers here are configured with 'Use a configuration script" checked and the URL to the PAC file. I can open the PAC file URL in a browser and clearly read its content, seems very basic. Noting above, this probably only sets the Browser to know the location of the PAC file and not the OS so is there somewhere in the OS (windows 7 enterprise) that I might set the location of the Proxy PAC file? Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Wednesday, 26 March 2014 11:29 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On Tue, Mar 25, 2014 at 6:36 PM, Nakia Brewer wrote: > > I see in the release notes for LC6.6 that HTTPS Through proxy is now > supported so I thought I would give it a try. > > The network I want to test it on runs PAC files for proxy assignment > and I can't find anywhere in livecode to set the location of the PAC file. > It looks like LiveCode is supposed to handle PAC files. If you look at the script of the revLibURL button of the revLibrary stack you will find that httpproxyforURL is now used to resolve the proxy for each url that is loaded. httpproxyforURL uses a PAC file to determine the proxy for a given URL. What I don't see in the script is where httpproxyforURL is initialized. If you pass in a 3rd parameter to httpproxyforURL with the PAC file contents then all subsequent calls to httpproxyforURL will use the same PAC file to resolve the proxy server for the given URL. It may be that the engine itself locates the PAC file and initialization is done in the engine. > Is it fair for me to assume it doesn't support PAC files yet? That depends. How is your computer configured to locate the PAC file? Is the path to the PAC file hardcoded or does your network use WPAD detection? On Windows, WPAD detection is done when the connection proxy settings are set to "Automatically detect settings". It could be that LiveCode will automatically initialize a PAC file if the OS is configured with a PAC file URL but that it doesn't support WPAD detection. If your computer has a hardcoded PAC file and LiveCode isn't picking it up then I think that would be a bug. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From matthias_livecode_150811 at m-r-d.de Wed Mar 26 17:32:37 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 26 Mar 2014 22:32:37 +0100 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> Message-ID: <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> Am 26.03.2014 um 22:05 schrieb Nakia Brewer : > > Noting above, this probably only sets the Browser to know the location of the PAC file and not the OS so is there somewhere in the OS > (windows 7 enterprise) that I might set the location of the Proxy PAC file? > http://answers.oreilly.com/topic/675-how-to-configure-proxy-settings-in-windows-7/ Regards, Matthias From Nakia.Brewer at westrac.com.au Wed Mar 26 17:55:30 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 26 Mar 2014 21:55:30 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> Message-ID: <67116DB20798A94285EEE12A67079A284CACFE18@MHSEXC02.westrac.com.au> It seems this configuration is the same option that the browser sets so its one in the same. Ah well, was worth a shot.... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe | M-R-D Sent: Thursday, 27 March 2014 8:33 AM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files Am 26.03.2014 um 22:05 schrieb Nakia Brewer : > > Noting above, this probably only sets the Browser to know the location > of the PAC file and not the OS so is there somewhere in the OS (windows 7 enterprise) that I might set the location of the Proxy PAC file? > http://answers.oreilly.com/topic/675-how-to-configure-proxy-settings-in-windows-7/ 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From pradeep.saxena at pacbell.net Wed Mar 26 19:27:29 2014 From: pradeep.saxena at pacbell.net (Pradeep Saxena) Date: Wed, 26 Mar 2014 16:27:29 -0700 (PDT) Subject: Livecode membership In-Reply-To: References: <532F2397.6050809@researchware.com> Message-ID: <1395876449.90014.YahooMailNeo@web185002.mail.gq1.yahoo.com> So the only two things missing from my account are 1. livecode.org email adress 2. forum badge Please confirm. Best, Pradeep ________________________________ From: Heather Laine To: How to use LiveCode Sent: Tuesday, March 25, 2014 7:30 AM Subject: Re: Livecode membership The LiveCode Membership offers a number of things: A livecode.org email address Full Academy subscription for a year (worth $199) The ability to submit free, closed source apps, to the iOS app store A quarterly webinar with The Management and last but not least, a forum badge to show your support. For more details go here: http://livecode.com/membership/ and if you have any questions, you know where to find me... support at runrev.com :) Regards, Heather On 24 Mar 2014, at 17:45, prothero at earthednet.org wrote: > I'm wondering what this offers that the full commercial license doesn't. I'm learning a lot about livecode and have a commercial license, and I figure the "Academies" will still be available to me. > > It seems this "membership" is targeted at the users of the opensource version of livecode. Am I correct? > Best, > Bill > > prothero at earthednet.org > 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 Heather Laine Customer Services Manager http://www.livecode.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 gcanyon at gmail.com Wed Mar 26 20:00:49 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 26 Mar 2014 19:00:49 -0500 Subject: best/fastest way to tell if a field contains unicode text? In-Reply-To: References: <532C8884.9080709@pair.com> Message-ID: On Wed, Mar 26, 2014 at 12:03 PM, Fraser Gordon wrote: > On 26 Mar 2014, at 15:37, Geoff Canyon wrote: > > > > > "somebody, somewhere, might be depending on the fact that it interprets > the > > number modulo 256" > > We've already had a bug report against 7.0 because it wasn't doing that in > certain cases. > One bug report doesn't make it a requirement. You'll never hear from the people who are confused by a more complex syntax (which already has hundreds and hundreds of tokens). Think of me as the Lorax, I speak for clearer syntax. > The problem with making non-compatible changes to existing APIs is that > changing things to work against the new API isn't a one-time cost. If you > take LiveCode itself as an example, there are a number of run-time checks > where things are done differently depending on the operating system version > because something broke when a new version of the OS was released. > Sometimes, we are lucky and the fix works on old versions too but (more > often) it doesn't so both code paths have to remain until support is > dropped for the older version. > Are there a significant number of people who will have to maintain their code under both 7.0 and previous versions? Who use syntax that would require this sort of dual-maintenance? > > > > > My point is that we will *all* suffer with poor, confusing syntax, > > *forever*, so that hypothetical person doesn't have to fix their use of > > numToChar. > > Backwards compatibility in LiveCode only needs to be sustained until Open > Language: at that point, the core language will be cleaned up so that these > legacy issues can be forgotten (though the old language will hang around as > a backwards-compatibility mode for existing scripts but can be ignored when > writing new scripts). > Perhaps a nitpick, but if you have a backwards-compatibility mode, then backwards compatibility is being sustained beyond Open Language. But yes, I am *very* much looking forward to open language. When can I get it? ;-) > One of the main advantages of Livecode is the natural syntax. Sacrificing > > that to backwards compatibility is a poor trade-off. > > > > > I agree that clean syntax is better but there are limits to what we can do > - it can be very discouraging when you upgrade to the latest-and-greatest > version of some software and suddenly something doesn't work (I get that > feeling when having to switch between the various versions of Xcode that we > use!). > Good release notes are key, but only if you buy in to the concept of abandoning the past in the first place, obviously. "numToChar" and "charToNum" are unsound concepts anyway - imagine you have > the sequence of Unicode "characters" (really codepoints) {"e", > combining-accute} - these will display as a single grapheme "?" which means > that in the LiveCode language they are one character. However, there are > two codepoints - how do you map that to a single number? This may seem > esoteric, but on MacOS X, accented characters in file names are returned in > such a form. Either charToNum will have to not match what "char" means in > LiveCode or it will have to fail on what is a relatively common occurrence. > Thus, doing the wrong, backwards-compatible thing seemed a better choice > than doing a new wrong thing. > I'm probably being naive, but are you saying that there isn't a numerical equivalent to each character in unicode? As an aside, I suddenly thought (for the first time ever) of the byte chunk. I assume it will continue to represent 8 bits when char has left it behind for unicode? Also, I would have expected byte to return a value that can be treated as a number from 0-255, but maybe I'm thinking about this wrongly. gc From jacque at hyperactivesw.com Wed Mar 26 21:06:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Mar 2014 20:06:13 -0500 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CACFE18@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> <67116DB20798A94285EEE12A67079A284CACFE18@MHSEXC02.westrac.com.au> Message-ID: <53337985.80001@hyperactivesw.com> On 3/26/14, 4:55 PM, Nakia Brewer wrote: > It seems this configuration is the same option that the browser sets so its one in the same. > > Ah well, was worth a shot.... Nakia, did you report this yet? I don't see it in the bug database. I started to do it myself but realized I just don't have enough information. Or Trevor, maybe you could? You seem to know what's wrong. I need this fixed but I'm not sure what to say. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Wed Mar 26 21:57:26 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Mar 2014 02:57:26 +0100 Subject: [ANN] User Group Meeting in the Netherlands In-Reply-To: <532096DD.5050307@economy-x-talk.com> References: <532096DD.5050307@economy-x-talk.com> Message-ID: <53338586.9080603@economy-x-talk.com> Hallo allemaal, Afgelopen zaterdag, 22 maart, organiseerde eHUG weer een bijeenkomst. Hoewel we met een kleine groep waren, was het een genoegen om over allerlei onderwerpen te praten in caf?-restaurant Winkel van Sinkel in Utrecht. Natuurlijk besteedden we veel aandacht aan LiveCode 7 en af en toe kwamen ook onze eigen projecten ter sprake --ik kreeg een goeie tip voor mijn eigen spel. Het schijnt dat we enigszins bezorgd zijn dat we een groot deel van onze scripts zullen moeten herschrijven wanneer LC 7 verschijnt. Een ander onderwerp dat uitgebreid besproken werd, was bitcoin. Heeft bitcoin de toekomst? Wie zal het zeggen... Als je er de volgende keer bij wilt zijn, dan kun je me een e-mail sturen. Je kunt ook lid worden van de LiveCode-groep https://www.facebook.com/groups/runrev op Facebook of ondergetekende http://twitter.com/xtalkprogrammer volgen op Twitter zodat je van toekomstige bijeenkomsten op de hoogte blijft. translation: Last Saturday, 22nd March, eHUG organised another meeting. While being a small group, we had a lot of fun talking about all kinds of subjects at caf?-restaurant Winkel van Sinkel in Utrecht. Obviously, we spent a lot of time discussing LiveCode 7 and once in a while our own projects game up --I got a great tip about my own game. It seems we are a little worried that we will have to rewrite a lot of code when LC 7 is released. Another extensively discussed subject was bitcoin. Does bitcoin have a future? Who knows... If you would like to participate in the next meeting, you can send me an e-mail. You can also join the LiveCode group at https://www.facebook.com/groups/runrev on Facebook or follow me on Twitter at http://twitter.com/xtalkprogrammer to stay informed about meetings. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From cszasz at me.com Wed Mar 26 22:55:35 2014 From: cszasz at me.com (Charles Szasz) Date: Wed, 26 Mar 2014 22:55:35 -0400 Subject: Quitting a Standalone Problem Message-ID: <988AE07E-9612-41FE-9724-4D5B98C42B81@me.com> Is there a standard script for quitting windows standalones? I have run into this problem on Windows XP, Windows 7 and 8. The Rev Archives indicate that there was a bug In quitting standalones. Was this bug resolved in LC 5.5.5? A link to a solution in the archives is no longer active. Sent from my iPad From Hakan at Exformedia.se Thu Mar 27 03:59:42 2014 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Thu, 27 Mar 2014 08:59:42 +0100 Subject: Rotated Text? In-Reply-To: <46761357-69C7-4973-B32D-6EB75B818842@earthednet.org> References: <1395739950182-4677505.post@n4.nabble.com> <5331B281.8010408@LinkIt.Com> <0584AB4F-8976-47CE-B7BF-3D6C067C67B9@earthednet.org> <64201F0D-3665-470D-82BB-331AA249E572@earthednet.org> <794B1E6A-7419-4FD8-B8CB-66B7FAA7D9F3@earthednet.org> <31D6B154-5558-4942-B2F4-E97B3B1FDB5C@tactilemedia.com> <508E21F4-A35A-4CC5-A037-981383A7D93D@earthednet.org> <533316A1.1060002@gmail.com> <46761357-69C7-4973-B32D-6EB75B818842@earthednet.org> Message-ID: <062A098B-0AA6-4B8D-BDDA-1C04F7F1165B@Exformedia.se> If you want better print result you can scale the textfield first by factor 2 or 4, import a snapshot and then rescale the image. LiveCode will now use the extra data when printing. I?ve tried this code on a button: on mouseUp lock screen put the rect of field 1 into tRect put the textSize of field 1 into tSize set the width of field 1 to the formattedWidth of field 1 set the height of field 1 to the formattedHeight of field 1 import snapshot from field 1 set the angle of the last image to 90 set the loc of image 1 to 100,100 set the textSize of field 1 to the textSize of field 1 * 4 set the width of field 1 to the formattedWidth of field 1 set the height of field 1 to the formattedHeight of field 1 import snapshot from field 1 set the resizeQuality of the last image to "best" set the angle of the last image to 90 put the rect of the last image into tImgRect repeat with i = 1 to 4 put item i of tImgRect / 4 into item i of tImgRect end repeat set the lockloc of the last image to true ? important if you want the resize to stick when unlocking screen set the rect of the last image to tImgRect set the loc of the last image to 140,100 set the textSize of field 1 to tSize set the rect of field 1 to tRect unlock screen end mouseUp and if you then print the card you will see a clear difference between the two fields. You of course need a ?field 1? with some text for it to work ;) :-H?kan 26 mar 2014 kl. 22:10 skrev prothero at earthednet.org: > Richmond: > Thanks! I'm using 14pt fonts, so that is pretty important. > Best, > Bill > > prothero at earthednet.org > http://es.earthednet.org > > On Mar 26, 2014, at 11:04 AM, Richmond wrote: > >> http://forums.runrev.com/viewtopic.php?f=6&t=19764 >> >> I prefer getting my hands dirty :) >> >> Download my 'stuff' at the URL above. >> >> 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 Mar 27 04:28:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Mar 2014 10:28:17 +0200 Subject: Page Curl revisited Message-ID: <5333E121.6020004@gmail.com> This is a bit like Leslie Nielson in one of the 'Naked Gun' films when he separated from Priscilla Presley: "I faked my page curls" (something slightly wrong with that quote; obviously age is getting to me . . . LOL): anyway, for what it's worth: http://forums.runrev.com/viewtopic.php?f=5&t=19771 Richmond. From m.schonewille at economy-x-talk.com Thu Mar 27 05:26:41 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Mar 2014 10:26:41 +0100 Subject: Quitting a Standalone Problem In-Reply-To: <988AE07E-9612-41FE-9724-4D5B98C42B81@me.com> References: <988AE07E-9612-41FE-9724-4D5B98C42B81@me.com> Message-ID: <5333EED1.9030503@economy-x-talk.com> Hi Charles, No, I don't think the "bug" was solved. The bug you're referring ro is probably that the engine stays running in memory after closing all stacks. This is my standard script: on quitThisApp lock messages -- MySql -- put revOpenDatabases() into myDatabases -- repeat for each item myBase in myDatabases -- revCloseDatabase myBase -- end repeat -- stop using stacks put the stacksInUse into myStacks repeat for each line myStack in myStacks stop using stack myStack end repeat -- stacks put the openStacks into myStacks put "message box,home,tool,Message Box,revTools,revMenubar" \ & comma & the short name of me into myDontClose repeat for each line myStack in myStacks if myStack is not among the items of myDontClose then close stack myStack end if end repeat -- messages put the pendingmessages into myMsgs repeat for each line myMsg in myMsgs cancel item 1 of myMsg end repeat set the backdrop to none if the platform is "Win32" then close me if the environment is not "development" then quit end if end quitThisApp You need to adjust this to your own needs. E.g. uncomment the database part or replace that by code for SQLite etc. You may want to alter the list of stacks that stay open. The script should close all stacks and quit properly. It should also prevent crashes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/27/2014 03:55, Charles Szasz wrote: > Is there a standard script for quitting windows standalones? I have run into this problem on Windows XP, Windows 7 and 8. The Rev Archives indicate that there was a bug In quitting standalones. Was this bug resolved in LC 5.5.5? A link to a solution in the archives is no longer active. > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode 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 camm29 at tesco.net Thu Mar 27 05:46:24 2014 From: camm29 at tesco.net (Camm) Date: Thu, 27 Mar 2014 09:46:24 +0000 (UTC) Subject: Quitting a Standalone Problem In-Reply-To: <988AE07E-9612-41FE-9724-4D5B98C42B81@me.com> Message-ID: <1484414529.1808097.1395913584357.JavaMail.root@md01.topaz.synacor.com> Hi , Had no problem using "quit" in all versions , How do you intent to initiate the quit ? Regards Camm ----- Original Message ----- From: "Charles Szasz" To: use-livecode at lists.runrev.com Sent: Thursday, 27 March, 2014 2:55:35 AM Subject: Quitting a Standalone Problem Is there a standard script for quitting windows standalones? I have run into this problem on Windows XP, Windows 7 and 8. The Rev Archives indicate that there was a bug In quitting standalones. Was this bug resolved in LC 5.5.5? A link to a solution in the archives is no longer active. Sent from my iPad _______________________________________________ use-livecode mailing list use-livecode 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 lists at mangomultimedia.com Thu Mar 27 08:34:23 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 27 Mar 2014 08:34:23 -0400 Subject: HTTPS Proxy and PAC files In-Reply-To: <53337985.80001@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> <67116DB20798A94285EEE12A67079A284CACFE18@MHSEXC02.westrac.com.au> <53337985.80001@hyperactivesw.com> Message-ID: On Wed, Mar 26, 2014 at 9:06 PM, J. Landman Gay wrote: > > Nakia, did you report this yet? I don't see it in the bug database. I > started to do it myself but realized I just don't have enough information. > > Or Trevor, maybe you could? You seem to know what's wrong. I need this > fixed but I'm not sure what to say. I don't have things set up to properly to file a bug report on this. I just know what might be going on under the hood as I previously added support for PAC and WPAD detection to the GLX Ap Framework version of libURL. Based on what Nakia describes it sounds like LiveCode is not picking up the system assigned PAC file. Based on the 6.6 release notes it should so I would report a bug: "LibURL has been updated to add support for proxy auto configuration files (PAC). If no global proxy server has been set using the HTTPProxy property, when fetching a URL, LibURL will attempt to parse the systems .pac file in order to extract the proxy server (if any) to use for the given URL." -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From tvogelaar at de-mare.nl Thu Mar 27 08:42:54 2014 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Thu, 27 Mar 2014 13:42:54 +0100 Subject: Print margins Message-ID: <0DDA03AF-56D3-407F-BA1E-9C58768C5615@de-mare.nl> I want to make software to generate a printed newsletter. First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21). So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide. I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch). I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how. In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch! How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side. Kind regards, Terry From t.heaford at btinternet.com Thu Mar 27 10:34:35 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 27 Mar 2014 14:34:35 +0000 Subject: Print margins In-Reply-To: <0DDA03AF-56D3-407F-BA1E-9C58768C5615@de-mare.nl> References: <0DDA03AF-56D3-407F-BA1E-9C58768C5615@de-mare.nl> Message-ID: Have a look at printMargins in the Language Dictionary On 27 Mar 2014, at 12:42, Terry Vogelaar wrote: > I want to make software to generate a printed newsletter. > > First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21). > So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide. > > I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch). > > I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how. > > In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch! > > How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side. > > Kind regards, > 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 m.schonewille at economy-x-talk.com Thu Mar 27 10:49:01 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Mar 2014 15:49:01 +0100 Subject: Print margins In-Reply-To: <0DDA03AF-56D3-407F-BA1E-9C58768C5615@de-mare.nl> References: <0DDA03AF-56D3-407F-BA1E-9C58768C5615@de-mare.nl> Message-ID: <53343A5D.8090009@economy-x-talk.com> Hi Terry, For my envelopes and labels, I create a stack of exactly the same size as my paper, set the printMargins to 0,0,0,0 and then I print the card. For multiple pages, I use open printing (with dialog), refresh the data on the card and print the card again, until all data has been printed. When the last data has been printed, I close printing. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/27/2014 13:42, Terry Vogelaar wrote: > I want to make software to generate a printed newsletter. > > First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21). > So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide. > > I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch). > > I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how. > > In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch! > > How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side. > > Kind regards, > Terry From ambassador at fourthworld.com Thu Mar 27 11:15:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Mar 2014 08:15:04 -0700 Subject: ][ANN] SoCal LiveCode User Group Meeting: April 3 In-Reply-To: <52F10BB9.2030509@fourthworld.com> References: <52F10BB9.2030509@fourthworld.com> Message-ID: <53344078.1080108@fourthworld.com> The next meeting of the SoCal LiveCode User Group is coming up next Thursday, April 3, in Pasadena. Details in the forum: Anybody hear of PencilCase yet? According to their site, it?s ?HyperCard reimagined?. This seems to be specifically targeted at mobile apps, so LiveCode still has some major advantages, but this does provide some interesting features. Thoughts? -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From coiin at verizon.net Thu Mar 27 12:43:19 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 27 Mar 2014 12:43:19 -0400 Subject: OT: PencilCase In-Reply-To: References: Message-ID: Had not heard of that. Here?s the web page: http://robotsandpencils.com/pencilcase/ The video is worth watching: https://www.youtube.com/watch?v=ViKORN8URAQ There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don?t foo everything you need. Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don?t need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. From cmsheffield at icloud.com Thu Mar 27 12:45:18 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 27 Mar 2014 10:45:18 -0600 Subject: OT: PencilCase In-Reply-To: References: Message-ID: <161D21E4-53FA-4DBE-9519-1ACCFDAAE477@icloud.com> Thanks for the link, Colin. I forgot to share that. On Mar 27, 2014, at 10:43 AM, Colin Holgate wrote: > Had not heard of that. Here?s the web page: > > http://robotsandpencils.com/pencilcase/ > > The video is worth watching: > > https://www.youtube.com/watch?v=ViKORN8URAQ > > There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don?t foo everything you need. > > Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don?t need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. > _______________________________________________ > use-livecode mailing list > use-livecode 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 cmsheffield at icloud.com Thu Mar 27 15:19:11 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 27 Mar 2014 13:19:11 -0600 Subject: iOS: auto-capitalization with ask dialog Message-ID: I thought this was possible, but now I?m not finding anything. How does one set the auto-capitalization options when using the basic ask dialog in an iOS app? Is it not possible? I see you can set it when creating a native text input control. I?m probably missing something obvious? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From richmondmathewson at gmail.com Thu Mar 27 15:34:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Mar 2014 21:34:18 +0200 Subject: OT: PencilCase In-Reply-To: References: Message-ID: <53347D3A.1030207@gmail.com> On 27/03/14 18:43, Colin Holgate wrote: > Had not heard of that. Here?s the web page: > > http://robotsandpencils.com/pencilcase/ > > The video is worth watching: > > https://www.youtube.com/watch?v=ViKORN8URAQ > > There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don?t foo everything you need. > > Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don?t need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. > _______________________________________________ > Well, I for one, am not going to stump up $119 for something that has no Demo on the basis of what I see on their website. What is an "AppDrop spot" ? Who is going to pay money on the basis of a bunch of promises and a 10 second (10 second) video? Absolutely nothing to tell us what the programming language looks like. If it is Java then it is Java, it is NOT "Hypercard reimagined". There have been dozens of these before; obviously believing that 'Hypercard' is a magic word some 20 years down the road. What RunRev has, and all these wannabees don't is a track record and a code-base built on the bones of Metacard. Richmond. From coiin at verizon.net Thu Mar 27 15:43:31 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 27 Mar 2014 15:43:31 -0400 Subject: OT: PencilCase In-Reply-To: <53347D3A.1030207@gmail.com> References: <53347D3A.1030207@gmail.com> Message-ID: <9BADB00F-82E2-4BDA-BB9A-4434351E83EB@verizon.net> The video I linked to is over 3 minutes long. The language it uses is JavaScript, not Java. My guess about AppDrop is that documents get stored there, and an app shell can download and run the document. As part of the deal you get, you can have a certain number of slots, 5 in the case of the $119 product. That might be enough for say a teacher who wants to hand out up to 5 apps for students to use, without having to publish the apps to the App Store. From Nakia.Brewer at westrac.com.au Thu Mar 27 17:47:04 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 27 Mar 2014 21:47:04 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> <67116DB20798A94285EEE12A67079A284CACFE18@MHSEXC02.westrac.com.au> <53337985.80001@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A284CAD1070@MHSEXC02.westrac.com.au> No I haven't listed a bug yet as I am kind of in the same situation as Jacque. They will ask for details relating to the network and PAC file which I can't provide as I am operating from a work network. Disclosing any of the details Will likely land me in trouble. This really needs to someone better than me to lodge a descriptive bug... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Thursday, 27 March 2014 11:34 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On Wed, Mar 26, 2014 at 9:06 PM, J. Landman Gay wrote: > > Nakia, did you report this yet? I don't see it in the bug database. I > started to do it myself but realized I just don't have enough information. > > Or Trevor, maybe you could? You seem to know what's wrong. I need this > fixed but I'm not sure what to say. I don't have things set up to properly to file a bug report on this. I just know what might be going on under the hood as I previously added support for PAC and WPAD detection to the GLX Ap Framework version of libURL. Based on what Nakia describes it sounds like LiveCode is not picking up the system assigned PAC file. Based on the 6.6 release notes it should so I would report a bug: "LibURL has been updated to add support for proxy auto configuration files (PAC). If no global proxy server has been set using the HTTPProxy property, when fetching a URL, LibURL will attempt to parse the systems .pac file in order to extract the proxy server (if any) to use for the given URL." -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Thu Mar 27 18:12:33 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 27 Mar 2014 22:12:33 +0000 Subject: OT: PencilCase In-Reply-To: References: Message-ID: <67116DB20798A94285EEE12A67079A284CAD116C@MHSEXC02.westrac.com.au> Hmm this quite interesting..... Not knowing Hypercard how is this that re-imagined. I don't see any options to use Hypercard Syntax as it states that you write code in Javascript... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Friday, 28 March 2014 3:43 AM To: How to use LiveCode Subject: Re: OT: PencilCase Had not heard of that. Here's the web page: http://robotsandpencils.com/pencilcase/ The video is worth watching: https://www.youtube.com/watch?v=ViKORN8URAQ There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don't foo everything you need. Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don't need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From dixonja at hotmail.co.uk Thu Mar 27 18:15:09 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 27 Mar 2014 22:15:09 +0000 Subject: OT: PencilCase In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD116C@MHSEXC02.westrac.com.au> References: , , <67116DB20798A94285EEE12A67079A284CAD116C@MHSEXC02.westrac.com.au> Message-ID: LOL... but young man, you do know 'hyperTalk' and so 'hyperCard' as you use 'liveCode' ! > Hmm this quite interesting..... > > Not knowing Hypercard how is this that re-imagined. I don't see any options to use Hypercard Syntax as it states that you write code in Javascript... > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au From Nakia.Brewer at westrac.com.au Thu Mar 27 18:18:05 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 27 Mar 2014 22:18:05 +0000 Subject: OT: PencilCase In-Reply-To: References: , , <67116DB20798A94285EEE12A67079A284CAD116C@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> LOL.. Yeah that is true I suppose. I was just trying to make sense of the statement 'Hypercard reimagined' Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of John Dixon Sent: Friday, 28 March 2014 9:15 AM To: How to use LiveCode Subject: RE: OT: PencilCase LOL... but young man, you do know 'hyperTalk' and so 'hyperCard' as you use 'liveCode' ! > Hmm this quite interesting..... > > Not knowing Hypercard how is this that re-imagined. I don't see any options to use Hypercard Syntax as it states that you write code in Javascript... > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From coiin at verizon.net Thu Mar 27 18:24:14 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 27 Mar 2014 18:24:14 -0400 Subject: OT: PencilCase In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> References: , , <67116DB20798A94285EEE12A67079A284CAD116C@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> Message-ID: My thought about that is that if you are trying to make a tool for ?the rest of us? to be able to program interesting apps, in 1987 it would be HyperCard, and in 2014 it would be PencilCase. So, it?s reimagining the intent of the tool, not the implementation. On Mar 27, 2014, at 6:18 PM, Nakia Brewer wrote: > >I was just trying to make sense of the statement 'Hypercard reimagined' From ambassador at fourthworld.com Thu Mar 27 18:36:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Mar 2014 15:36:45 -0700 Subject: OT: PencilCase In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> Message-ID: <5334A7FD.5070303@fourthworld.com> Nakia Brewer wrote: > I was just trying to make sense of the statement 'Hypercard reimagined' It's HyperCard reimagined as something that bears almost no resemblance to HyperCard. :) Ah, the power the imagination... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Thu Mar 27 18:39:51 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Mar 2014 00:39:51 +0200 Subject: OT: PencilCase In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> References: , , <67116DB20798A94285EEE12A67079A284CAD116C@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> Message-ID: <5334A8B7.8030905@gmail.com> On 28/03/14 00:18, Nakia Brewer wrote: > LOL.. Yeah that is true I suppose. > > I was just trying to make sense of the statement 'Hypercard reimagined' Personally I think "Hypercard reimagined" is just a way to attract people and has little basis in reality. It may be quite a good thing; once it becomes available. But as there's no FREE version like the Livecode Community version anybody who pays for the $119 Personal version is risking their money. As PencilCase uses Javascript, it may be "A WYSIWYG RAD IDE that resembles Hypercard visually", but it is not a Hypercard clone+ as it uses a quite different programming language, which is rather harder to learn than Hypertalk/xTalk/Revolution (the latter being not at all difficult if, in fact, you are old enough to have done some Hypercard programming). Richmond. From richmondmathewson at gmail.com Thu Mar 27 18:40:53 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Mar 2014 00:40:53 +0200 Subject: OT: PencilCase In-Reply-To: <5334A7FD.5070303@fourthworld.com> References: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> <5334A7FD.5070303@fourthworld.com> Message-ID: <5334A8F5.9000800@gmail.com> On 28/03/14 00:36, Richard Gaskin wrote: > Nakia Brewer wrote: >> I was just trying to make sense of the statement 'Hypercard reimagined' > > It's HyperCard reimagined as something that bears almost no > resemblance to HyperCard. :) That is why describing it as "Hypercard Reimagined" is naughty. Richmond. > > Ah, the power the imagination... > From dixonja at hotmail.co.uk Thu Mar 27 19:02:20 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 27 Mar 2014 23:02:20 +0000 Subject: OT: PencilCase In-Reply-To: <5334A8F5.9000800@gmail.com> References: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au>, <5334A7FD.5070303@fourthworld.com>, <5334A8F5.9000800@gmail.com> Message-ID: All the 'pencilCase' blurb is doing at the moment is 'talking a good job'... late 2014 is a long wat away.. > That is why describing it as "Hypercard Reimagined" is naughty. > > Richmond. > > > > > Ah, the power the imagination... > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 27 19:15:56 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 27 Mar 2014 19:15:56 -0400 Subject: OT: PencilCase In-Reply-To: <5334A8F5.9000800@gmail.com> References: <67116DB20798A94285EEE12A67079A284CAD11AB@MHSEXC02.westrac.com.au> <5334A7FD.5070303@fourthworld.com> <5334A8F5.9000800@gmail.com> Message-ID: They should have named it NaughtyCard. ;-) Sent from my Android tablet On Mar 27, 2014 6:41 PM, "Richmond" wrote: > On 28/03/14 00:36, Richard Gaskin wrote: > >> Nakia Brewer wrote: >> >>> I was just trying to make sense of the statement 'Hypercard reimagined' >>> >> >> It's HyperCard reimagined as something that bears almost no resemblance >> to HyperCard. :) >> > > That is why describing it as "Hypercard Reimagined" is naughty. > > Richmond. > > >> Ah, the power the imagination... >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 eudosia.systems at gmail.com Fri Mar 28 03:20:40 2014 From: eudosia.systems at gmail.com (Massimiliano Fabbri) Date: Fri, 28 Mar 2014 08:20:40 +0100 Subject: unsubscribe Message-ID: <533522C8.30801@gmail.com> Hello. How to unsubscribe this list ? Thanks Max -- ------------------------------------------------------------------------ Eudosia Systems di Massimiliano Fabbri Realizzazioni Software e consulenze informatiche http://www.eudosia-systems.it linkedin: http://it.linkedin.com/pub/massimiliano-fabbri/19/918/96b Intel 3.06 Ghz Core 2 duo 8Gb Ram Hd 2TB MacOsX 10.7.5 Real Studio 2012 r1.1 ------------------------------------------------------------------------ From scott at tactilemedia.com Fri Mar 28 04:56:01 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 28 Mar 2014 01:56:01 -0700 Subject: [OT] Friday Fun Message-ID: Playing with a new Photoshop filter. Look carefully and you may find two editions of our fearless leader. http://www.tactilemedia.com/download/filter.jpg Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From m.schonewille at economy-x-talk.com Fri Mar 28 04:56:18 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 28 Mar 2014 09:56:18 +0100 Subject: unsubscribe In-Reply-To: <533522C8.30801@gmail.com> References: <533522C8.30801@gmail.com> Message-ID: <53353932.6090407@economy-x-talk.com> Hi Max, Look at the bottom of this and every e-mail you receive from this mailing list. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/28/2014 08:20, Massimiliano Fabbri wrote: > Hello. How to unsubscribe this list ? > Thanks > Max From matthias_livecode_150811 at m-r-d.de Fri Mar 28 05:26:42 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Fri, 28 Mar 2014 10:26:42 +0100 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: Hi Scott, oh, nice. Something like the ascii art long time ago. Would you share with us the name of that plugin? Regards, Matthias Am 28.03.2014 um 09:56 schrieb Scott Rossi : > Playing with a new Photoshop filter. > > Look carefully and you may find two editions of our fearless leader. > > http://www.tactilemedia.com/download/filter.jpg > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 th.douez at gmail.com Fri Mar 28 05:29:48 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 28 Mar 2014 10:29:48 +0100 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2014-03-28 10:26 GMT+01:00 Matthias Rebbe | M-R-D : > Hi Scott, > > oh, nice. Something like the ascii art long time ago. > > Would you share with us the name of that plugin? > > Regards, > > Matthias > > > Am 28.03.2014 um 09:56 schrieb Scott Rossi : > >> Playing with a new Photoshop filter. >> >> Look carefully and you may find two editions of our fearless leader. >> >> http://www.tactilemedia.com/download/filter.jpg >> >> >> Regards, >> >> Scott Rossi From th.douez at gmail.com Fri Mar 28 05:34:32 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 28 Mar 2014 10:34:32 +0100 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: Hi, Oups, sorry for the empty previous mail. If you don't have photoshop, here is the latest mightydeals offer which does that: http://www.mightydeals.com/deal/typo-painter.html?ref=awnews&refNL= Regards, Thierry > oh, nice. Something like the ascii art long time ago. > Would you share with us the name of that plugin? > > Matthias > > > Am 28.03.2014 um 09:56 schrieb Scott Rossi : > >> Playing with a new Photoshop filter. >> >> Look carefully and you may find two editions of our fearless leader. >> >> http://www.tactilemedia.com/download/filter.jpg >> >> Scott Rossi From scott at tactilemedia.com Fri Mar 28 05:54:04 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 28 Mar 2014 02:54:04 -0700 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: Yes, that's it -- TypoPainter. AFAIK, it requires Photoshop. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/28/14 2:34 AM, "Thierry Douez" wrote: >Hi, > > >Oups, sorry for the empty previous mail. > >If you don't have photoshop, >here is the latest mightydeals offer which does that: > >http://www.mightydeals.com/deal/typo-painter.html?ref=awnews&refNL= > >Regards, > >Thierry > >> oh, nice. Something like the ascii art long time ago. >> Would you share with us the name of that plugin? >> >> Matthias >> >> >> Am 28.03.2014 um 09:56 schrieb Scott Rossi : >> >>> Playing with a new Photoshop filter. >>> >>> Look carefully and you may find two editions of our fearless leader. >>> >>> http://www.tactilemedia.com/download/filter.jpg >>> >>> Scott Rossi > >_______________________________________________ >use-livecode mailing list >use-livecode 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 th.douez at gmail.com Fri Mar 28 07:16:25 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 28 Mar 2014 12:16:25 +0100 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: > Yes, that's it -- TypoPainter. AFAIK, it requires Photoshop. So, if you have Photoshop and $5, go for it :) Regards, Thierry >>If you don't have photoshop, <--- WRONG ! >>here is the latest mightydeals offer which does that: >> >>http://www.mightydeals.com/deal/typo-painter.html?ref=awnews&refNL= >> >>> oh, nice. Something like the ascii art long time ago. >>> Would you share with us the name of that plugin? >>> >>> Matthias >>> >>> >>> Am 28.03.2014 um 09:56 schrieb Scott Rossi : >>> >>>> Playing with a new Photoshop filter. >>>> >>>> Look carefully and you may find two editions of our fearless leader. >>>> >>>> http://www.tactilemedia.com/download/filter.jpg >>>> >>>> Scott Rossi ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From matthias_livecode_150811 at m-r-d.de Fri Mar 28 07:21:45 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Fri, 28 Mar 2014 12:21:45 +0100 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: Thanks Thierry and Scott. Regards, Matthias Am 28.03.2014 um 10:34 schrieb Thierry Douez : > Hi, > > > Oups, sorry for the empty previous mail. > > If you don't have photoshop, > here is the latest mightydeals offer which does that: > > http://www.mightydeals.com/deal/typo-painter.html?ref=awnews&refNL= > > Regards, > > Thierry > >> oh, nice. Something like the ascii art long time ago. >> Would you share with us the name of that plugin? >> >> Matthias >> >> >> Am 28.03.2014 um 09:56 schrieb Scott Rossi : >> >>> Playing with a new Photoshop filter. >>> >>> Look carefully and you may find two editions of our fearless leader. >>> >>> http://www.tactilemedia.com/download/filter.jpg >>> >>> Scott Rossi > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tvogelaar at de-mare.nl Fri Mar 28 08:22:19 2014 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Fri, 28 Mar 2014 13:22:19 +0100 Subject: Import SVG (was: Re: Print margins) In-Reply-To: References: Message-ID: <6FA516F8-C6B9-4E6E-8E75-A40A12B9932F@de-mare.nl> Thank you, Terence and Mark. It works fine when I print a card. But unfortunately I cannot get printMargins to work with revBrowserPrint. Also, revBrowserPrint seems to have nothing to do with open printing and close printing. It operates entirely separate from normal printing, apparently. That is too bad, because now I cannot use revBrowserPrint. Or am I doing something wrong here? on mouseUp global lBrowserID set the printMargins to 0,0,0,0 open printing revBrowserPrint lBrowserID close printing end mouseUp The reason I chose revBrowserPrint is that I want to use a vector logo on the newsletter. I can use an SVG file in HTML5 for that. But unfortunately SVG graphics support in LC is not there yet, is it? Does anyone know an elegant solution to bring in a printable logo? The only thing I can think of is to create my own font and include the logo in it. With kind regards, Terry Vogelaar Op 28 mrt. 2014, om 12:00 heeft use-livecode-request at lists.runrev.com het volgende geschreven: > Date: Thu, 27 Mar 2014 14:34:35 +0000 > From: Terence Heaford > > Have a look at printMargins in the Language Dictionary > > From: Mark Schonewille > > Hi Terry, > > For my envelopes and labels, I create a stack of exactly the same size > as my paper, set the printMargins to 0,0,0,0 and then I print the card. > For multiple pages, I use open printing (with dialog), refresh the data > on the card and print the card again, until all data has been printed. > When the last data has been printed, I close printing. > > -- > Best regards, > > Mark Schonewille > > > On 3/27/2014 13:42, Terry Vogelaar wrote: >> I want to make software to generate a printed newsletter. >> >> First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21). >> So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide. >> >> I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch). >> >> I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how. >> >> In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch! >> >> How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side. >> >> Kind regards, >> Terry From coiin at verizon.net Fri Mar 28 08:22:49 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 28 Mar 2014 08:22:49 -0400 Subject: unsubscribe In-Reply-To: <533522C8.30801@gmail.com> References: <533522C8.30801@gmail.com> Message-ID: <0C8B44C0-8147-4F90-ACAA-619495249FAB@verizon.net> http://lists.runrev.com/mailman/listinfo/use-livecode On Mar 28, 2014, at 3:20 AM, Massimiliano Fabbri wrote: > >Hello. How to unsubscribe this list ? From dochawk at gmail.com Fri Mar 28 10:48:24 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 28 Mar 2014 07:48:24 -0700 Subject: debugger gone wild in 6.6 Message-ID: After using 6.6 a few days, my debugger has gone wild. When I opened this morning, it seems to have forgotten the message box history, opened project browser instead of stack browser, and turned the icons on the toolbar back on. THis morning, the debugger stops for breakpoints, but step over/into is treated as "run" instead of a step. And I just checked; this madness continues when I reopen in 6.5.1 Help! I can't debug! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Fri Mar 28 10:55:21 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 28 Mar 2014 15:55:21 +0100 Subject: Import SVG In-Reply-To: <6FA516F8-C6B9-4E6E-8E75-A40A12B9932F@de-mare.nl> References: <6FA516F8-C6B9-4E6E-8E75-A40A12B9932F@de-mare.nl> Message-ID: <53358D59.4050800@economy-x-talk.com> Terry, Why not an image object? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/28/2014 13:22, Terry Vogelaar wrote: > Thank you, Terence and Mark. > > It works fine when I print a card. But unfortunately I cannot get printMargins to work with revBrowserPrint. Also, revBrowserPrint seems to have nothing to do with open printing and close printing. It operates entirely separate from normal printing, apparently. That is too bad, because now I cannot use revBrowserPrint. Or am I doing something wrong here? > > on mouseUp > global lBrowserID > set the printMargins to 0,0,0,0 > open printing > revBrowserPrint lBrowserID > close printing > end mouseUp > > The reason I chose revBrowserPrint is that I want to use a vector logo on the newsletter. I can use an SVG file in HTML5 for that. But unfortunately SVG graphics support in LC is not there yet, is it? > > Does anyone know an elegant solution to bring in a printable logo? The only thing I can think of is to create my own font and include the logo in it. > > > With kind regards, > Terry Vogelaar From dochawk at gmail.com Fri Mar 28 11:00:11 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 28 Mar 2014 08:00:11 -0700 Subject: debugger gone wild in 6.6 In-Reply-To: References: Message-ID: On Fri, Mar 28, 2014 at 7:48 AM, Dr. Hawkins wrote: > THis morning, the debugger stops for breakpoints, but step over/into is > treated as "run" instead of a step. > This has also survived deleting Library/Preferences/RunRev -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 28 11:03:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 28 Mar 2014 08:03:25 -0700 Subject: [OT] Friday Fun In-Reply-To: References: Message-ID: On Fri, Mar 28, 2014 at 2:26 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > oh, nice. Something like the ascii art long time ago. > The return of aalib? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From larry at significantplanet.org Fri Mar 28 11:40:02 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 28 Mar 2014 09:40:02 -0600 Subject: debugger gone wild in 6.6 References: Message-ID: <8005DB2E38F3448BBF84BC1AD705DC3E@userd204a4d61c> Sorry to all of you "true blue" LC fans. This is exactly why I am so hesitant to "upgrade" once I have a LC version that only has minimal problems. ----- Original Message ----- From: "Dr. Hawkins" To: "How to use LiveCode" Sent: Friday, March 28, 2014 8:48 AM Subject: debugger gone wild in 6.6 > After using 6.6 a few days, my debugger has gone wild. > > When I opened this morning, it seems to have forgotten the message box > history, opened project browser instead of stack browser, and turned the > icons on the toolbar back on. > > THis morning, the debugger stops for breakpoints, but step over/into is > treated as "run" instead of a step. > > And I just checked; this madness continues when I reopen in 6.5.1 > > Help! I can't debug! > > -- > 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 ben at runrev.com Fri Mar 28 12:11:34 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 28 Mar 2014 16:11:34 +0000 Subject: RELEASE: LiveCode 6.7 DP1 Message-ID: Dear LiveCode User, We are pleased to announce the preview release of LiveCode 6.7.0 DP1. The primary focus of this release is cocoa support. This required us to re-port LiveCode to the newer Mac platform API's (cocoa). As a result, there may be some instabilities on Mac OS. Once again, thanks to those who helped with alpha testing to iron out the major bugs. 6.7 has now passed all automated tests and a first pass community test. We are aware of a sporadic crash related to audio which we've been unable to replicate or trace. *THERE ARE INSTABILITIES IN THIS RELEASE* so please take care to use backups of your stacks when testing. *Release Contents* - Cocoa Support - New revBrowser WebKit external (Windows, Mac) with new bi-direction javascript to LiveCode communication. - Mobile In-App Purchasing support extended to Amazon * and Samsung stores - Clipboard data 'styledText' array accessor - OS 10.5 (Leopard) Support dropped - 4 bug fixes: - 11975 - "import snapshot from rect ..." only imports part of the screen on Windows - 11946 - iOS 7.1 Simulator doesn't remember device type when launching using 'Test' - 11917 - Setting the label of an option or combo-box does not update the menuHistory. - 11808 - pixelScaling not enabled on Windows Commercial edition * Our in-app purchasing implementation for the Amazon AppStore is unfortunately restricted to commercial license holders only. This is due to the Amazon PML license being incompatible with the GPL. If you wish to use the Amazon in-app purchasing features of LiveCode you will need to be a valid commercial licence holder. For full details of features and fixes please see the release notes: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0_dp_1.pdf *Known Issues* - We are yet to implement an AVFoundation version of the player object and switch the engine to weak link to Quicktime. This is expected for DP2. - Performance on High DPI system slow from 6.6 onwards. Our head of technology posted about this on our blog last week. We plan to refine his prototype and include during the 6.7 cycle. For those of you who missed the post you can read it here: http://livecode.com/blog/2014/03/18/hi-speed-hidpi/. - Sporadic crash related to audio (not reproducible at present). - Field navigation with arrow keys in WebKit browser input fields. http://quality.runrev.com/show_bug.cgi?id=12047. *Testing* As always we appreciate very much all those who help us refine these early releases. 1. If you are a browser object user, we would appreciate you testing your projects with the new revBrowser external. You can create both old and new WebKit browser instances. Please see the release notes for details of how to create the WebKit variant. The original revBrowser object remains unchanged. 2. If you are a mac users please test all your projects by opening them and seeing how they behave in the new windowing system. Your apps will now be rendering entirely in the cocoa windowing framework so you'll notice subtle differences. 3. If you have a mobile app that uses in-app purchases please see the release notes for details of the new in-app API. You will need to make some minor changes to your projects to ensure that your in-app purchases remain functional with LiveCode 6.7. The new API is cleaner and simpler as well as supporting the two additional stores and subscriptions. *Reporting Bugs* If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi *Get the release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ *Resources* For lessons related to the new in-app purchasing api please see: http://lessons.runrev.com/m/19606 *Future Release* - We plan to put out a 6.6 RC1 maintenance release on Monday with fixes to the stabilities issues in that build. - We also plan to put out a 7.0 DP2 build on Thursday which addresses many of the issues report as well as optimisations to improve performance. Warm regards, The LiveCode Team _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From dochawk at gmail.com Fri Mar 28 12:24:18 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 28 Mar 2014 09:24:18 -0700 Subject: debugger gone wild in 6.6 In-Reply-To: <8005DB2E38F3448BBF84BC1AD705DC3E@userd204a4d61c> References: <8005DB2E38F3448BBF84BC1AD705DC3E@userd204a4d61c> Message-ID: On Fri, Mar 28, 2014 at 8:40 AM, wrote: > Sorry to all of you "true blue" LC fans. > This is exactly why I am so hesitant to "upgrade" once I have a LC version > that only has minimal problems. > I *NEED* the scaling on desktops of 6.6. A full page of output is too tall for 768 high pixel screens at native resolution . . . Anyway, it doesn't seem to be just 6.6; the behavior is the same on 6.5. And 5.5.4. I don't know whether this would be something in the preference files, or in the stack, or . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From larry at significantplanet.org Fri Mar 28 12:25:08 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 28 Mar 2014 10:25:08 -0600 Subject: debugger gone wild in 6.6 References: Message-ID: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> To further explain: I'm using 6.1.1 (rc 4) and I just had this happen for the upteenth time: I open the Application Browser and click on a radio button that is part of a group, because I want to open the script of that button. LC opens the script of some other random object (no kidding!) and I have to shut down LC and reopen my project and then LC will open the right script. Of course, I am SURE, I am the only person who has ever experienced this type of behavior within LC. I could mention about 5 or 6 other types of weird LC behavior, but what is the point? In the meantime, I can pretty much get what I need done with 6.1.1. I don't have hours upon hours of time to help LC debug their software. The thing that scrares me the most is that I'm going to invest all this time into my project and then one day find out there is a bug in LC that I can't work around. While I very much appreciate the help I've received from this group and from Heather at LC, it just seems that too many LC people are more interested in defending it (like a mother whose child never makes a mistake) instead of really addressing some of the serious issues that LC needs to overcome to truly take it's place in the programming world. All the energy used up for "patting ourselves on the back" could be directed toward resolving what I consider to be major flaws in DESIGN. As just one example, you can't have a truly great Project Browser until you first have a truly great design for the Project Browser - and in my opinion the design is seriously faulty. I'm not bashing LC. I am a person who has never taken a programming class and LC allows me to do some amazing things. I told Jacqueline years ago that LC is like a beautiful woman, but then when you get around her you find out she smokes like a train and farts a lot. I'm just hoping she'll at least stop farting so much. ----- Original Message ----- From: "Dr. Hawkins" To: "How to use LiveCode" Sent: Friday, March 28, 2014 9:00 AM Subject: Re: debugger gone wild in 6.6 > On Fri, Mar 28, 2014 at 7:48 AM, Dr. Hawkins wrote: > >> THis morning, the debugger stops for breakpoints, but step over/into is >> treated as "run" instead of a step. >> > > This has also survived deleting Library/Preferences/RunRev > > > -- > 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 Fri Mar 28 12:42:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 11:42:45 -0500 Subject: debugger gone wild in 6.6 In-Reply-To: References: Message-ID: <5335A685.6010405@hyperactivesw.com> On 3/28/14, 10:00 AM, Dr. Hawkins wrote: > On Fri, Mar 28, 2014 at 7:48 AM, Dr. Hawkins wrote: > >> THis morning, the debugger stops for breakpoints, but step over/into is >> treated as "run" instead of a step. >> > > This has also survived deleting Library/Preferences/RunRev > > Did you quit LiveCode before deleting the prefs? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Mar 28 13:02:12 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Mar 2014 10:02:12 -0700 Subject: debugger gone wild in 6.6 In-Reply-To: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> Message-ID: <5335AB14.3070809@fourthworld.com> larry wrote: > To further explain: I'm using 6.1.1 (rc 4) and I just had this happen for > the upteenth time: > I open the Application Browser and click on a radio button that is part of a > group, because I want to open the script of that button. LC opens the > script of some other random object (no kidding!) and I have to shut down LC > and reopen my project and then LC will open the right script. Of course, I > am SURE, I am the only person who has ever experienced this type of behavior > within LC. I could mention about 5 or 6 other types of weird LC behavior, > but what is the point? To file a bug report so it can be fixed: I've not encountered an issue with the Script Editor opening an object other than the one I've selected, but if you have a repeatable recipe for that please submit it in a bug report. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Fri Mar 28 13:23:12 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Mar 2014 17:23:12 +0000 (UTC) Subject: debugger gone wild in 6.6 References: <8005DB2E38F3448BBF84BC1AD705DC3E@userd204a4d61c> Message-ID: Dr. Hawkins writes: > I don't know whether this would be something in the preference files, or in > the stack, or . . . With the stack in memory, what do you get when you open the message box and type "put the breakpoints"? -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Fri Mar 28 13:35:03 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 28 Mar 2014 10:35:03 -0700 Subject: debugger gone wild in 6.6 In-Reply-To: References: <8005DB2E38F3448BBF84BC1AD705DC3E@userd204a4d61c> Message-ID: On Fri, Mar 28, 2014 at 10:23 AM, Mark Wieder wrote: > With the stack in memory, what do you get when you open the message box and > type "put the breakpoints"? > group id 1016 of card id 1002 of stack "/Applications/LiveCode 6.6.app/Contents/Tools/Toolset/revlibrary.rev",500 On Fri, Mar 28, 2014 at 9:42 AM, J. Landman Gay wrote: >Did you quit LiveCode before deleting the prefs? yes -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From cmsheffield at icloud.com Fri Mar 28 13:59:07 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 28 Mar 2014 11:59:07 -0600 Subject: new "at size" clause in export snapshot Message-ID: Has anybody tried out the new ?at size? clause in the export snapshot command introduced in LC 6.6? I can?t get it to work. In fact, my script won?t even compile if I include it. export snapshot from tObj to tData as PNG at size tWidth, tHeight I?ve tried various uses of parentheses and can?t get anything to work. Can anyone help? I can?t find a specific example anywhere in the dictionary or in the release notes. I need this in order to get a retina resolution snapshot on the retina iPad. Thanks, Chris From cmsheffield at icloud.com Fri Mar 28 14:01:48 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 28 Mar 2014 12:01:48 -0600 Subject: new "at size" clause in export snapshot In-Reply-To: References: Message-ID: <1CD06CC4-676E-4076-94B8-26343CFA2A1B@icloud.com> Actually, the release notes do show an example using import snapshot. I might be able to use that instead, but my call to export snapshot is set up exactly the same way, so not sure why it won?t work? On Mar 28, 2014, at 11:59 AM, Chris Sheffield wrote: > Has anybody tried out the new ?at size? clause in the export snapshot command introduced in LC 6.6? I can?t get it to work. In fact, my script won?t even compile if I include it. > > export snapshot from tObj to tData as PNG at size tWidth, tHeight > > I?ve tried various uses of parentheses and can?t get anything to work. Can anyone help? I can?t find a specific example anywhere in the dictionary or in the release notes. I need this in order to get a retina resolution snapshot on the retina iPad. > > Thanks, > Chris > _______________________________________________ > use-livecode mailing list > use-livecode 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 th.douez at gmail.com Fri Mar 28 14:17:20 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 28 Mar 2014 19:17:20 +0100 Subject: new "at size" clause in export snapshot In-Reply-To: References: Message-ID: 2014-03-28 18:59 GMT+01:00 Chris Sheffield : > Has anybody tried out the new ?at size? clause in the export snapshot command introduced in LC 6.6? I can?t get it to work. In fact, my script won?t even compile if I include it. > > export snapshot from tObj to tData as PNG at size tWidth, tHeight Hi Chris, Could you try this instead? export snapshot from tObj to tData at size tWidth, tHeight as PNG HTH, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From dixonja at hotmail.co.uk Fri Mar 28 14:17:41 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 28 Mar 2014 18:17:41 +0000 Subject: new "at size" clause in export snapshot In-Reply-To: <1CD06CC4-676E-4076-94B8-26343CFA2A1B@icloud.com> References: , <1CD06CC4-676E-4076-94B8-26343CFA2A1B@icloud.com> Message-ID: Chris... I have had a problem with 'import snapshot'... everything is good under LC 6.5.2 but the same script would not work under 6.6... I spoke to support about it and the asked me to submit a bug report, which I duly did... they have now confirmed it as a bug I did notice however, that there were a few bug reports regarding 'export snapshot' and I saw a comment at the bottom of one that said it would be fixed in the next release... so, have you tried your script using LC 6.7 (dp 1) ? > Actually, the release notes do show an example using import snapshot. I might be able to use that instead, but my call to export snapshot is set up exactly the same way, so not sure why it won?t work? > > On Mar 28, 2014, at 11:59 AM, Chris Sheffield wrote: > > > Has anybody tried out the new ?at size? clause in the export snapshot command introduced in LC 6.6? I can?t get it to work. In fact, my script won?t even compile if I include it. > > > > export snapshot from tObj to tData as PNG at size tWidth, tHeight > > > > I?ve tried various uses of parentheses and can?t get anything to work. Can anyone help? I can?t find a specific example anywhere in the dictionary or in the release notes. I need this in order to get a retina resolution snapshot on the retina iPad. > > > > Thanks, > > Chris From jacque at hyperactivesw.com Fri Mar 28 14:23:52 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 13:23:52 -0500 Subject: debugger gone wild in 6.6 In-Reply-To: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> Message-ID: <5335BE38.3020309@hyperactivesw.com> On 3/28/14, 11:25 AM, larry at significantplanet.org wrote: > I open the Application Browser and click on a radio button that is part > of a group, because I want to open the script of that button. LC opens > the script of some other random object (no kidding!) and I have to shut > down LC and reopen my project and then LC will open the right script. The way I'd deal with this is to report the problem and then stop using the Project Browser until it is resolved. Use the Application Browser instead. Since I'm a creature of habit, I haven't used the Project Browser much and I've never had any issues with the App Browser. That will allow you to continue working with the latest releases, while the team looks into the problem. If it never gets reported though, of course they won't know about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Fri Mar 28 14:32:47 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 28 Mar 2014 12:32:47 -0600 Subject: debugger gone wild in 6.6 References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com> Message-ID: <4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> If you read my post again, I said "Application Browser" and you say "Use the Application Browser instead." I guess you read it too quickly. ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Friday, March 28, 2014 12:23 PM Subject: Re: debugger gone wild in 6.6 > On 3/28/14, 11:25 AM, larry at significantplanet.org wrote: >> I open the Application Browser and click on a radio button that is part >> of a group, because I want to open the script of that button. LC opens >> the script of some other random object (no kidding!) and I have to shut >> down LC and reopen my project and then LC will open the right script. > > The way I'd deal with this is to report the problem and then stop using > the Project Browser until it is resolved. Use the Application Browser > instead. Since I'm a creature of habit, I haven't used the Project Browser > much and I've never had any issues with the App Browser. > > That will allow you to continue working with the latest releases, while > the team looks into the problem. If it never gets reported though, of > course they won't know about it. > > -- > 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 janschenkel at yahoo.com Fri Mar 28 14:35:39 2014 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 28 Mar 2014 11:35:39 -0700 (PDT) Subject: new "at size" clause in export snapshot In-Reply-To: Message-ID: <1396031739.91735.YahooMailBasic@web141103.mail.bf1.yahoo.com> Hi Chris, It turns out to be a difference between the syntax as described in the dictionary, and the actual parser implementation. The MCExport::parse method in cmdsf.cpp is written such that the 'at size' clause needs to come after the 'from' clause and before the 'to' clause. A quick test showed that the following variant compiles and works: ## export snapshot from tObj at size tWidth, tHeight to tData as PNG ## In other words, you should go to the Quality Center and file a report. RunRev needs to either update the dictionary or the parser code :-) HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Fri, 3/28/14, Chris Sheffield wrote: Subject: new "at size" clause in export snapshot To: "How to use LiveCode" Date: Friday, March 28, 2014, 10:59 AM Has anybody tried out the new ?at size? clause in the export snapshot command introduced in LC 6.6? I can?t get it to work. In fact, my script won?t even compile if I include it. ??? export snapshot from tObj to tData as PNG at size tWidth, tHeight I?ve tried various uses of parentheses and can?t get anything to work. Can anyone help? I can?t find a specific example anywhere in the dictionary or in the release notes. I need this in order to get a retina resolution snapshot on the retina iPad. Thanks, Chris _______________________________________________ use-livecode mailing list use-livecode 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 Fri Mar 28 14:50:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 13:50:23 -0500 Subject: debugger gone wild in 6.6 In-Reply-To: <4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com> <4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> Message-ID: <5335C46F.40108@hyperactivesw.com> On 3/28/14, 1:32 PM, larry at significantplanet.org wrote: > If you read my post again, I said "Application Browser" and you say > "Use the Application Browser instead." > I guess you read it too quickly. Sorry, you're right. The "radio button" part made me think you meant the image preview displayed in the project browser. I've never seen what you describe, in that case. I don't mean to sound like an apologist, but the correct script always opens for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Fri Mar 28 14:57:59 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 28 Mar 2014 12:57:59 -0600 Subject: debugger gone wild in 6.6 References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> Message-ID: Thank you Jacqueline. As I said, if I shut down LC and restart, then it behaves properly. So apparently, I did something within LC to cause the weird behavior - and since you don't do the "incorrect" things that I do, you haven't seen it ever happen. But it happens to me quite often. Sadly, I don't know what sequence of events leads to the weird behavior and therefore cannot post a bug report. Any other suggestions? ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Friday, March 28, 2014 12:50 PM Subject: Re: debugger gone wild in 6.6 > On 3/28/14, 1:32 PM, larry at significantplanet.org wrote: >> If you read my post again, I said "Application Browser" and you say >> "Use the Application Browser instead." >> I guess you read it too quickly. > > Sorry, you're right. The "radio button" part made me think you meant the > image preview displayed in the project browser. > > I've never seen what you describe, in that case. I don't mean to sound > like an apologist, but the correct script always opens for me. > > -- > 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 jacque at hyperactivesw.com Fri Mar 28 16:08:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 15:08:47 -0500 Subject: debugger gone wild in 6.6 In-Reply-To: References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> Message-ID: <5335D6CF.1080907@hyperactivesw.com> On 3/28/14, 1:57 PM, larry at significantplanet.org wrote: > Sadly, I don't know what sequence of events leads to the weird behavior > and therefore cannot post a bug report. Any other suggestions? Hard to say since I haven't seen it. How do you access the script? I always use the contextual menu in the app browser. I also use the keyboard shortcuts to access card and stack scripts, and the cmd-option-click-a-control method on the card itself. The default alternate method in the app browser is to command-double-click, but I never use that (I always forget it's there.) Maybe you do that? Or something else? Another thing that occured to me is that the control may be in a nested group, which might cause confusion. But I just tested that using both the command-doubleclick method and the contextual menu, and I got the right script. Since we've now heard from two people who've seen the problem, it seems logical that a particular way of opening the editor is causing it, or else a particular structure in the controls. Maybe someone else has some ideas. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wow at together.net Fri Mar 28 16:53:07 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 16:53:07 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335D6CF.1080907@hyperactivesw.com> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> <5335D6CF.1080907@hyperactivesw.com> Message-ID: <5335E133.4050201@together.net> I have a Mac-only LC program that runs invisibly in the background. This is used in a corporate environment, so the actual user of the Mac computer will not likely even know it is running. It is designed to collect certain data and send it to management. I have not yet found a reliable way for the program to send an email to admin. This has to be done invisibly, so revmail is not an option. I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't had much success configuring the SMTP server information so that it will reliably send an email. I can get these to work with some SMTP server data (like GoDaddy), but often times, with a given clients mail server, neither of these programs will send an email. They just generate errors (like badconnect) as soon as SEND is pressed... even though I know the SMTP server data is correct. I thought about using the built-in OSX "sendemail" command from a Shell script, but I have read that that command will often not work on a given Mac unless the Mac has been set up to allow it to work. Not sure what is involved to make this command work. There must be some reliable way to (invisibly) send an email from a LC program running under OS X. Any suggestions? Thanks, Richard Miller From admin at FlexibleLearning.com Fri Mar 28 17:10:06 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 28 Mar 2014 21:10:06 -0000 Subject: Sending mail (invisibly) from inside a Mac LC app Message-ID: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> Let me get this straight... You not only have a clandestine app running invisible to the User, but you also want to invisibly collect (presumably User) data and then email the data without the User knowing? Frankly I am not surprised you are finding it hard to get a Mac to cooperate. Sounds like how a virus behaves. Hugh Senior FLCo Richard Miller wrote: I have a Mac-only LC program that runs invisibly in the background. This is used in a corporate environment, so the actual user of the Mac computer will not likely even know it is running. It is designed to collect certain data and send it to management. I have not yet found a reliable way for the program to send an email to admin. This has to be done invisibly, so revmail is not an option. I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't had much success configuring the SMTP server information so that it will reliably send an email. I can get these to work with some SMTP server data (like GoDaddy), but often times, with a given clients mail server, neither of these programs will send an email. They just generate errors (like badconnect) as soon as SEND is pressed... even though I know the SMTP server data is correct. I thought about using the built-in OSX "sendemail" command from a Shell script, but I have read that that command will often not work on a given Mac unless the Mac has been set up to allow it to work. Not sure what is involved to make this command work. There must be some reliable way to (invisibly) send an email from a LC program running under OS X. Any suggestions? Thanks, Richard Miller From wow at together.net Fri Mar 28 17:17:38 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 17:17:38 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> Message-ID: <5335E6F2.5000803@together.net> Hugh, This is for a corporate application. The owners of the business will install and control this app. The data it is reporting only has to do with the health of the Mac it is running on. It's a maintenance program. Richard On 3/28/14 5:10 PM, FlexibleLearning.com wrote: > Let me get this straight... You not only have a clandestine app running > invisible to the User, but you also want to invisibly collect (presumably > User) data and then email the data without the User knowing? > > Frankly I am not surprised you are finding it hard to get a Mac to > cooperate. Sounds like how a virus behaves. > > Hugh Senior > FLCo > > > > > Richard Miller wrote: > > I have a Mac-only LC program that runs invisibly in the background. This is > used in a corporate environment, so the actual user of the Mac computer will > not likely even know it is running. It is designed to collect certain data > and send it to management. > > I have not yet found a reliable way for the program to send an email to > admin. This has to be done invisibly, so revmail is not an option. > > I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't had > much success configuring the SMTP server information so that it will > reliably send an email. I can get these to work with some SMTP server data > (like GoDaddy), but often times, with a given clients mail server, neither > of these programs will send an email. They just generate errors (like > badconnect) as soon as SEND is pressed... even though I know the SMTP server > data is correct. > > I thought about using the built-in OSX "sendemail" command from a Shell > script, but I have read that that command will often not work on a given Mac > unless the Mac has been set up to allow it to work. Not sure what is > involved to make this command work. > > There must be some reliable way to (invisibly) send an email from a LC > program running under OS X. Any suggestions? > > Thanks, > Richard Miller > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 28 17:17:52 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 28 Mar 2014 21:17:52 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> Message-ID: Not nice...:-( > Richard Miller wrote: > > I have a Mac-only LC program that runs invisibly in the background. This is > used in a corporate environment, so the actual user of the Mac computer will > not likely even know it is running. It is designed to collect certain data > and send it to management. From cmsheffield at icloud.com Fri Mar 28 17:21:57 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 28 Mar 2014 15:21:57 -0600 Subject: new "at size" clause in export snapshot In-Reply-To: <1396031739.91735.YahooMailBasic@web141103.mail.bf1.yahoo.com> References: <1396031739.91735.YahooMailBasic@web141103.mail.bf1.yahoo.com> Message-ID: Thanks, Jan. Making that change at least allowed my script to compile. Unfortunately, I got a run-time error. So something is still up. However, import snapshot works. I just had to take an extra step to deal with the created image. I?ll get a bug report submitted asap. Thanks, Chris On Mar 28, 2014, at 12:35 PM, Jan Schenkel wrote: > Hi Chris, > > It turns out to be a difference between the syntax as described in the dictionary, and the actual parser implementation. > The MCExport::parse method in cmdsf.cpp is written such that the 'at size' clause needs to come after the 'from' clause and before the 'to' clause. > > A quick test showed that the following variant compiles and works: > ## > export snapshot from tObj at size tWidth, tHeight to tData as PNG > ## > > In other words, you should go to the Quality Center and file a report. > RunRev needs to either update the dictionary or the parser code :-) > > HTH, > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > -------------------------------------------- > On Fri, 3/28/14, Chris Sheffield wrote: > > Subject: new "at size" clause in export snapshot > To: "How to use LiveCode" > Date: Friday, March 28, 2014, 10:59 AM > > Has anybody tried out the new ?at > size? clause in the export snapshot command introduced in > LC 6.6? I can?t get it to work. In fact, my script won?t > even compile if I include it. > > export snapshot from tObj to tData as PNG > at size tWidth, tHeight > > I?ve tried various uses of parentheses and can?t get > anything to work. Can anyone help? I can?t find a specific > example anywhere in the dictionary or in the release notes. > I need this in order to get a retina resolution snapshot on > the retina iPad. > > Thanks, > Chris > _______________________________________________ > use-livecode mailing list > use-livecode 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 stephenREVOLUTION2 at barncard.com Fri Mar 28 17:23:51 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Mar 2014 14:23:51 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> Message-ID: secret collection is the devil. sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: > Not nice...:-( > > > > Richard Miller wrote: > > > > I have a Mac-only LC program that runs invisibly in the background. This > is > > used in a corporate environment, so the actual user of the Mac computer > will > > not likely even know it is running. It is designed to collect certain > data > > and send it to management. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 wow at together.net Fri Mar 28 17:41:07 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 17:41:07 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> Message-ID: <5335EC73.5030700@together.net> Fascinating responses here. Quite a spin folks are putting on my message without even asking first. The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. Nothing to do with the user. On 3/28/14 5:23 PM, stephen barncard wrote: > secret collection is the devil. > > sqb > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > > > On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: > >> Not nice...:-( >> >> >>> Richard Miller wrote: >>> >>> I have a Mac-only LC program that runs invisibly in the background. This >> is >>> used in a corporate environment, so the actual user of the Mac computer >> will >>> not likely even know it is running. It is designed to collect certain >> data >>> and send it to management. >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Fri Mar 28 17:44:52 2014 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 28 Mar 2014 21:44:52 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335E133.4050201@together.net> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> <5335D6CF.1080907@hyperactivesw.com> <5335E133.4050201@together.net> Message-ID: <5335ED54.9060105@tweedly.net> Might it be easier to access a URL rather than send an email ? Have a server somewhere which can gather the data included and email it along to wherever it needs to go ? (Or, to put it another way, I don't know how to directly answer your question :-) -- Alex. On 28/03/2014 20:53, Richard Miller wrote: > I have a Mac-only LC program that runs invisibly in the background. > This is used in a corporate environment, so the actual user of the Mac > computer will not likely even know it is running. It is designed to > collect certain data and send it to management. > > I have not yet found a reliable way for the program to send an email > to admin. This has to be done invisibly, so revmail is not an option. > > I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't > had much success configuring the SMTP server information so that it > will reliably send an email. I can get these to work with some SMTP > server data (like GoDaddy), but often times, with a given clients mail > server, neither of these programs will send an email. They just > generate errors (like badconnect) as soon as SEND is pressed... even > though I know the SMTP server data is correct. > > I thought about using the built-in OSX "sendemail" command from a > Shell script, but I have read that that command will often not work on > a given Mac unless the Mac has been set up to allow it to work. Not > sure what is involved to make this command work. > > There must be some reliable way to (invisibly) send an email from a LC > program running under OS X. Any suggestions? > > Thanks, > Richard Miller > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Mar 28 17:45:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 16:45:47 -0500 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335E133.4050201@together.net> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> <5335D6CF.1080907@hyperactivesw.com> <5335E133.4050201@together.net> Message-ID: <5335ED8B.2010709@hyperactivesw.com> On 3/28/14, 3:53 PM, Richard Miller wrote: > I thought about using the built-in OSX "sendemail" command from a Shell > script, but I have read that that command will often not work on a given > Mac unless the Mac has been set up to allow it to work. Not sure what is > involved to make this command work. I think I'd just try it. Presumably since the machines are set up by the company, they could also enable whatever is required as needed. It's their property and their setup. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skiplondon at gmail.com Fri Mar 28 17:48:27 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 28 Mar 2014 17:48:27 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335EC73.5030700@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: <092B2B75-5CCC-43BC-A04A-4F4C15CBFB44@gmail.com> Yes, quite the harsh remarks :) > On Mar 28, 2014, at 5:41 PM, Richard Miller wrote: > > Fascinating responses here. Quite a spin folks are putting on my message without even asking first. > > The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. > > Nothing to do with the user. > > > >> On 3/28/14 5:23 PM, stephen barncard wrote: >> secret collection is the devil. >> >> sqb >> >> *--* >> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >> >> >>> On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: >>> >>> Not nice...:-( >>> >>> >>>> Richard Miller wrote: >>>> >>>> I have a Mac-only LC program that runs invisibly in the background. This >>> is >>>> used in a corporate environment, so the actual user of the Mac computer >>> will >>>> not likely even know it is running. It is designed to collect certain >>> data >>>> and send it to management. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 janschenkel at yahoo.com Fri Mar 28 17:49:26 2014 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 28 Mar 2014 14:49:26 -0700 (PDT) Subject: new "at size" clause in export snapshot In-Reply-To: Message-ID: <1396043366.87655.YahooMailBasic@web141104.mail.bf1.yahoo.com> That's odd, I tested it earlier on a Windows machine, and again just now on a Mac, with LC 6.6 Here's my recipe: - create a new stack - drag an image and a button on it - set the button script to: ## on mouseUp local tObj, tData, tHeight, tWidth put the long id of me into tObj put 4 * the height of tObj into tHeight put 4 * the width of tObj into tWidth export snapshot from tObj at size tWidth, tHeight to tData as PNG put tData into image 1 end mouseUp ## Click on the button and the image gets set without any issues. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Fri, 3/28/14, Chris Sheffield wrote: Subject: Re: new "at size" clause in export snapshot To: "How to use LiveCode" Date: Friday, March 28, 2014, 2:21 PM Thanks, Jan. Making that change at least allowed my script to compile. Unfortunately, I got a run-time error. So something is still up. However, import snapshot works. I just had to take an extra step to deal with the created image. I?ll get a bug report submitted asap. Thanks, Chris From dixonja at hotmail.co.uk Fri Mar 28 17:53:36 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 28 Mar 2014 21:53:36 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335ED8B.2010709@hyperactivesw.com> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> <5335D6CF.1080907@hyperactivesw.com>, <5335E133.4050201@together.net>, <5335ED8B.2010709@hyperactivesw.com> Message-ID: If all this is so innocent, why hide it from the person using the Mac ? Have you heard yourselves !? Jacque Landman-Gay wrote :- I think I'd just try it. Presumably since the machines are set up by the company, they could also enable whatever is required as needed. It's their property and their setup. Richard Miller wrote :- Fascinating responses here. Quite a spin folks are putting on my message without even asking first. The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. Nothing to do with the user. From pradeep.saxena at pacbell.net Fri Mar 28 17:53:51 2014 From: pradeep.saxena at pacbell.net (Pradeep Saxena) Date: Fri, 28 Mar 2014 14:53:51 -0700 (PDT) Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335EC73.5030700@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: <1396043631.32201.YahooMailNeo@web185004.mail.gq1.yahoo.com> Richard, We as developer are always open to various viewpoints. Here is the solution I had implemented long time back on similar lines at a fortune 10 company (without LC) but should do the job to your expectation: -Have an additional database server (mysql/oracle) in your corporate env.? -send the message & userid/machineid as record to that server. -write the email code for on-insert (or post insert) trigger based on your need. - on-insert trigger, if you want to store all messages for user/machine/error analysis later - post-insert trigger, if you do not want to store these messages on the server and delete them after sending the email. Hope this helps! Best Regards, Pradeep ________________________________ From: Richard Miller To: How to use LiveCode Sent: Friday, March 28, 2014 2:41 PM Subject: Re: Sending mail (invisibly) from inside a Mac LC app Fascinating responses here. Quite a spin folks are putting on my message without even asking first. The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. Nothing to do with the user. On 3/28/14 5:23 PM, stephen barncard wrote: > secret collection is the devil. > > sqb > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > > > On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: > >> Not nice...:-( >> >> >>> Richard Miller wrote: >>> >>> I have a Mac-only LC program that runs invisibly in the background. This >> is >>> used in a corporate environment, so the actual user of the Mac computer >> will >>> not likely even know it is running. It is designed to collect certain >> data >>> and send it to management. >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 wow at together.net Fri Mar 28 17:54:40 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 17:54:40 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335ED8B.2010709@hyperactivesw.com> References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> <5335D6CF.1080907@hyperactivesw.com> <5335E133.4050201@together.net> <5335ED8B.2010709@hyperactivesw.com> Message-ID: <5335EFA0.7070801@together.net> I tried "sendemail" from my own laptop from within Terminal, but can't get it to work. Anyone know how to configure a Mac to enable this? On 3/28/14 5:45 PM, J. Landman Gay wrote: > On 3/28/14, 3:53 PM, Richard Miller wrote: >> I thought about using the built-in OSX "sendemail" command from a Shell >> script, but I have read that that command will often not work on a given >> Mac unless the Mac has been set up to allow it to work. Not sure what is >> involved to make this command work. > > I think I'd just try it. Presumably since the machines are set up by > the company, they could also enable whatever is required as needed. > It's their property and their setup. > From wow at together.net Fri Mar 28 18:00:56 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 18:00:56 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <8A3D02AD10D44FE1B36B09A2C0AB1872@userd204a4d61c> <5335BE38.3020309@hyperactivesw.com><4B28FBCD34BF4A46921152A947545CAC@userd204a4d61c> <5335C46F.40108@hyperactivesw.com> <5335D6CF.1080907@hyperactivesw.com>, <5335E133.4050201@together.net>, <5335ED8B.2010709@hyperactivesw.com> Message-ID: <5335F118.7030009@together.net> There is no intention to "hide" anything. It's a background maintenance program. On 3/28/14 5:53 PM, John Dixon wrote: > If all this is so innocent, why hide it from the person using the Mac ? Have you heard yourselves !? > > > Jacque Landman-Gay wrote :- > > I think I'd just try it. Presumably since the machines are set up by the > company, they could also enable whatever is required as needed. It's > their property and their setup. > > > Richard Miller wrote :- > > Fascinating responses here. Quite a spin folks are putting on my message > without even asking first. > > The program is looking for signs of system failure on the Mac, before > drives crash or other problems get out of hand. > > Nothing to do with the user. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 kee at kagi.com Fri Mar 28 18:03:20 2014 From: kee at kagi.com (kee nethery) Date: Fri, 28 Mar 2014 15:03:20 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335EC73.5030700@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: I data collect on an internal app used in my business. I have a web server with a web page that logs all connections to it. The user app will POST to the server and that data goes into the log. I can review the logs and do stats on the app usage and such. Since it is all internal users, they all have access to that server. The fun thing is that the logs get rolled so that it?s only the last some number of days that is stored in the logs. If I never need to look at the data, the files stay a fixed size. Kee Nethery From wow at together.net Fri Mar 28 18:06:08 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 18:06:08 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <1396043631.32201.YahooMailNeo@web185004.mail.gq1.yahoo.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> <1396043631.32201.YahooMailNeo@web185004.mail.gq1.yahoo.com> Message-ID: <5335F250.2030905@together.net> The challenge with this approach is that my app could be used by hundreds of businesses, from very small to very large. Whatever the solution is, it can't be complex for the business to implement. On 3/28/14 5:53 PM, Pradeep Saxena wrote: > Richard, > > We as developer are always open to various viewpoints. Here is the solution I had implemented long time back on similar lines at a fortune 10 company (without LC) but should do the job to your expectation: > > -Have an additional database server (mysql/oracle) in your corporate env. > -send the message & userid/machineid as record to that server. > -write the email code for on-insert (or post insert) trigger based on your need. > - on-insert trigger, if you want to store all messages for user/machine/error analysis later > - post-insert trigger, if you do not want to store these messages on the server and delete them after sending the email. > > Hope this helps! > > Best Regards, > Pradeep > > > > ________________________________ > From: Richard Miller > To: How to use LiveCode > Sent: Friday, March 28, 2014 2:41 PM > Subject: Re: Sending mail (invisibly) from inside a Mac LC app > > > Fascinating responses here. Quite a spin folks are putting on my message > without even asking first. > > The program is looking for signs of system failure on the Mac, before > drives crash or other problems get out of hand. > > Nothing to do with the user. > > > > On 3/28/14 5:23 PM, stephen barncard wrote: >> secret collection is the devil. >> >> sqb >> >> *--* >> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >> >> >> On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: >> >>> Not nice...:-( >>> >>> >>>> Richard Miller wrote: >>>> >>>> I have a Mac-only LC program that runs invisibly in the background. This >>> is >>>> used in a corporate environment, so the actual user of the Mac computer >>> will >>>> not likely even know it is running. It is designed to collect certain >>> data >>>> and send it to management. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 userev at canelasoftware.com Fri Mar 28 18:07:26 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 28 Mar 2014 15:07:26 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335E6F2.5000803@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> Message-ID: Richard, I understand the need to develop this type of application. You are going to want to run a php script on your server and have your mac app call the php script and send the needed parameters. This will keep things quite so the individual working on that system is not bothered by applications loading and interrupting their work flow. I tried pasting working code to solve this problem here, but it seem to be upsetting some server somewhere. It thinks I am doing something bad. Sound familiar? Oh well. I will put the code on in a text file on my server and make it available that way. This link will get you some fully tested, working code. If you have any questions, please let me know. http://www.canelasoftware.com/pub/rev/mailCode.txt Best regards, Mark Talluto canelasoftware.com From dunbarx at aol.com Fri Mar 28 18:46:57 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 28 Mar 2014 18:46:57 -0400 (EDT) Subject: Sending mail (invisibly) from inside a Mac LC (Side Issue) In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> Message-ID: <8D118EEC1D568F8-3150-41CF@webmail-d209.sysops.aol.com> Sort of off topic on this, but if you try to paste code from the script editor, all the formatting is passed as well, and this can take quite a bit of room. It will usually prevent your message getting through to this list. always run a small utility tied to one of my Fkeys: function makePlainText tText repeat for each char theChar in tText put numToChar(charToNum(theChar)) after temp end repeat return temp end makePlainText And then you simply: set the clipBoardData to makePlainText(the clipBoardData) Craig Newman -----Original Message----- From: Mark Talluto To: How to use LiveCode Sent: Fri, Mar 28, 2014 6:08 pm Subject: Re: Sending mail (invisibly) from inside a Mac LC app Richard, I understand the need to develop this type of application. You are going to want to run a php script on your server and have your mac app call the php script and send the needed parameters. This will keep things quite so the individual working on that system is not bothered by applications loading and interrupting their work flow. I tried pasting working code to solve this problem here, but it seem to be upsetting some server somewhere. It thinks I am doing something bad. Sound familiar? Oh well. I will put the code on in a text file on my server and make it available that way. This link will get you some fully tested, working code. If you have any questions, please let me know. http://www.canelasoftware.com/pub/rev/mailCode.txt Best regards, Mark Talluto 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 From userev at canelasoftware.com Fri Mar 28 18:50:38 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 28 Mar 2014 15:50:38 -0700 Subject: Sending mail (invisibly) from inside a Mac LC (Side Issue) In-Reply-To: <8D118EEC1D568F8-3150-41CF@webmail-d209.sysops.aol.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <8D118EEC1D568F8-3150-41CF@webmail-d209.sysops.aol.com> Message-ID: <6D564EB1-0968-4962-8333-32E2D0CCBC9A@canelasoftware.com> On Mar 28, 2014, at 3:46 PM, dunbarx at aol.com wrote: > Sort of off topic on this, but if you try to paste code from the script editor, all the formatting is passed as well, and this can take quite a bit of room. It will usually prevent your message getting through to this list. > > > always run a small utility tied to one of my Fkeys: > > > > function makePlainText tText > repeat for each char theChar in tText > put numToChar(charToNum(theChar)) after temp > end repeat > return temp > end makePlainText > > > And then you simply: set the clipBoardData to makePlainText(the clipBoardData) > > > Craig Newman Thanks Craig, Turns out that my email was not set up correctly. I did run everything through TextWrangler and zapped all gremlins. I am sure it was my malformed email. Best regards, Mark Talluto canelasoftware.com From smaclean at madmansoft.com Fri Mar 28 18:52:15 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 28 Mar 2014 18:52:15 -0400 Subject: Local Notifications not showing banner while app open Message-ID: Hi All, Just want to check that I'm not missing something... I create a local notification. It doesn't display the banner while the app is open, but is in the notification center if I pull it down. Is this normal? If it is, how do I get that banner displayed? iMessage would be the example. You are in a different message and new one comes in. It displays in a banner. If it's not normal, then I'll go back and check in older versions to see where it breaks. Thanks! Steve MacLean From prothero at earthednet.org Fri Mar 28 19:06:44 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 28 Mar 2014 16:06:44 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335F250.2030905@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> <1396043631.32201.YahooMailNeo@web185004.mail.gq1.yahoo.com> <5335F250.2030905@together.net> Message-ID: Richard, I implemented a php script to send mail to me, with some diagnostic information, when my Director program threw a script error. I am not at my desktop, so can't tell you the exact way to find it, but I am sure you can google it. You just post your message and destination to the php script, and the email gets sent. It's your choice whether to notify the user. This does involve having a server, but it's easy and works. Best, Bill William Prothero http://es.earthednet.org > On Mar 28, 2014, at 3:06 PM, Richard Miller wrote: > > The challenge with this approach is that my app could be used by hundreds of businesses, from very small to very large. Whatever the solution is, it can't be complex for the business to implement. > > > >> On 3/28/14 5:53 PM, Pradeep Saxena wrote: >> Richard, >> >> We as developer are always open to various viewpoints. Here is the solution I had implemented long time back on similar lines at a fortune 10 company (without LC) but should do the job to your expectation: >> >> -Have an additional database server (mysql/oracle) in your corporate env. >> -send the message & userid/machineid as record to that server. >> -write the email code for on-insert (or post insert) trigger based on your need. >> - on-insert trigger, if you want to store all messages for user/machine/error analysis later >> - post-insert trigger, if you do not want to store these messages on the server and delete them after sending the email. >> >> Hope this helps! >> >> Best Regards, >> Pradeep >> >> >> >> ________________________________ >> From: Richard Miller >> To: How to use LiveCode >> Sent: Friday, March 28, 2014 2:41 PM >> Subject: Re: Sending mail (invisibly) from inside a Mac LC app >> >> Fascinating responses here. Quite a spin folks are putting on my message >> without even asking first. >> >> The program is looking for signs of system failure on the Mac, before >> drives crash or other problems get out of hand. >> >> Nothing to do with the user. >> >> >> >>> On 3/28/14 5:23 PM, stephen barncard wrote: >>> secret collection is the devil. >>> >>> sqb >>> >>> *--* >>> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >>> >>> >>>> On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: >>>> >>>> Not nice...:-( >>>> >>>> >>>>> Richard Miller wrote: >>>>> >>>>> I have a Mac-only LC program that runs invisibly in the background. This >>>> is >>>>> used in a corporate environment, so the actual user of the Mac computer >>>> will >>>>> not likely even know it is running. It is designed to collect certain >>>> data >>>>> and send it to management. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 bobsneidar at iotecdigital.com Fri Mar 28 19:47:45 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Mar 2014 23:47:45 +0000 Subject: multi-line constants? (for RSA keys) In-Reply-To: References: <532E2C69.50309@tweedly.net> Message-ID: <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> Not if the custom prop is in the mainstack of a compiled application. It is my understanding (somewhat limited I admit) that any code you do not want others to have access to should be put in the mainstack of a compiled application. If you have any substacks they will of course be accessible by anyone with a little know how. Bob On Mar 22, 2014, at 19:58 , Dr. Hawkins > wrote: - custom prop - since you're generating it externally - put it in a fixed-name file, and have your script read that file in But then it would be readable :) From alex at tweedly.net Fri Mar 28 19:50:41 2014 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 28 Mar 2014 23:50:41 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> Message-ID: <53360AD1.1090207@tweedly.net> What he said - only I'd run a LC Server script instead of a PHP script :-) You could even run that LCServer script on your own site, as a service for all the different businesses that will use the program, and thus simplify setup for them. -- Alex. On 28/03/2014 22:07, Mark Talluto wrote: > Richard, > > I understand the need to develop this type of application. You are going to want to run a php script on your server and have your mac app call the php script and send the needed parameters. This will keep things quite so the individual working on that system is not bothered by applications loading and interrupting their work flow. > > I tried pasting working code to solve this problem here, but it seem to be upsetting some server somewhere. It thinks I am doing something bad. Sound familiar? Oh well. I will put the code on in a text file on my server and make it available that way. This link will get you some fully tested, working code. If you have any questions, please let me know. > > http://www.canelasoftware.com/pub/rev/mailCode.txt > > > Best regards, > > Mark Talluto > 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 From bobsneidar at iotecdigital.com Fri Mar 28 19:51:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Mar 2014 23:51:59 +0000 Subject: 7.0 Issues In-Reply-To: References: <532CA6A1.1030908@runrev.com> <532CA925.90505@gmail.com> <532CB911.8030100@runrev.com> Message-ID: <6B9ABBB0-70EE-43E6-9649-139DFA27ED56@iotecdigital.com> Not sure about the inserting of pages, but you can store and ?reassemble? a pdf by opening it as read binary, reading it into a variable, then saving the variable either as a property or stored in a database, or even encrypted in a file on the HD. (Not sure what the app would be for that?) I?ve often thought of storing my PDF forms in a database this way instead of on the HD. Bob On Mar 21, 2014, at 19:07 , Dr. Hawkins wrote: > On Fri, Mar 21, 2014 at 3:11 PM, Fraser Gordon wrote: > >> If I'm not careful, we might end up with Tex re-implemented inside the >> LiveCode engine. >> > > If this would let me manipulate pdf in livecode, I'd be all for it. At the > moment, I need to have a latex installation to run the pdf tools (jar). > And all I need is to be able to reassemble/insert pages into another pdf > file. (being able to display a page would be nice, too . . .) > > > > -- > 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 wow at together.net Fri Mar 28 21:25:42 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 21:25:42 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> Message-ID: <53362116.6070404@together.net> If I understand what you are saying, you are suggesting that my LC app send out the results of its search to a central server, which then handles the emailing. This is what I wanted to do originally, and how I first developed this app. What I have since been told by one client (who has about 100 Mac's) is that at their level of corporate business, they don't want any information leaving their network. Everything needs to be kept contained within their business. They have told me that this will generally be the case for many corporate clients of their size and larger. The ideal way seems to be to have the app generate the email itself, using the SMTP parameters from the corporate mail server. Or by taking advantage of something like the sendemail command. Thanks for your suggestion Mark. Did I misunderstand what you suggested? Richard On 3/28/14 6:07 PM, Mark Talluto wrote: > Richard, > > I understand the need to develop this type of application. You are going to want to run a php script on your server and have your mac app call the php script and send the needed parameters. This will keep things quite so the individual working on that system is not bothered by applications loading and interrupting their work flow. > > I tried pasting working code to solve this problem here, but it seem to be upsetting some server somewhere. It thinks I am doing something bad. Sound familiar? Oh well. I will put the code on in a text file on my server and make it available that way. This link will get you some fully tested, working code. If you have any questions, please let me know. > > http://www.canelasoftware.com/pub/rev/mailCode.txt > > > Best regards, > > Mark Talluto > 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 > From wow at together.net Fri Mar 28 22:33:44 2014 From: wow at together.net (Richard Miller) Date: Fri, 28 Mar 2014 22:33:44 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <53362116.6070404@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> Message-ID: <53363108.3070503@together.net> This solution looks promising. Used the following as an applescript. Worked perfectly. Just requires that each Mac have a working version of Mail installed. --------------------- set recipientName to "Richard" set recipientAddress to "rdmiller at together.net" set theSubject to "Type your subject here!" set theContent to "Type your message content here!" tell application "Mail" ##Create the message set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} ##Set a recipient tell theMessage make new to recipient with properties {name:recipientName, address:recipientAddress} ##Send the Message send end tell end tell From jacque at hyperactivesw.com Fri Mar 28 22:51:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 21:51:02 -0500 Subject: multi-line constants? (for RSA keys) In-Reply-To: <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> Message-ID: <53363516.6000001@hyperactivesw.com> On 3/28/14, 6:47 PM, Bob Sneidar wrote: > It is my understanding (somewhat limited I admit) that any code you > do not want others to have access to should be put in the mainstack > of a compiled application. If you have any substacks they will of > course be accessible by anyone with a little know how. Actually, if they really are substacks, they are part of the same file on disk and have the same security/obscurity as the mainstack. Separate document stacks, of course, can be opened by anyone with a copy of LiveCode. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Fri Mar 28 23:15:39 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 28 Mar 2014 20:15:39 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <53362116.6070404@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> Message-ID: <791D9331-C900-4A3B-8DA0-72FEBDFEDEBC@canelasoftware.com> On Mar 28, 2014, at 6:25 PM, Richard Miller wrote: > If I understand what you are saying, you are suggesting that my LC app send out the results of its search to a central server, which then handles the emailing. This is what I wanted to do originally, and how I first developed this app. > > What I have since been told by one client (who has about 100 Mac's) is that at their level of corporate business, they don't want any information leaving their network. Everything needs to be kept contained within their business. They have told me that this will generally be the case for many corporate clients of their size and larger. > > The ideal way seems to be to have the app generate the email itself, using the SMTP parameters from the corporate mail server. Or by taking advantage of something like the sendemail command. > > Thanks for your suggestion Mark. Did I misunderstand what you suggested? > > > Richard If the intranet is set up such that the emails can be obtained on the local network then, you can meet the requirements of IT by posting your data to an ip # on your company network. You simply need to have PHP and a working email system installed on the receiving server/computer. Alternatively, a database set up on a local server will also work. I think the PHP solution my be easier. I would show them the code I posted for you and have them give it a try. We have found the solution to be very robust. Best regards, Mark Talluto canelasoftware.com From jacque at hyperactivesw.com Fri Mar 28 23:17:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 22:17:11 -0500 Subject: Dialog freezes app on Windows after sleep Message-ID: <53363B37.6090302@hyperactivesw.com> My app puts up a dialog if the user has been idle too long. I've received a report that on Windows, if the computer goes to sleep while the dialog is displayed, it is impossible to click any of the buttons when the machine wakes up, and the only way out is to force-quit the app. Has anyone dealt with this before? I can think of other ways to implement what we need, but am curious if there is a way to avoid the freeze-up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Fri Mar 28 23:21:27 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 28 Mar 2014 20:21:27 -0700 Subject: Dialog freezes app on Windows after sleep In-Reply-To: <53363B37.6090302@hyperactivesw.com> References: <53363B37.6090302@hyperactivesw.com> Message-ID: On Mar 28, 2014, at 8:17 PM, J. Landman Gay wrote: > My app puts up a dialog if the user has been idle too long. I've received a report that on Windows, if the computer goes to sleep while the dialog is displayed, it is impossible to click any of the buttons when the machine wakes up, and the only way out is to force-quit the app. > > Has anyone dealt with this before? I can think of other ways to implement what we need, but am curious if there is a way to avoid the freeze-up. How do you bring up the dialog? Is it custom or LC made? I have not seen the problem. No obvious things come to mind. Can you recreate it? Do other clients say this is happening to them as well? Best regards, Mark Talluto canelasoftware.com From jacque at hyperactivesw.com Fri Mar 28 23:37:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Mar 2014 22:37:11 -0500 Subject: Dialog freezes app on Windows after sleep In-Reply-To: References: <53363B37.6090302@hyperactivesw.com> Message-ID: <53363FE7.7090408@hyperactivesw.com> On 3/28/14, 10:21 PM, Mark Talluto wrote: > On Mar 28, 2014, at 8:17 PM, J. Landman Gay > wrote: > >> My app puts up a dialog if the user has been idle too long. I've >> received a report that on Windows, if the computer goes to sleep >> while the dialog is displayed, it is impossible to click any of the >> buttons when the machine wakes up, and the only way out is to >> force-quit the app. >> >> Has anyone dealt with this before? I can think of other ways to >> implement what we need, but am curious if there is a way to avoid >> the freeze-up. > > > How do you bring up the dialog? Is it custom or LC made? I have not > seen the problem. No obvious things come to mind. Can you recreate > it? Do other clients say this is happening to them as well? It's just the built-in LiveCode "ask password" dialog. We've only tested on one machine running Windows 8, but the client says it has happened many times on that computer. I could put up a separate stack instead but it's easier to just use the dialog. I don't have Windows 8 here to try it on but if anyone else wants to test, I'd love to hear what happens. Just type "ask password hello" in the message box and walk away until the computer sleeps. Then see what happens. We're using LiveCode 6.6, btw. Hm...just happened to think, there was that freeze on Windows in 6.6 that got fixed in 6.7. I wonder if that's it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sat Mar 29 04:48:59 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 29 Mar 2014 01:48:59 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335EC73.5030700@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: On Fri, Mar 28, 2014 at 2:41 PM, Richard Miller wrote: > secret collection is the devil. then I apologize if I misjudged the intentions of your app. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From Nakia.Brewer at westrac.com.au Sat Mar 29 05:43:44 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 29 Mar 2014 09:43:44 +0000 Subject: Kill a handler Message-ID: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> Hi, Is there a way u can kill a handler that is currently running (has long loops on it so runs a while). I am building a desktop version of the mobileActivity indicator and want to add a cancel button so it can cancel any current operation within the program... Sent from my iPhone COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From wow at together.net Sat Mar 29 06:24:02 2014 From: wow at together.net (Richard Miller) Date: Sat, 29 Mar 2014 06:24:02 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <791D9331-C900-4A3B-8DA0-72FEBDFEDEBC@canelasoftware.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <791D9331-C900-4A3B-8DA0-72FEBDFEDEBC@canelasoftware.com> Message-ID: <53369F42.5060108@together.net> Thanks, Mark. Will give it a try. Looks like it could be a simple solution. Richard On 3/28/14 11:15 PM, Mark Talluto wrote: > On Mar 28, 2014, at 6:25 PM, Richard Miller wrote: > >> If I understand what you are saying, you are suggesting that my LC app send out the results of its search to a central server, which then handles the emailing. This is what I wanted to do originally, and how I first developed this app. >> >> What I have since been told by one client (who has about 100 Mac's) is that at their level of corporate business, they don't want any information leaving their network. Everything needs to be kept contained within their business. They have told me that this will generally be the case for many corporate clients of their size and larger. >> >> The ideal way seems to be to have the app generate the email itself, using the SMTP parameters from the corporate mail server. Or by taking advantage of something like the sendemail command. >> >> Thanks for your suggestion Mark. Did I misunderstand what you suggested? >> >> >> Richard > > If the intranet is set up such that the emails can be obtained on the local network then, you can meet the requirements of IT by posting your data to an ip # on your company network. You simply need to have PHP and a working email system installed on the receiving server/computer. > > Alternatively, a database set up on a local server will also work. I think the PHP solution my be easier. I would show them the code I posted for you and have them give it a try. We have found the solution to be very robust. > > > Best regards, > > Mark Talluto > 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 > From wow at together.net Sat Mar 29 06:24:44 2014 From: wow at together.net (Richard Miller) Date: Sat, 29 Mar 2014 06:24:44 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: <53369F6C.5020903@together.net> No worries, Stephen. On 3/29/14 4:48 AM, stephen barncard wrote: > On Fri, Mar 28, 2014 at 2:41 PM, Richard Miller wrote: > >> secret collection is the devil. > > then I apologize if I misjudged the intentions of your app. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode 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 effendi at wanadoo.fr Sat Mar 29 09:04:17 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 29 Mar 2014 14:04:17 +0100 Subject: Sending mail (invisibly) from inside a Mac LC app Message-ID: Hi from Beautiful Brittany, I don?t want to quibble, but the request in this e-mail would seem to me to be highly dangerous, totally subversive, and irrevocably suspicious. Maybe somebody would like to graft into a developing LiveCode program, an automatic spy mechanism. I suggest that nobody answer to this e-mail, especially those who could conceive of a way to do it. Confused -Francis From pmbrig at gmail.com Sat Mar 29 11:01:32 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 29 Mar 2014 11:01:32 -0400 Subject: 7.0 Issues In-Reply-To: <6B9ABBB0-70EE-43E6-9649-139DFA27ED56@iotecdigital.com> References: <532CA6A1.1030908@runrev.com> <532CA925.90505@gmail.com> <532CB911.8030100@runrev.com> <6B9ABBB0-70EE-43E6-9649-139DFA27ED56@iotecdigital.com> Message-ID: <56CB9E89-BB21-41D0-AFC6-D6FF8C0EFE29@gmail.com> On Mar 28, 2014, at 7:51 PM, Bob Sneidar wrote: > Not sure about the inserting of pages, but you can store and ?reassemble? a pdf by opening it as read binary, reading it into a variable, then saving the variable either as a property or stored in a database, or even encrypted in a file on the HD. (Not sure what the app would be for that?) I?ve often thought of storing my PDF forms in a database this way instead of on the HD. Richard Gaskin's fwPack/fwUnPack functions make this easy. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ------------- function fwPack pData, pPassword, pEncryptionMethod -- fwPack/fwUnPack -- based on routines by Richard Gaskin, Fourth World Software -- Generic functions for packing data for Internet transmission or storage, -- with an optional modest level of password-protected security. -- -- In the simplest form, fwPack() compresses data with gzip and -- then encods it with Base64 for robust storage or transmission. -- -- Data can be optionally protected by supplying a password and -- an encryption method to the fwPack() function, -- and subsequently the same password to the fwUnPack() function -- pEncryptionMethod = "00" -- no encryption, just compress it -- pEncryptionMethod = "01" uses MD5digest -- fast but only moderately secure -- pEncryptionMethod = "02" uses SHA1digest -- more secure. However: -- DO NOT USE THIS ALGORITHM IF YOU REQUIRE INDUSTRIAL-STRENGTH ENCRYPTION. -- if no password supplied, defaults to no encryption -- if password supplied but no encryption method specified, -- defaults to MD5digest if LC version < 4.6 -- otherwise defaults to SHA1digest -- inverse function is fwUnPack() -- requires fwUnpack(), _doXor() -- _doXor() is a private function if pPassword is empty then put "00" into pEncryptionMethod -- no encryption else if pEncryptionMethod = empty then -- password supplied but pEncryptionMethod unspecified, -- default to SHA1digest if possible: put the version into tVersion replace "." with empty in tVersion put "." after char 1 of tVersion put tVersion >= 4.6 into canUseSHA -- SHA1 only available with LC ? 4.6 if canUseSHA then put "02" into pEncryptionMethod else put "01" into pEncryptionMethod end if end if switch pEncryptionMethod case "00" -- just compress: put compress(pData) into dataOut break case "01" -- compress then scramble with MD5-encrypted password: put compress(pData) into pData put md5digest(pPassword) into tKeyString put _doXor(pData,tKeyString) into dataOut break case "02" -- compress then scramble with SHA1-encrypted password: put compress(pData) into pData put sha1digest(pPassword) into tKeyString put _doXor(pData,tKeyString) into dataOut break end switch -- mark with encryption method: put pEncryptionMethod before dataOut -- Convert to common low ASCII: return base64encode(dataOut) end fwPack function fwUnPack pData, pPassword -- fwPack/fwUnPack -- based on routines by Richard Gaskin, Fourth World Software -- Generic functions for packing data for robust internet transmission or storage, -- with an optional modest level of password-protected security. -- -- fwPack() compresses data with gzip, optionally encrypts it with a password, -- then encodes it with Base64. -- -- fwUnPack() will unpack (and decrypt as needed) data compressed with fwPack() -- requires fwPack(), _doXor() -- _doXor() is a private function -- Convert from base64 back to binary: put base64decode(pData) into pData -- Check and remove password-protection flag: put char 1 to 2 of pData into tEncryptionMethod delete char 1 to 2 of pData -- switch case tEncryptionMethod = "00" --no encryption put pData into dataOut break case tEncryptionMethod = "01" -- MD5 -- Get MD5 digest: put md5digest(pPassword) into tKeyString put _doXor(pData,tKeyString) into dataOut break case tEncryptionMethod = "02" -- SHA1 -- get SHA1 digest try put sha1digest(pPassword) into tKeyString catch tErr answer "You must be running LiveCode version 4.6 or higher!" as sheet exit to top end try put _doXor(pData,tKeyString) into dataOut break end switch -- Attempt to decompress data, throwing an error if not valid: try put decompress(dataOut) into clearData catch errNo answer "Wrong password" as sheet exit to top end try return clearData end fwUnPack private function _doXor pData,tKeyString -- utility function for fwPack(), fwUnPack() put len(tKeyString) into tKeyStringLen put 0 into i put empty into dataOut repeat for each char k in pData add 1 to i put char (i wrap tKeyStringLen) of tKeyString into tKeyChar put numtochar(chartonum(k) bitxor chartonum(tKeyChar)) after dataOut end repeat return dataOut end _doXor From prothero at earthednet.org Sat Mar 29 11:19:56 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 29 Mar 2014 08:19:56 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: Message-ID: Folks, Unfortunately, invisibly sending information about your online activities is a common situation. We don't expect it in standalone apps, but who deals only with standalone these days? I know of no other environment where I am presented with at least several attempts, per day, to do something (click a link, get a "reward", etc) that will compromise the security of my computer, or my financial activities. It's an appalling situation, and most of us know how to minimize the risks, but I do find it disconcerting that there is so much information about me floating around. Bill William Prothero http://es.earthednet.org > On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon wrote: > > Hi from Beautiful Brittany, > > I don?t want to quibble, but the request in this e-mail would > seem to me to be highly dangerous, totally subversive, > and irrevocably suspicious. > > Maybe somebody would like to graft into a developing > LiveCode program, an automatic spy mechanism. > > I suggest that nobody answer to this e-mail, especially > those who could conceive of a way to do it. > > Confused > > -Francis > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Mar 29 11:36:34 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 29 Mar 2014 11:36:34 -0400 (EDT) Subject: Kill a handler In-Reply-To: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> Message-ID: <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> To break into your loop so that an external control can, er, take control, add this line as appropriate inside your loop(s): wait 0 with messages This will let the handler look outside itself for a brief instant, so that a mouseUp message can be generated by that "cancel" button. You do know that cmd-period will abort any running hsndler, right? Craig Newman -----Original Message----- From: Nakia Brewer To: How to use LiveCode Sent: Sat, Mar 29, 2014 5:45 am Subject: Kill a handler Hi, Is there a way u can kill a handler that is currently running (has long loops on it so runs a while). I am building a desktop version of the mobileActivity indicator and want to add a cancel button so it can cancel any current operation within the program... Sent from my iPhone COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode 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 m.schonewille at economy-x-talk.com Sat Mar 29 11:44:07 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 29 Mar 2014 16:44:07 +0100 Subject: Kill a handler In-Reply-To: <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> Message-ID: <5336EA47.6010702@economy-x-talk.com> Hi, Really, I don't remember when I used control-period successfully for the last time. Whenever I need to to stop an indefinitely running loop, I have to kill the entire IDE. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/29/2014 16:36, dunbarx at aol.com wrote: > To break into your loop so that an external control can, er, take control, add this line as appropriate inside your loop(s): > > > wait 0 with messages > > > This will let the handler look outside itself for a brief instant, so that a mouseUp message can be generated by that "cancel" button. > > > You do know that cmd-period will abort any running hsndler, right? > > > Craig Newman > > From dunbarx at aol.com Sat Mar 29 11:53:55 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 29 Mar 2014 11:53:55 -0400 (EDT) Subject: Kill a handler In-Reply-To: <5336EA47.6010702@economy-x-talk.com> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> Message-ID: <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> Mark. I do this all the time. Somehow I never seem to get my gadgets running perfectly the first time. Not sure why this is. But I never have a problem with cmd-period. What happens to you? Craig -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Sat, Mar 29, 2014 11:45 am Subject: Re: Kill a handler Hi, Really, I don't remember when I used control-period successfully for the last time. Whenever I need to to stop an indefinitely running loop, I have to kill the entire IDE. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/29/2014 16:36, dunbarx at aol.com wrote: > To break into your loop so that an external control can, er, take control, add this line as appropriate inside your loop(s): > > > wait 0 with messages > > > This will let the handler look outside itself for a brief instant, so that a mouseUp message can be generated by that "cancel" button. > > > You do know that cmd-period will abort any running hsndler, right? > > > 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 scott at tactilemedia.com Sat Mar 29 12:53:13 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 29 Mar 2014 09:53:13 -0700 Subject: Kill a handler In-Reply-To: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> Message-ID: <984AE433-45E3-430A-BEA5-8C4B0340208F@tactilemedia.com> One way to do this if you can is to move the looping portion/s of your current handler to a separate handler that loops using "send in", along with a variable check. Something like local allowMonitor command monitorProcess if allowMonitor is false then exit monitorProcess do monitor stuff send "monitorProcess" to me in 50 millisecs end monitorProcess When the user presses your cancel button, change the value of allowMonitor to false. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Mar 29, 2014, at 2:43 AM, Nakia Brewer wrote: > > Hi, > > Is there a way u can kill a handler that is currently running (has long loops on it so runs a while). > > I am building a desktop version of the mobileActivity indicator and want to add a cancel button so it can cancel any current operation within the program... > > > > Sent from my iPhone > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 userev at canelasoftware.com Sat Mar 29 13:03:54 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 29 Mar 2014 10:03:54 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: Message-ID: <4BCF87C8-714C-49BA-B3E8-60BD56CEF1D9@canelasoftware.com> On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > I don?t want to quibble, but the request in this e-mail would > seem to me to be highly dangerous, totally subversive, > and irrevocably suspicious. > > Maybe somebody would like to graft into a developing > LiveCode program, an automatic spy mechanism. > > I suggest that nobody answer to this e-mail, especially > those who could conceive of a way to do it. > > Confused All tools can be used for either evil or good. In this case, Richard Miller has been a member of this community for as long as I can remember. The knowledge he seeks is easily obtained from very simple google searches. I happen to have a solution that might save him the time and effort of tooling around to get it right. I understand the need for the tool he is making and see no problems with helping him to get things working. Richard?s tool is for a company network of computers under their control. If this technology was to be used on computers outside the control of the company, it is common to notify the user at least once that this is taking place via a dialog, preference setting, and EULA. What I find technologically interesting is that LiveCode has progressed to a point that developers can now make tools in new markets to solve problems we could not do previously. Canela has developed a technology we lovingly refer to as minions for our office use. These light applications run silently in the background providing our software the ability to process data in a distributed fashion. This increases our productivity, which in turn increases the productive of the users of our products and services. They can be installed on every computer in our company wide network to do good. I foresee a time in the near future where we will use them in the software we provide to our customers to make our applications download updates and perform long calculations in the background. These tasks today either interrupt our users and/or degrade their experience. These silent applications work on separate threads of any modern CPU and make our offering more attractive than our competitors. You can see the value of the minions in one of the RunRev conference videos from Atlanta circa 2012. Skip to about the middle of my presentation and see what these little guys can do. Is Richard?s work any different? Best regards, Mark Talluto canelasoftware.com From wow at together.net Sat Mar 29 14:29:58 2014 From: wow at together.net (Richard Miller) Date: Sat, 29 Mar 2014 14:29:58 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <4BCF87C8-714C-49BA-B3E8-60BD56CEF1D9@canelasoftware.com> References: <4BCF87C8-714C-49BA-B3E8-60BD56CEF1D9@canelasoftware.com> Message-ID: <53371126.4000307@together.net> "In this case, Richard Miller has been a member of this community for as long as I can remember." Thanks for mentioning this, Mark. Perhaps some were not aware of this. I would NEVER create software that was not of high ethical standards. In this case, my app can help save all the data on the users computer by predicting a hard drive or software failure in advance. Kinda useful, I think. Richard Miller On 3/29/14 1:03 PM, Mark Talluto wrote: > On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon wrote: > >> Hi from Beautiful Brittany, >> >> I don?t want to quibble, but the request in this e-mail would >> seem to me to be highly dangerous, totally subversive, >> and irrevocably suspicious. >> >> Maybe somebody would like to graft into a developing >> LiveCode program, an automatic spy mechanism. >> >> I suggest that nobody answer to this e-mail, especially >> those who could conceive of a way to do it. >> >> Confused > > All tools can be used for either evil or good. In this case, Richard Miller has been a member of this community for as long as I can remember. The knowledge he seeks is easily obtained from very simple google searches. I happen to have a solution that might save him the time and effort of tooling around to get it right. I understand the need for the tool he is making and see no problems with helping him to get things working. > > Richard?s tool is for a company network of computers under their control. If this technology was to be used on computers outside the control of the company, it is common to notify the user at least once that this is taking place via a dialog, preference setting, and EULA. > > What I find technologically interesting is that LiveCode has progressed to a point that developers can now make tools in new markets to solve problems we could not do previously. Canela has developed a technology we lovingly refer to as minions for our office use. These light applications run silently in the background providing our software the ability to process data in a distributed fashion. This increases our productivity, which in turn increases the productive of the users of our products and services. They can be installed on every computer in our company wide network to do good. I foresee a time in the near future where we will use them in the software we provide to our customers to make our applications download updates and perform long calculations in the background. These tasks today either interrupt our users and/or degrade their experience. These silent applications work on separate threads of any modern CPU and make our offering more attractive than our competitors. > > You can see the value of the minions in one of the RunRev conference videos from Atlanta circa 2012. Skip to about the middle of my presentation and see what these little guys can do. Is Richard?s work any different? > > > Best regards, > > Mark Talluto > 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 > From pete at lcsql.com Sat Mar 29 15:36:30 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Mar 2014 12:36:30 -0700 Subject: Change to the label property in 6.7 Message-ID: I've been looking into my stacks to see how they will be affected by the change to the way the label property of an option menu works in 6.7. As long as it will still be possible to set the label of an option menu to a value that is not in its text, all should be well. Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it dies a silent death before I can even open a stack (QCC bug report entered). Can anyone confirm that the above is still possible and, if so, what value ends up in the menuHistory? This change also reminds me that I've always wondered why setting the hilitedline of a scrolling list field does not trigger a selectionChanged message. It seems analogous to setting the menuHistory of an option menu triggering a menuPick message. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From Nakia.Brewer at westrac.com.au Sat Mar 29 16:02:29 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 29 Mar 2014 20:02:29 +0000 Subject: Kill a handler In-Reply-To: <984AE433-45E3-430A-BEA5-8C4B0340208F@tactilemedia.com> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au>, <984AE433-45E3-430A-BEA5-8C4B0340208F@tactilemedia.com> Message-ID: <341106A8-8EAE-4C80-85DD-C3AF11AFA206@westrac.com.au> Thanks all, Scott, this is how I have done it in the past. Was just wondering if there was a super kill command that could achieve the same thing... Would this CMD period trick work in a windows standalone? How do i send something like that ? Is it considered a keyboard shortcut ? Sent from my iPhone > On 30 Mar 2014, at 3:54 am, "Scott Rossi" wrote: > > One way to do this if you can is to move the looping portion/s of your current handler to a separate handler that loops using "send in", along with a variable check. Something like > > local allowMonitor > command monitorProcess > if allowMonitor is false then exit monitorProcess > do monitor stuff > send "monitorProcess" to me in 50 millisecs > end monitorProcess > > When the user presses your cancel button, change the value of allowMonitor to false. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Mar 29, 2014, at 2:43 AM, Nakia Brewer wrote: >> >> Hi, >> >> Is there a way u can kill a handler that is currently running (has long loops on it so runs a while). >> >> I am building a desktop version of the mobileActivity indicator and want to add a cancel button so it can cancel any current operation within the program... >> >> >> >> Sent from my iPhone >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From m.schonewille at economy-x-talk.com Sat Mar 29 16:24:05 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 29 Mar 2014 21:24:05 +0100 Subject: Kill a handler In-Reply-To: <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> Message-ID: <53372BE5.1050206@economy-x-talk.com> Craig, When I do a simple test, like repeat forever put the seconds end repeat it works, but when I am in the middle of a project, testing a handler that gets caught up in an endless loop and forgot to save for a few hours, it never works. I have no idea why it doesn't. There must be going on with handlers that are more complicated or that require more CPU power. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/29/2014 16:53, dunbarx at aol.com wrote: > Mark. > > > I do this all the time. Somehow I never seem to get my gadgets running perfectly the first time. Not sure why this is. > > > But I never have a problem with cmd-period. What happens to you? > > > Craig > From Nakia.Brewer at westrac.com.au Sat Mar 29 16:41:39 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 29 Mar 2014 20:41:39 +0000 Subject: Advice of cheap/free online server Message-ID: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> Hi, I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) Any advice someone might have would be appreciated... Sent from my iPhone COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From paulhibbert at mac.com Sat Mar 29 17:01:33 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 29 Mar 2014 14:01:33 -0700 Subject: Change to the label property in 6.7 In-Reply-To: References: Message-ID: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> Pete, It looks like this is OK as far as I can see. I just ran a quick test: 1 x Option Menu (Default settings) Script: on menuPick put the menuHistory of me into fld 3 end menuPick 1 x Button "Test" Script: on mouseDown put the menuHistory of btn 1 into fld 1 end mouseDown on mouseUp set the label of btn 1 to "Test" put the menuHistory of btn 1 into fld 2 end mouseUp 3 x Field The result in all 3 fields was the same after pressing the "Test" button, whichever option was chosen last using the optionMenu was the reported menuHistory. The result was identical to LC 6.6 HTH Paul On 2014-03-29, at 12:36 PM, Peter Haworth wrote: > I've been looking into my stacks to see how they will be affected by the > change to the way the label property of an option menu works in 6.7. > > As long as it will still be possible to set the label of an option menu to > a value that is not in its text, all should be well. > > Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it dies > a silent death before I can even open a stack (QCC bug report entered). Can > anyone confirm that the above is still possible and, if so, what value ends > up in the menuHistory? > > This change also reminds me that I've always wondered why setting the > hilitedline of a scrolling list field does not trigger a selectionChanged > message. It seems analogous to setting the menuHistory of an option menu > triggering a menuPick message. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 29 17:03:02 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Mar 2014 14:03:02 -0700 Subject: Advice of cheap/free online server In-Reply-To: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> Message-ID: <53373506.4020304@fourthworld.com> Nakia Brewer wrote: > I want to learn how to use LC server scripts (try and improve my > knowledge and progress my learning) but currently don't have access > to a web-server. > > Can some offer some advice for cheap (best free) web server space > that I could use to do some testing.. The best server for learning is also the cheapest: an old PC you've retired sitting in your garage. If you have a computer you're not using, just about any x86 made in the last several years will run Linux/Apache/MySQL/LiveCode Server just fine. All the software you need is free. I like Ubuntu Server myself, since the size of the community makes it very easy to find help for. With a test server in your own office you have the freedom to explore without having to worry about disrupting dozens of other users on a shared host. You'll have to learn a bit more, but that's the reason you want to do this anyway, yes? The things you'll learn will definitely be very valuable no matter what type of hosting you later use for deployment. And with your own computer you can have something no hosted server can provide: a GUI. On older machines Lubuntu runs very well. I use it on my development server, along with Apache, ownCloud, and other goodies. I've learned a lot in the process, and it's paid off well with the sites I host on publicly-accessible servers. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From green.rodney at gmail.com Sat Mar 29 18:07:27 2014 From: green.rodney at gmail.com (Rodney Green) Date: Sat, 29 Mar 2014 18:07:27 -0400 Subject: Advice of cheap/free online server In-Reply-To: <53373506.4020304@fourthworld.com> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <53373506.4020304@fourthworld.com> Message-ID: Have you looked at the back-end as a service offerings such as parse.com? They have a free level. On Sat, Mar 29, 2014 at 5:03 PM, Richard Gaskin wrote: > Nakia Brewer wrote: > > > I want to learn how to use LC server scripts (try and improve my > > knowledge and progress my learning) but currently don't have access > > to a web-server. > > > > Can some offer some advice for cheap (best free) web server space > > that I could use to do some testing.. > > The best server for learning is also the cheapest: an old PC you've > retired sitting in your garage. > > If you have a computer you're not using, just about any x86 made in the > last several years will run Linux/Apache/MySQL/LiveCode Server just fine. > > All the software you need is free. > > I like Ubuntu Server myself, since the size of the community makes it very > easy to find help for. > > With a test server in your own office you have the freedom to explore > without having to worry about disrupting dozens of other users on a shared > host. > > You'll have to learn a bit more, but that's the reason you want to do this > anyway, yes? The things you'll learn will definitely be very valuable no > matter what type of hosting you later use for deployment. > > And with your own computer you can have something no hosted server can > provide: a GUI. > > On older machines Lubuntu runs very well. I use it on my development > server, along with Apache, ownCloud, and other goodies. > > I've learned a lot in the process, and it's paid off well with the sites I > host on publicly-accessible servers. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Sat Mar 29 18:12:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Mar 2014 15:12:18 -0700 Subject: Change to the label property in 6.7 In-Reply-To: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> Message-ID: Thanks Paul. I'm a little concerned about what happens in your mouseUp handler if I'm understanding it correctly. If "Test" doesn't exist in the button, I would have expected the menuHistory to be zero or empty or something to indicate that the label doesn't exist in the text of the button. Also a bit puzzled by the last sentence since setting the label in 6.6 shouldn't change the menuHistory, although maybe that's related to my first concern. ANyway, thanks for checking it out. I think I will download 6.7 to my Windows box and see if I can get it to run there. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 29, 2014 at 2:01 PM, Paul Hibbert wrote: > Pete, > > It looks like this is OK as far as I can see. I just ran a quick test: > > 1 x Option Menu (Default settings) > Script: > on menuPick > put the menuHistory of me into fld 3 > end menuPick > > 1 x Button "Test" > Script: > on mouseDown > put the menuHistory of btn 1 into fld 1 > end mouseDown > > on mouseUp > set the label of btn 1 to "Test" > put the menuHistory of btn 1 into fld 2 > end mouseUp > > 3 x Field > > The result in all 3 fields was the same after pressing the "Test" button, > whichever option was chosen last using the optionMenu was the reported > menuHistory. > > The result was identical to LC 6.6 > > HTH > > Paul > > > On 2014-03-29, at 12:36 PM, Peter Haworth wrote: > > > I've been looking into my stacks to see how they will be affected by the > > change to the way the label property of an option menu works in 6.7. > > > > As long as it will still be possible to set the label of an option menu > to > > a value that is not in its text, all should be well. > > > > Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it > dies > > a silent death before I can even open a stack (QCC bug report entered). > Can > > anyone confirm that the above is still possible and, if so, what value > ends > > up in the menuHistory? > > > > This change also reminds me that I've always wondered why setting the > > hilitedline of a scrolling list field does not trigger a selectionChanged > > message. It seems analogous to setting the menuHistory of an option menu > > triggering a menuPick message. > > > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 pete at lcsql.com Sat Mar 29 19:06:58 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Mar 2014 16:06:58 -0700 Subject: Dialog freezes app on Windows after sleep In-Reply-To: <53363FE7.7090408@hyperactivesw.com> References: <53363B37.6090302@hyperactivesw.com> <53363FE7.7090408@hyperactivesw.com> Message-ID: On Fri, Mar 28, 2014 at 8:37 PM, J. Landman Gay wrote: > I don't have Windows 8 here to try it on but if anyone else wants to test, > I'd love to hear what happens. Just type "ask password hello" in the > message box and walk away until the computer sleeps. Then see what happens. > We're using LiveCode 6.6, btw. Tried this in 6.6 and 6.7 on Window' 8. I didn't get a hang in either case, but when the computer awoke, the ask dialog had disappeared in both cases. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From larry at significantplanet.org Sat Mar 29 19:13:45 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 29 Mar 2014 17:13:45 -0600 Subject: Dialog freezes app on Windows after sleep References: <53363B37.6090302@hyperactivesw.com><53363FE7.7090408@hyperactivesw.com> Message-ID: <22CF76B79D0A4B7F93EF8155EF46CFDB@userd204a4d61c> I'm using 6.1.1 Community on XP Service Pack 3. I routinely have the IDE freeze up and I cannot do anything - including not being able to save. Any ideas on that? ----- Original Message ----- From: "Peter Haworth" To: "How to use LiveCode" Sent: Saturday, March 29, 2014 5:06 PM Subject: Re: Dialog freezes app on Windows after sleep > On Fri, Mar 28, 2014 at 8:37 PM, J. Landman Gay > wrote: > >> I don't have Windows 8 here to try it on but if anyone else wants to >> test, >> I'd love to hear what happens. Just type "ask password hello" in the >> message box and walk away until the computer sleeps. Then see what >> happens. >> We're using LiveCode 6.6, btw. > > > Tried this in 6.6 and 6.7 on Window' 8. I didn't get a hang in either > case, but when the computer awoke, the ask dialog had disappeared in both > cases. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 29 19:31:47 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 29 Mar 2014 16:31:47 -0700 Subject: Advice of cheap/free online server In-Reply-To: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> Message-ID: <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. Bill William Prothero http://es.earthednet.org > On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: > > Hi, > > I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. > > Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. > > Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) > > Any advice someone might have would be appreciated... > > > > Sent from my iPhone > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 29 19:33:05 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 29 Mar 2014 16:33:05 -0700 Subject: Change to the label property in 6.7 In-Reply-To: References: Message-ID: <37EDE187-E392-4385-99D5-1C8C40974D21@earthednet.org> Didn't the release notes say it wouldn't run on lion anymore? Bill William Prothero http://es.earthednet.org > On Mar 29, 2014, at 12:36 PM, Peter Haworth wrote: > > I've been looking into my stacks to see how they will be affected by the > change to the way the label property of an option menu works in 6.7. > > As long as it will still be possible to set the label of an option menu to > a value that is not in its text, all should be well. > > Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it dies > a silent death before I can even open a stack (QCC bug report entered). Can > anyone confirm that the above is still possible and, if so, what value ends > up in the menuHistory? > > This change also reminds me that I've always wondered why setting the > hilitedline of a scrolling list field does not trigger a selectionChanged > message. It seems analogous to setting the menuHistory of an option menu > triggering a menuPick message. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Sat Mar 29 19:37:49 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Mar 2014 16:37:49 -0700 Subject: Change to the label property in 6.7 In-Reply-To: References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> Message-ID: Just ran some tests on this on Windows 8. It seems to work as advertised. However I think what happens to the menuHistroy when you set the label to a non existent value is incorrect. In that circumstance, the menuHistory is unchanged which is inconsistant with what happens if you set the menuHistory using lineOffset with a value that doesn't exist, which results in the menuHistory being set to 1. I have to admit that I'm really concerned with the increasing frequency of changes that are being made to the behavior of various entities without regard to backwards compatibility. I don;t disagree that the new way that the label property woks makes more sense, but I am still going through my code to figure out if the change will screw anything up. It causes too many people too many problems to change the way things work. If there is a good reason to have something work differently then there should be a new name for it or an adjective applied to the old way to make it work the new way. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 29, 2014 at 3:12 PM, Peter Haworth wrote: > Thanks Paul. I'm a little concerned about what happens in your mouseUp > handler if I'm understanding it correctly. If "Test" doesn't exist in the > button, I would have expected the menuHistory to be zero or empty or > something to indicate that the label doesn't exist in the text of the > button. > > Also a bit puzzled by the last sentence since setting the label in 6.6 > shouldn't change the menuHistory, although maybe that's related to my first > concern. > > ANyway, thanks for checking it out. I think I will download 6.7 to my > Windows box and see if I can get it to run there. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Sat, Mar 29, 2014 at 2:01 PM, Paul Hibbert wrote: > >> Pete, >> >> It looks like this is OK as far as I can see. I just ran a quick test: >> >> 1 x Option Menu (Default settings) >> Script: >> on menuPick >> put the menuHistory of me into fld 3 >> end menuPick >> >> 1 x Button "Test" >> Script: >> on mouseDown >> put the menuHistory of btn 1 into fld 1 >> end mouseDown >> >> on mouseUp >> set the label of btn 1 to "Test" >> put the menuHistory of btn 1 into fld 2 >> end mouseUp >> >> 3 x Field >> >> The result in all 3 fields was the same after pressing the "Test" button, >> whichever option was chosen last using the optionMenu was the reported >> menuHistory. >> >> The result was identical to LC 6.6 >> >> HTH >> >> Paul >> >> >> On 2014-03-29, at 12:36 PM, Peter Haworth wrote: >> >> > I've been looking into my stacks to see how they will be affected by the >> > change to the way the label property of an option menu works in 6.7. >> > >> > As long as it will still be possible to set the label of an option menu >> to >> > a value that is not in its text, all should be well. >> > >> > Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it >> dies >> > a silent death before I can even open a stack (QCC bug report entered). >> Can >> > anyone confirm that the above is still possible and, if so, what value >> ends >> > up in the menuHistory? >> > >> > This change also reminds me that I've always wondered why setting the >> > hilitedline of a scrolling list field does not trigger a >> selectionChanged >> > message. It seems analogous to setting the menuHistory of an option >> menu >> > triggering a menuPick message. >> > >> > >> > Pete >> > lcSQL Software >> > Home of lcStackBrowser and >> > SQLiteAdmin >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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 pete at lcsql.com Sat Mar 29 19:58:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Mar 2014 16:58:44 -0700 Subject: Change to the label property in 6.7 In-Reply-To: <37EDE187-E392-4385-99D5-1C8C40974D21@earthednet.org> References: <37EDE187-E392-4385-99D5-1C8C40974D21@earthednet.org> Message-ID: They dropped support for OSX versions earlier than 10.5.8 but I'm on 10.7.4. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 29, 2014 at 4:33 PM, Earthednet-wp wrote: > Didn't the release notes say it wouldn't run on lion anymore? > Bill > > William Prothero > http://es.earthednet.org > > > On Mar 29, 2014, at 12:36 PM, Peter Haworth wrote: > > > > I've been looking into my stacks to see how they will be affected by the > > change to the way the label property of an option menu works in 6.7. > > > > As long as it will still be possible to set the label of an option menu > to > > a value that is not in its text, all should be well. > > > > Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it > dies > > a silent death before I can even open a stack (QCC bug report entered). > Can > > anyone confirm that the above is still possible and, if so, what value > ends > > up in the menuHistory? > > > > This change also reminds me that I've always wondered why setting the > > hilitedline of a scrolling list field does not trigger a selectionChanged > > message. It seems analogous to setting the menuHistory of an option menu > > triggering a menuPick message. > > > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 jhj at jhj.com Sat Mar 29 19:59:12 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 29 Mar 2014 16:59:12 -0700 Subject: Change to the label property in 6.7 In-Reply-To: <37EDE187-E392-4385-99D5-1C8C40974D21@earthednet.org> References: <37EDE187-E392-4385-99D5-1C8C40974D21@earthednet.org> Message-ID: <7877DB3C-CE5F-4396-A27D-5410213B7F1F@jhj.com> Nope. Support for 10.5 Leopard is dropped. 10.7 Lion is still good. On Mar 29, 2014, at 4:33 PM, Earthednet-wp wrote: > Didn't the release notes say it wouldn't run on lion anymore? > Bill > > William Prothero > http://es.earthednet.org > >> On Mar 29, 2014, at 12:36 PM, Peter Haworth wrote: >> Unfortunately, I can't even run 6.7 on my computer (OSX 10.7.4) as it dies >> a silent death before I can even open a stack (QCC bug report entered). From ambassador at fourthworld.com Sat Mar 29 20:21:36 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Mar 2014 17:21:36 -0700 Subject: Change to the label property in 6.7 Message-ID: <53376390.7080507@fourthworld.com> Peter Haworth wrote: > I have to admit that I'm really concerned with the increasing > frequency of changes that are being made to the behavior of various > entities without regard to backwards compatibility. I don;t disagree > that the new way that the label property woks makes more sense, but > I am still going through my code to figure out if the change will > screw anything up. > > It causes too many people too many problems to change the way things > work. In all human affairs, change happens when the pain of changing is exceeded by the pain of not changing. :) In this case, after reading the umpteenth time someone complained that setting the label left the option control in a disjointed state that doesn't reflect for the user the appropriate item, I raised it as a question here (or maybe on the forum, can't recall), and after no one could think of a reason why they'd want the old behavior I filed an enhancement request, where it was further vetted prior to implementation: Now we have two ways to set the label of an option control, one that triggers the menuhistory message and one that doesn't, just as we've always had. The only change is that it's now much harder to create an option control that doesn't make any sense. It's true that in most years the number of language tokens that are modified is zero and this year the number is greater than zero. But only slightly so; it's very rare that old tokens are changed at all. More importantly, it's never been the case (at least as far as I've ever seen in my 17 years with this engine) that such changes are made without regard to backward compatibility. There's a lot of weird syntax remaining in the engine for precisely this reason. With your agreement that the new behavior makes better sense, it seems we're still at a complete consensus that this is an enhancement with no downside. If you find one, please file a report on it. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Mar 29 20:25:55 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Mar 2014 17:25:55 -0700 Subject: Change to the label property in 6.7 In-Reply-To: References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> Message-ID: <1231228791818.20140329172555@ahsoftware.net> Pete- Saturday, March 29, 2014, 4:37:49 PM, you wrote: > I have to admit that I'm really concerned with the increasing frequency of > changes that are being made to the behavior of various entities without > regard to backwards compatibility. Do you really need to be reminded that dp builds are released into the wild for exactly that purpose? Isn't the reason you're looking at dp1 to find out if your code is compatible? If this is going to bother you then I suggest you wait for actual released code and leave the thrashing out of bugs to someone else. I'd rather you didn't do that, though, because you seem to be good at finding these edge cases early on, which means that they can be fixed and won't be present in later releases. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pete at lcsql.com Sat Mar 29 21:23:04 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Mar 2014 18:23:04 -0700 Subject: Change to the label property in 6.7 In-Reply-To: <1231228791818.20140329172555@ahsoftware.net> References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> <1231228791818.20140329172555@ahsoftware.net> Message-ID: No reminder necessary and one of the reasons I look at dp releases is exactly what you said, to find things that aren't compatible with my code and probably other peoples' code too. And yes, it bothers me but that's not a reason to not test things. I'm simply stating my opinion about a change that I had no idea was coming. I don't disagree with the concept as I said but I also don't believe its worth breaking backward compatibility to fix it. I've already filed a bug on the issue of what happens to the menuHistory when the label is set to a non-existent value. Hopefully that won't raise too many other hackles. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Mar 29, 2014 at 5:25 PM, Mark Wieder wrote: > Pete- > > Saturday, March 29, 2014, 4:37:49 PM, you wrote: > > > I have to admit that I'm really concerned with the increasing frequency > of > > changes that are being made to the behavior of various entities without > > regard to backwards compatibility. > > Do you really need to be reminded that dp builds are released into the > wild for exactly that purpose? Isn't the reason you're looking at dp1 > to find out if your code is compatible? If this is going to bother you > then I suggest you wait for actual released code and leave the > thrashing out of bugs to someone else. I'd rather you didn't do that, > though, because you seem to be good at finding these edge cases early > on, which means that they can be fixed and won't be present in later > releases. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nakia.Brewer at westrac.com.au Sat Mar 29 21:45:56 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 30 Mar 2014 01:45:56 +0000 Subject: Advice of cheap/free online server In-Reply-To: <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au>, <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> Message-ID: <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au> Thanks everyone for these suggestions. Guess what I am doing this afternoon! Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? Guess I just need to buy a domain? Is that correct? Remember, please don't laugh... Sent from my iPhone > On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: > > Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. > Bill > > William Prothero > http://es.earthednet.org > >> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >> >> Hi, >> >> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >> >> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >> >> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >> >> Any advice someone might have would be appreciated... >> >> >> >> Sent from my iPhone >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From prothero at earthednet.org Sun Mar 30 01:58:16 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 29 Mar 2014 22:58:16 -0700 Subject: Advice of cheap/free online server In-Reply-To: <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au> Message-ID: <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> Nakia, On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... I'd be interested in hearing how the windows installation goes. Best, Bill William Prothero http://es.earthednet.org > On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: > > Thanks everyone for these suggestions. Guess what I am doing this afternoon! > > Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? > > Guess I just need to buy a domain? Is that correct? > > Remember, please don't laugh... > > > > Sent from my iPhone > >> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >> >> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>> >>> Hi, >>> >>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>> >>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>> >>> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >>> >>> Any advice someone might have would be appreciated... >>> >>> >>> >>> Sent from my iPhone >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 harryscollar.com Sun Mar 30 02:33:05 2014 From: alex at harryscollar.com (Alex Shaw) Date: Sun, 30 Mar 2014 16:33:05 +1000 Subject: Advice of cheap/free online server In-Reply-To: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> Message-ID: <5337BAA1.9060509@harryscollar.com> Hi Nakia You could setup a virtual machine on your local PC using VMware or VirtualBox and install a popular linux (server) distro like Ubuntu. It's a good learning experience. regards alex On 30/03/14 6:41 AM, Nakia Brewer wrote: > Hi, > > I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. > > Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. > > Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) > > Any advice someone might have would be appreciated... > > > > Sent from my iPhone > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nakia.Brewer at westrac.com.au Sun Mar 30 02:45:05 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 30 Mar 2014 06:45:05 +0000 Subject: Advice of cheap/free online server In-Reply-To: <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> Message-ID: <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> Okay, Thanks. I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. Am I correct with this line of thinking? Sent from my iPhone > On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: > > Nakia, > On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... > > I'd be interested in hearing how the windows installation goes. > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >> >> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >> >> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >> >> Guess I just need to buy a domain? Is that correct? >> >> Remember, please don't laugh... >> >> >> >> Sent from my iPhone >> >>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>> >>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>> >>>> Hi, >>>> >>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>> >>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>> >>>> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >>>> >>>> Any advice someone might have would be appreciated... >>>> >>>> >>>> >>>> Sent from my iPhone >>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From kevin at runrev.com Sun Mar 30 09:58:56 2014 From: kevin at runrev.com (Kevin Miller) Date: Sun, 30 Mar 2014 14:58:56 +0100 Subject: Kill a handler In-Reply-To: <53372BE5.1050206@economy-x-talk.com> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> Message-ID: There is an alternative to command-. on Mac which will often, though not always rescue you when you?re deep in handler stack you can?t break out of. Get the process ID from Activity Monitor. Then run: kill -sighup processID E.g. if LC has PID 9382: kill -sighup 9382 Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ LiveCode: Everyone can code On 29/03/2014 21:24, "Mark Schonewille" wrote: >Craig, > >When I do a simple test, like > >repeat forever > put the seconds >end repeat > >it works, but when I am in the middle of a project, testing a handler >that gets caught up in an endless loop and forgot to save for a few >hours, it never works. I have no idea why it doesn't. There must be >going on with handlers that are more complicated or that require more >CPU power. > >-- >Best regards, > >Mark Schonewille > >Economy-x-Talk Consulting and Software Engineering >Homepage: http://economy-x-talk.com >Twitter: http://twitter.com/xtalkprogrammer >KvK: 50277553 > >Installer Maker for LiveCode: >http://qery.us/468 > >Buy my new book "Programming LiveCode for the Real Beginner" >http://qery.us/3fi > >LiveCode on Facebook: >https://www.facebook.com/groups/runrev/ > >On 3/29/2014 16:53, dunbarx at aol.com wrote: >> Mark. >> >> >> I do this all the time. Somehow I never seem to get my gadgets running >>perfectly the first time. Not sure why this is. >> >> >> But I never have a problem with cmd-period. What happens to you? >> >> >> Craig >> > >_______________________________________________ >use-livecode mailing list >use-livecode 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 Mar 30 10:04:01 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 30 Mar 2014 07:04:01 -0700 Subject: Advice of cheap/free online server In-Reply-To: <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au> <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> Message-ID: Nakia, That sounds reasonable. One step at a time, tho. You'll see the way clearer after you get WAMP working on your local machine. But what you suggest seems reasonable to me. Bill William Prothero http://es.earthednet.org > On Mar 29, 2014, at 11:45 PM, Nakia Brewer wrote: > > Okay, > > Thanks. > I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. > > Am I correct with this line of thinking? > > > Sent from my iPhone > >> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >> >> Nakia, >> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >> >> I'd be interested in hearing how the windows installation goes. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>> >>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>> >>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>> >>> Guess I just need to buy a domain? Is that correct? >>> >>> Remember, please don't laugh... >>> >>> >>> >>> Sent from my iPhone >>> >>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>> >>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>> >>>>> Hi, >>>>> >>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>> >>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>> >>>>> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >>>>> >>>>> Any advice someone might have would be appreciated... >>>>> >>>>> >>>>> >>>>> Sent from my iPhone >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 30 10:49:31 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sun, 30 Mar 2014 16:49:31 +0200 Subject: Advice of cheap/free online server In-Reply-To: <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> Message-ID: Hi Nakia, you only would need a domain name if you want to make your ?server? accessible from the internet. And even then you do not need a domain. If you have a static ip from your isp you could use these ip address to connect to the server. Or if you have a dynamic ip address from your isp you could use a free dynamic dns service where you let your server automatically update that ip every time you get a new one from your isp. Matthias Am 30.03.2014 um 08:45 schrieb Nakia Brewer : > Okay, > > Thanks. > I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. > > Am I correct with this line of thinking? > > > Sent from my iPhone > >> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >> >> Nakia, >> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >> >> I'd be interested in hearing how the windows installation goes. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>> >>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>> >>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>> >>> Guess I just need to buy a domain? Is that correct? >>> >>> Remember, please don't laugh... >>> >>> >>> >>> Sent from my iPhone >>> >>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>> >>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>> >>>>> Hi, >>>>> >>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>> >>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>> >>>>> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >>>>> >>>>> Any advice someone might have would be appreciated... >>>>> >>>>> >>>>> >>>>> Sent from my iPhone >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 30 11:11:06 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 30 Mar 2014 11:11:06 -0400 Subject: Kill a handler In-Reply-To: References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> Message-ID: We don't want to kill the IDE, just stop the handler that is stuck in a loop. The kill command would still lose all unsaved work. ~Roger Sent from my Android tablet On Mar 30, 2014 10:00 AM, "Kevin Miller" wrote: > There is an alternative to command-. on Mac which will often, though not > always rescue you when you?re deep in handler stack you can?t break out of. > > Get the process ID from Activity Monitor. Then run: > > kill -sighup processID > > > E.g. if LC has PID 9382: > > kill -sighup 9382 > > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ > LiveCode: Everyone can code > > > > > On 29/03/2014 21:24, "Mark Schonewille" > wrote: > > >Craig, > > > >When I do a simple test, like > > > >repeat forever > > put the seconds > >end repeat > > > >it works, but when I am in the middle of a project, testing a handler > >that gets caught up in an endless loop and forgot to save for a few > >hours, it never works. I have no idea why it doesn't. There must be > >going on with handlers that are more complicated or that require more > >CPU power. > > > >-- > >Best regards, > > > >Mark Schonewille > > > >Economy-x-Talk Consulting and Software Engineering > >Homepage: http://economy-x-talk.com > >Twitter: http://twitter.com/xtalkprogrammer > >KvK: 50277553 > > > >Installer Maker for LiveCode: > >http://qery.us/468 > > > >Buy my new book "Programming LiveCode for the Real Beginner" > >http://qery.us/3fi > > > >LiveCode on Facebook: > >https://www.facebook.com/groups/runrev/ > > > >On 3/29/2014 16:53, dunbarx at aol.com wrote: > >> Mark. > >> > >> > >> I do this all the time. Somehow I never seem to get my gadgets running > >>perfectly the first time. Not sure why this is. > >> > >> > >> But I never have a problem with cmd-period. What happens to you? > >> > >> > >> Craig > >> > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode 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 dunbarx at aol.com Sun Mar 30 11:25:01 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 30 Mar 2014 11:25:01 -0400 (EDT) Subject: Kill a handler In-Reply-To: References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> Message-ID: <8D11A435A276974-688-892F@webmail-vm018.sysops.aol.com> Didn't you try: wait 0 with messages ?? -----Original Message----- From: Roger Eller To: How to use LiveCode Sent: Sun, Mar 30, 2014 11:11 am Subject: Re: Kill a handler We don't want to kill the IDE, just stop the handler that is stuck in a loop. The kill command would still lose all unsaved work. ~Roger Sent from my Android tablet On Mar 30, 2014 10:00 AM, "Kevin Miller" wrote: > There is an alternative to command-. on Mac which will often, though not > always rescue you when you?re deep in handler stack you can?t break out of. > > Get the process ID from Activity Monitor. Then run: > > kill -sighup processID > > > E.g. if LC has PID 9382: > > kill -sighup 9382 > > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ > LiveCode: Everyone can code > > > > > On 29/03/2014 21:24, "Mark Schonewille" > wrote: > > >Craig, > > > >When I do a simple test, like > > > >repeat forever > > put the seconds > >end repeat > > > >it works, but when I am in the middle of a project, testing a handler > >that gets caught up in an endless loop and forgot to save for a few > >hours, it never works. I have no idea why it doesn't. There must be > >going on with handlers that are more complicated or that require more > >CPU power. > > > >-- > >Best regards, > > > >Mark Schonewille > > > >Economy-x-Talk Consulting and Software Engineering > >Homepage: http://economy-x-talk.com > >Twitter: http://twitter.com/xtalkprogrammer > >KvK: 50277553 > > > >Installer Maker for LiveCode: > >http://qery.us/468 > > > >Buy my new book "Programming LiveCode for the Real Beginner" > >http://qery.us/3fi > > > >LiveCode on Facebook: > >https://www.facebook.com/groups/runrev/ > > > >On 3/29/2014 16:53, dunbarx at aol.com wrote: > >> Mark. > >> > >> > >> I do this all the time. Somehow I never seem to get my gadgets running > >>perfectly the first time. Not sure why this is. > >> > >> > >> But I never have a problem with cmd-period. What happens to you? > >> > >> > >> Craig > >> > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode 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 ms1 at soas.ac.uk Sun Mar 30 12:04:51 2014 From: ms1 at soas.ac.uk (Muaadh Salih) Date: Sun, 30 Mar 2014 17:04:51 +0100 Subject: setProp fuvction and field text in livecode 7 Message-ID: Now we can use unicode for various text language entries and manipulation there is one ,apparent, remaining issue of setting textfont of a field : Having changed Txtalign and textfont to agree with Arabic-Hebrew language in the field, text will not be stitched until (shift-alt) is used,manually !!, to change the pc language first. Is there a way ( i am sure there might be one) of using "setProp" function to set the stack script to to change language to Hebrew, Arabic. Hindi...? ?Many thanks for every body's immense help? -- All the best ?Muaadh Salih? From jacque at hyperactivesw.com Sun Mar 30 13:04:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Mar 2014 12:04:24 -0500 Subject: Dialog freezes app on Windows after sleep In-Reply-To: References: <53363B37.6090302@hyperactivesw.com> <53363FE7.7090408@hyperactivesw.com> Message-ID: <53384E98.2090008@hyperactivesw.com> On 3/29/14, 6:06 PM, Peter Haworth wrote: > I didn't get a hang in either > case, but when the computer awoke, the ask dialog had disappeared in both > cases. Thanks Pete, appreciate the test. Odd that the dialog disappears, I wouldn't have expected that. In any case, that's another reason I shouldn't put up any dialog. Whether it hangs or disappears, it isn't serving its purpose. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 30 13:06:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Mar 2014 12:06:46 -0500 Subject: Dialog freezes app on Windows after sleep In-Reply-To: <22CF76B79D0A4B7F93EF8155EF46CFDB@userd204a4d61c> References: <53363B37.6090302@hyperactivesw.com><53363FE7.7090408@hyperactivesw.com> <22CF76B79D0A4B7F93EF8155EF46CFDB@userd204a4d61c> Message-ID: <53384F26.7070709@hyperactivesw.com> On 3/29/14, 6:13 PM, larry at significantplanet.org wrote: > I'm using 6.1.1 Community on XP Service Pack 3. > I routinely have the IDE freeze up and I cannot do anything - including > not being able to save. > Any ideas on that? Not really, but the most stable version in the 6.1 series is 6.1.2 which I still use quite a bit for older stacks. You could try that. There was a known issue with 6.6 freezing and that's been fixed in 6.7 so that may be another version you'd want to move to. If it always happens in the same handler or stack, it would point to something in the scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 30 13:55:30 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Mar 2014 12:55:30 -0500 Subject: Kill a handler In-Reply-To: References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> Message-ID: <53385A92.8020309@hyperactivesw.com> On 3/30/14, 8:58 AM, Kevin Miller wrote: > There is an alternative to command-. on Mac which will often, though not > always rescue you when you?re deep in handler stack you can?t break out of. > > Get the process ID from Activity Monitor. Then run: > > kill -sighup processID > > > E.g. if LC has PID 9382: > > kill -sighup 9382 Thanks for this. I just looked it up and apparently this command just attempts to reset the app without killing it entirely. I'm certainly going to try it the next time the IDE gets into one of its loops while debugging. Larry: I was assuming your hangs happen during run time, which I almost never see. But I do see them occasionally while stepping through the debugger, and it's most ofen caused by the background IDE scripts getting into a loop. If this terminal command can break out of those situations then it's a very welcome thing to know. It's my understanding that eventually RR would like to disassociate the IDE scripts from our own so that these loops won't affect our work. That's probably a ways off, but it will be good when it happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Sun Mar 30 14:12:08 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 30 Mar 2014 11:12:08 -0700 Subject: Advice of cheap/free online server In-Reply-To: References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> Message-ID: <53385E78.7030102@pdslabs.net> If you're planning to make your server accessible over the internet... Dynamic DNS solves the problem of the normally non-static IP addresses handed out by ISPs. I just recently signed up at http://duckdns.org/ so I can predictably ssh into my on-rev accounts without needing to have a whitelisted IP. On-rev support whitelisted my DDNS domain name instead (which is actually a free subdomain at duckdns.org) instead of my current IP, and now all is right with the world. At least that world. Phil Davis On 3/30/14, 7:49 AM, Matthias Rebbe | M-R-D wrote: > Hi Nakia, > > you only would need a domain name if you want to make your ?server? accessible from the internet. And even then you do not need a domain. > If you have a static ip from your isp you could use these ip address to connect to the server. Or if you have a dynamic ip address from your isp you could use a free dynamic dns service where you let your server automatically update that ip every time you get a new one from your isp. > > Matthias > > > Am 30.03.2014 um 08:45 schrieb Nakia Brewer : > >> Okay, >> >> Thanks. >> I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. >> >> Am I correct with this line of thinking? >> >> >> Sent from my iPhone >> >>> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >>> >>> Nakia, >>> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >>> >>> I'd be interested in hearing how the windows installation goes. >>> Best, >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>>> >>>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>>> >>>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>>> >>>> Guess I just need to buy a domain? Is that correct? >>>> >>>> Remember, please don't laugh... >>>> >>>> >>>> >>>> Sent from my iPhone >>>> >>>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>>> >>>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>>> >>>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>>> >>>>>> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >>>>>> >>>>>> Any advice someone might have would be appreciated... >>>>>> >>>>>> >>>>>> >>>>>> Sent from my iPhone >>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 >>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >>> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Davis From mikedoub at gmail.com Sun Mar 30 14:11:19 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 30 Mar 2014 14:11:19 -0400 Subject: POST command question Message-ID: <8411144C-9352-42B3-868D-8F2AF544B1EF@gmail.com> Is there anything different about using the post command on live code server as compared to a mac desktop? I am trying to send mail via postmark. On my server I have the following script: I drop the stack cbEngine.livecode on my server after testing on the desktop. in this stack, I have a mouseup hander that calls the ProcessMail function with dummy data for easy debugging. Everything works as expected the desktop. The post command does it thing I get the expected response from postmark. When I move the stack to the server environment, the post command seems to do nothing and I get nothing returned at all. Can anyone provider me with any guidance? Thanks, Mike --http://developer.postmarkapp.com/developer-build.html For addtional API Information function libPostmark_SendEmail pMessageJSON get the keys of pMessageJSON if it <> empty then put arrayToJson(pMessageJSON) into outgoing else put pMessageJSON into outgoing end if set the httpHeaders to "Accept: application/json" & return \ & "Content-Type: application/json" & return \ & "X-Postmark-Server-Token: my token goes here" post outgoing to URL "https://api.postmarkapp.com/email" put jsonToArray(it) into theResults if theResults["ErrorCode"] <> 0 then return it else return true end if end libPostmark_SendEmail From paulhibbert at mac.com Sun Mar 30 14:42:35 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 30 Mar 2014 11:42:35 -0700 Subject: Change to the label property in 6.7 In-Reply-To: References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> Message-ID: <16DCF47D-CD58-4D9F-B497-0B1ECBBD9BB4@mac.com> Pete, Sorry I didn't reply sooner, I was called away just after trying this. On 2014-03-29, at 3:12 PM, Peter Haworth wrote: > Thanks Paul. I'm a little concerned about what happens in your mouseUp > handler if I'm understanding it correctly. If "Test" doesn't exist in the > button, I would have expected the menuHistory to be zero or empty or > something to indicate that the label doesn't exist in the text of the > button. "Test" didn't exist in the menu button text, and no matter what I tried, I never saw 'empty' or 'zero' in the menuHistory. As far as I can see the menuHistory is always a positive integer. > Also a bit puzzled by the last sentence since setting the label in 6.6 > shouldn't change the menuHistory, although maybe that's related to my first > concern. Maybe I didn't quite understand the original problem, but from the tests I've done so far, setting the label of an option menu doesn't affect the menuHistory in any way, also it doesn't trigger a menuPick message like setting the menuHistory does. Tested on Mac OS X 10.8.5 with LC 5.5.5 through to LC 7.0 (dp1) - All behaved exactly the same. HTH Paul From pete at lcsql.com Sun Mar 30 15:08:12 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 30 Mar 2014 12:08:12 -0700 Subject: Change to the label property in 6.7 In-Reply-To: <16DCF47D-CD58-4D9F-B497-0B1ECBBD9BB4@mac.com> References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> <16DCF47D-CD58-4D9F-B497-0B1ECBBD9BB4@mac.com> Message-ID: On Sun, Mar 30, 2014 at 11:42 AM, Paul Hibbert wrote: > Tested on Mac OS X 10.8.5 with LC 5.5.5 through to LC 7.0 (dp1) - All > behaved exactly the same. > Thanks for the follow up Paul. In 6.7, setting the label of an option menu is supposed to set the menuHistory to the related value while not generating a menuPick. In previous version, setting the label had no effect on the menuHistory. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From scott at tactilemedia.com Sun Mar 30 16:42:13 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 30 Mar 2014 13:42:13 -0700 Subject: CanCancelTouches Kills Mobile Scroller? Message-ID: Hey mobile dev folks: I'm wondering if anyone has come across an issue iOS issue of a mobile scroller becoming non-responsive if its canCancelTouches is set to false. I've been working with LC 6.5.2 and 6.5.1, and an xCode 7.0 build. Things run fine in the simulator. However, when run on a device (iPhone4s with iOS7), multiple stacks, including RunRev's original mobile scroller demo stack, exhibit the problem. As soon as canCancelTouches is set to false, the mobile scroller stops working -- no scroll indicators, an no scrolling. Setting canCancelTouches to true restores scrolling. This would seem to be a blocking problem for handing touchable controls within a scrolling group, so I wanted to find out if anyone has come across this before, and more importantly, how to get around it. I'm preparing to test LC 6.6.0 and xCode 7.1, but thanks in advance for any suggestions/confirmations. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From larry at significantplanet.org Sun Mar 30 17:01:52 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 30 Mar 2014 15:01:52 -0600 Subject: Dialog freezes app on Windows after sleep References: <53363B37.6090302@hyperactivesw.com><53363FE7.7090408@hyperactivesw.com> <22CF76B79D0A4B7F93EF8155EF46CFDB@userd204a4d61c> <53384F26.7070709@hyperactivesw.com> Message-ID: Thank you again Jacqueline for some excellent suggestions. If I install 6.1.2 and do not like it, will I have any issues going back to 6.1.1? I think it is very weird that when I install a newer version of LC, it keeps all of the old versions on my computer. But maybe that is by design for some reason I don't know about? What I mean is this: I could install 6.1.2, but then if I uninstall 6.1.2 later, will 6.1.1 still work like it did originally, or will there be some weird issues with it? Thanks, Larry ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Sunday, March 30, 2014 11:06 AM Subject: Re: Dialog freezes app on Windows after sleep > On 3/29/14, 6:13 PM, larry at significantplanet.org wrote: >> I'm using 6.1.1 Community on XP Service Pack 3. >> I routinely have the IDE freeze up and I cannot do anything - including >> not being able to save. >> Any ideas on that? > > Not really, but the most stable version in the 6.1 series is 6.1.2 which I > still use quite a bit for older stacks. You could try that. There was a > known issue with 6.6 freezing and that's been fixed in 6.7 so that may be > another version you'd want to move to. > > If it always happens in the same handler or stack, it would point to > something in the scripts. > > -- > 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 ambassador at fourthworld.com Sun Mar 30 17:11:13 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Mar 2014 14:11:13 -0700 Subject: Dialog freezes app on Windows after sleep Message-ID: Larry wrote: > I think it is very weird that when I? > install a newer version of LC, it keeps > all of the old versions on my? >?computer.? But maybe that is by? > design for some reason I don't know? > about? It's for precisely the reason we're discussing: it keeps each version separate so you can test and deploy with any specific version with ease and confidence.? Ideally this would help encourage testing of new versions as well.? Richard Gaskin Fourth World Systems http://www.FourthWorld.com From Nakia.Brewer at westrac.com.au Sun Mar 30 17:11:21 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 30 Mar 2014 21:11:21 +0000 Subject: Advice of cheap/free online server In-Reply-To: References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CAD37EF@MHSEXC02.westrac.com.au> Okay, again.. Thanks for everyone's help! I didn't get a chance to get it installed yesterday (the grass needed mowing) so hopefully tonight.. Will let you all know how I go with the Windows install.... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe | M-R-D Sent: Monday, 31 March 2014 1:50 AM To: How to use LiveCode Subject: Re: Advice of cheap/free online server Hi Nakia, you only would need a domain name if you want to make your "server" accessible from the internet. And even then you do not need a domain. If you have a static ip from your isp you could use these ip address to connect to the server. Or if you have a dynamic ip address from your isp you could use a free dynamic dns service where you let your server automatically update that ip every time you get a new one from your isp. Matthias Am 30.03.2014 um 08:45 schrieb Nakia Brewer : > Okay, > > Thanks. > I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. > > Am I correct with this line of thinking? > > > Sent from my iPhone > >> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >> >> Nakia, >> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >> >> I'd be interested in hearing how the windows installation goes. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>> >>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>> >>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>> >>> Guess I just need to buy a domain? Is that correct? >>> >>> Remember, please don't laugh... >>> >>> >>> >>> Sent from my iPhone >>> >>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>> >>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>> >>>>> Hi, >>>>> >>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>> >>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>> >>>>> Needs to be able to run LC scripts and MySQL database. I have no interest in building a website with this server. I also want to use this server to host a MySQL database that a desktop allocation will communicate to (I presume I can do this over internet? Connect to an online MySQL database from a desktop LiveCode application) >>>>> >>>>> Any advice someone might have would be appreciated... >>>>> >>>>> >>>>> >>>>> Sent from my iPhone >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Sun Mar 30 17:15:03 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 30 Mar 2014 21:15:03 +0000 Subject: Advice of cheap/free online server In-Reply-To: <53385E78.7030102@pdslabs.net> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> <53385E78.7030102@pdslabs.net> Message-ID: <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> Thanks for this. Yes, eventually I will need to make it accessible over the internet. With this method am I true in assuming I will be able to connect to the MySQL Database on my server over the internet? Sorry if this is a dumb question. I just haven't done anything with non-local databases. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Phil Davis Sent: Monday, 31 March 2014 5:12 AM To: How to use LiveCode Subject: Re: Advice of cheap/free online server If you're planning to make your server accessible over the internet... Dynamic DNS solves the problem of the normally non-static IP addresses handed out by ISPs. I just recently signed up at http://duckdns.org/ so I can predictably ssh into my on-rev accounts without needing to have a whitelisted IP. On-rev support whitelisted my DDNS domain name instead (which is actually a free subdomain at duckdns.org) instead of my current IP, and now all is right with the world. At least that world. Phil Davis On 3/30/14, 7:49 AM, Matthias Rebbe | M-R-D wrote: > Hi Nakia, > > you only would need a domain name if you want to make your "server" accessible from the internet. And even then you do not need a domain. > If you have a static ip from your isp you could use these ip address to connect to the server. Or if you have a dynamic ip address from your isp you could use a free dynamic dns service where you let your server automatically update that ip every time you get a new one from your isp. > > Matthias > > > Am 30.03.2014 um 08:45 schrieb Nakia Brewer : > >> Okay, >> >> Thanks. >> I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. >> >> Am I correct with this line of thinking? >> >> >> Sent from my iPhone >> >>> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >>> >>> Nakia, >>> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >>> >>> I'd be interested in hearing how the windows installation goes. >>> Best, >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>>> >>>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>>> >>>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>>> >>>> Guess I just need to buy a domain? Is that correct? >>>> >>>> Remember, please don't laugh... >>>> >>>> >>>> >>>> Sent from my iPhone >>>> >>>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>>> >>>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>>> >>>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>>> >>>>>> Needs to be able to run LC scripts and MySQL database. I have no >>>>>> interest in building a website with this server. I also want to >>>>>> use this server to host a MySQL database that a desktop >>>>>> allocation will communicate to (I presume I can do this over >>>>>> internet? Connect to an online MySQL database from a desktop >>>>>> LiveCode application) >>>>>> >>>>>> Any advice someone might have would be appreciated... >>>>>> >>>>>> >>>>>> >>>>>> Sent from my iPhone >>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode 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 >>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >>> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Davis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From paulhibbert at mac.com Sun Mar 30 17:35:45 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 30 Mar 2014 14:35:45 -0700 Subject: Change to the label property in 6.7 In-Reply-To: References: <7DC2D6A0-501B-45DA-9FE4-7047078A11D6@mac.com> <16DCF47D-CD58-4D9F-B497-0B1ECBBD9BB4@mac.com> Message-ID: <606FEEB1-9BC4-4A11-BDEC-D32846C5AB5B@mac.com> On 2014-03-30, at 12:08 PM, Peter Haworth wrote: > Thanks for the follow up Paul. In 6.7, setting the label of an option menu > is supposed to set the menuHistory to the related value while not > generating a menuPick. In previous version, setting the label had no > effect on the menuHistory. Ah, now I see, yes that does work, provided you set it to a label that does exist in the text of the Option Menu. However, if you set the label to something that doesn't exist in the text of the option menu then it has no effect on the menuHistory, it doesn?t set it to empty or zero, it just retains the previous value. The only other change I can see is that in LC 7.0 (dp1) setting the menuHistory to empty doesn't throw an error as it does in lower versions, it just sets the menuHistory to 1. Paul From smaclean at madmansoft.com Sun Mar 30 17:54:54 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sun, 30 Mar 2014 17:54:54 -0400 Subject: CanCancelTouches Kills Mobile Scroller? In-Reply-To: References: Message-ID: <513D3ADB-B197-4862-BF59-E9A27CE51B75@madmansoft.com> Hi Scott, While I haven't had any need to set that property, I've had to use on occasion mobileClearTouches. Typically when I'm doing something with an iOS control, it can get unresponsive and the only way to get the app responding again is to use that. Not really sure why, so not sure what to report. "Bugs" the living daylights out of me because it means you usually have to tap the screen again. Not sure this helps at all, but they might be related? Best, Steve MacLean On Mar 30, 2014, at 4:42 PM, Scott Rossi wrote: > Hey mobile dev folks: > > I'm wondering if anyone has come across an issue iOS issue of a mobile > scroller becoming non-responsive if its canCancelTouches is set to false. > > I've been working with LC 6.5.2 and 6.5.1, and an xCode 7.0 build. Things > run fine in the simulator. However, when run on a device (iPhone4s with > iOS7), multiple stacks, including RunRev's original mobile scroller demo > stack, exhibit the problem. As soon as canCancelTouches is set to false, > the mobile scroller stops working -- no scroll indicators, an no > scrolling. Setting canCancelTouches to true restores scrolling. > > This would seem to be a blocking problem for handing touchable controls > within a scrolling group, so I wanted to find out if anyone has come > across this before, and more importantly, how to get around it. > > I'm preparing to test LC 6.6.0 and xCode 7.1, but thanks in advance for > any suggestions/confirmations. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Mar 30 18:09:31 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 30 Mar 2014 23:09:31 +0100 Subject: CanCancelTouches Kills Mobile Scroller? In-Reply-To: <513D3ADB-B197-4862-BF59-E9A27CE51B75@madmansoft.com> References: , <513D3ADB-B197-4862-BF59-E9A27CE51B75@madmansoft.com> Message-ID: Scott... Can't really answer your question as it is asked... All I can say is that I always have iphoneControlSet scrollID, "delayTouches", "true" iphoneControlSet scrollID, "canCancelTouches", "true" bothe 'delayTouches' & 'canCancelTouches' set to true and never seem to have a problem with scrollers. > On Mar 30, 2014, at 4:42 PM, Scott Rossi wrote: > > > Hey mobile dev folks: > > > > I'm wondering if anyone has come across an issue iOS issue of a mobile > > scroller becoming non-responsive if its canCancelTouches is set to false. > > > > I've been working with LC 6.5.2 and 6.5.1, and an xCode 7.0 build. Things > > run fine in the simulator. However, when run on a device (iPhone4s with > > iOS7), multiple stacks, including RunRev's original mobile scroller demo > > stack, exhibit the problem. As soon as canCancelTouches is set to false, > > the mobile scroller stops working -- no scroll indicators, an no > > scrolling. Setting canCancelTouches to true restores scrolling. > > > > This would seem to be a blocking problem for handing touchable controls > > within a scrolling group, so I wanted to find out if anyone has come > > across this before, and more importantly, how to get around it. > > > > I'm preparing to test LC 6.6.0 and xCode 7.1, but thanks in advance for > > any suggestions/confirmations. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX/UI Design From revdev at pdslabs.net Sun Mar 30 18:24:00 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 30 Mar 2014 15:24:00 -0700 Subject: Advice of cheap/free online server In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> <53385E78.7030102@pdslabs.net> <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> Message-ID: <53389980.4080803@pdslabs.net> Good question! I don't know the answer but it seems plausible to me that it would work. Phil On 3/30/14, 2:15 PM, Nakia Brewer wrote: > Thanks for this. > > Yes, eventually I will need to make it accessible over the internet. > With this method am I true in assuming I will be able to connect to the MySQL Database on my server over the internet? > > Sorry if this is a dumb question. I just haven't done anything with non-local databases. > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Phil Davis > Sent: Monday, 31 March 2014 5:12 AM > To: How to use LiveCode > Subject: Re: Advice of cheap/free online server > > If you're planning to make your server accessible over the internet... > Dynamic DNS solves the problem of the normally non-static IP addresses handed out by ISPs. I just recently signed up at http://duckdns.org/ so I can predictably ssh into my on-rev accounts without needing to have a whitelisted IP. On-rev support whitelisted my DDNS domain name instead (which is actually a free subdomain at duckdns.org) instead of my current IP, and now all is right with the world. At least that world. > > Phil Davis > > > On 3/30/14, 7:49 AM, Matthias Rebbe | M-R-D wrote: >> Hi Nakia, >> >> you only would need a domain name if you want to make your "server" accessible from the internet. And even then you do not need a domain. >> If you have a static ip from your isp you could use these ip address to connect to the server. Or if you have a dynamic ip address from your isp you could use a free dynamic dns service where you let your server automatically update that ip every time you get a new one from your isp. >> >> Matthias >> >> >> Am 30.03.2014 um 08:45 schrieb Nakia Brewer : >> >>> Okay, >>> >>> Thanks. >>> I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. >>> >>> Am I correct with this line of thinking? >>> >>> >>> Sent from my iPhone >>> >>>> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >>>> >>>> Nakia, >>>> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >>>> >>>> I'd be interested in hearing how the windows installation goes. >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>>>> >>>>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>>>> >>>>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>>>> >>>>> Guess I just need to buy a domain? Is that correct? >>>>> >>>>> Remember, please don't laugh... >>>>> >>>>> >>>>> >>>>> Sent from my iPhone >>>>> >>>>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>>>> >>>>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>>>> Bill >>>>>> >>>>>> William Prothero >>>>>> http://es.earthednet.org >>>>>> >>>>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>>>> >>>>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>>>> >>>>>>> Needs to be able to run LC scripts and MySQL database. I have no >>>>>>> interest in building a website with this server. I also want to >>>>>>> use this server to host a MySQL database that a desktop >>>>>>> allocation will communicate to (I presume I can do this over >>>>>>> internet? Connect to an online MySQL database from a desktop >>>>>>> LiveCode application) >>>>>>> >>>>>>> Any advice someone might have would be appreciated... >>>>>>> >>>>>>> >>>>>>> >>>>>>> Sent from my iPhone >>>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 >>>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dan at clearvisiontech.com Sun Mar 30 22:04:05 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 30 Mar 2014 19:04:05 -0700 Subject: Facebook Like In-Reply-To: References: Message-ID: Hello! Does anyone have a routine, or have information about how to put a "Like" button in your LiveCode app that will allow the user to "Like" your Facebook page and then return to LC that they did like you? I am looking to offer something in the app for free if they like our Facebook page. ANY information would be appreciated! Thanks in advance, -Dan From jacque at hyperactivesw.com Sun Mar 30 22:15:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Mar 2014 21:15:43 -0500 Subject: Dialog freezes app on Windows after sleep In-Reply-To: References: <53363B37.6090302@hyperactivesw.com><53363FE7.7090408@hyperactivesw.com> <22CF76B79D0A4B7F93EF8155EF46CFDB@userd204a4d61c> <53384F26.7070709@hyperactivesw.com> Message-ID: <5338CFCF.4060103@hyperactivesw.com> On 3/30/14, 4:01 PM, larry at significantplanet.org wrote: > If I install 6.1.2 and do not like it, will I have any issues going back > to 6.1.1? No, it should work fine. The file format is the same. The only time reverting would cause a problem is if there is a different file format and you don't save the stack in the older one. Version 7 changes the file format, for example, and if you save in that format then 6.x can't open the stack. However, all versions allow you to save in an older format via a popdown menu in the save dialog. If scripts use new syntax and you revert to an earlier version, of course you'll get errors, but the stack will still open if it has been saved in the correct format. File formats rarely change. The changes have occured at versions 2.4, 2.7, 5.5, and now 7.0. All later versions can open any earlier stacks. Changing the file format is only done when necessary to include new features. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From francois.chaplais at mines-paristech.fr Sun Mar 30 22:30:58 2014 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 31 Mar 2014 02:30:58 +0000 Subject: Advice of cheap/free online server In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> <53385E78.7030102@pdslabs.net> <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> Message-ID: <572EAE6B-147B-4DEE-A95B-07244FE14D27@mines-paristech.fr> If you are on the mac, I advice you to try virtualHost http://clickontyler.com/virtualhostx/ in conjunction with MAMP http://www.mamp.info/en/ this allows deployment of your website on your LAN. Excellent for testing your site on mobile devices. For a small fee, you can deploy it on the internet, provided the site is static with their "Lift Off" service. Best Fran?ois Le 30 mars 2014 ? 23:15, Nakia Brewer a ?crit : > Thanks for this. > > Yes, eventually I will need to make it accessible over the internet. > With this method am I true in assuming I will be able to connect to the MySQL Database on my server over the internet? > > Sorry if this is a dumb question. I just haven't done anything with non-local databases. > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Phil Davis > Sent: Monday, 31 March 2014 5:12 AM > To: How to use LiveCode > Subject: Re: Advice of cheap/free online server > > If you're planning to make your server accessible over the internet... > Dynamic DNS solves the problem of the normally non-static IP addresses handed out by ISPs. I just recently signed up at http://duckdns.org/ so I can predictably ssh into my on-rev accounts without needing to have a whitelisted IP. On-rev support whitelisted my DDNS domain name instead (which is actually a free subdomain at duckdns.org) instead of my current IP, and now all is right with the world. At least that world. > > Phil Davis > > > On 3/30/14, 7:49 AM, Matthias Rebbe | M-R-D wrote: >> Hi Nakia, >> >> you only would need a domain name if you want to make your "server" accessible from the internet. And even then you do not need a domain. >> If you have a static ip from your isp you could use these ip address to connect to the server. Or if you have a dynamic ip address from your isp you could use a free dynamic dns service where you let your server automatically update that ip every time you get a new one from your isp. >> >> Matthias >> >> >> Am 30.03.2014 um 08:45 schrieb Nakia Brewer : >> >>> Okay, >>> >>> Thanks. >>> I figured for testing I could install it on my local machine and I would be off. Going further forward though maybe I can install this on an old windows PC I have, buy a domain name and I have my own 'server' environment that I can use for my small programs I build.. >>> >>> Am I correct with this line of thinking? >>> >>> >>> Sent from my iPhone >>> >>>> On 30 Mar 2014, at 4:58 pm, "Earthednet-wp" wrote: >>>> >>>> Nakia, >>>> On the Mac, which is the only system I've tried it on, you get a ready to go installation. You can set it to have a different port and local host IP address, so you don't need a domain name. The setup tells you how to do this. I also have an installation on a separate server that I can access remotely, but for testing, it's most convenient on my local development machine. The WAMP version probably is different in many details, but on the Mac, it's ridiculously easy to set up. I created a pretty hairy php code with a debugger, breakpoints and all, where I wanted to tie into a drupal login system to verify a user for a separate application. And I'm pretty crappy with php. I think, if you just jump in and try it, you will be happy, but then it's windows, so..... >>>> >>>> I'd be interested in hearing how the windows installation goes. >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 29, 2014, at 6:45 PM, Nakia Brewer wrote: >>>>> >>>>> Thanks everyone for these suggestions. Guess what I am doing this afternoon! >>>>> >>>>> Dumb question (please don't laugh) if I get this working the way I want and all the stuff I need is small (small database, minimal traffic) can I just keep it on this dedicated PC of mine ? >>>>> >>>>> Guess I just need to buy a domain? Is that correct? >>>>> >>>>> Remember, please don't laugh... >>>>> >>>>> >>>>> >>>>> Sent from my iPhone >>>>> >>>>>> On 30 Mar 2014, at 10:32 am, "Earthednet-wp" wrote: >>>>>> >>>>>> Google WAMP. On the Mac, it's MAMP. Easy to install, contains Apache, MySQL, and php. You can run it on your desktop computer. Also, free. Install is trivial. You can install the LC server on it and do your testing. It's so easy I don't know why more folks don't suggest it. >>>>>> Bill >>>>>> >>>>>> William Prothero >>>>>> http://es.earthednet.org >>>>>> >>>>>>> On Mar 29, 2014, at 1:41 PM, Nakia Brewer wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I want to learn how to use LC server scripts (try and improve my knowledge and progress my learning) but currently don't have access to a web-server. >>>>>>> >>>>>>> Can some offer some advice for cheap (best free) web server space that I could use to do some testing.. >>>>>>> >>>>>>> Needs to be able to run LC scripts and MySQL database. I have no >>>>>>> interest in building a website with this server. I also want to >>>>>>> use this server to host a MySQL database that a desktop >>>>>>> allocation will communicate to (I presume I can do this over >>>>>>> internet? Connect to an online MySQL database from a desktop >>>>>>> LiveCode application) >>>>>>> >>>>>>> Any advice someone might have would be appreciated... >>>>>>> >>>>>>> >>>>>>> >>>>>>> Sent from my iPhone >>>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode 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 >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode 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 >>>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 james at thehales.id.au Sun Mar 30 23:02:00 2014 From: james at thehales.id.au (James Hale) Date: Mon, 31 Mar 2014 14:02:00 +1100 Subject: What does compile error "rotate: error in angle description" mean? Message-ID: <4C3209E9-B2A8-42F8-AD6C-3295BABCF319@thehales.id.au> Hi, I am starting to get this error when running my scripts: compile error "rotate: error in angle description" Which if I was doing anything remotely graphical I could perhaps understand. But I am not doing anything to do with angles or rotation. The most recent example of getting this error was with the following handler: On loadextension Put getDatabaseID() into tDatabaseID put specialfolderpath("documents")&"/sqlite test/okapi_bm25.sqlext" into the_extension put "SELECT load_extension('"&the_extension&"')" into tSQL revExecuteSQL tDatabaseID, tSQL End loadextension Stepping through the handler the error only comes up on executing the "revExecuteSQL" command. I connected with the database using the new syntax enabling the loading of extensions yet it does seem as if the database call is having some difficulty. Two questions I guess. 1. Anyone had this error message when not doing anything with rotations? If so, did you discover what it meant? 2. anyone had luck on loading extensions to SQLite? Perplexed, James From andre.bisseret at wanadoo.fr Mon Mar 31 08:38:42 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 31 Mar 2014 14:38:42 +0200 Subject: Sorting issue in a datagrid Message-ID: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> Bonjour, I have a data grid (table) with 3 columns, forty lines (currently). When clicking on the header of column 1 or column 3 all is working well (the lines are sorted as expected) But, when clicking on the header of column 2, only the 8 first lines remain (correctly sorted). All the other lines disappear! Now, if I sort column 1 and then I sort again column 2, only 3 lines are remaining in the datagrid! For a couple of hours I tried to find what was wrong in my setting ; changed the header of column 2, built a brand new data grid, ? but with no avail! I am lost First time I get such an issue in a data grid. any idea on what could be happening would be very much appreciated Best regards Andr? From andrew at ctech.me Mon Mar 31 09:46:44 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 31 Mar 2014 08:46:44 -0500 Subject: POST command question In-Reply-To: <8411144C-9352-42B3-868D-8F2AF544B1EF@gmail.com> References: <8411144C-9352-42B3-868D-8F2AF544B1EF@gmail.com> Message-ID: See if it works with the non SSL endpoint. Might be a certificate thing. Sorry for the short response. Regards, Andrew Kluthe On Mar 30, 2014 1:11 PM, "Michael Doub" wrote: > Is there anything different about using the post command on live code > server as compared to a mac desktop? I am trying to send mail via > postmark. On my server I have the following script: > > set the ErrorMode to "inline" > put "/home/ua875508/public_html/doub.com/lc/" into mainpath > put mainpath & "libJson.livecode" into jsonLib > put mainpath & "cbEngine.livecode" into cbEngine > start using jsonLib > start using cbengine > put ProcessMail ($_POST_RAW) > ?> > > I drop the stack cbEngine.livecode on my server after testing on the > desktop. in this stack, I have a mouseup hander that calls the > ProcessMail function with dummy data for easy debugging. Everything works > as expected the desktop. The post command does it thing I get the expected > response from postmark. When I move the stack to the server environment, > the post command seems to do nothing and I get nothing returned at all. > > Can anyone provider me with any guidance? > > Thanks, > Mike > > > > --http://developer.postmarkapp.com/developer-build.html For addtional API > Information > > function libPostmark_SendEmail pMessageJSON > get the keys of pMessageJSON > if it <> empty then > put arrayToJson(pMessageJSON) into outgoing > else > put pMessageJSON into outgoing > end if > set the httpHeaders to "Accept: application/json" & return \ > & "Content-Type: application/json" & return \ > & "X-Postmark-Server-Token: my token goes here" > post outgoing to URL "https://api.postmarkapp.com/email" > put jsonToArray(it) into theResults > if theResults["ErrorCode"] <> 0 then > return it > else > return true > end if > end libPostmark_SendEmail > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Mar 31 11:10:02 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 31 Mar 2014 15:10:02 +0000 Subject: multi-line constants? (for RSA keys) In-Reply-To: <53363516.6000001@hyperactivesw.com> References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> <53363516.6000001@hyperactivesw.com> Message-ID: <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> Really? Has this changed? I remember a thread some time ago where it was stated that a substack can be extracted as is from a compiled project and run in the IDE. Granted, if the stacks are password protected, it would be very difficult to get to the code, but they are not ?compiled? the way the mainstack is. It was my impression that the mainstack gets *glued* together with the runtime engine and is not accessible in the same way the substacks are, which are merely included in a subfolder or in the case of OS X, in the package. Is this no longer the case? Or have I simply misunderstood all this time? Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 424-233-7201 On Mar 28, 2014, at 19:51 , J. Landman Gay > wrote: On 3/28/14, 6:47 PM, Bob Sneidar wrote: It is my understanding (somewhat limited I admit) that any code you do not want others to have access to should be put in the mainstack of a compiled application. If you have any substacks they will of course be accessible by anyone with a little know how. Actually, if they really are substacks, they are part of the same file on disk and have the same security/obscurity as the mainstack. Separate document stacks, of course, can be opened by anyone with a copy of LiveCode. -- Jacqueline Landman Gay From cmsheffield at icloud.com Mon Mar 31 11:20:53 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 31 Mar 2014 09:20:53 -0600 Subject: new "at size" clause in export snapshot In-Reply-To: <1396043366.87655.YahooMailBasic@web141104.mail.bf1.yahoo.com> References: <1396043366.87655.YahooMailBasic@web141104.mail.bf1.yahoo.com> Message-ID: Odd. Yes, this does work just fine. Not sure what I did earlier. All is well again. Thanks. On Mar 28, 2014, at 3:49 PM, Jan Schenkel wrote: > That's odd, I tested it earlier on a Windows machine, and again just now on a Mac, with LC 6.6 > > Here's my recipe: > - create a new stack > - drag an image and a button on it > - set the button script to: > ## > on mouseUp > local tObj, tData, tHeight, tWidth > put the long id of me into tObj > put 4 * the height of tObj into tHeight > put 4 * the width of tObj into tWidth > export snapshot from tObj at size tWidth, tHeight to tData as PNG > put tData into image 1 > end mouseUp > ## > > Click on the button and the image gets set without any issues. > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > -------------------------------------------- > On Fri, 3/28/14, Chris Sheffield wrote: > > Subject: Re: new "at size" clause in export snapshot > To: "How to use LiveCode" > Date: Friday, March 28, 2014, 2:21 PM > > Thanks, Jan. Making that change at > least allowed my script to compile. Unfortunately, I got a > run-time error. So something is still up. However, import > snapshot works. I just had to take an extra step to deal > with the created image. > > I?ll get a bug report submitted asap. > > Thanks, > Chris > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Mon Mar 31 12:16:12 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 31 Mar 2014 09:16:12 -0700 Subject: What does compile error "rotate: error in angle description" mean? In-Reply-To: <4C3209E9-B2A8-42F8-AD6C-3295BABCF319@thehales.id.au> References: <4C3209E9-B2A8-42F8-AD6C-3295BABCF319@thehales.id.au> Message-ID: Hi James, I haven't seen that error but I have successfully loaded and used an SQLite extension. The extension is available at http://www.monkeybreadsoftware.de/SQLiteExtension/ and has a bunch of new string and math functions in it. It's not free but has a demo version. The only difference between your code and mine is that I use revDataFromQuery rather than revExecuteSQL. I know that you get a "revdberror" back from that if there's something wrong with the load_extension call - I had a typo in the filename initially which resulted in an error. Also, the error message is curious since it says it's a compile error, but you got it at runtime. Could it be an issue with whatever extension you are trying to load? Pete Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Mar 30, 2014 at 8:02 PM, James Hale wrote: > Hi, > > I am starting to get this error when running my scripts: > compile error "rotate: error in angle description" > > Which if I was doing anything remotely graphical I could perhaps > understand. > But I am not doing anything to do with angles or rotation. > > The most recent example of getting this error was with the following > handler: > > On loadextension > Put getDatabaseID() into tDatabaseID > put specialfolderpath("documents")&"/sqlite test/okapi_bm25.sqlext" into > the_extension > put "SELECT load_extension('"&the_extension&"')" into tSQL > revExecuteSQL tDatabaseID, tSQL > End loadextension > > Stepping through the handler the error only comes up on executing the > "revExecuteSQL" command. > > I connected with the database using the new syntax enabling the loading of > extensions yet it does seem as if the database call is having some > difficulty. > > Two questions I guess. > 1. Anyone had this error message when not doing anything with rotations? > If so, did you discover what it meant? > > 2. anyone had luck on loading extensions to SQLite? > > Perplexed, > > James > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 31 13:37:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 31 Mar 2014 12:37:00 -0500 Subject: multi-line constants? (for RSA keys) In-Reply-To: <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> <53363516.6000001@hyperactivesw.com> <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> Message-ID: <5339A7BC.6070900@hyperactivesw.com> On 3/31/14, 10:10 AM, Bob Sneidar wrote: > It was my impression that the mainstack gets*glued* together with > the runtime engine and is not accessible in the same way the > substacks are, which are merely included in a subfolder or in the > case of OS X, in the package. Is this no longer the case? Or have I > simply misunderstood all this time? If the substacks are true substacks, they are "glued" to the engine the same way the mainstack is. This is the standard way substacks work. All stacks in a standalone are part of the same file on disk and received the same protection. However, there is a checkbox in standalone settings that allows you to save out substacks as separate files during the build. If you choose to do that, then they are no longer substacks, they are removed from the file and turned into individual document stacks. Those are the same as any other stack you'd use during development and as such, they are no longer part of your app. They're just loose in the folder (or in the bundle on Macs) and can be opened by anyone with a copy of LiveCode, no tricks required. The scripts will be obscured if the stack is password protected but everything else, including properties, will be accessible because it's just a plain old stack now. So if you want the same protection you'd get in the mainstack, just make sure you don't have that checkbox selected. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 31 13:39:52 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 31 Mar 2014 12:39:52 -0500 Subject: What does compile error "rotate: error in angle description" mean? In-Reply-To: <4C3209E9-B2A8-42F8-AD6C-3295BABCF319@thehales.id.au> References: <4C3209E9-B2A8-42F8-AD6C-3295BABCF319@thehales.id.au> Message-ID: <5339A868.7050100@hyperactivesw.com> On 3/30/14, 10:02 PM, James Hale wrote: > I am starting to get this error when running my scripts: > compile error "rotate: error in angle description" Since you're getting that error while using a new feature, it sounds to me like the engine has linked it to the wrong error code. I'd bug report it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ben at runrev.com Mon Mar 31 13:47:41 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 31 Mar 2014 18:47:41 +0100 Subject: LiveCode 6.6.1 RC1 Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 6.6.1 RC1. This is a maintenance release for the 6.6 series and contain 4 bug fixes. The most notable bug fix is 12010 which resulted in quite a number of bug reports on Windows. It caused applications to stop redrawing correctly, lock ups and even crashes when applications were run for a long period of time. *Release Contents* - 4 bug fixes - 12010 - Windows engine hangs after multiple stack redraws. - 11975 - "import snapshot from rect ..." only imports part of the screen on Windows - 11946 - iOS 7.1 Simulator doesn't remember device type when launching using 'Test' - 11708 - Android apps only partially drawn after rotating device during lock screen *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ *Reporting Bugs* If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From t.heaford at btinternet.com Mon Mar 31 14:06:02 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 31 Mar 2014 19:06:02 +0100 Subject: LiveCode 6.6.1 RC1 In-Reply-To: References: Message-ID: When can Mac Users have a Tab Panel that does not display the selected tab with black text on a dark grey background? I am a new user of LC and find this rather off-putting. I believe, not 100% sure, that this has been requested 2 years ago? Thanks Terry On 31 Mar 2014, at 18:47, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6.1 RC1. > > This is a maintenance release for the 6.6 series and contain 4 bug fixes. > The most notable bug fix is 12010 which resulted in quite a number of bug > reports on Windows. It caused applications to stop redrawing correctly, > lock ups and even crashes when applications were run for a long period of > time. > > *Release Contents* > > - 4 bug fixes > - 12010 - Windows engine hangs after multiple stack redraws. > - 11975 - "import snapshot from rect ..." only imports part of the > screen on Windows > - 11946 - iOS 7.1 Simulator doesn't remember device type when > launching using 'Test' > - 11708 - Android apps only partially drawn after rotating device > during lock screen > > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > *Reporting Bugs* > If you encounter an issue with this release please submit a bug report to > our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Mar 31 14:15:22 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 31 Mar 2014 11:15:22 -0700 Subject: LiveCode 6.6.1 RC1 In-Reply-To: References: Message-ID: <7D26223D-D064-4224-A6BA-3BC26D8D7F1C@me.com> Hear, hear. Peter > On Mar 31, 2014, at 11:06 AM, Terence Heaford wrote: > > > When can Mac Users have a Tab Panel that does not display the selected tab with black text on a dark grey background? > > I am a new user of LC and find this rather off-putting. > > I believe, not 100% sure, that this has been requested 2 years ago? > > Thanks > > Terry > > > >> On 31 Mar 2014, at 18:47, Benjamin Beaumont wrote: >> >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 6.6.1 RC1. >> >> This is a maintenance release for the 6.6 series and contain 4 bug fixes. >> The most notable bug fix is 12010 which resulted in quite a number of bug >> reports on Windows. It caused applications to stop redrawing correctly, >> lock ups and even crashes when applications were run for a long period of >> time. >> >> *Release Contents* >> >> - 4 bug fixes >> - 12010 - Windows engine hangs after multiple stack redraws. >> - 11975 - "import snapshot from rect ..." only imports part of the >> screen on Windows >> - 11946 - iOS 7.1 Simulator doesn't remember device type when >> launching using 'Test' >> - 11708 - Android apps only partially drawn after rotating device >> during lock screen >> >> >> *Getting this release* >> To upgrade to this release please select "check for updates" from the help >> menu in LiveCode or download the installers directly at: >> http://downloads.livecode.com/livecode/ >> >> *Reporting Bugs* >> If you encounter an issue with this release please submit a bug report to >> our quality centre: http://quality.runrev.com/enter_bug.cgi >> >> Warm regards, >> >> The LiveCode Team >> >> _____________________________________________ >> >> Benjamin Beaumont . RunRev Ltd >> >> LiveCode Product Manager >> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >> email : ben at runrev.com >> company : +44(0) 845 219 89 23 >> fax : +44(0) 845 458 8487 >> web : www.runrev.com >> >> LiveCode - Programming made simple >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 nm at studionm.pl Mon Mar 31 15:31:56 2014 From: nm at studionm.pl (Marek Niesiobedzki) Date: Mon, 31 Mar 2014 21:31:56 +0200 Subject: Sorting issue in a datagrid Message-ID: <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> What is the kind of data and kind of sort for this column? Marek From devin_asay at byu.edu Mon Mar 31 15:45:10 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 31 Mar 2014 19:45:10 +0000 Subject: LiveCode 6.6.1 RC1 In-Reply-To: <7D26223D-D064-4224-A6BA-3BC26D8D7F1C@me.com> References: <7D26223D-D064-4224-A6BA-3BC26D8D7F1C@me.com> Message-ID: <0A29FF9F-BA29-4A0A-8608-396DE561BF2D@byu.edu> On Mar 31, 2014, at 12:15 PM, Peter Bogdanoff wrote: > Hear, hear. > > Peter > >> On Mar 31, 2014, at 11:06 AM, Terence Heaford wrote: >> >> >> When can Mac Users have a Tab Panel that does not display the selected tab with black text on a dark grey background? >> >> I am a new user of LC and find this rather off-putting. >> >> I believe, not 100% sure, that this has been requested 2 years ago? This will probably be doable once theming is added. It was one of the Kickstarter stretch goals. https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/414431 Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From dave at applicationinsight.com Mon Mar 31 15:59:22 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 31 Mar 2014 12:59:22 -0700 (PDT) Subject: Sorting issue in a datagrid In-Reply-To: <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> References: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> Message-ID: <1396295962686-4677742.post@n4.nabble.com> Yes I'm with Marek in wondering about the data you have in column 2 - also - could there be anything in name of column 2 which might confuse the engine? And one last thing, do you have any other data grids in your app? If so what are they (and their columns) called and do they also exhibit any strange behaviour? ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-issue-in-a-datagrid-tp4677730p4677742.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Mon Mar 31 16:00:06 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 31 Mar 2014 21:00:06 +0100 Subject: LiveCode 6.6.1 RC1 In-Reply-To: <0A29FF9F-BA29-4A0A-8608-396DE561BF2D@byu.edu> References: <7D26223D-D064-4224-A6BA-3BC26D8D7F1C@me.com> <0A29FF9F-BA29-4A0A-8608-396DE561BF2D@byu.edu> Message-ID: <1293FBCD-2E62-46D3-9858-847F0ACF6DD8@btinternet.com> Forgive my scepticism. I have just followed your link and noted the following under the Cocoa stretch goal. Despite this we are NOT getting native Cocoa controls. "Upgrade our Mac OS X platform support to fully use Cocoa. This will ensure seamless support of all the latest Mac OS X features. Create beautiful OS X apps that get all little user interface details spot on." All the best Terry > On 31 Mar 2014, at 20:45, Devin Asay wrote: > > > On Mar 31, 2014, at 12:15 PM, Peter Bogdanoff > wrote: > >> Hear, hear. >> >> Peter >> >>> On Mar 31, 2014, at 11:06 AM, Terence Heaford wrote: >>> >>> >>> When can Mac Users have a Tab Panel that does not display the selected tab with black text on a dark grey background? >>> >>> I am a new user of LC and find this rather off-putting. >>> >>> I believe, not 100% sure, that this has been requested 2 years ago? > > This will probably be doable once theming is added. It was one of the Kickstarter stretch goals. > > https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode/posts/414431 > > > Devin > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.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 mwieder at ahsoftware.net Mon Mar 31 17:04:28 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 31 Mar 2014 21:04:28 +0000 (UTC) Subject: What does compile error "rotate: error in angle description" mean? References: <4C3209E9-B2A8-42F8-AD6C-3295BABCF319@thehales.id.au> Message-ID: James Hale writes: > Two questions I guess. > 1. Anyone had this error message when not doing anything with rotations? > If so, did you discover what it meant? > > 2. anyone had luck on loading extensions to SQLite? 1. That's definitely the wrong error code for what you're trying to do. 2. I haven't experimented with this yet, but I notice you've got a space in the middle of your file path. I'd get rid of the space to eliminate that as a cause of problems - you *are* putting single quotes around the whole path, so in theory it should be OK... what happens if you answer tSQL before calling revExecuteSQL? -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Mon Mar 31 18:23:33 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 31 Mar 2014 22:23:33 +0000 (UTC) Subject: Advice of cheap/free online server References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au>, <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> <53385E78.7030102@pdslabs.net> <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> Message-ID: Nakia Brewer writes: > Yes, eventually I will need to make it accessible over the internet. > With this method am I true in assuming I will be able to connect to the MySQL Database on my server over the internet? > > Sorry if this is a dumb question. I just haven't done anything with non-local databases. Just catching up on this thread. You have to go out of your way to connect to a database over a network. Normally the database is limited to connections from the same computer the database is running on. This is by design. It's a security risk over a local network, and even more so over the internet. In order to change this you need to change the database configuration, and doing that depends on the type of database you'll be using. A better solution, especially since you're going to be installing LC server, is to let the server connect to the database, and then you talk to the server from a remote connection. -- Mark Wieder ahsoftware at gmail.com From devin_asay at byu.edu Mon Mar 31 18:40:54 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 31 Mar 2014 22:40:54 +0000 Subject: LiveCode 6.6.1 RC1 In-Reply-To: <1293FBCD-2E62-46D3-9858-847F0ACF6DD8@btinternet.com> References: <7D26223D-D064-4224-A6BA-3BC26D8D7F1C@me.com> <0A29FF9F-BA29-4A0A-8608-396DE561BF2D@byu.edu> <1293FBCD-2E62-46D3-9858-847F0ACF6DD8@btinternet.com> Message-ID: <9FE6C587-9BC7-416A-8358-C6208154C9BB@byu.edu> On Mar 31, 2014, at 2:00 PM, Terence Heaford wrote: > Forgive my scepticism. I have just followed your link and noted the following under the Cocoa stretch goal. Despite this we are NOT getting native Cocoa controls. > > "Upgrade our Mac OS X platform support to fully use Cocoa. This will ensure seamless support of all the latest Mac OS X features. Create beautiful OS X apps that get all little user interface details spot on." Point taken. But there are lots of reasons to upgrade to Cocoa, native controls is only one of them. The LiveCode team seem to be focusing on the under-the-hood stuff for now. From the release notes: ? Allow embedding of native 'NSViews' into LiveCode windows (in particular, browser controls). ? Enable submission of LiveCode apps to the Mac AppStore. ? Enable eventual building of 64-bit versions of LiveCode for Mac. The point of theme support, on the other hand, is pretty narrow--allow developers to create exactly the look and feel they want. RunRev are still in the early stages of implementing some of these stretch goals. I wouldn't give up pushing for native Cocoa controls. Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From devin_asay at byu.edu Mon Mar 31 18:42:45 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 31 Mar 2014 22:42:45 +0000 Subject: setProp fuvction and field text in livecode 7 In-Reply-To: References: Message-ID: <202133C6-0CE8-4FA5-80A4-F3BCEC2C147F@byu.edu> On Mar 30, 2014, at 10:04 AM, Muaadh Salih wrote: > Now we can use unicode for various text language entries and manipulation > there is one ,apparent, remaining issue of setting textfont of a field : > Having changed Txtalign and textfont to agree with Arabic-Hebrew language > in the field, text will not be stitched until (shift-alt) is > used,manually !!, to change the pc language first. > Is there a way ( i am sure there might be one) of using "setProp" function > to set the stack script to to change language to Hebrew, Arabic. Hindi...? > ?Many thanks for every body's immense help? Muaadh, You should definitely post a bug report on this issue against LC 7 at http://quality.runrev.com/qacenter/. They seem particularly keen to get the details of unicode right. Devin Devin Asay Office of Digital Humanities Brigham Young University From dochawk at gmail.com Mon Mar 31 20:12:16 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 31 Mar 2014 17:12:16 -0700 Subject: very, very slow on Mac Mini Message-ID: My application performs snappily on my iMac and powerbook, both with 16gb. On the mini, though, it turns to molasses. As in taking several seconds to turn a from one fairly simple card to the next, which is instantaneous in either the IDE or a standalone on the other two. It's a slower machine, but not *that* much slower. And this was the only loaded application. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lan.kc.macmail at gmail.com Mon Mar 31 21:20:13 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Apr 2014 09:20:13 +0800 Subject: very, very slow on Mac Mini In-Reply-To: References: Message-ID: On all three have Activity Monitor available and see what the numbers are for CPU and Memory; not just the raw numbers but also the relative ranking. Is the Mac Mini only occasionally used, is there a possibility that Spotlight was in the middle of a massive index - process mdworker - which was notorious on Lion and Mountain Lion for slowing Time Machine into a multi-day exercise. Was Time Machine doing it's thing, or any other back-up software. Again, if this is an occasionally turn on machine is it possible that all the Auto-Update features are On (they typically are by default) and it was downloading a bunch of updates and installing them? I have a mid 2011 Mac Mini with 8 GB Ram and Lion 10.7.5 and my stacks run the same as my mid 2012 MBP 15" Retina with 16 GB and Mavericks 10.9.2. Actually, apparently a bit faster on the Mac Mini until I employed the Retina display workaround using QuickRes as posted here by Neil Roger. On Tue, Apr 1, 2014 at 8:12 AM, Dr. Hawkins wrote: > My application performs snappily on my iMac and powerbook, both with 16gb. > > On the mini, though, it turns to molasses. As in taking several seconds to > turn a from one fairly simple card to the next, which is instantaneous in > either the IDE or a standalone on the other two. It's a slower machine, > but not *that* much slower. > > And this was the only loaded application. > > -- > 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 larry at significantplanet.org Mon Mar 31 22:03:09 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 31 Mar 2014 20:03:09 -0600 Subject: how to sort lines with a $ amount Message-ID: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> I have a field with a date, name, number and finally a dollar amount such as $10 - in each line of the field. I can sort the lines of the field just fine on word 1 (date), word 2 (name) and word 3 (number) But when I try to sort on word 4, I don't know how to get it to come out right because the $ in front makes it a string and not a number. So I get something like this: $11.00 $120.00 $47.00 When what I want is: $11.00 $47.00 $120.00 Thanks in advance for any enlightenment! Larry From stephenREVOLUTION2 at barncard.com Mon Mar 31 22:22:18 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 31 Mar 2014 19:22:18 -0700 Subject: how to sort lines with a $ amount In-Reply-To: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> Message-ID: I would employ a dual-system where the displayed values are just a display and the 'real' values to be sorted would be in a custom property of the field. The "display field" could be refreshed as needed after calculation. LC is so fast one shouldn't worry about speed issues with this. another way would be a narrow field that could just show the dollar signs with the same font, but alignment would be a bigger issue.. On Mon, Mar 31, 2014 at 7:03 PM, wrote: > So I get something like this: > $11.00 > $120.00 > $47.00 > > When what I want is: > $11.00 > $47.00 > $120.00 > > Thanks in advance for any enlightenment! > Larry > *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jhj at jhj.com Mon Mar 31 22:48:21 2014 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 31 Mar 2014 19:48:21 -0700 Subject: how to sort lines with a $ amount In-Reply-To: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> Message-ID: <1A3F746D-1A68-4A03-93FB-7D323D90E83A@jhj.com> If you can really really count on the $ always being present, you could do: sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of each On Mar 31, 2014, at 7:03 PM, wrote: > I have a field with a date, name, number and finally a dollar amount such as $10 - in each line of the field. > > I can sort the lines of the field just fine on word 1 (date), word 2 (name) and word 3 (number) > > But when I try to sort on word 4, I don't know how to get it to come out right because the $ in front makes it a string and not a number. > > So I get something like this: > $11.00 > $120.00 > $47.00 > > When what I want is: > $11.00 > $47.00 > $120.00 > > Thanks in advance for any enlightenment! > Larry > _______________________________________________ > use-livecode mailing list > use-livecode 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 paulhibbert at mac.com Mon Mar 31 22:54:40 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 31 Mar 2014 19:54:40 -0700 Subject: how to sort lines with a $ amount In-Reply-To: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> Message-ID: <643AC519-1EA5-4C0F-8313-2C1C3C74B83A@mac.com> If the $amount is always the last column in the field? set the itemDel to "$" sort lines of fld "myField" ascending numeric by item 2 of each Paul On 2014-03-31, at 7:03 PM, larry at significantplanet.org wrote: > I have a field with a date, name, number and finally a dollar amount such as $10 - in each line of the field. > > I can sort the lines of the field just fine on word 1 (date), word 2 (name) and word 3 (number) > > But when I try to sort on word 4, I don't know how to get it to come out right because the $ in front makes it a string and not a number. > > So I get something like this: > $11.00 > $120.00 > $47.00 > > When what I want is: > $11.00 > $47.00 > $120.00 > > Thanks in advance for any enlightenment! > Larry > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 31 23:02:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 31 Mar 2014 22:02:26 -0500 Subject: how to sort lines with a $ amount In-Reply-To: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> Message-ID: <533A2C42.9070302@hyperactivesw.com> On 3/31/14, 9:03 PM, larry at significantplanet.org wrote: > I can sort the lines of the field just fine on word 1 (date), word 2 > (name) and word 3 (number) > > But when I try to sort on word 4, I don't know how to get it to come > out right because the $ in front makes it a string and not a number. You can sort using a custom function and that's what I'd do here. If the values are in field 1, then: on mouseUp sort lines of fld 1 numeric by moneySort(each) end mouseUp function moneySort pItem if char 1 of pItem = "$" then delete char 1 of pItem return pItem end moneySort Custom function sorting can do all kinds of clever things. The "each" is passed to the function and the sort uses the return value to determine the final order. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Mon Mar 31 23:06:32 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 31 Mar 2014 22:06:32 -0500 Subject: how to sort lines with a $ amount In-Reply-To: <533A2C42.9070302@hyperactivesw.com> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> <533A2C42.9070302@hyperactivesw.com> Message-ID: No fair, Jacque, I *just* finished testing: function dollarsAsNumber D if char 1 of D is "$" then return char 2 to -1 of D else return D end dollarsAsNumber gc On Mon, Mar 31, 2014 at 10:02 PM, J. Landman Gay wrote: > On 3/31/14, 9:03 PM, larry at significantplanet.org wrote: > >> I can sort the lines of the field just fine on word 1 (date), word 2 >> (name) and word 3 (number) >> >> But when I try to sort on word 4, I don't know how to get it to come >> out right because the $ in front makes it a string and not a number. >> > > You can sort using a custom function and that's what I'd do here. If the > values are in field 1, then: > > on mouseUp > sort lines of fld 1 numeric by moneySort(each) > end mouseUp > > function moneySort pItem > if char 1 of pItem = "$" then delete char 1 of pItem > return pItem > end moneySort > > Custom function sorting can do all kinds of clever things. The "each" is > passed to the function and the sort uses the return value to determine the > final order. > > -- > 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 larry at significantplanet.org Mon Mar 31 23:20:25 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 31 Mar 2014 21:20:25 -0600 Subject: how to sort lines with a $ amount References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c><533A2C42.9070302@hyperactivesw.com> Message-ID: <60CF163F084245759357837A2D277321@userd204a4d61c> Thank you everyone for your quick response to my question! ----- Original Message ----- From: "Geoff Canyon" To: "How to use LiveCode" Sent: Monday, March 31, 2014 9:06 PM Subject: Re: how to sort lines with a $ amount > No fair, Jacque, I *just* finished testing: > > function dollarsAsNumber D > if char 1 of D is "$" then return char 2 to -1 of D else return D > end dollarsAsNumber > > gc > > > On Mon, Mar 31, 2014 at 10:02 PM, J. Landman Gay > wrote: > >> On 3/31/14, 9:03 PM, larry at significantplanet.org wrote: >> >>> I can sort the lines of the field just fine on word 1 (date), word 2 >>> (name) and word 3 (number) >>> >>> But when I try to sort on word 4, I don't know how to get it to come >>> out right because the $ in front makes it a string and not a number. >>> >> >> You can sort using a custom function and that's what I'd do here. If the >> values are in field 1, then: >> >> on mouseUp >> sort lines of fld 1 numeric by moneySort(each) >> end mouseUp >> >> function moneySort pItem >> if char 1 of pItem = "$" then delete char 1 of pItem >> return pItem >> end moneySort >> >> Custom function sorting can do all kinds of clever things. The "each" is >> passed to the function and the sort uses the return value to determine >> the >> final order. >> >> -- >> 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 larry at significantplanet.org Mon Mar 31 23:28:38 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 31 Mar 2014 21:28:38 -0600 Subject: how to sort lines with a $ amount References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> <1A3F746D-1A68-4A03-93FB-7D323D90E83A@jhj.com> Message-ID: <4A3892C7020C45BD87049C0D8E0F2E77@userd204a4d61c> Jerry, Yours was the simplest solution. Thanks very much! FYI, I had to leave out "the" to make it work. So my script is: sort lines of field "myStuff" numeric by char 2 to -1 of word 4 of each Larry ----- Original Message ----- From: "Jerry Jensen" To: "How to use LiveCode" Sent: Monday, March 31, 2014 8:48 PM Subject: Re: how to sort lines with a $ amount If you can really really count on the $ always being present, you could do: sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of each From jhj at jhj.com Mon Mar 31 23:37:50 2014 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 31 Mar 2014 20:37:50 -0700 Subject: how to sort lines with a $ amount In-Reply-To: <4A3892C7020C45BD87049C0D8E0F2E77@userd204a4d61c> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> <1A3F746D-1A68-4A03-93FB-7D323D90E83A@jhj.com> <4A3892C7020C45BD87049C0D8E0F2E77@userd204a4d61c> Message-ID: Oops. So much for not testing. I like Jacqui's the best. Passing each to a function opens a lot of doors. .Jerry On Mar 31, 2014, at 8:28 PM, larry at significantplanet.org wrote: > Jerry, > Yours was the simplest solution. Thanks very much! FYI, I had to leave out "the" to make it work. > So my script is: > sort lines of field "myStuff" numeric by char 2 to -1 of word 4 of each > Larry > > ----- Original Message ----- From: "Jerry Jensen" > To: "How to use LiveCode" > Sent: Monday, March 31, 2014 8:48 PM > Subject: Re: how to sort lines with a $ amount > > > If you can really really count on the $ always being present, you could do: > sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of each From larry at significantplanet.org Mon Mar 31 23:41:51 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 31 Mar 2014 21:41:51 -0600 Subject: how to sort lines with a $ amount References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c><1A3F746D-1A68-4A03-93FB-7D323D90E83A@jhj.com><4A3892C7020C45BD87049C0D8E0F2E77@userd204a4d61c> Message-ID: <95B654B567364149869E1B124744A31B@userd204a4d61c> Yes, but you pointed me in the right direction. Jacqui's is good and I'm sure I'll use something like that one day. Yours was 1 line of code and very adequate for my current needs! Thanks again! (plus with yours I learned about being able to sort by char and word within the same line of code.) ----- Original Message ----- From: "Jerry Jensen" To: "How to use LiveCode" Sent: Monday, March 31, 2014 9:37 PM Subject: Re: how to sort lines with a $ amount > Oops. So much for not testing. I like Jacqui's the best. Passing each to a > function opens a lot of doors. > .Jerry > > On Mar 31, 2014, at 8:28 PM, larry at significantplanet.org wrote: > >> Jerry, >> Yours was the simplest solution. Thanks very much! FYI, I had to leave >> out "the" to make it work. >> So my script is: >> sort lines of field "myStuff" numeric by char 2 to -1 of word 4 of each >> Larry >> >> ----- Original Message ----- From: "Jerry Jensen" >> To: "How to use LiveCode" >> Sent: Monday, March 31, 2014 8:48 PM >> Subject: Re: how to sort lines with a $ amount >> >> >> If you can really really count on the $ always being present, you could >> do: >> sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of >> each > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jhj at jhj.com Mon Mar 31 23:50:59 2014 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 31 Mar 2014 20:50:59 -0700 Subject: how to sort lines with a $ amount In-Reply-To: <95B654B567364149869E1B124744A31B@userd204a4d61c> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c><1A3F746D-1A68-4A03-93FB-7D323D90E83A@jhj.com><4A3892C7020C45BD87049C0D8E0F2E77@userd204a4d61c> <95B654B567364149869E1B124744A31B@userd204a4d61c> Message-ID: I also learned from Jacqui that to scramble the lines of a field: sort lines of field "stuffToScramble" by random(999999999) Neat trick, that. On Mar 31, 2014, at 8:41 PM, wrote: > Yes, but you pointed me in the right direction. Jacqui's is good and I'm sure I'll use something like that one day. > Yours was 1 line of code and very adequate for my current needs! Thanks again! > (plus with yours I learned about being able to sort by char and word within the same line of code.) > > ----- Original Message ----- From: "Jerry Jensen" > To: "How to use LiveCode" > Sent: Monday, March 31, 2014 9:37 PM > Subject: Re: how to sort lines with a $ amount > > >> Oops. So much for not testing. I like Jacqui's the best. Passing each to a function opens a lot of doors. >> .Jerry >> >> On Mar 31, 2014, at 8:28 PM, larry at significantplanet.org wrote: >> >>> Jerry, >>> Yours was the simplest solution. Thanks very much! FYI, I had to leave out "the" to make it work. >>> So my script is: >>> sort lines of field "myStuff" numeric by char 2 to -1 of word 4 of each >>> Larry >>> >>> ----- Original Message ----- From: "Jerry Jensen" >>> To: "How to use LiveCode" >>> Sent: Monday, March 31, 2014 8:48 PM >>> Subject: Re: how to sort lines with a $ amount >>> >>> >>> If you can really really count on the $ always being present, you could do: >>> sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of each >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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