From selander at tkf.att.ne.jp Wed Oct 1 00:20:01 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 01 Oct 2014 13:20:01 +0900 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: Message-ID: <542B80F1.3010507@tkf.att.ne.jp> Interesting. OSX 10.7.5 Terminal: 100,168 lines LC Community 6.1: 294,140 LC Community 7.0 dp5: 294,140 However a quick check of the LC results shows files from /Applications/ , not /Users/. The Terminal results 'correctly' (I assumed) list files from /Users/. Hope this helps Tim Selander Tokyo, Japan On 14/10/01 12:17, Kay C Lan wrote: > Before I go ahead and submit a bug report I'd like others to test and > report their findings. This is just a simple shell script which should > list the entire contents (folders and files) of the Users account. > > In Terminal enter the following: > > find $PWD > > The output will be on each line the full path of either a Folder or a file. > > I just copied and pasted the output into a Text editor which then > reports the number of lines - in my case it's 527579 > > Next, in LC in the msg box > > put shell("find $PWD") into tStore > --put tStore & cr into msg > put the number of lines of tStore after msg > > In my case the output is: 17794. > > Obviously this is a big difference. If you want to check the actual > output you can uncomment the line that will put tStore into msg, but > at this stage I only wish to confirm that the number of lines > (Folders/files) outputed is different. > > I'm on OS X 10.9.5 LC 6.6.3 > > Richard Gaskin reported a much smaller difference and in the opposite > direction on Linux (not sure the specific flavour or LC version) > > On Tue, Sep 30, 2014 at 11:44 PM, Richard Gaskin > wrote: >> LC shell call: 113079 lines >> Terminal output: 113041 lines >> > All I need is you OS, LC Version, No of lines via Terminal, No of lines via LC. > > 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 warren at warrensweb.us Wed Oct 1 00:22:01 2014 From: warren at warrensweb.us (Warren Samples) Date: Tue, 30 Sep 2014 23:22:01 -0500 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: Message-ID: <542B8169.5050505@warrensweb.us> On 09/30/2014 10:17 PM, Kay C Lan wrote: > Before I go ahead and submit a bug report I'd like others to test and > report their findings. openSUSE, LiveCode 6.6.2 Redirected the output to files. Results are identical, except for the extra file created by running the initial 'find $PWD > pwdtest.txt'. 91,426 vs. 91,427. Running: put shell("find $PWD") into tStore put the number of lines of tStore is also the same except for the second file created in the previous step and a couple of other files created by the system as it tracks recently used applications and documents. (This output was also stored to a file and all files were compared using a diff tool.) Warren From lan.kc.macmail at gmail.com Wed Oct 1 01:54:27 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 1 Oct 2014 13:54:27 +0800 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: <542B8169.5050505@warrensweb.us> References: <542B8169.5050505@warrensweb.us> Message-ID: Thanks gentlemen, that's enough to start the ball rolling. May I assume Scott and Tim that your LC resides in the System level Applications folder. Mine resides in the User level Applications folder and may be an extra clue as to why, for me, Terminal > LC, whilst for you both it's Terminal < LC. From lan.kc.macmail at gmail.com Wed Oct 1 02:26:23 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 1 Oct 2014 14:26:23 +0800 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: <542B8169.5050505@warrensweb.us> Message-ID: On Wed, Oct 1, 2014 at 1:54 PM, Kay C Lan wrote: > Thanks gentlemen, that's enough to start the ball rolling. Bug #13572 Scott, Tim, Warren and Richard I've included your findings. From fraser.gordon at livecode.com Wed Oct 1 04:47:27 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Wed, 1 Oct 2014 09:47:27 +0100 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: Message-ID: <911BC627-855E-4508-9576-4F0A5EE039FC@livecode.com> On 1 Oct 2014, at 04:17, Kay C Lan wrote: > Terminal enter the following: > > find $PWD > > The output will be on each line the full path of either a Folder or a file. > > I just copied and pasted the output into a Text editor which then > reports the number of lines - in my case it's 527579 > > Next, in LC in the msg box > > put shell("find $PWD") into tStore > --put tStore & cr into msg > put the number of lines of tStore after msg > > In my case the output is: 17794. > > Obviously this is a big difference. If you want to check the actual > output you can uncomment the line that will put tStore into msg, but > at this stage I only wish to confirm that the number of lines > (Folders/files) outputed is different. Out of interest - are you setting the defaultFolder before running this? Try running ?put shell(?echo $PWD?)? and make sure it is definitely running in your user folder and not /Applications (on OSX, the defaultFolder is initially /Applications). Regards, Fraser From bernd.gottwald at outrange.com Wed Oct 1 06:00:11 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 1 Oct 2014 12:00:11 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_3?= Message-ID: <20141001100011.7170.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From Hakan at exformedia.se Wed Oct 1 06:42:33 2014 From: Hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Lilegren?=) Date: Wed, 1 Oct 2014 12:42:33 +0200 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: <911BC627-855E-4508-9576-4F0A5EE039FC@livecode.com> References: <911BC627-855E-4508-9576-4F0A5EE039FC@livecode.com> Message-ID: $PWD should start at the current working directory, and that is not the same if you run the command in the terminal or if you runit from your program. You will (and should) get different answers. Even if you run in the IDE compared to a standalone. If you want the home catalog you can use $HOME or ~. If you still get different answers it is of course a bug. Will test when I get to my computer. Skickat fr?n min iPhone > 1 okt 2014 kl. 10:47 skrev Fraser Gordon : > > >> On 1 Oct 2014, at 04:17, Kay C Lan wrote: >> >> Terminal enter the following: >> >> find $PWD >> >> The output will be on each line the full path of either a Folder or a file. >> >> I just copied and pasted the output into a Text editor which then >> reports the number of lines - in my case it's 527579 >> >> Next, in LC in the msg box >> >> put shell("find $PWD") into tStore >> --put tStore & cr into msg >> put the number of lines of tStore after msg >> >> In my case the output is: 17794. >> >> Obviously this is a big difference. If you want to check the actual >> output you can uncomment the line that will put tStore into msg, but >> at this stage I only wish to confirm that the number of lines >> (Folders/files) outputed is different. > > Out of interest - are you setting the defaultFolder before running this? Try running ?put shell(?echo $PWD?)? and make sure it is definitely running in your user folder and not /Applications (on OSX, the defaultFolder is initially /Applications). > > 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 lan.kc.macmail at gmail.com Wed Oct 1 09:09:54 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 1 Oct 2014 21:09:54 +0800 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: <911BC627-855E-4508-9576-4F0A5EE039FC@livecode.com> Message-ID: OK, I see now the relationship with the defaultFolder and I'll update my bugzilla report to reflect this. But then why is this not the case with Linux? Richard suggested a note in the Dictionary and that seems to be sensible. Currently the Dictionary suggests that if you are have trouble with shell() then test it in Terminal and in this case it is only confusing the matter. A further note hilighting the relationship between the defaultFolder and certain shell commands would be useful. On Wed, Oct 1, 2014 at 6:42 PM, H?kan Lilegren wrote: > $PWD should start at the current working directory, and that is not the same if you run the command in the terminal or if you runit from your program. You will (and should) get different answers. Even if you run in the IDE compared to a standalone. > > If you want the home catalog you can use $HOME or ~. If you still get different answers it is of course a bug. Will test when I get to my computer. > > Skickat fr?n min iPhone > >> 1 okt 2014 kl. 10:47 skrev Fraser Gordon : >> >> >>> On 1 Oct 2014, at 04:17, Kay C Lan wrote: >>> >>> Terminal enter the following: >>> >>> find $PWD >>> >>> The output will be on each line the full path of either a Folder or a file. >>> >>> I just copied and pasted the output into a Text editor which then >>> reports the number of lines - in my case it's 527579 >>> >>> Next, in LC in the msg box >>> >>> put shell("find $PWD") into tStore >>> --put tStore & cr into msg >>> put the number of lines of tStore after msg >>> >>> In my case the output is: 17794. >>> >>> Obviously this is a big difference. If you want to check the actual >>> output you can uncomment the line that will put tStore into msg, but >>> at this stage I only wish to confirm that the number of lines >>> (Folders/files) outputed is different. >> >> Out of interest - are you setting the defaultFolder before running this? Try running ?put shell(?echo $PWD?)? and make sure it is definitely running in your user folder and not /Applications (on OSX, the defaultFolder is initially /Applications). >> >> 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 warren at warrensweb.us Wed Oct 1 09:39:41 2014 From: warren at warrensweb.us (Warren Samples) Date: Wed, 01 Oct 2014 08:39:41 -0500 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: <911BC627-855E-4508-9576-4F0A5EE039FC@livecode.com> Message-ID: <542C041D.8030001@warrensweb.us> On 10/01/2014 08:09 AM, Kay C Lan wrote: > But then why is this not the case > with Linux? For Linux users who have installed "single user", in their HOME directory, the defaultfolder is their HOME directory.. Those who have installed for all users, in /opt, will run into these kinds of issues, at least sometimes, perhaps depending on what you're attempting to do with shell(). The defaultfolder in an /opt install is "/opt/runrev/" and 'put shell("find $PWD")' returns file not found errors. Warren From ambassador at fourthworld.com Wed Oct 1 10:11:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 Oct 2014 07:11:27 -0700 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux Message-ID: <3b20aa72f32078db44956d37fc60a131@fourthworld.com> Kay C Lan wrote: > But then why is this not the case with Linux? I believe it is. And even if one sets up their paths so that LC starts with $HOME as their default directory, the default directory is changeable by any script at any time, so a note reminding users to explicitly set that path when calling shell functions that rely on it may be useful (or any other file I/O routines). -- Richard Gaskin Fourth World Systems 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 Wed Oct 1 10:33:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Oct 2014 14:33:56 +0000 Subject: File Walker In-Reply-To: References: <542B3D44.4070805@fourthworld.com> Message-ID: How about getting the detailed files? There may be information in the details where you can discern whether or not a user would be able to see the files. Bob S On Sep 30, 2014, at 17:04 , JB wrote: > I understand there are things a normal person > cannot and should not access. My point was > the normal person should not see that when > they are accessing files and folders. They do > not normally see it in the finder so they should > not see it in a program I release. I am not going > to change their file permissions and I do not > want to notify them of it. So if it gives me any > problems in a normal situation I need to think > there are a lot of users who know less and > care less about it than me and it will just be > a problem for them. > > John Balgenorth > > > > On Sep 30, 2014, at 4:31 PM, Richard Gaskin wrote: > >> JB wrote: >> >>> If I bought your program and you gave me that technical >>> answer and I wasted my time trying to figure out why your >>> program will not access my folders and examine permissions >>> or other things when others do access them I would not be >>> happy. >>> >>> On that basis for the very few like me who will have >>> a problem I will not use it. >> >> OS X is such a program. >> >> It's a Unix thang. >> >> Poke around in the Finder enough and you'll find all sorts of things you can't access. >> >> -- >> 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 >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 1 10:40:53 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Oct 2014 14:40:53 +0000 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: The easy way to do this is to assemble an FDF data file. I have already done this in my Forms Generator application. First, I export the form data. To get all the fields even the empty ones you have to create a javascript action, because the built in data export only exports fields with data in them, but the javascript command has an argument for overcoming this. Next you configure your PDF to read the FDF file when it opens. Finally you figure out how to manipulate the data file so you can fill in the field data. My Forms Generator does all of that for me now. But there is a way I was playing with, on the Mac only so far, to tell Applescript to tell Acrobat to run a javascript, in which case you can do anything their Acrobat Javascript API allows in the given security context. Bob S On Sep 30, 2014, at 20:01 , Magicgate Software - Skip Kimpel > wrote: Getting it to work, probably not that hard. Distributing it with your application, that's a whole other issue. I have been looking over the command line options for this and it is pretty powerful. One feature that stands out the most to me is the ability to send form data to the PDF file. Something I have wanted but LC has yet to be able to supply a streamlined way of doing this. From pete at lcsql.com Wed Oct 1 10:42:31 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 1 Oct 2014 07:42:31 -0700 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux In-Reply-To: References: <542B8169.5050505@warrensweb.us> Message-ID: Maybe shell has a different home directory than lc? Pete lcSQL Software On Sep 30, 2014 11:54 PM, "Kay C Lan" wrote: > Thanks gentlemen, that's enough to start the ball rolling. > > May I assume Scott and Tim that your LC resides in the System level > Applications folder. Mine resides in the User level Applications > folder and may be an extra clue as to why, for me, Terminal > LC, > whilst for you both it's Terminal < 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 > From roger.e.eller at sealedair.com Wed Oct 1 11:10:47 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 1 Oct 2014 11:10:47 -0400 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: That sounds like a pretty slick way to populate a form (hoping it works x-plat). The OP wants a >Windows< solution to combine pages though. On Wed, Oct 1, 2014 at 10:40 AM, Bob Sneidar wrote: > The easy way to do this is to assemble an FDF data file. I have already > done this in my Forms Generator application. First, I export the form data. > To get all the fields even the empty ones you have to create a javascript > action, because the built in data export only exports fields with data in > them, but the javascript command has an argument for overcoming this. Next > you configure your PDF to read the FDF file when it opens. Finally you > figure out how to manipulate the data file so you can fill in the field > data. > > My Forms Generator does all of that for me now. But there is a way I was > playing with, on the Mac only so far, to tell Applescript to tell Acrobat > to run a javascript, in which case you can do anything their Acrobat > Javascript API allows in the given security context. > > Bob S > > > On Sep 30, 2014, at 20:01 , Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > Getting it to work, probably not that hard. Distributing it with your > application, that's a whole other issue. I have been looking over the > command line options for this and it is pretty powerful. One feature that > stands out the most to me is the ability to send form data to the PDF > file. Something I have wanted but LC has yet to be able to supply a > streamlined way of doing this. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Wed Oct 1 11:23:08 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 1 Oct 2014 11:23:08 -0400 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: Roger... you are and I are both stuck in the Windows world... On Wed, Oct 1, 2014 at 11:10 AM, Roger Eller wrote: > That sounds like a pretty slick way to populate a form (hoping it works > x-plat). The OP wants a >Windows< solution to combine pages though. > > > On Wed, Oct 1, 2014 at 10:40 AM, Bob Sneidar > wrote: > > > The easy way to do this is to assemble an FDF data file. I have already > > done this in my Forms Generator application. First, I export the form > data. > > To get all the fields even the empty ones you have to create a javascript > > action, because the built in data export only exports fields with data in > > them, but the javascript command has an argument for overcoming this. > Next > > you configure your PDF to read the FDF file when it opens. Finally you > > figure out how to manipulate the data file so you can fill in the field > > data. > > > > My Forms Generator does all of that for me now. But there is a way I was > > playing with, on the Mac only so far, to tell Applescript to tell Acrobat > > to run a javascript, in which case you can do anything their Acrobat > > Javascript API allows in the given security context. > > > > Bob S > > > > > > On Sep 30, 2014, at 20:01 , Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > Getting it to work, probably not that hard. Distributing it with your > > application, that's a whole other issue. I have been looking over the > > command line options for this and it is pretty powerful. One feature > that > > stands out the most to me is the ability to send form data to the PDF > > file. Something I have wanted but LC has yet to be able to supply a > > streamlined way of doing this. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Wed Oct 1 11:23:34 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 Oct 2014 08:23:34 -0700 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: On Tue, Sep 30, 2014 at 8:01 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Getting it to work, probably not that hard. Distributing it with your > application, that's a whole other issue. > Actually, it's allowed and straightforward; I'm thinking of the mechanics. It's GPL v2, so if you distribute, you either have to include source (probably easiest) or make it available on request to anyone to whom you distribute. Possibilities would be: 1) include as part of main download, and always resort to this version. 2) at runtime, check for availability, and if not found either a) divert to already downloaded local version, or b) download only if needed 3) require user to have it installed Also, download could be from you, or it could be from their own website. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Wed Oct 1 11:25:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Oct 2014 15:25:38 +0000 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: <5136B6A7-D907-4E47-A1B4-C493B97DC013@iotecdigital.com> It works on Windows too. Just remember to save the PDF form as extended, otherwise Acrobat Reader users will not be able to fill the forms. I can send you some snippets so you can see how it?s done if you like. Contact me on private. Bob S On Oct 1, 2014, at 08:10 , Roger Eller > wrote: That sounds like a pretty slick way to populate a form (hoping it works x-plat). The OP wants a >Windows< solution to combine pages though. On Wed, Oct 1, 2014 at 10:40 AM, Bob Sneidar > wrote: The easy way to do this is to assemble an FDF data file. I have already done this in my Forms Generator application. First, I export the form data. To get all the fields even the empty ones you have to create a javascript action, because the built in data export only exports fields with data in them, but the javascript command has an argument for overcoming this. Next you configure your PDF to read the FDF file when it opens. Finally you figure out how to manipulate the data file so you can fill in the field data. My Forms Generator does all of that for me now. But there is a way I was playing with, on the Mac only so far, to tell Applescript to tell Acrobat to run a javascript, in which case you can do anything their Acrobat Javascript API allows in the given security context. Bob S On Sep 30, 2014, at 20:01 , Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: Getting it to work, probably not that hard. Distributing it with your application, that's a whole other issue. I have been looking over the command line options for this and it is pretty powerful. One feature that stands out the most to me is the ability to send form data to the PDF file. Something I have wanted but LC has yet to be able to supply a streamlined way of doing this. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Oct 1 11:25:53 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 08:25:53 -0700 Subject: File Walker In-Reply-To: References: <542B3D44.4070805@fourthworld.com> Message-ID: The problem with that idea is the recursive loops and does not provide a file list. If it provided every file and folder then I would be able to filter out the ones I do not want. For instance I do not want the package and bundle files. Filtering is not an issue. I will just use the script from File Lister 1 which does not use recursive. I am already using it without any problems. Having the user do less work to get a huge list of folders is not really a concern for me. It would be nice but not really something they will miss. John Balgenorth On Oct 1, 2014, at 7:33 AM, Bob Sneidar wrote: > How about getting the detailed files? There may be information in the details where you can discern whether or not a user would be able to see the files. > > Bob S > > > On Sep 30, 2014, at 17:04 , JB wrote: > >> I understand there are things a normal person >> cannot and should not access. My point was >> the normal person should not see that when >> they are accessing files and folders. They do >> not normally see it in the finder so they should >> not see it in a program I release. I am not going >> to change their file permissions and I do not >> want to notify them of it. So if it gives me any >> problems in a normal situation I need to think >> there are a lot of users who know less and >> care less about it than me and it will just be >> a problem for them. >> >> John Balgenorth >> >> >> >> On Sep 30, 2014, at 4:31 PM, Richard Gaskin wrote: >> >>> JB wrote: >>> >>>> If I bought your program and you gave me that technical >>>> answer and I wasted my time trying to figure out why your >>>> program will not access my folders and examine permissions >>>> or other things when others do access them I would not be >>>> happy. >>>> >>>> On that basis for the very few like me who will have >>>> a problem I will not use it. >>> >>> OS X is such a program. >>> >>> It's a Unix thang. >>> >>> Poke around in the Finder enough and you'll find all sorts of things you can't access. >>> >>> -- >>> 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 >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed Oct 1 11:35:55 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 08:35:55 -0700 Subject: =?windows-1252?Q?Strip_a_=99_character?= Message-ID: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> I am converting binary to hex and this code is giving me a problem. replace return with empty in theData repeat with x = 1 to the len of theData -8 step 8 put BaseConvert(char x to (x+7) of theData,2,16) into theConv put theConv after tData end repeat The first thing I do is strip the returns. It works good for a single line but for some reason a hidden character is put in the file where a retun was. If I only had one return and it is at the end of the line when it is converted back to ascii the return is replace with a ?. It does not have the period after. Does anyone know how to strip the ? character? John Balgenorth From sundown at pacifier.com Wed Oct 1 12:56:25 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 09:56:25 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> Message-ID: <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> It could be I am writing the part below wrong. repeat with x = 1 to the len of theData -8 step 8 What I am trying to do is get 8 characters and process the eight characters and do it for the length of theData. Is that written wrong? John Balgenorth On Oct 1, 2014, at 8:35 AM, JB wrote: > I am converting binary to hex and > this code is giving me a problem. > > replace return with empty in theData > repeat with x = 1 to the len of theData -8 step 8 > put BaseConvert(char x to (x+7) of theData,2,16) into theConv > put theConv after tData > end repeat > > The first thing I do is strip the returns. > It works good for a single line but for > some reason a hidden character is put > in the file where a retun was. If I only > had one return and it is at the end of > the line when it is converted back to > ascii the return is replace with a ?. > It does not have the period after. > > Does anyone know how to strip the ? character? > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Wed Oct 1 13:57:39 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 1 Oct 2014 13:57:39 -0400 Subject: =?utf-8?Q?Re:_Strip_a_=E2=84=A2_chara?= =?utf-8?Q?cter?= In-Reply-To: <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> Message-ID: <8D1ABB8522DFEEC-973C-A661@webmail-vm010.sysops.aol.com> Hi. This should work. Are you sure that all your data is 1's and 0's? The format you have set for the baseConvert function requires binary source data ONLY. (no 7's, for example, or anything hex like "1C") Craig Newman > replace return with empty in theData > repeat with x = 1 to the len of theData -8 step 8 > put BaseConvert(char x to (x+7) of theData,2,16) into theConv > put theConv after tData > end repeat -----Original Message----- From: JB To: How to use LiveCode Sent: Wed, Oct 1, 2014 1:02 pm Subject: Re: Strip a ? character It could be I am writing the part below wrong. repeat with x = 1 to the len of theData -8 step 8 What I am trying to do is get 8 characters and process the eight characters and do it for the length of theData. Is that written wrong? John Balgenorth On Oct 1, 2014, at 8:35 AM, JB wrote: > I am converting binary to hex and > this code is giving me a problem. > > replace return with empty in theData > repeat with x = 1 to the len of theData -8 step 8 > put BaseConvert(char x to (x+7) of theData,2,16) into theConv > put theConv after tData > end repeat > > The first thing I do is strip the returns. > It works good for a single line but for > some reason a hidden character is put > in the file where a retun was. If I only > had one return and it is at the end of > the line when it is converted back to > ascii the return is replace with a ?. > It does not have the period after. > > Does anyone know how to strip the ? character? > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Wed Oct 1 14:29:01 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 1 Oct 2014 20:29:01 +0200 Subject: Outrageously slow AppleScript performance In-Reply-To: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> Message-ID: Bill, On Maverick? I have no problem controlling MS Excel by executing AS scripts within LiveCode. I tried your script on Maverick and I can confirm it is very slow. The first time I executed it, iCal requested an authorization for the calendar to be modified by LiveCode. So, after a quick search, I found this link: http://support.apple.com/kb/HT5914?viewlocale=en_US&locale=en_US It seems that applets must be signed to be authorized to control others applications. The problem is may be in the communication between LiveCode and iCal because of a security layer. I tried to follow the steps described in the Apple tech notes but without success. Best Regards, On Wed, Oct 1, 2014 at 2:55 AM, Bill Vlahos wrote: > When I execute the AppleScript listed below in the AppleScript Editor it works in about 1 second. Take the same script, put in in a LiveCode field and do field ?name? as AppleScript and it takes between 1 and 2 minutes to do! > > 1. Why? > 2. How can I make it run quickly? > > Here is the AppleScript. It makes an event at the date and time and gets info on it so that it is ready to add addresses and send out. The finished stack will show how to modify the newly created meeting and delete it. I plan on doing the same functions for Outlook on the Mac as a way to compare them. > > set calendarName to "Work" > set theSummary to "Title of the event goes here 0775-4944" > set theDescrption to "Description of event goes here." > --set theLocation to "" > set startDate to "October 1, 2014 9:30:00 AM" > set endDate to "October 1, 2014 1:00:00 PM" > > set startDate to date startDate > set endDate to date endDate > > tell application "Calendar" > activate > tell (first calendar whose name is calendarName) > set vEventInfo to make new event at end of events with properties {summary:theSummary, start date:startDate, end date:endDate, description:theDescrption} > copy uid to cID -- > copy vEventInfo's uid to eID --this works > save > end tell > reload calendars > view calendar at startDate > show vEventInfo > end tell > set the clipboard to eID > > --display dialog "Event " & eID & " of Calendar " & cID > tell application "System Events" > tell process "Calendar" > keystroke "i" using command down > end tell > end tell > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) > RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > > _______________________________________________ > use-livecode mailing list > use-livecode 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 prothero at earthednet.org Wed Oct 1 16:55:27 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 1 Oct 2014 13:55:27 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> Message-ID: <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> This is extremely frustrating, but ought to be very easy. I?m trying to get a list of the objects in a group. There are graphics, fields, and images in the group. I can?t find, in the docs, lessons, how to do this. Could someone post the syntax? Thanks Bill William A. Prothero http://es.earthednet.org/ From martyknappster at gmail.com Wed Oct 1 16:59:54 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 01 Oct 2014 13:59:54 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> Message-ID: <542C6B4A.2090805@gmail.com> Hello Bill, put the childControlNames of group "MyList" into tList Best regards, Marty Knapp > This is extremely frustrating, but ought to be very easy. > > I?m trying to get a list of the objects in a group. There are graphics, fields, and images in the group. I can?t find, in the docs, lessons, how to do this. > Could someone post the syntax? > > Thanks > Bill > > William A. 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 dunbarx at aol.com Wed Oct 1 17:00:43 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 1 Oct 2014 17:00:43 -0400 Subject: Frustrating: gettings the objects in a group In-Reply-To: <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> Message-ID: <8D1ABD1E3AAB5B3-973C-B970@webmail-vm010.sysops.aol.com> Hi. Loop through all the controls on the card. Extract those whose "owner" is the group in question. Craig Newman -----Original Message----- From: William Prothero To: Use-livecode Use-livecode Sent: Wed, Oct 1, 2014 4:56 pm Subject: Frustrating: gettings the objects in a group This is extremely frustrating, but ought to be very easy. I?m trying to get a list of the objects in a group. There are graphics, fields, and images in the group. I can?t find, in the docs, lessons, how to do this. Could someone post the syntax? Thanks Bill William A. 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 prothero at earthednet.org Wed Oct 1 17:07:23 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 1 Oct 2014 14:07:23 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: <542C6B4A.2090805@gmail.com> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> <542C6B4A.2090805@gmail.com> Message-ID: <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> Marty: I tried the childControlNames property and it doesn?t return the images in the group. Tnx, Bill On Oct 1, 2014, at 1:59 PM, Marty Knapp wrote: > Hello Bill, > > put the childControlNames of group "MyList" into tList > > Best regards, > Marty Knapp >> This is extremely frustrating, but ought to be very easy. >> >> I?m trying to get a list of the objects in a group. There are graphics, fields, and images in the group. I can?t find, in the docs, lessons, how to do this. >> Could someone post the syntax? >> >> Thanks >> Bill >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Oct 1 17:11:29 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 1 Oct 2014 14:11:29 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> <542C6B4A.2090805@gmail.com> <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> Message-ID: BTW, I?m using Livecode V7.0 Rc2 on OSX Mavericks. I wonder if this is a bug?? Bill On Oct 1, 2014, at 2:07 PM, William Prothero wrote: > Marty: > I tried the childControlNames property and it doesn?t return the images in the group. > Tnx, > Bill > > On Oct 1, 2014, at 1:59 PM, Marty Knapp wrote: > >> Hello Bill, >> >> put the childControlNames of group "MyList" into tList >> >> Best regards, >> Marty Knapp >>> This is extremely frustrating, but ought to be very easy. >>> >>> I?m trying to get a list of the objects in a group. There are graphics, fields, and images in the group. I can?t find, in the docs, lessons, how to do this. >>> Could someone post the syntax? >>> >>> Thanks >>> Bill >>> >>> William A. Prothero >>> http://es.earthednet.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Oct 1 17:15:19 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 01 Oct 2014 14:15:19 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> <542C6B4A.2090805@gmail.com> <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> Message-ID: <542C6EE7.2020207@gmail.com> I just tried it with v6.6.2 and it works, so maybe you found a bug! Marty Knapp > BTW, I?m using Livecode V7.0 Rc2 on OSX Mavericks. I wonder if this is a bug?? > Bill > > On Oct 1, 2014, at 2:07 PM, William Prothero wrote: > >> Marty: >> I tried the childControlNames property and it doesn?t return the images in the group. >> Tnx, >> Bill >> >> On Oct 1, 2014, at 1:59 PM, Marty Knapp wrote: >> >>> Hello Bill, >>> >>> put the childControlNames of group "MyList" into tList >>> >>> Best regards, >>> Marty Knapp >>>> This is extremely frustrating, but ought to be very easy. >>>> >>>> I?m trying to get a list of the objects in a group. There are graphics, fields, and images in the group. I can?t find, in the docs, lessons, how to do this. >>>> Could someone post the syntax? >>>> >>>> Thanks >>>> Bill >>>> >>>> William A. Prothero >>>> http://es.earthednet.org/ >>>> >>>> _______________________________________________ From scott at tactilemedia.com Wed Oct 1 17:17:32 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 01 Oct 2014 14:17:32 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> <542C6B4A.2090805@gmail.com> <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> Message-ID: You can also reference the number of controls of a group: repeat with N = 1 to number of controls of grp 1 put name of control N of grp 1 & cr after theList end repeat put theList Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/1/14 2:07 PM, "William Prothero" wrote: >Marty: >I tried the childControlNames property and it doesn?t return the images >in the group. >Tnx, >Bill > >On Oct 1, 2014, at 1:59 PM, Marty Knapp wrote: > >> Hello Bill, >> >> put the childControlNames of group "MyList" into tList >> >> Best regards, >> Marty Knapp >>> This is extremely frustrating, but ought to be very easy. >>> >>> I?m trying to get a list of the objects in a group. There are >>>graphics, fields, and images in the group. I can?t find, in the docs, >>>lessons, how to do this. >>> Could someone post the syntax? >>> >>> Thanks >>> Bill >>> >>> William A. Prothero >>> http://es.earthednet.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Oct 1 17:45:14 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 1 Oct 2014 14:45:14 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <5939028E-0A9F-4D48-A436-424FC5A15296@earthednet.org> <542C6B4A.2090805@gmail.com> <35E54A54-12E9-4BAA-A55E-B91F9764F4D6@earthednet.org> Message-ID: <35F2EDE1-0D94-41E4-8D35-D4387C4FBBC1@earthednet.org> Tnx for the help. It was my error, but in the process of fixing it, I noticed some document shortcomings. Both childControlNames and ?the controls of group? work. For me, this demonstrates a trouble with the docs. For a relative newby, like me, what do I call the members of a group? Do I call then ?elements?, ?items?, ?objects?, ?members?, what? Ok, it?s ?controls?. This can be one of the problems of an english language type authoring system. I couldn?t find anything on the docs related to this, under ?groups?, and there is no entry for ?controls?. Just griping a bit. Problem solved. Best, Bill On Oct 1, 2014, at 2:17 PM, Scott Rossi wrote: > You can also reference the number of controls of a group: > > repeat with N = 1 to number of controls of grp 1 > put name of control N of grp 1 & cr after theList > end repeat > put theList > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 10/1/14 2:07 PM, "William Prothero" wrote: > >> Marty: >> I tried the childControlNames property and it doesn?t return the images >> in the group. >> Tnx, >> Bill >> >> On Oct 1, 2014, at 1:59 PM, Marty Knapp wrote: >> >>> Hello Bill, >>> >>> put the childControlNames of group "MyList" into tList >>> >>> Best regards, >>> Marty Knapp >>>> This is extremely frustrating, but ought to be very easy. >>>> >>>> I?m trying to get a list of the objects in a group. There are >>>> graphics, fields, and images in the group. I can?t find, in the docs, >>>> lessons, how to do this. >>>> Could someone post the syntax? >>>> >>>> Thanks >>>> Bill >>>> >>>> William A. Prothero >>>> http://es.earthednet.org/ >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Oct 1 17:57:26 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 01 Oct 2014 14:57:26 -0700 Subject: Outrageously slow AppleScript performance In-Reply-To: References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> Message-ID: <33CE29F4-8069-4930-B7F7-CA8CBD533A62@mac.com> Yes, I am on Mavericks. It does require authorization as you described but even that takes 20 seconds to be prompted and once I grant it permission it still takes 1 to 2 minutes to run. In looking at this command line steps I wouldn?t expect it to work because it is specifically looking for the applet. In my case the LiveCode app is sending the script. There is no applet in the traditional sense. I wonder if pointing it to the LiveCode engine would do the same thing. Thanks for the feedback and confirmation. I?ll ask LiveCode support about it. Bill Vlahos On Oct 1, 2014, at 11:29 AM, zryip theSlug wrote: > Bill, > > On Maverick? > > I have no problem controlling MS Excel by executing AS scripts within LiveCode. > > I tried your script on Maverick and I can confirm it is very slow. The > first time I executed it, iCal requested an authorization for the > calendar to be modified by LiveCode. > > So, after a quick search, I found this link: > http://support.apple.com/kb/HT5914?viewlocale=en_US&locale=en_US > > It seems that applets must be signed to be authorized to control > others applications. The problem is may be in the communication > between LiveCode and iCal because of a security layer. I tried to > follow the steps described in the Apple tech notes but without > success. > > > Best Regards, > > On Wed, Oct 1, 2014 at 2:55 AM, Bill Vlahos wrote: >> When I execute the AppleScript listed below in the AppleScript Editor it works in about 1 second. Take the same script, put in in a LiveCode field and do field ?name? as AppleScript and it takes between 1 and 2 minutes to do! >> >> 1. Why? >> 2. How can I make it run quickly? >> >> Here is the AppleScript. It makes an event at the date and time and gets info on it so that it is ready to add addresses and send out. The finished stack will show how to modify the newly created meeting and delete it. I plan on doing the same functions for Outlook on the Mac as a way to compare them. >> >> set calendarName to "Work" >> set theSummary to "Title of the event goes here 0775-4944" >> set theDescrption to "Description of event goes here." >> --set theLocation to "" >> set startDate to "October 1, 2014 9:30:00 AM" >> set endDate to "October 1, 2014 1:00:00 PM" >> >> set startDate to date startDate >> set endDate to date endDate >> >> tell application "Calendar" >> activate >> tell (first calendar whose name is calendarName) >> set vEventInfo to make new event at end of events with properties {summary:theSummary, start date:startDate, end date:endDate, description:theDescrption} >> copy uid to cID -- >> copy vEventInfo's uid to eID --this works >> save >> end tell >> reload calendars >> view calendar at startDate >> show vEventInfo >> end tell >> set the clipboard to eID >> >> --display dialog "Event " & eID & " of Calendar " & cID >> tell application "System Events" >> tell process "Calendar" >> keystroke "i" using command down >> end tell >> end tell >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. >> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) >> RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 sundown at pacifier.com Wed Oct 1 18:01:24 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 15:01:24 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> Message-ID: <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> It looks to me the code is good. I guess someone decided they could Trade Mark ? Binary to Hex. In Hex it shows up as either a A or AA. You would think it would always be AA since that is the Hex value for ?. It is easy to strip the ? from the beginning of Hex code because Hex always starts with a number but there could be two A?s at the end of Hex code so stripping them could cause you problems. John Balgenorth On Oct 1, 2014, at 9:56 AM, JB wrote: > It could be I am writing the part below wrong. > > repeat with x = 1 to the len of theData -8 step 8 > > What I am trying to do is get 8 characters and process > the eight characters and do it for the length of theData. > Is that written wrong? > > John Balgenorth > > > On Oct 1, 2014, at 8:35 AM, JB wrote: > >> I am converting binary to hex and >> this code is giving me a problem. >> >> replace return with empty in theData >> repeat with x = 1 to the len of theData -8 step 8 >> put BaseConvert(char x to (x+7) of theData,2,16) into theConv >> put theConv after tData >> end repeat >> >> The first thing I do is strip the returns. >> It works good for a single line but for >> some reason a hidden character is put >> in the file where a retun was. If I only >> had one return and it is at the end of >> the line when it is converted back to >> ascii the return is replace with a ?. >> It does not have the period after. >> >> Does anyone know how to strip the ? character? >> >> John Balgenorth >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Wed Oct 1 18:13:52 2014 From: jiml at netrin.com (Jim Lambert) Date: Wed, 1 Oct 2014 15:13:52 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: References: Message-ID: <2F2941FF-92D7-4D9A-B5E2-F99D67A01819@netrin.com> Without ?child' also works put the controlnames of grp someGroup put the controlids of grp someGroup Jim Lambert From sundown at pacifier.com Wed Oct 1 18:41:08 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 15:41:08 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> Message-ID: If someone wants to give me that part of the code I bet I could fix it. I wrote conversions for ascii-hex-binary in hypercard years ago and there is not that much to it. John Balgenorth On Oct 1, 2014, at 3:01 PM, JB wrote: > It looks to me the code is good. I guess > someone decided they could Trade Mark ? > Binary to Hex. > > In Hex it shows up as either a A or AA. You > would think it would always be AA since that > is the Hex value for ?. > > It is easy to strip the ? from the beginning of > Hex code because Hex always starts with a > number but there could be two A?s at the end > of Hex code so stripping them could cause you > problems. > > John Balgenorth > > > On Oct 1, 2014, at 9:56 AM, JB wrote: > >> It could be I am writing the part below wrong. >> >> repeat with x = 1 to the len of theData -8 step 8 >> >> What I am trying to do is get 8 characters and process >> the eight characters and do it for the length of theData. >> Is that written wrong? >> >> John Balgenorth >> >> >> On Oct 1, 2014, at 8:35 AM, JB wrote: >> >>> I am converting binary to hex and >>> this code is giving me a problem. >>> >>> replace return with empty in theData >>> repeat with x = 1 to the len of theData -8 step 8 >>> put BaseConvert(char x to (x+7) of theData,2,16) into theConv >>> put theConv after tData >>> end repeat >>> >>> The first thing I do is strip the returns. >>> It works good for a single line but for >>> some reason a hidden character is put >>> in the file where a retun was. If I only >>> had one return and it is at the end of >>> the line when it is converted back to >>> ascii the return is replace with a ?. >>> It does not have the period after. >>> >>> Does anyone know how to strip the ? character? >>> >>> John Balgenorth >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Wed Oct 1 18:53:14 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 1 Oct 2014 22:53:14 +0000 Subject: Outrageously slow AppleScript performance In-Reply-To: <33CE29F4-8069-4930-B7F7-CA8CBD533A62@mac.com> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <33CE29F4-8069-4930-B7F7-CA8CBD533A62@mac.com> Message-ID: Hi Bill - I tried your script and while it was slow it took more like 10-15 sec rather than 1-2 minutes to run on my MacBook Air (OSX 10.9.4; LC 6.3.3) . I tried simplifying the script in a few places to see if that helped but the improvements were only incremental. The biggest slowdown seems to occur in the step that creates the new event and there was nothing I could do to speed that up. Are you seeing similar slowdowns running other applescripts from LC? Terry... On 2/10/2014 7:57 am, "Bill Vlahos" wrote: >Yes, I am on Mavericks. It does require authorization as you described >but even that takes 20 seconds to be prompted and once I grant it >permission it still takes 1 to 2 minutes to run. > >In looking at this command line steps I wouldn?t expect it to work >because it is specifically looking for the applet. In my case the >LiveCode app is sending the script. There is no applet in the traditional >sense. I wonder if pointing it to the LiveCode engine would do the same >thing. > >Thanks for the feedback and confirmation. I?ll ask LiveCode support about >it. > >Bill Vlahos > >On Oct 1, 2014, at 11:29 AM, zryip theSlug >wrote: > >> Bill, >> >> On Maverick? >> >> I have no problem controlling MS Excel by executing AS scripts within >>LiveCode. >> >> I tried your script on Maverick and I can confirm it is very slow. The >> first time I executed it, iCal requested an authorization for the >> calendar to be modified by LiveCode. >> >> So, after a quick search, I found this link: >> http://support.apple.com/kb/HT5914?viewlocale=en_US&locale=en_US >> >> It seems that applets must be signed to be authorized to control >> others applications. The problem is may be in the communication >> between LiveCode and iCal because of a security layer. I tried to >> follow the steps described in the Apple tech notes but without >> success. >> >> >> Best Regards, >> >> On Wed, Oct 1, 2014 at 2:55 AM, Bill Vlahos wrote: >>> When I execute the AppleScript listed below in the AppleScript Editor >>>it works in about 1 second. Take the same script, put in in a LiveCode >>>field and do field ?name? as AppleScript and it takes between 1 and 2 >>>minutes to do! >>> >>> 1. Why? >>> 2. How can I make it run quickly? >>> >>> Here is the AppleScript. It makes an event at the date and time and >>>gets info on it so that it is ready to add addresses and send out. The >>>finished stack will show how to modify the newly created meeting and >>>delete it. I plan on doing the same functions for Outlook on the Mac as >>>a way to compare them. >>> >>> set calendarName to "Work" >>> set theSummary to "Title of the event goes here 0775-4944" >>> set theDescrption to "Description of event goes here." >>> --set theLocation to "" >>> set startDate to "October 1, 2014 9:30:00 AM" >>> set endDate to "October 1, 2014 1:00:00 PM" >>> >>> set startDate to date startDate >>> set endDate to date endDate >>> >>> tell application "Calendar" >>> activate >>> tell (first calendar whose name is calendarName) >>> set vEventInfo to make new event at end of events with >>>properties {summary:theSummary, start date:startDate, end date:endDate, >>>description:theDescrption} >>> copy uid to cID -- >>> copy vEventInfo's uid to eID --this works >>> save >>> end tell >>> reload calendars >>> view calendar at startDate >>> show vEventInfo >>> end tell >>> set the clipboard to eID >>> >>> --display dialog "Event " & eID & " of Calendar " & cID >>> tell application "System Events" >>> tell process "Calendar" >>> keystroke "i" using command down >>> end tell >>> end tell >>> >>> Bill Vlahos >>> _________________ >>> InfoWallet (http://www.infowallet.com) is about keeping your important >>>life information with you, accessible, and secure. >>> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) >>> RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Oct 1 19:01:56 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 16:01:56 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> Message-ID: <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> I just found this on the web. John Balgenorth Code for Program to convert binary to hexadecimal in C Programming #include #include void main() { int j=1,i=0; int k,num[100],n,sum=0; clrscr(); printf( "\n PLEASE ENTER VALUE N:" ); scanf( "%d" ,&n); printf( "\n PLEASE ENTER IN THE BINARY (0 - 1): " ); for (k=0;k1) { printf( "\n YOU ARE NOT ENTER BINARY NUMBER" ); goto end; } } for (k=n-1;k>=0;k--) { sum=sum+(num[k]*j); j=j*16; } printf( "\n BINARY TO HEXADECIMAL CONVERSION IS " ); printf( "%d" ,sum); end: getch(); } From jiml at netrin.com Wed Oct 1 19:25:27 2014 From: jiml at netrin.com (Jim Lambert) Date: Wed, 1 Oct 2014 16:25:27 -0700 Subject: Frustrating: gettings the objects in a group In-Reply-To: References: Message-ID: The dictionary says: "childControlNames Type: property Syntax: get the childControlNames of group Objects (or Types): group? But as I noted earlier you can use ?controlNames? or ?controlIds?. The short form is not mentioned in the dictionary entries for childControlNames or childControlIds. Another undocumented use is: put the controlNames of this card put the controlIds of this card So while the dictionary days these are properties of only groups, they appear to also be properties of cards. Jim Lambert From charles at buchwald.ca Wed Oct 1 19:40:18 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Wed, 1 Oct 2014 18:40:18 -0500 Subject: [OT] LC Contractor for Hire? Message-ID: <1F696A82-B927-4F10-B791-BD358FBA4FD7@buchwald.ca> I need some help finishing a medium-sized LC project. It's about 90% done, and I'm just too busy with other work to do some debugging, some customizing of a Windows versions, and a few other tasks. This is paid work. If you have suggestions about how I might find LC contractors, please share. If you are interested, please contact me off list with your rates and availability. If you know of anyone who might be interested, please forward this message, or have them contact me directly. Thank you kindly, - Charles -- Charles E. Buchwald CEO/Director General, Museografica Digital ? http://digital.museografica.com LC Developer Tools: http://buchwald.ca ? Email Notice: http://wp.me/P3aT4d-33 (Mac OSX 10.9.4, Windows 7, LC 6.6.3 Commercial) From dochawk at gmail.com Wed Oct 1 20:20:00 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 Oct 2014 17:20:00 -0700 Subject: =?UTF-8?Q?Re=3A_Strip_a_=E2=84=A2_character?= In-Reply-To: <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> Message-ID: On Wed, Oct 1, 2014 at 4:01 PM, JB wrote: > > Code for Program to convert binary to hexadecimal in C Programming > \begin snivel{} It burns, it burns! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mikedoub at gmail.com Wed Oct 1 20:41:10 2014 From: mikedoub at gmail.com (Mike Doub) Date: Wed, 1 Oct 2014 20:41:10 -0400 Subject: LiveCode startup Message-ID: i am trying to understand the start up sequence of livecode. Is there any documentation on the engine and it's architecture? I would like to get confirmation about how I imagine it works. I don't know C so reading the source code is not a big help so I would appreciate any incites. Here is what I imagine could be going on. 1. When when you start Livecode, the engine runs, it initializes the internal data structures and opens some fixed name stack located in the same directory as the engine. What is the name of that stack? 2. I am guessing that that all the standard messages are fired when this stack is loaded. Are there any special ones? Is there a list with the exact order of these messages? 3. Within this first stack, it loads the other stacks of the IDE as front scripts. 4. The IDE scripts hide any script starting with rev so we don't see them in the IDE. When you build a standalone of your app, the IDE builds a executable of the engine and your main stack but it renames your main stack to the name of that first stack in number 1 above so when you run the standalone your stack is the first to run. Since I am guessing at all of this, does anyone know if I am at all close? Regards, Mike From sundown at pacifier.com Wed Oct 1 21:08:28 2014 From: sundown at pacifier.com (JB) Date: Wed, 1 Oct 2014 18:08:28 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> Message-ID: <1AC0702E-6054-481E-9725-5D82F7E8EE8C@pacifier.com> Objective-C and GCD is a better way to go. It was nice to see Apple updated my Xcode today. Now I can use Swift too. John Balgenorth On Oct 1, 2014, at 5:20 PM, Dr. Hawkins wrote: > On Wed, Oct 1, 2014 at 4:01 PM, JB wrote: > >> >> Code for Program to convert binary to hexadecimal in C Programming >> > > \begin snivel{} > It burns, it burns! > > > > > -- > 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 mwieder at ahsoftware.net Wed Oct 1 22:07:58 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Oct 2014 19:07:58 -0700 Subject: LiveCode startup In-Reply-To: References: Message-ID: <68352982649.20141001190758@ahsoftware.net> Mike- Wednesday, October 1, 2014, 5:41:10 PM, you wrote: > Is there any documentation on the engine and it's architecture? Now *there's* a glass half-full approach to things... However, in the questions below I think you're talking about the IDE rather than the engine. > I would like to get confirmation about how I imagine it works. I don't > know C so reading the source code is not a big help so I would appreciate > any incites. Here is what I imagine could be going on. > 1. When when you start Livecode, the engine runs, it initializes the > internal data structures and opens some fixed name stack located in the > same directory as the engine. What is the name of that stack? home.rev, but the preferences stacks are also loaded. > 2. I am guessing that that all the standard messages are fired when this > stack is loaded. *All*? Not sure what you've got in mind. If you mean things like openCard etc, then yes - the IDE's stacks are just like any other stack. > Are there any special ones? Is there a list with the exact order of > these messages? The plugins get some messages that aren't normally delivered to other stacks. ... chortle. > 3. Within this first stack, it loads the other stacks of the IDE as front > scripts. Mmmm... no. There are some front and back scripts loaded into memory, as well as some library stacks, and others are waiting in the wings as substacks of other stacks. > 4. The IDE scripts hide any script starting with rev so we don't see them > in the IDE. In the View menu, select "LiveCode UI Elements in Lists" > When you build a standalone of your app, the IDE builds a executable of the > engine and your main stack but it renames your main stack to the name of > that first stack in number 1 above so when you run the standalone your > stack is the first to run. I can only guess at the standalone builder myself, since I haven't dived into that. I'll stay away from that question. -- -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 terryhass at tdheng.com Wed Oct 1 22:37:35 2014 From: terryhass at tdheng.com (TERRY HASS) Date: Wed, 1 Oct 2014 21:37:35 -0500 Subject: An Odd Problem Using Google Maps In Livecode Message-ID: <4BBEE9C0-8B03-4FE9-9147-3B32D3C04F6E@tdheng.com> Hi All, I have an iOS app that is having issues using Google maps. When the device is connected using WiFi, all is well and the map downloads and displays as expected. However, when WiFi is unavailable or turned off, all I get returned is the error icon. This app used to work fine and I haven't changed the coding. I have been searching for the problem and scratching my head for days now. Any insight or suggestions would be greatly appreciated. Thanks, Terry From coiin at verizon.net Wed Oct 1 22:46:00 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 01 Oct 2014 22:46:00 -0400 Subject: An Odd Problem Using Google Maps In Livecode In-Reply-To: <4BBEE9C0-8B03-4FE9-9147-3B32D3C04F6E@tdheng.com> References: <4BBEE9C0-8B03-4FE9-9147-3B32D3C04F6E@tdheng.com> Message-ID: <4DC6B195-970B-4BE8-830A-E87B37265D0E@verizon.net> What do you get if you try the same URL in a browser, on and off wifi? From bruceap at comcast.net Wed Oct 1 22:50:17 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Wed, 1 Oct 2014 22:50:17 -0400 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: Distribute PDFTK??? My instructions for Patent Grabber simply tell Windows users where they can download it themselves. Much less complicated that way. Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Sep 30, 2014, at 10:39 PM, Dr. Hawkins wrote: > On Tue, Sep 30, 2014 at 5:34 PM, Bruce Pokras wrote: > >> PDFTK works fine under Windows using shell commands from Livecode. That is >> how my Patent Grabber app combines individual patent pages into a single >> PDF. > > > Ooohh! Someone who's done it on windows with a commercial program! > > How do you handle distributing/accessing pdftk itself? > > My thinking is to ship both binary & source, and stick that version of tdk > in with the program > > > -- > 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 niconiko at gmail.com Wed Oct 1 23:53:21 2014 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 2 Oct 2014 12:53:21 +0900 Subject: An Odd Problem Using Google Maps In Livecode In-Reply-To: <4DC6B195-970B-4BE8-830A-E87B37265D0E@verizon.net> References: <4BBEE9C0-8B03-4FE9-9147-3B32D3C04F6E@tdheng.com> <4DC6B195-970B-4BE8-830A-E87B37265D0E@verizon.net> Message-ID: Not a solution, but, an Android app (Runtastic) that used to work, suddenly isn't. It crashes each and every time it tries to open up a Google map. And other Android users (at least, on Nexus 5, Android 4.4.4) have been recently describing this exact prome. Reading your description made me think the problem might be with Google maps. Couldn't know for sure, though. Good luck tracking down the bug. -- Nicolas Cueto On 2 October 2014 11:46, Colin Holgate wrote: > What do you get if you try the same URL in a browser, on and off wifi? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From williamdesmet at gmail.com Thu Oct 2 03:55:43 2014 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 2 Oct 2014 09:55:43 +0200 Subject: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens? In-Reply-To: <8287889E-20E2-4F96-8A35-A14A59824C50@earthednet.org> References: <7D2D34FE-2E48-4B1E-9C10-82A8EA94D6B8@icloud.com> <8287889E-20E2-4F96-8A35-A14A59824C50@earthednet.org> Message-ID: Hi there, Thanks for your answers. When using LC 6.6.3 everything works as aspected (the entire snapshot is saved on a retina device) with the original code below (build with an older version of LC): ------ export snapshot from rectangle "20,72,1000,742" to tFoto as PNG put tFoto into img "foto" put tFoto into URL ("file:"&specialFolderPath("documents")&"/woordparachute.png") put specialFolderPath("documents")&"/woordparachute.png" into tImage -- mergPopActivity "",tImage,"","" ----- There was a suggestion there was a bug with snapshot. I think I will use LC 6.6.3 to upload a new version off the app and see what happens. Suggestions or code changes are still welcome. greetings, William 2014-09-29 17:01 GMT+02:00 Earthednet-wp : > There was a problem with snapshot that, I think, got fixed in 6.7, or > possibly one of the 6.6 releases. I use snapshot heavily in my app, > reported a bug a while ago, and it was verified and fixed. You might try > one of the newer releases. > > I'm doing all of my work on 7.0 now, and the app I'm developing works well. > Best, > Bill > > William Prothero > http://es.earthednet.org > > > On Sep 29, 2014, at 7:29 AM, Chris Sheffield > wrote: > > > > William, > > > > I?ve run into this as well. I?m still not totally sure where the problem > lies. > > > > I don?t know how you?re saving your image, but in my case I am taking a > screenshot. I finally got it to work correctly with: > > > > export snapshot from this card to file [file_path] as PNG > > > > Hopefully that?ll work for you as well. > > > > Chris > > > > > > -- > > Chris Sheffield > > Read Naturally, Inc. > > www.readnaturally.com > > > >> On Sep 27, 2014, at 7:38 AM, William de Smet > wrote: > >> > >> Hi there, > >> > >> Yesterday I got an e-mail about a problem with one of my apps. > >> I am trying to debug the problem now and maybe anyone can help me. > >> > >> In my app I use MergPop (MergExt) for saving an image. > >> When putting my app through Xcode on my iPad the image is saved nicely > >> using MergPop. > >> But when I download the app from the Appstore (I never did before until > >> today) only a part of the image is saved using MergPop. > >> This is on a iPad 3 with retina screen with iOS 7. On a non Retina > screen > >> (iPad mini) with iOS 8 the behavior is normal and the entire image is > saved. > >> > >> My app was uploaded to the App store in februari 2014 and today I > noticed > >> that MergPop was updated on 3/24/14. > >> Does anyone recognize my problem. Is it due to an older version of > Mergpop > >> (2.0.7?) and retina screens? > >> I also contacted Monty but he didn't respond yet.. > >> > >> greetings, > >> > >> William > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 2 05:05:35 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 2 Oct 2014 03:05:35 -0600 Subject: position of field scrollbar Message-ID: <7B9AD2726C4847419638D502C41A175B@userd204a4d61c> Hello, I have a field with a vScrollbar Does anyone know how to set the position of the scrollbar to 0 ?? I'm sorry, but the LC dictionary is of NO help in this matter - at least not that I could see. Thanks, Larry From m.schonewille at economy-x-talk.com Thu Oct 2 05:09:15 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 02 Oct 2014 11:09:15 +0200 Subject: position of field scrollbar In-Reply-To: <7B9AD2726C4847419638D502C41A175B@userd204a4d61c> References: <7B9AD2726C4847419638D502C41A175B@userd204a4d61c> Message-ID: <542D163B.5000808@economy-x-talk.com> Hi Larry, If you search the dictionary for "scroll", you'll see properties such as scroll, vScroll and hScroll. You can use the vScroll property to set the scroll of a field to 0. -- 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 10/2/2014 11:05, larry at significantplanet.org wrote: > Hello, > I have a field with a vScrollbar > > Does anyone know how to set the position of the scrollbar to 0 ?? > > I'm sorry, but the LC dictionary is of NO help in this matter - at least not that I could see. > > Thanks, > Larry From bernd.gottwald at outrange.com Thu Oct 2 06:00:18 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 2 Oct 2014 12:00:18 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_5?= Message-ID: <20141002100018.24912.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From toolbook at kestner.de Thu Oct 2 07:58:42 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 2 Oct 2014 13:58:42 +0200 Subject: How to keep the RTF textsize in a variable? Message-ID: <004301cfde38$36c7eac0$a457c040$@de> Hello, I have a field where I have set several different text sizes -- then I put the RTFText of fld "text1" into myText I do some text operations in myText -- then I set the RTFText of fld "text2" to myText -- and then I write the RTFText of fld "text2" to file myFile The result in my RTF document now has another (standard?) text size. How can I keep the text size - I have different text sizes in one field - from my source field in myFile? Thanks for any ideas Tiemo From lists at mangomultimedia.com Thu Oct 2 09:02:35 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 2 Oct 2014 09:02:35 -0400 Subject: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens? In-Reply-To: References: <7D2D34FE-2E48-4B1E-9C10-82A8EA94D6B8@icloud.com> <8287889E-20E2-4F96-8A35-A14A59824C50@earthednet.org> Message-ID: On Thu, Oct 2, 2014 at 3:55 AM, William de Smet wrote: > ------ > export snapshot from rectangle "20,72,1000,742" to tFoto as PNG > put tFoto into img "foto" > put tFoto into URL > ("file:"&specialFolderPath("documents")&"/woordparachute.png") > put specialFolderPath("documents")&"/woordparachute.png" into tImage > -- > mergPopActivity "",tImage,"","" > ----- > You need to use "binfile:" when working with binary data (e.g. image data). Try changing "file:" to "binfile:". -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From sundown at pacifier.com Thu Oct 2 09:11:39 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 06:11:39 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> Message-ID: <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> I take if very serious when I see a company that tries to put out a good product struggle due to problems that may have been placed there like a stumbling block to destroy them. Of course like your code below all code is written intentionally. Who do you think is sniveling and exactly how fun is if for you to say ?it burns. it burns!?? And who are you saying it to me because the code does not work or LiveCode? Either way what makes it so fun for you? But when it comes to the error I found, that error and many others can destroy an good company and may have helped cause the financial problems Revolution had. I am not attacking LiveCode and have been supporting them for many years. The many test I have done on the Binary to Hex code makes me think it took some extra special code to cause the problem. I certainly do not think this was done to attack me personally. John Balgenorth On Oct 1, 2014, at 5:20 PM, Dr. Hawkins wrote: > On Wed, Oct 1, 2014 at 4:01 PM, JB wrote: > >> >> Code for Program to convert binary to hexadecimal in C Programming >> > > \begin snivel{} > It burns, it burns! > > > > > -- > 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 Oct 2 10:09:20 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Oct 2014 07:09:20 -0700 Subject: Strip a =?UTF-8?B?4oSiIGNoYXJhY3Rlcg==?= In-Reply-To: <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> References: <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: <542D5C90.1010105@fourthworld.com> JB wrote: > On Oct 1, 2014, at 5:20 PM, Dr. Hawkins wrote: > >> On Wed, Oct 1, 2014 at 4:01 PM, JB wrote: >> >>> Code for Program to convert binary to hexadecimal in C Programming >> >> \begin snivel{} >> It burns, it burns! ... > Who do you think is sniveling and exactly > how fun is if for you to say ?it burns. it burns!?? > > And who are you saying it to me because the > code does not work or LiveCode? Either way > what makes it so fun for you? > > But when it comes to the error I found, that > error and many others can destroy an good > company and may have helped cause the > financial problems Revolution had. > > I am not attacking LiveCode and have been > supporting them for many years. > > The many test I have done on the Binary to Hex > code makes me think it took some extra special > code to cause the problem. I certainly do not > think this was done to attack me personally. Dr. Hawkins is a good-natured fellow, and I've known him long enough to feel confident that his comment wasn't an attack on you, but merely on C, and even then in a light-hearted way (or so I'm sure it was intended). Most of us here are long-time LiveCode fans, so when we see C presented as an alternative, the notion of having to do that level of tedious bit-counting and then waiting for a compiler compels us to make the text equivalent of raspberry sounds. :) In this particular case, the code you presented is likely very similar to the code already in LiveCode for the built-in binaryDecode function. But in LiveCode, we not only have the advantage of being able to access it directly in the scripting language right now, but it also runs on all 7 of the platforms LiveCode supports. This is similar in some respects to your earlier suggestion that "we need to have the NSFIleManager". If you review the LiveCode source code you'll find it often uses the standard APIs on each of the platforms it supports, but as scripters we're insulated from having to deal with the low-level implementation details like memory allocation and such, with the LiveCode engine providing high-level access to those OS routines. The core problem there wasn't in LiveCode's language at all, but merely the need to do thorough error-checking for inaccessible file system objects, as would be the case in any language, even C. Your familiarity with C may put you in a good position to help with the source code, if you're inclined to consider it. The repository is here: If nothing else, I think you'll be impressed with the thorough job the team has been doing to provide robust and efficient access to low-level OS routines from the comfort of a scripting language. -- 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 rdimola at evergreeninfo.net Thu Oct 2 10:21:49 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Oct 2014 10:21:49 -0400 Subject: position of field scrollbar In-Reply-To: <7B9AD2726C4847419638D502C41A175B@userd204a4d61c> References: <7B9AD2726C4847419638D502C41A175B@userd204a4d61c> Message-ID: <003901cfde4c$346ccca0$9d4665e0$@net> Set the vscroll of control "YourField" to 0 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 larry at significantplanet.org Sent: Thursday, October 02, 2014 5:06 AM To: use-livecode at lists.runrev.com Subject: position of field scrollbar Hello, I have a field with a vScrollbar Does anyone know how to set the position of the scrollbar to 0 ?? I'm sorry, but the LC dictionary is of NO help in this matter - at least not that I could see. Thanks, 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 ambassador at fourthworld.com Thu Oct 2 10:24:50 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Oct 2014 07:24:50 -0700 Subject: Outrageously slow AppleScript performance In-Reply-To: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> Message-ID: <542D6032.6020505@fourthworld.com> Bill Vlahos wrote: > When I execute the AppleScript listed below in the AppleScript Editor > it works in about 1 second. Take the same script, put in in a > LiveCode field and do field ?name? as AppleScript and it takes > between 1 and 2 minutes to do! > > 1. Why? > 2. How can I make it run quickly? The time difference is big enough that I suspect Zyrip is on the right track: But in general, executing AppleScript from LiveCode will almost always be somewhat slower than running the same script within Apple's AppleScript Editor for two reasons: 1. In AS, the interface to the AE subsystem is initialized when the app opens, but in LC it needs to be setup at runtime when the call is made. 2. In AS scripts are compiled before being run, but in LC we're passing a string to the AS subsystem, which it then has to compile before executing. Neither of those should take quite that long, though. If you're coming to tonight's LiveCode User Group meeting in Pasadena please bring your project and let's brainstorm ways to diagnose what's going on with it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Oct 2 10:31:30 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Oct 2014 07:31:30 -0700 Subject: LiveCode startup In-Reply-To: References: Message-ID: <542D61C2.8010403@fourthworld.com> Mike Doub wrote: > i am trying to understand the start up sequence of livecode. > Is there any documentation on the engine and it's architecture? Depends what you want to do. For most scripters, the User Guide provides sufficient description of the message sequence. But if you want to make a custom IDE, there are some details that won't interest most folks that might interest you, and I could put together a tech note if needed. What are you looking to do? PS - a thought on one item in your list: > When you build a standalone of your app, the IDE builds a executable > of the engine and your main stack but it renames your main stack to > the name of that first stack in number 1 above so when you run the > standalone your stack is the first to run. Stack objects are not renamed. After all, if they were then any scripts that refer to that stack would break. During build time the engine executable becomes statically bound to a copy of your stack file, with a pointer within the engine that finds the beginning if your mainstack object within the executable file so it can unpack it and start sending messages. In most respects (aside from initialization scripts specific to the IDE), the boot sequence is very similar to what you see when opening a stack in LiveCode, with the exception that the startup message isn't sent since the IDE gets that when it starts up. Once we know more about what you're looking to do we can provide clear advisement on how to go about it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Thu Oct 2 10:42:26 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 2 Oct 2014 10:42:26 -0400 Subject: Outrageously slow AppleScript performance In-Reply-To: <542D6032.6020505@fourthworld.com> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <542D6032.6020505@fourthworld.com> Message-ID: Unless the AS needs to be built dynamically, you could compile it, and just launch it through LC. ~Roger On Thu, Oct 2, 2014 at 10:24 AM, Richard Gaskin wrote: > Bill Vlahos wrote: > > > When I execute the AppleScript listed below in the AppleScript Editor > > it works in about 1 second. Take the same script, put in in a > > LiveCode field and do field ?name? as AppleScript and it takes > > between 1 and 2 minutes to do! > > > > 1. Why? > > 2. How can I make it run quickly? > > The time difference is big enough that I suspect Zyrip is on the right > track: > > > But in general, executing AppleScript from LiveCode will almost always be > somewhat slower than running the same script within Apple's AppleScript > Editor for two reasons: > > 1. In AS, the interface to the AE subsystem is initialized when the app > opens, but in LC it needs to be setup at runtime when the call is made. > > 2. In AS scripts are compiled before being run, but in LC we're passing a > string to the AS subsystem, which it then has to compile before executing. > > Neither of those should take quite that long, though. > > If you're coming to tonight's LiveCode User Group meeting in Pasadena > please bring your project and let's brainstorm ways to diagnose what's > going on with it. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Oct 2 10:43:47 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 07:43:47 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: <542D5C90.1010105@fourthworld.com> References: <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> <542D5C90.1010105@fourthworld.com> Message-ID: <5512B588-ADFC-481C-8DC9-60AF530EB83C@pacifier.com> The code I presented was because I thought it would be similar to what you already have. It shows there is not much code for that routine. Strip out the lines that are made for the user to enter the code to transfer and show those questions on screen and the part that will quit if the user does not enter a binary code and then all of the required curly braces etc. and there is not that much left to the code that was small in the beginning. I knew pascal better than I know C. I can read it and also write it a little but I am not a pro or even close. Objective-C is the way to go and for me it has a better structure. But it uses some of the same formats as C. If I was going to suggest code to replace the code that is being used I would strongly suggest Grand Central Dispatch (GCD). It can be accessed from foundation which Trevor said they have put in LiveCode and the foundation library is accessible from the Objective-C externals package he posted a link to. It compiles successfully without any problems using what is in the package even on the newer Xcode but it won?t work properly due to it will need to be compiled with Xcode 2.4. That means once someone gets their system in place to properly compile his examples things like the NSFilemanager and GCD can easily be incorporated. Concerning the problems with the binary to hex conversion not working I tested it many different ways. I placed returns before the line and after the line. I have stripped the returns and I have placed each 8 character binary on a separate line and then I took only the eight chars from each line so nothing would need to be stripped and it would still put the unwanted characters in the Hex that was returned. All you do is take eight characters and then enter two characters they represent. You enter one line of code and it works but if you enter more than one line it does not work. Problems like that could have easily made customers say that it is not a good program to use and that reduces sales and causes financial problems. A lot of my code was stolen and erased from my hard drive and they would also change it causing me problems. This actually happened and my business records were changed. So I have been attacked at many levels for many years and when I expose a serious problem with code in LiveCode and someone taunts me or LiveCode I do not find it any more fun than someone kicking me after others have attacked me from behind. That is the same attitude people gave me when they would steal my supplies and tools from my electrical contracting business and intentionally over charge me constantly. I wrote a program to catch the over charging but even that takes time out of your life and they know what they are doing and they enjoyed it. You learn to deal with it or you break and they are not held accountable because they will say it was a mistake. Things are a lot worse than you are aware of in the business world unless you are connected to this group. John Balgenorth On Oct 2, 2014, at 7:09 AM, Richard Gaskin wrote: > JB wrote: > > > On Oct 1, 2014, at 5:20 PM, Dr. Hawkins wrote: > > > >> On Wed, Oct 1, 2014 at 4:01 PM, JB wrote: > >> > >>> Code for Program to convert binary to hexadecimal in C Programming > >> > >> \begin snivel{} > >> It burns, it burns! > ... > > Who do you think is sniveling and exactly > > how fun is if for you to say ?it burns. it burns!?? > > > > And who are you saying it to me because the > > code does not work or LiveCode? Either way > > what makes it so fun for you? > > > > But when it comes to the error I found, that > > error and many others can destroy an good > > company and may have helped cause the > > financial problems Revolution had. > > > > I am not attacking LiveCode and have been > > supporting them for many years. > > > > The many test I have done on the Binary to Hex > > code makes me think it took some extra special > > code to cause the problem. I certainly do not > > think this was done to attack me personally. > > Dr. Hawkins is a good-natured fellow, and I've known him long enough to feel confident that his comment wasn't an attack on you, but merely on C, and even then in a light-hearted way (or so I'm sure it was intended). > > Most of us here are long-time LiveCode fans, so when we see C presented as an alternative, the notion of having to do that level of tedious bit-counting and then waiting for a compiler compels us to make the text equivalent of raspberry sounds. :) > > In this particular case, the code you presented is likely very similar to the code already in LiveCode for the built-in binaryDecode function. > > But in LiveCode, we not only have the advantage of being able to access it directly in the scripting language right now, but it also runs on all 7 of the platforms LiveCode supports. > > This is similar in some respects to your earlier suggestion that "we need to have the NSFIleManager". If you review the LiveCode source code you'll find it often uses the standard APIs on each of the platforms it supports, but as scripters we're insulated from having to deal with the low-level implementation details like memory allocation and such, with the LiveCode engine providing high-level access to those OS routines. The core problem there wasn't in LiveCode's language at all, but merely the need to do thorough error-checking for inaccessible file system objects, as would be the case in any language, even C. > > Your familiarity with C may put you in a good position to help with the source code, if you're inclined to consider it. The repository is here: > > > > If nothing else, I think you'll be impressed with the thorough job the team has been doing to provide robust and efficient access to low-level OS routines from the comfort of a scripting language. > > -- > 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 ben at runrev.com Thu Oct 2 10:55:34 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 2 Oct 2014 15:55:34 +0100 Subject: RELEASE: LiveCode 6.6.4 RC1 Message-ID: Dear list members, We're please the announce the release of LiveCode 6.6.4 RC1. *Release Contents* 6.6.4-rc-1 brings iOS 8 support to LiveCode. As well as adding the ability to produce device builds using the iOS 8 SDK (required for app store submission) and test with the iOS 8 simulator, the following iOS 8 bugs have been resolved: * Pickers do not work * Rotation does not work * Screen sizes report incorrectly * Push notifications do no work * Apps rejected by app store * iPhone 6 and iPhone 6 Plus support In order to take full advantage of all the fixes, it is recommended that users have Xcode 6 (and at least OS 10.9) installed. Users of older versions of OS X can still take advantage of the bug fixes and develop and test as before. However, beware that it is likely apps built with such a setup will not be accepted into the app store. *Getting the release* You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team From dave at applicationinsight.com Thu Oct 2 11:25:22 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 2 Oct 2014 08:25:22 -0700 (PDT) Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: References: Message-ID: <1412263522587-4684085.post@n4.nabble.com> To everyone at RunRev - THANK YOU AND WELL DONE FOR FIXING IT! ----- "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-6-6-4-RC1-tp4684084p4684085.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Oct 2 11:34:59 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Oct 2014 08:34:59 -0700 Subject: Strip a =?UTF-8?B?4oSiIGNoYXJhY3Rlcg==?= In-Reply-To: <5512B588-ADFC-481C-8DC9-60AF530EB83C@pacifier.com> References: <5512B588-ADFC-481C-8DC9-60AF530EB83C@pacifier.com> Message-ID: <542D70A3.9010703@fourthworld.com> JB wrote: > The code I presented was because I thought it would > be similar to what you already have. It shows there is > not much code for that routine. Seems like we're on the same page then. I've missed the first several posts in this thread, so I must admit that I don't have a good understanding of the full scope of the problem, but I do maintain the belief that because LC has pretty similar code to do that sort of replacement, I suspect what's needed here could be done with LC right now. If the problem is that the source text is Unicode, a simple binary replace may not suffice, since it can be difficult to know the boundaries between glyphs. For example, if you were replacing "AA" with "BB", if your source had: BB BA AB AA ...then you'd wind up with: BB BB BB AA If this is Unicode we're dealing with, you may find LiveCode 7 can handle this quite well using the built-in replace command, as it understands glyph boundaries well. But even in LiveCode 6.x, I'll bet there's a way to solve with what we have right now, though it may be slower. > If I was going to suggest code to replace the code that is being > used I would strongly suggest Grand Central Dispatch (GCD). LC now includes enhanced parallelism, though mostly for graphics at this time. It may even be that the Mac build uses GCD to help with that (being Apache licensed it's compatible with the GPL that governs the Community Edition). But how would parallelism benefit a binary replacement? Is the data set unusually large? I would expect/hope that the new multi-core optimizations in LC could one day be extended with an exposed API for scripting. Perhaps this may be a good test case for exploring those ideas. > So I have been attacked at many levels for many years and when > I expose a serious problem with code in LiveCode and someone > taunts me or LiveCode I do not find it any more fun than someone > kicking me after others have attacked me from behind. That is the > same attitude people gave me when they would steal my supplies > and tools from my electrical contracting business and intentionally > over charge me constantly. I wrote a program to catch the over > charging but even that takes time out of your life and they know > what they are doing and they enjoyed it. You learn to deal with it > or you break and they are not held accountable because they will > say it was a mistake. Things are a lot worse than you are aware > of in the business world unless you are connected to this group. I'm sorry to hear that you've had such experience with your business, but please let me assure you no one here means to do you any harm. On the contrary, Dr. Hawkins was merely poking fun at C rather than you, and my only interest here is in helping you get what you want from LiveCode. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sundown at pacifier.com Thu Oct 2 12:06:51 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 09:06:51 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: <542D70A3.9010703@fourthworld.com> References: <5512B588-ADFC-481C-8DC9-60AF530EB83C@pacifier.com> <542D70A3.9010703@fourthworld.com> Message-ID: <55FF3602-8787-4A4D-A736-737ECAE30C10@pacifier.com> Well then Dr. Hawkins won?t need to take things too seriously if he is offended. He is a big boy just like me and you. As for my business it is nice you are concerned about the damage but there was a lot more than that at a lot more levels. I can assure you these people are everywhere and they are organized. It appears they have some form of tapping system and they use gossip or other means to attack too. But the subject is the code. I do not know unix and you may be right. The thing with the extra chars is critical. The code to convert is simple. As for the code being converted it was all from a field. Write something in the field on one line then use the code to convert that line to binary and it works. You put that code into the field and all it knows is you have put 6 characters for each letter you had in the field and those characters are now a combination of 0?s and 1?s. So you now have the same type of text in the field. To convert that to Hex you take 8 chars out of the field and then replace them with 2 chars that can be a number and a letter from A to F. The letters can be either upper or lower case but it will be used the same way in the conversion. Most people are not actually doing the conversion from the binary 8 char to Hex 2 char they call a routine from a library similar to me call a function you wrote. So the conversion if successful at all should always be successful and will not give you extra chars. The text returned is what will always be returned so if your function takes text from a field and returns it then there is really no big change unless you change its form. What is being done to the text is not changing its form unless the code used is somehow changing it but if that is the case you would not be able to have a single char or line work either. There is no reason to add more chars just because you have used the conversion on text from a different line. If it was doing it on text from the first line too then that might be possible but just telling 8 chars they are now 2 chars does not add AA and the form of text entered or returned does has no reason to be changed just because you entered text from another line. I did it where I only used the eight chars on each line. I can choose any one line from the field and it works fine. I have ways that I think I can solve the problems and if that does not work I can use GCD. The problem needs fixed or you will be left with a problem and in that case why not just remove the code that allows you to convert Binary to Hex? Leaving bad code is like selling milk and then the user opens the container and finds it does not have any milk. If you know milk is not being put into the containers then do not sell the milk or fix it. John Balgenorth On Oct 2, 2014, at 8:34 AM, Richard Gaskin wrote: > JB wrote: > > > The code I presented was because I thought it would > > be similar to what you already have. It shows there is > > not much code for that routine. > > Seems like we're on the same page then. > > I've missed the first several posts in this thread, so I must admit that I don't have a good understanding of the full scope of the problem, but I do maintain the belief that because LC has pretty similar code to do that sort of replacement, I suspect what's needed here could be done with LC right now. > > If the problem is that the source text is Unicode, a simple binary replace may not suffice, since it can be difficult to know the boundaries between glyphs. > > For example, if you were replacing "AA" with "BB", if your source had: > > BB BA AB AA > > ..then you'd wind up with: > > BB BB BB AA > > If this is Unicode we're dealing with, you may find LiveCode 7 can handle this quite well using the built-in replace command, as it understands glyph boundaries well. > > But even in LiveCode 6.x, I'll bet there's a way to solve with what we have right now, though it may be slower. > > > > If I was going to suggest code to replace the code that is being > > used I would strongly suggest Grand Central Dispatch (GCD). > > LC now includes enhanced parallelism, though mostly for graphics at this time. It may even be that the Mac build uses GCD to help with that (being Apache licensed it's compatible with the GPL that governs the Community Edition). > > But how would parallelism benefit a binary replacement? Is the data set unusually large? > > I would expect/hope that the new multi-core optimizations in LC could one day be extended with an exposed API for scripting. Perhaps this may be a good test case for exploring those ideas. > > > > So I have been attacked at many levels for many years and when > > I expose a serious problem with code in LiveCode and someone > > taunts me or LiveCode I do not find it any more fun than someone > > kicking me after others have attacked me from behind. That is the > > same attitude people gave me when they would steal my supplies > > and tools from my electrical contracting business and intentionally > > over charge me constantly. I wrote a program to catch the over > > charging but even that takes time out of your life and they know > > what they are doing and they enjoyed it. You learn to deal with it > > or you break and they are not held accountable because they will > > say it was a mistake. Things are a lot worse than you are aware > > of in the business world unless you are connected to this group. > > I'm sorry to hear that you've had such experience with your business, but please let me assure you no one here means to do you any harm. > > On the contrary, Dr. Hawkins was merely poking fun at C rather than you, and my only interest here is in helping you get what you want from LiveCode. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Thu Oct 2 12:18:20 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 09:18:20 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: <55FF3602-8787-4A4D-A736-737ECAE30C10@pacifier.com> References: <5512B588-ADFC-481C-8DC9-60AF530EB83C@pacifier.com> <542D70A3.9010703@fourthworld.com> <55FF3602-8787-4A4D-A736-737ECAE30C10@pacifier.com> Message-ID: <60464DE5-80B4-446A-8FCA-3679DAA6D271@pacifier.com> This is an error 6 characters I have trouble with my vision from being poisoned in my home and it collects on my eyes. The discussion concerns eight chars and two chars, John Balgenorth On Oct 2, 2014, at 9:06 AM, JB wrote: > 6 characters From dochawk at gmail.com Thu Oct 2 12:28:33 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Oct 2014 09:28:33 -0700 Subject: =?UTF-8?Q?Re=3A_Strip_a_=E2=84=A2_character?= In-Reply-To: <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: On Thu, Oct 2, 2014 at 6:11 AM, JB wrote: > Who do you think is sniveling and exactly > how fun is if for you to say ?it burns. it burns!?? > > And who are you saying it to me because the > code does not work or LiveCode? Either way > what makes it so fun for you? > No, not at all. It's the C. Any C. Especially working in text with C. "snivel" was the best word I could come up with for Gollum's voice/tone from the Lord of the Rings movie (I think they were binding him with elven rope, or some such.). I've used, learned, and forgotten more languages that I can recall over the years--including C and C++ a couple of times each, raw postscript, and coding in LaTeX (from which the [probably mis-syntaxed] "\snivel" line is drawn). After having written a mailmerge in C++ (or maybe it was C; whatever LyX is written in), my reaction to *any* text manipulation in C for the rest of my life will probably be that of a vampire to a Crucifix . . . C has some wonderful features. I'd particularly like to be able to use it's variable scoping in livecode. (hmm, that may be all :). I've been personally told by Dennis Ritchie that Ken would agree with my complaint that the names of mkdir and rmdir in Unix are bugs, as commands that important should have two letter names. But I truly hope to go the rest of my life without writing or even reading, another line of C. It burns. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Thu Oct 2 12:32:34 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Oct 2014 12:32:34 -0400 Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <1412263522587-4684085.post@n4.nabble.com> References: <1412263522587-4684085.post@n4.nabble.com> Message-ID: <000901cfde5e$790fbb80$6b2f3280$@net> +1 THANK YOU! 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: Thursday, October 02, 2014 11:25 AM To: use-revolution at lists.runrev.com Subject: Re: RELEASE: LiveCode 6.6.4 RC1 To everyone at RunRev - THANK YOU AND WELL DONE FOR FIXING IT! From rdimola at evergreeninfo.net Thu Oct 2 12:32:34 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Oct 2014 12:32:34 -0400 Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <1412263522587-4684085.post@n4.nabble.com> References: <1412263522587-4684085.post@n4.nabble.com> Message-ID: <000901cfde5e$790fbb80$6b2f3280$@net> +1 THANK YOU! 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: Thursday, October 02, 2014 11:25 AM To: use-revolution at lists.runrev.com Subject: Re: RELEASE: LiveCode 6.6.4 RC1 To everyone at RunRev - THANK YOU AND WELL DONE FOR FIXING IT! From sundown at pacifier.com Thu Oct 2 12:33:01 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 09:33:01 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: Okay, I am sorry I misunderstood you. I do not like C or any of its form either. And I do not like all of the wasted text with curly braces. Now that Apple has released Swift it is a little easier than C but you still need to have a C background to use it. John Balgenorth On Oct 2, 2014, at 9:28 AM, Dr. Hawkins wrote: > On Thu, Oct 2, 2014 at 6:11 AM, JB wrote: > >> Who do you think is sniveling and exactly >> how fun is if for you to say ?it burns. it burns!?? >> >> And who are you saying it to me because the >> code does not work or LiveCode? Either way >> what makes it so fun for you? >> > > No, not at all. It's the C. Any C. Especially working in text with C. > > "snivel" was the best word I could come up with for Gollum's voice/tone > from the Lord of the Rings movie (I think they were binding him with elven > rope, or some such.). > > I've used, learned, and forgotten more languages that I can recall over the > years--including C and C++ a couple of times each, raw postscript, and > coding in LaTeX (from which the [probably mis-syntaxed] "\snivel" line is > drawn). > > After having written a mailmerge in C++ (or maybe it was C; whatever LyX is > written in), my reaction to *any* text manipulation in C for the rest of my > life will probably be that of a vampire to a Crucifix . . . > > C has some wonderful features. I'd particularly like to be able to use > it's variable scoping in livecode. (hmm, that may be all :). I've been > personally told by Dennis Ritchie that Ken would agree with my complaint > that the names of mkdir and rmdir in Unix are bugs, as commands that > important should have two letter names. > > But I truly hope to go the rest of my life without writing or even reading, > another line of C. > > It burns. > > -- > 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 pystcat at gmail.com Thu Oct 2 12:42:38 2014 From: pystcat at gmail.com (PystCat) Date: Thu, 2 Oct 2014 12:42:38 -0400 Subject: =?utf-8?Q?Re:_Strip_a_=E2=84=A2_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: <7A4CC847-57D0-465A-95BA-D63216FB109A@gmail.com> LOL. What's funny is when I read that line, "...it burns. It burns!" I immediately thought of Gollum when he was being tied up. Good to know it wasn't me. Maybe I read too much Tolkien.... > On Oct 2, 2014, at 12:28 PM, "Dr. Hawkins" wrote: > >> On Thu, Oct 2, 2014 at 6:11 AM, JB wrote: >> >> Who do you think is sniveling and exactly >> how fun is if for you to say ?it burns. it burns!?? >> >> And who are you saying it to me because the >> code does not work or LiveCode? Either way >> what makes it so fun for you? > > No, not at all. It's the C. Any C. Especially working in text with C. > > "snivel" was the best word I could come up with for Gollum's voice/tone > from the Lord of the Rings movie (I think they were binding him with elven > rope, or some such.). > > I've used, learned, and forgotten more languages that I can recall over the > years--including C and C++ a couple of times each, raw postscript, and > coding in LaTeX (from which the [probably mis-syntaxed] "\snivel" line is > drawn). > > After having written a mailmerge in C++ (or maybe it was C; whatever LyX is > written in), my reaction to *any* text manipulation in C for the rest of my > life will probably be that of a vampire to a Crucifix . . . > > C has some wonderful features. I'd particularly like to be able to use > it's variable scoping in livecode. (hmm, that may be all :). I've been > personally told by Dennis Ritchie that Ken would agree with my complaint > that the names of mkdir and rmdir in Unix are bugs, as commands that > important should have two letter names. > > But I truly hope to go the rest of my life without writing or even reading, > another line of C. > > It burns. > > -- > 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 rdimola at evergreeninfo.net Thu Oct 2 12:45:38 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Oct 2014 12:45:38 -0400 Subject: =?us-ascii?Q?RE:_Strip_a_T_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: <001501cfde60$4c4264c0$e4c72e40$@net> +1 but unfortunately for me.....Never going to happen. > But I truly hope to go the rest of my life without writing or even > reading, another line of C. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bvlahos at mac.com Thu Oct 2 13:33:56 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 02 Oct 2014 10:33:56 -0700 Subject: Outrageously slow AppleScript performance In-Reply-To: References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <542D6032.6020505@fourthworld.com> Message-ID: <015FF4C8-E57C-45B8-8716-DA3BC56D09CF@mac.com> Thanks everyone. It turns out that RunRev knows about the issue: http://quality.runrev.com/show_bug.cgi?id=11358 Richard, I will be at the meeting tonight and as my contribution topic for the meeting. See you there. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 2, 2014, at 7:42 AM, Roger Eller wrote: > Unless the AS needs to be built dynamically, you could compile it, and just > launch it through LC. > > ~Roger > > On Thu, Oct 2, 2014 at 10:24 AM, Richard Gaskin > wrote: > >> Bill Vlahos wrote: >> >>> When I execute the AppleScript listed below in the AppleScript Editor >>> it works in about 1 second. Take the same script, put in in a >>> LiveCode field and do field ?name? as AppleScript and it takes >>> between 1 and 2 minutes to do! >>> >>> 1. Why? >>> 2. How can I make it run quickly? >> >> The time difference is big enough that I suspect Zyrip is on the right >> track: >> >> >> But in general, executing AppleScript from LiveCode will almost always be >> somewhat slower than running the same script within Apple's AppleScript >> Editor for two reasons: >> >> 1. In AS, the interface to the AE subsystem is initialized when the app >> opens, but in LC it needs to be setup at runtime when the call is made. >> >> 2. In AS scripts are compiled before being run, but in LC we're passing a >> string to the AS subsystem, which it then has to compile before executing. >> >> Neither of those should take quite that long, though. >> >> If you're coming to tonight's LiveCode User Group meeting in Pasadena >> please bring your project and let's brainstorm ways to diagnose what's >> going on with it. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 2 13:44:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Oct 2014 20:44:39 +0300 Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <000901cfde5e$790fbb80$6b2f3280$@net> References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> Message-ID: <542D8F07.1040901@gmail.com> Thrilled to report that 6.6.4 rc1 while remaining iconless installs, launches and works on my iMac G5 running Mac OS 10.5.8 PPC. Thanks loads! Richmond. From richmondmathewson at gmail.com Thu Oct 2 13:47:31 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Oct 2014 20:47:31 +0300 Subject: Mavericks In-Reply-To: <54245A71.2090903@hyperactivesw.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <54245A71.2090903@hyperactivesw.com> Message-ID: <542D8FB3.6020305@gmail.com> Can anybody tell me which versions of LiveCode build standalones that run on Mac Mavericks? Richmond. From livfoss at mac.com Thu Oct 2 14:26:46 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 02 Oct 2014 19:26:46 +0100 Subject: Mavericks In-Reply-To: <542D8FB3.6020305@gmail.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <54245A71.2090903@hyperactivesw.com> <542D8FB3.6020305@gmail.com> Message-ID: <95BC6154-78BB-4A95-B854-4AAC04B7F46B@mac.com> I'm using Mavericks 10.9.5 with LC 6.6.3 and generating standalones every day. The previous versions (Mav 10.9.4 and LC6.6.2) also worked fine, and probably earlier ones too. HTH Graham Sent from my iPad > On 2 Oct 2014, at 18:47, Richmond wrote: > > Can anybody tell me which versions of LiveCode build standalones that run on Mac Mavericks? > > 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 capellan2000 at gmail.com Thu Oct 2 14:50:38 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 2 Oct 2014 13:50:38 -0500 Subject: Vector Gradients subtle regression Message-ID: Hi All, I am away from a reliable internet connection, (wireless connections are excellent, but cost a lot) so if one of you already reported this bug in the Quality Center, mail list or the forum, please include a link in your answers to post all files uploaded with this message with your own report. If there is no report about this bug, I already wrote to Richard Gaskin, our Community Manager to report this regression in the Quality Center. Next week, l will read your messages in this thread. Recently, while importing some SVG files with gradients created using InkScape, I found a bug while rendering gradients in vector graphics. Check the linked zip file (that includes two LiveCode stacks and two small SVG files) where I explain the nature of the rendering bug. It's a VERY subtle rendering bug, but effectively will cause many headaches if you are trying to import SVG files with gradients. I have included (among the linked files) an Alpha version of the original SVGL stack with code to import ONLY Inkscape gradients. Inside the zipped file, there are two simple SVG files created with InkScape that you could import into LiveCode 6.1.2 and LiveCode 6.5 or later (including version 7) to compare the differences. Download from Google Drive: https://drive.google.com/file/d/0B9ja3Yvw8cHLVU5MTzRjY1lwcGM/edit?usp=sharing Have a nice week! :-) Al From capellan2000 at gmail.com Thu Oct 2 14:59:05 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 2 Oct 2014 13:59:05 -0500 Subject: Dr. Lex 3D Stuff for LiveCode Message-ID: Hi All, How many of you are interested in 3D graphics and LiveCode? Recently, Alexander Thomas invited LiveCode Developers to port his HyperCard Stacks to LiveCode: "Thanks for pointing me to LiveCode. I have updated my HyperCard-related webpages to refer to it and added a link to your page. Unfortunately I have too little time nowadays to port my old stacks, but if you think you can port some of the stacks or know other people who are willing to do it, go ahead." This is Dr. Lex 3D stuff webpage: http://www.dr-lex.be/software/3dstuff.html In his webpage, there are links to his HyperCard stacks: http://www.dr-lex.be/software/download/RotaterManipulater.sit http://www.dr-lex.be/software/download/3D_Param_Eq.sit http://www.dr-lex.be/software/download/PanoProjector.sit Some years ago, with Alexander Thomas permission, I created a version of his program: Rotater Manipulator. http://andregarzia.on-rev.com/alejandro/stacks/Rotater_Manipulator_v1a.zip If you have a Classic Mac and HyperCard, give a try to his 3D stacks. Have a nice week! Al From ambassador at fourthworld.com Thu Oct 2 15:04:15 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Oct 2014 12:04:15 -0700 Subject: Vector Gradients subtle regression Message-ID: <8ff79ce1e91158fd60ac2d45fa9dd2da@fourthworld.com> Alejandro Tejada wrote: > If there is no report about this bug, I already wrote > to Richard Gaskin, our Community Manager to report this > regression in the Quality Center. I believe I did get your email, but it came in during a very hectic period here, so my apologies for not getting back to you on that sooner. I'm happy to help steward any issues where I can be of help, but please feel free to submit bug reports directly. Bug reports can be submitted by anyone, and all good reports with repeatable recipes are welcome. You can submit that report here: -- Richard Gaskin LiveCode Community Manager richard at livecode.org From sundown at pacifier.com Thu Oct 2 15:18:16 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 12:18:16 -0700 Subject: Conversion Chart Message-ID: <694FA720-F0A4-4FC2-B7A8-6C49DFD224F4@pacifier.com> Hi Richard, I just posted you a message about Binary to Hex conversion. It included a chart but the message was held because it is too long so if you want it then ask the moderator. The point is your code ability is great and the text searching ln LiveCode is excellent. To write code that converts Binary to Hex all you do is get a chart with a completer character set. When your code sees the binary 00100101 it finds that in the chart and returns the 2 character Hex value in the chart for that binary number. I think you will have to agree after you wrote that code it will take you more code to add the extra characters and then you will also have to make sure it is not on the same line. It was not a issue of returns because I would get only the 8 chars on each line. We all know mistakes come from many different reasons but it is not due to the type of text or the conversion process or it will work wrong every time. John Balgenorth From dochawk at gmail.com Thu Oct 2 15:58:02 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Oct 2014 12:58:02 -0700 Subject: =?UTF-8?Q?Re=3A_Strip_a_=E2=84=A2_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: On Thu, Oct 2, 2014 at 9:33 AM, JB wrote: > Okay, I am sorry I misunderstood you. > I do not like C or any of its form either. > And I do not like all of the wasted text > with curly braces. > > Now that Apple has released Swift it is > a little easier than C but you still need to > have a C background to use it. > At this point, I would be unlike to use *any* tool that will only compile to one platform. Writing once for mac/windows/linux is a large part of why I'm using livecode. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From effendi at wanadoo.fr Thu Oct 2 16:03:24 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 2 Oct 2014 22:03:24 +0200 Subject: Mavericks Message-ID: <14A204F3-4384-4DA5-BAE1-D239526E88B6@wanadoo.fr> Hi from Beautiful Brittany, Richmond, LiveCode 5.5.4 - Build 1502 Mac OS Intel only - Windows (not tested - Haven?t got a PC !) On Mavericks 10.9.5 No problem for building standalones ! Strange - Seems to loop forever in : ?Removing development properties and setting profile options? but I clicked outside LiveCode and got ?Standalone App saved? and the app works OK. Best Regards -Francis From sundown at pacifier.com Thu Oct 2 16:19:23 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 13:19:23 -0700 Subject: Conversion Chart In-Reply-To: <694FA720-F0A4-4FC2-B7A8-6C49DFD224F4@pacifier.com> References: <694FA720-F0A4-4FC2-B7A8-6C49DFD224F4@pacifier.com> Message-ID: <5D167A93-57FF-44B9-8487-5B1BFFA76304@pacifier.com> Here is another chart. Hex - Binary 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 A 1010 B 1011 C 1100 D 1101 E 1110 F 1111 The binary code is eight chars long. The Hex code is two chars long. To convert from Binary to Hex you use this chart. Take a list of binary data and it will be a group of eight char sections. You take the first eight chars and now you will be dealing with the first Hex char. As I said before Hex is numbers 0 to 9 and letters A to F and these letters can be upper or lower case but keep it consistent. Now that you have eight Binary digits that represent one Hex value you take the first four binary digits and convert them to the Hex value in the chart and then you take the second four Binary digits and convert them to the Hex value shown in the chart. Now you have your two digit Hex value. John Balgenorth From sundown at pacifier.com Thu Oct 2 16:22:18 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 13:22:18 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <36ED68F4-C990-4FF2-A412-E85755487DF4@pacifier.com> <073EE732-D99E-41A9-97DB-3AA494704E45@pacifier.com> Message-ID: <41A86B09-BC25-4F3C-937C-93A796897BDF@pacifier.com> LiveCode has a lot of potential and is enjoyable to program with. John Balgenorth On Oct 2, 2014, at 12:58 PM, Dr. Hawkins wrote: > On Thu, Oct 2, 2014 at 9:33 AM, JB wrote: > >> Okay, I am sorry I misunderstood you. >> I do not like C or any of its form either. >> And I do not like all of the wasted text >> with curly braces. >> >> Now that Apple has released Swift it is >> a little easier than C but you still need to >> have a C background to use it. >> > > At this point, I would be unlike to use *any* tool that will only compile > to one platform. Writing once for mac/windows/linux is a large part of why > I'm using livecode. > > > -- > 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 Thu Oct 2 17:10:32 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 2 Oct 2014 17:10:32 -0400 Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <542D8F07.1040901@gmail.com> References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> <542D8F07.1040901@gmail.com> Message-ID: screen size still fails on iphone 5 and 6 On Thu, Oct 2, 2014 at 1:44 PM, Richmond wrote: > Thrilled to report that 6.6.4 rc1 while remaining iconless > installs, launches and works on my iMac G5 running Mac OS 10.5.8 PPC. > > Thanks loads! > > 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 wow at together.net Thu Oct 2 18:43:05 2014 From: wow at together.net (Richard Miller) Date: Thu, 02 Oct 2014 18:43:05 -0400 Subject: I have a video recording solution for LC 7 In-Reply-To: References: <5936753603603568756@unknownmsgid> <080D01CB-7F86-422A-AAC7-5CF19BEEF404@gmail.com> Message-ID: <542DD4F9.6090602@together.net> I have a Windows DLL available which supports video recording through LC 7 using DirectX and Quicktime. It is quite stable. Email me if you would like a copy of it. Richard Miller From pete at lcsql.com Thu Oct 2 18:53:26 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Oct 2014 15:53:26 -0700 Subject: Conversion Chart In-Reply-To: <5D167A93-57FF-44B9-8487-5B1BFFA76304@pacifier.com> References: <694FA720-F0A4-4FC2-B7A8-6C49DFD224F4@pacifier.com> <5D167A93-57FF-44B9-8487-5B1BFFA76304@pacifier.com> Message-ID: I might be missing something but what's wrong with using the baseConvert function? It converts a number from any base to any base. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Oct 2, 2014 at 1:19 PM, JB wrote: > Here is another chart. > > > Hex - Binary > 0 0000 > 1 0001 > 2 0010 > 3 0011 > 4 0100 > 5 0101 > 6 0110 > 7 0111 > 8 1000 > 9 1001 > A 1010 > B 1011 > C 1100 > D 1101 > E 1110 > F 1111 > > > The binary code is eight chars long. The Hex code > is two chars long. To convert from Binary to Hex you > use this chart. > > Take a list of binary data and it will be a group of eight > char sections. You take the first eight chars and now > you will be dealing with the first Hex char. As I said > before Hex is numbers 0 to 9 and letters A to F and > these letters can be upper or lower case but keep it > consistent. > > Now that you have eight Binary digits that represent > one Hex value you take the first four binary digits and > convert them to the Hex value in the chart and then you > take the second four Binary digits and convert them to > the Hex value shown in the chart. Now you have your > two digit Hex value. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 2 19:13:14 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Oct 2014 23:13:14 +0000 (UTC) Subject: Strip a =?utf-8?b?4oSi?= character References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> Message-ID: JB writes: > > It looks to me the code is good. I guess > someone decided they could Trade Mark ? > Binary to Hex. > > In Hex it shows up as either a A or AA. You > would think it would always be AA since that > is the Hex value for ?. You haven't given a lot of information here, but my guess is that you're stuck with Windows text files. Windows uses a crlf pair for line endings. When you remove the cr part (relace return with empty) you're still left with the line feed char, which is a hex 0x0A. To get rid of both carriage returns and linefeeds in your data stream, replace return with empty in theData replace numtochar(0x0A) with empty in theData then do your baseConvert magic. Although if you're dealing with one binary string in a line I think you'd be better off just converting a line at a time to start with. -- Mark Wieder ahsoftware at gmail.com From sundown at pacifier.com Thu Oct 2 19:10:58 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 16:10:58 -0700 Subject: Conversion Chart In-Reply-To: References: <694FA720-F0A4-4FC2-B7A8-6C49DFD224F4@pacifier.com> <5D167A93-57FF-44B9-8487-5B1BFFA76304@pacifier.com> Message-ID: <34772B5C-5C43-4394-B0CE-2F5079B06E85@pacifier.com> That is what I was using and it works for ascii to Hex, ascii to Binary, Hex to ascii, Hex to binary, binary to ascii and then if you don?t have a lot of characters and you only call it from one line it works for binary to hex. In other words don?t use if for binary to hex unless you only are processing a few sets of 8 digit chars to hex and they are not on different lines. I even put them all on separate lines and only took the eight chars so there were no returns to strip. Any one line out of many thousand will work but when you try to convert another line it will not work but it might give you the appearance that it worked. John Balgenorth On Oct 2, 2014, at 3:53 PM, Peter Haworth wrote: > I might be missing something but what's wrong with using the baseConvert > function? It converts a number from any base to any base. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Thu, Oct 2, 2014 at 1:19 PM, JB wrote: > >> Here is another chart. >> >> >> Hex - Binary >> 0 0000 >> 1 0001 >> 2 0010 >> 3 0011 >> 4 0100 >> 5 0101 >> 6 0110 >> 7 0111 >> 8 1000 >> 9 1001 >> A 1010 >> B 1011 >> C 1100 >> D 1101 >> E 1110 >> F 1111 >> >> >> The binary code is eight chars long. The Hex code >> is two chars long. To convert from Binary to Hex you >> use this chart. >> >> Take a list of binary data and it will be a group of eight >> char sections. You take the first eight chars and now >> you will be dealing with the first Hex char. As I said >> before Hex is numbers 0 to 9 and letters A to F and >> these letters can be upper or lower case but keep it >> consistent. >> >> Now that you have eight Binary digits that represent >> one Hex value you take the first four binary digits and >> convert them to the Hex value in the chart and then you >> take the second four Binary digits and convert them to >> the Hex value shown in the chart. Now you have your >> two digit Hex value. >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Thu Oct 2 19:14:30 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 16:14:30 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> Message-ID: I am using a Mac the text is straight from a field. The text works fine with the other conversions. John Balgenorth On Oct 2, 2014, at 4:13 PM, Mark Wieder wrote: > JB writes: > >> >> It looks to me the code is good. I guess >> someone decided they could Trade Mark ? >> Binary to Hex. >> >> In Hex it shows up as either a A or AA. You >> would think it would always be AA since that >> is the Hex value for ?. > > You haven't given a lot of information here, but my guess is that you're > stuck with Windows text files. Windows uses a crlf pair for line endings. > When you remove the cr part (relace return with empty) you're still left > with the line feed char, which is a hex 0x0A. To get rid of both carriage > returns and linefeeds in your data stream, > > replace return with empty in theData > replace numtochar(0x0A) with empty in theData > > then do your baseConvert magic. > > Although if you're dealing with one binary string in a line I think you'd be > better off just converting a line at a time to start with. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Oct 2 20:30:34 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 Oct 2014 00:30:34 +0000 (UTC) Subject: Strip a =?utf-8?b?4oSi?= character References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> Message-ID: JB writes: > > I am using a Mac the text is straight from a field. > The text works fine with the other conversions. The question isn't what platform you're working on, but the source of the data. This is especially important if the source platform was different from the working platform. For instance, where did theData come from? Did you open a file and put it into a text field? Did you type it into the field by hand? Did it come from a serial port or other external device? If it's in a file, you might try looking at it with a hex editor first before doing any conversions... I'd lay money on the fact that you'll see 0x0a0d endings on each line. -- Mark Wieder ahsoftware at gmail.com From sundown at pacifier.com Thu Oct 2 20:57:06 2014 From: sundown at pacifier.com (JB) Date: Thu, 2 Oct 2014 17:57:06 -0700 Subject: =?windows-1252?Q?Re=3A_Strip_a_=99_character?= In-Reply-To: References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> Message-ID: <29868564-B889-4BDE-907C-C9C0F9468E3A@pacifier.com> I have a mac and I type the data into a field using my keyboard. It does not work right. But I also have tried with files that are on my mac and I have transferred them from binary to ascii and then to binary code and the conversions all work properly with all of the files and typing except for binary to hex which works if you are only using one line and not too many characters which I did not waste my time figuring out how many you can use. I do know you can type Mark into a field and then transfer it to binary code and then put that code into a field. You can then transfer that binary code to hex or ascii and it will work. The ascii will be Mark again and the hex can be transferred to ascii and it will be Mark and you can transfer the ascii to binary and to ascii and it will be Mark again. We did all of the conversions and you are still Mark when we got done. You are feeling good and things are working nice! Now you type Mark into the field and put a return after your name. Do all of the conversions except the binary to hex. You can even convert ascii to hex and hex to binary and binary to ascii and you will still be Mark. Okay now using the same text make it become binary using any transfer you want to use. Remember this is Mark with a return after it. Now convert the binary to hex and use any path of conversions to get it back to ascii and you will see the name Mark and it will have the letters tm that are real small and up in the air. You are now Mark with a trade mark symbol. Of course if you type returns and do not strip them and have more text some times it will strip the return. The best thing to do in file conversions is strip the returns to prevent problems. Now type Hello on one line and type Mark on another line you can get one line and when you have processed it it will be fine but if you get two lines even though you only get the 0?s and 1?s because you know how many their are you will end up the the tm again. Now type a return and the name Mark and strip the return with code and you will end up with tm and Mark. Try to strip the tm with code and you cannot strip it out. John Balgenorth On Oct 2, 2014, at 5:30 PM, Mark Wieder wrote: > JB writes: > >> >> I am using a Mac the text is straight from a field. >> The text works fine with the other conversions. > > The question isn't what platform you're working on, but the source of the > data. This is especially important if the source platform was different from > the working platform. > > For instance, where did theData come from? Did you open a file and put it > into a text field? Did you type it into the field by hand? Did it come from > a serial port or other external device? > > If it's in a file, you might try looking at it with a hex editor first > before doing any conversions... I'd lay money on the fact that you'll see > 0x0a0d endings on each line. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Oct 2 22:15:00 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Oct 2014 19:15:00 -0700 Subject: =?ISO-8859-15?B?UmU6IFN0cmlwIGEgmSBjaGFyYWN0ZXI=?= In-Reply-To: <29868564-B889-4BDE-907C-C9C0F9468E3A@pacifier.com> References: <85E24FDF-E779-4C5E-BB47-4D0DF5985887@pacifier.com> <5C86EED6-64FD-407E-ABB1-C3FB2E0A3504@pacifier.com> <207F2939-6D3E-4070-8F79-765AF8217331@pacifier.com> <29868564-B889-4BDE-907C-C9C0F9468E3A@pacifier.com> Message-ID: <164439802578.20141002191500@ahsoftware.net> JB- I used your code. On a mac. I put the following into a field: 10011011 10111001 10011011 10111001 10011011 10111001 I ended up with 9BB99BB99BB9 -- -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 dave at applicationinsight.com Thu Oct 2 22:26:01 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 2 Oct 2014 19:26:01 -0700 (PDT) Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> <542D8F07.1040901@gmail.com> Message-ID: <1412303161544-4684115.post@n4.nabble.com> Running Mavericks and using 6.6.4 and Xcode 6.0.1 I can't get anything to run on the iOS 8 simulator (simulated device of any size) - even a 'hello world' stack made purely in 6.6.4 fails However my 'hello world' and my current app-in-development seem to run fine on an iPad4 running iOS 8.0.2 (but have not done exhaustive tests yet...) 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/RELEASE-LiveCode-6-6-4-RC1-tp4684084p4684115.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Fri Oct 3 00:18:44 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 Oct 2014 14:18:44 +1000 Subject: [ANN] mergExt New Releases Message-ID: <087A38A1-D143-4E76-B38D-6E8DD47CC195@sweattechnologies.com> Dear LiveCoders Today I'm releasing updates for all the mergExt iOS externals to support iOS 8. In addition there are a number of new features released today. - mergCL now includes geocoding and reverse geocoding commands and a distance between coordinates function. - mergMK now has commands to get and set annotation attributes and extra annotation options and messages - mergFTPD adds a FTP daemon to an app with one command which makes if very easy to manage a directory of files from the desktop version of your app or just from a regular FTP client. With the addition of mergFTPD (sold separately for $9) mergExt Complete is amazing value with $913 worth of individual products for one price of $299. I have also updated rrehardcopy for iOS 8. Unfortunately rrenarrator doesn't want to build in Xcode 6 and I don't want to take on maintenance of that external because of the quirky open source license it's distributed under I would need to rename it like I did with rremicrophone. When RunRev release a fix for rrenarrator I will re-include it in my build process to save people having to build it themselves. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at elementarysoftware.com Fri Oct 3 02:41:57 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 2 Oct 2014 23:41:57 -0700 Subject: [ANN] mergExt New Releases In-Reply-To: <087A38A1-D143-4E76-B38D-6E8DD47CC195@sweattechnologies.com> References: <087A38A1-D143-4E76-B38D-6E8DD47CC195@sweattechnologies.com> Message-ID: <504734F1-4A8F-427B-9F7A-DFA9102F97AF@elementarysoftware.com> Monte, you?re awesome. Already downloaded several and they are working great! THANKS!!! ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ On Oct 2, 2014, at 9:18 PM, Monte Goulding wrote: > Dear LiveCoders > > Today I'm releasing updates for all the mergExt iOS externals to support iOS 8. In addition there are a number of new features released today. > - mergCL now includes geocoding and reverse geocoding commands and a distance between coordinates function. > - mergMK now has commands to get and set annotation attributes and extra annotation options and messages > - mergFTPD adds a FTP daemon to an app with one command which makes if very easy to manage a directory of files from the desktop version of your app or just from a regular FTP client. > > With the addition of mergFTPD (sold separately for $9) mergExt Complete is amazing value with $913 worth of individual products for one price of $299. > > I have also updated rrehardcopy for iOS 8. Unfortunately rrenarrator doesn't want to build in Xcode 6 and I don't want to take on maintenance of that external because of the quirky open source license it's distributed under I would need to rename it like I did with rremicrophone. When RunRev release a fix for rrenarrator I will re-include it in my build process to save people having to build it themselves. > > Cheers > > Monte > > -- > 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 MikeKerner at roadrunner.com Fri Oct 3 07:05:43 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Oct 2014 07:05:43 -0400 Subject: [ANN] mergExt New Releases In-Reply-To: <504734F1-4A8F-427B-9F7A-DFA9102F97AF@elementarysoftware.com> References: <087A38A1-D143-4E76-B38D-6E8DD47CC195@sweattechnologies.com> <504734F1-4A8F-427B-9F7A-DFA9102F97AF@elementarysoftware.com> Message-ID: wow? sweet! Way to make it happen fast, Monte! Thank you. On Fri, Oct 3, 2014 at 2:41 AM, Scott Morrow wrote: > Monte, you?re awesome. Already downloaded several and they are working > great! THANKS!!! > ? > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > office 1-800-615-0867 > ------------------------------------------------------ > > On Oct 2, 2014, at 9:18 PM, Monte Goulding > wrote: > > > Dear LiveCoders > > > > Today I'm releasing updates for all the mergExt iOS externals to support > iOS 8. In addition there are a number of new features released today. > > - mergCL now includes geocoding and reverse geocoding commands and a > distance between coordinates function. > > - mergMK now has commands to get and set annotation attributes and extra > annotation options and messages > > - mergFTPD adds a FTP daemon to an app with one command which makes if > very easy to manage a directory of files from the desktop version of your > app or just from a regular FTP client. > > > > With the addition of mergFTPD (sold separately for $9) mergExt Complete > is amazing value with $913 worth of individual products for one price of > $299. > > > > I have also updated rrehardcopy for iOS 8. Unfortunately rrenarrator > doesn't want to build in Xcode 6 and I don't want to take on maintenance of > that external because of the quirky open source license it's distributed > under I would need to rename it like I did with rremicrophone. When RunRev > release a fix for rrenarrator I will re-include it in my build process to > save people having to build it themselves. > > > > Cheers > > > > Monte > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pmbrig at gmail.com Fri Oct 3 14:02:35 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 3 Oct 2014 14:02:35 -0400 Subject: How to keep the RTF textsize in a variable? In-Reply-To: <004301cfde38$36c7eac0$a457c040$@de> References: <004301cfde38$36c7eac0$a457c040$@de> Message-ID: Try setting the size of the text itself: set the textsize of char 1 to -1 of fld "text1" to the the textsize of fld "text1" then put the RTFText of fld "text1" into myText That way the RTFtext will include the explicit textsize you want. Otherwise no textsize will be specified and the RTF document will use whatever default size it's set to. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 2, 2014, at 7:58 AM, Tiemo Hollmann TB wrote: > Hello, > > I have a field where I have set several different text sizes -- then I > > put the RTFText of fld "text1" into myText > > I do some text operations in myText -- then I > > set the RTFText of fld "text2" to myText -- and then I > > write the RTFText of fld "text2" to file myFile > > The result in my RTF document now has another (standard?) text size. > > > > How can I keep the text size - I have different text sizes in one field - > from my source field in myFile? > > Thanks for any ideas > > 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 scott at tactilemedia.com Fri Oct 3 15:08:51 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Oct 2014 12:08:51 -0700 Subject: [ANN] Splat-O-Nym Game Released Message-ID: I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we worked on together, Splat-O-Nym, is now available in Apple's App Store. https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 The app helps kids learn synonyms and antonyms by "splatting" correct answers within a series of liquid-themed mini games. I developed the app?s UI, and Chris put the whole thing together in LiveCode for his company Read Naturally. A free lite version is also available. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From cmsheffield at icloud.com Fri Oct 3 17:22:23 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 03 Oct 2014 15:22:23 -0600 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: Thunder not stolen at all. Thanks, Scott. I'm not working today so just haven't had a chance to make an announcement yet. So thanks taking care of it. Chris > On Oct 3, 2014, at 1:08 PM, Scott Rossi wrote: > > I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we > worked on together, Splat-O-Nym, is now available in Apple's App Store. > https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 > > > The app helps kids learn synonyms and antonyms by "splatting" correct > answers within a series of liquid-themed mini games. I developed the > app?s UI, and Chris put the whole thing together in LiveCode for his > company Read Naturally. > > A free lite version is also available. > > > 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 revolution at duncansoftware.on-rev.com Fri Oct 3 19:00:58 2014 From: revolution at duncansoftware.on-rev.com (revolution at duncansoftware.on-rev.com) Date: Fri, 3 Oct 2014 19:00:58 -0400 Subject: audio clips crashing livecode Message-ID: <409B0BFE-4494-4FC6-AAE5-90BCE726911D@duncansoftware.on-rev.com> I was working on a program that included about a hundred small audio clips. Suddenly they wouldn't play and produced the spinning beach ball of death on my MacBook Pro running OSX 10.6.8. I couldn't see what I had done to cause this since the code change that I made was minor. Eventually I quit trying to work on that program when I discovered that no audio clips would play. Example, create a new stack. Import one audio clip and try to play it and livecode crashes. I have uninstalled all copies of livecode, searched and destroyed prefs and support files and done a clean install of 6.6.2 all to no avail. I just tried 6.6.3 and still no luck. These files all play in Quicktime and iTunes. From klaus at major-k.de Fri Oct 3 19:05:54 2014 From: klaus at major-k.de (Klaus major-k) Date: Sat, 4 Oct 2014 01:05:54 +0200 Subject: audio clips crashing livecode In-Reply-To: <409B0BFE-4494-4FC6-AAE5-90BCE726911D@duncansoftware.on-rev.com> References: <409B0BFE-4494-4FC6-AAE5-90BCE726911D@duncansoftware.on-rev.com> Message-ID: <43CC2146-674E-4D7D-BC3B-5295AC9C92A5@major-k.de> Hi revolution at duncansoftware.on-rev.com Am 04.10.2014 um 01:00 schrieb revolution at duncansoftware.on-rev.com: > I was working on a program that included about a hundred small audio clips. Suddenly they wouldn't play and produced the spinning beach ball of death on my MacBook Pro running OSX 10.6.8. I couldn't see what I had done to cause this since the code change that I made was minor. Eventually I quit trying to work on that program when I discovered that no audio clips would play. Example, create a new stack. Import one audio clip and try to play it and livecode crashes. I have uninstalled all copies of livecode, searched and destroyed prefs and support files and done a clean install of 6.6.2 all to no avail. I just tried 6.6.3 and still no luck. These files all play in Quicktime and iTunes. LC is EXTREMELY picky when it comes to play imported audio/video files! :-) What format are the clips in? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From peterwawood at gmail.com Fri Oct 3 20:38:48 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 4 Oct 2014 08:38:48 +0800 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: The game looks great. My daughter saw the webpage over my shoulder and wants to play it. Does it exclusively use American spellings or is there an option to use English spellings? Peter On 4 Oct 2014, at 05:22, Chris Sheffield wrote: > Thunder not stolen at all. Thanks, Scott. I'm not working today so just haven't had a chance to make an announcement yet. So thanks taking care of it. > > Chris > > >> On Oct 3, 2014, at 1:08 PM, Scott Rossi wrote: >> >> I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we >> worked on together, Splat-O-Nym, is now available in Apple's App Store. >> https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 >> >> >> The app helps kids learn synonyms and antonyms by "splatting" correct >> answers within a series of liquid-themed mini games. I developed the >> app?s UI, and Chris put the whole thing together in LiveCode for his >> company Read Naturally. >> >> A free lite version is also available. >> >> >> 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 scott at tactilemedia.com Fri Oct 3 20:50:48 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Oct 2014 17:50:48 -0700 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: Hi Peter: I?m pretty sure it?s American spellings only, but it does have audio pronunciations. :-) Frankly, I?m not sure how we would handle the extra ?i? you guys always seem to insert in ?aluminum?. :-) Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/3/14, 5:38 PM, "Peter W A Wood" wrote: >The game looks great. My daughter saw the webpage over my shoulder and >wants to play it. Does it exclusively use American spellings or is there >an option to use English spellings? > >Peter > >On 4 Oct 2014, at 05:22, Chris Sheffield wrote: > >> Thunder not stolen at all. Thanks, Scott. I'm not working today so just >>haven't had a chance to make an announcement yet. So thanks taking care >>of it. >> >> Chris >> >> >>> On Oct 3, 2014, at 1:08 PM, Scott Rossi wrote: >>> >>> I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we >>> worked on together, Splat-O-Nym, is now available in Apple's App Store. >>> https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 >>> >>> >>> The app helps kids learn synonyms and antonyms by "splatting" correct >>> answers within a series of liquid-themed mini games. I developed the >>> app?s UI, and Chris put the whole thing together in LiveCode for his >>> company Read Naturally. >>> >>> A free lite version is also available. >>> >>> >>> 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 > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Fri Oct 3 21:25:49 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 03 Oct 2014 19:25:49 -0600 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: <77D54E27-15E3-4EAD-8BA6-C510871D1867@icloud.com> Hi Peter. What Scott said. However, I will definitely suggest to my company that we consider adding English spellings. Thanks for your interest. Chris > On Oct 3, 2014, at 6:38 PM, Peter W A Wood wrote: > > The game looks great. My daughter saw the webpage over my shoulder and wants to play it. Does it exclusively use American spellings or is there an option to use English spellings? > > Peter > >> On 4 Oct 2014, at 05:22, Chris Sheffield wrote: >> >> Thunder not stolen at all. Thanks, Scott. I'm not working today so just haven't had a chance to make an announcement yet. So thanks taking care of it. >> >> Chris >> >> >>> On Oct 3, 2014, at 1:08 PM, Scott Rossi wrote: >>> >>> I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we >>> worked on together, Splat-O-Nym, is now available in Apple's App Store. >>> https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 >>> >>> >>> The app helps kids learn synonyms and antonyms by "splatting" correct >>> answers within a series of liquid-themed mini games. I developed the >>> app?s UI, and Chris put the whole thing together in LiveCode for his >>> company Read Naturally. >>> >>> A free lite version is also available. >>> >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Fri Oct 3 22:31:11 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 4 Oct 2014 10:31:11 +0800 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: <77D54E27-15E3-4EAD-8BA6-C510871D1867@icloud.com> References: <77D54E27-15E3-4EAD-8BA6-C510871D1867@icloud.com> Message-ID: <5FEAAD8E-A5AB-43ED-B71F-2C90C8C88B9A@gmail.com> Hi Chris That would be great. As our daughter goes to an English school, we think it's best to stick to English spelling. Cheers Peter On 4 Oct 2014, at 09:25, Chris Sheffield wrote: > Hi Peter. What Scott said. However, I will definitely suggest to my company that we consider adding English spellings. > > Thanks for your interest. > > Chris > > >> On Oct 3, 2014, at 6:38 PM, Peter W A Wood wrote: >> >> The game looks great. My daughter saw the webpage over my shoulder and wants to play it. Does it exclusively use American spellings or is there an option to use English spellings? >> >> Peter >> >>> On 4 Oct 2014, at 05:22, Chris Sheffield wrote: >>> >>> Thunder not stolen at all. Thanks, Scott. I'm not working today so just haven't had a chance to make an announcement yet. So thanks taking care of it. >>> >>> Chris >>> >>> >>>> On Oct 3, 2014, at 1:08 PM, Scott Rossi wrote: >>>> >>>> I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we >>>> worked on together, Splat-O-Nym, is now available in Apple's App Store. >>>> https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 >>>> >>>> >>>> The app helps kids learn synonyms and antonyms by "splatting" correct >>>> answers within a series of liquid-themed mini games. I developed the >>>> app?s UI, and Chris put the whole thing together in LiveCode for his >>>> company Read Naturally. >>>> >>>> A free lite version is also available. >>>> >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Fri Oct 3 22:35:28 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 4 Oct 2014 10:35:28 +0800 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: <2CABEB2A-384B-4F27-822C-072500A63156@gmail.com> Hi Scott On 4 Oct 2014, at 08:50, Scott Rossi wrote: > I?m pretty sure it?s American spellings only, but it does have audio > pronunciations. :-) > > Frankly, I?m not sure how we would handle the extra ?i? you guys always > seem to insert in ?aluminum?. > What to say? aloooo-min-num or alu-min-yum ? :-) Cheers Peter > :-) > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 10/3/14, 5:38 PM, "Peter W A Wood" wrote: > >> The game looks great. My daughter saw the webpage over my shoulder and >> wants to play it. Does it exclusively use American spellings or is there >> an option to use English spellings? >> >> Peter >> >> On 4 Oct 2014, at 05:22, Chris Sheffield wrote: >> >>> Thunder not stolen at all. Thanks, Scott. I'm not working today so just >>> haven't had a chance to make an announcement yet. So thanks taking care >>> of it. >>> >>> Chris >>> >>> >>>> On Oct 3, 2014, at 1:08 PM, Scott Rossi wrote: >>>> >>>> I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we >>>> worked on together, Splat-O-Nym, is now available in Apple's App Store. >>>> https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 >>>> >>>> >>>> The app helps kids learn synonyms and antonyms by "splatting" correct >>>> answers within a series of liquid-themed mini games. I developed the >>>> app?s UI, and Chris put the whole thing together in LiveCode for his >>>> company Read Naturally. >>>> >>>> A free lite version is also available. >>>> >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Fri Oct 3 22:38:32 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 3 Oct 2014 19:38:32 -0700 (PDT) Subject: RTF or TXT Message-ID: <1412390312956-4684132.post@n4.nabble.com> Possibly very dumb question here. What I want to do: using code 'cut and paste' (i.e. parse) text from an RTF document into a LC field, preserving the text formatting. What I don't want to do: deal with all of the RTF formatting codes. Is this doable? If its not easily doable I can downgrade the document to TXT format and process that (since I do know how to read and parse text files) but I will lose the nifty formatting. Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RTF-or-TXT-tp4684132.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Oct 3 22:38:06 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 Oct 2014 19:38:06 -0700 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: <179527587640.20141003193806@ahsoftware.net> Scott- Friday, October 3, 2014, 5:50:48 PM, you wrote: > Frankly, I??m not sure how we would handle the extra ??i?? you guys always > seem to insert in ??aluminum??. Speaking of inserting things, that's a rather innovative use of punctuation. -- -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 scott at tactilemedia.com Sat Oct 4 00:01:12 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Oct 2014 21:01:12 -0700 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: <2CABEB2A-384B-4F27-822C-072500A63156@gmail.com> References: <2CABEB2A-384B-4F27-822C-072500A63156@gmail.com> Message-ID: I believe the *proper* English spelling is: al-lew-min-nium :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/3/14, 7:35 PM, "Peter W A Wood" wrote: >Hi Scott > >On 4 Oct 2014, at 08:50, Scott Rossi wrote: >>I?m pretty sure it?s American spellings only, but it does have audio >>pronunciations. :-) >>Frankly, I?m not sure how we would handle the extra ?i? you guys always >>seem to insert in ?aluminum?. > >What to say? aloooo-min-num or alu-min-yum ? > >:-) > >Cheers > >Peter > From revdev at pdslabs.net Sat Oct 4 00:44:34 2014 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 03 Oct 2014 21:44:34 -0700 Subject: RTF or TXT In-Reply-To: <1412390312956-4684132.post@n4.nabble.com> References: <1412390312956-4684132.post@n4.nabble.com> Message-ID: <542F7B32.2030801@pdslabs.net> Try this: on mouseUp set the rtfText of fld 1 to the clipboardData["RTF"] end mouseUp Phil Davis On 10/3/14 7:38 PM, Mark Smith wrote: > Possibly very dumb question here. > > What I want to do: using code 'cut and paste' (i.e. parse) text from an RTF > document into a LC field, preserving the text formatting. > What I don't want to do: deal with all of the RTF formatting codes. > Is this doable? > > If its not easily doable I can downgrade the document to TXT format and > process that (since I do know how to read and parse text files) but I will > lose the nifty formatting. > > Thanks > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/RTF-or-TXT-tp4684132.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 > -- Phil Davis From lan.kc.macmail at gmail.com Sat Oct 4 01:27:24 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 4 Oct 2014 13:27:24 +0800 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: <2CABEB2A-384B-4F27-822C-072500A63156@gmail.com> Message-ID: On Sat, Oct 4, 2014 at 12:01 PM, Scott Rossi wrote: > I believe the *proper* English spelling is: al-lew-min-nium > Americans adopted -ium for most of the 19th century, with aluminium appearing in Webster's Dictionary of 1828. In 1892, however, Charles Martin Hall used the -um spelling in an advertising handbill for his new electrolytic method of producing the metal, despite his constant use of the -ium spelling in all the patents he filed between 1886 and 1903. Hall's domination of production of the metal ensured that the spelling aluminum became the standard in North America; the Webster Unabridged Dictionary of 1913, though, continued to use the -ium version. In 1926, the American Chemical Society officially decided to use aluminum in its publications; American dictionaries typically label the spelling aluminium as a British variant" From sc at sahores-conseil.com Sat Oct 4 01:27:40 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 4 Oct 2014 07:27:40 +0200 Subject: audio clips crashing livecode In-Reply-To: <43CC2146-674E-4D7D-BC3B-5295AC9C92A5@major-k.de> References: <409B0BFE-4494-4FC6-AAE5-90BCE726911D@duncansoftware.on-rev.com> <43CC2146-674E-4D7D-BC3B-5295AC9C92A5@major-k.de> Message-ID: AFAIK m4v clips works on all platforms. Le 4 oct. 2014 ? 01:05, Klaus major-k a ?crit : > Hi revolution at duncansoftware.on-rev.com > > Am 04.10.2014 um 01:00 schrieb revolution at duncansoftware.on-rev.com: > >> I was working on a program that included about a hundred small audio clips. Suddenly they wouldn't play and produced the spinning beach ball of death on my MacBook Pro running OSX 10.6.8. I couldn't see what I had done to cause this since the code change that I made was minor. Eventually I quit trying to work on that program when I discovered that no audio clips would play. Example, create a new stack. Import one audio clip and try to play it and livecode crashes. I have uninstalled all copies of livecode, searched and destroyed prefs and support files and done a clean install of 6.6.2 all to no avail. I just tried 6.6.3 and still no luck. These files all play in Quicktime and iTunes. > > LC is EXTREMELY picky when it comes to play imported audio/video files! :-) > What format are the clips in? > > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From lan.kc.macmail at gmail.com Sat Oct 4 02:05:55 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 4 Oct 2014 14:05:55 +0800 Subject: RTF or TXT In-Reply-To: <542F7B32.2030801@pdslabs.net> References: <1412390312956-4684132.post@n4.nabble.com> <542F7B32.2030801@pdslabs.net> Message-ID: On Sat, Oct 4, 2014 at 12:44 PM, Phil Davis wrote: > > on mouseUp > set the rtfText of fld 1 to the clipboardData["RTF"] > end mouseUp > That looks like a simple answer but there are two entries in the Dictionary under RTFText that might steer you in an ever so slightly different direction: Note: Unfortunately, OpenOffice does not have particularly good rtf import / export capabilities (it doesn't even round-trip correctly through itself!) and thus copying / pasting of lists between LiveCode and OpenOffice will not work reliably or correctly. Important! Because the RTF standard does not include the box, threeDbox, and link styles supported by LiveCode, the RTFText property does not necessarily include all information necessary to reproduce the style information in a chunk. To export and re-import field information without losing any style information, use the htmlTextproperty instead. From revdev at pdslabs.net Sat Oct 4 02:39:51 2014 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 03 Oct 2014 23:39:51 -0700 Subject: RTF or TXT In-Reply-To: References: <1412390312956-4684132.post@n4.nabble.com> <542F7B32.2030801@pdslabs.net> Message-ID: <542F9637.5000206@pdslabs.net> Good advice! Phil On 10/3/14 11:05 PM, Kay C Lan wrote: > On Sat, Oct 4, 2014 at 12:44 PM, Phil Davis wrote: >> on mouseUp >> set the rtfText of fld 1 to the clipboardData["RTF"] >> end mouseUp >> > That looks like a simple answer but there are two entries in the > Dictionary under RTFText that might steer you in an ever so slightly > different direction: > > Note: Unfortunately, OpenOffice does not have particularly good rtf > import / export capabilities (it doesn't even round-trip correctly > through itself!) and thus copying / pasting of lists between LiveCode > and OpenOffice will not work reliably or correctly. > > Important! Because the RTF standard does not include the box, > threeDbox, and link styles supported by LiveCode, the RTFText property > does not necessarily include all information necessary to reproduce > the style information in a chunk. To export and re-import field > information without losing any style information, use the > htmlTextproperty instead. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 toolbook at kestner.de Sat Oct 4 05:19:46 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 4 Oct 2014 11:19:46 +0200 Subject: the result of revdeletefolder = 1? Message-ID: <001401cfdfb4$57f22cb0$07d68610$@de> Hello, I am trying to delete one of my apps on OS X 10.9.5 with revDeleteFolder. I get "1" as the result and the app isn't deleted, though I have read & write permission on it. With other apps in the same folder it worked as expected. Can anybody tell me, what the result "1" means? And how to workaround? Thanks Tiemo From th.douez at gmail.com Sat Oct 4 05:44:10 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 4 Oct 2014 11:44:10 +0200 Subject: the result of revdeletefolder = 1? In-Reply-To: <001401cfdfb4$57f22cb0$07d68610$@de> References: <001401cfdfb4$57f22cb0$07d68610$@de> Message-ID: > I am trying to delete one of my apps on OS X 10.9.5 with revDeleteFolder. > > I get "1" as the result and the app isn't deleted, though I have read & > write permission on it. With other apps in the same folder it worked as > expected. Can anybody tell me, what the result "1" means? And how to > workaround? > > Thanks > > Tiemo Hallo Tiemo, Just one thought... What happens with revDeleteFolder if you have a file *inside* the target folder which is not writable? Regards, Thierry From bernd.gottwald at outrange.com Sat Oct 4 06:00:09 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 4 Oct 2014 12:00:09 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_8?= Message-ID: <20141004100009.32398.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From toolbook at kestner.de Sat Oct 4 06:10:21 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 4 Oct 2014 12:10:21 +0200 Subject: AW: the result of revdeletefolder = 1? In-Reply-To: References: <001401cfdfb4$57f22cb0$07d68610$@de> Message-ID: <002101cfdfbb$688d8fe0$39a8afa0$@de> Bingo! There was a write protected file inside my app bundle. Thierry, you made my day, now I can start the weekend Merci! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Thierry Douez > Gesendet: Samstag, 4. Oktober 2014 11:44 > An: How to use LiveCode > Betreff: Re: the result of revdeletefolder = 1? > > > I am trying to delete one of my apps on OS X 10.9.5 with revDeleteFolder. > > > > I get "1" as the result and the app isn't deleted, though I have read > > & write permission on it. With other apps in the same folder it worked > > as expected. Can anybody tell me, what the result "1" means? And how > > to workaround? > > > > Thanks > > > > Tiemo > > > Hallo Tiemo, > > Just one thought... > > What happens with revDeleteFolder if you have a file *inside* the target > folder which is not writable? > > Regards, > > Thierry > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Oct 4 06:42:22 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 4 Oct 2014 12:42:22 +0200 Subject: the result of revdeletefolder = 1? In-Reply-To: <002101cfdfbb$688d8fe0$39a8afa0$@de> References: <001401cfdfb4$57f22cb0$07d68610$@de> <002101cfdfbb$688d8fe0$39a8afa0$@de> Message-ID: > Bingo! > There was a write protected file inside my app bundle. Hervorragend! > Thierry, you made my day, now I can start the weekend > Merci! Ich w?nsche dir ein sch?nes Wochenende :) Thierry > Tiemo >> > I am trying to delete one of my apps on OS X 10.9.5 with > revDeleteFolder. >> > >> > I get "1" as the result and the app isn't deleted, though I have read >> > & write permission on it. With other apps in the same folder it worked >> > as expected. Can anybody tell me, what the result "1" means? And how >> > to workaround? >> > >> > Thanks >> > >> > Tiemo >> >> >> Hallo Tiemo, >> >> Just one thought... >> >> What happens with revDeleteFolder if you have a file *inside* the target >> folder which is not writable? >> >> Regards, >> >> Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From pete at lcsql.com Sat Oct 4 09:10:27 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 Oct 2014 06:10:27 -0700 Subject: [ANN] Splat-O-Nym Game Released In-Reply-To: References: Message-ID: I think it's actually you chaps that miss out the required "i" in aluminium, just like the required "u" in colour:-) Pete lcSQL Software On Oct 3, 2014 6:50 PM, "Scott Rossi" wrote: > Hi Peter: > > I?m pretty sure it?s American spellings only, but it does have audio > pronunciations. :-) > > Frankly, I?m not sure how we would handle the extra ?i? you guys always > seem to insert in ?aluminum?. > > :-) > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 10/3/14, 5:38 PM, "Peter W A Wood" wrote: > > >The game looks great. My daughter saw the webpage over my shoulder and > >wants to play it. Does it exclusively use American spellings or is there > >an option to use English spellings? > > > >Peter > > > >On 4 Oct 2014, at 05:22, Chris Sheffield wrote: > > > >> Thunder not stolen at all. Thanks, Scott. I'm not working today so just > >>haven't had a chance to make an announcement yet. So thanks taking care > >>of it. > >> > >> Chris > >> > >> > >>> On Oct 3, 2014, at 1:08 PM, Scott Rossi > wrote: > >>> > >>> I don?t want to steal Chris Sheffield?s thunder, but a LiveCode game we > >>> worked on together, Splat-O-Nym, is now available in Apple's App Store. > >>> https://itunes.apple.com/us/app/splat-o-nym/id889274902?mt=8 > >>> > >>> > >>> The app helps kids learn synonyms and antonyms by "splatting" correct > >>> answers within a series of liquid-themed mini games. I developed the > >>> app?s UI, and Chris put the whole thing together in LiveCode for his > >>> company Read Naturally. > >>> > >>> A free lite version is also available. > >>> > >>> > >>> 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 > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 4 13:54:00 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 Oct 2014 10:54:00 -0700 Subject: the "price" of a context switch/function call Message-ID: I'm eternally conflicted between the needed frugality of my eight bit childhood and the desire for clean code . . . And I never forget the model I wrote in smalltalk with nice "proper" OO message passing (the messages I was modeling, in fact), and then rewrote line for line in Fortran without optimizing--a 45,000 to one speedup. Anyway, today's conflicted question is on function calls, and how much it "costs" to make a function call in livecode. If I'm going to call a routine, say, 100 times in a fraction of a second, do I really save much by inlining it rather than calling it as a function? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Oct 4 14:19:34 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Oct 2014 21:19:34 +0300 Subject: RTF or TXT In-Reply-To: References: <1412390312956-4684132.post@n4.nabble.com> <542F7B32.2030801@pdslabs.net> Message-ID: <54303A36.9060909@gmail.com> On 04/10/14 09:05, Kay C Lan wrote: > On Sat, Oct 4, 2014 at 12:44 PM, Phil Davis wrote: >> on mouseUp >> set the rtfText of fld 1 to the clipboardData["RTF"] >> end mouseUp >> > That looks like a simple answer but there are two entries in the > Dictionary under RTFText that might steer you in an ever so slightly > different direction: > > Note: Unfortunately, OpenOffice does not have particularly good rtf > import / export capabilities (it doesn't even round-trip correctly > through itself!) and thus copying / pasting of lists between LiveCode > and OpenOffice will not work reliably or correctly. What document did you use for your test. I wonder how OpenOffice racks up against LibreOffice, Kingsoft, ThinkFree and so on? Richmond. From bodine at bodinetraininggames.com Sat Oct 4 15:30:10 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Sat, 4 Oct 2014 12:30:10 -0700 (PDT) Subject: audio clips crashing livecode In-Reply-To: References: <409B0BFE-4494-4FC6-AAE5-90BCE726911D@duncansoftware.on-rev.com> <43CC2146-674E-4D7D-BC3B-5295AC9C92A5@major-k.de> Message-ID: <1412451010261-4684148.post@n4.nabble.com> > LC is EXTREMELY picky when it comes to play imported audio/video files! :-) I'm counting on the open source multimedia stretch goal to make LC a modern multimedia tool on all supported platforms. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/audio-clips-crashing-livecode-tp4684125p4684148.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Sat Oct 4 16:16:37 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 04 Oct 2014 13:16:37 -0700 Subject: Outrageously slow AppleScript performance In-Reply-To: <015FF4C8-E57C-45B8-8716-DA3BC56D09CF@mac.com> References: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> <542D6032.6020505@fourthworld.com> <015FF4C8-E57C-45B8-8716-DA3BC56D09CF@mac.com> Message-ID: <95BB717D-F101-4D7B-AC17-DAE42055A3A6@mac.com> One important addition on this? The performance issue is only in the IDE. Standalone's performance is good! Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 2, 2014, at 10:33 AM, Bill Vlahos wrote: > Thanks everyone. It turns out that RunRev knows about the issue: > http://quality.runrev.com/show_bug.cgi?id=11358 > > Richard, I will be at the meeting tonight and as my contribution topic for the meeting. See you there. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) > RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > > On Oct 2, 2014, at 7:42 AM, Roger Eller wrote: > >> Unless the AS needs to be built dynamically, you could compile it, and just >> launch it through LC. >> >> ~Roger >> >> On Thu, Oct 2, 2014 at 10:24 AM, Richard Gaskin >> wrote: >> >>> Bill Vlahos wrote: >>> >>>> When I execute the AppleScript listed below in the AppleScript Editor >>>> it works in about 1 second. Take the same script, put in in a >>>> LiveCode field and do field ?name? as AppleScript and it takes >>>> between 1 and 2 minutes to do! >>>> >>>> 1. Why? >>>> 2. How can I make it run quickly? >>> >>> The time difference is big enough that I suspect Zyrip is on the right >>> track: >>> >>> >>> But in general, executing AppleScript from LiveCode will almost always be >>> somewhat slower than running the same script within Apple's AppleScript >>> Editor for two reasons: >>> >>> 1. In AS, the interface to the AE subsystem is initialized when the app >>> opens, but in LC it needs to be setup at runtime when the call is made. >>> >>> 2. In AS scripts are compiled before being run, but in LC we're passing a >>> string to the AS subsystem, which it then has to compile before executing. >>> >>> Neither of those should take quite that long, though. >>> >>> If you're coming to tonight's LiveCode User Group meeting in Pasadena >>> please bring your project and let's brainstorm ways to diagnose what's >>> going on with it. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Oct 4 16:16:45 2014 From: kee at kagi.com (kee nethery) Date: Sat, 4 Oct 2014 13:16:45 -0700 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? Message-ID: <2359701D-87ED-4009-AA06-F76B08781821@kagi.com> I imported a stack that uses a whole series of separate backgrounds. I?m converting it into Livecode and one of the things I?d like to do to bring it into the modern era is to get rid of card fields/buttons/scripts and background fields/buttons/scripts and just have fields, buttons and card/stack scripts. How do I get the stack from the distinction between cards and backgrounds to the more modern format of just cards? Is there a recipe of what to do in what order to make the transition? is it as simple as finding every card with something that has the backgroundBehavior set to true and turning that off? Then fixing all the scripts to not make a distinction between card or background? Kee From jacque at hyperactivesw.com Sat Oct 4 16:40:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Oct 2014 15:40:37 -0500 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? In-Reply-To: <2359701D-87ED-4009-AA06-F76B08781821@kagi.com> References: <2359701D-87ED-4009-AA06-F76B08781821@kagi.com> Message-ID: <0D071F61-C848-43E2-93A5-FE9C86006F43@hyperactivesw.com> >From the message box, set the HCAddressing to false. That's all you should need to do. On October 4, 2014 3:16:45 PM CDT, kee nethery wrote: >I imported a stack that uses a whole series of separate backgrounds. >I?m converting it into Livecode and one of the things I?d like to do to >bring it into the modern era is to get rid of card >fields/buttons/scripts and background fields/buttons/scripts and just >have fields, buttons and card/stack scripts. > >How do I get the stack from the distinction between cards and >backgrounds to the more modern format of just cards? > >Is there a recipe of what to do in what order to make the transition? > >is it as simple as finding every card with something that has the >backgroundBehavior set to true and turning that off? Then fixing all >the scripts to not make a distinction between card or background? > >Kee >_______________________________________________ >use-livecode mailing list >use-livecode 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 dunbarx at aol.com Sat Oct 4 17:38:50 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 4 Oct 2014 17:38:50 -0400 Subject: the "price" of a context switch/function call In-Reply-To: References: Message-ID: <8D1AE32B86E8975-19D4-14233@webmail-va216.sysops.aol.com> Hi.. Write a test handler that loops a function call and another that implements the same functionality in line. The working code can be anything simple. Loop thousands of times. Write back. Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Sat, Oct 4, 2014 1:55 pm Subject: the "price" of a context switch/function call I'm eternally conflicted between the needed frugality of my eight bit childhood and the desire for clean code . . . And I never forget the model I wrote in smalltalk with nice "proper" OO message passing (the messages I was modeling, in fact), and then rewrote line for line in Fortran without optimizing--a 45,000 to one speedup. Anyway, today's conflicted question is on function calls, and how much it "costs" to make a function call in livecode. If I'm going to call a routine, say, 100 times in a fraction of a second, do I really save much by inlining it rather than calling it as a function? -- 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 kee at kagi.com Sat Oct 4 19:04:16 2014 From: kee at kagi.com (kee nethery) Date: Sat, 4 Oct 2014 16:04:16 -0700 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? In-Reply-To: <0D071F61-C848-43E2-93A5-FE9C86006F43@hyperactivesw.com> References: <2359701D-87ED-4009-AA06-F76B08781821@kagi.com> <0D071F61-C848-43E2-93A5-FE9C86006F43@hyperactivesw.com> Message-ID: OK, I?ll give it a try. Thanks! Kee > On Oct 4, 2014, at 1:40 PM, J. Landman Gay wrote: > >> From the message box, set the HCAddressing to false. That's all you should need to do. > > On October 4, 2014 3:16:45 PM CDT, kee nethery wrote: >> I imported a stack that uses a whole series of separate backgrounds. >> I?m converting it into Livecode and one of the things I?d like to do to >> bring it into the modern era is to get rid of card >> fields/buttons/scripts and background fields/buttons/scripts and just >> have fields, buttons and card/stack scripts. >> >> How do I get the stack from the distinction between cards and >> backgrounds to the more modern format of just cards? >> >> Is there a recipe of what to do in what order to make the transition? >> >> is it as simple as finding every card with something that has the >> backgroundBehavior set to true and turning that off? Then fixing all >> the scripts to not make a distinction between card or background? >> >> Kee >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Oct 4 21:27:41 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 4 Oct 2014 20:27:41 -0500 Subject: the "price" of a context switch/function call In-Reply-To: References: Message-ID: On Sat, Oct 4, 2014 at 12:54 PM, Dr. Hawkins wrote: > If I'm going to call a routine, say, 100 times in a fraction of a second, > do I really save much by inlining it rather than calling it as a function? > Premature optimization is the root of evil. If you write clean code, it will be straightforward to optimize. If you write unclean optimized code, it will never be clean. gc From mwieder at ahsoftware.net Sat Oct 4 21:51:18 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Oct 2014 18:51:18 -0700 Subject: the "price" of a context switch/function call In-Reply-To: References: Message-ID: <25611178128.20141004185118@ahsoftware.net> Geoff- Saturday, October 4, 2014, 6:27:41 PM, you wrote: > On Sat, Oct 4, 2014 at 12:54 PM, Dr. Hawkins wrote: >> If I'm going to call a routine, say, 100 times in a fraction of a second, >> do I really save much by inlining it rather than calling it as a function? >> > Premature optimization is the root of evil. If you write clean code, > it will be straightforward to optimize. If you write unclean optimized > code, it will never be clean. I think the proper adage here may be that first you write the code, then you make it work better, and finally you make it work faster. I spend much more time refactoring my code to make it more readable and more easily maintainable than I do optimizing for speed. But to answer the OP's question: no. -- -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 sundown at pacifier.com Sat Oct 4 23:55:28 2014 From: sundown at pacifier.com (JB) Date: Sat, 4 Oct 2014 20:55:28 -0700 Subject: the "price" of a context switch/function call In-Reply-To: <25611178128.20141004185118@ahsoftware.net> References: <25611178128.20141004185118@ahsoftware.net> Message-ID: <12AA16E8-B8DA-4E61-A354-B7D05CA62267@pacifier.com> I recently read a similar statement but I can?t rembenter where. Maybe if was from Apple about Xcode. What they said was even if you lose a little speed you are better off writing code that is easy for you to rend and understand instead of making it too complex. John Balgenorth On Oct 4, 2014, at 6:51 PM, Mark Wieder wrote: > Geoff- > > Saturday, October 4, 2014, 6:27:41 PM, you wrote: > >> On Sat, Oct 4, 2014 at 12:54 PM, Dr. Hawkins wrote: > >>> If I'm going to call a routine, say, 100 times in a fraction of a second, >>> do I really save much by inlining it rather than calling it as a function? >>> > >> Premature optimization is the root of evil. If you write clean code, >> it will be straightforward to optimize. If you write unclean optimized >> code, it will never be clean. > > I think the proper adage here may be that first you write the code, > then you make it work better, and finally you make it work faster. > > I spend much more time refactoring my code to make it more readable > and more easily maintainable than I do optimizing for speed. > > But to answer the OP's question: no. > > -- > -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 Oct 5 01:39:10 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Oct 2014 22:39:10 -0700 Subject: the "price" of a context switch/function call In-Reply-To: <12AA16E8-B8DA-4E61-A354-B7D05CA62267@pacifier.com> References: <25611178128.20141004185118@ahsoftware.net> <12AA16E8-B8DA-4E61-A354-B7D05CA62267@pacifier.com> Message-ID: <76624849650.20141004223910@ahsoftware.net> JB- Saturday, October 4, 2014, 8:55:28 PM, you wrote: > I recently read a similar statement but I can?t rembenter > where. Maybe if was from Apple about Xcode. What > they said was even if you lose a little speed you are > better off writing code that is easy for you to rend and > understand instead of making it too complex. And more so if someone else has to read and understand what you wrote, especially if that someone else is you six months down the road. -- -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 scott at tactilemedia.com Sun Oct 5 03:52:54 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 05 Oct 2014 00:52:54 -0700 Subject: Trigger Mobile Page Swipe? In-Reply-To: References: Message-ID: Hi All: I never saw any response on the this item below. I?m still looking for a way to trigger a page scroll with a mobile scroller, so it advances with the default momentum. Any ideas on how one could do this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 8/12/14, 4:28 PM, I wrote: >Anyone know if it's possible to manually trigger a page "advance" on a >mobile scroller, when the scroller has paging enabled? > >I'm wondering if there's some method to cause the scroller to advance to >the next "page" other than setting the scroll of the scroller manually. > >Thanks & Regards, > >Scott Rossi From richmondmathewson at gmail.com Sun Oct 5 04:22:53 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 11:22:53 +0300 Subject: Text fields with rounded corners Message-ID: <5430FFDD.6070503@gmail.com> ????? Richmond. From bernd.gottwald at outrange.com Sun Oct 5 06:00:09 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 5 Oct 2014 12:00:09 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_9?= Message-ID: <20141005100009.17467.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From gerry.orkin at gmail.com Sun Oct 5 06:46:14 2014 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 5 Oct 2014 21:46:14 +1100 Subject: Trigger Mobile Page Swipe? In-Reply-To: References: Message-ID: I've tried to do this and didn't get it working. It's just another one of those ways in which LiveCode is a 90% iOS solution. Gerry Sent from my iPhone > On 5 Oct 2014, at 6:52 pm, Scott Rossi wrote: > > Hi All: > > I never saw any response on the this item below. I?m still looking for a > way to trigger a page scroll with a mobile scroller, so it advances with > the default momentum. > > Any ideas on how one could do this? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > >> On 8/12/14, 4:28 PM, I wrote: >> >> Anyone know if it's possible to manually trigger a page "advance" on a >> mobile scroller, when the scroller has paging enabled? >> >> I'm wondering if there's some method to cause the scroller to advance to >> the next "page" other than setting the scroll of the scroller manually. >> >> Thanks & Regards, >> >> 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 admin at FlexibleLearning.com Sun Oct 5 08:47:25 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 5 Oct 2014 13:47:25 +0100 Subject: Text fields with rounded corners Message-ID: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> roundRect graphic instead of a field border. 2p Hugh Senior FLCo From: Richmond Subject: Text fields with rounded corners ????? Richmond From roger.e.eller at sealedair.com Sun Oct 5 09:40:09 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 5 Oct 2014 09:40:09 -0400 Subject: the "price" of a context switch/function call In-Reply-To: <76624849650.20141004223910@ahsoftware.net> References: <25611178128.20141004185118@ahsoftware.net> <12AA16E8-B8DA-4E61-A354-B7D05CA62267@pacifier.com> <76624849650.20141004223910@ahsoftware.net> Message-ID: It is for this very reason, I sometimes must kick myself. The more time I spend optimizing a routine, these "moments of clarity" happen, and a complex solution seems so simple. Not so when I return to it as my future self. Sent from my Android tablet On Oct 5, 2014 1:43 AM, "Mark Wieder" wrote: > JB- > > Saturday, October 4, 2014, 8:55:28 PM, you wrote: > > > I recently read a similar statement but I can t rembenter > > where. Maybe if was from Apple about Xcode. What > > they said was even if you lose a little speed you are > > better off writing code that is easy for you to rend and > > understand instead of making it too complex. > > And more so if someone else has to read and understand what you wrote, > especially if that someone else is you six months down the road. > > -- > -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 richmondmathewson at gmail.com Sun Oct 5 10:37:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 17:37:17 +0300 Subject: Text fields with rounded corners In-Reply-To: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> Message-ID: <5431579D.503@gmail.com> On 05/10/14 15:47, FlexibleLearning.com wrote: > roundRect graphic instead of a field border. > > 2p > > Hugh Senior > FLCo > > > From: Richmond > Subject: Text fields with rounded corners > > ????? > > Richmond > > > That doesn't help. That is a fudge, with a text field overlaying a rectangle with rounded edges. When I try: set the roundRadius of fld "zz" to 50 nothing happens because 'roundRadius' is not a property of fields. Richmond. From stephenREVOLUTION2 at barncard.com Sun Oct 5 11:29:06 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 5 Oct 2014 08:29:06 -0700 Subject: Text fields with rounded corners In-Reply-To: <5431579D.503@gmail.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> Message-ID: On Sun, Oct 5, 2014 at 7:37 AM, Richmond wrote: > That is a fudge, with a text field overlaying a rectangle with rounded > edges. > What difference does it make? It's all an illusion anyway. Just asking. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From richmondmathewson at gmail.com Sun Oct 5 11:37:04 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 18:37:04 +0300 Subject: Text fields with rounded corners In-Reply-To: References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> Message-ID: <543165A0.6070806@gmail.com> On 05/10/14 18:29, stephen barncard wrote: > On Sun, Oct 5, 2014 at 7:37 AM, Richmond > wrote: > >> That is a fudge, with a text field overlaying a rectangle with rounded >> edges. >> > What difference does it make? It's all an illusion anyway. Just asking. > > Yes, of course a GUI is an illusion; however, I, for one, have been sustained by that illusion ever since I bought a Mac LC 475 in 1993, and it is a fine illusion that is significantly better than the green screen blind terminal illusion that preceded it. I have no great urge to be disillusioned, having worked with a computer that had no visual illusion at all (no VDU) just a card reader and a printer. However much the GUI-WIMP thing is an illusion, illusory objects within it can be easy to handle and difficult. In Livecode a group is, almost always, a P.I.A. [No, I am not referring to Pakistani International Airways], and a unitary object is always easier to tweak and adjust when one needs to. Better cut down on the "Just askings" as, in my case at least, they precipitate a waterfall of words :) Richmond. From mwieder at ahsoftware.net Sun Oct 5 12:02:49 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Oct 2014 09:02:49 -0700 Subject: Text fields with rounded corners In-Reply-To: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> Message-ID: <142662267881.20141005090249@ahsoftware.net> Richmond- Sunday, October 5, 2014, 5:47:25 AM, Hugh wrote: > roundRect graphic instead of a field border. > 2p ..and group the two objects. Turn off the border and opacity of the text field, set the opacity and backgroundColor of the graphic. +2p -- -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 dave at applicationinsight.com Sun Oct 5 12:30:41 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 5 Oct 2014 09:30:41 -0700 (PDT) Subject: Interested in ad hoc occasional freelance LiveCode work? Message-ID: <1412526641454-4684169.post@n4.nabble.com> Dear all I have a client who occasionally wants features faster than I can code them - and when that happens I would like to be able to call on some help. Previously I've used this list to (successfully) find people to help out with specific, neatly defined, tasks - this would probably be messier... If you are interested in joining a 'pool of talent' who might be called on for occasional ad hoc work please get in touch with me directly. This client is based in Singapore and he would be particularly keen to to hear from people closer to his time zone than mine (I'm based in the UK) - that said - we would love to hear from talent anywhere in the globe. Kind regards Dave Kilroy ----- "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/Interested-in-ad-hoc-occasional-freelance-LiveCode-work-tp4684169.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Sun Oct 5 14:39:25 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 05 Oct 2014 11:39:25 -0700 Subject: Calendar scripting app needs help with Outlook for Mac Message-ID: I?ve written a demonstration stack that shows how to use AppleScript to create, modify, and delete an event in Calendar on the Mac. The stack will be uploaded to RevOnLine but before I do that I would like to also have the information to do the same thing with Outlook for the Mac. My problem is that I don?t have a licensed copy of Outlook on the Mac. I have the beginnings based on the AppleScript dictionary. If anyone would like to take what I have done and add the same thing for Outlook I would appreciate it. Just let me know. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) From richmondmathewson at gmail.com Sun Oct 5 14:41:27 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 21:41:27 +0300 Subject: Text fields with rounded corners In-Reply-To: <142662267881.20141005090249@ahsoftware.net> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <142662267881.20141005090249@ahsoftware.net> Message-ID: <543190D7.7080800@gmail.com> On 05/10/14 19:02, Mark Wieder wrote: > Richmond- > > Sunday, October 5, 2014, 5:47:25 AM, Hugh wrote: > >> roundRect graphic instead of a field border. >> 2p > ..and group the two objects. Turn off the border and opacity of the > text field, set the opacity and backgroundColor of the graphic. > > +2p > My earlier comment about grouped objects still stands. Richmond. From effendi at wanadoo.fr Sun Oct 5 14:52:50 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 5 Oct 2014 20:52:50 +0200 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? Message-ID: <706CCBFF-B852-400E-AA3D-63BDA4EA50F8@wanadoo.fr> Hi from Beautiful Brittany, I?m confused ! Kee Nethery says that he wants to remove backgrounds in a stack ?to bring it into the modern era? Can anybody explain this statement ? What does this mean ? Is the background mechanism dying, or even being dropped ? I understand that many stacks (an old Hypercard term) have only one ?card? (an old Hypercard term) , as they represent an application driven from a single window. But what is ?not modern? about a background ? We may have made hyperspace jumps with LiveCode since Hypercard brought in the mecanization of Rolodex type data, but I assume that the concept is still ?on the cards? (sorry, I mean ?in multiple app windows?). Not overly worried, as I have decided to stop programming and stop motor-biking, when I hit 80 (after 60 years of both), as I think I will have found something new to do !! But nevertheless ??.. -Francis From richmondmathewson at gmail.com Sun Oct 5 15:10:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 22:10:44 +0300 Subject: Engines, Metacard, and general mucking around Message-ID: <543197B4.2040604@gmail.com> One can open the .app folder of a Mac version of LiveCode or Metacard and swap out the engine. I wonder how one might go about this with Linux or a Windows versions of LiveCode/Metacard? Certainly, the Linux version looks monolithic. Richmond. From mwieder at ahsoftware.net Sun Oct 5 15:14:19 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Oct 2014 12:14:19 -0700 Subject: Calendar scripting app needs help with Outlook for Mac In-Reply-To: References: Message-ID: <112673757163.20141005121419@ahsoftware.net> Bill- Sunday, October 5, 2014, 11:39:25 AM, you wrote: > My problem is that I don?t have a licensed copy of Outlook on the > Mac. I don't see this as a problem. We were forced to migrate to Mac Outlook a few months ago, and it sucks bigtime. Expecially wrt calendaring. Or maybe it's just Exchange Server that sucks. But really, there's no excuse for using Outlook unless you're stuck with Exchange, and then they suck together. Oh... and it doesn't play well with others, so AppleScript may be a hit or miss thing. Like the rest of Outlook. -- -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 Oct 5 15:22:28 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Oct 2014 12:22:28 -0700 Subject: Engines, Metacard, and general mucking around In-Reply-To: <543197B4.2040604@gmail.com> References: <543197B4.2040604@gmail.com> Message-ID: <3674246611.20141005122228@ahsoftware.net> Richmond- Sunday, October 5, 2014, 12:10:44 PM, you wrote: > One can open the .app folder of a Mac version of LiveCode or Metacard > and swap out the engine. > I wonder how one might go about this with Linux or a Windows versions of > LiveCode/Metacard? > Certainly, the Linux version looks monolithic. Don't know about Windoze, but I swap the linux engine all the time when I'm working on it. And nothing monolithic about it. If you have it installed for all users, it's in /opt/runrev/ and it's called livecodecommunity.i386 (or if you're using LC 7.0 64-bit it's called "LiveCode Community.x86_64"). I really wish it didn't have a space in the middle, but that's what we're stuck with. If you've installed it just for you then the the runrev folder is probably off your home folder. In any case, it's a drop-in replacement unless you also need to update the externals subfolder. But you know what to do there. -- -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 kray at sonsothunder.com Sun Oct 5 15:24:27 2014 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 5 Oct 2014 15:24:27 -0400 Subject: Text fields with rounded corners In-Reply-To: <5431579D.503@gmail.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> Message-ID: <69594C96-688C-456E-8FCE-4BA95BC9C94A@sonsothunder.com> Does it have to be editable? If not, then you might be able to get away with a single roundrect graphic object and set the label of the graphic to the text you want. Granted you have limitations, but you can still manipulate things like alignment, margins, etc. Ken RaySons of Thunder Software, Inc.http://www.sonsothunder.com On 05/10/14 15:47, FlexibleLearning.com wrote: > roundRect graphic instead of a field border. > > 2p > > Hugh Senior > FLCo > > > From: Richmond > Subject: Text fields with rounded corners > > ????? > > Richmond > > > That doesn't help. That is a fudge, with a text field overlaying a rectangle with rounded edges. When I try: set the roundRadius of fld "zz" to 50 nothing happens because 'roundRadius' is not a property of fields. 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 Sun Oct 5 15:28:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 22:28:15 +0300 Subject: Text fields with rounded corners In-Reply-To: <69594C96-688C-456E-8FCE-4BA95BC9C94A@sonsothunder.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> <69594C96-688C-456E-8FCE-4BA95BC9C94A@sonsothunder.com> Message-ID: <54319BCF.2050303@gmail.com> On 05/10/14 22:24, Ken Ray wrote: > Does it have to be editable? If not, then you might be able to get away with a single roundrect graphic object and set the label of the graphic to the text you want. Granted you have limitations, but you can still manipulate things like alignment, margins, etc. That's certainly a thought. I wonder how you would manipulate the labelField so that end users could enter text into it in the way they can enter text into a standard textField. I suspect that would not be possible, and one would have to have an standard textField and a button that would transfer the text to the label of the graphic. Richmond. From richmondmathewson at gmail.com Sun Oct 5 15:38:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Oct 2014 22:38:03 +0300 Subject: Text fields with rounded corners In-Reply-To: <54319BCF.2050303@gmail.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> <69594C96-688C-456E-8FCE-4BA95BC9C94A@sonsothunder.com> <54319BCF.2050303@gmail.com> Message-ID: <54319E1B.1090305@gmail.com> On 05/10/14 22:28, Richmond wrote: > On 05/10/14 22:24, Ken Ray wrote: >> Does it have to be editable? If not, then you might be able to get >> away with a single roundrect graphic object and set the label of the >> graphic to the text you want. Granted you have limitations, but you >> can still manipulate things like alignment, margins, etc. > > That's certainly a thought. > > I wonder how you would manipulate the labelField so that end users > could enter text into it in the way they can enter > text into a standard textField. > > I suspect that would not be possible, and one would have to have an > standard textField and a button that would transfer the text to the > label of the graphic. > > Richmond. > > Here's something: "cornery.zip" here: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 You cannot set any text attributes except size" no colour, bold, italic, etc. Richmond. From bvlahos at mac.com Sun Oct 5 16:17:02 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 05 Oct 2014 13:17:02 -0700 Subject: Calendar scripting app needs help with Outlook for Mac In-Reply-To: <112673757163.20141005121419@ahsoftware.net> References: <112673757163.20141005121419@ahsoftware.net> Message-ID: Mark, Well that is why I don?t own it. However, many companies like yours insist on it which is why I want to be able to show how to integrate with it. Bill On Oct 5, 2014, at 12:14 PM, Mark Wieder wrote: > Bill- > > Sunday, October 5, 2014, 11:39:25 AM, you wrote: > >> My problem is that I don?t have a licensed copy of Outlook on the >> Mac. > > I don't see this as a problem. > > We were forced to migrate to Mac Outlook a few months ago, and it > sucks bigtime. Expecially wrt calendaring. Or maybe it's just Exchange > Server that sucks. But really, there's no excuse for using Outlook > unless you're stuck with Exchange, and then they suck together. Oh... > and it doesn't play well with others, so AppleScript may be a hit or > miss thing. Like the rest of Outlook. > > -- > -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 jacque at hyperactivesw.com Sun Oct 5 16:18:41 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Oct 2014 15:18:41 -0500 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? In-Reply-To: <706CCBFF-B852-400E-AA3D-63BDA4EA50F8@wanadoo.fr> References: <706CCBFF-B852-400E-AA3D-63BDA4EA50F8@wanadoo.fr> Message-ID: <5431A7A1.50502@hyperactivesw.com> On 10/5/2014, 1:52 PM, Francis Nugent Dixon wrote: > Kee Nethery says that he wants to remove backgrounds in a stack > ?to bring it into the modern era? Can anybody explain this statement ? > > What does this mean ? Is the background mechanism dying, or even > being dropped ? No, nothing has changed. I think what Kee meant was that he didn't want to specify "card field" or "background button" when referring to those objects. In HC that was required but in LC doesn't need those longer references. You can refer to a card field just as "field" and LC will still find it. The HCAddressing property controls whether card fields and background buttons need to be referenced specifically by their owner locations. All HC stacks are imported with HCAddressing set to true. If you set the HCAddressing to false, the requirement no longer applies, and the controls will be found just as they are in native LC stacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Sun Oct 5 16:42:30 2014 From: paul at researchware.com (Paul Dupuis) Date: Sun, 05 Oct 2014 16:42:30 -0400 Subject: Text fields with rounded corners In-Reply-To: <54319E1B.1090305@gmail.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> <69594C96-688C-456E-8FCE-4BA95BC9C94A@sonsothunder.com> <54319BCF.2050303@gmail.com> <54319E1B.1090305@gmail.com> Message-ID: <5431AD36.6010109@researchware.com> I think what was being asked here is "why shouldn't the roundRadius property (and roundEnds, roundHeight, roundWidth) apply to fields (and buttons, etc.) as well as just graphics" It is a good enhancement idea and should be submitted to RunRev via the quality center (http://quality.runrev.com/) if it is something someone wants. On 10/5/2014 3:38 PM, Richmond wrote: > On 05/10/14 22:28, Richmond wrote: >> On 05/10/14 22:24, Ken Ray wrote: >>> Does it have to be editable? If not, then you might be able to get >>> away with a single roundrect graphic object and set the label of the >>> graphic to the text you want. Granted you have limitations, but you >>> can still manipulate things like alignment, margins, etc. >> >> That's certainly a thought. >> >> I wonder how you would manipulate the labelField so that end users >> could enter text into it in the way they can enter >> text into a standard textField. >> >> I suspect that would not be possible, and one would have to have an >> standard textField and a button that would transfer the text to the >> label of the graphic. >> >> Richmond. >> >> > > Here's something: "cornery.zip" here: > https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 > > You cannot set any text attributes except size" no colour, bold, > italic, etc. > > 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 lists at mangomultimedia.com Sun Oct 5 16:57:40 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Oct 2014 16:57:40 -0400 Subject: Text fields with rounded corners In-Reply-To: References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> Message-ID: On Sunday, October 5, 2014, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Sun, Oct 5, 2014 at 7:37 AM, Richmond > > wrote: > > > That is a fudge, with a text field overlaying a rectangle with rounded > > edges. > > > > What difference does it make? It's all an illusion anyway. Just asking. > One difference to be aware of when using a graphic to get rounded corners around a field is that you won't get a proper focus border on OS X. -- Trevor DeVore From larry at significantplanet.org Sun Oct 5 18:30:57 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 16:30:57 -0600 Subject: create a new label field Message-ID: I can use "create field" to create a new field, but it is a rectangular field with square corners. How do I create a new label field programatically? From dunbarx at aol.com Sun Oct 5 19:14:17 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 5 Oct 2014 19:14:17 -0400 Subject: create a new label field In-Reply-To: References: Message-ID: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> Hi. Set up the templateField as a label field. Then all new fields created will have its properties. Craig Newman -----Original Message----- From: larry To: use-livecode Sent: Sun, Oct 5, 2014 6:32 pm Subject: create a new label field I can use "create field" to create a new field, but it is a rectangular field with square corners. How do I create a new label field programatically? _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Oct 5 19:20:07 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 17:20:07 -0600 Subject: create a new label field References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> Message-ID: Hi Craig, Yes, but how do I do that? I cannot find any command that distinguishes from label or regular field. I do use templateField for other properties, but nothing I've tried will set the property of a label field. Thanks, Larry ----- Original Message ----- From: To: Sent: Sunday, October 05, 2014 5:14 PM Subject: Re: create a new label field > Hi. > > > Set up the templateField as a label field. Then all new fields created > will have its properties. > > > Craig Newman > > > > -----Original Message----- > From: larry > To: use-livecode > Sent: Sun, Oct 5, 2014 6:32 pm > Subject: create a new label field > > > I can use "create field" to create a new field, but it is a rectangular > field > with square corners. How do I create a new label field programatically? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 5 20:24:33 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 5 Oct 2014 20:24:33 -0400 Subject: create a new label field In-Reply-To: References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> Message-ID: <8D1AF13095DCF7B-2868-20360@webmail-m252.sysops.aol.com> Make a label field the way you want it. Set the properties of the templateField to the properties of your label field. Craig -----Original Message----- From: larry To: How to use LiveCode Sent: Sun, Oct 5, 2014 7:20 pm Subject: Re: create a new label field Hi Craig, Yes, but how do I do that? I cannot find any command that distinguishes from label or regular field. I do use templateField for other properties, but nothing I've tried will set the property of a label field. Thanks, Larry ----- Original Message ----- From: To: Sent: Sunday, October 05, 2014 5:14 PM Subject: Re: create a new label field > Hi. > > > Set up the templateField as a label field. Then all new fields created > will have its properties. > > > Craig Newman > > > > -----Original Message----- > From: larry > To: use-livecode > Sent: Sun, Oct 5, 2014 6:32 pm > Subject: create a new label field > > > I can use "create field" to create a new field, but it is a rectangular > field > with square corners. How do I create a new label field programatically? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Oct 5 20:36:14 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 18:36:14 -0600 Subject: create a new label field References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> <8D1AF13095DCF7B-2868-20360@webmail-m252.sysops.aol.com> Message-ID: Hi Craig, Thanks for elaborating. I really appreciate it. I know your first message meant perfect sense to you, but I just don't have much experience. I should have thought to do what you just said in this most recent post. Now I have a better understanding of how to do stuff like that. Again, thanks very much. Larry ----- Original Message ----- From: To: Sent: Sunday, October 05, 2014 6:24 PM Subject: Re: create a new label field > Make a label field the way you want it. Set the properties of the > templateField to the properties of your label field. > > > Craig > > > > -----Original Message----- > From: larry > To: How to use LiveCode > Sent: Sun, Oct 5, 2014 7:20 pm > Subject: Re: create a new label field > > > Hi Craig, > Yes, but how do I do that? > I cannot find any command that distinguishes from label or regular field. > I do use templateField for other properties, but nothing I've tried will > set > the property of a label field. > Thanks, > Larry > > ----- Original Message ----- > From: > To: > Sent: Sunday, October 05, 2014 5:14 PM > Subject: Re: create a new label field > > >> Hi. >> >> >> Set up the templateField as a label field. Then all new fields created >> will have its properties. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: larry >> To: use-livecode >> Sent: Sun, Oct 5, 2014 6:32 pm >> Subject: create a new label field >> >> >> I can use "create field" to create a new field, but it is a rectangular >> field >> with square corners. How do I create a new label field programatically? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 5 20:50:33 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Oct 2014 19:50:33 -0500 Subject: create a new label field In-Reply-To: References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> <8D1AF13095DCF7B-2868-20360@webmail-m252.sysops.aol.com> Message-ID: <723AE877-8755-4D8C-9DA3-C583B746372E@hyperactivesw.com> Just for reference, LiveCode has only one field and one button object. All the field variations in the tool palette are just a single field object with different properties set. The same goes for all the buttons. I think it's misleading for new users because it gives the impression that there are different types of button and field controls. On October 5, 2014 7:36:14 PM CDT, larry at significantplanet.org wrote: >Hi Craig, >Thanks for elaborating. I really appreciate it. I know your first >message >meant perfect sense to you, but I just don't have much experience. >I should have thought to do what you just said in this most recent >post. >Now I have a better understanding of how to do stuff like that. >Again, thanks very much. >Larry > >----- Original Message ----- >From: >To: >Sent: Sunday, October 05, 2014 6:24 PM >Subject: Re: create a new label field > > >> Make a label field the way you want it. Set the properties of the >> templateField to the properties of your label field. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: larry >> To: How to use LiveCode >> Sent: Sun, Oct 5, 2014 7:20 pm >> Subject: Re: create a new label field >> >> >> Hi Craig, >> Yes, but how do I do that? >> I cannot find any command that distinguishes from label or regular >field. >> I do use templateField for other properties, but nothing I've tried >will >> set >> the property of a label field. >> Thanks, >> Larry >> >> ----- Original Message ----- >> From: >> To: >> Sent: Sunday, October 05, 2014 5:14 PM >> Subject: Re: create a new label field >> >> >>> Hi. >>> >>> >>> Set up the templateField as a label field. Then all new fields >created >>> will have its properties. >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: larry >>> To: use-livecode >>> Sent: Sun, Oct 5, 2014 6:32 pm >>> Subject: create a new label field >>> >>> >>> I can use "create field" to create a new field, but it is a >rectangular >>> field >>> with square corners. How do I create a new label field >programatically? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode 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 dunbarx at aol.com Sun Oct 5 20:51:01 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 5 Oct 2014 20:51:01 -0400 Subject: create a new label field In-Reply-To: References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> <8D1AF13095DCF7B-2868-20360@webmail-m252.sysops.aol.com> Message-ID: <8D1AF16BBD7EA1C-2868-2050C@webmail-m252.sysops.aol.com> You are welcome. The only way we all learn LC is both by fooling around with it and by talking about it. You do know that when I mentioned "the properties" I meant just that ( a native term), and not that you tediously go through all the ones you think are pertinent. Craig -----Original Message----- From: larry To: How to use LiveCode Sent: Sun, Oct 5, 2014 8:37 pm Subject: Re: create a new label field Hi Craig, Thanks for elaborating. I really appreciate it. I know your first message meant perfect sense to you, but I just don't have much experience. I should have thought to do what you just said in this most recent post. Now I have a better understanding of how to do stuff like that. Again, thanks very much. Larry ----- Original Message ----- From: To: Sent: Sunday, October 05, 2014 6:24 PM Subject: Re: create a new label field > Make a label field the way you want it. Set the properties of the > templateField to the properties of your label field. > > > Craig > > > > -----Original Message----- > From: larry > To: How to use LiveCode > Sent: Sun, Oct 5, 2014 7:20 pm > Subject: Re: create a new label field > > > Hi Craig, > Yes, but how do I do that? > I cannot find any command that distinguishes from label or regular field. > I do use templateField for other properties, but nothing I've tried will > set > the property of a label field. > Thanks, > Larry > > ----- Original Message ----- > From: > To: > Sent: Sunday, October 05, 2014 5:14 PM > Subject: Re: create a new label field > > >> Hi. >> >> >> Set up the templateField as a label field. Then all new fields created >> will have its properties. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: larry >> To: use-livecode >> Sent: Sun, Oct 5, 2014 6:32 pm >> Subject: create a new label field >> >> >> I can use "create field" to create a new field, but it is a rectangular >> field >> with square corners. How do I create a new label field programatically? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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.gottwald at outrange.com Sun Oct 5 20:51:14 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 6 Oct 2014 02:51:14 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_10?= Message-ID: <20141006005114.8957.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From peterwawood at gmail.com Sun Oct 5 20:55:56 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 6 Oct 2014 08:55:56 +0800 Subject: use-livecode Digest, Vol 133, Issue 10 In-Reply-To: <20141006005114.8957.qmail@divico2.ch-meta.net> References: <20141006005114.8957.qmail@divico2.ch-meta.net> Message-ID: I look forward to Bernd's return to his office on Sunday. I might even send him a welcome back message. On 6 Oct 2014, at 08:51, bernd.gottwald at outrange.com wrote: > Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. > > > > I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 5 21:03:18 2014 From: john at onechip.com (John) Date: Sun, 5 Oct 2014 18:03:18 -0700 Subject: Any "Preference" menu work arounds? Message-ID: Under OSX (10.9.5) using LC 7.0 RC2, I cannot disable the ?Preference" menu item. Under previous versions, deleting the menu item, and separator above it, from the ?Edit" menu disabled ?Preferences" in the menu bar. This is no longer the case. The trick detailed in http://runtime-revolution.278305.n4.nabble.com/Disabling-Preferences-Menu-td3326955.html also fails. Does anyone have a work around? I realize that the version I am using is a release candidate but I thought that I would use it to find bugs (this has been reported) and get a head start. Thanks, John From coiin at verizon.net Sun Oct 5 21:08:13 2014 From: coiin at verizon.net (Colin Holgate) Date: Sun, 05 Oct 2014 21:08:13 -0400 Subject: use-livecode Digest, Vol 133, Issue 10 In-Reply-To: References: <20141006005114.8957.qmail@divico2.ch-meta.net> Message-ID: I?m relieved that he only gets the daily digest. On Oct 5, 2014, at 8:55 PM, Peter W A Wood wrote: > I look forward to Bernd's return to his office on Sunday. I might even send him a welcome back message. > > On 6 Oct 2014, at 08:51, bernd.gottwald at outrange.com wrote: > >> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. >> >> >> >> I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 5 21:09:55 2014 From: john at onechip.com (John) Date: Sun, 5 Oct 2014 18:09:55 -0700 Subject: Any "Preference" menu work arounds? In-Reply-To: References: Message-ID: Never mind - I didn?t try the obvious. Simply disabling the ?Preferences" menu item does indeed disable it in the menu bar. There is a change in behavior, and old stacks may break, but it is possible to disable the menu item. Thanks, John On Oct 5, 2014, at 6:03 PM, John wrote: > Under OSX (10.9.5) using LC 7.0 RC2, I cannot disable the ?Preference" menu item. Under previous versions, deleting the menu item, and separator above it, from the ?Edit" menu disabled ?Preferences" in the menu bar. This is no longer the case. The trick detailed in http://runtime-revolution.278305.n4.nabble.com/Disabling-Preferences-Menu-td3326955.html also fails. > > Does anyone have a work around? I realize that the version I am using is a release candidate but I thought that I would use it to find bugs (this has been reported) and get a head start. > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 5 21:20:16 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 19:20:16 -0600 Subject: create a new label field References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com><8D1AF13095DCF7B-2868-20360@webmail-m252.sysops.aol.com> <723AE877-8755-4D8C-9DA3-C583B746372E@hyperactivesw.com> Message-ID: <8A0BF80D813649D3B467C104CC2B6AED@userd204a4d61c> Thanks Jacque, That note is actually very enlightening to me! Larry ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Sunday, October 05, 2014 6:50 PM Subject: Re: create a new label field > Just for reference, LiveCode has only one field and one button object. > All the field variations in the tool palette are just a single field > object with different properties set. The same goes for all the buttons. > > I think it's misleading for new users because it gives the impression that > there are different types of button and field controls. > > On October 5, 2014 7:36:14 PM CDT, larry at significantplanet.org wrote: >>Hi Craig, >>Thanks for elaborating. I really appreciate it. I know your first >>message >>meant perfect sense to you, but I just don't have much experience. >>I should have thought to do what you just said in this most recent >>post. >>Now I have a better understanding of how to do stuff like that. >>Again, thanks very much. >>Larry >> >>----- Original Message ----- >>From: >>To: >>Sent: Sunday, October 05, 2014 6:24 PM >>Subject: Re: create a new label field >> >> >>> Make a label field the way you want it. Set the properties of the >>> templateField to the properties of your label field. >>> >>> >>> Craig >>> >>> >>> >>> -----Original Message----- >>> From: larry >>> To: How to use LiveCode >>> Sent: Sun, Oct 5, 2014 7:20 pm >>> Subject: Re: create a new label field >>> >>> >>> Hi Craig, >>> Yes, but how do I do that? >>> I cannot find any command that distinguishes from label or regular >>field. >>> I do use templateField for other properties, but nothing I've tried >>will >>> set >>> the property of a label field. >>> Thanks, >>> Larry >>> >>> ----- Original Message ----- >>> From: >>> To: >>> Sent: Sunday, October 05, 2014 5:14 PM >>> Subject: Re: create a new label field >>> >>> >>>> Hi. >>>> >>>> >>>> Set up the templateField as a label field. Then all new fields >>created >>>> will have its properties. >>>> >>>> >>>> Craig Newman >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: larry >>>> To: use-livecode >>>> Sent: Sun, Oct 5, 2014 6:32 pm >>>> Subject: create a new label field >>>> >>>> >>>> I can use "create field" to create a new field, but it is a >>rectangular >>>> field >>>> with square corners. How do I create a new label field >>programatically? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >>_______________________________________________ >>use-livecode mailing list >>use-livecode 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Sun Oct 5 22:14:30 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 05 Oct 2014 19:14:30 -0700 Subject: Calendar scripting app needs help with Outlook for Mac In-Reply-To: References: <112673757163.20141005121419@ahsoftware.net> Message-ID: <94992BA5-2C51-4EC8-9B2D-2D8634360E0A@mac.com> I have a volunteer for assistance. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 5, 2014, at 1:17 PM, Bill Vlahos wrote: > Mark, > > Well that is why I don?t own it. However, many companies like yours insist on it which is why I want to be able to show how to integrate with it. > > Bill > > On Oct 5, 2014, at 12:14 PM, Mark Wieder wrote: > >> Bill- >> >> Sunday, October 5, 2014, 11:39:25 AM, you wrote: >> >>> My problem is that I don?t have a licensed copy of Outlook on the >>> Mac. >> >> I don't see this as a problem. >> >> We were forced to migrate to Mac Outlook a few months ago, and it >> sucks bigtime. Expecially wrt calendaring. Or maybe it's just Exchange >> Server that sucks. But really, there's no excuse for using Outlook >> unless you're stuck with Exchange, and then they suck together. Oh... >> and it doesn't play well with others, so AppleScript may be a hit or >> miss thing. Like the rest of Outlook. >> >> -- >> -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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Sun Oct 5 22:17:41 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 05 Oct 2014 19:17:41 -0700 Subject: Text fields with rounded corners In-Reply-To: <5431AD36.6010109@researchware.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <5431579D.503@gmail.com> <69594C96-688C-456E-8FCE-4BA95BC9C94A@sonsothunder.com> <54319BCF.2050303@gmail.com> <54319E1B.1090305@gmail.com> <5431AD36.6010109@researchware.com> Message-ID: <2376757A-11A8-4E6C-AC17-E050CFBB866E@mac.com> I agree that it would be a very nice feature to have. It would save time having to create the graphics workarounds described in this thread. Bill Vlahos On Oct 5, 2014, at 1:42 PM, Paul Dupuis wrote: > I think what was being asked here is "why shouldn't the roundRadius > property (and roundEnds, roundHeight, roundWidth) apply to fields (and > buttons, etc.) as well as just graphics" > > It is a good enhancement idea and should be submitted to RunRev via the > quality center (http://quality.runrev.com/) if it is something someone > wants. > > > On 10/5/2014 3:38 PM, Richmond wrote: >> On 05/10/14 22:28, Richmond wrote: >>> On 05/10/14 22:24, Ken Ray wrote: >>>> Does it have to be editable? If not, then you might be able to get >>>> away with a single roundrect graphic object and set the label of the >>>> graphic to the text you want. Granted you have limitations, but you >>>> can still manipulate things like alignment, margins, etc. >>> >>> That's certainly a thought. >>> >>> I wonder how you would manipulate the labelField so that end users >>> could enter text into it in the way they can enter >>> text into a standard textField. >>> >>> I suspect that would not be possible, and one would have to have an >>> standard textField and a button that would transfer the text to the >>> label of the graphic. >>> >>> Richmond. >>> >>> >> >> Here's something: "cornery.zip" here: >> https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 >> >> You cannot set any text attributes except size" no colour, bold, >> italic, etc. >> >> 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 lan.kc.macmail at gmail.com Sun Oct 5 22:29:28 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 6 Oct 2014 10:29:28 +0800 Subject: create a new label field In-Reply-To: <723AE877-8755-4D8C-9DA3-C583B746372E@hyperactivesw.com> References: <8D1AF093837BF75-2868-1FF29@webmail-m252.sysops.aol.com> <8D1AF13095DCF7B-2868-20360@webmail-m252.sysops.aol.com> <723AE877-8755-4D8C-9DA3-C583B746372E@hyperactivesw.com> Message-ID: On Mon, Oct 6, 2014 at 8:50 AM, J. Landman Gay wrote: > > I think it's misleading for new users because it gives the impression that there are different types of button and field controls. > Not to mention menubars, which again new users may think is another object altogether but surprise surprise it's just a bunch of those vanilla button objects grouped together with properties set appropriately. From larry at significantplanet.org Sun Oct 5 22:30:03 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 20:30:03 -0600 Subject: how to detect insertion point Message-ID: Hello, I have several fields... myField1, myField2, etc. When the user clicks within a field, I want to detect the (?? selection, insertion ??) and run a script. I've experimented for over an hour with no luck. The only thing I found that sort of works is: on mouseEnter do stuff end mouseEnter The problem with that is that one of the things I want to do is change the color of the field while the script is doing stuff and only change back to the original color when the stuff is finished, and not when the mouse leaves. It is too clunky to require the user to leave the mouse in the field while the stuff is being done. I hope that makes sense. Thanks for any help. Larry From lan.kc.macmail at gmail.com Sun Oct 5 22:35:24 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 6 Oct 2014 10:35:24 +0800 Subject: how to detect insertion point In-Reply-To: References: Message-ID: Maybe the focusIn messgae might help. On Mon, Oct 6, 2014 at 10:30 AM, wrote: > Hello, > > I have several fields... myField1, myField2, etc. > > When the user clicks within a field, I want to detect the (?? selection, insertion ??) and run a script. > > I've experimented for over an hour with no luck. > > The only thing I found that sort of works is: > on mouseEnter > do stuff > end mouseEnter > > The problem with that is that one of the things I want to do is change the color of the field while the script is doing stuff and only change back to the original color when the stuff is finished, and not when the mouse leaves. It is too clunky to require the user to leave the mouse in the field while the stuff is being done. > > I hope that makes sense. > Thanks for any help. > 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 larry at significantplanet.org Sun Oct 5 22:44:34 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 20:44:34 -0600 Subject: how to detect insertion point References: Message-ID: <8B1352BD1B1E4462A6ED9687290FD344@userd204a4d61c> Thanks Kay, For some reason, neither focusIn nor focusOut works. I can get what I want with openField but I haven't found anything that works when the focus is no longer on the field; focusOut doesn't work and neither does closeField (because closeField only works if the user changed the contents of the field) So I'm just here tearing my hair out! Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Sunday, October 05, 2014 8:35 PM Subject: Re: how to detect insertion point > Maybe the focusIn messgae might help. > > On Mon, Oct 6, 2014 at 10:30 AM, wrote: >> Hello, >> >> I have several fields... myField1, myField2, etc. >> >> When the user clicks within a field, I want to detect the (?? selection, >> insertion ??) and run a script. >> >> I've experimented for over an hour with no luck. >> >> The only thing I found that sort of works is: >> on mouseEnter >> do stuff >> end mouseEnter >> >> The problem with that is that one of the things I want to do is change >> the color of the field while the script is doing stuff and only change >> back to the original color when the stuff is finished, and not when the >> mouse leaves. It is too clunky to require the user to leave the mouse in >> the field while the stuff is being done. >> >> I hope that makes sense. >> Thanks for any help. >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 5 22:45:37 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 05 Oct 2014 19:45:37 -0700 Subject: Text fields with rounded corners In-Reply-To: <543190D7.7080800@gmail.com> References: <000601cfe09a$840354f0$8c09fed0$@FlexibleLearning.com> <142662267881.20141005090249@ahsoftware.net> <543190D7.7080800@gmail.com> Message-ID: One way to do this is to create a graphic with the desired appearance, export a snapshot of the graphic to a variable, set the text of an image to the snapshot data, and then set the backPattern of a plain field to the id of the image. I paired this with a resizeControl behavior applied to the field, so the graphic auto-resizes to the width/height of the field when the field is resized, and the snapshot is generated automatically. Kind of a goofy way to do it, but it should work. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/5/14, 11:41 AM, "Richmond" wrote: >On 05/10/14 19:02, Mark Wieder wrote: >> Richmond- >> >> Sunday, October 5, 2014, 5:47:25 AM, Hugh wrote: >> >>> roundRect graphic instead of a field border. >>> 2p >> ..and group the two objects. Turn off the border and opacity of the >> text field, set the opacity and backgroundColor of the graphic. >> >> +2p >> > >My earlier comment about grouped objects still stands. > >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 mikedoub at gmail.com Sun Oct 5 22:47:14 2014 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Sun, 05 Oct 2014 22:47:14 -0400 Subject: how to detect insertion point In-Reply-To: <8B1352BD1B1E4462A6ED9687290FD344@userd204a4d61c> References: <8B1352BD1B1E4462A6ED9687290FD344@userd204a4d61c> Message-ID: <20141006024714.6037651.18167.3949@gmail.com> What about exitfield? Mike ? Original Message ? From: larry at significantplanet.org Sent: Sunday, October 5, 2014 10:45 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: how to detect insertion point Thanks Kay, For some reason, neither focusIn nor focusOut works. I can get what I want with openField but I haven't found anything that works when the focus is no longer on the field; focusOut doesn't work and neither does closeField (because closeField only works if the user changed the contents of the field) So I'm just here tearing my hair out! Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Sunday, October 05, 2014 8:35 PM Subject: Re: how to detect insertion point > Maybe the focusIn messgae might help. > > On Mon, Oct 6, 2014 at 10:30 AM, wrote: >> Hello, >> >> I have several fields... myField1, myField2, etc. >> >> When the user clicks within a field, I want to detect the (?? selection, >> insertion ??) and run a script. >> >> I've experimented for over an hour with no luck. >> >> The only thing I found that sort of works is: >> on mouseEnter >> do stuff >> end mouseEnter >> >> The problem with that is that one of the things I want to do is change >> the color of the field while the script is doing stuff and only change >> back to the original color when the stuff is finished, and not when the >> mouse leaves. It is too clunky to require the user to leave the mouse in >> the field while the stuff is being done. >> >> I hope that makes sense. >> Thanks for any help. >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Oct 5 22:49:51 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 20:49:51 -0600 Subject: how to detect insertion point References: <8B1352BD1B1E4462A6ED9687290FD344@userd204a4d61c> <20141006024714.6037651.18167.3949@gmail.com> Message-ID: <6751D9E1655846A7B947F7BE5738239A@userd204a4d61c> Thanks Mike! Now I can keep the rest of my hair! Larry ----- Original Message ----- From: To: ; "How to use LiveCode" Sent: Sunday, October 05, 2014 8:47 PM Subject: Re: how to detect insertion point What about exitfield? Mike Original Message From: larry at significantplanet.org Sent: Sunday, October 5, 2014 10:45 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: how to detect insertion point Thanks Kay, For some reason, neither focusIn nor focusOut works. I can get what I want with openField but I haven't found anything that works when the focus is no longer on the field; focusOut doesn't work and neither does closeField (because closeField only works if the user changed the contents of the field) So I'm just here tearing my hair out! Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Sunday, October 05, 2014 8:35 PM Subject: Re: how to detect insertion point > Maybe the focusIn messgae might help. > > On Mon, Oct 6, 2014 at 10:30 AM, wrote: >> Hello, >> >> I have several fields... myField1, myField2, etc. >> >> When the user clicks within a field, I want to detect the (?? selection, >> insertion ??) and run a script. >> >> I've experimented for over an hour with no luck. >> >> The only thing I found that sort of works is: >> on mouseEnter >> do stuff >> end mouseEnter >> >> The problem with that is that one of the things I want to do is change >> the color of the field while the script is doing stuff and only change >> back to the original color when the stuff is finished, and not when the >> mouse leaves. It is too clunky to require the user to leave the mouse in >> the field while the stuff is being done. >> >> I hope that makes sense. >> Thanks for any help. >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Oct 5 23:25:36 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 6 Oct 2014 05:25:36 +0200 Subject: how to detect insertion point In-Reply-To: References: Message-ID: Hi Larry, To detect the insertion pint when the user clicks in a field, you can do this: on selectionChanged put the selectedchunk end selectionChanged -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 6 okt. 2014 om 04:30 heeft het volgende geschreven: > Hello, > > I have several fields... myField1, myField2, etc. > > When the user clicks within a field, I want to detect the (?? selection, insertion ??) and run a script. > > I've experimented for over an hour with no luck. > > The only thing I found that sort of works is: > on mouseEnter > do stuff > end mouseEnter > > The problem with that is that one of the things I want to do is change the color of the field while the script is doing stuff and only change back to the original color when the stuff is finished, and not when the mouse leaves. It is too clunky to require the user to leave the mouse in the field while the stuff is being done. > > I hope that makes sense. > Thanks for any help. > 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 dunbarx at aol.com Mon Oct 6 00:06:23 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 6 Oct 2014 00:06:23 -0400 Subject: how to detect insertion point In-Reply-To: References: Message-ID: <8D1AF3206E8477E-1044-21E1D@webmail-vm122.sysops.aol.com> Larry. It takes a while to learn the many LC commands, functions and properties that pertain to the task at hand. Experimentation is the best way, but also do use the dictionary, trying out various words that seem to fit what you are looking for. And especially the "see also" entries when you do. In your original post, you mentioned the word "selection". That, or maybe "select" by itself, would likely have led you to many possible lines of experimentation. After a while, you will have a a sense of what and how to search for in the dictionary, and the array of options presented there will lead you farther. I would keep the filter set to "all". Craig -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Sun, Oct 5, 2014 11:26 pm Subject: Re: how to detect insertion point Hi Larry, To detect the insertion pint when the user clicks in a field, you can do this: on selectionChanged put the selectedchunk end selectionChanged -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 6 okt. 2014 om 04:30 heeft het volgende geschreven: > Hello, > > I have several fields... myField1, myField2, etc. > > When the user clicks within a field, I want to detect the (?? selection, insertion ??) and run a script. > > I've experimented for over an hour with no luck. > > The only thing I found that sort of works is: > on mouseEnter > do stuff > end mouseEnter > > The problem with that is that one of the things I want to do is change the color of the field while the script is doing stuff and only change back to the original color when the stuff is finished, and not when the mouse leaves. It is too clunky to require the user to leave the mouse in the field while the stuff is being done. > > I hope that makes sense. > Thanks for any help. > 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Mon Oct 6 00:25:04 2014 From: kee at kagi.com (kee nethery) Date: Sun, 5 Oct 2014 21:25:04 -0700 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? In-Reply-To: <5431A7A1.50502@hyperactivesw.com> References: <706CCBFF-B852-400E-AA3D-63BDA4EA50F8@wanadoo.fr> <5431A7A1.50502@hyperactivesw.com> Message-ID: Yep. So two things I need to do are: 1. Resolve any name duplications between card and background objects. If I have card field ?bork? and background field ?bork?, getting it to where I can remove ?card? and ?background? will cause issues if two objects on the same card have the same name. 2. Move all background scripts into the stack script AND make sure that no two backgrounds have the same command or function name. If background 1 has a ?on bork? and background 2 has a completely different ?on bork? I need to alter the scripts that call bork to distinguish between them. Thanks Jacque! Kee > On Oct 5, 2014, at 1:18 PM, J. Landman Gay wrote: > > On 10/5/2014, 1:52 PM, Francis Nugent Dixon wrote: >> Kee Nethery says that he wants to remove backgrounds in a stack >> ?to bring it into the modern era? Can anybody explain this statement ? >> >> What does this mean ? Is the background mechanism dying, or even >> being dropped ? > > No, nothing has changed. I think what Kee meant was that he didn't want to specify "card field" or "background button" when referring to those objects. In HC that was required but in LC doesn't need those longer references. You can refer to a card field just as "field" and LC will still find it. > > The HCAddressing property controls whether card fields and background buttons need to be referenced specifically by their owner locations. All HC stacks are imported with HCAddressing set to true. If you set the HCAddressing to false, the requirement no longer applies, and the controls will be found just as they are in native LC stacks. > > -- > 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 Oct 6 00:29:40 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 5 Oct 2014 22:29:40 -0600 Subject: how to detect insertion point References: <8D1AF3206E8477E-1044-21E1D@webmail-vm122.sysops.aol.com> Message-ID: <404E4C898ABC40CEBAA0E1BB860060B3@userd204a4d61c> Thanks Craig, I learned a lot today from your post and Jacque's post. Larry ----- Original Message ----- From: To: Sent: Sunday, October 05, 2014 10:06 PM Subject: Re: how to detect insertion point > Larry. > > > It takes a while to learn the many LC commands, functions and properties > that pertain to the task at hand. Experimentation is the best way, but > also do use the dictionary, trying out various words that seem to fit > what you are looking for. And especially the "see also" entries when you > do. > > > In your original post, you mentioned the word "selection". That, or maybe > "select" by itself, would likely have led you to many possible lines of > experimentation. After a while, you will have a a sense of what and how to > search for in the dictionary, and the array of options presented there > will lead you farther. I would keep the filter set to "all". > > > Craig > > > > -----Original Message----- > From: Mark Schonewille > To: How to use LiveCode > Sent: Sun, Oct 5, 2014 11:26 pm > Subject: Re: how to detect insertion point > > > Hi Larry, > > To detect the insertion pint when the user clicks in a field, you can do > this: > > on selectionChanged > put the selectedchunk > end selectionChanged > > -- > Kind regards, > > Mark Schonewille > Economy-x-Talk > Http://economy-x-talk.com > > Share the clipboard of your computer over a local network with Clipboard > Link > http://clipboardlink.economy-x-talk.com > > > Op 6 okt. 2014 om 04:30 heeft het volgende > geschreven: > >> Hello, >> >> I have several fields... myField1, myField2, etc. >> >> When the user clicks within a field, I want to detect the (?? selection, > insertion ??) and run a script. >> >> I've experimented for over an hour with no luck. >> >> The only thing I found that sort of works is: >> on mouseEnter >> do stuff >> end mouseEnter >> >> The problem with that is that one of the things I want to do is change >> the > color of the field while the script is doing stuff and only change back to > the > original color when the stuff is finished, and not when the mouse leaves. > It is > too clunky to require the user to leave the mouse in the field while the > stuff > is being done. >> >> I hope that makes sense. >> Thanks for any help. >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 6 01:31:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Oct 2014 00:31:13 -0500 Subject: How to I flatten a Hypercard stack (now Livecode) from cards and backgrounds to just cards? In-Reply-To: References: <706CCBFF-B852-400E-AA3D-63BDA4EA50F8@wanadoo.fr> <5431A7A1.50502@hyperactivesw.com> Message-ID: <3BA33095-7673-4225-9CF5-0AAA98225C29@hyperactivesw.com> Actually you shouldn't have to change any of that. Even after setting the hcaddressing to false, you can still use the longer references to distinguish between same-named objects. So you could just leave the original scripts alone in those cases. The same goes for backgrounds. Since it's an imported HC stack there will only be one background available on any card, and that's the one that will receive the message even if another background has a similar handler. An unplaced group won't get the message. So basically just leave those two cases alone and they should work. In any new handlers you write, you can go ahead and reference fields and buttons without bothering with the longer identifiers. On October 5, 2014 11:25:04 PM CDT, kee nethery wrote: >Yep. So two things I need to do are: > >1. Resolve any name duplications between card and background objects. >If I have card field ?bork? and background field ?bork?, getting it to >where I can remove ?card? and ?background? will cause issues if two >objects on the same card have the same name. > >2. Move all background scripts into the stack script AND make sure that >no two backgrounds have the same command or function name. If >background 1 has a ?on bork? and background 2 has a completely >different ?on bork? I need to alter the scripts that call bork to >distinguish between them. > >Thanks Jacque! > >Kee > > >> On Oct 5, 2014, at 1:18 PM, J. Landman Gay >wrote: >> >> On 10/5/2014, 1:52 PM, Francis Nugent Dixon wrote: >>> Kee Nethery says that he wants to remove backgrounds in a stack >>> ?to bring it into the modern era? Can anybody explain this statement >? >>> >>> What does this mean ? Is the background mechanism dying, or even >>> being dropped ? >> >> No, nothing has changed. I think what Kee meant was that he didn't >want to specify "card field" or "background button" when referring to >those objects. In HC that was required but in LC doesn't need those >longer references. You can refer to a card field just as "field" and LC >will still find it. >> >> The HCAddressing property controls whether card fields and background >buttons need to be referenced specifically by their owner locations. >All HC stacks are imported with HCAddressing set to true. If you set >the HCAddressing to false, the requirement no longer applies, and the >controls will be found just as they are in native LC stacks. >> >> -- >> 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 jbv at souslelogo.com Mon Oct 6 04:12:15 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 6 Oct 2014 11:12:15 +0300 Subject: cron jobs and LC server In-Reply-To: <404E4C898ABC40CEBAA0E1BB860060B3@userd204a4d61c> References: <8D1AF3206E8477E-1044-21E1D@webmail-vm122.sysops.aol.com> <404E4C898ABC40CEBAA0E1BB860060B3@userd204a4d61c> Message-ID: Hi list I need to run a cron job every 5 minutes to process some data on a server and the job needs to stop when all data are processed. The thing is : the data will be posted only once or twice a month and it is impossible to predict when. So my idea is to set up a cron job automatically when needed and remove it when all data are processed. I found the following tutorial : http://www.thesitewizard.com/general/set-cron-job.shtml Before I make a big mistake I thought it would be wise to ask specialists on this list if it would be safe to do that from within a LC server script... The idea is : a specific LC script would be used to set up and remove the cron, which in turn would trigger another script every 5 min to process data. Thanks. jbv From hello at simonsmith.co Mon Oct 6 04:56:04 2014 From: hello at simonsmith.co (Simon Smith) Date: Mon, 6 Oct 2014 10:56:04 +0200 Subject: cron jobs and LC server In-Reply-To: References: <8D1AF3206E8477E-1044-21E1D@webmail-vm122.sysops.aol.com> <404E4C898ABC40CEBAA0E1BB860060B3@userd204a4d61c> Message-ID: Hi It should be possible to that, my concern would be that for the LC script to create remove the cron scripts, it would need sufficiant privlages to do so, which is not great for security. Although there a few ways around this, it can be more trouble than its worth. It would also depend on how everything is being hosted. e.g. on shared hosting, this probably would not be possible. I would just set the cron script and leave it to every 5 minutes - it will make your life much simpler. If there is no data to process, then the script can exit and do nothing etc. Its affect on server load will be negligible. Simon On Mon, Oct 6, 2014 at 10:12 AM, wrote: > Hi list > I need to run a cron job every 5 minutes to process > some data on a server and the job needs to stop when > all data are processed. The thing is : the data will be > posted only once or twice a month and it is impossible > to predict when. > So my idea is to set up a cron job automatically when > needed and remove it when all data are processed. > > I found the following tutorial : > http://www.thesitewizard.com/general/set-cron-job.shtml > Before I make a big mistake I thought it would be wise to > ask specialists on this list if it would be safe to do that from > within a LC server script... > The idea is : a specific LC script would be used to set up and > remove the cron, which in turn would trigger another script > every 5 min to process data. > > Thanks. > 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 jbv at souslelogo.com Mon Oct 6 05:11:32 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 6 Oct 2014 12:11:32 +0300 Subject: cron jobs and LC server In-Reply-To: References: <8D1AF3206E8477E-1044-21E1D@webmail-vm122.sysops.aol.com> <404E4C898ABC40CEBAA0E1BB860060B3@userd204a4d61c> Message-ID: <5f99e084a6814e5532bbbeb43d2983bf.squirrel@185.8.104.234> Hi Simon Thanks for your reply. Yes, security and server load are my main concerns. It is a dedicated server, but there are already quite a few cron jobs running on it. Therefore I thought it wasn't a good idea to add another one that would simply exit most of the time... jbv > Hi > > It should be possible to that, my concern would be that for the LC script > to create remove the cron scripts, it would need sufficiant privlages to > do > so, which is not great for security. Although there a few ways around > this, > it can be more trouble than its worth. It would also depend on how > everything is being hosted. e.g. on shared hosting, this probably would > not > be possible. > > I would just set the cron script and leave it to every 5 minutes - it will > make your life much simpler. If there is no data to process, then the > script can exit and do nothing etc. Its affect on server load will be > negligible. > > Simon > > On Mon, Oct 6, 2014 at 10:12 AM, wrote: > >> Hi list >> I need to run a cron job every 5 minutes to process >> some data on a server and the job needs to stop when >> all data are processed. The thing is : the data will be >> posted only once or twice a month and it is impossible >> to predict when. >> So my idea is to set up a cron job automatically when >> needed and remove it when all data are processed. >> >> I found the following tutorial : >> http://www.thesitewizard.com/general/set-cron-job.shtml >> Before I make a big mistake I thought it would be wise to >> ask specialists on this list if it would be safe to do that from >> within a LC server script... >> The idea is : a specific LC script would be used to set up and >> remove the cron, which in turn would trigger another script >> every 5 min to process data. >> >> Thanks. >> 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 michael-kristensen at dsa-net.dk Mon Oct 6 11:25:56 2014 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Mon, 6 Oct 2014 17:25:56 +0200 Subject: Screen updating i version 7 Message-ID: <94C80E16-45FC-44D2-9824-D20622DCDEFD@dsa-net.dk> Hi there Im finding that the screen updating in version 7 is WAY slower than in v6.6. So slow that it is not usable. Multiple things that update instantaneous in 6.6 becomes a visible one-by-one updating in v7 I even read that 7 should use multiple threads... What am I missing? Are you seeing the same? Thanks Michael From sundown at pacifier.com Mon Oct 6 15:32:23 2014 From: sundown at pacifier.com (JB) Date: Mon, 6 Oct 2014 12:32:23 -0700 Subject: Prevent Stack Resizing Message-ID: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> In the property inspector you can deselect the LiveResizing option to prevent the user from being able to drag and resize a stack. But this does not stop the stack from being resized if a mac user clicks on the last button in the top left corner of the window. And the resizeStack message is sent after the stack has been resized so you can?t use it to prevent a stack from being resized. Is it possible to prevent a stack from being resized it a mac user clicks on the last button in the top left of the stack window? John Balgenorth From richmondmathewson at gmail.com Mon Oct 6 15:41:24 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Oct 2014 22:41:24 +0300 Subject: Prevent Stack Resizing In-Reply-To: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> Message-ID: <5432F064.4070508@gmail.com> On 06/10/14 22:32, JB wrote: > In the property inspector you can deselect the > LiveResizing option to prevent the user from > being able to drag and resize a stack. > > But this does not stop the stack from being resized > if a mac user clicks on the last button in the top left > corner of the window. And the resizeStack message > is sent after the stack has been resized so you can?t > use it to prevent a stack from being resized. > > Is it possible to prevent a stack from being resized it > a mac user clicks on the last button in the top left of > the stack window? > > John Balgenorth > _______________________________________________ > Check out the 'Controls' settings halfway down the 'Basic Properties' pane of the Preferences palette for your stack. Richmond. From pedinatural at comcast.net Mon Oct 6 15:48:29 2014 From: pedinatural at comcast.net (Terica Lynn Swangin) Date: Mon, 6 Oct 2014 15:48:29 -0400 Subject: Teaching LiveCode to Children Message-ID: Good Afternoon, I emailed Heather about this and she suggested that I post this request to you. My name is Terica Lynn Swangin and I am emailing to ask for your help. My business, PediNatural?, is in the running to receive a $150K grant from the Chase Small Business Mission Main Street competiton. If we are fortunate enough to win, one of the projects we hope to develop and fund is a pilot program that will teach LiveCode to local underprivileged inner-city middle school children as an after school enrichment program. To be eligible for round 2 of the grant process we need at least 250 people to vote for us. I would really appreciate it if you could please show your support and vote. We only have 11 days left to qualify. To cast your vote, simply click the ?Vote Now? Facebook button on our Mission Main Street Grant profile page. Here is the link to our voting page. https://www.missionmainstreetgrants.com/business/detail/63345 Also, if you could share this with others and ask them to vote for PediNatural? too, that would be great. PediNatural? is a well know leader in educational literacy focused products for children. We believe introducing many types of literacy at an early age will allow children to naturally master the developmental milestones that are essential to solid learning foundations. I wholeheartedly believe that teaching LiveCode to these children will creatively and effectively help them develop a new way to think and thrive. 250 votes could give us the chance to change lives and futures. We need the votes by 11:59:00 p.m. ET on October 17th, 2014. Thank you for your consideration and any help that you can offer. Kind Regards, Terica Lynn Swangin Owner/Founder PediNatural KART Digital Broadcasting Network (KART-DBN) KART Foundation PO Box 310 Maple Shade, NJ 08052 website: http://www.kartdbn.com/ email: pedinatural at comcast.net PediNatural? is a NJ based children?s research & information services firm. We are literacy advocates who specialize in developing educational resources for a target audience up to 18yrs of age. The company creates new & innovative solutions that strive to close the learning gap between schools, communities, & families. From sundown at pacifier.com Mon Oct 6 15:41:06 2014 From: sundown at pacifier.com (JB) Date: Mon, 6 Oct 2014 12:41:06 -0700 Subject: Prevent Stack Resizing In-Reply-To: <5432F064.4070508@gmail.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> Message-ID: Thank you, Richmond! John Balgenorth On Oct 6, 2014, at 12:41 PM, Richmond wrote: > On 06/10/14 22:32, JB wrote: >> In the property inspector you can deselect the >> LiveResizing option to prevent the user from >> being able to drag and resize a stack. >> >> But this does not stop the stack from being resized >> if a mac user clicks on the last button in the top left >> corner of the window. And the resizeStack message >> is sent after the stack has been resized so you can?t >> use it to prevent a stack from being resized. >> >> Is it possible to prevent a stack from being resized it >> a mac user clicks on the last button in the top left of >> the stack window? >> >> John Balgenorth >> _______________________________________________ >> > > Check out the 'Controls' settings halfway down the > 'Basic Properties' pane of the Preferences palette > for your stack. > > 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 mpetrides at earthlink.net Mon Oct 6 15:51:52 2014 From: mpetrides at earthlink.net (Marian Petrides, MD) Date: Mon, 6 Oct 2014 15:51:52 -0400 Subject: Teaching LiveCode to Children In-Reply-To: References: Message-ID: <5712B372-8B8F-45F0-9733-E9DFAD2D2D3C@earthlink.net> Voted. Good luck! Sent from my iPhone > On Oct 6, 2014, at 3:48 PM, Terica Lynn Swangin wrote: > > Good Afternoon, > > I emailed Heather about this and she suggested that I post this request to you. > > My name is Terica Lynn Swangin and I am emailing to ask for your help. My business, PediNatural?, is in the running to receive a $150K grant from the Chase Small Business Mission Main Street competiton. If we are fortunate enough to win, one of the projects we hope to develop and fund is a pilot program that will teach LiveCode to local underprivileged inner-city middle school children as an after school enrichment program. To be eligible for round 2 of the grant process we need at least 250 people to vote for us. I would really appreciate it if you could please show your support and vote. We only have 11 days left to qualify. > > To cast your vote, simply click the ?Vote Now? Facebook button on our Mission Main Street Grant profile page. Here is the link to our voting page. https://www.missionmainstreetgrants.com/business/detail/63345 > > Also, if you could share this with others and ask them to vote for PediNatural? too, that would be great. > > PediNatural? is a well know leader in educational literacy focused products for children. We believe introducing many types of literacy at an early age will allow children to naturally master the developmental milestones that are essential to solid learning foundations. I wholeheartedly believe that teaching LiveCode to these children will creatively and effectively help them develop a new way to think and thrive. 250 votes could give us the chance to change lives and futures. We need the votes by 11:59:00 p.m. ET on October 17th, 2014. > > > Thank you for your consideration and any help that you can offer. > > Kind Regards, > > Terica Lynn Swangin > Owner/Founder > PediNatural > KART Digital Broadcasting Network (KART-DBN) > KART Foundation > PO Box 310 > Maple Shade, NJ 08052 > website: http://www.kartdbn.com/ > email: pedinatural at comcast.net > > > > PediNatural? is a NJ based children?s research & information services firm. We are literacy advocates who specialize in developing educational resources for a target audience up to 18yrs of age. The company creates new & innovative solutions that strive to close the learning gap between schools, communities, & families. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 6 15:52:45 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 06 Oct 2014 13:52:45 -0600 Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <1412303161544-4684115.post@n4.nabble.com> References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> <542D8F07.1040901@gmail.com> <1412303161544-4684115.post@n4.nabble.com> Message-ID: <8591A25F-00A7-411C-9019-81BBAC14A02B@icloud.com> Dave, Maybe you know this already, but I found with Xcode 6 it is now necessary to go in and set up the device simulators that you need for testing. Open Xcode, then open the Devices window from the Window menu. There might be some default ones, but you can click the + button to set up additional testing simulators. I found that once I did that, I was able to test in the simulator again. I still get an error message occasionally from LiveCode that says something about the simulator not booting properly, but if I?m patient for 20 or 30 seconds, it?ll eventually install and run the app. Hopefully that?ll help. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Oct 2, 2014, at 8:26 PM, Dave Kilroy wrote: > > Running Mavericks and using 6.6.4 and Xcode 6.0.1 I can't get anything to run > on the iOS 8 simulator (simulated device of any size) - even a 'hello world' > stack made purely in 6.6.4 fails > > However my 'hello world' and my current app-in-development seem to run fine > on an iPad4 running iOS 8.0.2 (but have not done exhaustive tests yet...) > > 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/RELEASE-LiveCode-6-6-4-RC1-tp4684084p4684115.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 sundown at pacifier.com Mon Oct 6 16:14:44 2014 From: sundown at pacifier.com (JB) Date: Mon, 6 Oct 2014 13:14:44 -0700 Subject: Prevent Stack Resizing In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> Message-ID: I was wrong about the LiveResizing preventing the user from dragging the window to change the size. That is handled in the controls options Richmond pointed out. Thanks again. Richmond. John Balgenorth On Oct 6, 2014, at 12:41 PM, JB wrote: > Thank you, Richmond! > > John Balgenorth > > > On Oct 6, 2014, at 12:41 PM, Richmond wrote: > >> On 06/10/14 22:32, JB wrote: >>> In the property inspector you can deselect the >>> LiveResizing option to prevent the user from >>> being able to drag and resize a stack. >>> >>> But this does not stop the stack from being resized >>> if a mac user clicks on the last button in the top left >>> corner of the window. And the resizeStack message >>> is sent after the stack has been resized so you can?t >>> use it to prevent a stack from being resized. >>> >>> Is it possible to prevent a stack from being resized it >>> a mac user clicks on the last button in the top left of >>> the stack window? >>> >>> John Balgenorth >>> _______________________________________________ >>> >> >> Check out the 'Controls' settings halfway down the >> 'Basic Properties' pane of the Preferences palette >> for your stack. >> >> 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 larry at significantplanet.org Mon Oct 6 18:25:52 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 6 Oct 2014 16:25:52 -0600 Subject: from here to there Message-ID: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> Hello, Can someone please tell me the syntax for putting words x to y from one field/var to another? I tried: put words 1 to 40 of field fld1 into field fld2 but that doesn't work. I don't even know how to look up the syntax! Sorry. Thanks Larry From dave at applicationinsight.com Mon Oct 6 18:33:04 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 6 Oct 2014 15:33:04 -0700 (PDT) Subject: from here to there In-Reply-To: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> Message-ID: <1412634784596-4684224.post@n4.nabble.com> Larry, try "word" instead of "words" ----- "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/from-here-to-there-tp4684223p4684224.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Mon Oct 6 18:34:00 2014 From: klaus at major-k.de (Klaus major-k) Date: Tue, 7 Oct 2014 00:34:00 +0200 Subject: from here to there In-Reply-To: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> Message-ID: <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> Hi Larry, Am 07.10.2014 um 00:25 schrieb : > Hello, > > Can someone please tell me the syntax for putting words x to y from one field/var to another? > > I tried: > put words 1 to 40 of field fld1 into field fld2 > but that doesn't work. > I don't even know how to look up the syntax! Sorry. avoid the plural :-) put word 1 to 40 of field "fld1" into field "fld2" > Thanks > Larry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From terry.judd at unimelb.edu.au Mon Oct 6 18:35:17 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 6 Oct 2014 22:35:17 +0000 Subject: from here to there In-Reply-To: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> Message-ID: Hi Larry - try word not words? e.g. put word x to y of fld 1 into fld 2 Terry... On 7/10/2014 9:25 am, "larry at significantplanet.org" wrote: >Can someone please tell me the syntax for putting words x to y from one >field/var to another? > >I tried: >put words 1 to 40 of field fld1 into field fld2 >but that doesn't work. > >I don't even know how to look up the syntax! Sorry. > >Thanks >Larry From mikedoub at gmail.com Mon Oct 6 18:35:45 2014 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 6 Oct 2014 18:35:45 -0400 Subject: from here to there In-Reply-To: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> Message-ID: Larry, I keep a copy of the User Guide on my desktop for just this reason. Look under the help menu. put word 1 to 5 of field ?in? into field ?out? -= Mike On Oct 6, 2014, at 6:25 PM, larry at significantplanet.org wrote: > Hello, > > Can someone please tell me the syntax for putting words x to y from one field/var to another? > > I tried: > put words 1 to 40 of field fld1 into field fld2 > but that doesn't work. > > I don't even know how to look up the syntax! Sorry. > > Thanks > 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 larry at significantplanet.org Mon Oct 6 18:37:10 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 6 Oct 2014 16:37:10 -0600 Subject: from here to there References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> Message-ID: <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> Thanks Klaus and Dave, It is sort of strange to me that I want more than 1 word and so I used "words", but you guys are right of course. Just use "word" Larry ----- Original Message ----- From: "Klaus major-k" To: "How to use LiveCode" Sent: Monday, October 06, 2014 4:34 PM Subject: Re: from here to there > Hi Larry, > > Am 07.10.2014 um 00:25 schrieb > : > >> Hello, >> >> Can someone please tell me the syntax for putting words x to y from one >> field/var to another? >> >> I tried: >> put words 1 to 40 of field fld1 into field fld2 >> but that doesn't work. >> I don't even know how to look up the syntax! Sorry. > > avoid the plural :-) > > put word 1 to 40 of field "fld1" into field "fld2" > >> Thanks >> Larry > > 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 sundown at pacifier.com Mon Oct 6 19:38:40 2014 From: sundown at pacifier.com (JB) Date: Mon, 6 Oct 2014 16:38:40 -0700 Subject: from here to there In-Reply-To: <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> Message-ID: <0EABDAEC-1787-4304-9843-094125ECA09C@pacifier.com> Remember this because it will be the same with char. I always mess it up too. When it doesn?t work just remember to change the spelling of words & chars. John Balgenorth On Oct 6, 2014, at 3:37 PM, wrote: > Thanks Klaus and Dave, > It is sort of strange to me that I want more than 1 word and so I used "words", but you guys are right of course. Just use "word" > Larry > > ----- Original Message ----- From: "Klaus major-k" > To: "How to use LiveCode" > Sent: Monday, October 06, 2014 4:34 PM > Subject: Re: from here to there > > >> Hi Larry, >> >> Am 07.10.2014 um 00:25 schrieb : >> >>> Hello, >>> >>> Can someone please tell me the syntax for putting words x to y from one field/var to another? >>> >>> I tried: >>> put words 1 to 40 of field fld1 into field fld2 >>> but that doesn't work. >>> I don't even know how to look up the syntax! Sorry. >> >> avoid the plural :-) >> >> put word 1 to 40 of field "fld1" into field "fld2" >> >>> Thanks >>> Larry >> >> 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 gerry.orkin at gmail.com Mon Oct 6 20:02:00 2014 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 7 Oct 2014 11:02:00 +1100 Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <8591A25F-00A7-411C-9019-81BBAC14A02B@icloud.com> References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> <542D8F07.1040901@gmail.com> <1412303161544-4684115.post@n4.nabble.com> <8591A25F-00A7-411C-9019-81BBAC14A02B@icloud.com> Message-ID: And for me I had to manually download the iOS 7.1 simulator - it didn't install by default. Found it at xCode > Preferences... > Downloads. g > On 7 Oct 2014, at 6:52 am, Chris Sheffield wrote: > > Maybe you know this already, but I found with Xcode 6 it is now necessary to go in and set up the device simulators that you need for testing. From lan.kc.macmail at gmail.com Mon Oct 6 22:31:26 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 7 Oct 2014 10:31:26 +0800 Subject: from here to there In-Reply-To: <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> Message-ID: On Tue, Oct 7, 2014 at 6:37 AM, wrote: > It is sort of strange to me that I want more than 1 word and so I used > "words", As to how grammatically correct it is I'm sure Richmond could tell us, but I like to think of it this way, I'm not actually specifying plural what I'm doing is specifying a start point and an end point and these are always singular. char 1 to char 21 word 5 to word -2 this is then conveniently shorthanded to: item 2 to 22 token 34 to -9 byte -8 to -1 Also, if I ask myself, how do I get every word from a variable - note I've used the singular, so the answer is, word 1 to -1 --again I use the singular And just in case it comes up, remember a word in LC includes any punctuation that may follow what we typically think of as a word, in the message box put "this is, a word" into tStore put word 1 to 2 of tStore into msg if you don't want the punctuation you might find trueword is what you need put "this is, a word" into tStore put trueword 1 to 2 of tStore into msg HTH From lan.kc.macmail at gmail.com Mon Oct 6 22:41:30 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 7 Oct 2014 10:41:30 +0800 Subject: Screen updating i version 7 In-Reply-To: <94C80E16-45FC-44D2-9824-D20622DCDEFD@dsa-net.dk> References: <94C80E16-45FC-44D2-9824-D20622DCDEFD@dsa-net.dk> Message-ID: I'm on OS X 10.9.5, MBP with retina display and at a screen resolution of 2048,1280 it all looks good to me. Even at 2880,1800 everything seems OK. This is in the IDE 7.0 RC2. This is with a basic stack that has a large field that has large amounts of data changed. Also if I go to the Dictionary and select various entries the Content field fills with the new data instantaneously. Are you talking about visual effects when changing from one card to another - dissolve, checkerboard etc? From johnpatten at me.com Mon Oct 6 23:01:31 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Mon, 06 Oct 2014 20:01:31 -0700 Subject: MergMicrophone And Exporting .caf files? Message-ID: Hi All, I?ve been thinking up some nice uses for internal school apps that let younger students record audio into an iPad. It would be nice to be able to share what they record with other students and their teachers. I played around with Monte?s open source MergMicropphone example on an iPad 2 and it seems to work well for certain formats. However, it saves the sound file in Apple?s newer .caf format. It plays back easily enough on the iPad it was recorded on, but I?m wondering what my options are for sharing the audio files? Originally, I thought I would provide and easy upload of the audio file to an internal web server but I?m not sure how to convert the audio file into a format that will play in a web browser mp4 etc.? I have access to on-rev too. Maybe there is a utility that would run on the server and auto convert files uploaded to a specific folder? Not sure how I?d go about that though?? Any ideas are welcome... Thanks in Advance! John Patten SUSD From smaclean at madmansoft.com Mon Oct 6 23:48:29 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Mon, 6 Oct 2014 23:48:29 -0400 Subject: MergMicrophone And Exporting .caf files? In-Reply-To: References: Message-ID: Hi John, You can set the format you want to record in, it doesn't have to be a .caf. Here is where I set the settings for recording in an app I have if the environment is "mobile" then mergMicrophoneSetNumberOfChannels "Stereo" mergMicrophoneSetSampleRate 44100 mergMicrophoneSetAudioFormat "MP4-AAC" mergMicrophoneSetTargetBitRate 65536 mergMicrophoneSetAudioQuality "High" end if You can play with these settings, but these are the ones I've found work reliably for MP4's on iOS. HTH, Steve MacLean On Oct 6, 2014, at 11:01 PM, JOHN PATTEN wrote: > Hi All, > > I?ve been thinking up some nice uses for internal school apps that let younger students record audio into an iPad. It would be nice to be able to share what they record with other students and their teachers. > > I played around with Monte?s open source MergMicropphone example on an iPad 2 and it seems to work well for certain formats. However, it saves the sound file in Apple?s newer .caf format. It plays back easily enough on the iPad it was recorded on, but I?m wondering what my options are for sharing the audio files? > > Originally, I thought I would provide and easy upload of the audio file to an internal web server but I?m not sure how to convert the audio file into a format that will play in a web browser mp4 etc.? I have access to on-rev too. Maybe there is a utility that would run on the server and auto convert files uploaded to a specific folder? Not sure how I?d go about that though?? > > Any ideas are welcome... > > Thanks in Advance! > > 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 sundown at pacifier.com Mon Oct 6 23:44:19 2014 From: sundown at pacifier.com (JB) Date: Mon, 6 Oct 2014 20:44:19 -0700 Subject: from here to there In-Reply-To: References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> Message-ID: Thanks for the code examples and expllanations, Kay. I learned a whole bunch of things I did not know. John Balgenorth On Oct 6, 2014, at 7:31 PM, Kay C Lan wrote: > On Tue, Oct 7, 2014 at 6:37 AM, wrote: > >> It is sort of strange to me that I want more than 1 word and so I used >> "words", > > As to how grammatically correct it is I'm sure Richmond could tell us, > but I like to think of it this way, I'm not actually specifying plural > what I'm doing is specifying a start point and an end point and these > are always singular. > > char 1 to char 21 > word 5 to word -2 > > this is then conveniently shorthanded to: > > item 2 to 22 > token 34 to -9 > byte -8 to -1 > > Also, if I ask myself, how do I get every word from a variable - note > I've used the singular, so the answer is, word 1 to -1 --again I use > the singular > > And just in case it comes up, remember a word in LC includes any > punctuation that may follow what we typically think of as a word, in > the message box > > put "this is, a word" into tStore > put word 1 to 2 of tStore into msg > > if you don't want the punctuation you might find trueword is what you need > > put "this is, a word" into tStore > put trueword 1 to 2 of tStore into msg > > HTH > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 00:14:04 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 6 Oct 2014 22:14:04 -0600 Subject: from here to there References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c><94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de><53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> Message-ID: I'm echoing John: Thanks Kay for the detailed explanation. That really helps us understand the LC syntax so much better! Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Monday, October 06, 2014 8:31 PM Subject: Re: from here to there > On Tue, Oct 7, 2014 at 6:37 AM, wrote: > >> It is sort of strange to me that I want more than 1 word and so I used >> "words", > > As to how grammatically correct it is I'm sure Richmond could tell us, > but I like to think of it this way, I'm not actually specifying plural > what I'm doing is specifying a start point and an end point and these > are always singular. > > char 1 to char 21 > word 5 to word -2 > > this is then conveniently shorthanded to: > > item 2 to 22 > token 34 to -9 > byte -8 to -1 > > Also, if I ask myself, how do I get every word from a variable - note > I've used the singular, so the answer is, word 1 to -1 --again I use > the singular > > And just in case it comes up, remember a word in LC includes any > punctuation that may follow what we typically think of as a word, in > the message box > > put "this is, a word" into tStore > put word 1 to 2 of tStore into msg > > if you don't want the punctuation you might find trueword is what you need > > put "this is, a word" into tStore > put trueword 1 to 2 of tStore into msg > > HTH > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From simon at asato-media.com Tue Oct 7 01:03:18 2014 From: simon at asato-media.com (Simon) Date: Mon, 6 Oct 2014 22:03:18 -0700 (PDT) Subject: from here to there In-Reply-To: References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> Message-ID: <1412658198103-4684237.post@n4.nabble.com> OK, then what is this? put "this is a sentence" into temp if the number of chars of temp >= 1 then put the last char of temp Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/from-here-to-there-tp4684223p4684237.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Oct 7 01:17:46 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Oct 2014 22:17:46 -0700 Subject: from here to there In-Reply-To: <1412658198103-4684237.post@n4.nabble.com> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> <1412658198103-4684237.post@n4.nabble.com> Message-ID: <92796362529.20141006221746@ahsoftware.net> Simon- Monday, October 6, 2014, 10:03:18 PM, you wrote: > OK, then what is this? > put "this is a sentence" into temp > if the number of chars of temp >= 1 then put the last char of temp If you're referring to "the number of chars", it's an expression that evaluates to a scalar value. -- -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 Tue Oct 7 03:25:44 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 7 Oct 2014 01:25:44 -0600 Subject: reporting a bug? Message-ID: <24485645635B4AD28E2AB2CDA6CF4D85@userd204a4d61c> Hello, I've just spent about 3 hours trying to debug my program and finally found out: There is a problem in the IDE, but when I compile, the problem goes away. I am creating several fields using "the templateField" and "create field" I set the locktext to false for all the fields - both in the templateField and after they are created - just to be sure. (Originally I just had: set the locktext of the templateField to false) Each created field has its script set to a master script that has an openField command in it. When I open the IDE and create my fields, and then try to click in a newly created field, nothing happens. I found out, just by trial and error, that if I first drag a button or field using the tool bar on to my stack and then delete that button or field and then create my fields, everything works as it should. However, if I PROGRAMMATICALLY create the button and then delete it, I still cannot click in a newly created field. So after 3 hours of stuff like that, I finally compiled my program and everything works fine. I am just reporting this to the list because I'm not smart enough to know if that is a bug or not. But if anyone was experiencing anything like that, then you now know what happened with me. btw, I'm using 6.6.3 on an XP machine. Larry From dave at applicationinsight.com Tue Oct 7 03:31:51 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 7 Oct 2014 00:31:51 -0700 (PDT) Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> <542D8F07.1040901@gmail.com> <1412303161544-4684115.post@n4.nabble.com> <8591A25F-00A7-411C-9019-81BBAC14A02B@icloud.com> Message-ID: <1412667111619-4684240.post@n4.nabble.com> Thanks Steve & Gerry Yep I also manually downloaded simulators via Xcode - what I'm now seeing is that with LC 6.6.4 that the simulator opens when I click the 'test' button but immediately goes into the background (i.e. my LC app - even a 'hello world' app made wholly in 6.6.4 - does not open) - and if I navigate to the simulator and click the app's icon it does not open It's a bit irritating but as long as I can test on a device I'm thinking I'll wait until the next release and see if there is improvement ... ----- "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-6-6-4-RC1-tp4684084p4684240.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Tue Oct 7 04:58:51 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 7 Oct 2014 16:58:51 +0800 Subject: from here to there In-Reply-To: <1412658198103-4684237.post@n4.nabble.com> References: <8A5AD7721CA241309187E5690EE12288@userd204a4d61c> <94438BBE-9D56-4D42-BCBF-3A9DCCD9EC94@major-k.de> <53FD1A17ADD441B4A1F3DB11C489DAB4@userd204a4d61c> <1412658198103-4684237.post@n4.nabble.com> Message-ID: On Tue, Oct 7, 2014 at 1:03 PM, Simon wrote: > OK, then what is this? > > put "this is a sentence" into temp > if the number of chars of temp >= 1 then put the last char of temp > Well I barely passed English so again, Richmond is the one to give us the explanation of the correct grammar, but to me it makes perfect sense and why I like the 'English like' language that LC uses. In the previous posts we are specifying a specific start point and end point so use the singular, but in this case you are really interested in multiple chars/words/etc so the plural does seem to make sense to me. So LC does provide the plural variant when it is needed to keep the syntax English like. find chars "dog cow" in fld "Claris History" if "HyperCard" is among the words of myThesis then beep sort lines of myListofNames by word -1 of each --sorts names by surname Note: although the Dictionary has no entry for 'tokens', it's an oversight as it works just like the others. HTH From baccheschi at tin.it Tue Oct 7 05:54:06 2014 From: baccheschi at tin.it (baccheschi at tin.it) Date: Tue, 7 Oct 2014 11:54:06 +0200 (CEST) Subject: R: Re: Teaching LiveCode to Children Message-ID: <148ea07b50c.baccheschi@tin.it> ----Messaggio originale---- Da: mpetrides at earthlink.net Data: 6-ott- 2014 21.51 A: "How to use LiveCode" Ogg: Re: Teaching LiveCode to Children Voted. Good luck! Sent from my iPhone > On Oct 6, 2014, at 3:48 PM, Terica Lynn Swangin wrote: > > Good Afternoon, > > I emailed Heather about this and she suggested that I post this request to you. > > My name is Terica Lynn Swangin and I am emailing to ask for your help. My business, PediNatural?, is in the running to receive a $150K grant from the Chase Small Business Mission Main Street competiton. If we are fortunate enough to win, one of the projects we hope to develop and fund is a pilot program that will teach LiveCode to local underprivileged inner-city middle school children as an after school enrichment program. To be eligible for round 2 of the grant process we need at least 250 people to vote for us. I would really appreciate it if you could please show your support and vote. We only have 11 days left to qualify. > > To cast your vote, simply click the ?Vote Now? Facebook button on our Mission Main Street Grant profile page. Here is the link to our voting page. https://www.missionmainstreetgrants.com/business/detail/63345 > > Also, if you could share this with others and ask them to vote for PediNatural? too, that would be great. > > PediNatural? is a well know leader in educational literacy focused products for children. We believe introducing many types of literacy at an early age will allow children to naturally master the developmental milestones that are essential to solid learning foundations. I wholeheartedly believe that teaching LiveCode to these children will creatively and effectively help them develop a new way to think and thrive. 250 votes could give us the chance to change lives and futures. We need the votes by 11:59: 00 p.m. ET on October 17th, 2014. > > > Thank you for your consideration and any help that you can offer. > > Kind Regards, > > Terica Lynn Swangin > Owner/Founder > PediNatural > KART Digital Broadcasting Network (KART-DBN) > KART Foundation > PO Box 310 > Maple Shade, NJ 08052 > website: http://www.kartdbn.com/> email: pedinatural at comcast.net > > > > PediNatural? is a NJ based children?s research & information services firm. We are literacy advocates who specialize in developing educational resources for a target audience up to 18yrs of age. The company creates new & innovative solutions that strive to close the learning gap between schools, communities, & families. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Simple programs for boys made ??with LiveCode completely free of charge visit: www.baccheschi.info or in App Store looking for mario Baccheschi From bernd.gottwald at outrange.com Tue Oct 7 06:00:15 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 7 Oct 2014 12:00:15 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_12?= Message-ID: <20141007100015.14856.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From t.heaford at btinternet.com Tue Oct 7 06:00:33 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 7 Oct 2014 11:00:33 +0100 Subject: DataGrid again Message-ID: MacOS Mavericks LiveCode 6.7 (RC2) I have a 6 column data grid set to enlarge automatically via. it?s geometry settings. When zooming the window and the data grid does not contain any data it enlarges/contracts as it should. When the data grid contains data it does not enlarge correctly (barely resizes at all, just a few pixels) but when contracting the window the data grid zooms to a size that is larger than the window. I am not sure it is relevant but the data grid is populated via. the large data set method that calls GetDataForLine pLine, at pDataA Is there a problem using this method with geometry settings that I am not aware of? or any other suggestions would be appreciated? Thanks Terry From admin at FlexibleLearning.com Tue Oct 7 06:41:56 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 7 Oct 2014 11:41:56 +0100 Subject: Teaching LiveCode to Children Message-ID: <002a01cfe21b$513843f0$f3a8cbd0$@FlexibleLearning.com> +1 vote Good luck! Hugh Senior FLCo -- Original message From: Terica Lynn Swangin Good Afternoon, I emailed Heather about this and she suggested that I post this request to you. My name is Terica Lynn Swangin and I am emailing to ask for your help. My business, PediNatural, is in the running to receive a $150K grant from the Chase Small Business Mission Main Street competiton. If we are fortunate enough to win, one of the projects we hope to develop and fund is a pilot program that will teach LiveCode to local underprivileged inner-city middle school children as an after school enrichment program. To be eligible for round 2 of the grant process we need at least 250 people to vote for us. I would really appreciate it if you could please show your support and vote. We only have 11 days left to qualify. To cast your vote, simply click the 'Vote Now' Facebook button on our Mission Main Street Grant profile page. Here is the link to our voting page. https://www.missionmainstreetgrants.com/business/detail/63345 From skip at magicgate.com Tue Oct 7 09:30:17 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 7 Oct 2014 09:30:17 -0400 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: I took a total left turn here in my solution and I wanted to share the results. My problem spawned from reports I was creating from Excel and a series of data that needed to be produced for different store locations at our company. However, each store needed a consolidated view as well. Last week, when I created these reports each store ended up receiving two separate PDF files due to this complication. I had been using Zryip's Excel Lib to populate these spreadsheets and then using his print to PDF feature to create these documents. After explaining my problem to him he wrote a function to help me out that hides Excel workbook sheets before the printing process. My template now has the overall statistics on sheet 1 and all other store locations in additional tabs. This allows me to produce a combined PDF file based upon which sheets I want to expose and customized for each location. Thank you Zyrip! SKIP KIMPEL On Wed, Oct 1, 2014 at 10:50 PM, Bruce Pokras wrote: > Distribute PDFTK??? My instructions for Patent Grabber simply tell Windows > users where they can download it themselves. Much less complicated that way. > > Bruce Pokras > Blazing Dawn Software > www.blazingdawn.com > > On Sep 30, 2014, at 10:39 PM, Dr. Hawkins wrote: > > > On Tue, Sep 30, 2014 at 5:34 PM, Bruce Pokras > wrote: > > > >> PDFTK works fine under Windows using shell commands from Livecode. That > is > >> how my Patent Grabber app combines individual patent pages into a single > >> PDF. > > > > > > Ooohh! Someone who's done it on windows with a commercial program! > > > > How do you handle distributing/accessing pdftk itself? > > > > My thinking is to ship both binary & source, and stick that version of > tdk > > in with the program > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Tue Oct 7 11:46:15 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 07 Oct 2014 09:46:15 -0600 Subject: iOS apps - speed difference between LC 6.6.x and 6.7 Message-ID: <3A55F3C5-C7D7-4A1F-9C23-88BD5675BD0D@icloud.com> I apologize if someone has brought this up before. I don?t recall. I?m working on an update to an app and have switched over to using LC 6.7. Apart from having to change a line of code to get in-app purchases working correctly (new syntax), I?m noticing a speed difference. After building the app and running on a device (iPad Air), the app is just plain slower all around. The splash screen stays displayed longer, transitions (visual effects) are slower, etc. Not a lot slower, but enough that I notice it. I don?t see these issues when building the app with LC 6.6.4. Has anyone else noticed this? I?ll take a closer look at the release notes to see if something has changed, but I wanted to check here to see if anyone else has had the same experience. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From michael.mccreary at livecode.com Tue Oct 7 12:42:02 2014 From: michael.mccreary at livecode.com (Michael McCreary) Date: Tue, 07 Oct 2014 17:42:02 +0100 Subject: RELEASE: 6.6.4 RC2 Message-ID: <543417DA.1090005@livecode.com> Dear list members, We're please the announce the release of LiveCode 6.6.4 RC2. Release Contents LiveCode 6.6.4 RC2 primarily addresses bugs associated with iOS 8 Support: * Apps are letterboxed on 4 inch iPhones * Issues with simulator launching * Location services do not work * Copy files does not work with simulator * PDF printing does not work Getting the release You can get this release by selecting "check for updates" from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team -- *Michael McCreary . RunRev LiveCode - Unleash Your Killer App* mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : michael.mccreary at livecode.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.livecode.com From matthias_livecode_150811 at m-r-d.de Tue Oct 7 14:17:58 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 7 Oct 2014 20:17:58 +0200 Subject: starting an LC Android app takes up to 15 seconds Message-ID: Hi, i have created an Android App which takes about 10 to 15 seconds to start. The user sees a black screen in the meantime. Not the best user experience. The app is about 2.5mb in size and uses a Datagrid and SpreadLib (XLSX import Library). Tried it on a 10" tablet and also on 2 different Android Phones. What is causing this slow loading? 2.5MB app size should not be a problem with 4gb memory and 16gb flash memory, shouldn?t it? Is there anything i can do to speed up the start? Any ideas? Regards, Matthias From prothero at earthednet.org Tue Oct 7 14:50:55 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 7 Oct 2014 11:50:55 -0700 Subject: Trying to get the color at an xy location In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> Message-ID: Folks: I?m trying to the the color under an xy location on my stack. I did it once by sripting a move of the mouse to that location and using mouseColor to get the odor. I?ve forgotten how I did it and can?t get it to work. I?m on Mac OSX, 10.9.5 and livecode 7.0 rc2. Anybody remember the command for setting the mouseLoc in script? Tnx, Bill William A. Prothero http://es.earthednet.org/ From smudge.andy at googlemail.com Tue Oct 7 15:24:58 2014 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 7 Oct 2014 12:24:58 -0700 (PDT) Subject: starting an LC Android app takes up to 15 seconds In-Reply-To: References: Message-ID: <1412709898199-4684253.post@n4.nabble.com> Hi Matthias, I had the same issue on my first Android build. My first run gave me 8-12 seconds of black screen. Using the suggestions below brought this down to about 1.5 secs. I've learn't that it's very important on Android not to have too much going on in the PreOpenStack and OpenStack handlers. Especially do not load files, databases etc. It's ok to define your globals in the stack script. Jump directlyto a card (no visual effects) from the OpenStack handler so that the user has something to look at or read, then put what you would normally put in PreOpenStack and OpenStack for loading files and databases in the cards script. Hope this helps ----- 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 My Tech site http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/starting-an-LC-Android-app-takes-up-to-15-seconds-tp4684251p4684253.html Sent from the Revolution - User mailing list archive at Nabble.com. From paulhibbert at mac.com Tue Oct 7 15:31:54 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 07 Oct 2014 12:31:54 -0700 Subject: Trying to get the color at an xy location In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> Message-ID: <303238FF-1D31-40D1-A9CB-732CE416ACEC@mac.com> Bill, Some solutions were posted a while ago for this, I made a copy of one that uses the templateImage so I'm not taking any credit, but here's the script: on mouseUp put readPixelColor(pLoc) into fld "Colour" -- Where pLoc is a local coordinate e.g. "200,200" end mouseUp function readPixelColor pVal put globalLoc(pVal) into pVal put item 1 of pVal + 1 into item 3 of pVal put item 2 of pVal + 1 into item 4 of pVal export snapshot from rect pVal to templateImage get the imageData of templateImage reset templateImage return byteToNum(char 2 of it) & "," & byteToNum(char 3 of it) & "," & byteToNum(char 4 of it) end readPixelColor and another way posted by Jacque: on getPixelColor pPt put the screenmouseloc into tOldLoc put (item 1 of pPt) + (the left of this stack) into tloc put (item 2 of pPt) + (the top of this stack) into item 2 of tloc set the screenmouseloc to tloc put the mousecolor into tColor set the screenmouseloc to tOldLoc return tColor end getPixelColor It happens so fast the mouse never moves. Based on a suggestion by Dr Raney. HTH Paul On Oct 7, 2014, at 11:50 AM, William Prothero wrote: > Folks: > I?m trying to the the color under an xy location on my stack. I did it once by sripting a move of the mouse to that location and using mouseColor to get the odor. I?ve forgotten how I did it and can?t get it to work. > > I?m on Mac OSX, 10.9.5 and livecode 7.0 rc2. > > Anybody remember the command for setting the mouseLoc in script? > Tnx, > Bill > > William A. 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 smudge.andy at googlemail.com Tue Oct 7 15:33:22 2014 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 7 Oct 2014 12:33:22 -0700 (PDT) Subject: Trying to get the color at an xy location In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> Message-ID: <1412710402411-4684255.post@n4.nabble.com> Hi Bill, Is this what you re looking for? set the screenMouseLoc to horizontal,vertical ----- 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 My Tech site http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Prevent-Stack-Resizing-tp4684216p4684255.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Tue Oct 7 15:48:25 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 7 Oct 2014 12:48:25 -0700 Subject: Trying to get the color at an xy location In-Reply-To: <1412710402411-4684255.post@n4.nabble.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> Message-ID: <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> Andy That sounds like it. Thanks! Bill On Oct 7, 2014, at 12:33 PM, AndyP wrote: > Hi Bill, > > Is this what you re looking for? > > set the screenMouseLoc to horizontal,vertical > > > > ----- > 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 > > > My Tech site http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Prevent-Stack-Resizing-tp4684216p4684255.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Oct 7 15:59:08 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 7 Oct 2014 12:59:08 -0700 Subject: Convert rgb to lightness or darkness In-Reply-To: <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> Message-ID: <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> Folks: I?m putting text on an image that will be turned into a snapshot. The image goes from light to dark. The text is a one or two digit integer. I want it to show up on the image. For dark parts of the image, I set it to yellow, but for light parts of the image, I want to set it to black. Is there a simple formula for changing an rgb value into a darkness value that will let me choose between yellow or black text? I don?t want to just set the ink of the text because sometimes I write the text over itself, which diminishes the effect. Thanks, Bill William A. Prothero http://es.earthednet.org/ From t.heaford at btinternet.com Tue Oct 7 16:13:58 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 7 Oct 2014 21:13:58 +0100 Subject: DataGrid again In-Reply-To: References: Message-ID: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> I have double checked my geometry settings and all seems well. I have tried 6.6.4 rc2 and still the controls of the window do not not expand and contract correctly. Butons are set by position and data grids are set to expand with the right and bottom of the screen. Am I the only one experiencing this issue. I have even tried resizing the data grid in the resizeStack handler without success, see below: put the width of this stack into tSW put the left of group "tranTable" into tGL put tSW - tGL into tGW set the width of group "tranTable" to tGW set the left of group "tranTable" to tGL This work correctly when the data grid contains no data but incorrectly when the data grid contains data Here are the correct dims (data grid without data): Stack size 1080W x 700H Data grid 881W x 527H After zooming without data: Stack size 1680W x 1002H Data grid 1481W x 527H After zooming with data: Stack size 1085W x 703H (even though on the screen it appears as 1680W x 1002H, very peculiar) Data grid 886W x 527H Can anyone help? Thanks Terry On 07 Oct 2014, at 11:00, Terence Heaford wrote: > MacOS Mavericks LiveCode 6.7 (RC2) > > I have a 6 column data grid set to enlarge automatically via. it?s geometry settings. > > When zooming the window and the data grid does not contain any data it enlarges/contracts as it should. > > When the data grid contains data it does not enlarge correctly (barely resizes at all, just a few pixels) but when contracting the window the data grid zooms to a size that is larger than the window. > > I am not sure it is relevant but the data grid is populated via. the large data set method that calls GetDataForLine pLine, at pDataA > > Is there a problem using this method with geometry settings that I am not aware of? > > or > > any other suggestions would be appreciated? > > > 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 chipp at chipp.com Tue Oct 7 16:50:44 2014 From: chipp at chipp.com (Chipp Walters) Date: Tue, 7 Oct 2014 15:50:44 -0500 Subject: Anyone have any experience getting Google Spreadsheet API to work? Message-ID: I'm putting together a new app and I want to use Google Spreadsheets as a quick and dirty datastore. Any have experience (success) updating rows of data on Google Spreadsheets? Chipp Walters From matthias_livecode_150811 at m-r-d.de Tue Oct 7 17:42:08 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 7 Oct 2014 23:42:08 +0200 Subject: starting an LC Android app takes up to 15 seconds In-Reply-To: <1412709898199-4684253.post@n4.nabble.com> References: <1412709898199-4684253.post@n4.nabble.com> Message-ID: <4160F2AC-6C1B-43B6-BFEE-F0A0B8DC7BB4@m-r-d.de> Andy, thank you very much. That was very helpful. Matthias Am 07.10.2014 um 21:24 schrieb AndyP : > Hi Matthias, > > I had the same issue on my first Android build. > My first run gave me 8-12 seconds of black screen. Using the suggestions > below brought this down to about 1.5 secs. > > I've learn't that it's very important on Android not to have too much going > on in the PreOpenStack and OpenStack handlers. Especially do not load files, > databases etc. It's ok to define your globals in the stack script. > > Jump directlyto a card (no visual effects) from the OpenStack handler so > that the user has something to look at or read, then put what you would > normally put in PreOpenStack and OpenStack for loading files and databases > in the cards script. > > Hope this helps > > > > > > ----- > 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 > > > My Tech site http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/starting-an-LC-Android-app-takes-up-to-15-seconds-tp4684251p4684253.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Oct 7 20:26:44 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Oct 2014 20:26:44 -0400 Subject: DataGrid again In-Reply-To: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> References: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> Message-ID: iphone 5s seems ok, now. I'm waiting for feedback from my 6 users. On Tue, Oct 7, 2014 at 4:13 PM, Terence Heaford wrote: > I have double checked my geometry settings and all seems well. > > I have tried 6.6.4 rc2 > > and still the controls of the window do not not expand and contract > correctly. > > Butons are set by position and data grids are set to expand with the right > and bottom of the screen. > > Am I the only one experiencing this issue. > > I have even tried resizing the data grid in the resizeStack handler > without success, see below: > > put the width of this stack into tSW > put the left of group "tranTable" into tGL > put tSW - tGL into tGW > set the width of group "tranTable" to tGW > set the left of group "tranTable" to tGL > > This work correctly when the data grid contains no data but incorrectly > when the data grid contains data > > Here are the correct dims (data grid without data): > > Stack size 1080W x 700H > Data grid 881W x 527H > > After zooming without data: > > Stack size 1680W x 1002H > Data grid 1481W x 527H > > After zooming with data: > > Stack size 1085W x 703H (even though on the screen it appears as 1680W x > 1002H, very peculiar) > Data grid 886W x 527H > > Can anyone help? > > Thanks > > Terry > > On 07 Oct 2014, at 11:00, Terence Heaford > wrote: > > > MacOS Mavericks LiveCode 6.7 (RC2) > > > > I have a 6 column data grid set to enlarge automatically via. it?s > geometry settings. > > > > When zooming the window and the data grid does not contain any data it > enlarges/contracts as it should. > > > > When the data grid contains data it does not enlarge correctly (barely > resizes at all, just a few pixels) but when contracting the window the data > grid zooms to a size that is larger than the window. > > > > I am not sure it is relevant but the data grid is populated via. the > large data set method that calls GetDataForLine pLine, at pDataA > > > > Is there a problem using this method with geometry settings that I am > not aware of? > > > > or > > > > any other suggestions would be appreciated? > > > > > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 terryhass at tdheng.com Tue Oct 7 22:35:30 2014 From: terryhass at tdheng.com (TERRY HASS) Date: Tue, 7 Oct 2014 21:35:30 -0500 Subject: Using The iOS 8 Simulator Message-ID: Hi list, OSX 10.9.5 Xcode 6.0.1 Livecode 6.6.4 RC1 For the life of me, I haven't been able to simulate a stack (which works perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS 8. Even though I start the simulator with iOS 8 selected, the simulator comes up trying to work with iOS 7 and it's a no go from the start. I have been banging my head against my iMac but that doesn't help much either. ANY help, suggestion or guidance to get Livecode and Xcode to play nice together would be greatly appreciated. Thanks, Terry From cmsheffield at icloud.com Tue Oct 7 22:43:25 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 07 Oct 2014 20:43:25 -0600 Subject: Using The iOS 8 Simulator In-Reply-To: References: Message-ID: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Terry, Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to fix the simulator issues. It was announced earlier today. > On Oct 7, 2014, at 8:35 PM, TERRY HASS wrote: > > Hi list, > > OSX 10.9.5 > Xcode 6.0.1 > Livecode 6.6.4 RC1 > > For the life of me, I haven't been able to simulate a stack (which works perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS 8. Even though I start the simulator with iOS 8 selected, the simulator comes up trying to work with iOS 7 and it's a no go from the start. I have been banging my head against my iMac but that doesn't help much either. > > ANY help, suggestion or guidance to get Livecode and Xcode to play nice together would be greatly appreciated. > > 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 sims at ezpzapps.com Tue Oct 7 22:46:21 2014 From: sims at ezpzapps.com (Jim sims) Date: Wed, 8 Oct 2014 04:46:21 +0200 Subject: Using The iOS 8 Simulator In-Reply-To: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Message-ID: Doesn't fix it here. OS X 10.9.5, LC 6.6.4 RC2, xcode 6.0.1 selected Test Target in LC Device shows up in xcode In xcode > Window > Devices iPad & iPod Touch show up plus a list of Simulators display Tested Simulator from LC and get a crash "Unable to start simulator: 634.0.0, no toolset 573,175,1,reviPhoneSetSimulatorSDK On Wednesday, October 8, 2014, Chris Sheffield wrote: > Terry, > > Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to fix > the simulator issues. It was announced earlier today. > > > > > On Oct 7, 2014, at 8:35 PM, TERRY HASS > wrote: > > > > Hi list, > > > > OSX 10.9.5 > > Xcode 6.0.1 > > Livecode 6.6.4 RC1 > > > > For the life of me, I haven't been able to simulate a stack (which works > perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS 8. > Even though I start the simulator with iOS 8 selected, the simulator comes > up trying to work with iOS 7 and it's a no go from the start. I have been > banging my head against my iMac but that doesn't help much either. > > > > ANY help, suggestion or guidance to get Livecode and Xcode to play nice > together would be greatly appreciated. > > > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Tue Oct 7 22:53:21 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Oct 2014 22:53:21 -0400 Subject: Using The iOS 8 Simulator In-Reply-To: References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Message-ID: It's working ok for me. On Tue, Oct 7, 2014 at 10:46 PM, Jim sims wrote: > Doesn't fix it here. > > OS X 10.9.5, LC 6.6.4 RC2, xcode 6.0.1 > selected Test Target in LC > > Device shows up in xcode > In xcode > Window > Devices iPad & iPod Touch show up plus a list of > Simulators display > > Tested Simulator from LC and get a crash > > "Unable to start simulator: 634.0.0, no > toolset > 573,175,1,reviPhoneSetSimulatorSDK > > On Wednesday, October 8, 2014, Chris Sheffield > wrote: > > > Terry, > > > > Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to fix > > the simulator issues. It was announced earlier today. > > > > > > > > > On Oct 7, 2014, at 8:35 PM, TERRY HASS > > wrote: > > > > > > Hi list, > > > > > > OSX 10.9.5 > > > Xcode 6.0.1 > > > Livecode 6.6.4 RC1 > > > > > > For the life of me, I haven't been able to simulate a stack (which > works > > perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS 8. > > Even though I start the simulator with iOS 8 selected, the simulator > comes > > up trying to work with iOS 7 and it's a no go from the start. I have been > > banging my head against my iMac but that doesn't help much either. > > > > > > ANY help, suggestion or guidance to get Livecode and Xcode to play nice > > together would be greatly appreciated. > > > > > > 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 > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > _______________________________________________ > use-livecode mailing list > use-livecode 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 sims at ezpzapps.com Tue Oct 7 22:58:09 2014 From: sims at ezpzapps.com (Jim sims) Date: Wed, 8 Oct 2014 04:58:09 +0200 Subject: Using The iOS 8 Simulator In-Reply-To: References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Message-ID: Mike, are you using the same setup as I am (osx, Xcode, LC)? Any clues/suggestions? sims On Wednesday, October 8, 2014, Mike Kerner wrote: > It's working ok for me. > > On Tue, Oct 7, 2014 at 10:46 PM, Jim sims > wrote: > > > Doesn't fix it here. > > > > OS X 10.9.5, LC 6.6.4 RC2, xcode 6.0.1 > > selected Test Target in LC > > > > Device shows up in xcode > > In xcode > Window > Devices iPad & iPod Touch show up plus a list of > > Simulators display > > > > Tested Simulator from LC and get a crash > > > > "Unable to start simulator: 634.0.0, no > > toolset > > 573,175,1,reviPhoneSetSimulatorSDK > > > > On Wednesday, October 8, 2014, Chris Sheffield > > > wrote: > > > > > Terry, > > > > > > Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to > fix > > > the simulator issues. It was announced earlier today. > > > > > > > > > > > > > On Oct 7, 2014, at 8:35 PM, TERRY HASS > > > > wrote: > > > > > > > > Hi list, > > > > > > > > OSX 10.9.5 > > > > Xcode 6.0.1 > > > > Livecode 6.6.4 RC1 > > > > > > > > For the life of me, I haven't been able to simulate a stack (which > > works > > > perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS 8. > > > Even though I start the simulator with iOS 8 selected, the simulator > > comes > > > up trying to work with iOS 7 and it's a no go from the start. I have > been > > > banging my head against my iMac but that doesn't help much either. > > > > > > > > ANY help, suggestion or guidance to get Livecode and Xcode to play > nice > > > together would be greatly appreciated. > > > > > > > > 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 > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Sent from my iPodo - it makes weird spelling sometimes :-P From gerry.orkin at gmail.com Wed Oct 8 00:42:40 2014 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 8 Oct 2014 15:42:40 +1100 Subject: Using The iOS 8 Simulator In-Reply-To: References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Message-ID: Working fine here - I can target any combination of device and iOS version (well, except 7.x on the new devices). More problematic for me is that I can't find where on my (Yosemite GM 2) hard drive the simulator directories are. I thought I had it but then Apple moved them. g > On 8 Oct 2014, at 1:53 pm, Mike Kerner wrote: > > It's working ok for me. From paulhibbert at mac.com Wed Oct 8 00:44:32 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 07 Oct 2014 21:44:32 -0700 Subject: Using The iOS 8 Simulator In-Reply-To: References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Message-ID: <51FEF2DC-9319-43A5-A3A5-DBDA9AC186C2@mac.com> Jim, I am using the same setup as you, my iMac is a bit old though, it's a 2009 3.06 Ghz Intel Core 2 Duo. I found that launching the simulator first helps me a lot, I've now added it to the dock next to the ever changing LC dock icon. When I launch the simulator I wait for the home screen to show then check the Hardware > Device menu is correct before choosing "test" in LC then everything seems to work OK, if I just rely on hitting "test" in LC without launching the simulator first it usually just times out after several messages. I notice that even launching the simulator on it's own takes for ever so once it's running I'll leave it open in the background for more testing if I think I need it. If you want me to try any tests, just ask. Paul On Oct 7, 2014, at 7:58 PM, Jim sims wrote: > Mike, are you using the same setup as I am (osx, Xcode, LC)? > > Any clues/suggestions? > > sims > > On Wednesday, October 8, 2014, Mike Kerner > wrote: > >> It's working ok for me. >> >> On Tue, Oct 7, 2014 at 10:46 PM, Jim sims > > wrote: >> >>> Doesn't fix it here. >>> >>> OS X 10.9.5, LC 6.6.4 RC2, xcode 6.0.1 >>> selected Test Target in LC >>> >>> Device shows up in xcode >>> In xcode > Window > Devices iPad & iPod Touch show up plus a list of >>> Simulators display >>> >>> Tested Simulator from LC and get a crash >>> >>> "Unable to start simulator: 634.0.0, no >>> toolset >>> 573,175,1,reviPhoneSetSimulatorSDK >>> >>> On Wednesday, October 8, 2014, Chris Sheffield > > >>> wrote: >>> >>>> Terry, >>>> >>>> Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to >> fix >>>> the simulator issues. It was announced earlier today. >>>> >>>> >>>> >>>>> On Oct 7, 2014, at 8:35 PM, TERRY HASS > >>>> > wrote: >>>>> >>>>> Hi list, >>>>> >>>>> OSX 10.9.5 >>>>> Xcode 6.0.1 >>>>> Livecode 6.6.4 RC1 >>>>> >>>>> For the life of me, I haven't been able to simulate a stack (which >>> works >>>> perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS 8. >>>> Even though I start the simulator with iOS 8 selected, the simulator >>> comes >>>> up trying to work with iOS 7 and it's a no go from the start. I have >> been >>>> banging my head against my iMac but that doesn't help much either. >>>>> >>>>> ANY help, suggestion or guidance to get Livecode and Xcode to play >> nice >>>> together would be greatly appreciated. >>>>> >>>>> 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 >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > > -- > Sent from my iPodo - it makes weird spelling sometimes :-P > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Oct 8 01:22:57 2014 From: sims at ezpzapps.com (Jim sims) Date: Wed, 8 Oct 2014 07:22:57 +0200 Subject: Using The iOS 8 Simulator In-Reply-To: <51FEF2DC-9319-43A5-A3A5-DBDA9AC186C2@mac.com> References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> <51FEF2DC-9319-43A5-A3A5-DBDA9AC186C2@mac.com> Message-ID: Hi Paul Thanks for the reply. Unfortunately in my dock where the once was the Simulator there is only a big Question mark. So launching it from there is not possible. Maybe I need to reinstall Xcode ? sims On Wednesday, October 8, 2014, Paul Hibbert wrote: > Jim, > > I am using the same setup as you, my iMac is a bit old though, it's a 2009 > 3.06 Ghz Intel Core 2 Duo. I found that launching the simulator first helps > me a lot, I've now added it to the dock next to the ever changing LC dock > icon. > > When I launch the simulator I wait for the home screen to show then check > the Hardware > Device menu is correct before choosing "test" in LC then > everything seems to work OK, if I just rely on hitting "test" in LC without > launching the simulator first it usually just times out after several > messages. > > I notice that even launching the simulator on it's own takes for ever so > once it's running I'll leave it open in the background for more testing if > I think I need it. > > If you want me to try any tests, just ask. > > Paul > > > On Oct 7, 2014, at 7:58 PM, Jim sims > > wrote: > > > Mike, are you using the same setup as I am (osx, Xcode, LC)? > > > > Any clues/suggestions? > > > > sims > > > > On Wednesday, October 8, 2014, Mike Kerner > > > wrote: > > > >> It's working ok for me. > >> > >> On Tue, Oct 7, 2014 at 10:46 PM, Jim sims > >> > wrote: > >> > >>> Doesn't fix it here. > >>> > >>> OS X 10.9.5, LC 6.6.4 RC2, xcode 6.0.1 > >>> selected Test Target in LC > >>> > >>> Device shows up in xcode > >>> In xcode > Window > Devices iPad & iPod Touch show up plus a list of > >>> Simulators display > >>> > >>> Tested Simulator from LC and get a crash > >>> > >>> "Unable to start simulator: 634.0.0, no > >>> toolset > >>> 573,175,1,reviPhoneSetSimulatorSDK > >>> > >>> On Wednesday, October 8, 2014, Chris Sheffield > >> > > >>> wrote: > >>> > >>>> Terry, > >>>> > >>>> Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to > >> fix > >>>> the simulator issues. It was announced earlier today. > >>>> > >>>> > >>>> > >>>>> On Oct 7, 2014, at 8:35 PM, TERRY HASS > >> > >>>> > wrote: > >>>>> > >>>>> Hi list, > >>>>> > >>>>> OSX 10.9.5 > >>>>> Xcode 6.0.1 > >>>>> Livecode 6.6.4 RC1 > >>>>> > >>>>> For the life of me, I haven't been able to simulate a stack (which > >>> works > >>>> perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS > 8. > >>>> Even though I start the simulator with iOS 8 selected, the simulator > >>> comes > >>>> up trying to work with iOS 7 and it's a no go from the start. I have > >> been > >>>> banging my head against my iMac but that doesn't help much either. > >>>>> > >>>>> ANY help, suggestion or guidance to get Livecode and Xcode to play > >> nice > >>>> together would be greatly appreciated. > >>>>> > >>>>> 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 > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode 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 > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode 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 > >> > > > > > > -- > > Sent from my iPodo - it makes weird spelling sometimes :-P > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 sims at ezpzapps.com Wed Oct 8 01:52:39 2014 From: sims at ezpzapps.com (Jim sims) Date: Wed, 8 Oct 2014 07:52:39 +0200 Subject: Using The iOS 8 Simulator In-Reply-To: References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> <51FEF2DC-9319-43A5-A3A5-DBDA9AC186C2@mac.com> Message-ID: Ok, Simulator working. Found at: /Applications/Xcode.app/Contents/Applications Placed in Dock - opened - selected target in LC - Stumbled around a bit clicking various 'things' - Simulator now working Thank you Paul for the hints :-) sims On Wed, Oct 8, 2014 at 7:22 AM, Jim sims wrote: > Hi Paul > > Thanks for the reply. > > Unfortunately in my dock where the once was the Simulator there is only a > big Question mark. So launching it from there is not possible. > > Maybe I need to reinstall Xcode ? > > sims > > > On Wednesday, October 8, 2014, Paul Hibbert wrote: > >> Jim, >> >> I am using the same setup as you, my iMac is a bit old though, it's a >> 2009 3.06 Ghz Intel Core 2 Duo. I found that launching the simulator first >> helps me a lot, I've now added it to the dock next to the ever changing LC >> dock icon. >> >> When I launch the simulator I wait for the home screen to show then check >> the Hardware > Device menu is correct before choosing "test" in LC then >> everything seems to work OK, if I just rely on hitting "test" in LC without >> launching the simulator first it usually just times out after several >> messages. >> >> I notice that even launching the simulator on it's own takes for ever so >> once it's running I'll leave it open in the background for more testing if >> I think I need it. >> >> If you want me to try any tests, just ask. >> >> Paul >> >> >> On Oct 7, 2014, at 7:58 PM, Jim sims wrote: >> >> > Mike, are you using the same setup as I am (osx, Xcode, LC)? >> > >> > Any clues/suggestions? >> > >> > sims >> > >> > On Wednesday, October 8, 2014, Mike Kerner >> > wrote: >> > >> >> It's working ok for me. >> >> >> >> On Tue, Oct 7, 2014 at 10:46 PM, Jim sims > >> > wrote: >> >> >> >>> Doesn't fix it here. >> >>> >> >>> OS X 10.9.5, LC 6.6.4 RC2, xcode 6.0.1 >> >>> selected Test Target in LC >> >>> >> >>> Device shows up in xcode >> >>> In xcode > Window > Devices iPad & iPod Touch show up plus a list of >> >>> Simulators display >> >>> >> >>> Tested Simulator from LC and get a crash >> >>> >> >>> "Unable to start simulator: 634.0.0, no >> >>> toolset >> >>> 573,175,1,reviPhoneSetSimulatorSDK >> >>> >> >>> On Wednesday, October 8, 2014, Chris Sheffield < >> cmsheffield at icloud.com >> >> > >> >>> wrote: >> >>> >> >>>> Terry, >> >>>> >> >>>> Go download 6.6.4 RC 2 from downloads.livecode.com. It's supposed to >> >> fix >> >>>> the simulator issues. It was announced earlier today. >> >>>> >> >>>> >> >>>> >> >>>>> On Oct 7, 2014, at 8:35 PM, TERRY HASS > >> >> >>>> > wrote: >> >>>>> >> >>>>> Hi list, >> >>>>> >> >>>>> OSX 10.9.5 >> >>>>> Xcode 6.0.1 >> >>>>> Livecode 6.6.4 RC1 >> >>>>> >> >>>>> For the life of me, I haven't been able to simulate a stack (which >> >>> works >> >>>> perfectly in Xcode 5.1.1 and iOS 7 and below) in Xcode 6.0.1 and iOS >> 8. >> >>>> Even though I start the simulator with iOS 8 selected, the simulator >> >>> comes >> >>>> up trying to work with iOS 7 and it's a no go from the start. I have >> >> been >> >>>> banging my head against my iMac but that doesn't help much either. >> >>>>> >> >>>>> ANY help, suggestion or guidance to get Livecode and Xcode to play >> >> nice >> >>>> together would be greatly appreciated. >> >>>>> >> >>>>> 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 >> >>>> >> >>>> _______________________________________________ >> >>>> use-livecode mailing list >> >>>> use-livecode 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 >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode 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 >> >> >> > >> > >> > -- >> > Sent from my iPodo - it makes weird spelling sometimes :-P >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bernd.gottwald at outrange.com Wed Oct 8 01:52:51 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 8 Oct 2014 07:52:51 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_13?= Message-ID: <20141008055251.19296.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From stephenREVOLUTION2 at barncard.com Wed Oct 8 02:23:08 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 7 Oct 2014 23:23:08 -0700 Subject: use-livecode Digest, Vol 133, Issue 13 In-Reply-To: <20141008055251.19296.qmail@divico2.ch-meta.net> References: <20141008055251.19296.qmail@divico2.ch-meta.net> Message-ID: On Tue, Oct 7, 2014 at 10:52 PM, wrote: > I will be out of office until 12.10.2014. I won't read me emails. In > urgent matter please call me on my mobile. > I am counting the days until this mail loop ends. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From gerry.orkin at gmail.com Wed Oct 8 02:47:56 2014 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 8 Oct 2014 17:47:56 +1100 Subject: Using The iOS 8 Simulator In-Reply-To: References: <671CDCDA-B2D2-435B-A88C-3B416E3E216A@icloud.com> Message-ID: <37190D36-6418-4C69-9773-35CF31C0CCCF@gmail.com> http://pinkstone.co.uk/where-is-the-documents-directory-for-the-ios-8-simulator/ > On 8 Oct 2014, at 3:42 pm, Gerry wrote: > > More problematic for me is that I can't find where on my (Yosemite GM 2) hard drive the simulator directories are. I thought I had it but then Apple moved them. From toolbook at kestner.de Wed Oct 8 04:21:37 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 8 Oct 2014 10:21:37 +0200 Subject: AW: Convert rgb to lightness or darkness In-Reply-To: <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> Message-ID: <002101cfe2d0$e1c25cc0$a5471640$@de> Just a guess, didn't tried it. If you add the three RGB values of the mousecolor, white (light) would be 765 and black (dark) 0. Somewhere around 382 you can switch from black to yellow text. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von William Prothero > Gesendet: Dienstag, 7. Oktober 2014 21:59 > An: Use-livecode Use-livecode > Betreff: Convert rgb to lightness or darkness > > Folks: > I?m putting text on an image that will be turned into a snapshot. The image > goes from light to dark. The text is a one or two digit integer. I want it to > show up on the image. For dark parts of the image, I set it to yellow, but for > light parts of the image, I want to set it to black. Is there a simple formula > for changing an rgb value into a darkness value that will let me choose > between yellow or black text? I don?t want to just set the ink of the text > because sometimes I write the text over itself, which diminishes the effect. > > Thanks, > Bill > > William A. 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 dave at applicationinsight.com Wed Oct 8 05:12:23 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 8 Oct 2014 02:12:23 -0700 (PDT) Subject: RELEASE: LiveCode 6.6.4 RC1 In-Reply-To: <1412667111619-4684240.post@n4.nabble.com> References: <1412263522587-4684085.post@n4.nabble.com> <000901cfde5e$790fbb80$6b2f3280$@net> <542D8F07.1040901@gmail.com> <1412303161544-4684115.post@n4.nabble.com> <8591A25F-00A7-411C-9019-81BBAC14A02B@icloud.com> <1412667111619-4684240.post@n4.nabble.com> Message-ID: <1412759543137-4684275.post@n4.nabble.com> Just a quick note to say that LC 6.6.4 (RC2) has fixed the problem and the iOS simulator is back working again for me ----- "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-6-6-4-RC1-tp4684084p4684275.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Wed Oct 8 10:44:58 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 8 Oct 2014 15:44:58 +0100 Subject: DataGrid again In-Reply-To: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> References: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> Message-ID: There is clearly something wrong with the data returned from resizeStack. For a height that should return 700 I have had returned 700 & 722. Clearly the 22 is something to do with the way LiveCode handles Mac Menus. For a height that should return 1024 I have had returned 1024 & 1002. Clearly the 22 is something to do with the way LiveCode handles Mac Menus. For widths of 1080 & 1680 I always get 1080 & 1680. There is without doubt issues with the way livecode handles Mac Menus. Again along with the geometry issues noted in an earlier post this is making Livecode unusable as I cannot get consistent results. It not only applies to 6.7 but also 6.6.4. I have been evaluating both LiveCode and Xojo for a few months now and although I prefer scripting languages rather than basic I can say at least Xojo works in this area. I have thought about reporting a bug but this is so fundamental I don?t see why I should. If I had purchased LiveCode I would now be thinking ?what a waste of money?, fortunately I am using the community edition so am only wasting my time in researching and posting this. Hopefully, someone at LiveCode will read this and just sort it out without the need for a bug report. Getting disillusioned again. All the best Terry On 07 Oct 2014, at 21:13, Terence Heaford wrote: > I have double checked my geometry settings and all seems well. > > I have tried 6.6.4 rc2 > > and still the controls of the window do not not expand and contract correctly. > > Butons are set by position and data grids are set to expand with the right and bottom of the screen. > > Am I the only one experiencing this issue. > > I have even tried resizing the data grid in the resizeStack handler without success, see below: > > put the width of this stack into tSW > put the left of group "tranTable" into tGL > put tSW - tGL into tGW > set the width of group "tranTable" to tGW > set the left of group "tranTable" to tGL > > This work correctly when the data grid contains no data but incorrectly when the data grid contains data > > Here are the correct dims (data grid without data): > > Stack size 1080W x 700H > Data grid 881W x 527H > > After zooming without data: > > Stack size 1680W x 1002H > Data grid 1481W x 527H > > After zooming with data: > > Stack size 1085W x 703H (even though on the screen it appears as 1680W x 1002H, very peculiar) > Data grid 886W x 527H > > Can anyone help? > > Thanks > > Terry > > On 07 Oct 2014, at 11:00, Terence Heaford wrote: > >> MacOS Mavericks LiveCode 6.7 (RC2) >> >> I have a 6 column data grid set to enlarge automatically via. it?s geometry settings. >> >> When zooming the window and the data grid does not contain any data it enlarges/contracts as it should. >> >> When the data grid contains data it does not enlarge correctly (barely resizes at all, just a few pixels) but when contracting the window the data grid zooms to a size that is larger than the window. >> >> I am not sure it is relevant but the data grid is populated via. the large data set method that calls GetDataForLine pLine, at pDataA >> >> Is there a problem using this method with geometry settings that I am not aware of? >> >> or >> >> any other suggestions would be appreciated? >> >> >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 8 10:58:57 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Oct 2014 14:58:57 +0000 Subject: Prevent Stack Resizing In-Reply-To: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> Message-ID: <4A5B2C32-972D-4FBC-9337-95830CDED262@iotecdigital.com> I was having a problem where I would reposition all the controls on a page (after showing hidden of course!) and each time I closed the stack and reopened it, it was a different size!!! Also my controls seemed to all have a mind of their own. After poking around a bit I discovered that I had select group controls disabled and was moving the objects inside the groups with the arrow keys, but NOT the groups themselves! This had the effect of moving some objects outside the boundaries of the groups to where they were not visible, and the stack would resize on open to accommodate those *hidden* objects. To fix this, I disabled lockLoc for each group, then clicked Edit Group, then once again, which has the effect of setting the group boundaries to encompass all the objects it contains. (I probably could have used the Fit Content buttons in the Size and Position tab of the group?s properties as well.) Now my stack sizes correctly. Bob S On Oct 6, 2014, at 12:32 , JB wrote: > In the property inspector you can deselect the > LiveResizing option to prevent the user from > being able to drag and resize a stack. > > But this does not stop the stack from being resized > if a mac user clicks on the last button in the top left > corner of the window. And the resizeStack message > is sent after the stack has been resized so you can?t > use it to prevent a stack from being resized. > > Is it possible to prevent a stack from being resized it > a mac user clicks on the last button in the top left of > the stack window? > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 8 11:03:42 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Oct 2014 15:03:42 +0000 Subject: the "price" of a context switch/function call In-Reply-To: References: Message-ID: <6B2DF2C9-359B-4222-B429-2294C5BED3F4@iotecdigital.com> I get caught up in such thoughts from time to time, and then wake up to realize that the slow method is having absolutely no noticeable effect on the speed of my app, and won?t in the foreseeable future because the app is not of such a nature that it will scale to the point that it would. Then I kick myself in the hiney and get on with making my app actually work properly. Bob S On Oct 4, 2014, at 10:54 , Dr. Hawkins wrote: > I'm eternally conflicted between the needed frugality of my eight bit > childhood and the desire for clean code . . . > > And I never forget the model I wrote in smalltalk with nice "proper" > OO message passing (the messages I was modeling, in fact), and then > rewrote line for line in Fortran without optimizing--a 45,000 to one > speedup. > > Anyway, today's conflicted question is on function calls, and how much it > "costs" to make a function call in livecode. > > If I'm going to call a routine, say, 100 times in a fraction of a second, > do I really save much by inlining it rather than calling it as a function? > > -- > 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 toolbook at kestner.de Wed Oct 8 11:25:36 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 8 Oct 2014 17:25:36 +0200 Subject: How is the LC textsize converted into RTF? Message-ID: <005401cfe30c$1c797bb0$556c7310$@de> Hello, I am struggling to keep the wanted textSize from a LiveCode text in a RTF file. I have a LiveCode 6.5.2 field where I have set word 1 to textsize 12 and word 2 to textsize 14 When looking into the RTF code it shows "fs18" and "fs21" When writing the RTFtext to a file and opening it in Word (on Windows) it shows me the textSize 9 and 10,5 How do I get the wanted (same) textsize from a LiveCode field into a RTF document? Is there a secret transformation table of textSizes or is it just fiddling around to get the wanted result? Thanks for any hints Tiemo From rdimola at evergreeninfo.net Wed Oct 8 11:27:57 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Oct 2014 11:27:57 -0400 Subject: the "price" of a context switch/function call In-Reply-To: <6B2DF2C9-359B-4222-B429-2294C5BED3F4@iotecdigital.com> References: <6B2DF2C9-359B-4222-B429-2294C5BED3F4@iotecdigital.com> Message-ID: <009101cfe30c$70932d40$51b987c0$@net> Mark talked about the cost of context switching at RR14. The default "by value" parameters in a call will be "by reference" until data has changed. Only then will a local copy be created. So... If you pass a large array only the keys that have been changed(if any) are allocated new memory and copied. Don't remember the initial version for this new context switching implementation. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net On Oct 4, 2014, at 10:54 , Dr. Hawkins wrote: > I'm eternally conflicted between the needed frugality of my eight bit > childhood and the desire for clean code . . . > > And I never forget the model I wrote in smalltalk with nice "proper" > OO message passing (the messages I was modeling, in fact), and then > rewrote line for line in Fortran without optimizing--a 45,000 to one > speedup. > > Anyway, today's conflicted question is on function calls, and how much > it "costs" to make a function call in livecode. > > If I'm going to call a routine, say, 100 times in a fraction of a > second, do I really save much by inlining it rather than calling it as a function? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Wed Oct 8 12:30:15 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 8 Oct 2014 10:30:15 -0600 Subject: quotes question Message-ID: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> Hello All, I've been given some good advice from a couple of people on this list about being sure to put quotes around object names. So I'm going back through my code and doing that. Question: If I'm using a variable as part of a field name, should it have quotes around it? In other words, which of the two examples below is the right way to do it? create field set the name of the last field to (myfield & x) OR create field set the name of the last field to ("myfield" & x) ?? Thanks Larry From coiin at verizon.net Wed Oct 8 12:41:25 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 08 Oct 2014 12:41:25 -0400 Subject: quotes question In-Reply-To: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> References: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> Message-ID: <57A224A9-ED0F-4A7D-9974-DA5EC1A9416D@verizon.net> If you mean that ?myfield? is the name that you want to call the field, then this would be more proper, though either should work: set the name of the last field to ("myfield" & x) If myfield contains some other text, like ?real field name?, this will work: set the name of the last field to (myfield & x) but this will fail: set the name of the last field to (?myfield" & x) My guess is that you mean that ?x? is the only variable, and myfield is the actual name that you want. One other thing, if you want to name fields as ?myfield 1?, ?myfield 2?, etc, you can use double ampersands to get the space character: set the name of the last field to (?myfield" && x) From richmondmathewson at gmail.com Wed Oct 8 13:19:27 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 Oct 2014 20:19:27 +0300 Subject: For yer eddification Message-ID: <5435721F.7090801@gmail.com> Dad: http://digital.nls.uk/oor-wullie/ Best, John. From coiin at verizon.net Wed Oct 8 13:28:02 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 08 Oct 2014 13:28:02 -0400 Subject: For yer eddification In-Reply-To: <5435721F.7090801@gmail.com> References: <5435721F.7090801@gmail.com> Message-ID: <992B574D-66A2-441F-8D2F-F4AC57BE9413@verizon.net> I was on Unst for 18 months. That?s the top island of the Shetlands, that he is pointing to. They don?t quite speak the same Scottish there. BTW, clicking the big graphics on that page doesn?t work, you have to click the text links to get to the next page. At least in Safari. On Oct 8, 2014, at 1:19 PM, Richmond wrote: > Dad: > > http://digital.nls.uk/oor-wullie/ > > Best, John. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 8 13:29:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 Oct 2014 20:29:45 +0300 Subject: For yer eddification In-Reply-To: <992B574D-66A2-441F-8D2F-F4AC57BE9413@verizon.net> References: <5435721F.7090801@gmail.com> <992B574D-66A2-441F-8D2F-F4AC57BE9413@verizon.net> Message-ID: <54357489.109@gmail.com> On 08/10/14 20:28, Colin Holgate wrote: > I was on Unst for 18 months. That?s the top island of the Shetlands, that he is pointing to. They don?t quite speak the same Scottish there. > > BTW, clicking the big graphics on that page doesn?t work, you have to click the text links to get to the next page. At least in Safari. > > > On Oct 8, 2014, at 1:19 PM, Richmond wrote: > >> Dad: >> >> http://digital.nls.uk/oor-wullie/ >> >> Best, John. >> >> What is the result of posting a message to my father to the LiveCode Use-List? Colin Holgate becomes my Dad! Wow!!! Richmond. From richmondmathewson at gmail.com Wed Oct 8 13:47:50 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 Oct 2014 20:47:50 +0300 Subject: For yer eddification In-Reply-To: <992B574D-66A2-441F-8D2F-F4AC57BE9413@verizon.net> References: <5435721F.7090801@gmail.com> <992B574D-66A2-441F-8D2F-F4AC57BE9413@verizon.net> Message-ID: <543578C6.5070303@gmail.com> On 08/10/14 20:28, Colin Holgate wrote: > I was on Unst for 18 months. That?s the top island of the Shetlands, that he is pointing to. They don?t quite speak the same Scottish there. On Unst they don't speak Scots at all: they speak Scots Gaelic which is akin to Irish Gaelic and is as different from Scots as Bulgarian is to English. Abune 10 towmonds syne I wis i Harris wi ma hen and bairns fae a week, and qhan some fisherfowk stairtit clackin i that lied I wis fair forjeskit as I didnae ken a vocable at all. Richmond. Possibly a feature request case might be made for a version of LiveCode that functions in Doric Scots. From sundown at pacifier.com Wed Oct 8 13:47:27 2014 From: sundown at pacifier.com (JB) Date: Wed, 8 Oct 2014 10:47:27 -0700 Subject: Prevent Stack Resizing In-Reply-To: <4A5B2C32-972D-4FBC-9337-95830CDED262@iotecdigital.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <4A5B2C32-972D-4FBC-9337-95830CDED262@iotecdigital.com> Message-ID: <45CA0EE5-8419-49FA-A62C-7AD5A3BEA1FE@pacifier.com> Thank you, Bob. John Balgenorth On Oct 8, 2014, at 7:58 AM, Bob Sneidar wrote: > I was having a problem where I would reposition all the controls on a page (after showing hidden of course!) and each time I closed the stack and reopened it, it was a different size!!! Also my controls seemed to all have a mind of their own. > > After poking around a bit I discovered that I had select group controls disabled and was moving the objects inside the groups with the arrow keys, but NOT the groups themselves! This had the effect of moving some objects outside the boundaries of the groups to where they were not visible, and the stack would resize on open to accommodate those *hidden* objects. > > To fix this, I disabled lockLoc for each group, then clicked Edit Group, then once again, which has the effect of setting the group boundaries to encompass all the objects it contains. (I probably could have used the Fit Content buttons in the Size and Position tab of the group?s properties as well.) > > Now my stack sizes correctly. > > Bob S > > > On Oct 6, 2014, at 12:32 , JB wrote: > >> In the property inspector you can deselect the >> LiveResizing option to prevent the user from >> being able to drag and resize a stack. >> >> But this does not stop the stack from being resized >> if a mac user clicks on the last button in the top left >> corner of the window. And the resizeStack message >> is sent after the stack has been resized so you can?t >> use it to prevent a stack from being resized. >> >> Is it possible to prevent a stack from being resized it >> a mac user clicks on the last button in the top left of >> the stack window? >> >> John Balgenorth >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 8 14:48:24 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 8 Oct 2014 19:48:24 +0100 Subject: DataGrid again In-Reply-To: References: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> Message-ID: Even more woes using this simple script: on resizeStack newWidth,newHeight,oldWidth,oldHeight put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight end resizeStack Zoom window (enlarge): newWidth = 1680,newHeight = 1024,oldWidth = 1541,oldHeight = 954 Zoom window (contract): newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 Zoom window again (enlarge): newWidth = 1680,newHeight = 1024,oldWidth = 1672,oldHeight = 1021 Zoom window again (contract): newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 Switch to another card, zoom window then switch back to original card Zoom window (enlarge) newWidth = 1680,newHeight = 1002,oldWidth = ,oldHeight = (where have the sizes gone)? Now on the original card Zoom window again (contract): newWidth = 1080,newHeight = 722,oldWidth = 1123,oldHeight = 744 The sizes are all over the place, can someone please explain why? All the best Terry From jacque at hyperactivesw.com Wed Oct 8 15:19:14 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Oct 2014 14:19:14 -0500 Subject: DataGrid again In-Reply-To: References: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> Message-ID: <54358E32.4000200@hyperactivesw.com> On 10/8/2014, 9:44 AM, Terence Heaford wrote: > There is without doubt issues with the way livecode handles Mac > Menus. > > Again along with the geometry issues noted in an earlier post this is > making Livecode unusable as I cannot get consistent results. > > It not only applies to 6.7 but also 6.6.4. > > I have been evaluating both LiveCode and Xojo for a few months now > and although I prefer scripting languages rather than basic I can say > at least Xojo works in this area. > > I have thought about reporting a bug but this is so fundamental I > don?t see why I should. If I had purchased LiveCode I would now be > thinking ?what a waste of money?, fortunately I am using the > community edition so am only wasting my time in researching and > posting this. You're right it has to do with menus, but it isn't a bug, it's how menus work. When they become available soon, you may want to view my RevLive talk on menus which goes into some detail about the behavior. There is also a summary in my tutorial here: In short, a menu group on a Mac is scrolled up out of view. The size of the card remains the same but the size of the window does not. When editMenus are false (menus are scrolled out of view, the default that Menu Builder sets) try this: on resizeStack x,y put y && the height of this stack end resizeStack You will get two different numbers, and if you are using the default menubar size, the difference is 22 pixels. This behavior has been in all versions of LC since 1.0, and in MetaCard before that. Now set the editmenus of the stack to true -- which removes the menu from the system menu and puts the group back into the stack where you can see it. The stack window changes to accomodate it. Run the above handler again and the two numbers will be identical. On Windows machines, the two numbers are always identical because Windows always shows the menu inside the stack. For cross-platform work, use the number passed in the parameter in the resizeStack handler. It represents the true size of the card and geometry rearrangements will work consistently. Next time just ask before you get frustrated. That's why we're here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Oct 8 16:08:22 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 Oct 2014 13:08:22 -0700 Subject: DataGrid again In-Reply-To: References: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> Message-ID: Do you have liveResizing on? If so, the resizeStack message is sent continuously as the stack is being resized and the "old" parms are the same as the "new" parms from the previous resizeStack message. Each of your put statements to the message box overwrites the previous one so what you see there is the final one after the user has finished the resize. I can't explain the empty "old" parms in one of your examples. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Oct 8, 2014 at 11:48 AM, Terence Heaford wrote: > Even more woes using this simple script: > > on resizeStack newWidth,newHeight,oldWidth,oldHeight > > put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & > "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight > > end resizeStack > > Zoom window (enlarge): > > newWidth = 1680,newHeight = 1024,oldWidth = 1541,oldHeight = 954 > > Zoom window (contract): > > newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 > > Zoom window again (enlarge): > > newWidth = 1680,newHeight = 1024,oldWidth = 1672,oldHeight = 1021 > > Zoom window again (contract): > > newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 > > > Switch to another card, zoom window then switch back to original card > Zoom window (enlarge) > > newWidth = 1680,newHeight = 1002,oldWidth = ,oldHeight = (where have > the sizes gone)? > > > Now on the original card > Zoom window again (contract): > > newWidth = 1080,newHeight = 722,oldWidth = 1123,oldHeight = 744 > > > > The sizes are all over the place, can someone please explain why? > > > 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 t.heaford at btinternet.com Wed Oct 8 16:25:07 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 8 Oct 2014 21:25:07 +0100 Subject: DataGrid again In-Reply-To: References: <378FB39B-2D71-480F-9AC9-35B7299BEB06@btinternet.com> Message-ID: I have managed to get the data grid to resize using this script from an earlier post I made on a similar subject. This resizes the data grid on the last message , deleting the earlier ones (see script below). I wonder if the reason it was not working is because the redrawing of the data grid could not keep up with the resizeStack messages? Does this sound plausible as there are a lot of items in the build-up of a data grid? (RunRev, can we have a native data grid please). The data grid in question is 8 columns (2 hidden) and 20 rows plus the header row. As the data is supplied by the GetDataForLine pLine, at pDataA, I presume the data grid asks for the data all over again as the number of rows may have increased or decreased. This would again add more overhead in redrawing. Does this also sound plausible? (RunRev, can we have a native data grid please). --------------------- on resizeStack tWidth,tHeight repeat for each line aLIne in the pendingMessages if aLine contains "doResizeStack" then cancel item 1 of aLine end repeat send doResizeStack to me in 1 milliseconds end resizeStack --------------------- on doResizeStack put the width of stack "THFinancials" into tSW put the left of group "tranTable" into tGL put tSW - tGL into tGW set the width of group "tranTable" to tGW set the left of group "tranTable" to tGL end doResizeStack ?????????? All the best Terry On 08 Oct 2014, at 21:08, Peter Haworth wrote: > Do you have liveResizing on? If so, the resizeStack message is sent > continuously as the stack is being resized and the "old" parms are the same > as the "new" parms from the previous resizeStack message. > > Each of your put statements to the message box overwrites the previous one > so what you see there is the final one after the user has finished the > resize. > > I can't explain the empty "old" parms in one of your examples. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Oct 8, 2014 at 11:48 AM, Terence Heaford > wrote: > >> Even more woes using this simple script: >> >> on resizeStack newWidth,newHeight,oldWidth,oldHeight >> >> put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & >> "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight >> >> end resizeStack >> >> Zoom window (enlarge): >> >> newWidth = 1680,newHeight = 1024,oldWidth = 1541,oldHeight = 954 >> >> Zoom window (contract): >> >> newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 >> >> Zoom window again (enlarge): >> >> newWidth = 1680,newHeight = 1024,oldWidth = 1672,oldHeight = 1021 >> >> Zoom window again (contract): >> >> newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 >> >> >> Switch to another card, zoom window then switch back to original card >> Zoom window (enlarge) >> >> newWidth = 1680,newHeight = 1002,oldWidth = ,oldHeight = (where have >> the sizes gone)? >> >> >> Now on the original card >> Zoom window again (contract): >> >> newWidth = 1080,newHeight = 722,oldWidth = 1123,oldHeight = 744 >> >> >> >> The sizes are all over the place, can someone please explain why? >> >> >> All the best >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Oct 8 16:38:51 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Oct 2014 20:38:51 +0000 Subject: quotes question In-Reply-To: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> References: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> Message-ID: <61746F19-9576-41E1-9C73-ED612D5F29F8@iotecdigital.com> The first one is correct. Quote object names and values, do not quote variables. You can get away without quoting object names, but the code is more readable, and avoids (remotely) possible variable/object conflicts. Bob S On Oct 8, 2014, at 09:30 , larry at significantplanet.org wrote: Question: If I'm using a variable as part of a field name, should it have quotes around it? In other words, which of the two examples below is the right way to do it? From sundown at pacifier.com Wed Oct 8 21:05:29 2014 From: sundown at pacifier.com (JB) Date: Wed, 8 Oct 2014 18:05:29 -0700 Subject: Reading Files Message-ID: <73E6C947-77A2-49AC-B241-E46CADC1D716@pacifier.com> Is it possible to read a whole drive as a single file? John Balgenorth From john at onechip.com Wed Oct 8 21:39:40 2014 From: john at onechip.com (John) Date: Wed, 8 Oct 2014 18:39:40 -0700 Subject: Accessing properties in sub stack fields Message-ID: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> Hi, I was hoping that someone could explain what is going on. I have a main stack with multiple sub stacks all of which use the main stack?s menu bar. In the menubar group I have a mouseDown handler to update the menus before they are shown. The sub stacks have fields which may, or may not, have a property ?noType? with a value of ?true?. In the mouseDown handler in the menuBar group, the following does not work: put the noType of the focusedObject && the focusedObject into msg I can see that the focusedObject is correct even though the value of the property is not shown. If I place this into the mouseDown handler I get the expected result: put line 1 of the openStacks into theTopStack put the selectedField into theSelectedField put word 2 of theSelectedField into theSelectedFieldNumber put the noType of field theSelectedFieldNumber of stack theTopStack into msg Why does the first one line scrip not work and the longer four line script work? Thanks in advance, John From lan.kc.macmail at gmail.com Wed Oct 8 22:07:13 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Oct 2014 10:07:13 +0800 Subject: How is the LC textsize converted into RTF? In-Reply-To: <005401cfe30c$1c797bb0$556c7310$@de> References: <005401cfe30c$1c797bb0$556c7310$@de> Message-ID: On Wed, Oct 8, 2014 at 11:25 PM, Tiemo Hollmann TB wrote: > Hello, > > I am struggling to keep the wanted textSize from a LiveCode text in a RTF > file. > >From another thread about RTF, this Important Note in the Dictionary under 'RTFText' may help: Important! Because the RTF standard does not include the box, threeDbox, and link styles supported by LiveCode, the RTFText property does not necessarily include all information necessary to reproduce the style information in a chunk. To export and re-import field information without losing any style information, use the htmlTextproperty instead. Looking at the HTMLText it looks like it would be very easy to maintain/manipulate the text size of various words in a field. HTH From lan.kc.macmail at gmail.com Wed Oct 8 22:13:49 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Oct 2014 10:13:49 +0800 Subject: quotes question In-Reply-To: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> References: <5D87A44AB7C2466DA8AF3181D9ECE8E1@userd204a4d61c> Message-ID: On Thu, Oct 9, 2014 at 12:30 AM, wrote: > > create field > set the name of the last field to ("myfield" & x) > Looks like you're starting to think like a LiveCoder :-) From lan.kc.macmail at gmail.com Wed Oct 8 22:24:07 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Oct 2014 10:24:07 +0800 Subject: Reading Files In-Reply-To: <73E6C947-77A2-49AC-B241-E46CADC1D716@pacifier.com> References: <73E6C947-77A2-49AC-B241-E46CADC1D716@pacifier.com> Message-ID: Technically I'd think yes, practically I'd think there are any factors that would cause it to fail, obviously the size of the data being the most obvious. Reading from one external HD and writing the file to another external HD would be your best bet. I assume your talking about some LC custom solution that will allow you to read the file back to it's many individual parts. Obviously there are plenty of backup/archival software out there that will back up an entire HD to a single disk image file on another HD. On Thu, Oct 9, 2014 at 9:05 AM, JB wrote: > Is it possible to read a whole drive > as a single file? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 8 22:40:01 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Oct 2014 10:40:01 +0800 Subject: Accessing properties in sub stack fields In-Reply-To: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> References: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> Message-ID: Try: put the noType of (the name of the focusedObject) && the focusedObject into msg The reference returned by fucusedObject is not in the format that is used for the syntax of a custom property. You need to shorten it by referring to just 'the name'. HTH On Thu, Oct 9, 2014 at 9:39 AM, John wrote: > Hi, > > I was hoping that someone could explain what is going on. I have a > main stack with multiple sub stacks all of which use the main stack?s menu > bar. In the menubar group I have a mouseDown handler to update the menus > before they are shown. The sub stacks have fields which may, or may not, > have a property ?noType? with a value of ?true?. > > In the mouseDown handler in the menuBar group, the following does not > work: > > put the noType of the focusedObject && the focusedObject into msg > > I can see that the focusedObject is correct even though the value of the > property is not shown. If I place this into the mouseDown handler I get > the expected result: > > put line 1 of the openStacks into theTopStack > put the selectedField into theSelectedField > put word 2 of theSelectedField into theSelectedFieldNumber > put the noType of field theSelectedFieldNumber of stack theTopStack into > msg > > > Why does the first one line scrip not work and the longer four line > script work? > > Thanks in advance, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed Oct 8 22:53:07 2014 From: sundown at pacifier.com (JB) Date: Wed, 8 Oct 2014 19:53:07 -0700 Subject: Reading Files In-Reply-To: References: <73E6C947-77A2-49AC-B241-E46CADC1D716@pacifier.com> Message-ID: <303248D2-C727-4578-99EE-8729213894BB@pacifier.com> Hi Kay, Thanks for the reply. What I want to do is read a external drive as binary code and not binary data. I am not concerned about paths it is the binary code I want to read. The size is not an issue. If the drive I am reading it to does not have the space then I won?t allow it to read the drive as a file. A example would be a 250 MB flash drive with 500 files on it. I want to read the whole 250 MB instead of opening each file and reading each file. I used to do this in hyperCard. I would think it can be done with GCD but I was wondering if I can read the drive without writing a external. John Balgenorth On Oct 8, 2014, at 7:24 PM, Kay C Lan wrote: > Technically I'd think yes, practically I'd think there are any factors that > would cause it to fail, obviously the size of the data being the most > obvious. Reading from one external HD and writing the file to another > external HD would be your best bet. > > I assume your talking about some LC custom solution that will allow you to > read the file back to it's many individual parts. Obviously there are > plenty of backup/archival software out there that will back up an entire HD > to a single disk image file on another HD. > > On Thu, Oct 9, 2014 at 9:05 AM, JB wrote: > >> Is it possible to read a whole drive >> as a single file? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 8 23:12:35 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Oct 2014 20:12:35 -0700 Subject: Reading Files Message-ID: JB wrote: > What I want to do is read a external drive as binary code > and not binary data. I am not concerned about paths it > is the binary code I want to read. The size is not an issue. > If the drive I am reading it to does not have the space then > I won?t allow it to read the drive as a file. A example > would be a 250 MB flash drive with 500 files on it. I want > to read the whole 250 MB instead of opening each file and > reading each file. I used to do this in hyperCard. What did that HyperTalk look like? -- Richard Gaskin Fourth World Systems 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 sundown at pacifier.com Wed Oct 8 23:13:07 2014 From: sundown at pacifier.com (JB) Date: Wed, 8 Oct 2014 20:13:07 -0700 Subject: Reading Files In-Reply-To: References: Message-ID: The Hyper Talk was pretty simple. I had a few different file I/O externals that would allow me to sector read the disk. I don?t think they will import or I could use them. They really do not need an external window so if you know how I can import them that would be really great. John Balgenorth On Oct 8, 2014, at 8:12 PM, Richard Gaskin wrote: > JB wrote: > >> What I want to do is read a external drive as binary code >> and not binary data. I am not concerned about paths it >> is the binary code I want to read. The size is not an issue. >> If the drive I am reading it to does not have the space then >> I won?t allow it to read the drive as a file. A example >> would be a 250 MB flash drive with 500 files on it. I want >> to read the whole 250 MB instead of opening each file and >> reading each file. I used to do this in hyperCard. > > What did that HyperTalk look like? > > -- > Richard Gaskin > Fourth World Systems > 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 gbojsza at gmail.com Thu Oct 9 00:12:44 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 9 Oct 2014 00:12:44 -0400 Subject: Regex wildcard in XML Query Message-ID: Hello, I am looking for any XML help that make the below query into a wild card query. 878 IGD.NetDevice.1.NetCommonInterfaceConfig. The number 1 in the line is where I would like to do a wildcard. IGD.NetDevice.1.NetCommonInterfaceConfig. I have tried the changing the xsd:string to xsd:pattern and leave the 1 in place and this gives the same results as the original query. Also, using the following syntax I get the correct results but I am still using 1 (or any number I want) IGD.NetDevice.\1\.NetCommonInterfaceConfig. But I cannot figure out the syntax to replace the 1 so it is a wild card? IGD.NetDevice.\d{2}\.NetCommonInterfaceConfig. This produces no results. I don't know if this is a regex issue, an XML issue or both. I welcome any and all suggestions as the alternative is to have an incredibly slow response by having to retrieve everything. thanks, Glen From bernd.gottwald at outrange.com Thu Oct 9 00:13:15 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 9 Oct 2014 06:13:15 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_15?= Message-ID: <20141009041315.19046.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From john at onechip.com Thu Oct 9 00:22:03 2014 From: john at onechip.com (John) Date: Wed, 8 Oct 2014 21:22:03 -0700 Subject: Accessing properties in sub stack fields In-Reply-To: References: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> Message-ID: <64B2DAEC-EE89-46E7-8CB1-027AE4C2CCF0@onechip.com> Kay, I gave it a try but it didn?t work. Digging in a bit deeper it gets a bit more mysterious. It appears as if ?the name of the focusedObject? and "the focusedObject" refer to different objects. I expanded what goes to the message box by using the following: put ">" & the noType of (the name of the focusedObject) & "<" & return & return & the name of the focusedObject & return & return & the focusedObject into msg I get this in the message box: >< card "Main" field id 1012 of group id 1003 of card id 1002 of stack "Ohm's Law Solver" of stack "/Users/john/Documents/iPhone_Collection/LiveCode 2.0/EE Tool Kit 2.0/EE Tool Kit.livecode? This is weird in that the main stack has a card named ?main" which is not related to the field returned as the last item in the put statement. If I modify (and simplify) this a bit to: put the long name of the focusedObject & return & return & the focusedObject into msg I get this in the message box: card "Main" of stack "/Users/john/Documents/iPhone_Collection/LiveCode 2.0/EE Tool Kit 2.0/EE Tool Kit.livecode" field id 1012 of group id 1003 of card id 1002 of stack "Ohm's Law Solver" of stack "/Users/john/Documents/iPhone_Collection/LiveCode 2.0/EE Tool Kit 2.0/EE Tool Kit.livecode? I can?t think of a reason why the ?the name of the focusedObject? and "the focusedObject" refer to different objects. Thanks, John On Oct 8, 2014, at 7:40 PM, Kay C Lan wrote: > Try: > > put the noType of (the name of the focusedObject) && the focusedObject > into msg > > The reference returned by fucusedObject is not in the format that is used > for the syntax of a custom property. You need to shorten it by referring to > just 'the name'. > > HTH > > On Thu, Oct 9, 2014 at 9:39 AM, John wrote: > >> Hi, >> >> I was hoping that someone could explain what is going on. I have a >> main stack with multiple sub stacks all of which use the main stack?s menu >> bar. In the menubar group I have a mouseDown handler to update the menus >> before they are shown. The sub stacks have fields which may, or may not, >> have a property ?noType? with a value of ?true?. >> >> In the mouseDown handler in the menuBar group, the following does not >> work: >> >> put the noType of the focusedObject && the focusedObject into msg >> >> I can see that the focusedObject is correct even though the value of the >> property is not shown. If I place this into the mouseDown handler I get >> the expected result: >> >> put line 1 of the openStacks into theTopStack >> put the selectedField into theSelectedField >> put word 2 of theSelectedField into theSelectedFieldNumber >> put the noType of field theSelectedFieldNumber of stack theTopStack into >> msg >> >> >> Why does the first one line scrip not work and the longer four line >> script work? >> >> Thanks in advance, >> John >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Thu Oct 9 00:24:18 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 9 Oct 2014 12:24:18 +0800 Subject: use-livecode Digest, Vol 133, Issue 15 In-Reply-To: <20141009041315.19046.qmail@divico2.ch-meta.net> References: <20141009041315.19046.qmail@divico2.ch-meta.net> Message-ID: Bernd has finally got the better of my curiosity and I checked out outrange.com. The homepage has this little gem: "Today, companies are facing strong competition. Only companies which effectively communicate with their customers can be successful. Effective communication means being able to deliver meaningful and accurate information in a personalized manner for each invdividual." :-) Peter On 9 Oct 2014, at 12:13, bernd.gottwald at outrange.com wrote: > Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. > > > > I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 9 01:02:12 2014 From: john at onechip.com (John) Date: Wed, 8 Oct 2014 22:02:12 -0700 Subject: Is this a bug or am I missing something? Message-ID: I have found a circumstance where "the long name of the focusedObject? and ?the focusedObject? refer to different objects in the same line of a script. The line is: ? put the long name of the focusedObject & return & return & the focusedObject into field ?results? ?. This is the only line in a mouseDown handler of the menubar group script. If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 . You may have to remove the ?.txt? from the end of the file that is downloaded. Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects? This is happening in LC 7 RC2 under 10.9.5. Thanks, John From chipp at chipp.com Thu Oct 9 01:11:53 2014 From: chipp at chipp.com (Chipp Walters) Date: Thu, 9 Oct 2014 00:11:53 -0500 Subject: iOS Icon sizes? Splash screen sizes? Message-ID: Where oh where would one find these? I have a great idea! Why not put a little button next to the fields in the Standalone builder to show info about them? *Icon sizes* iPhone Hi-Res iPhone iOS Hi-Res iPhone iPhone 6 Plus iPad Hi-Res iPad iOS 7 iPad iOS7 Hi-Res iPad *Splash Screens* iPhone Hi-Res iPhone 4 Inch iPhone iPhone 6 iPhone 6 Plus Portrait iPhone 6 Plus Lscape Hi-Res iPad Portrait Hi-Res iPad Landscape Chipp Walters ? From john at onechip.com Thu Oct 9 01:20:59 2014 From: john at onechip.com (John) Date: Wed, 8 Oct 2014 22:20:59 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: References: Message-ID: I just tried the same thing using versions 6.6.2 and 5.0.2 with the same result so I am guessing that I am missing something given this is how it has worked for a long time. Apparently the combination of ?name? with the ?focusedObject? doesn?t do what I would intuitively think. It still seems odd that you end up with references to different objects however. At a minimum you would think it should throw an error at compile time if this is not allowed. Thanks, John On Oct 8, 2014, at 10:02 PM, John wrote: > I have found a circumstance where "the long name of the focusedObject? and ?the focusedObject? refer to different objects in the same line of a script. The line is: ? put the long name of the focusedObject & return & return & the focusedObject into field ?results? ?. This is the only line in a mouseDown handler of the menubar group script. > > If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 . You may have to remove the ?.txt? from the end of the file that is downloaded. > > Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects? This is happening in LC 7 RC2 under 10.9.5. > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 9 01:23:14 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 9 Oct 2014 01:23:14 -0400 Subject: Is this a bug or am I missing something? In-Reply-To: References: Message-ID: <8D1B1984210EDD3-122C-5FB1@webmail-va161.sysops.aol.com> Hi. I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3 Craig Newman -----Original Message----- From: John To: How to use LiveCode Sent: Thu, Oct 9, 2014 1:02 am Subject: Is this a bug or am I missing something? I have found a circumstance where "the long name of the focusedObject? and ?the focusedObject? refer to different objects in the same line of a script. The line is: ? put the long name of the focusedObject & return & return & the focusedObject into field ?results? ?. This is the only line in a mouseDown handler of the menubar group script. If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 . You may have to remove the ?.txt? from the end of the file that is downloaded. Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects? This is happening in LC 7 RC2 under 10.9.5. Thanks, John _______________________________________________ use-livecode mailing list use-livecode at 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 Oct 9 01:25:00 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Oct 2014 22:25:00 -0700 Subject: use-livecode Digest, Vol 133, Issue 15 In-Reply-To: References: <20141009041315.19046.qmail@divico2.ch-meta.net> Message-ID: <113969592960.20141008222500@ahsoftware.net> Peter- That's a different Bernd. -- -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 john at onechip.com Thu Oct 9 01:32:58 2014 From: john at onechip.com (John) Date: Wed, 8 Oct 2014 22:32:58 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: <8D1B1984210EDD3-122C-5FB1@webmail-va161.sysops.aol.com> References: <8D1B1984210EDD3-122C-5FB1@webmail-va161.sysops.aol.com> Message-ID: <6031433C-9A5C-402D-83F6-08AD424FA0EC@onechip.com> Craig, Sorry about that. It was saved the latest (7.0 RC2) format. The following: https://www.dropbox.com/s/yxmf3ysrski1osz/Test%20stack%20%282.7%29.livecode?dl=0 is saved in an older format that should open in LC 6.3. Unfortunately the ?.txt? still need to be removed. Thanks, John On Oct 8, 2014, at 10:23 PM, dunbarx at aol.com wrote: > Hi. > > > I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3 > > > > > Craig Newman > > > > > -----Original Message----- > From: John > To: How to use LiveCode > Sent: Thu, Oct 9, 2014 1:02 am > Subject: Is this a bug or am I missing something? > > > I have found a circumstance where "the long name of the focusedObject? and > ?the focusedObject? refer to different objects in the same line of a script. > The line is: ? put the long name of the focusedObject & return & return & the > focusedObject into field ?results? ?. This is the only line in a mouseDown > handler of the menubar group script. > > If anyone is interested, a very simple stack that demonstrates this is > available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 > . You may have to remove the ?.txt? from the end of the file that is > downloaded. > > Is there a circumstance where the "name of the focusedObject" and "the > focusedObject" should refer to different objects? This is happening in LC 7 RC2 > under 10.9.5. > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 9 01:32:40 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Oct 2014 22:32:40 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: <8D1B1984210EDD3-122C-5FB1@webmail-va161.sysops.aol.com> References: <8D1B1984210EDD3-122C-5FB1@webmail-va161.sysops.aol.com> Message-ID: <100970053258.20141008223240@ahsoftware.net> Craig- Wednesday, October 8, 2014, 10:23:14 PM, you wrote: > I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3 It's in LC 7 format. -- -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 Oct 9 01:37:42 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Oct 2014 22:37:42 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: References: Message-ID: <198970355336.20141008223742@ahsoftware.net> John- Buttons can't receive focus. The focus of your mainstack is on the only control that can receive a focus, the result field. And it doesn't matter that you have clicked in the substack first. The act of clicking in the menu shifts the focus to the main stack. What you are seeing in the result field is correct. -- -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 john at onechip.com Thu Oct 9 02:02:26 2014 From: john at onechip.com (John) Date: Wed, 8 Oct 2014 23:02:26 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: <198970355336.20141008223742@ahsoftware.net> References: <198970355336.20141008223742@ahsoftware.net> Message-ID: <0DCA9CC5-015E-452B-845A-61C289B88C3C@onechip.com> Mark, Thanks for the clarification but if you have the patients to explain a bit further it would be appreciated. When the sub stack field has the focus, the ?long name of the focused object? refers to a card of the main stack (at least there is no reference to a sub stack). For the first line I get: card id 1002 of stack "/Users/john/Downloads/Test stack.livecode" The "focused object" refers to a field on a card of the sub stack which is part of the stack. For the second line I get: field id 1004 of card id 1002 of stack "Sub Stack" of stack "/Users/john/Downloads/Test stack.livecode? In this case the field, the sub stack, and the stack are referred to. The ?long name? variant seems to strip the reference to the field and the sub stack. If the field on the main stack has the focus, both the first and the second lines refer to the same object in slightly different forms. When the main stack field has the focus I get: field "results" of card id 1002 of stack "/Users/john/Downloads/Test stack.livecode" field id 1013 of card id 1002 of stack "/Users/john/Downloads/Test stack.livecode? These both refer to the same field. Thanks, John On Oct 8, 2014, at 10:37 PM, Mark Wieder wrote: > John- > > Buttons can't receive focus. The focus of your mainstack is on the > only control that can receive a focus, the result field. > > And it doesn't matter that you have clicked in the substack first. The > act of clicking in the menu shifts the focus to the main stack. > > What you are seeing in the result field is correct. > > -- > -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 bernd.niggemann at uni-wh.de Thu Oct 9 02:52:48 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 8 Oct 2014 23:52:48 -0700 (PDT) Subject: use-livecode Digest, Vol 133, Issue 15 In-Reply-To: <113969592960.20141008222500@ahsoftware.net> References: <20141009041315.19046.qmail@divico2.ch-meta.net> <113969592960.20141008222500@ahsoftware.net> Message-ID: <1412837568267-4684316.post@n4.nabble.com> Peter wrote: > Bernd has finally got the better of my curiosity and I checked out > outrange.com. The homepage has this little gem: > > "Today, companies are facing strong competition. Only companies which > effectively communicate with their customers can be successful. Effective > communication means being able to deliver meaningful and accurate > information in a personalized manner for each invdividual." > > :-) mwieder wrote > Peter- > > That's a different Bernd. > > -- > -Mark Wieder I would like to point out that it is NOT thisBernd :) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-use-livecode-Digest-Vol-133-Issue-15-tp4684304p4684316.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Thu Oct 9 04:09:29 2014 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Thu, 9 Oct 2014 10:09:29 +0200 Subject: For yer eddification In-Reply-To: <543578C6.5070303@gmail.com> References: <5435721F.7090801@gmail.com> <992B574D-66A2-441F-8D2F-F4AC57BE9413@verizon.net> <543578C6.5070303@gmail.com> Message-ID: <82C35890-2E42-4FC7-81AB-6E115068BFAA@numericable.com> Tr?s dr?le ! Le 8 oct. 2014 ? 19:47, Richmond a ?crit : > On 08/10/14 20:28, Colin Holgate wrote: >> I was on Unst for 18 months. That?s the top island of the Shetlands, that he is pointing to. They don?t quite speak the same Scottish there. > > On Unst they don't speak Scots at all: they speak Scots Gaelic which is akin to Irish Gaelic and is as different from Scots as Bulgarian > is to English. > > Abune 10 towmonds syne I wis i Harris wi ma hen and bairns fae a week, and qhan some fisherfowk stairtit clackin i that lied > I wis fair forjeskit as I didnae ken a vocable at all. > > Richmond. > > Possibly a feature request case might be made for a version of LiveCode that functions in Doric Scots. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 9 04:55:57 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 9 Oct 2014 10:55:57 +0200 Subject: AW: How is the LC textsize converted into RTF? In-Reply-To: References: <005401cfe30c$1c797bb0$556c7310$@de> Message-ID: <001f01cfe39e$d80ea4d0$882bee70$@de> Hello Kay, thanks for the hint with HTMLText, I will follow that Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Kay C Lan > Gesendet: Donnerstag, 9. Oktober 2014 04:07 > An: How to use LiveCode > Betreff: Re: How is the LC textsize converted into RTF? > > On Wed, Oct 8, 2014 at 11:25 PM, Tiemo Hollmann TB > wrote: > > Hello, > > > > I am struggling to keep the wanted textSize from a LiveCode text in a > > RTF file. > > > From another thread about RTF, this Important Note in the Dictionary under > 'RTFText' may help: > > Important! Because the RTF standard does not include the box, threeDbox, and > link styles supported by LiveCode, the RTFText property does not necessarily > include all information necessary to reproduce the style information in a > chunk. To export and re-import field information without losing any style > information, use the htmlTextproperty instead. > > Looking at the HTMLText it looks like it would be very easy to > maintain/manipulate the text size of various words in a field. > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Thu Oct 9 05:38:48 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 09 Oct 2014 10:38:48 +0100 Subject: Convert rgb to lightness or darkness In-Reply-To: <002101cfe2d0$e1c25cc0$a5471640$@de> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> Message-ID: <543657A8.1050305@cogapp.com> In the standard formula for RGB -> HSL (Hue, Saturation, Lightness), Lightness is calculated as the average of the max and min of the RGB values. In the standard formula for RGB -> HSV (Hue, Saturation, Value), Value is the max of the RGB values. I would guess one of those calculations would be closer to giving you the right answer than the total of R+G+B. Ben On 08/10/2014 09:21, Tiemo Hollmann TB wrote: > Just a guess, didn't tried it. > If you add the three RGB values of the mousecolor, white (light) would be > 765 and black (dark) 0. Somewhere around 382 you can switch from black to > yellow text. > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von William Prothero >> Gesendet: Dienstag, 7. Oktober 2014 21:59 >> An: Use-livecode Use-livecode >> Betreff: Convert rgb to lightness or darkness >> >> Folks: >> I?m putting text on an image that will be turned into a snapshot. The > image >> goes from light to dark. The text is a one or two digit integer. I want it > to >> show up on the image. For dark parts of the image, I set it to yellow, but > for >> light parts of the image, I want to set it to black. Is there a simple > formula >> for changing an rgb value into a darkness value that will let me choose >> between yellow or black text? I don?t want to just set the ink of the > text >> because sometimes I write the text over itself, which diminishes the > effect. From roger.e.eller at sealedair.com Thu Oct 9 10:16:39 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 9 Oct 2014 10:16:39 -0400 Subject: iOS Icon sizes? Splash screen sizes? In-Reply-To: References: Message-ID: This creates all necessary sizes from a high res master image. http://livecodeshare.runrev.com/stack/756/Scalini----image-scaler-for-resolution-independence The sizes were also detailed on one of the slides in a presentation by Ralph DiMola at LiveCodeLIVE'14. ~Roger On Thu, Oct 9, 2014 at 1:11 AM, Chipp Walters wrote: > Where oh where would one find these? I have a great idea! Why not put a > little button next to the fields in the Standalone builder to show info > about them? > > *Icon sizes* > iPhone > Hi-Res iPhone > iOS Hi-Res iPhone > iPhone 6 Plus > iPad > Hi-Res iPad > iOS 7 iPad > iOS7 Hi-Res iPad > > *Splash Screens* > iPhone > Hi-Res iPhone > 4 Inch iPhone > iPhone 6 > iPhone 6 Plus Portrait > iPhone 6 Plus Lscape > Hi-Res iPad Portrait > Hi-Res iPad Landscape > > Chipp Walters > ? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 9 11:16:56 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 9 Oct 2014 15:16:56 +0000 Subject: use-livecode Digest, Vol 133, Issue 15 In-Reply-To: <1412837568267-4684316.post@n4.nabble.com> References: <20141009041315.19046.qmail@divico2.ch-meta.net> <113969592960.20141008222500@ahsoftware.net> <1412837568267-4684316.post@n4.nabble.com> Message-ID: <50C74489-CC8A-4C71-BA68-9D1B2F490F4E@byu.edu> On Oct 9, 2014, at 12:52 AM, BNig wrote: > Peter wrote: > >> Bernd has finally got the better of my curiosity and I checked out >> outrange.com. The homepage has this little gem: >> >> "Today, companies are facing strong competition. Only companies which >> effectively communicate with their customers can be successful. Effective >> communication means being able to deliver meaningful and accurate >> information in a personalized manner for each invdividual." >> >> :-) > > > mwieder wrote >> Peter- >> >> That's a different Bernd. >> >> -- >> -Mark Wieder > > I would like to point out that it is NOT thisBernd :) if thisBernd is not thatBernd then focus on the effective Bernd else focus on nothing end if D Devin Asay Office of Digital Humanities Brigham Young University From alain.vezina at logilangue.com Thu Oct 9 11:41:35 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 09 Oct 2014 11:41:35 -0400 Subject: LC 6.6.3 and 6.6.4 really slower than LC 6.1.2 Message-ID: <91C96028-A02B-45C7-A3DB-AC7671E7A037@logilangue.com> Hi All, When I press a btn to go back to a previews card it takes 1/10 of a second with LC 6,1,2, but it takes 3.28 second with LC 6.6.3 and 6.6.4. That the same when my app is a standalone. I use the same script for all trials on mouseUp global sBrowserId BrowserInvisible02 hide btn "accidPronomi" hide btn "Rectif" go to cd "LaRecherche" show btn "avance" show btn "recule" show fld "flexions" if fld "info" is not empty then show fld "info" end if revBrowserSet sBrowserId, "visible", true show image "browserimage" of cd "LaRecherche" end mouseUp I am on Maveriks and XCode 6.0.1 for LC 6.6.3 and 6.6.4 and on Maveriks and XCode 5.1.1 for the LC 6.1.2 version. I dont understand. Is it a bug I have to report? Anybody has an idea of what is the problem? Alain Vezina Logilangue www.logilangue.com From larry at significantplanet.org Thu Oct 9 11:50:27 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 9 Oct 2014 09:50:27 -0600 Subject: LC 6.6.3 and 6.6.4 really slower than LC 6.1.2 References: <91C96028-A02B-45C7-A3DB-AC7671E7A037@logilangue.com> Message-ID: <51F6A836A64943C1852BEE15272B768B@userd204a4d61c> My (limited) experience: I found several bugs in 6.6.3 Without changing the code at all, I opened my stack in 6.1.1 and everything ran perfectly. ???? Larry ----- Original Message ----- From: "Alain Vezina" To: "LiveCode How to" Sent: Thursday, October 09, 2014 9:41 AM Subject: LC 6.6.3 and 6.6.4 really slower than LC 6.1.2 > Hi All, > > When I press a btn to go back to a previews card it takes 1/10 of a second > with LC 6,1,2, but it takes 3.28 second with LC 6.6.3 and 6.6.4. That the > same when my app is a standalone. > I use the same script for all trials > > on mouseUp > global sBrowserId > BrowserInvisible02 > hide btn "accidPronomi" > hide btn "Rectif" > go to cd "LaRecherche" > show btn "avance" > show btn "recule" > show fld "flexions" > if fld "info" is not empty then > show fld "info" > end if > revBrowserSet sBrowserId, "visible", true > show image "browserimage" of cd "LaRecherche" > end mouseUp > > I am on Maveriks and XCode 6.0.1 for LC 6.6.3 and 6.6.4 and on Maveriks > and XCode 5.1.1 for the LC 6.1.2 version. > > I dont understand. > Is it a bug I have to report? > > Anybody has an idea of what is the problem? > > Alain Vezina > Logilangue > 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 pete at lcsql.com Thu Oct 9 12:13:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Oct 2014 09:13:07 -0700 Subject: use-livecode Digest, Vol 133, Issue 15 In-Reply-To: <50C74489-CC8A-4C71-BA68-9D1B2F490F4E@byu.edu> References: <20141009041315.19046.qmail@divico2.ch-meta.net> <113969592960.20141008222500@ahsoftware.net> <1412837568267-4684316.post@n4.nabble.com> <50C74489-CC8A-4C71-BA68-9D1B2F490F4E@byu.edu> Message-ID: On Thu, Oct 9, 2014 at 8:16 AM, Devin Asay wrote: > if thisBernd is not thatBernd then > focus on the effective Bernd > else > focus on nothing > end if > To make this generically useful and take advantage of a recent syntax addition: if this me is not that me then focus on the effective me else focus on nothing end if Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Thu Oct 9 12:24:42 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Oct 2014 09:24:42 -0700 Subject: Accessing properties in sub stack fields In-Reply-To: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> References: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> Message-ID: I think this is an example of LC not always dereferening things as expected, especially when custom properties are involved. I've had similar issues in the past and in fact have just had another one where the following results in a runtime error: put the cMyProp of (line 1 of the recentCards) into tVar The following works around the error: get line 1 of the recentCards put the cMyProp of it into tVar As to why the name of the focusedObject and the focusedObject return references to two different objects, I think you should enter a QCC report. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Oct 8, 2014 at 6:39 PM, John wrote: > Hi, > > I was hoping that someone could explain what is going on. I have a > main stack with multiple sub stacks all of which use the main stack?s menu > bar. In the menubar group I have a mouseDown handler to update the menus > before they are shown. The sub stacks have fields which may, or may not, > have a property ?noType? with a value of ?true?. > > In the mouseDown handler in the menuBar group, the following does not > work: > > put the noType of the focusedObject && the focusedObject into msg > > I can see that the focusedObject is correct even though the value of the > property is not shown. If I place this into the mouseDown handler I get > the expected result: > > put line 1 of the openStacks into theTopStack > put the selectedField into theSelectedField > put word 2 of theSelectedField into theSelectedFieldNumber > put the noType of field theSelectedFieldNumber of stack theTopStack into > msg > > > Why does the first one line scrip not work and the longer four line > script work? > > Thanks in advance, > John > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 9 12:41:24 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Oct 2014 09:41:24 -0700 Subject: Regex wildcard in XML Query In-Reply-To: References: Message-ID: On Wed, Oct 8, 2014 at 9:12 PM, Glen Bojsza wrote: > xsi:type="xsd:pattern">IGD.NetDevice.\d{2}\.NetCommonInterfaceConfig. > Hi Glen, Couple of issues with using the above as a regex. The period character means any character except newline in a regex. By chance it works for the string you're looking for but it really should be escaped with a backslash character. The "\d{2}" looks for two digits and you only have one digit in that position in the string. If you want to allow for 1 or 2 digits, you can use either "\d{1,2}" or "\d\d?" So your regex would be (untested): IGD\.NetDevice\.\d{1,2}\.NetCommonInterfaceConfig\. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From prothero at earthednet.org Thu Oct 9 13:39:04 2014 From: prothero at earthednet.org (William Prothero) Date: Thu, 9 Oct 2014 10:39:04 -0700 Subject: Convert rgb to lightness or darkness In-Reply-To: <543657A8.1050305@cogapp.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> Message-ID: Ben: Thanks. This does a better job. Best, Bill William A. Prothero http://es.earthednet.org/ On Oct 9, 2014, at 2:38 AM, Ben Rubinstein wrote: > In the standard formula for RGB -> HSL (Hue, Saturation, Lightness), Lightness is calculated as the average of the max and min of the RGB values. In the standard formula for RGB -> HSV (Hue, Saturation, Value), Value is the max of the RGB values. > > I would guess one of those calculations would be closer to giving you the right answer than the total of R+G+B. > > Ben > > On 08/10/2014 09:21, Tiemo Hollmann TB wrote: >> Just a guess, didn't tried it. >> If you add the three RGB values of the mousecolor, white (light) would be >> 765 and black (dark) 0. Somewhere around 382 you can switch from black to >> yellow text. >> Tiemo >> >> From mwieder at ahsoftware.net Thu Oct 9 13:42:21 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Oct 2014 17:42:21 +0000 (UTC) Subject: Is this a bug or am I missing something? References: <198970355336.20141008223742@ahsoftware.net> <0DCA9CC5-015E-452B-845A-61C289B88C3C@onechip.com> Message-ID: John- My apologies - I forgot about the weirdness of menus on osx. My earlier response was based on linux, which has a much more reasonable approach to UI interaction. So here's what I see happening on osx: 1. click in the substack field 2. click on a menu item This actually moves the focus to the main stack because the menubar is part of the mainstack. You can see this if you examine the stack in the Application Browser or Project Browser. But buttons (and menus by extension) can't receive the focus, so the focus ends up being on the currrent card. That's the first line you see. But *now that you have put text into the result field*, it now becomes the focused object, and the second time you try to access the focused object you will be referring to th field. The second line reflects that fact. -- Mark Wieder ahsoftware at gmail.com From prothero at earthednet.org Thu Oct 9 13:44:52 2014 From: prothero at earthednet.org (William Prothero) Date: Thu, 9 Oct 2014 10:44:52 -0700 Subject: Getting a list of object properties In-Reply-To: <543657A8.1050305@cogapp.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> Message-ID: <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> Folks: Sometime back, I remember a posting about how to get a list of property names of an object. Anybody remember it? I?m trying to use a ?slider? object and have googled, etc, to no avail. The docs don?t show ?slider? and so it?s just one of those docs shortcomings that hopefully will eventually get solved. I tried the scrollbar object properties. That?s not it. Regards, Bill William A. Prothero http://es.earthednet.org/ From prothero at earthednet.org Thu Oct 9 13:48:23 2014 From: prothero at earthednet.org (William Prothero) Date: Thu, 9 Oct 2014 10:48:23 -0700 Subject: Getting a list of object properties In-Reply-To: <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> Message-ID: <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> Folks: Ok, I found how to set the end and start values. e.g. put the startValue of scrollBar ?axisEntry" Still, if anybody remembers the way to get a list of properties (a script), other than looking in the docs, I?d be interested. Best, Bill On Oct 9, 2014, at 10:44 AM, William Prothero wrote: > Folks: > Sometime back, I remember a posting about how to get a list of property names of an object. Anybody remember it? > > I?m trying to use a ?slider? object and have googled, etc, to no avail. The docs don?t show ?slider? and so it?s just one of those docs shortcomings that hopefully will eventually get solved. > > I tried the scrollbar object properties. That?s not it. > > Regards, > Bill > > William A. 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 bobsneidar at iotecdigital.com Thu Oct 9 14:11:05 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 9 Oct 2014 18:11:05 +0000 Subject: Reading Files In-Reply-To: References: Message-ID: <701C0873-9DAF-4C94-BFAB-0E83EAD4612F@iotecdigital.com> Livecode supports xcmds still so far as I know. The trouble is, those xcmds were compiled for OS 9, and we are way past that. There is no way I know to convert a compiled OS 9 xcmd to an OX S xcmd. You would need the source, and then you would have to refactor it in a current compiler. Bob S On Oct 8, 2014, at 20:13 , JB > wrote: The Hyper Talk was pretty simple. I had a few different file I/O externals that would allow me to sector read the disk. I don?t think they will import or I could use them. They really do not need an external window so if you know how I can import them that would be really great. John Balgenorth From bobsneidar at iotecdigital.com Thu Oct 9 14:15:34 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 9 Oct 2014 18:15:34 +0000 Subject: Is this a bug or am I missing something? In-Reply-To: References: Message-ID: I?m curious if the button itself is focusable. Instead, call a function in the card script and use send in time. If it still results in two different objects, then Houston, we have a problem. Bob S On Oct 8, 2014, at 22:02 , John wrote: > I have found a circumstance where "the long name of the focusedObject? and ?the focusedObject? refer to different objects in the same line of a script. The line is: ? put the long name of the focusedObject & return & return & the focusedObject into field ?results? ?. This is the only line in a mouseDown handler of the menubar group script. > > If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 . You may have to remove the ?.txt? from the end of the file that is downloaded. > > Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects? This is happening in LC 7 RC2 under 10.9.5. > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 9 14:15:27 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 9 Oct 2014 14:15:27 -0400 Subject: Getting a list of object properties In-Reply-To: <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> Message-ID: <8D1B2042273174B-2794-AB6A@webmail-vm054.sysops.aol.com> William. Do you mean "the properties"? Craig -----Original Message----- From: William Prothero To: Use-livecode Use-livecode Sent: Thu, Oct 9, 2014 1:49 pm Subject: Re: Getting a list of object properties Folks: Ok, I found how to set the end and start values. e.g. put the startValue of scrollBar ?axisEntry" Still, if anybody remembers the way to get a list of properties (a script), other than looking in the docs, I?d be interested. Best, Bill On Oct 9, 2014, at 10:44 AM, William Prothero wrote: > Folks: > Sometime back, I remember a posting about how to get a list of property names of an object. Anybody remember it? > > I?m trying to use a ?slider? object and have googled, etc, to no avail. The docs don?t show ?slider? and so it?s just one of those docs shortcomings that hopefully will eventually get solved. > > I tried the scrollbar object properties. That?s not it. > > Regards, > Bill > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Oct 9 14:21:15 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 9 Oct 2014 14:21:15 -0400 Subject: Raspberry Pi and GPIO Message-ID: <44C707D1-7639-478B-A0DC-BC2EB6BB5B8A@gmail.com> I am looking for some help from some of you with unix/raspberry pi experience. I have think that I have installed 7.0 rc 1 on my raspberry pi B+ properly. I am trying to figure out how to play with the GPIO?s. I am am able to execute the following to set up the IO put shell("echo 12 > /sys/class/gpio/export") into dummy dummy is empty, However the next statement: put shell("echo out > /sys/class/gpio/gpio12/direction") into dummy dummy contains the error message: bin/sh: cannot create /sys/class/gpio/gpio12/direction: Directory nonexistent When I use the terminal, I can see that the directory does exist and I am able to modify the contents to both set the IO direction and sucessfully turn the LED on and off. Could it be that I do not have the permission to create directories and modify files from livecode? How can I check this from livecode and fix it? ?. assuming this is in fact a permission issue. Thanks, Mike From dunbarx at aol.com Thu Oct 9 14:26:35 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 9 Oct 2014 14:26:35 -0400 Subject: Is this a bug or am I missing something? In-Reply-To: References: Message-ID: <8D1B205B135F5B0-2794-AC61@webmail-vm054.sysops.aol.com> I did not try this from a menu, but it works as advertised from an ordinary button. Craig On Oct 8, 2014, at 22:02 , John wrote: > I have found a circumstance where "the long name of the focusedObject? and ?the focusedObject? refer to different objects in the same line of a script. The line is: ? put the long name of the focusedObject & return & return & the focusedObject into field ?results? ?. This is the only line in a mouseDown handler of the menubar group script. > > If anyone is interested, a very simple stack that demonstrates this is available here: https://www.dropbox.com/s/4cc7j7i06r18r6b/Test%20stack.livecode?dl=0 . You may have to remove the ?.txt? from the end of the file that is downloaded. > > Is there a circumstance where the "name of the focusedObject" and "the focusedObject" should refer to different objects? This is happening in LC 7 RC2 under 10.9.5. > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Oct 9 14:35:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Oct 2014 13:35:46 -0500 Subject: Is this a bug or am I missing something? In-Reply-To: References: Message-ID: <5436D582.8040606@hyperactivesw.com> On 10/9/2014, 1:15 PM, Bob Sneidar wrote: > I?m curious if the button itself is focusable. Buttons are focusable on Windows and Linux but not on OS X. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Thu Oct 9 14:43:20 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 9 Oct 2014 14:43:20 -0400 Subject: Raspberry Pi and GPIO In-Reply-To: <44C707D1-7639-478B-A0DC-BC2EB6BB5B8A@gmail.com> References: <44C707D1-7639-478B-A0DC-BC2EB6BB5B8A@gmail.com> Message-ID: I think that I have now confirmed that it is a permission issue. I added a ?sudo? in front of the ?echo? command. Now everything seems to be working. I still have the question about how to give livecode the correct permissions to access this files as it would seem more logical to use to do direct IO to the files rather that to be forced to use a shell command. I am running as the default pi user. Should this user have different permissions? If so how do you grant them? Regards, Mike On Oct 9, 2014, at 2:21 PM, Michael Doub wrote: > I am looking for some help from some of you with unix/raspberry pi experience. > > I have think that I have installed 7.0 rc 1 on my raspberry pi B+ properly. I am trying to figure out how to play with the GPIO?s. > > I am am able to execute the following to set up the IO > > put shell("echo 12 > /sys/class/gpio/export") into dummy > > dummy is empty, However the next statement: > > put shell("echo out > /sys/class/gpio/gpio12/direction") into dummy > > > dummy contains the error message: > > bin/sh: cannot create /sys/class/gpio/gpio12/direction: Directory nonexistent > > When I use the terminal, I can see that the directory does exist and I am able to modify the contents to both set the IO direction and sucessfully turn the LED on and off. > > Could it be that I do not have the permission to create directories and modify files from livecode? How can I check this from livecode and fix it? ?. assuming this is in fact a permission issue. > > 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 From andrew at ctech.me Thu Oct 9 14:50:29 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 9 Oct 2014 13:50:29 -0500 Subject: Raspberry Pi and GPIO In-Reply-To: References: <44C707D1-7639-478B-A0DC-BC2EB6BB5B8A@gmail.com> Message-ID: No specific information I can help with but this seems like it might hold some answers for you if you dig enough. http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=73924 On Thu, Oct 9, 2014 at 1:43 PM, Michael Doub wrote: > I think that I have now confirmed that it is a permission issue. I added > a ?sudo? in front of the ?echo? command. Now everything seems to be > working. > > I still have the question about how to give livecode the correct > permissions to access this files as it would seem more logical to use to do > direct IO to the files rather that to be forced to use a shell command. > > I am running as the default pi user. Should this user have different > permissions? If so how do you grant them? > > Regards, > Mike > > > On Oct 9, 2014, at 2:21 PM, Michael Doub wrote: > > > I am looking for some help from some of you with unix/raspberry pi > experience. > > > > I have think that I have installed 7.0 rc 1 on my raspberry pi B+ > properly. I am trying to figure out how to play with the GPIO?s. > > > > I am am able to execute the following to set up the IO > > > > put shell("echo 12 > /sys/class/gpio/export") into dummy > > > > dummy is empty, However the next statement: > > > > put shell("echo out > /sys/class/gpio/gpio12/direction") into > dummy > > > > > > dummy contains the error message: > > > > bin/sh: cannot create /sys/class/gpio/gpio12/direction: Directory > nonexistent > > > > When I use the terminal, I can see that the directory does exist and I > am able to modify the contents to both set the IO direction and sucessfully > turn the LED on and off. > > > > Could it be that I do not have the permission to create directories and > modify files from livecode? How can I check this from livecode and fix > it? ?. assuming this is in fact a permission issue. > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 john at onechip.com Thu Oct 9 14:50:42 2014 From: john at onechip.com (John) Date: Thu, 9 Oct 2014 11:50:42 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <0DCA9CC5-015E-452B-845A-61C289B88C3C@onechip.com> Message-ID: <33C9D89C-6537-47C8-B677-D5FD62BDC9F4@onechip.com> Mark, I can see your line of reasoning but it does not quite track. The first line in the result field does show that the focus is with main stack card where the menu buttons are located. In my case, the second line indicates that the focus is on the sub stack field, *not* the result field. Perhaps we are seeing different things on different machines if the focusedObject is changing while the single line script (in the menu bar mouseDown handler) is running. To test for this I changed the menubar script to this: on mouseDown local theObject put the focusedObject into theObject put the long name of theObject & return & return & theObject into field "results" end mouseDown I now get the following result: field "Field with property" of card id 1002 of stack "Sub Stack" of stack "/Users/john/Downloads/Test stack.livecode" field id 1004 of card id 1002 of stack "Sub Stack" of stack "/Users/john/Downloads/Test stack.livecode? Both lines indicate that the focus in on the field on in the sub stack even though they are in different formats. If I am thinking about this right, it means that the focusedObject was changing during the execution of the single line script. Thanks, John On Oct 9, 2014, at 10:42 AM, Mark Wieder wrote: > John- > > My apologies - I forgot about the weirdness of menus on osx. > My earlier response was based on linux, which has a much more reasonable > approach to UI interaction. > > So here's what I see happening on osx: > > 1. click in the substack field > 2. click on a menu item > > This actually moves the focus to the main stack because the menubar is part > of the mainstack. You can see this if you examine the stack in the > Application Browser or Project Browser. But buttons (and menus by extension) > can't receive the focus, so the focus ends up being on the currrent card. > That's the first line you see. > > But *now that you have put text into the result field*, it now becomes the > focused object, and the second time you try to access the focused object you > will be referring to th field. The second line reflects that fact. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Thu Oct 9 15:10:27 2014 From: john at onechip.com (John) Date: Thu, 9 Oct 2014 12:10:27 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: <5436D582.8040606@hyperactivesw.com> References: <5436D582.8040606@hyperactivesw.com> Message-ID: <2FF0B37B-8F0F-47B7-B67E-78141D6E3B44@onechip.com> Jaque, While this may be the case in general, when the menubar script is: on mouseDown put the long name of the focusedObject & return & return & the focusedObject into field "results" end mouseDown The first part of the put (the long name of the focusedObject) results in a card on the main stack being written to the ?results? field and the second part of the put (the focusedObject) results in the field on the sub stack being written to the ?results? field. If I change the script to: on mouseDown local theObject put the focusedObject into theObject put the long name of theObject & return & return & theObject into field "results" end mouseDown The execution changes and the ?result? field displays the same object (the field on the subs tack) for both halves of the put being written to the ?results? field albeit in a different format. This is leading me to the conclusion, perhaps incorrectly, that the focusedObject is changing during the execution of the first single line script. It may be doing the same thing in the second script as well but it is not seen because the focusedObject is being placed in a variable. Thanks, John On Oct 9, 2014, at 11:35 AM, J. Landman Gay wrote: > On 10/9/2014, 1:15 PM, Bob Sneidar wrote: >> I?m curious if the button itself is focusable. > > Buttons are focusable on Windows and Linux but not on OS X. > > -- > 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 sundown at pacifier.com Thu Oct 9 15:15:02 2014 From: sundown at pacifier.com (JB) Date: Thu, 9 Oct 2014 12:15:02 -0700 Subject: Reading Files In-Reply-To: <701C0873-9DAF-4C94-BFAB-0E83EAD4612F@iotecdigital.com> References: <701C0873-9DAF-4C94-BFAB-0E83EAD4612F@iotecdigital.com> Message-ID: <945434B0-129A-4058-B12C-83271F71681A@pacifier.com> Thanks, Bob. Sounds like it would be easier and better to write a new external to do the job. Your info will save me some time. John Balgenorth On Oct 9, 2014, at 11:11 AM, Bob Sneidar wrote: > Livecode supports xcmds still so far as I know. The trouble is, those xcmds were compiled for OS 9, and we are way past that. There is no way I know to convert a compiled OS 9 xcmd to an OX S xcmd. You would need the source, and then you would have to refactor it in a current compiler. > > Bob S > > > On Oct 8, 2014, at 20:13 , JB > wrote: > > The Hyper Talk was pretty simple. I had a few > different file I/O externals that would allow me > to sector read the disk. I don?t think they will > import or I could use them. They really do not > need an external window so if you know how I > can import them that would be really great. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 9 15:33:14 2014 From: john at onechip.com (John) Date: Thu, 9 Oct 2014 12:33:14 -0700 Subject: Accessing properties in sub stack fields In-Reply-To: References: <3FC28121-3AF3-4F24-B691-8F97877D6A4C@onechip.com> Message-ID: <192D18CC-C71F-4DBD-B33B-32D3607FE341@onechip.com> Pete, Thanks for the insight. The issue with the focusObject seems to be fairly nuanced and perhaps based on execution speed and platform. There is another message thread with the subject "Is this a bug or am I missing something??, that seems to indicate that the focusedObject is changing value during the execution of a single line of script. I will file a bug report if appropriate when that thread winds to a conclusion. Thanks, John On Oct 9, 2014, at 9:24 AM, Peter Haworth wrote: > I think this is an example of LC not always dereferening things as > expected, especially when custom properties are involved. > > I've had similar issues in the past and in fact have just had another one > where the following results in a runtime error: > > put the cMyProp of (line 1 of the recentCards) into tVar > > The following works around the error: > > get line 1 of the recentCards > put the cMyProp of it into tVar > > As to why the name of the focusedObject and the focusedObject return > references to two different objects, I think you should enter a QCC report. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > From jacque at hyperactivesw.com Thu Oct 9 16:02:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Oct 2014 15:02:08 -0500 Subject: Is this a bug or am I missing something? In-Reply-To: <2FF0B37B-8F0F-47B7-B67E-78141D6E3B44@onechip.com> References: <5436D582.8040606@hyperactivesw.com> <2FF0B37B-8F0F-47B7-B67E-78141D6E3B44@onechip.com> Message-ID: <5436E9C0.9040402@hyperactivesw.com> On 10/9/2014, 2:10 PM, John wrote: > While this may be the case in general, when the menubar script is: > > on mouseDown > put the long name of the focusedObject & return & return & the focusedObject into field "results" > end mouseDown > > The first part of the put (the long name of the focusedObject) results in a card on the main stack being written to the ?results? field and the second part of the put (the focusedObject) results in the field on the sub stack being written to the ?results? field. It still holds. Menus are buttons, buttons are not focusable on Mac, so LC reports the card as focused. I haven't tracked the problem with two different values in your scripts, but my first thought was like Mark's: on mouseDown the focus changes to the menu button. Since buttons can't have focus on Mac, you get the card reported instead. I almost never use focusedObject. The handler worked fine when you checked the selectedfield, which is how I have always done it too. The discrepancy you're seeing is interesting (and maybe worth a bug report,) but the alternative method is easy enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Thu Oct 9 16:09:05 2014 From: prothero at earthednet.org (William Prothero) Date: Thu, 9 Oct 2014 13:09:05 -0700 Subject: Getting a list of object properties In-Reply-To: <8D1B2042273174B-2794-AB6A@webmail-vm054.sysops.aol.com> References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> <8D1B2042273174B-2794-AB6A@webmail-vm054.sysops.aol.com> Message-ID: Craig: Yes, I?d like a list of the properties of an object. Of course, the first thing I needed to understand with the ?slider? object is that it is called a ?scrollbar? which is shown in the property inspector. Wouldn?t it be great for newbies to have a tab in the object inspector that listed all of the settable property names and messages? Yes, some are shown in the BvG Docu 2 app, but it?s incomplete. I got a bit further. Then I tried to set the scroll, then found a reference to the scrollbardrag message in the docs. My question was intended to make my future investigations of poorly documented objects a bit easier. I know there is work being done on the documents and this period of rapid upgrading and adding of features is going to be a bit chaotic, but so many of the users on this list have been using LC for a long time and info on what hurdles newbies face can be useful for folks creating the learning materials. If I do: put the properties of scrollbar ?axisEntry" I don?t get anything in the message box. LC7.0 rC2, Mavericks. Bill On Oct 9, 2014, at 11:15 AM, dunbarx at aol.com wrote: > William. > > > Do you mean "the properties"? > > > Craig > > > > -----Original Message----- > From: William Prothero > To: Use-livecode Use-livecode > Sent: Thu, Oct 9, 2014 1:49 pm > Subject: Re: Getting a list of object properties > > > Folks: > Ok, I found how to set the end and start values. > e.g. put the startValue of scrollBar ?axisEntry" > > Still, if anybody remembers the way to get a list of properties (a script), > other than looking in the docs, I?d be interested. > Best, > Bill > > On Oct 9, 2014, at 10:44 AM, William Prothero wrote: > >> Folks: >> Sometime back, I remember a posting about how to get a list of property names > of an object. Anybody remember it? >> >> I?m trying to use a ?slider? object and have googled, etc, to no avail. The > docs don?t show ?slider? and so it?s just one of those docs shortcomings that > hopefully will eventually get solved. >> >> I tried the scrollbar object properties. That?s not it. >> >> Regards, >> Bill >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Thu Oct 9 16:22:22 2014 From: john at onechip.com (John) Date: Thu, 9 Oct 2014 13:22:22 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: <5436E9C0.9040402@hyperactivesw.com> References: <5436D582.8040606@hyperactivesw.com> <2FF0B37B-8F0F-47B7-B67E-78141D6E3B44@onechip.com> <5436E9C0.9040402@hyperactivesw.com> Message-ID: <0F025D0B-DF8A-4CEF-9B7C-7CB26AD598B9@onechip.com> The fog is lifting a bit and I can see why the card gets the focus. That the focusedObject can change part way through a single line of script is a bit unsettling. The original goal was to access a property of a field to update the menus before they are shown and using the selectedField seems solid. I don?t know if this is a bug or an observation. If anyone has an opinion about submitting a bug report, I am happy to submit one. Thanks, John On Oct 9, 2014, at 1:02 PM, J. Landman Gay wrote: > On 10/9/2014, 2:10 PM, John wrote: >> While this may be the case in general, when the menubar script is: >> >> on mouseDown >> put the long name of the focusedObject & return & return & the focusedObject into field "results" >> end mouseDown >> >> The first part of the put (the long name of the focusedObject) results in a card on the main stack being written to the ?results? field and the second part of the put (the focusedObject) results in the field on the sub stack being written to the ?results? field. > > It still holds. Menus are buttons, buttons are not focusable on Mac, so > LC reports the card as focused. > > I haven't tracked the problem with two different values in your scripts, but my first thought was like Mark's: on mouseDown the focus changes to the menu button. Since buttons can't have focus on Mac, you get the card reported instead. > > I almost never use focusedObject. The handler worked fine when you checked the selectedfield, which is how I have always done it too. The discrepancy you're seeing is interesting (and maybe worth a bug report,) but the alternative method is easy enough. > > -- > 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 Thu Oct 9 16:23:09 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Oct 2014 13:23:09 -0700 Subject: Getting a list of object properties In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> <8D1B2042273174B-2794-AB6A@webmail-vm054.sysops.aol.com> Message-ID: On Thu, Oct 9, 2014 at 1:09 PM, William Prothero wrote: > If I do: > put the properties of scrollbar ?axisEntry" > I don?t get anything in the message box. LC7.0 rC2, Mavericks. > That's because the properties is an array keyed by property name with the value being the property value. Beware though - the properties doesn't include all properties of an object - see the dictionary for more info, including the cryptic "Others: Some other properties are excluded."! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From klaus at major-k.de Thu Oct 9 16:24:36 2014 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Oct 2014 22:24:36 +0200 Subject: Getting a list of object properties In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> <8D1B2042273174B-2794-AB6A@webmail-vm054.sysops.aol.com> Message-ID: <11ECC68E-4830-4104-9975-A9B4BA667B3D@major-k.de> Hi Bill, Am 09.10.2014 um 22:09 schrieb William Prothero : > ... > If I do: > put the properties of scrollbar ?axisEntry" > I don?t get anything in the message box. LC7.0 rC2, Mavericks. "the properties of xyz" will return an ARRAY, that's why :-) Do this: put the properties of scrollbar ?axisEntry" into tP;put the keys of tP > Bill Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Thu Oct 9 16:35:50 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Oct 2014 15:35:50 -0500 Subject: Getting a list of object properties In-Reply-To: References: <1DBAE676-8F1D-41B8-AC63-81D0463EDF8A@pacifier.com> <5432F064.4070508@gmail.com> <1412710402411-4684255.post@n4.nabble.com> <96FBCD52-8547-41C3-B722-20888FE17218@earthednet.org> <7D46E0D6-EEEC-481D-B928-3DBF80DF5D3A@earthednet.org> <002101cfe2d0$e1c25cc0$a5471640$@de> <543657A8.1050305@cogapp.com> <1FA621F2-41CB-4CFF-83B1-9291E1636F9F@earthednet.org> <23A23D28-76DB-4B14-A4A9-484066349158@earthednet.org> <8D1B2042273174B-2794-AB6A@webmail-vm054.sysops.aol.com> Message-ID: <5436F1A6.1010806@hyperactivesw.com> On 10/9/2014, 3:09 PM, William Prothero wrote: > Wouldn?t it be great for newbies to have a tab in the object > inspector that listed all of the settable property names and > messages? Yes, some are shown in the BvG Docu 2 app, but it?s > incomplete. You can see all the properties of any object in the dictionary: 1. Select the object in left-hand column. 2. Click the "Type" header in the keyword list. That sorts the list by type, and all the properties will be displayed together. As an aside, if you want to see information that isn't already shown, look in Preferences in the Documentation pane. You can set the types of information you want to display in the dictionary. There are more choices than just the defaults. > > If I do: > put the properties of scrollbar ?axisEntry" > I don?t get anything in the message box. LC7.0 rC2, Mavericks. That's because the properties are an array, which can't be displayed in the message box. You can write a little handler that lets you see them in the debugger though (which is my usual shortcut when I need to see something temporarily): on showProperties pObj get the properties of pObj breakpoint end showProperties Call it like this: showProperties the long name of scrollbar 1 Or revise it to combine the array and put the resulting text into a field somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Thu Oct 9 16:41:45 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 9 Oct 2014 21:41:45 +0100 Subject: Getting a list of object properties Message-ID: <001901cfe401$72db2b20$58918160$@FlexibleLearning.com> William Prothero wrote > If I do: > put the properties of scrollbar "axisEntry" > I don't get anything in the message box. LC7.0 rC2, Mavericks. > > Bill The dictionary entry for Properties does need revising, but it is correct insofar as you get an array not a list. I think this does what you want... put the properties of scrollbar "axisEntry" into myArray put keys(myArray) Hugh Senior FLCo From pete at lcsql.com Thu Oct 9 16:42:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Oct 2014 13:42:28 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: <5436E9C0.9040402@hyperactivesw.com> References: <5436D582.8040606@hyperactivesw.com> <2FF0B37B-8F0F-47B7-B67E-78141D6E3B44@onechip.com> <5436E9C0.9040402@hyperactivesw.com> Message-ID: Certainly true about buttons not being focusable on OSX, not so sure about the focus changing when the button is clicked. I put the cursor into a field on a card then entered this in the message box: put the long name of the focusedObject & return & the focusedObject The first line of the output referred to my card (not the field that had focus) and the second line to a field in the revmessagebox stack. No button clicks involved but there's still an inconsistency depending on just how you refer to the focusedObject. But, easy to work round as you pointed out. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Oct 9, 2014 at 1:02 PM, J. Landman Gay wrote: > On 10/9/2014, 2:10 PM, John wrote: > >> While this may be the case in general, when the menubar script is: >> >> on mouseDown >> put the long name of the focusedObject & return & return & the >> focusedObject into field "results" >> end mouseDown >> >> The first part of the put (the long name of the focusedObject) results in >> a card on the main stack being written to the ?results? field and the >> second part of the put (the focusedObject) results in the field on the sub >> stack being written to the ?results? field. >> > > It still holds. Menus are buttons, buttons are not focusable on Mac, so > LC reports the card as focused. > > I haven't tracked the problem with two different values in your scripts, > but my first thought was like Mark's: on mouseDown the focus changes to the > menu button. Since buttons can't have focus on Mac, you get the card > reported instead. > > I almost never use focusedObject. The handler worked fine when you checked > the selectedfield, which is how I have always done it too. The discrepancy > you're seeing is interesting (and maybe worth a bug report,) but the > alternative method is easy enough. > > -- > 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 mikedoub at gmail.com Thu Oct 9 17:20:32 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 9 Oct 2014 17:20:32 -0400 Subject: Raspberry Pi and GPIO In-Reply-To: References: <44C707D1-7639-478B-A0DC-BC2EB6BB5B8A@gmail.com> Message-ID: <5974170E-1992-43D3-9252-AD579B3D15A5@gmail.com> Thanks Andrew. I did the following: 1) edit /etc/rc.local (sudo nano /etc/rc.local) 2) added the following 2 line near the end, but in front of the last line (exit 0) chgrp -R dialout /sys/class/gpio chmod -R g+rw /sys/class/gpio 3) saved file 4) rebooted This allowed me to do the shell commands with out needing to add the ?sudo? and to do livecode I/O. Playing with livecode I/O I have learned the following: setting the defaultfolder to ?/sys/class/gpio/gpio12? put the files?. gets me what I expect. I see the direction and value files as well as some others that I have yet to explore. putting the defaultfolder returns ?/sys/device/virtual/gpio/gpio12? Hummm, can livecode do I/O to virtual devices? Kind of?.. These do NOT work: put URL ?/sys/class/gpio/gpio12/value? or put 0 into URL ?/sys/class/gpio/gpio12/value? open file ?/sys/class/gpio/gpio12/value? for write write 0 to file ?/sys/class/gpio/gpio12/value? wait 1 second write 1 to file ?/sys/class/gpio/gpio12/value? close file ?/sys/class/gpio/gpio12/value? ? I suspect that the virtual driver keys off of the close to actually output the signal. This works quite well: open file ?/sys/class/gpio/gpio12/value? for write write 0 to file ?/sys/class/gpio/gpio12/value? close file ?/sys/class/gpio/gpio12/value? In fact it can be pretty fast, I could not see any blinking at all with _delay set to 0, 1 was flicker, 2 was the start of a true blink, 3,4,5 were solid blinks. on mouseup repeat with _delay = 0 to 5 repeat 10 times _output 0 wait _delay ticks _output 1 wait _delay ticks end repeat end repeat end mouse up on _output val open file ?/sys/class/gpio/gpio12/value? for write write val to file ?/sys/class/gpio/gpio12/value? close file ?/sys/class/gpio/gpio12/value? end _output Using the shell cmds were way too slow. Not even close to the performance of open, write, close. Hope this helps someone else playing with Raspberry Pi Regards, Mike On Oct 9, 2014, at 2:50 PM, Andrew Kluthe wrote: > No specific information I can help with but this seems like it might hold > some answers for you if you dig enough. > > http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=73924 > > On Thu, Oct 9, 2014 at 1:43 PM, Michael Doub wrote: > >> I think that I have now confirmed that it is a permission issue. I added >> a ?sudo? in front of the ?echo? command. Now everything seems to be >> working. >> >> I still have the question about how to give livecode the correct >> permissions to access this files as it would seem more logical to use to do >> direct IO to the files rather that to be forced to use a shell command. >> >> I am running as the default pi user. Should this user have different >> permissions? If so how do you grant them? >> >> Regards, >> Mike >> >> >> On Oct 9, 2014, at 2:21 PM, Michael Doub wrote: >> >>> I am looking for some help from some of you with unix/raspberry pi >> experience. >>> >>> I have think that I have installed 7.0 rc 1 on my raspberry pi B+ >> properly. I am trying to figure out how to play with the GPIO?s. >>> >>> I am am able to execute the following to set up the IO >>> >>> put shell("echo 12 > /sys/class/gpio/export") into dummy >>> >>> dummy is empty, However the next statement: >>> >>> put shell("echo out > /sys/class/gpio/gpio12/direction") into >> dummy >>> >>> >>> dummy contains the error message: >>> >>> bin/sh: cannot create /sys/class/gpio/gpio12/direction: Directory >> nonexistent >>> >>> When I use the terminal, I can see that the directory does exist and I >> am able to modify the contents to both set the IO direction and sucessfully >> turn the LED on and off. >>> >>> Could it be that I do not have the permission to create directories and >> modify files from livecode? How can I check this from livecode and fix >> it? ?. assuming this is in fact a permission issue. >>> >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 9 17:42:52 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 9 Oct 2014 17:42:52 -0400 Subject: FYI iTunes Connect bug In-Reply-To: <5974170E-1992-43D3-9252-AD579B3D15A5@gmail.com> References: <44C707D1-7639-478B-A0DC-BC2EB6BB5B8A@gmail.com> <5974170E-1992-43D3-9252-AD579B3D15A5@gmail.com> Message-ID: <006601cfe409$fb019fe0$f104dfa0$@net> It never ends with Apple and iOS 8/Xcode 6. I can't submit for review because the third question is missing from the web page. I had trouble getting onto the web site earlier today but chalked it up to a fluke and tried after lunch and had no problem logging on. Apple must have injected a bug into the web site. Other are having the same problem. See http://stackoverflow.com/questions/26286454/submit-for-review-button-grayed- out-xcode-6 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From zryip.theslug at gmail.com Thu Oct 9 18:10:13 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 10 Oct 2014 00:10:13 +0200 Subject: [ANN] Excel Library 1.3.3 - A new command for creating a Pivot Table from SQL and more. Message-ID: Dear LiveCode Users, The Excel Library 1.3.3 Commercial Version is released! In this version we have: 6 new commands and 1 new function - XCEL_Sheet_Visible_Set: sets the visibility of a worksheet. - XCEL_Sheet_Visible_Get - XCEL_PivotTable_New_FromSQL: creates a new Pivot Table linked to a SQL query (Windows only) - XCEL_PivotTable_Slicer_New: creates a new slicer for a Pivot Table (Windows only) - XCEL_PivotTable_Slicer_Activate: activates or deactives a slicer item. (Windows only) - XCEL_PivotTable_Slicer_Style_Set: sets the slicer style (color). (Windows only) - XCEL_PivotTable_Slicer_Delete: deletes a slicer. (Windows only) Slicers are Pivot table filters introduced in MS Excel 2010. Infortunatly the slicer object is not existing in MS Excel for Mac. And a fix: Command XCEL_Range_Values_Set for Windows is now properly working if the data to inject in a range is containing quotes. These new commands and functions are directly resulting from Excel Lib owners requests. The Excel Lib requires a copy of MS Excel installed on the computer for working. You can download the open source version of the Lib (version 1.0.1) by following this link: http://www.aslugontheroad.com/download/category/5-open-sources You can purchase a copy of the Excel Lib commercial version in your favorite store: https://livecode.com/store/marketplace/excel-library Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From gcanyon at gmail.com Thu Oct 9 18:17:45 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 9 Oct 2014 18:17:45 -0400 Subject: the "price" of a context switch/function call In-Reply-To: <009101cfe30c$70932d40$51b987c0$@net> References: <6B2DF2C9-359B-4222-B429-2294C5BED3F4@iotecdigital.com> <009101cfe30c$70932d40$51b987c0$@net> Message-ID: I took just about the worst case scenario: a single-line function I wrote a few weeks back: function isLeapYear Y return Y is a number and Y mod 4 = 0 and (Y mod 100 > 0 or Y mod 400 = 0) end isLeapYear If any function is going to pay the price for the cost of a function call, that's it -- there's minimal work to do in the actual function, so any overhead will be that much worse in proportion to how little actual work there is. Calling that with i = 1 to a million takes just over a second on my computer. If I inline the function, it takes 0.25 to 0.3 of a second. So the speed-up for inlining is substantial -- the overhead of calling the function is greater than the time spent on the actual code. But it's still not that bad. And any function with more than a few lines of code in it will be much less affected. From monte at sweattechnologies.com Thu Oct 9 19:08:48 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 10 Oct 2014 10:08:48 +1100 Subject: [ANN] New Android Externals Message-ID: Hi LiveCoders Today I am releasing two new android externals as public beta. Until there is an official SDK for Android external development they will remain in beta and only be available as a bonus to mergExt Complete users. The externals are: - mergZXing - This external allows you to implement either an embedded barcode reader control or to use a third party barcode reader (Barcode Reader or Barcode Reader +) by Intent. - mergAV - This external allows you to implement a camera control for recording video and taking photos. For the time being you need to swap the iOS external for the Android external in the standalone settings of your app depending on which platform you are building for. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From sc at sahores-conseil.com Thu Oct 9 19:28:13 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 10 Oct 2014 01:28:13 +0200 Subject: [ANN] New Android Externals In-Reply-To: References: Message-ID: <7C57B498-6128-4339-8FE2-7D58C580F892@sahores-conseil.com> Hi Monte, [This external allows you to implement either an embedded barcode reader?] Any shortcuts about the best options to choose to suit this way to go ? Best, Pierre PS : i use for yet the third party barcode reader way. Le 10 oct. 2014 ? 01:08, Monte Goulding a ?crit : > Hi LiveCoders > > Today I am releasing two new android externals as public beta. Until there is an official SDK for Android external development they will remain in beta and only be available as a bonus to mergExt Complete users. > > The externals are: > - mergZXing - This external allows you to implement either an embedded barcode reader control or to use a third party barcode reader (Barcode Reader or Barcode Reader +) by Intent. > - mergAV - This external allows you to implement a camera control for recording video and taking photos. > > For the time being you need to swap the iOS external for the Android external in the standalone settings of your app depending on which platform you are building for. > > Cheers > > Monte > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From monte at sweattechnologies.com Thu Oct 9 19:31:37 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 10 Oct 2014 10:31:37 +1100 Subject: [ANN] New Android Externals In-Reply-To: <7C57B498-6128-4339-8FE2-7D58C580F892@sahores-conseil.com> References: <7C57B498-6128-4339-8FE2-7D58C580F892@sahores-conseil.com> Message-ID: There's a demo stack in the external download and also the demo for iOS should work too because it's the same API. On 10 Oct 2014, at 10:28 am, Pierre Sahores wrote: > Hi Monte, > > [This external allows you to implement either an embedded barcode reader?] > > Any shortcuts about the best options to choose to suit this way to go ? > > Best, > > Pierre > > PS : i use for yet the third party barcode reader way. > > > Le 10 oct. 2014 ? 01:08, Monte Goulding a ?crit : > >> Hi LiveCoders >> >> Today I am releasing two new android externals as public beta. Until there is an official SDK for Android external development they will remain in beta and only be available as a bonus to mergExt Complete users. >> >> The externals are: >> - mergZXing - This external allows you to implement either an embedded barcode reader control or to use a third party barcode reader (Barcode Reader or Barcode Reader +) by Intent. >> - mergAV - This external allows you to implement a camera control for recording video and taking photos. >> >> For the time being you need to swap the iOS external for the Android external in the standalone settings of your app depending on which platform you are building for. >> >> Cheers >> >> Monte >> >> -- >> 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 > > -- > 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Thu Oct 9 19:33:48 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Oct 2014 18:33:48 -0500 Subject: Is this a bug or am I missing something? In-Reply-To: <0F025D0B-DF8A-4CEF-9B7C-7CB26AD598B9@onechip.com> References: <5436D582.8040606@hyperactivesw.com> <2FF0B37B-8F0F-47B7-B67E-78141D6E3B44@onechip.com> <5436E9C0.9040402@hyperactivesw.com> <0F025D0B-DF8A-4CEF-9B7C-7CB26AD598B9@onechip.com> Message-ID: <54371B5C.8010807@hyperactivesw.com> On 10/9/2014, 3:22 PM, John wrote: > The fog is lifting a bit and I can see why the card gets the focus. > That the focusedObject can change part way through a single line of > script is a bit unsettling. The original goal was to access a > property of a field to update the menus before they are shown and > using the selectedField seems solid. > > I don?t know if this is a bug or an observation. If anyone has an > opinion about submitting a bug report, I am happy to submit one. It can't hurt. The worst that can happen is they explain why it acts that way and close it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Thu Oct 9 19:59:52 2014 From: irog at mac.com (Roger Guay) Date: Thu, 09 Oct 2014 16:59:52 -0700 Subject: iOS Icon sizes? Splash screen sizes? In-Reply-To: References: Message-ID: <6DA05DB2-24F4-4AE4-ABA3-4C16F178A22C@mac.com> Very useful!! Thank you, ?Roger Roger On Oct 9, 2014, at 7:16 AM, Roger Eller wrote: > This creates all necessary sizes from a high res master image. > http://livecodeshare.runrev.com/stack/756/Scalini----image-scaler-for-resolution-independence > > The sizes were also detailed on one of the slides in a presentation by > Ralph DiMola at LiveCodeLIVE'14. > > ~Roger > > On Thu, Oct 9, 2014 at 1:11 AM, Chipp Walters wrote: > >> Where oh where would one find these? I have a great idea! Why not put a >> little button next to the fields in the Standalone builder to show info >> about them? >> >> *Icon sizes* >> iPhone >> Hi-Res iPhone >> iOS Hi-Res iPhone >> iPhone 6 Plus >> iPad >> Hi-Res iPad >> iOS 7 iPad >> iOS7 Hi-Res iPad >> >> *Splash Screens* >> iPhone >> Hi-Res iPhone >> 4 Inch iPhone >> iPhone 6 >> iPhone 6 Plus Portrait >> iPhone 6 Plus Lscape >> Hi-Res iPad Portrait >> Hi-Res iPad Landscape >> >> Chipp Walters >> ? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Thu Oct 9 19:59:46 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 10 Oct 2014 00:59:46 +0100 Subject: [ANN] New Android Externals In-Reply-To: References: <7C57B498-6128-4339-8FE2-7D58C580F892@sahores-conseil.com> Message-ID: You star Monte! What OS's are these compatible with (to the best of your knowledge) and which versions of LC can they be compiled from? Thanks Sean Cole *Pi Digital Productions Ltd* On 10 October 2014 00:31, Monte Goulding wrote: > There's a demo stack in the external download and also the demo for iOS > should work too because it's the same API. > > On 10 Oct 2014, at 10:28 am, Pierre Sahores > wrote: > > > Hi Monte, > > > > [This external allows you to implement either an embedded barcode > reader?] > > > > Any shortcuts about the best options to choose to suit this way to go ? > > > > Best, > > > > Pierre > > > > PS : i use for yet the third party barcode reader way. > > > > > > Le 10 oct. 2014 ? 01:08, Monte Goulding a > ?crit : > > > >> Hi LiveCoders > >> > >> Today I am releasing two new android externals as public beta. Until > there is an official SDK for Android external development they will remain > in beta and only be available as a bonus to mergExt Complete users. > >> > >> The externals are: > >> - mergZXing - This external allows you to implement either an embedded > barcode reader control or to use a third party barcode reader (Barcode > Reader or Barcode Reader +) by Intent. > >> - mergAV - This external allows you to implement a camera control for > recording video and taking photos. > >> > >> For the time being you need to swap the iOS external for the Android > external in the standalone settings of your app depending on which platform > you are building for. > >> > >> Cheers > >> > >> Monte > >> > >> -- > >> 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 > > > > -- > > 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 > > -- > 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 monte at sweattechnologies.com Thu Oct 9 20:03:58 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 10 Oct 2014 11:03:58 +1100 Subject: [ANN] New Android Externals In-Reply-To: References: <7C57B498-6128-4339-8FE2-7D58C580F892@sahores-conseil.com> Message-ID: I haven't tried working with them on anything but OS X but I don't think it would make any difference. On 10 Oct 2014, at 10:59 am, Sean Cole (Pi) wrote: > You star Monte! > > What OS's are these compatible with (to the best of your knowledge) and > which versions of LC can they be compiled from? > > Thanks > > Sean Cole > *Pi Digital Productions Ltd* > > > On 10 October 2014 00:31, Monte Goulding > wrote: > >> There's a demo stack in the external download and also the demo for iOS >> should work too because it's the same API. >> >> On 10 Oct 2014, at 10:28 am, Pierre Sahores >> wrote: >> >>> Hi Monte, >>> >>> [This external allows you to implement either an embedded barcode >> reader?] >>> >>> Any shortcuts about the best options to choose to suit this way to go ? >>> >>> Best, >>> >>> Pierre >>> >>> PS : i use for yet the third party barcode reader way. >>> >>> >>> Le 10 oct. 2014 ? 01:08, Monte Goulding a >> ?crit : >>> >>>> Hi LiveCoders >>>> >>>> Today I am releasing two new android externals as public beta. Until >> there is an official SDK for Android external development they will remain >> in beta and only be available as a bonus to mergExt Complete users. >>>> >>>> The externals are: >>>> - mergZXing - This external allows you to implement either an embedded >> barcode reader control or to use a third party barcode reader (Barcode >> Reader or Barcode Reader +) by Intent. >>>> - mergAV - This external allows you to implement a camera control for >> recording video and taking photos. >>>> >>>> For the time being you need to swap the iOS external for the Android >> external in the standalone settings of your app depending on which platform >> you are building for. >>>> >>>> Cheers >>>> >>>> Monte >>>> >>>> -- >>>> 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 >>> >>> -- >>> 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 >> >> -- >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Thu Oct 9 20:09:42 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Oct 2014 00:09:42 +0000 (UTC) Subject: Is this a bug or am I missing something? References: <198970355336.20141008223742@ahsoftware.net> <0DCA9CC5-015E-452B-845A-61C289B88C3C@onechip.com> <33C9D89C-6537-47C8-B677-D5FD62BDC9F4@onechip.com> Message-ID: John writes: > If I am thinking about this right, it means that the focusedObject was changing during the execution of the single line script. Yes, that's what I was trying to say. Sorry if it wasn't clear. -- Mark Wieder ahsoftware at gmail.com From david at rotundasoftware.com Thu Oct 9 20:25:16 2014 From: david at rotundasoftware.com (David Beck) Date: Thu, 9 Oct 2014 17:25:16 -0700 Subject: Codesigning standalones for Mac OS 10.9.5 Message-ID: Does anybody know what the status is with codesigning standalones built for Mac OS in a way that works with OS 10.9.5? I have not been able to find a definitive answer. I take it this article is out of date? http://revolution.screenstepslive.com/s/revolution/m/10695/l/112989 Has anybody had success and if so can you please share how you've done it? Thank you!! David Beck From john at onechip.com Thu Oct 9 20:37:34 2014 From: john at onechip.com (John) Date: Thu, 9 Oct 2014 17:37:34 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <0DCA9CC5-015E-452B-845A-61C289B88C3C@onechip.com> <33C9D89C-6537-47C8-B677-D5FD62BDC9F4@onechip.com> Message-ID: Mark, Rereading what you wrote it is clear - I was just being a bit thick. Some days it seems to take a while to get through. Thanks, John On Oct 9, 2014, at 5:09 PM, Mark Wieder wrote: > John writes: > >> If I am thinking about this right, it means that the focusedObject was > changing during the execution of the single line script. > > Yes, that's what I was trying to say. Sorry if it wasn't clear. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Oct 9 20:54:01 2014 From: paul at researchware.com (Paul Dupuis) Date: Thu, 09 Oct 2014 20:54:01 -0400 Subject: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: References: Message-ID: <54372E29.5090203@researchware.com> On 10/9/2014 8:25 PM, David Beck wrote: > Does anybody know what the status is with codesigning standalones built for > Mac OS in a way that works with OS 10.9.5? I have not been able to find a > definitive answer. I take it this article is out of date? > > http://revolution.screenstepslive.com/s/revolution/m/10695/l/112989 > > Has anybody had success and if so can you please share how you've done it? > > Thank you!! > > David Beck I'm looking for this info as well. From cszasz at me.com Thu Oct 9 23:04:24 2014 From: cszasz at me.com (Charles Szasz) Date: Thu, 09 Oct 2014 21:04:24 -0600 Subject: Any way to do this? Message-ID: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> Kay, I tried your suggestion. This works if your are pasting within LC but it does not paste into a document. By the way, I am using groups and not images. So I modified your script as follows: on mouseUp copy group id 20412 and group id 20413 end mouseUp Any other suggestions? Charles Szasz cszasz at mac.com From mwieder at ahsoftware.net Fri Oct 10 01:43:19 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Oct 2014 22:43:19 -0700 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <0DCA9CC5-015E-452B-845A-61C289B88C3C@onechip.com> <33C9D89C-6537-47C8-B677-D5FD62BDC9F4@onechip.com> Message-ID: <191057090368.20141009224319@ahsoftware.net> John- Thursday, October 9, 2014, 5:37:34 PM, you wrote: > Rereading what you wrote it is clear - I was just being a bit > thick. Some days it seems to take a while to get through. Well, to be fair, understanding what's going on here is not at all straightforward. -- -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 m.schonewille at economy-x-talk.com Fri Oct 10 02:05:22 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Oct 2014 08:05:22 +0200 Subject: Is this a bug or am I missing something? In-Reply-To: <198970355336.20141008223742@ahsoftware.net> References: <198970355336.20141008223742@ahsoftware.net> Message-ID: <54377722.9080509@economy-x-talk.com> Mark, This isn't true. If the traversalOn of a button it true, it can have focus. -- 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 10/9/2014 07:37, Mark Wieder wrote: > John- > > Buttons can't receive focus. The focus of your mainstack is on the > only control that can receive a focus, the result field. > > And it doesn't matter that you have clicked in the substack first. The > act of clicking in the menu shifts the focus to the main stack. > > What you are seeing in the result field is correct. > From t.heaford at btinternet.com Fri Oct 10 02:26:44 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 10 Oct 2014 07:26:44 +0100 Subject: use-livecode-bounces@lists.runrev.com Message-ID: Why do I occasionally get emails with this heading in my OSX Mail Junk folder? The email is full of technical stuff which is gibberish to me and seems to contain partial parts of the actual email and encrypted stuff. Thanks Terry From toolbook at kestner.de Fri Oct 10 05:39:41 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 10 Oct 2014 11:39:41 +0200 Subject: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: References: Message-ID: <001201cfe46e$1ec69520$5c53bf60$@de> Hi David, you just have to remove all manifest files from all revbundels within your app. Then codesigning works again on 10.9.5 as expected. See also my post: "OT: what does a manifest file?" Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von David Beck > Gesendet: Freitag, 10. Oktober 2014 02:25 > An: use-livecode at lists.runrev.com > Betreff: Codesigning standalones for Mac OS 10.9.5 > > Does anybody know what the status is with codesigning standalones built for > Mac OS in a way that works with OS 10.9.5? I have not been able to find a > definitive answer. I take it this article is out of date? > > http://revolution.screenstepslive.com/s/revolution/m/10695/l/112989 > > Has anybody had success and if so can you please share how you've done it? > > Thank you!! > > David Beck > _______________________________________________ > use-livecode mailing list > use-livecode at 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.gottwald at outrange.com Fri Oct 10 06:00:10 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 10 Oct 2014 12:00:10 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_18?= Message-ID: <20141010100010.9468.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From jhurley0305 at sbcglobal.net Fri Oct 10 08:02:09 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 10 Oct 2014 05:02:09 -0700 Subject: Getting a list of object properties In-Reply-To: References: Message-ID: <1AF7AA03-D34B-4148-8A6B-D0346C238BE7@sbcglobal.net> Message: 1 > Date: Thu, 9 Oct 2014 13:23:09 -0700 > From: Peter Haworth > To: How to use LiveCode > Subject: Re: Getting a list of object properties > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > On Thu, Oct 9, 2014 at 1:09 PM, William Prothero > wrote: > >> If I do: >> put the properties of scrollbar ?axisEntry" >> I don?t get anything in the message box. LC7.0 rC2, Mavericks. >> And then there is Richard?s Plugin ?4Wprops? which is more complete than ?the properties? For example it lists the Height and Width And Renaldi?s (spelling?) plugin ?SmartPropties? that allows one to compare the properties of two objects. This can be very useful. There?s a bug, but it works anyhow. Jacque, I?m missing something in your explanation of how to use the dictionary. From paul at researchware.com Fri Oct 10 09:39:08 2014 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Oct 2014 09:39:08 -0400 Subject: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <001201cfe46e$1ec69520$5c53bf60$@de> References: <001201cfe46e$1ec69520$5c53bf60$@de> Message-ID: <5437E17C.9050707@researchware.com> On 10/10/2014 5:39 AM, Tiemo Hollmann TB wrote: > Hi David, > you just have to remove all manifest files from all revbundels within your > app. Then codesigning works again on 10.9.5 as expected. > See also my post: "OT: what does a manifest file?" > Tiemo I never saw the answer to your post asking What is a manifest file? Could you repost what a manifest file is and where to find them in the bundle? From toolbook at kestner.de Fri Oct 10 11:33:21 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 10 Oct 2014 17:33:21 +0200 Subject: AW: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <5437E17C.9050707@researchware.com> References: <001201cfe46e$1ec69520$5c53bf60$@de> <5437E17C.9050707@researchware.com> Message-ID: <004501cfe49f$88a2d720$99e88560$@de> Hello Paul, I never got any answer, what a manifest file is. Either nobody here knows it, or it is so common knowledge, that it wasn't worth to answer. As far as I know, it is a kind of preference file, but I don't know, for what preferences and I don't know, why a bundle can live without it, if I remove it. You'll find it when you right click your app and let show the package content of your app at: Your.app/Contents/MacOS/Externals/revxxx.bundle/ - again right click and let show the package content of the bundle: /Manifest Remove this Manifest file in all revxxx.bundle in your app. I got the affirmation from Runrev, that I may delete these Manifest files and that they have addressed this issue as a bug, due to Apples changed directory guidelines. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Paul Dupuis > Gesendet: Freitag, 10. Oktober 2014 15:39 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: Codesigning standalones for Mac OS 10.9.5 > > On 10/10/2014 5:39 AM, Tiemo Hollmann TB wrote: > > Hi David, > > you just have to remove all manifest files from all revbundels within > > your app. Then codesigning works again on 10.9.5 as expected. > > See also my post: "OT: what does a manifest file?" > > Tiemo > > I never saw the answer to your post asking What is a manifest file? > Could you repost what a manifest file is and where to find them in the bundle? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp99 at gmail.com Fri Oct 10 11:56:12 2014 From: rjearp99 at gmail.com (Earp Robert J.) Date: Fri, 10 Oct 2014 08:56:12 -0700 Subject: Getting a list of object properties + Dictionary question Message-ID: <4EF75703-7845-4A32-8BE7-7847940EA447@gmail.com> They say you learn something new every day Jacque, and in my case/age I think that is because I forget something also!! The list is a great place to get brain cells talking to each other again, and many thanks for your frequent contributions. I'm using LC 6.6.3 on Mavericks and the Dictionary doesn't work as you suggest, it just sorts the contents of the dictionary columns by Type, which does put all the type "properties" together, but not all of the properties for a given object. Klaus's suggestion (put the properties of btn "foo" into tP;put the keys of tP) seems to be the easiest way of getting a list of an objects properties. However, whilst fiddling with the preferences for the documentation, I noticed that there was not one entry under the Notes column, plus there was no "btn" synonym for "button" which made me wonder what others were missing, plus the User Contributed Notes seemed very sparse. I'm not sure if I stuck it in the correct place, but I have submitted a User Contributed Note in "button" saying "btn" is a synonym of "button", and another in "properties" giving Klaus's suggestion to get a list of an objects properties. We'll see what happens ;-) best, Bob... Bob Earp - White Rock, British Columbia > You can see all the properties of any object in the dictionary: > > 1. Select the object in left-hand column. > 2. Click the "Type" header in the keyword list. That sorts the list by > type, and all the properties will be displayed together. > > As an aside, if you want to see information that isn't already shown, > look in Preferences in the Documentation pane. You can set the types of > information you want to display in the dictionary. There are more > choices than just the defaults. From sean at pidigital.co.uk Fri Oct 10 12:26:15 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 10 Oct 2014 17:26:15 +0100 Subject: [ANN] New Android Externals In-Reply-To: References: <7C57B498-6128-4339-8FE2-7D58C580F892@sahores-conseil.com> Message-ID: Hi, I meant Android OS's :) But I suppose the same applies to that also - Anything from 2.2 up. Thanks On 10 October 2014 01:03, Monte Goulding wrote: > I haven't tried working with them on anything but OS X but I don't think > it would make any difference. > > On 10 Oct 2014, at 10:59 am, Sean Cole (Pi) wrote: > > > You star Monte! > > > > What OS's are these compatible with (to the best of your knowledge) and > > which versions of LC can they be compiled from? > > > > Thanks > > > > Sean Cole > > *Pi Digital Productions Ltd* > > > > > > On 10 October 2014 00:31, Monte Goulding > > wrote: > > > >> There's a demo stack in the external download and also the demo for iOS > >> should work too because it's the same API. > >> > >> On 10 Oct 2014, at 10:28 am, Pierre Sahores > >> wrote: > >> > >>> Hi Monte, > >>> > >>> [This external allows you to implement either an embedded barcode > >> reader?] > >>> > >>> Any shortcuts about the best options to choose to suit this way to go ? > >>> > >>> Best, > >>> > >>> Pierre > >>> > >>> PS : i use for yet the third party barcode reader way. > >>> > >>> > >>> Le 10 oct. 2014 ? 01:08, Monte Goulding > a > >> ?crit : > >>> > >>>> Hi LiveCoders > >>>> > >>>> Today I am releasing two new android externals as public beta. Until > >> there is an official SDK for Android external development they will > remain > >> in beta and only be available as a bonus to mergExt Complete users. > >>>> > >>>> The externals are: > >>>> - mergZXing - This external allows you to implement either an embedded > >> barcode reader control or to use a third party barcode reader (Barcode > >> Reader or Barcode Reader +) by Intent. > >>>> - mergAV - This external allows you to implement a camera control for > >> recording video and taking photos. > >>>> > >>>> For the time being you need to swap the iOS external for the Android > >> external in the standalone settings of your app depending on which > platform > >> you are building for. > >>>> > >>>> Cheers > >>>> > >>>> Monte > >>>> > >>>> -- > >>>> 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 > >>> > >>> -- > >>> 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 > >> > >> -- > >> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 pete at lcsql.com Fri Oct 10 12:48:34 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 Oct 2014 09:48:34 -0700 Subject: Getting a list of object properties In-Reply-To: <1AF7AA03-D34B-4148-8A6B-D0346C238BE7@sbcglobal.net> References: <1AF7AA03-D34B-4148-8A6B-D0346C238BE7@sbcglobal.net> Message-ID: On Fri, Oct 10, 2014 at 5:02 AM, Jim Hurley wrote: > And then there is Richard?s Plugin ?4Wprops? which is more complete than > ?the properties? > For example it lists the Height and Width > Properties that can be derived from other properties are not included in the array returned by the properties; height and width fall into that category since they can be calculated from the rectangle. The rational is that only properties that are required in order to recreate an object need to be included. Unfortunately that means folks who are just curious about all the properties or who need a complete list for a plugin/application are left high and dry. It would be great if something like "the effective properties" could be implemented, or even a new keyword like "actual". As it is, folks like Richard and myself are forced to maintain their own internal lists of properties for plugins like 4WProps and lcStackbrowser when that list should be maintained by RunRev. The dictionary is also not always a good reference point for a list of properties although it is much better than it used to be. I gave RunRev a stack that checks properties against the dictionary and flags any with missing entries so they can run their own checks as part of their release process. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From paul at researchware.com Fri Oct 10 13:16:45 2014 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Oct 2014 13:16:45 -0400 Subject: AW: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <004501cfe49f$88a2d720$99e88560$@de> References: <001201cfe46e$1ec69520$5c53bf60$@de> <5437E17C.9050707@researchware.com> <004501cfe49f$88a2d720$99e88560$@de> Message-ID: <5438147D.8040409@researchware.com> On 10/10/2014 11:33 AM, Tiemo Hollmann TB wrote: > Hello Paul, > > I never got any answer, what a manifest file is. Either nobody here knows > it, or it is so common knowledge, that it wasn't worth to answer. As far as > I know, it is a kind of preference file, but I don't know, for what > preferences and I don't know, why a bundle can live without it, if I remove > it. > > You'll find it when you right click your app and let show the package > content of your app at: Your.app/Contents/MacOS/Externals/revxxx.bundle/ - > again right click and let show the package content of the bundle: /Manifest > > Remove this Manifest file in all revxxx.bundle in your app. > > I got the affirmation from Runrev, that I may delete these Manifest files > and that they have addressed this issue as a bug, due to Apples changed > directory guidelines. > > Tiemo Thank you. I also got back from RunRev their explanation of a manifest file. Unfortunately, that doesn't help in that my Standalone (and installer built in LiveCode) contain no externals and no manifest files. We get the "not an identified developer" error under Mavericks 10.9.5 (but not earlier versions) and under 10.8.5 (but not all instances of 10.8.5, so it may be just those with recent software updates) on signed apps that were signed MONTHs ago and had been downloading and running fine until this week. Weirder still, we can sign an app using App Wrapper under 10.8.5, make a DMG (using DropDMG), and upload the DMG to our web site and then download the DMG to the same 10.8.5 computer. The app on the downloaded DMG presents the "not an identified developer" warning when you try to launch it, but the same app, on the DMG before it was uploaded run without any warnings. If this change by Apple is for "security" only applying it to downloaded apps is not very smart. What if the app came by way of shared file server, etc. From jacque at hyperactivesw.com Fri Oct 10 13:17:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 12:17:55 -0500 Subject: use-livecode-bounces@lists.runrev.com In-Reply-To: References: Message-ID: <543814C3.901@hyperactivesw.com> On 10/10/2014, 1:26 AM, Terence Heaford wrote: > Why do I occasionally get emails with this heading in my OSX Mail > Junk folder? > > The email is full of technical stuff which is gibberish to me and > seems to contain partial parts of the actual email and encrypted > stuff. This vaguely rings a bell. It's a server rejection for spam, and I think if it's a reply to a post you made to the list, you're copied on the rejection bounce. I think. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 10 13:19:01 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 12:19:01 -0500 Subject: Getting a list of object properties In-Reply-To: <1AF7AA03-D34B-4148-8A6B-D0346C238BE7@sbcglobal.net> References: <1AF7AA03-D34B-4148-8A6B-D0346C238BE7@sbcglobal.net> Message-ID: <54381505.1020405@hyperactivesw.com> On 10/10/2014, 7:02 AM, Jim Hurley wrote: > Jacque, > I?m missing something in your explanation of how to use the dictionary. I'm not sure what part isn't clear? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Fri Oct 10 13:25:27 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 10 Oct 2014 10:25:27 -0700 Subject: Getting a list of object properties + Dictionary question In-Reply-To: <4EF75703-7845-4A32-8BE7-7847940EA447@gmail.com> References: <4EF75703-7845-4A32-8BE7-7847940EA447@gmail.com> Message-ID: Bob, I think you are missing the point of? > 1. Select the object in left-hand column. Look at the far left column, the top most word in this column is "All", go down to the "Object" section and click on one object, say "Field" or "Button" then follow point 2 in Jacque's instruction. I'm sure the light will come on! Paul -- also in BC On Oct 10, 2014, at 8:56 AM, Earp Robert J. wrote: > They say you learn something new every day Jacque, and in my case/age I think that is because I forget something also!! The list is a great place to get brain cells talking to each other again, and many thanks for your frequent contributions. > > I'm using LC 6.6.3 on Mavericks and the Dictionary doesn't work as you suggest, it just sorts the contents of the dictionary columns by Type, which does put all the type "properties" together, but not all of the properties for a given object. > > Klaus's suggestion (put the properties of btn "foo" into tP;put the keys of tP) seems to be the easiest way of getting a list of an objects properties. > > However, whilst fiddling with the preferences for the documentation, I noticed that there was not one entry under the Notes column, plus there was no "btn" synonym for "button" which made me wonder what others were missing, plus the User Contributed Notes seemed very sparse. > > I'm not sure if I stuck it in the correct place, but I have submitted a User Contributed Note in "button" saying "btn" is a synonym of "button", and another in "properties" giving Klaus's suggestion to get a list of an objects properties. We'll see what happens ;-) > > best, Bob... > > Bob Earp - White Rock, British Columbia > > >> You can see all the properties of any object in the dictionary: >> >> 1. Select the object in left-hand column. >> 2. Click the "Type" header in the keyword list. That sorts the list by >> type, and all the properties will be displayed together. >> >> As an aside, if you want to see information that isn't already shown, >> look in Preferences in the Documentation pane. You can set the types of >> information you want to display in the dictionary. There are more >> choices than just the defaults. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 10 13:30:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 12:30:02 -0500 Subject: AW: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <004501cfe49f$88a2d720$99e88560$@de> References: <001201cfe46e$1ec69520$5c53bf60$@de> <5437E17C.9050707@researchware.com> <004501cfe49f$88a2d720$99e88560$@de> Message-ID: <5438179A.1070000@hyperactivesw.com> On 10/10/2014, 10:33 AM, Tiemo Hollmann TB wrote: > I never got any answer, what a manifest file is. It's just a plist file that stores information about the app, like its name, version number, compatible files, icon resources, things like that. Finder uses plists to determine what documents an app can open and what icon to display, among other things. This info used to be stored in the app's resource fork back in OS 9, but when resource forks were discontinued, plists replaced that. I'm not sure how iOS uses plists, but it must be different if it doesn't hurt to delete them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 10 13:33:01 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 12:33:01 -0500 Subject: Getting a list of object properties + Dictionary question In-Reply-To: <4EF75703-7845-4A32-8BE7-7847940EA447@gmail.com> References: <4EF75703-7845-4A32-8BE7-7847940EA447@gmail.com> Message-ID: <5438184D.4020406@hyperactivesw.com> On 10/10/2014, 10:56 AM, Earp Robert J. wrote: > I'm using LC 6.6.3 on Mavericks and the Dictionary doesn't work as > you suggest, it just sorts the contents of the dictionary columns by > Type, which does put all the type "properties" together, but not all > of the properties for a given object. I'm using the same version and OS. Clicking the Type header does just do a sort, but I didn't know any properties were missing. They shouldn't be. Can you give an example so I can take a look? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 10 13:36:30 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 12:36:30 -0500 Subject: Getting a list of object properties In-Reply-To: References: <1AF7AA03-D34B-4148-8A6B-D0346C238BE7@sbcglobal.net> Message-ID: <5438191E.8010507@hyperactivesw.com> On 10/10/2014, 11:48 AM, Peter Haworth wrote: > The dictionary is also not always a good reference point for a list of > properties Ah. That would explain my last post. I do know that there are lots of synonyms and "see also"s that have been overlooked but I thought the basic properties would be intact. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Fri Oct 10 14:12:45 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 10 Oct 2014 14:12:45 -0400 Subject: urlsafe_base64 Message-ID: <26AF8369-D487-46DB-AF3C-25D0619ED4D5@gmail.com> Does anyone have a livecode equivalent for the ruby urlsafe_base64 function? urlsafe_base64(n=nil, padding=false) ::urlsafe_base64 generates a random URL-safe base64 string. The argument n specifies the length of the random length. The length of the result string is about 4/3 of n. If n is not specified, 16 is assumed. It may be larger in future. The boolean argument padding specifies the padding. If it is false or nil, padding is not generated. Otherwise padding is generated. By default, padding is not generated because ?=? may be used as a URL delimiter. The result may contain A-Z, a-z, 0-9, ?-? and ?_?. ?=? is also used if padding is true. http://www.ruby-doc.org/stdlib-1.9.3/libdoc/securerandom/rdoc/SecureRandom.html#method-c-urlsafe_base64 From mwieder at ahsoftware.net Fri Oct 10 15:01:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Oct 2014 19:01:38 +0000 (UTC) Subject: Is this a bug or am I missing something? References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> Message-ID: Mark Schonewille writes: > This isn't true. If the traversalOn of a button it true, it can have focus. Right. I stand corrected. But that doesn't apply to menu buttons. -- Mark Wieder ahsoftware at gmail.com From m.schonewille at economy-x-talk.com Fri Oct 10 15:58:33 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Oct 2014 21:58:33 +0200 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> Message-ID: <54383A69.5040806@economy-x-talk.com> Mark, Wrong again. Create a menu button, set its traversalOn to true, press tab and use the arrow keys to navigate the menu. -- 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 10/10/2014 21:01, Mark Wieder wrote: > Mark Schonewille writes: > >> This isn't true. If the traversalOn of a button it true, it can have focus. > > Right. I stand corrected. > But that doesn't apply to menu buttons. > From bobsneidar at iotecdigital.com Fri Oct 10 17:51:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Oct 2014 21:51:13 +0000 Subject: Answer File (RESOLVED) Message-ID: Hi all. I know this has been answered but I though I would post what I have found working with the answer file command and OS X. First, the dictionary does not make it all that clear how this works. For the type, you MUST supply at least the first and second pipe delimited values eg. ?Adobe Acrobat Files|PDF". Using only ?pdf? DOES NOT WORK! This will effectively IGNORE the type argument and allow you to select ALL files! You MUST supply at least 2 piped items, even if the first item is blank! Secondly, wildcards do not seem to work in the type form, and the filter form does not work on OS X either. You will not be able to select ANY files using this form. Apparently it doesn?t matter a WHIT what you put in the first or the 3rd pipe delimited item. I put ?BLAH? in the third and got only PDF?s. I put "Adobe PDF document? (from the Get Info dialog) but put nothing in the 2nd item and could select ANYTHING even apps. So to sum it up, the ONLY thing that matters is the second item. You can also provide a return delimited list of these piped entries for multiple selections. I hope this helps some Mac Users out there who are as befuddled as I was with the answer files command. If you are developing for multiple platforms that include OS X and Windows, you will need to test for the Platform and conditionally branch from there. Bob S From mwieder at ahsoftware.net Fri Oct 10 17:55:31 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Oct 2014 21:55:31 +0000 (UTC) Subject: Is this a bug or am I missing something? References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> Message-ID: Mark Schonewille writes: > Wrong again. Create a menu button, set its traversalOn to true, press > tab and use the arrow keys to navigate the menu. Hmm... I did that before posting. I'm unable to have the focusedObject be a menu button on osx. I'll check again when I get the chance - possibly I did something wrong in the test. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Oct 10 18:04:59 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 17:04:59 -0500 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> Message-ID: <5438580B.1050509@hyperactivesw.com> On 10/10/2014, 4:55 PM, Mark Wieder wrote: > Mark Schonewille writes: > >> Wrong again. Create a menu button, set its traversalOn to true, press >> tab and use the arrow keys to navigate the menu. > > Hmm... I did that before posting. I'm unable to have the focusedObject be a > menu button on osx. I'll check again when I get the chance - possibly I did > something wrong in the test. > Is keyboard navigation the same thing as being the focusedObject? LC always selects the first focusable object on opencard, and on OS X it never selects a button. On Windows it does. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Fri Oct 10 18:01:29 2014 From: sundown at pacifier.com (JB) Date: Fri, 10 Oct 2014 15:01:29 -0700 Subject: Answer File (RESOLVED) In-Reply-To: References: Message-ID: It kind of explains it. I previously had trouble with the answer file filtering and gave up. You mentioned you needed to list the Adobe etc, & not just .pdf. How about jpg and jpeg there are many applications that use these types. How about providing a sample script that will let me filter everything but jpg, jpeg, rev, gif, text, db. John Balgenorth \ On Oct 10, 2014, at 2:51 PM, Bob Sneidar wrote: > Hi all. > > I know this has been answered but I though I would post what I have found working with the answer file command and OS X. > > First, the dictionary does not make it all that clear how this works. For the type, you MUST supply at least the first and second pipe delimited values eg. ?Adobe Acrobat Files|PDF". Using only ?pdf? DOES NOT WORK! This will effectively IGNORE the type argument and allow you to select ALL files! You MUST supply at least 2 piped items, even if the first item is blank! > > Secondly, wildcards do not seem to work in the type form, and the filter form does not work on OS X either. You will not be able to select ANY files using this form. Apparently it doesn?t matter a WHIT what you put in the first or the 3rd pipe delimited item. I put ?BLAH? in the third and got only PDF?s. I put "Adobe PDF document? (from the Get Info dialog) but put nothing in the 2nd item and could select ANYTHING even apps. > > So to sum it up, the ONLY thing that matters is the second item. You can also provide a return delimited list of these piped entries for multiple selections. > > I hope this helps some Mac Users out there who are as befuddled as I was with the answer files command. If you are developing for multiple platforms that include OS X and Windows, you will need to test for the Platform and conditionally branch from there. > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Oct 10 18:09:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Oct 2014 22:09:13 +0000 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> Message-ID: <30CD3585-6F5B-401D-A520-FA590FCFAD94@iotecdigital.com> Not sure why it matters. You cannot tab to an OS X button even if traversal on is true, unless of course you set some system property that escapes me at the moment to make you stack look and act like an ugly OS 9 hypercard-ish monstrosity. I even tried scripting to focus on the button, but it didn?t hilite. The focusedObject turns out to be a field. On OS X buttons cannot seem to receive the focus even if traversalOn is true, unless there is some other property involved that I do not know about. Bob S On Oct 10, 2014, at 14:55 , Mark Wieder wrote: > Mark Schonewille writes: > >> Wrong again. Create a menu button, set its traversalOn to true, press >> tab and use the arrow keys to navigate the menu. > > Hmm... I did that before posting. I'm unable to have the focusedObject be a > menu button on osx. I'll check again when I get the chance - possibly I did > something wrong in the test. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Oct 10 18:13:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Oct 2014 22:13:15 +0000 Subject: Answer File (RESOLVED) In-Reply-To: References: Message-ID: <66C6CC9C-0237-4322-9460-5A72F2AAD2B6@iotecdigital.com> The filter is inclusive, not exclusive. You would need to include every file type on your computer EXCEPT the ones you want to exclude. That of course, is not practical. As I mentioned but did not likely make entirely clear, the *only* piped item that matters is the second one, or the second one in each line of a return delimited list. For example: ?JPEG Files|jpg? ?|jpeg? will allow you to select files of type JPG and JPEG. Not sure if the TYPE form will work on Windows. If it does then the FILTER form is essentially deprecated. Bob S On Oct 10, 2014, at 15:01 , JB > wrote: It kind of explains it. I previously had trouble with the answer file filtering and gave up. You mentioned you needed to list the Adobe etc, & not just .pdf. How about jpg and jpeg there are many applications that use these types. How about providing a sample script that will let me filter everything but jpg, jpeg, rev, gif, text, db. John Balgenorth From m.schonewille at economy-x-talk.com Fri Oct 10 18:15:37 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Oct 2014 00:15:37 +0200 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> Message-ID: <54385A89.1030505@economy-x-talk.com> Mark, It might be different on OSX. I'm using Windows today. Also, I've now noticed that you need to click in the card and not on the title bar to enable navigation by arrow keys --seems a small bug to me. -- 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 10/10/2014 23:55, Mark Wieder wrote: > Mark Schonewille writes: > >> Wrong again. Create a menu button, set its traversalOn to true, press >> tab and use the arrow keys to navigate the menu. > > Hmm... I did that before posting. I'm unable to have the focusedObject be a > menu button on osx. I'll check again when I get the chance - possibly I did > something wrong in the test. > From sundown at pacifier.com Fri Oct 10 18:13:08 2014 From: sundown at pacifier.com (JB) Date: Fri, 10 Oct 2014 15:13:08 -0700 Subject: Answer File (RESOLVED) In-Reply-To: <66C6CC9C-0237-4322-9460-5A72F2AAD2B6@iotecdigital.com> References: <66C6CC9C-0237-4322-9460-5A72F2AAD2B6@iotecdigital.com> Message-ID: <0C364010-78F0-4910-A9E4-21DA967260A7@pacifier.com> Thank you, Bob. I have a better understanding of it now. John Balgenorth On Oct 10, 2014, at 3:13 PM, Bob Sneidar wrote: > The filter is inclusive, not exclusive. You would need to include every file type on your computer EXCEPT the ones you want to exclude. That of course, is not practical. > > As I mentioned but did not likely make entirely clear, the *only* piped item that matters is the second one, or the second one in each line of a return delimited list. For example: > > ?JPEG Files|jpg? > ?|jpeg? > > will allow you to select files of type JPG and JPEG. Not sure if the TYPE form will work on Windows. If it does then the FILTER form is essentially deprecated. > > Bob S > > > On Oct 10, 2014, at 15:01 , JB > wrote: > > It kind of explains it. I previously had trouble > with the answer file filtering and gave up. You > mentioned you needed to list the Adobe etc, & > not just .pdf. How about jpg and jpeg there are > many applications that use these types. > > How about providing a sample script that will let > me filter everything but jpg, jpeg, rev, gif, text, db. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Fri Oct 10 18:35:49 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 10 Oct 2014 18:35:49 -0400 Subject: Proper error handling in a setprop Message-ID: Can anyone advise me on the options that we have for dealing with errors that are encountered while executing in a setprop? I was thinking of using set prop to turn on and off the GPIOs on a raspberry pi. I have commands doing it now and it is working fine. Do you throw an error and assume the user is calling the set prop inside of a try statement? Are there other ways? Thanks in advance Mike From ambassador at fourthworld.com Fri Oct 10 18:48:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Oct 2014 15:48:31 -0700 Subject: Android woes Message-ID: <5438623F.6000100@fourthworld.com> Many moons ago I had a good setup with building on Android, but I've since moved my work to new computers, and can no longer set up a working install for building on Android. Two main problems: 1. All versions prior to v7: LiveCode will not accept the Android SDK folder I select, even though selecting the same SDK folder with v7 works fine. 2. Building with v7 (since that's the only version that accepts my SDK folder), it builds the app without complaint but when I run it in the emulator it stars briefly to a black screen and then immediately quits. Simple app - no code, just one button to see if I can get it to run. Apparently this exit is happening before script interpretation comes into play, as I've added a preOpenStack handler that puts up an answer dialog, and that doesn't show either. I have the same results with OS X and Ubuntu. Anyone else seen these issues? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Fri Oct 10 19:03:22 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Oct 2014 23:03:22 +0000 (UTC) Subject: Is this a bug or am I missing something? References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> <54385A89.1030505@economy-x-talk.com> Message-ID: Mark Schonewille writes: > It might be different on OSX. It's *very* different on osx, or at least different from linux, because on osx the menubar takes on a life of its own and is no longer visually on the card. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Oct 10 19:04:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 18:04:00 -0500 Subject: Android woes In-Reply-To: <5438623F.6000100@fourthworld.com> References: <5438623F.6000100@fourthworld.com> Message-ID: <543865E0.9080505@hyperactivesw.com> On 10/10/2014, 5:48 PM, Richard Gaskin wrote: > Many moons ago I had a good setup with building on Android, but I've > since moved my work to new computers, and can no longer set up a working > install for building on Android. > > Two main problems: > > 1. All versions prior to v7: LiveCode will not accept the Android SDK > folder I select, even though selecting the same SDK folder with v7 works > fine. > > 2. Building with v7 (since that's the only version that accepts my SDK > folder), it builds the app without complaint but when I run it in the > emulator it stars briefly to a black screen and then immediately quits. > Simple app - no code, just one button to see if I can get it to run. > Apparently this exit is happening before script interpretation comes > into play, as I've added a preOpenStack handler that puts up an answer > dialog, and that doesn't show either. > > I have the same results with OS X and Ubuntu. > > Anyone else seen these issues? > I'm not sure about the v7 launch problem, but the workaround v6 not recognizing the SDK is here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Fri Oct 10 19:13:29 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Oct 2014 01:13:29 +0200 Subject: Is this a bug or am I missing something? In-Reply-To: References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> <54385A89.1030505@economy-x-talk.com> Message-ID: <54386819.7090709@economy-x-talk.com> That's true, Mark, but my point was only that menu buttons can have focus. Apparently, it doesn't make a difference to OP. -- 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 10/11/2014 01:03, Mark Wieder wrote: > Mark Schonewille writes: > >> It might be different on OSX. > > It's *very* different on osx, or at least different from linux, because on > osx the menubar takes on a life of its own and is no longer visually on the > card. > From jhurley0305 at sbcglobal.net Fri Oct 10 19:32:43 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 10 Oct 2014 16:32:43 -0700 Subject: Getting a list of object properties In-Reply-To: References: Message-ID: <1F7D3F3A-D894-4BD4-8067-86621517F9B4@sbcglobal.net> > > Message: 10 > Date: Fri, 10 Oct 2014 12:19:01 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Getting a list of object properties > Message-ID: <54381505.1020405 at hyperactivesw.com> > Content-Type: text/plain; charset=windows-1252; format=flowed > > On 10/10/2014, 7:02 AM, Jim Hurley wrote: >> Jacque, >> I?m missing something in your explanation of how to use the dictionary. > > I'm not sure what part isn't clear? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > Hi Jacque, I found the problem. I had something left over from a previous search in the dictionary--upper right hand corner of the Dictionary window. That puts all keywords connected with that search into the window below and so blocks out the properties list you spoke of. Jim From rjearp99 at gmail.com Fri Oct 10 20:05:23 2014 From: rjearp99 at gmail.com (Robert J. Earp) Date: Fri, 10 Oct 2014 17:05:23 -0700 Subject: Getting a list of object properties + Dictionary question Message-ID: Thanks Paul, light bulb duly switched on !! I thought Jacque was referring to the left-hand Keyword column, duh :-P Happy Thanksgiving BTW :-) best, Bob... > Bob, > > I think you are missing the point of? > >> 1. Select the object in left-hand column. > > Look at the far left column, the top most word in this column is "All", go down to the "Object" section and click on one object, say "Field" or "Button" then follow point 2 in Jacque's instruction. I'm sure the light will come on! > > Paul -- also in BC From jacque at hyperactivesw.com Fri Oct 10 20:10:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 19:10:46 -0500 Subject: Is this a bug or am I missing something? In-Reply-To: <54386819.7090709@economy-x-talk.com> References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> <54385A89.1030505@economy-x-talk.com> <54386819.7090709@economy-x-talk.com> Message-ID: The OP wondered why the focusedObject didn't work for buttons on OS X. It's because buttons can't have focus there. On October 10, 2014 6:13:29 PM CDT, Mark Schonewille wrote: >That's true, Mark, but my point was only that menu buttons can have >focus. Apparently, it doesn't make a difference to OP. > >-- >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 10/11/2014 01:03, Mark Wieder wrote: >> Mark Schonewille writes: >> >>> It might be different on OSX. >> >> It's *very* different on osx, or at least different from linux, >because on >> osx the menubar takes on a life of its own and is no longer visually >on the >> card. >> > >_______________________________________________ >use-livecode mailing list >use-livecode 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 Fri Oct 10 20:13:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Oct 2014 00:13:57 +0000 (UTC) Subject: Is this a bug or am I missing something? References: <198970355336.20141008223742@ahsoftware.net> <54377722.9080509@economy-x-talk.com> <54383A69.5040806@economy-x-talk.com> <54385A89.1030505@economy-x-talk.com> <54386819.7090709@economy-x-talk.com> Message-ID: Mark Schonewille writes: > > That's true, Mark, but my point was only that menu buttons can have > focus. Apparently, it doesn't make a difference to OP. No, that's *exactly* the point. If you look at the code in his sample stack, he's tracking the focusedObject when a menu button is clicked. And the focus doesn't follow to the menu button on osx, hence the confusion about where the focus shifts. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Oct 10 21:16:47 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Oct 2014 18:16:47 -0700 Subject: Android woes In-Reply-To: <543865E0.9080505@hyperactivesw.com> References: <543865E0.9080505@hyperactivesw.com> Message-ID: <543884FF.2010604@fourthworld.com> J. Landman Gay wrote: > On 10/10/2014, 5:48 PM, Richard Gaskin wrote: >> Many moons ago I had a good setup with building on Android, but I've >> since moved my work to new computers, and can no longer set up a working >> install for building on Android. >> >> Two main problems: >> >> 1. All versions prior to v7: LiveCode will not accept the Android SDK >> folder I select, even though selecting the same SDK folder with v7 works >> fine. >> >> 2. Building with v7 (since that's the only version that accepts my SDK >> folder), it builds the app without complaint but when I run it in the >> emulator it stars briefly to a black screen and then immediately quits. >> Simple app - no code, just one button to see if I can get it to run. >> Apparently this exit is happening before script interpretation comes >> into play, as I've added a preOpenStack handler that puts up an answer >> dialog, and that doesn't show either. >> >> I have the same results with OS X and Ubuntu. >> >> Anyone else seen these issues? > > I'm not sure about the v7 launch problem, but the workaround v6 not > recognizing the SDK is here: > > Thanksm Jacque. LC 6.7 now accepts my Android SDK folder, so I can build with that version now (though oddly that bug report is from July, and the issue is still outstanding, several builds later). But my one-card-no-code app still won't stay up. With 6.7 at least the answer dialog I have coming from a preOpenStack handler shows, but the app itself is a black screen that quits as soon as it starts to render. I've tried settings for Android 2.2, and per a note from you in the forums also tried 2.3.3, even tried changing accelleratedRendering to true and to false, and the compositor to "software", all to no avail. I know it's possible because others are doing this every day; there must be one step I'm missing from the process.... -- 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 dunbarx at aol.com Fri Oct 10 21:53:05 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 10 Oct 2014 21:53:05 -0400 Subject: Proper error handling in a setprop In-Reply-To: References: Message-ID: <8D1B30D3B4A025F-858-12801@webmail-vm178.sysops.aol.com> I am missing what you are asking. A setProp control structure is similar to a command control structure. It triggers when the explicitly associated custom property is changed. Once started, it acts like any other handler, executing statements and perhaps placing a new value into the property. Errors would appear normally, like in any handler, where the engine stops execution and you deal as you please with the situation. They could not be placed in a "try" structure. They are themselves control structures. No control structure can be placed inside another: on doThis on doThat end doThat end doThis No, no. None of that. Or do I have this totally wrong? Craig Newman -----Original Message----- From: Michael Doub To: How To use LiveCode use LiveCode Sent: Fri, Oct 10, 2014 6:37 pm Subject: Proper error handling in a setprop Can anyone advise me on the options that we have for dealing with errors that are encountered while executing in a setprop? I was thinking of using set prop to turn on and off the GPIOs on a raspberry pi. I have commands doing it now and it is working fine. Do you throw an error and assume the user is calling the set prop inside of a try statement? Are there other ways? Thanks in advance 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 From jacque at hyperactivesw.com Sat Oct 11 00:19:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 23:19:10 -0500 Subject: Getting a list of object properties In-Reply-To: <1F7D3F3A-D894-4BD4-8067-86621517F9B4@sbcglobal.net> References: <1F7D3F3A-D894-4BD4-8067-86621517F9B4@sbcglobal.net> Message-ID: <5438AFBE.3010007@hyperactivesw.com> On 10/10/2014, 6:32 PM, Jim Hurley wrote: > I found the problem. I had something left over from a previous search > in the dictionary--upper right hand corner of the Dictionary window. I wish I had a nickel for every time I've done that. Another thing I do is forget to choose "All" in the category list at the left, and then get PO'ed when I think a term isn't in the dictionary. Naturally I only do this kind of dumb stuff so others won't have to. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Oct 11 00:22:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Oct 2014 23:22:04 -0500 Subject: Android woes In-Reply-To: <543884FF.2010604@fourthworld.com> References: <543865E0.9080505@hyperactivesw.com> <543884FF.2010604@fourthworld.com> Message-ID: <5438B06C.2020505@hyperactivesw.com> On 10/10/2014, 8:16 PM, Richard Gaskin wrote: > LC 6.7 now accepts my Android SDK folder, so I can build with that > version now (though oddly that bug report is from July, and the issue is > still outstanding, several builds later). > > But my one-card-no-code app still won't stay up. With 6.7 at least the > answer dialog I have coming from a preOpenStack handler shows, but the > app itself is a black screen that quits as soon as it starts to render. I'm way behind on mobile, since I've been working on desktop apps for the last 18 months. But back in the day, the black screen happened to me when I didn't have the full SDK downloaded. So I just bit the bullet and downloaded all the stuff except for packages for vendors I didn't care about and the example files. Things may have changed since then. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Sat Oct 11 05:50:34 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 11 Oct 2014 11:50:34 +0200 Subject: AW: AW: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <5438179A.1070000@hyperactivesw.com> References: <001201cfe46e$1ec69520$5c53bf60$@de> <5437E17C.9050707@researchware.com> <004501cfe49f$88a2d720$99e88560$@de> <5438179A.1070000@hyperactivesw.com> Message-ID: <001501cfe538$ce3edfb0$6abc9f10$@de> Hi Jacqueline, thanks for claryfing. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von J. Landman Gay > Gesendet: Freitag, 10. Oktober 2014 19:30 > An: How to use LiveCode > Betreff: Re: AW: AW: Codesigning standalones for Mac OS 10.9.5 > > On 10/10/2014, 10:33 AM, Tiemo Hollmann TB wrote: > > I never got any answer, what a manifest file is. > > It's just a plist file that stores information about the app, like its name, > version number, compatible files, icon resources, things like that. Finder > uses plists to determine what documents an app can open and what icon to > display, among other things. This info used to be stored in the app's resource > fork back in OS 9, but when resource forks were discontinued, plists replaced > that. > > I'm not sure how iOS uses plists, but it must be different if it doesn't hurt > to delete 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 bernd.gottwald at outrange.com Sat Oct 11 06:00:08 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 11 Oct 2014 12:00:08 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_133,_Issue_20?= Message-ID: <20141011100008.7718.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From toolbook at kestner.de Sat Oct 11 06:34:11 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 11 Oct 2014 12:34:11 +0200 Subject: AW: AW: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <5438147D.8040409@researchware.com> References: <001201cfe46e$1ec69520$5c53bf60$@de> <5437E17C.9050707@researchware.com> <004501cfe49f$88a2d720$99e88560$@de> <5438147D.8040409@researchware.com> Message-ID: <001e01cfe53e$e6afd5d0$b40f8170$@de> Hello Paul, The thing with signing on 10.8 and downloading again on 10.8. with this message sounds really weired. Could it be by chance, that your certificate is expired? Just a guess Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Paul Dupuis > Gesendet: Freitag, 10. Oktober 2014 19:17 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: AW: Codesigning standalones for Mac OS 10.9.5 > > On 10/10/2014 11:33 AM, Tiemo Hollmann TB wrote: > > Hello Paul, > > > > I never got any answer, what a manifest file is. Either nobody here > > knows it, or it is so common knowledge, that it wasn't worth to > > answer. As far as I know, it is a kind of preference file, but I don't > > know, for what preferences and I don't know, why a bundle can live > > without it, if I remove it. > > > > You'll find it when you right click your app and let show the package > > content of your app at: > > Your.app/Contents/MacOS/Externals/revxxx.bundle/ - again right click > > and let show the package content of the bundle: /Manifest > > > > Remove this Manifest file in all revxxx.bundle in your app. > > > > I got the affirmation from Runrev, that I may delete these Manifest > > files and that they have addressed this issue as a bug, due to Apples > > changed directory guidelines. > > > > Tiemo > > Thank you. I also got back from RunRev their explanation of a manifest file. > Unfortunately, that doesn't help in that my Standalone (and installer built in > LiveCode) contain no externals and no manifest files. > We get the "not an identified developer" error under Mavericks 10.9.5 (but not > earlier versions) and under 10.8.5 (but not all instances of 10.8.5, so it may > be just those with recent software updates) on signed apps that were signed > MONTHs ago and had been downloading and running fine until this week. > > Weirder still, we can sign an app using App Wrapper under 10.8.5, make a DMG > (using DropDMG), and upload the DMG to our web site and then download the DMG > to the same 10.8.5 computer. The app on the downloaded DMG presents the "not > an identified developer" warning when you try to launch it, but the same app, > on the DMG before it was uploaded run without any warnings. > > If this change by Apple is for "security" only applying it to downloaded apps > is not very smart. What if the app came by way of shared file server, etc. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Oct 11 08:47:53 2014 From: paul at researchware.com (Paul Dupuis) Date: Sat, 11 Oct 2014 08:47:53 -0400 Subject: AW: AW: AW: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: <001e01cfe53e$e6afd5d0$b40f8170$@de> References: <001201cfe46e$1ec69520$5c53bf60$@de> <5437E17C.9050707@researchware.com> <004501cfe49f$88a2d720$99e88560$@de> <5438147D.8040409@researchware.com> <001e01cfe53e$e6afd5d0$b40f8170$@de> Message-ID: <543926F9.2050600@researchware.com> On 10/11/2014 6:34 AM, Tiemo Hollmann TB wrote: > Hello Paul, > The thing with signing on 10.8 and downloading again on 10.8. with this > message sounds really weired. Could it be by chance, that your certificate > is expired? > Just a guess > Tiemo Nope. Unfortunately, the "Security Update 2014-004 1.0" software update for Mountain Lion 10.8.5 effectively applies the same signing framework change as the 10.9.5 updated does to Mavericks. Versions of Mountain Lion which have not applied the Security Update 2014-004 1.0 update recognize our signed apps just fine (as does any Lion or Snow Leapard system with security set to "Mac App Store and Identified Developers". Versions of Mavericks at 10.9.4 or earlier also recognize our signed apps fine. However, Mountain Lion with the "Security Update 2014-004 1.0" update (the most recent sw update for Mtn Lion) and Mavericks with the 10.9.5 update do not. How I dislike Apple's totalitarian style of doing things! Be warned folks - if you have signed apps, Mtn Lion and Mavericks users who apply Apple updates as soon as they are notified will likely find that your signed apps are no longer recognized as from an identified developer when downloaded. From lan.kc.macmail at gmail.com Sat Oct 11 09:32:15 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 11 Oct 2014 21:32:15 +0800 Subject: Any way to do this? In-Reply-To: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> Message-ID: Hi Charles, If I remember your original post asked about copying multiple images, so my suggestion was for images. I'm not sure what you want is possible because LC Groups are only recognised by LC, as far as I'm aware there in NO other application (other than MetaCard) that recognises what a group is. If the group contains multiple images then you need to refer to each of those images individually. If you are using groups because you want the specific layout of the images and any borders around them, then a possible solution maybe to take a snapshot of the group. Look up snapshot in the Dictionary. HTH On Fri, Oct 10, 2014 at 11:04 AM, Charles Szasz wrote: > Kay, > > I tried your suggestion. This works if your are pasting within LC but it > does not paste into a document. By the way, I am using groups and not > images. > > So I modified your script as follows: > > > on mouseUp > copy group id 20412 and group id 20413 > end mouseUp > > Any other suggestions? > > > Charles Szasz > cszasz at mac.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 Sat Oct 11 09:45:50 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 11 Oct 2014 09:45:50 -0400 Subject: use-livecode Digest, Vol 133, Issue 20 In-Reply-To: <20141011100008.7718.qmail@divico2.ch-meta.net> References: <20141011100008.7718.qmail@divico2.ch-meta.net> Message-ID: On Oct 11, 2014, at 6:00 AM, bernd.gottwald at outrange.com wrote: > Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. > > > > I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. So I guess we'll be getting these until Dec 10, huh? It's a good reminder to anyone who intends to activate vacation auto-reply in their email client -- when you go away, you should cancel your subscription to the list and then sign up again when you return. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From m.schonewille at economy-x-talk.com Sat Oct 11 09:48:51 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Oct 2014 15:48:51 +0200 Subject: use-livecode Digest, Vol 133, Issue 20 In-Reply-To: References: <20141011100008.7718.qmail@divico2.ch-meta.net> Message-ID: <54393543.1050106@economy-x-talk.com> 12.10.2014 is 12th October, Peter. -- 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 10/11/2014 15:45, Peter M. Brigham wrote: > On Oct 11, 2014, at 6:00 AM, bernd.gottwald at outrange.com wrote: > >> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. >> >> >> >> I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. > > So I guess we'll be getting these until Dec 10, huh? It's a good reminder to anyone who intends to activate vacation auto-reply in their email client -- when you go away, you should cancel your subscription to the list and then sign up again when you return. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > From ray at linkit.com Sat Oct 11 09:57:52 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 10:57:52 -0300 Subject: Could not Compile Application Class In-Reply-To: References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> Message-ID: <54393760.8080102@LinkIt.Com> I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, and I'm getting an error of "could not compile application class" when I try to save as a simple "Hello World" standalone for Android. Sounds like something you'd see in Visual Studio C sharp or something, not a very Livecode type of an error. Any ideas? From m.schonewille at economy-x-talk.com Sat Oct 11 10:00:47 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Oct 2014 16:00:47 +0200 Subject: Could not Compile Application Class In-Reply-To: <54393760.8080102@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> Message-ID: <5439380F.3060503@economy-x-talk.com> Hi Ray, Did you recently re-install or update LiveCode? Have a look at the preferences. LiveCode may have forgotten where to look for the Android APK. -- 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 10/11/2014 15:57, Ray wrote: > I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, > and I'm getting an error of "could not compile application class" when I > try to save as a simple "Hello World" standalone for Android. > > Sounds like something you'd see in Visual Studio C sharp or something, > not a very Livecode type of an error. > > Any ideas? > From ray at linkit.com Sat Oct 11 10:37:06 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 11:37:06 -0300 Subject: Could not Compile Application Class In-Reply-To: <5439380F.3060503@economy-x-talk.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> Message-ID: <54394092.5060703@LinkIt.Com> You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... On 10/11/2014 11:00 AM, Mark Schonewille wrote: > Hi Ray, > > Did you recently re-install or update LiveCode? Have a look at the > preferences. LiveCode may have forgotten where to look for the Android > APK. > > -- > 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 10/11/2014 15:57, Ray wrote: >> I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, >> and I'm getting an error of "could not compile application class" when I >> try to save as a simple "Hello World" standalone for Android. >> >> Sounds like something you'd see in Visual Studio C sharp or something, >> not a very Livecode type of an error. >> >> Any ideas? >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 11 10:52:19 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Oct 2014 16:52:19 +0200 Subject: Could not Compile Application Class In-Reply-To: <54394092.5060703@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> Message-ID: <54394423.2010906@economy-x-talk.com> Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on "Get the SDK for an existing IDE". Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- 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 10/11/2014 16:37, Ray wrote: > You're right. I haven't downloaded the Android APK. I guess that's > kind of like the requirement to download xCode on the Mac side. > > Would you happen to have a link? I'm looking all over the place and > can't find a simple link to download this. > > Thanks... > From pmbrig at gmail.com Sat Oct 11 11:03:05 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 11 Oct 2014 11:03:05 -0400 Subject: use-livecode Digest, Vol 133, Issue 20 In-Reply-To: <54393543.1050106@economy-x-talk.com> References: <20141011100008.7718.qmail@divico2.ch-meta.net> <54393543.1050106@economy-x-talk.com> Message-ID: Ah, I forgot the (much more rational) European date system. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 11, 2014, at 9:48 AM, Mark Schonewille wrote: > 12.10.2014 is 12th October, Peter. From ray at linkit.com Sat Oct 11 11:21:49 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 12:21:49 -0300 Subject: Could not Compile Application Class In-Reply-To: <54394423.2010906@economy-x-talk.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> Message-ID: <54394B0D.30609@LinkIt.Com> Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... On 10/11/2014 11:52 AM, Mark Schonewille wrote: > Ray, > > Go here https://developer.android.com/sdk/index.html?hl=i > and click on "Get the SDK for an existing IDE". Download and install > in your program files folder. I have it installed in C:\Program Files > (x86)\Android and have pointed LiveCode towards C:\Program Files > (x86)\Android\android-sdk. > > -- > 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 10/11/2014 16:37, Ray wrote: >> You're right. I haven't downloaded the Android APK. I guess that's >> kind of like the requirement to download xCode on the Mac side. >> >> Would you happen to have a link? I'm looking all over the place and >> can't find a simple link to download this. >> >> 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 matthias_livecode_150811 at m-r-d.de Sat Oct 11 11:38:33 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sat, 11 Oct 2014 17:38:33 +0200 Subject: Could not Compile Application Class In-Reply-To: <54394B0D.30609@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54394B0D.30609@LinkIt.Com> Message-ID: <36E0B13D-563C-4491-87DE-3A549E9CE1FB@m-r-d.de> Ray, this is a known problem. The file zipalign is missing. See http://forums.livecode.com/viewtopic.php?f=53&t=20966 There you can also find the missing file. Regards, Matthias Am 11.10.2014 um 17:21 schrieb Ray : > Mark, > > I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. > > Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? > > Thanks... > > On 10/11/2014 11:52 AM, Mark Schonewille wrote: >> Ray, >> >> Go here https://developer.android.com/sdk/index.html?hl=i >> and click on "Get the SDK for an existing IDE". Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. >> >> -- >> 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 10/11/2014 16:37, Ray wrote: >>> You're right. I haven't downloaded the Android APK. I guess that's >>> kind of like the requirement to download xCode on the Mac side. >>> >>> Would you happen to have a link? I'm looking all over the place and >>> can't find a simple link to download this. >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 11 11:55:14 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Oct 2014 17:55:14 +0200 Subject: Could not Compile Application Class In-Reply-To: <54394B0D.30609@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54394B0D.30609@LinkIt.Com> Message-ID: <543952E2.5070408@economy-x-talk.com> Hi Ray, Double-click the file SDK-manager.exe and wait until it is visible. You'll see a list with checkboxes and Android versions. Select Android 2.2 (API 8) and click on Install. This should 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 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 10/11/2014 17:21, Ray wrote: > Mark, > > I think I'm about 90% the way there. I've installed both the Jave SE > Development Kit as well as the Android SDK package you've pointed me > to. The only error I'm getting is when I point the Mobile Support > preference in Livecode to the folder you've indicated below I get an > error from Livecode that says the chosen folder isn't a valid Android SDK. > > Do you have any ideas as to how I can verify I've installed it correctly > and enabled Android 2.2 (Froyo) ad it's also asking me to do? > > Thanks... > From ray at linkit.com Sat Oct 11 15:43:00 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 16:43:00 -0300 Subject: Could not Compile Application Class In-Reply-To: <54394423.2010906@economy-x-talk.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> Message-ID: <54398844.80700@LinkIt.Com> Mark, Matthias, Thanks to both of you guys for your help today! I ended up with success using both of your ideas. Here it is: 1) I installed the Android SDK as Mark suggested. This also required me to install the Java SDK. 2) I used the SDK Manager to update to Android 2.2 (API 8) as Mark suggested. 3) I downloaded the "zipAlign.exe" file and moved it over to the Tools folder as Matthias suggested. Finally, I realized none of this could happen as long as I installed the Android SDK in the suggested default location of Programs Files (x86) since they're read-only folders, so I uninstalled and re-installed in my own, write-enabled area. I was then able to set the path in Livecode's preferences and build an Android standalone. Now, can anybody tell me how to get my "Hello World" standalone over to my Samsung Galaxy S5, 4.4.2 phone? Many thanks!!!! On 10/11/2014 2:38 PM, ray wrote: > > > > Sent from my Samsung Galaxy smartphone. > > > -------- Original message -------- > From: Mark Schonewille > Date:10/11/2014 12:55 PM (GMT-03:00) > To: How to use LiveCode > Cc: > Subject: Re: Could not Compile Application Class > > Hi Ray, > > Double-click the file SDK-manager.exe and wait until it is visible. > You'll see a list with checkboxes and Android versions. Select Android > 2.2 (API 8) and click on Install. This should 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 > > 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 10/11/2014 17:21, Ray wrote: > > Mark, > > > > I think I'm about 90% the way there. I've installed both the Jave SE > > Development Kit as well as the Android SDK package you've pointed me > > to. The only error I'm getting is when I point the Mobile Support > > preference in Livecode to the folder you've indicated below I get an > > error from Livecode that says the chosen folder isn't a valid > Android SDK. > > > > Do you have any ideas as to how I can verify I've installed it correctly > > and enabled Android 2.2 (Froyo) ad it's also asking me to do? > > > > 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 On 10/11/2014 11:52 AM, Mark Schonewille wrote: > Ray, > > Go here https://developer.android.com/sdk/index.html?hl=i > and click on "Get the SDK for an existing IDE". Download and install > in your program files folder. I have it installed in C:\Program Files > (x86)\Android and have pointed LiveCode towards C:\Program Files > (x86)\Android\android-sdk. > > -- > 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 10/11/2014 16:37, Ray wrote: >> You're right. I haven't downloaded the Android APK. I guess that's >> kind of like the requirement to download xCode on the Mac side. >> >> Would you happen to have a link? I'm looking all over the place and >> can't find a simple link to download this. >> >> 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 ray at linkit.com Sat Oct 11 15:50:03 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 16:50:03 -0300 Subject: Could not Compile Application Class In-Reply-To: <54398844.80700@LinkIt.Com> References: <54398844.80700@LinkIt.Com> Message-ID: <543989EB.1080900@LinkIt.Com> Guys - I've found some lessons on this and I'm well into the ordeal of keys, signatures, signings and so on so please ignore my last request. I think I can weed through this. Thanks! -------- Original Message -------- Subject: Re: Could not Compile Application Class Date: Sat, 11 Oct 2014 16:43:00 -0300 From: Ray To: use-livecode at lists.runrev.com Mark, Matthias, Thanks to both of you guys for your help today! I ended up with success using both of your ideas. Here it is: 1) I installed the Android SDK as Mark suggested. This also required me to install the Java SDK. 2) I used the SDK Manager to update to Android 2.2 (API 8) as Mark suggested. 3) I downloaded the "zipAlign.exe" file and moved it over to the Tools folder as Matthias suggested. Finally, I realized none of this could happen as long as I installed the Android SDK in the suggested default location of Programs Files (x86) since they're read-only folders, so I uninstalled and re-installed in my own, write-enabled area. I was then able to set the path in Livecode's preferences and build an Android standalone. Now, can anybody tell me how to get my "Hello World" standalone over to my Samsung Galaxy S5, 4.4.2 phone? Many thanks!!!! On 10/11/2014 2:38 PM, ray wrote: > > > > Sent from my Samsung Galaxy smartphone. > > > -------- Original message -------- > From: Mark Schonewille > Date:10/11/2014 12:55 PM (GMT-03:00) > To: How to use LiveCode > Cc: > Subject: Re: Could not Compile Application Class > > Hi Ray, > > Double-click the file SDK-manager.exe and wait until it is visible. > You'll see a list with checkboxes and Android versions. Select Android > 2.2 (API 8) and click on Install. This should 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 > > 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 10/11/2014 17:21, Ray wrote: > > Mark, > > > > I think I'm about 90% the way there. I've installed both the Jave SE > > Development Kit as well as the Android SDK package you've pointed me > > to. The only error I'm getting is when I point the Mobile Support > > preference in Livecode to the folder you've indicated below I get an > > error from Livecode that says the chosen folder isn't a valid > Android SDK. > > > > Do you have any ideas as to how I can verify I've installed it correctly > > and enabled Android 2.2 (Froyo) ad it's also asking me to do? > > > > 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 On 10/11/2014 11:52 AM, Mark Schonewille wrote: > Ray, > > Go here https://developer.android.com/sdk/index.html?hl=i > and click on "Get the SDK for an existing IDE". Download and install > in your program files folder. I have it installed in C:\Program Files > (x86)\Android and have pointed LiveCode towards C:\Program Files > (x86)\Android\android-sdk. > > -- > 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 10/11/2014 16:37, Ray wrote: >> You're right. I haven't downloaded the Android APK. I guess that's >> kind of like the requirement to download xCode on the Mac side. >> >> Would you happen to have a link? I'm looking all over the place and >> can't find a simple link to download this. >> >> 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 mwieder at ahsoftware.net Sat Oct 11 16:43:03 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Oct 2014 13:43:03 -0700 Subject: Could not Compile Application Class In-Reply-To: <54398844.80700@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> Message-ID: <1651197472393.20141011134303@ahsoftware.net> Ray- Saturday, October 11, 2014, 12:43:00 PM, you wrote: > Now, can anybody tell me how to get my "Hello World" standalone over to > my Samsung Galaxy S5, 4.4.2 phone? I use Android File Transfer on osx. If you set developer mode on the phone and use debug mode, you can use the phone as an external drive. Then just drag the apk file over. -- -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 stephenREVOLUTION2 at barncard.com Sat Oct 11 17:11:04 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 11 Oct 2014 14:11:04 -0700 Subject: use-livecode Digest, Vol 133, Issue 20 In-Reply-To: <54393543.1050106@economy-x-talk.com> References: <20141011100008.7718.qmail@divico2.ch-meta.net> <54393543.1050106@economy-x-talk.com> Message-ID: On Sat, Oct 11, 2014 at 6:48 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > 12.10.2014 is 12th October, Peter. actually I think dates should be expressed like this: 20141012 - great for sorting. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From ray at linkit.com Sat Oct 11 17:56:46 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 18:56:46 -0300 Subject: Could not Compile Application Class In-Reply-To: <1651197472393.20141011134303@ahsoftware.net> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> Message-ID: <5439A79E.9080805@LinkIt.Com> Mark, Thanks for this suggestion. I'm using Windows 8.1 so the Android File Transfer utility doesn't apply and their website simply says it's not necessary for Windows users. This still left me in the dark, but after a little experimentation I discovered, of all things, Bluetooth is the way to go. I'm finally getting some use from Bluetooth! Just thought you might like to know. Thanks for your input. Ray Horsley LinkIt! Software On 10/11/2014 5:43 PM, Mark Wieder wrote: > Ray- > > Saturday, October 11, 2014, 12:43:00 PM, you wrote: > >> Now, can anybody tell me how to get my "Hello World" standalone over to >> my Samsung Galaxy S5, 4.4.2 phone? > I use Android File Transfer on osx. If you set developer mode on the > phone and use debug mode, you can use the phone as an external drive. > Then just drag the apk file over. > From mwieder at ahsoftware.net Sat Oct 11 18:33:17 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Oct 2014 15:33:17 -0700 Subject: Could not Compile Application Class In-Reply-To: <5439A79E.9080805@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5439A79E.9080805@LinkIt.Com> Message-ID: <881204085370.20141011153317@ahsoftware.net> Ray- Saturday, October 11, 2014, 2:56:46 PM, you wrote: > Thanks for this suggestion. I'm using Windows 8.1 Yeah, sorry... I missed that in your original post. Glad you found something that works. -- -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 ray at linkit.com Sat Oct 11 18:39:47 2014 From: ray at linkit.com (Ray) Date: Sat, 11 Oct 2014 19:39:47 -0300 Subject: Could not Compile Application Class In-Reply-To: <881204085370.20141011153317@ahsoftware.net> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5439A79E.9080805@LinkIt.Com> <881204085370.20141011153317@ahsoftware.net> Message-ID: <5439B1B3.8020705@LinkIt.Com> No need for apologies at all:) Your suggestion actually got me pointed in the right direction. Regarding the bigger picture, do you think anybody in Edinburgh would be interested in putting together instructions and steps for this? It seems to me we're really discouraging newcomers with the myriad of steps, downloads, configurations, and hit-or-miss setup hoops needed to simply save a Hello World app to a phone. On 10/11/2014 7:33 PM, Mark Wieder wrote: > Ray- > > Saturday, October 11, 2014, 2:56:46 PM, you wrote: > >> Thanks for this suggestion. I'm using Windows 8.1 > Yeah, sorry... I missed that in your original post. > Glad you found something that works. > From roger.e.eller at sealedair.com Sat Oct 11 20:48:29 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 11 Oct 2014 20:48:29 -0400 Subject: Could not Compile Application Class In-Reply-To: <5439B1B3.8020705@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5439A79E.9080805@LinkIt.Com> <881204085370.20141011153317@ahsoftware.net> <5439B1B3.8020705@LinkIt.Com> Message-ID: I have found that if the device doesn't mount as a USB drive, the next best method is dropbox. Install dropbox on both the computer and the device. Share a folder on the computer and drop the apk in there. Touch the apk and install it. Sent from my Android tablet From pmbrig at gmail.com Sun Oct 12 08:57:22 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 12 Oct 2014 08:57:22 -0400 Subject: dates (was: use-livecode Digest, Vol 133, Issue 20) In-Reply-To: References: <20141011100008.7718.qmail@divico2.ch-meta.net> <54393543.1050106@economy-x-talk.com> Message-ID: <9C5D15C1-CBFA-4525-877F-2664FE1B383C@gmail.com> I have a TextExpander shortcut that inserts a date in pretty much that format, I just type "ymd" and I get "2014-10-12" automagically. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 11, 2014, at 5:11 PM, stephen barncard wrote: > actually I think dates should be expressed like this: 20141012 - great > for sorting. From m.schonewille at economy-x-talk.com Sun Oct 12 09:02:45 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 Oct 2014 15:02:45 +0200 Subject: use-livecode Digest, Vol 133, Issue 20 In-Reply-To: References: <20141011100008.7718.qmail@divico2.ch-meta.net> <54393543.1050106@economy-x-talk.com> Message-ID: <543A7BF5.6050402@economy-x-talk.com> Hi, I do that all the time, in databases, in my file listings and whenever I think that sorting may be an issue later on. -- 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 10/11/2014 23:11, stephen barncard wrote: > > actually I think dates should be expressed like this: 20141012 - great > for sorting. > From paul at researchware.com Sun Oct 12 11:01:29 2014 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Oct 2014 11:01:29 -0400 Subject: AW: Re: Codesigning standalones for Mac OS 10.9.5 In-Reply-To: References: Message-ID: <543A97C9.4090505@researchware.com> On 10/9/2014 8:25 PM, David Beck wrote: > Does anybody know what the status is with codesigning standalones built for > Mac OS in a way that works with OS 10.9.5? I have not been able to find a > definitive answer. I take it this article is out of date? > > http://revolution.screenstepslive.com/s/revolution/m/10695/l/112989 > > Has anybody had success and if so can you please share how you've done it? > > Thank you!! > > David Beck > We have successfully code signed a LiveCode standalone under OSX Mavericks 10.9.5 with a v2 signature such that our application is recognized as an "identified developer" under both 10.9.5 and 10.8.5 with "Security Update 2014-004 1.0" (see http://support.apple.com/kb/HT1222) and earlier versions of OSX (10.9.4 and below, 10.8.5 without "Security Update 2014-004 1.0" and earlier 10.8 versions, 10.7.x and 10.6.x), all where the user has their System Preferences > Security set to "Mac App Store and Identified Developers" (the default for Mountain Lion and Mavericks) We did this by using "App Wrapper 2.5" from Ohanaware (http://www.ohanaware.com/appwrapper/). We selected App Wrapper based on a post on the Use-Livecode email mailing list from Tiemo Hollmann. He provided the following steps: 1. Buy a developer codesigning certificate at Apple 2. Start App Wrapper 3. Drag an unsigned app onto App Wrapper 4. Go to TAB "Package" 5. Check the "Codesign" checkbox 6. Choose your developer certificate 7. Don't choose any of the options below 8. Choose "Wrap to" folder and click "Wrap" at topright Initially App Wrapper would not successfully sign under 10.9.5. We encounter the following issues: 1. On the "Package" tab, when the Codesign check box was selected none of our Certificates showed up (the popup list of certificates to sign with was empty). We have downloaded our certificated from our Apple Developer Account and installed them into the Key Chain under 10.9.5. None the less, they still were not showing up. Looking at our Key Chain under 10.8.5 (where we had been signing our standalones) we noticed that our certificates were listed BOTH under the "My Certificates" category and "Certificates" category. Under 10.9.5 they were only listed under the "Certificates" category. We selected all our certificates in the "My Certificates" category of our Key Chain under 10.8.5 and exported them into a single .p12 file. We moved that file to 10.9.5 and imported them into our Key Chain under 10.9.5. Now all our certificates appeared both under the "My Certificates" and "Certificates" category in the Key Chain under 10.9.5 and under the certificate popup menu on the Package tab in App Wrapper. 2. With the certificates in place we attempted to code sign our standalone under 10.9.5 buy got warning that the code sign was "rejected". Under App Wrapper Preferences... with discovered a popup menu that was by default set to "App Wrapper Code Sign Engine 2.0" that offered another option "Mavericks Code Sign Engine". Switching this popup to the "Mavericks Code Sign Engine" then allowed us to successfully sign our application. NOTE: It has been reported that codesigning under 10.9.5 will also fail if your standalone contains bundles (externals) with manifest files (text files in the .bundle 'folders' that list the contents of the bundle and that some people have had success by removing these manifest files. Our standalone had NO externals and hence no manifest file for us to remove. From stephenREVOLUTION2 at barncard.com Sun Oct 12 12:06:53 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 12 Oct 2014 09:06:53 -0700 Subject: use-livecode Digest, Vol 133, Issue 20 In-Reply-To: <543A7BF5.6050402@economy-x-talk.com> References: <20141011100008.7718.qmail@divico2.ch-meta.net> <54393543.1050106@economy-x-talk.com> <543A7BF5.6050402@economy-x-talk.com> Message-ID: and it can be stored as an integer, if that matters. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Sun, Oct 12, 2014 at 6:02 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > I do that all the time, in databases, in my file listings and whenever I > think that sorting may be an issue later on. > > -- > 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 10/11/2014 23:11, stephen barncard wrote: > > >> actually I think dates should be expressed like this: 20141012 - great >> for sorting. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 14:17:21 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 12:17:21 -0600 Subject: problem with counting words Message-ID: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> Hello, I'm posting this to help any other poor saps who run into this insanity: I want to count the words in a field. I have: set the itemDel to space put the number of words of field "myTest" into field "myNumber" Here is what happens: I am testing the word count in LiveCode 6.1.1. Believe it or not, LiveCode will count all these words as 23 words "because everything contained within the quotes is counted as ONE word!!!" There is nothing that I could find that says LiveCode will treat everything within quotes as one word, even when I have itemDel set to space. I doubt the RunRev people will see this as a bug, but "just how it is." Well, it's really stupid - and beyond that, it is not documented in the Dictionary that I could see. btw, I spoke to a programmer friend of mine (who used to work for Novell) and he said he'd never heard anything like that in the several programming languages he knows. Yes, I do know how to do a work around to count all the actual words, but that is not the point. The point is that I wasted over 2 hours of my time figuring out why my word count was inaccurate. quite depressed, Larry From coiin at verizon.net Sun Oct 12 14:36:58 2014 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Oct 2014 14:36:58 -0400 Subject: problem with counting words In-Reply-To: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> Message-ID: <10840995-2ABB-4E0E-9730-C946ACA9AD08@verizon.net> The dictionary clearly says that quoted strings are counted as a single word. If you wanted to work around that as an issue by using the itemDelimiter, you would then look at the number of items in the field, not the number of words. There?s a better option though, you can see how many truewords there are in the field, because that uses Unicode delimiters. If you don?t want to use truewords instead of words for some other reason, you could solve the issue by using smart quotes instead of dumb quotes. From larry at significantplanet.org Sun Oct 12 14:56:17 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 12:56:17 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <10840995-2ABB-4E0E-9730-C946ACA9AD08@verizon.net> Message-ID: Please tell me where it says that in the dictionary - I could find nothing about it. I also searched the User Guide for "quoted strings" and also "smart quotes" and found nothing. I also searched both the dictionary and the User Guide for truewords and found nothing. So I'm very mystified where this stuff is to be found and how it is to be found. I'm just trying to understand how this information is found so I don't need to keep bothering everyone on this list. Thanks, Larry ----- Original Message ----- From: "Colin Holgate" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 12:36 PM Subject: Re: problem with counting words The dictionary clearly says that quoted strings are counted as a single word. If you wanted to work around that as an issue by using the itemDelimiter, you would then look at the number of items in the field, not the number of words. There?s a better option though, you can see how many truewords there are in the field, because that uses Unicode delimiters. If you don?t want to use truewords instead of words for some other reason, you could solve the issue by using smart quotes instead of dumb quotes. _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Oct 12 15:07:33 2014 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Oct 2014 15:07:33 -0400 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <10840995-2ABB-4E0E-9730-C946ACA9AD08@verizon.net> Message-ID: Here are some of the relevant parts from the Dictionary entry for ?word?: Summary: Designates a space-delimited or quoted string as part of a chunk expression. Comments: A word is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes. A single word can contain multiple characters and multiple items, but not multiple lines. Note:Words are delimited by double quotes ("), but not by curved quotes (""). LiveCode does not treat curved quotes as quotes. Under the Dictionary entry for trueWord it says this: Summary: Designates a string as part of a chunk expression, delimited by Unicode word breaks, as determined by the ICU Library. There is an imperfection in the Dictionary entry for ?words?, its comments includes this: Comments: A word is a set of characters enclosed by spaces, tabs, or returns. which doesn?t state anything about the double quotes. From m.schonewille at economy-x-talk.com Sun Oct 12 15:11:34 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 Oct 2014 21:11:34 +0200 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <10840995-2ABB-4E0E-9730-C946ACA9AD08@verizon.net> Message-ID: <543AD266.70007@economy-x-talk.com> "Larry", "From the "word" entry:" "Comments: A word is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes. A single word can contain multiple characters and multiple items, but not multiple lines. Note: Words are delimited by double quotes ("), but not by curved quotes (""). LiveCode does not treat curved quotes as quotes." -- Best regards, Mark "quote" 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 10/12/2014 20:56, larry at significantplanet.org wrote: > Please tell me where it says that in the dictionary - I could find > nothing about it. > I also searched the User Guide for "quoted strings" and also "smart > quotes" and found nothing. > I also searched both the dictionary and the User Guide for truewords and > found nothing. > So I'm very mystified where this stuff is to be found and how it is to > be found. > I'm just trying to understand how this information is found so I don't > need to keep bothering everyone on this list. > Thanks, > Larry From jhj at jhj.com Sun Oct 12 15:20:07 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 12 Oct 2014 12:20:07 -0700 Subject: problem with counting words In-Reply-To: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> Message-ID: Hi Larry, the itemDel is the character that delimits ITEMS, not words. You could use it to get around your problem with quotes. If you set the itemDel to space, you would then look for the number of ITEMS in the field. Thats not quite the end of it though, because there may not be a space between lines in the field, only returns. So, you could add up the number of items in each line - something like: put 0 into tCount set the itemDel to space repeat for each line L in field "foo" add the number of items in L to tCount end repeat (not tested) .Jerry On Oct 12, 2014, at 11:17 AM, larry at significantplanet.org wrote: > Hello, > > I'm posting this to help any other poor saps who run into this insanity: > > I want to count the words in a field. I have: > > set the itemDel to space > > put the number of words of field "myTest" into field "myNumber" > > > > Here is what happens: > > I am testing the word count in LiveCode 6.1.1. Believe it or not, LiveCode will count all these words > > as 23 words "because everything contained within the quotes is counted as ONE word!!!" > > > > There is nothing that I could find that says LiveCode will treat everything within quotes as one word, even when I have itemDel set to space. > > I doubt the RunRev people will see this as a bug, but "just how it is." Well, it's really stupid - and beyond that, it is not documented in the Dictionary that I could see. > > btw, I spoke to a programmer friend of mine (who used to work for Novell) and he said he'd never heard anything like that in the several programming languages he knows. > > Yes, I do know how to do a work around to count all the actual words, but that is not the point. The point is that I wasted over 2 hours of my time figuring out why my word count was inaccurate. > > quite depressed, > > 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 jhj at jhj.com Sun Oct 12 15:26:48 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 12 Oct 2014 12:26:48 -0700 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> Message-ID: <35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com> Ah, and then there are tabs to deal with, and double-spaces will count an empty item between. It may be better to just replace the quotes with curly-quotes, count the words, and then replace the curly-quotes back to quotes if you want. On Oct 12, 2014, at 12:20 PM, Jerry Jensen wrote: > Hi Larry, > > the itemDel is the character that delimits ITEMS, not words. You could use it to get around your problem with quotes. If you set the itemDel to space, you would then look for the number of ITEMS in the field. Thats not quite the end of it though, because there may not be a space between lines in the field, only returns. So, you could add up the number of items in each line - something like: > > put 0 into tCount > set the itemDel to space > repeat for each line L in field "foo" > add the number of items in L to tCount > end repeat > > (not tested) > > .Jerry > > On Oct 12, 2014, at 11:17 AM, larry at significantplanet.org wrote: > >> Hello, >> >> I'm posting this to help any other poor saps who run into this insanity: >> >> I want to count the words in a field. I have: >> >> set the itemDel to space >> >> put the number of words of field "myTest" into field "myNumber" >> >> >> >> Here is what happens: >> >> I am testing the word count in LiveCode 6.1.1. Believe it or not, LiveCode will count all these words >> >> as 23 words "because everything contained within the quotes is counted as ONE word!!!" >> >> >> >> There is nothing that I could find that says LiveCode will treat everything within quotes as one word, even when I have itemDel set to space. >> >> I doubt the RunRev people will see this as a bug, but "just how it is." Well, it's really stupid - and beyond that, it is not documented in the Dictionary that I could see. >> >> btw, I spoke to a programmer friend of mine (who used to work for Novell) and he said he'd never heard anything like that in the several programming languages he knows. >> >> Yes, I do know how to do a work around to count all the actual words, but that is not the point. The point is that I wasted over 2 hours of my time figuring out why my word count was inaccurate. >> >> quite depressed, >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 12 15:33:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 14:33:58 -0500 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <10840995-2ABB-4E0E-9730-C946ACA9AD08@verizon.net> Message-ID: <543AD7A6.4020909@hyperactivesw.com> On 10/12/2014, 1:56 PM, larry at significantplanet.org wrote: > Please tell me where it says that in the dictionary - I could find > nothing about it. Under the entry for "word": Designates a space-delimited or quoted string as part of a chunk expression. Note: Words are delimited by double quotes ("), but not by curved quotes (""). LiveCode does not treat curved quotes as quotes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Oct 12 15:37:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 14:37:11 -0500 Subject: problem with counting words In-Reply-To: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> Message-ID: <543AD867.5020405@hyperactivesw.com> On 10/12/2014, 1:17 PM, larry at significantplanet.org wrote: > btw, I spoke to a programmer friend of mine (who used to work for > Novell) and he said he'd never heard anything like that in the > several programming languages he knows. It's been in x-talk since HyperCard. BTW, the "trueword" token was introduced as part of the unicode implementation, so you'll only see it in LC version 7.0. When we all adopt that version, we will be able to choose between the "logical" word boundaries (trueword) and the historical boundaries (the HyperCard method, which also includes punctuation as part of words.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at btinternet.com Sun Oct 12 15:38:53 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 12 Oct 2014 20:38:53 +0100 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> Message-ID: <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> Wouldn?t it be good if RunRev could add WordDelimiter to the dictionary, would that solve the problem. I believe it exists in SuperCard. I thought LiveCode was a more modern version of SuperCard and would surely have this option. All the best Terry On 12 Oct 2014, at 20:20, Jerry Jensen wrote: > the itemDel is the character that delimits ITEMS, not words. From jhj at jhj.com Sun Oct 12 15:51:45 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 12 Oct 2014 12:51:45 -0700 Subject: problem with counting words In-Reply-To: <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> Message-ID: <8F9AD1DA-1F89-4233-89B7-0FD7C8D6A3DA@jhj.com> Yes, but the current concept of delimiting words is not a single character. Space, tab, return all work. Now, if you could say: set the wordDel to space or tab or return That would be the ticket! Or you could extend it using that pesky unicode definition and call it "trueword". Hmmmm... On Oct 12, 2014, at 12:38 PM, Terence Heaford wrote: > Wouldn?t it be good if RunRev could add WordDelimiter to the dictionary, would that solve the problem. From larry at significantplanet.org Sun Oct 12 15:58:25 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 13:58:25 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com> Message-ID: <018A40436A024E2E886C11E49E3F9F87@userd204a4d61c> Easy to say, but how does one replace the quotes with curly-quotes? I can't find out where it says how to do that. Sorry I'm so lame. Larry ----- Original Message ----- From: "Jerry Jensen" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 1:26 PM Subject: Re: problem with counting words > Ah, and then there are tabs to deal with, and double-spaces will count an > empty item between. It may be better to just replace the quotes with > curly-quotes, count the words, and then replace the curly-quotes back to > quotes if you want. > > On Oct 12, 2014, at 12:20 PM, Jerry Jensen wrote: > >> Hi Larry, >> >> the itemDel is the character that delimits ITEMS, not words. You could >> use it to get around your problem with quotes. If you set the itemDel to >> space, you would then look for the number of ITEMS in the field. Thats >> not quite the end of it though, because there may not be a space between >> lines in the field, only returns. So, you could add up the number of >> items in each line - something like: >> >> put 0 into tCount >> set the itemDel to space >> repeat for each line L in field "foo" >> add the number of items in L to tCount >> end repeat >> >> (not tested) >> >> .Jerry >> >> On Oct 12, 2014, at 11:17 AM, larry at significantplanet.org wrote: >> >>> Hello, >>> >>> I'm posting this to help any other poor saps who run into this insanity: >>> >>> I want to count the words in a field. I have: >>> >>> set the itemDel to space >>> >>> put the number of words of field "myTest" into field "myNumber" >>> >>> >>> >>> Here is what happens: >>> >>> I am testing the word count in LiveCode 6.1.1. Believe it or not, >>> LiveCode will count all these words >>> >>> as 23 words "because everything contained within the quotes is counted >>> as ONE word!!!" >>> >>> >>> >>> There is nothing that I could find that says LiveCode will treat >>> everything within quotes as one word, even when I have itemDel set to >>> space. >>> >>> I doubt the RunRev people will see this as a bug, but "just how it is." >>> Well, it's really stupid - and beyond that, it is not documented in the >>> Dictionary that I could see. >>> >>> btw, I spoke to a programmer friend of mine (who used to work for >>> Novell) and he said he'd never heard anything like that in the several >>> programming languages he knows. >>> >>> Yes, I do know how to do a work around to count all the actual words, >>> but that is not the point. The point is that I wasted over 2 hours of >>> my time figuring out why my word count was inaccurate. >>> >>> quite depressed, >>> >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 16:04:21 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 14:04:21 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> Message-ID: Hi Terry, Here is the real problem. I don't know much. I'm sitting here assuming that a word is a word, regardless of whether it is inside quotes. Now I find out there is trueword. It's just hard for me to reconcile LiveCode's boast of "simple English" and stuff like this. The other thing I don't understand is this: Is there any way to search the dictionary on the text of the dictionary and not just on the keywords? If there is a way to do that, I don't know how. It would help a lot. Thanks, Larry P.S. That would be a cool thing if they added a wordDel function. It would be REALLY cool if people could write their own functions and then add them to their personal LC dictionary. Probably there is a way to do that, but again, I don't know how. ----- Original Message ----- From: "Terence Heaford" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 1:38 PM Subject: Re: problem with counting words Wouldn?t it be good if RunRev could add WordDelimiter to the dictionary, would that solve the problem. I believe it exists in SuperCard. I thought LiveCode was a more modern version of SuperCard and would surely have this option. All the best Terry On 12 Oct 2014, at 20:20, Jerry Jensen wrote: > the itemDel is the character that delimits ITEMS, 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 jhj at jhj.com Sun Oct 12 16:26:38 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 12 Oct 2014 13:26:38 -0700 Subject: problem with counting words In-Reply-To: <018A40436A024E2E886C11E49E3F9F87@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com> <018A40436A024E2E886C11E49E3F9F87@userd204a4d61c> Message-ID: <68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> Not lame. Good question! I've always tried to get RID of curly-quotes, never tried to use them. So, I pasted one in from Word and found out using charToNum that its number 210. replace quote with numToChar(210) in field "foo" --do your counting replace numToChar(210) with quote in field "foo" Actually, to skip all the confusion, you could just use a character for the replacement that isn't so obscure, like ~ or many others. Then you write: replace quote with "~" in field "foo" -- do your counting replace "~" with quote in field "foo" I have probably broken a bunch of the new unicode rules that I haven't learned about yet. .Jerry On Oct 12, 2014, at 12:58 PM, larry at significantplanet.org wrote: > Easy to say, but how does one replace the quotes with curly-quotes? > I can't find out where it says how to do that. > Sorry I'm so lame. > Larry From dunbarx at aol.com Sun Oct 12 18:53:34 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 12 Oct 2014 18:53:34 -0400 Subject: problem with counting words In-Reply-To: <68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com> <018A40436A024E2E886C11E49E3F9F87@userd204a4d61c> <68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> Message-ID: <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com> Larry. But you can make your own "dictionary". Without limit. Most of that, too, has been possible since Hypercard. You can define your own properties, commands and functions, and place them in permanent use in several ways, for example, as a library stack in use or a plug-in. Have you ever written such a thing? Please write back if you have not, and we will play around for a while. Or if you have written such gadgetry, but just never saved any of them for later, general use in your own personal LC world, the tell us that as well. Craig Newman From larry at significantplanet.org Sun Oct 12 19:09:42 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 17:09:42 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com> Message-ID: <4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> Hi Craig, I've written several functions within stacks, but have no idea how to create a library stack or, seems better, as a plug-in. For example, one function I use in many of the programs I'm writing is: commaInsert: on commaInsert put round(thisFigure) into thisFigure if thisFigure < 0 then put thisFigure * -1 into thisFigure put the length of thisFigure into L if L > 3 then put "," before char -3 of thisFigure put the length of thisFigure into L if L > 7 then put "," before char -7 of thisFigure put the length of thisFigure into L if L > 11 then put "," before char -11 of thisFigure put the length of thisFigure into L if L > 15 then put "," before char -15 of thisFigure -- THIS WOULD BE AT LEAST 1 TRILLION!! put "$" before thisFigure end commaInsert I use the above function (command) after performing math functions on numbers that I then want to display as dollar amounts with the commas in the right places. It would be very cool to have it available all the time through a plug-in. It would be even more cool if I could somehow add it to the LC dictionary and do this: put commaInsert(thisFigure) into field "myDollarDisplay" if thisFigure < 1 then set the textcolor of field "myDollarDisplay" to red Or even: put commaInsert(thisFigure + otherFigure) into [container] >From what I've heard from programming friends, other languages allow for adding of functions to the dictionary as in the two line example in italics above. Do you know if that is possible in LC? As far as I know, it is not possible. Larry ----- Original Message ----- From: To: Sent: Sunday, October 12, 2014 4:53 PM Subject: Re: problem with counting words > > > Larry. > But you can make your own "dictionary". Without limit. Most of that, too, has been possible since Hypercard. You can define your own properties, commands and functions, and place them in permanent use in several ways, for example, as a library stack in use or a plug-in. > Have you ever written such a thing? Please write back if you have not, and we will play around for a while. Or if you have written such gadgetry, but just never saved any of them for later, general use in your own personal LC world, the tell us that as well. > 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 ambassador at fourthworld.com Sun Oct 12 19:45:08 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Oct 2014 16:45:08 -0700 Subject: problem with counting words In-Reply-To: References: Message-ID: <543B1284.90103@fourthworld.com> larry wrote: > Here is the real problem. I don't know much. > I'm sitting here assuming that a word is a word, regardless of > whether it is inside quotes. > Now I find out there is trueword. It's just hard for me to reconcile > LiveCode's boast of "simple English" and stuff like this. I hear ya', but like so many other oddities in the language this one came from Apple, the same team who decided that we should be able to use property syntax for function calls, but only sometimes, and that many global properties should start with "dont" rather than change their default value, but again only sometimes. Those geographically inclined may note the proximity of the HyperCard team's workplace to the location where most of California's medical marijuana is grown today. Draw whatever conclusions you like from those two perhaps-unrelated facts.... -- 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 Sun Oct 12 20:00:20 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Oct 2014 17:00:20 -0700 Subject: problem with counting words In-Reply-To: <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> Message-ID: <511295707011.20141012170020@ahsoftware.net> Terence- Sunday, October 12, 2014, 12:38:53 PM, you wrote: > Wouldn?t it be good if RunRev could add WordDelimiter to the > dictionary, would that solve the problem. > I believe it exists in SuperCard. > I thought LiveCode was a more modern version of SuperCard and would surely have this option. wordDelimiter would be an interesting addition, but would have its own complexities. You need to keep in mind that words are delimited by whitespace: spaces, tabs, carriage returns, etc., but also by punctuation: commas, periods, semicolons, etc. I also find that text within quotes being a single word is congruent with defining arguments for comandline syntax. -- -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 Sun Oct 12 20:16:45 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 18:16:45 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> Message-ID: <6B487954F50D47C1842424E75F749A23@userd204a4d61c> Hello Mark, It truly pleases me that you explained a reason for text within quotes being a single word. I don't have enough experience (actually none) in defining arguments for commandline syntax and would never have thought of that. So now I must say, "OK, there is a reason." However, I would still really like it if I could create my own functions as I please and add them directly into the LC dictionary/language of the IDE. I'm completely unclear how that would work with a plug-in. If I wrote functions and put them into an expandable plug-in (to add future functions) could I call those functions up within a script? For example: put larryFunction(larryVar) into field "myLarry" If anyone knows how to do that for the IDE so that the function I write is now available to me for ANY script of ANY stack, I would love to hear about it. Larry ----- Original Message ----- From: "Mark Wieder" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 6:00 PM Subject: Re: problem with counting words Terence- Sunday, October 12, 2014, 12:38:53 PM, you wrote: > Wouldn?t it be good if RunRev could add WordDelimiter to the > dictionary, would that solve the problem. > I believe it exists in SuperCard. > I thought LiveCode was a more modern version of SuperCard and would surely > have this option. wordDelimiter would be an interesting addition, but would have its own complexities. You need to keep in mind that words are delimited by whitespace: spaces, tabs, carriage returns, etc., but also by punctuation: commas, periods, semicolons, etc. I also find that text within quotes being a single word is congruent with defining arguments for comandline syntax. -- -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 Oct 12 20:32:42 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Oct 2014 17:32:42 -0700 Subject: problem with counting words In-Reply-To: <6B487954F50D47C1842424E75F749A23@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <6B487954F50D47C1842424E75F749A23@userd204a4d61c> Message-ID: <1921297649499.20141012173242@ahsoftware.net> larry- Sunday, October 12, 2014, 5:16:45 PM, you wrote: > Hello Mark, > It truly pleases me that you explained a reason for text within quotes being > a single word. Glad I could help. > I don't have enough experience (actually none) in defining arguments for > commandline syntax and would never have thought of that. > So now I must say, "OK, there is a reason." It's pretty simple, really. If I have a program that counts lines in a file (let's call it linecount) and I want to call it with a file to work on, then from a command prompt I would say something like linecount fileToWorkOn.txt However, if someone made a file with a name that had embedded spaces, linecount some file with spaces.txt wouldn't work because the first thing that would happen is the linecount program would try to work on file "some". What I'd need to do in that case is say linecount "some file with spaces.txt" And then the operating system would treat everything within the quotes as a single parameter. So I can extrapolate from that to xtalk languages treating everything within quotes as a single entity. > If anyone knows how to do that for the IDE so that the function I write is > now available to me for ANY script of ANY stack, I would love to hear about > it. Well, my first advice would be to wait for the next major version of LiveCode, because the new initiative (I'm too tired and lazy at the moment to look up the name) is designed to give you exactly that capability. But if you want to play around with it now, you'll want to read up on frontscripts and backscripts. If you, for example, put a function into a script and then insert the script into the backscripts, the function will be available to any stack. This is a large part of how the IDE itself works. -- -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 ray at linkit.com Sun Oct 12 20:39:11 2014 From: ray at linkit.com (Ray) Date: Sun, 12 Oct 2014 21:39:11 -0300 Subject: Could not Compile Application Class In-Reply-To: References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5439A79E.9080805@LinkIt.Com> <881204085370.20141011153317@ahsoftware.net> <5439B1B3.8020705@LinkIt.Com> Message-ID: <543B1F2F.6030504@LinkIt.Com> Roger - thanks for the suggestion. That worked well for me. I also discovered in poking around a little that bluetooth transfers work, too. On 10/11/2014 9:48 PM, Roger Eller wrote: > I have found that if the device doesn't mount as a USB drive, the next best > method is dropbox. Install dropbox on both the computer and the device. > Share a folder on the computer and drop the apk in there. Touch the apk > and install it. > > Sent from my Android tablet > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 20:42:38 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 18:42:38 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> Message-ID: <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> Mark, This is why personal functions are so important. You like having all the words within quotes being seen as a single word for commandline calls. On the other hand, it is giving me fits having to go from regular quotes to curly quotes (for counting) and then back to regular quotes for display (since LC displays a curly quote as some oddball char). But if I could write my own function for that stuff, wow. I do not have ANY experience with frontscripts, backscripts, plug-ins, whatever. Maybe some day. In the meantime, if anyone wants to write/point to a detailed explanation of how to do it, that will be great. I would say that an ability for me to write functions and have them available for scripting would be #1 on my wish list. Larry ----- Original Message ----- From: "Mark Wieder" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 6:32 PM Subject: Re: problem with counting words > larry- > > Sunday, October 12, 2014, 5:16:45 PM, you wrote: > >> Hello Mark, >> It truly pleases me that you explained a reason for text within quotes >> being >> a single word. > > Glad I could help. > >> I don't have enough experience (actually none) in defining arguments for >> commandline syntax and would never have thought of that. >> So now I must say, "OK, there is a reason." > > It's pretty simple, really. If I have a program that counts lines in a > file (let's call it linecount) and I want to call it with a file to > work on, then from a command prompt I would say something like > > linecount fileToWorkOn.txt > > However, if someone made a file with a name that had embedded spaces, > > linecount some file with spaces.txt > > wouldn't work because the first thing that would happen is the > linecount program would try to work on file "some". What I'd need to > do in that case is say > > linecount "some file with spaces.txt" > > And then the operating system would treat everything within the quotes > as a single parameter. So I can extrapolate from that to xtalk > languages treating everything within quotes as a single entity. > >> If anyone knows how to do that for the IDE so that the function I write >> is >> now available to me for ANY script of ANY stack, I would love to hear >> about >> it. > > Well, my first advice would be to wait for the next major version of > LiveCode, because the new initiative (I'm too tired and lazy at the > moment to look up the name) is designed to give you exactly that > capability. > > But if you want to play around with it now, you'll want to read up on > frontscripts and backscripts. If you, for example, put a function into > a script and then insert the script into the backscripts, the function > will be available to any stack. This is a large part of how the IDE > itself works. > > -- > -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 rjb at robelko.com Sun Oct 12 21:15:06 2014 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 13 Oct 2014 03:15:06 +0200 Subject: problem with counting words In-Reply-To: <4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40 436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA 8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com> <4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> Message-ID: Larry, Change the first line of your function to function commaInsert thisFigure Better yet: function commaInsert pFigure put pFigure into thisFigure Then add before the last end the following line return thisFigure If you have your function anywhere in the path (like in the stack script or library stack that is in use), then the following will work as you want put commaInsert(thisFigure) into field "myDollarDisplay" Robert On 12.10.2014 at 17:09 Uhr -0600 apparently wrote: >Hi Craig, >I've written several functions within stacks, but have no idea how >to create a library stack or, seems better, as a plug-in. >For example, one function I use in many of the programs I'm writing >is: commaInsert: > >on commaInsert > >put round(thisFigure) into thisFigure > >if thisFigure < 0 then put thisFigure * -1 into thisFigure > >put the length of thisFigure into L > >if L > 3 then put "," before char -3 of thisFigure > >put the length of thisFigure into L > >if L > 7 then put "," before char -7 of thisFigure > >put the length of thisFigure into L > >if L > 11 then put "," before char -11 of thisFigure > >put the length of thisFigure into L > >if L > 15 then put "," before char -15 of thisFigure -- THIS WOULD >BE AT LEAST 1 TRILLION!! > >put "$" before thisFigure > >end commaInsert > > > >I use the above function (command) after performing math functions >on numbers that I then want to display as dollar amounts with the >commas in the right places. >It would be very cool to have it available all the time through a >plug-in. It would be even more cool if I could somehow add it to >the LC dictionary and do this: > >put commaInsert(thisFigure) into field "myDollarDisplay" >if thisFigure < 1 then set the textcolor of field "myDollarDisplay" to red > >Or even: >put commaInsert(thisFigure + otherFigure) into [container] > >From what I've heard from programming friends, other languages allow >for adding of functions to the dictionary as in the two line example >in italics above. > >Do you know if that is possible in LC? As far as I know, it is not possible. >Larry > >----- Original Message ----- >From: >To: >Sent: Sunday, October 12, 2014 4:53 PM >Subject: Re: problem with counting words > > >> >> >> Larry. >> But you can make your own "dictionary". Without limit. Most of >>that, too, has been possible since Hypercard. You can define your >>own properties, commands and functions, and place them in permanent >>use in several ways, for example, as a library stack in use or a >>plug-in. >> Have you ever written such a thing? Please write back if you have >>not, and we will play around for a while. Or if you have written >>such gadgetry, but just never saved any of them for later, general >>use in your own personal LC world, the tell us that as well. >> Craig Newman >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Sun Oct 12 21:58:29 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 09:58:29 +0800 Subject: problem with counting words In-Reply-To: <543B1284.90103@fourthworld.com> References: <543B1284.90103@fourthworld.com> Message-ID: On Mon, Oct 13, 2014 at 7:45 AM, Richard Gaskin wrote: > > I hear ya', but like so many other oddities in the language this one came > from Apple, > Sheer brilliance! One of the first analogies of HyperCard was that it was a an electronic rolodex. Here is a list of names: Abu Musab Al-Zarqawi Camilla Parker-Bowles Catherine Zeta-Jones Claude Levi-Strauss D'Arcy Corrigan Daniel Day-Lewis David Ben-Gurion Dodi Al-Fayed Florence Griffith-Joyner Gilbert O'Sullivan Gloria Macapagal-Arroyo Jean-Claude Van Damme Jimmy O'Dea Justine Henin-Hardenne Kareem Abdul-Jabbar Karim Abdul-Jabbar Kristin Scott-Thomas Maddox Jolie-Pitt Michael O'Leary Olivia Newton-John Peter O'Toole Sin?ad O'Connor Tim Brooke-Taylor Ralph Twistleton-Wykham-Fiennes So lets say you want to sort these by surname - a kind of rolodex thing to do. sort lines of myListOfNames by word of -1 each will result in only one mistake sort lines of myListOfnames by trueword -1 of each --if you are on LC7.0 will result in basically the same messed up result most other programming languages will give you. Put it in and word processor and see how you go. Please feel free to try and write your own function that is more successful and more efficient than the beautiful one liner Bill Atkinson gave us. Even if you had wordDel it wouldn't help much. I can't imagine the amount of hours that have been wasted, especially on genealogical websites, trying to unfathom why double barrelled names never sort correctly. This is also compounded by the certain fact that some people will put a space between the last given name and the Surname, some a tab, and some will 'format' the data by placing multiple spaces in between names so that things 'line up nicely' - and are then confused as to why it only looks that way on their screen an not on someone else's. One of the reasons double barrelled names have picked up the '-' is to help computers recognise them as a single word. Also; put myVariable into fld Not A Variable doesn't work put myVariable into fld "Not A Variable" does. The ability to recognise words in quote as a single entity is extremely important. Yes, we don't typically think of such as a single word, but when we understand that computers don't think like us, and we do understand why things are the way they are, such oddities can be manipulated in many powerful ways to our own advantage. It is also helpful when we understand such things that we don't go around replacing one character willy nilly with another character. ~ [tilde] for instance is one character I'd never use as it has a special meaning in many computer languages; as does / \ < > . * and many others. If we had some text that contained both straight and curly quotes and replaced the straight quotes with curly quotes so we could get a word count, and then changed the curly quotes back to straight quotes, the finL text is not the same as it started - and this could cause problems. Today your function might work perfectly for today's problem, but next month, or next year, when you start expanding your LC skills and try working with SQL databases, or Servers and network connections, every now and then someone will report a bug that your app does something strange. You may never be able to track it down because it just happens that once every million DB calls a random user happens to use data that contains a character that you never use yourself and thought no one else would. I have a particular liking to numToChar(127) myself. Yep, no other programming language might define a word like LC defines a word, but I for one am EXTREMELY thankful for that. From larry at significantplanet.org Sun Oct 12 21:58:21 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 19:58:21 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> Message-ID: Hi Robert, I understand what you wrote. That is not a problem for me. What I want is to be able to put my function into the LC IDE so that I can use it in other stacks. You mention a library stack. I do not know how to make one or use one. Is there some tutorial or something that will tell me how? Thanks, Larry ----- Original Message ----- From: "Robert Brenstein" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 7:15 PM Subject: Re: problem with counting words > Larry, > > Change the first line of your function to > > function commaInsert thisFigure > > Better yet: > > function commaInsert pFigure > put pFigure into thisFigure > > Then add before the last end the following line > > return thisFigure > > If you have your function anywhere in the path (like in the stack script > or library stack that is in use), then the following will work as you want > > put commaInsert(thisFigure) into field "myDollarDisplay" > > Robert > > > On 12.10.2014 at 17:09 Uhr -0600 apparently > wrote: >>Hi Craig, >>I've written several functions within stacks, but have no idea how to >>create a library stack or, seems better, as a plug-in. >>For example, one function I use in many of the programs I'm writing is: >>commaInsert: >> >>on commaInsert >> >>put round(thisFigure) into thisFigure >> >>if thisFigure < 0 then put thisFigure * -1 into thisFigure >> >>put the length of thisFigure into L >> >>if L > 3 then put "," before char -3 of thisFigure >> >>put the length of thisFigure into L >> >>if L > 7 then put "," before char -7 of thisFigure >> >>put the length of thisFigure into L >> >>if L > 11 then put "," before char -11 of thisFigure >> >>put the length of thisFigure into L >> >>if L > 15 then put "," before char -15 of thisFigure -- THIS WOULD BE AT >>LEAST 1 TRILLION!! >> >>put "$" before thisFigure >> >>end commaInsert >> >> >> >>I use the above function (command) after performing math functions on >>numbers that I then want to display as dollar amounts with the commas in >>the right places. >>It would be very cool to have it available all the time through a plug-in. >>It would be even more cool if I could somehow add it to the LC dictionary >>and do this: >> >>put commaInsert(thisFigure) into field "myDollarDisplay" >>if thisFigure < 1 then set the textcolor of field "myDollarDisplay" to red >> >>Or even: >>put commaInsert(thisFigure + otherFigure) into [container] >> >>From what I've heard from programming friends, other languages allow for >>adding of functions to the dictionary as in the two line example in >>italics above. >> >>Do you know if that is possible in LC? As far as I know, it is not >>possible. >>Larry >> >>----- Original Message ----- >>From: >>To: >>Sent: Sunday, October 12, 2014 4:53 PM >>Subject: Re: problem with counting words >> >> >>> >>> >>> Larry. >>> But you can make your own "dictionary". Without limit. Most of that, >>> too, has been possible since Hypercard. You can define your own >>> properties, commands and functions, and place them in permanent use in >>> several ways, for example, as a library stack in use or a plug-in. >>> Have you ever written such a thing? Please write back if you have not, >>> and we will play around for a while. Or if you have written such >>> gadgetry, but just never saved any of them for later, general use in >>> your own personal LC world, the tell us that as well. >>> Craig Newman >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 22:00:44 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 10:00:44 +0800 Subject: problem with counting words In-Reply-To: References: <543B1284.90103@fourthworld.com> Message-ID: On Mon, Oct 13, 2014 at 9:58 AM, Kay C Lan wrote: > > sort lines of myListOfNames by word of -1 each > > sort lnes of myListOfNames by word -1 of each Hate it when I hit send and then immediately see an error in my typing. From larry at significantplanet.org Sun Oct 12 22:05:31 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 20:05:31 -0600 Subject: lock screen question and detect field question Message-ID: Hello, 2 questions this time: 1) I have a program where I'm creating and deleting fields. If I try to delete a field that hasn't yet been created, I get a script error. So is there a way to first find out if the field exists? Something like: if field "myField01" exists then do stuff end if 2) Other than creating a substack to overlay my main stack with a "Loading" field that adds a period after "Loading......" is there a way to lock the screen (so the user doesn't see the fields being created) and still show a field with the "Loading..." going on? Like: on createMyFields lock screen create the fields update the "Loading....." field with a new period -- AND DON'T LOCK THIS VIEW FROM BEING UPDATED unlock screen end createMyFields Thanks, Larry From lan.kc.macmail at gmail.com Sun Oct 12 22:09:40 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 10:09:40 +0800 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com> <018A40436A024E2E886C11E49E3F9F87@userd204a4d61c> <68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com> <4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> Message-ID: Open the User Guide (from the IDE Help Menu select 'User Guide' and type Library in your pdf viewer's search box. Chapter 5.8 'Extending the Message Path' should come up as the first hit. This also may be helpful: http://lessons.runrev.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object HTH On Mon, Oct 13, 2014 at 9:58 AM, wrote: > Hi Robert, > I understand what you wrote. That is not a problem for me. > What I want is to be able to put my function into the LC IDE so that I can > use it in other stacks. > You mention a library stack. I do not know how to make one or use one. Is > there some tutorial or something that will tell me how? > Thanks, > Larry > > ----- Original Message ----- From: "Robert Brenstein" > To: "How to use LiveCode" > Sent: Sunday, October 12, 2014 7:15 PM > > Subject: Re: problem with counting words > > > Larry, >> >> Change the first line of your function to >> >> function commaInsert thisFigure >> >> Better yet: >> >> function commaInsert pFigure >> put pFigure into thisFigure >> >> Then add before the last end the following line >> >> return thisFigure >> >> If you have your function anywhere in the path (like in the stack script >> or library stack that is in use), then the following will work as you want >> >> put commaInsert(thisFigure) into field "myDollarDisplay" >> >> Robert >> >> >> On 12.10.2014 at 17:09 Uhr -0600 >> apparently wrote: >> >>> Hi Craig, >>> I've written several functions within stacks, but have no idea how to >>> create a library stack or, seems better, as a plug-in. >>> For example, one function I use in many of the programs I'm writing is: >>> commaInsert: >>> >>> on commaInsert >>> >>> put round(thisFigure) into thisFigure >>> >>> if thisFigure < 0 then put thisFigure * -1 into thisFigure >>> >>> put the length of thisFigure into L >>> >>> if L > 3 then put "," before char -3 of thisFigure >>> >>> put the length of thisFigure into L >>> >>> if L > 7 then put "," before char -7 of thisFigure >>> >>> put the length of thisFigure into L >>> >>> if L > 11 then put "," before char -11 of thisFigure >>> >>> put the length of thisFigure into L >>> >>> if L > 15 then put "," before char -15 of thisFigure -- THIS WOULD BE AT >>> LEAST 1 TRILLION!! >>> >>> put "$" before thisFigure >>> >>> end commaInsert >>> >>> >>> >>> I use the above function (command) after performing math functions on >>> numbers that I then want to display as dollar amounts with the commas in >>> the right places. >>> It would be very cool to have it available all the time through a >>> plug-in. It would be even more cool if I could somehow add it to the LC >>> dictionary and do this: >>> >>> put commaInsert(thisFigure) into field "myDollarDisplay" >>> if thisFigure < 1 then set the textcolor of field "myDollarDisplay" to >>> red >>> >>> Or even: >>> put commaInsert(thisFigure + otherFigure) into [container] >>> >>> From what I've heard from programming friends, other languages allow for >>> adding of functions to the dictionary as in the two line example in italics >>> above. >>> >>> Do you know if that is possible in LC? As far as I know, it is not >>> possible. >>> Larry >>> >>> ----- Original Message ----- >>> From: >>> To: >>> Sent: Sunday, October 12, 2014 4:53 PM >>> Subject: Re: problem with counting words >>> >>> >>> >>>> >>>> Larry. >>>> But you can make your own "dictionary". Without limit. Most of that, >>>> too, has been possible since Hypercard. You can define your own properties, >>>> commands and functions, and place them in permanent use in several ways, >>>> for example, as a library stack in use or a plug-in. >>>> Have you ever written such a thing? Please write back if you have not, >>>> and we will play around for a while. Or if you have written such gadgetry, >>>> but just never saved any of them for later, general use in your own >>>> personal LC world, the tell us that as well. >>>> Craig Newman >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 22:10:26 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 20:10:26 -0600 Subject: problem with counting words References: <543B1284.90103@fourthworld.com> Message-ID: Hello Kay, Mark gave me a short explanation of why it is good to see the words within quotes as one word and now you've given a longer and more detailed explanation. So I thank you and I will stop throwing rocks at my computer. Larry P.S. I still want to understand how to write my own functions that I can use right within any script of any stack. ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 7:58 PM Subject: Re: problem with counting words > On Mon, Oct 13, 2014 at 7:45 AM, Richard Gaskin > > wrote: > >> >> I hear ya', but like so many other oddities in the language this one came >> from Apple, >> > > Sheer brilliance! One of the first analogies of HyperCard was that it was > a > an electronic rolodex. Here is a list of names: > > Abu Musab Al-Zarqawi > Camilla Parker-Bowles > Catherine Zeta-Jones > Claude Levi-Strauss > D'Arcy Corrigan > Daniel Day-Lewis > David Ben-Gurion > Dodi Al-Fayed > Florence Griffith-Joyner > Gilbert O'Sullivan > Gloria Macapagal-Arroyo > Jean-Claude Van Damme > Jimmy O'Dea > Justine Henin-Hardenne > Kareem Abdul-Jabbar > Karim Abdul-Jabbar > Kristin Scott-Thomas > Maddox Jolie-Pitt > Michael O'Leary > Olivia Newton-John > Peter O'Toole > Sin?ad O'Connor > Tim Brooke-Taylor > Ralph Twistleton-Wykham-Fiennes > > So lets say you want to sort these by surname - a kind of rolodex thing to > do. > > sort lines of myListOfNames by word of -1 each > > will result in only one mistake > > sort lines of myListOfnames by trueword -1 of each --if you are on LC7.0 > > will result in basically the same messed up result most other programming > languages will give you. Put it in and word processor and see how you go. > > Please feel free to try and write your own function that is more > successful > and more efficient than the beautiful one liner Bill Atkinson gave us. > Even > if you had wordDel it wouldn't help much. I can't imagine the amount of > hours that have been wasted, especially on genealogical websites, trying > to > unfathom why double barrelled names never sort correctly. This is also > compounded by the certain fact that some people will put a space between > the last given name and the Surname, some a tab, and some will 'format' > the > data by placing multiple spaces in between names so that things 'line up > nicely' - and are then confused as to why it only looks that way on their > screen an not on someone else's. One of the reasons double barrelled names > have picked up the '-' is to help computers recognise them as a single > word. > > Also; > > put myVariable into fld Not A Variable > > doesn't work > > put myVariable into fld "Not A Variable" > > does. The ability to recognise words in quote as a single entity is > extremely important. Yes, we don't typically think of such as a single > word, but when we understand that computers don't think like us, and we do > understand why things are the way they are, such oddities can be > manipulated in many powerful ways to our own advantage. It is also helpful > when we understand such things that we don't go around replacing one > character willy nilly with another character. ~ [tilde] for instance is > one > character I'd never use as it has a special meaning in many computer > languages; as does / \ < > . * and many others. If we had some text that > contained both straight and curly quotes and replaced the straight quotes > with curly quotes so we could get a word count, and then changed the curly > quotes back to straight quotes, the finL text is not the same as it > started > - and this could cause problems. Today your function might work perfectly > for today's problem, but next month, or next year, when you start > expanding > your LC skills and try working with SQL databases, or Servers and network > connections, every now and then someone will report a bug that your app > does something strange. You may never be able to track it down because it > just happens that once every million DB calls a random user happens to use > data that contains a character that you never use yourself and thought no > one else would. I have a particular liking to numToChar(127) myself. > > Yep, no other programming language might define a word like LC defines a > word, but I for one am EXTREMELY thankful 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 lan.kc.macmail at gmail.com Sun Oct 12 22:14:15 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 10:14:15 +0800 Subject: lock screen question and detect field question In-Reply-To: References: Message-ID: On Mon, Oct 13, 2014 at 10:05 AM, wrote: > > 1) I have a program where I'm creating and deleting fields. Why are you creating them and deleting them? Why aren't the fields already there and you just show and hide them? From rjb at robelko.com Sun Oct 12 22:16:51 2014 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 13 Oct 2014 04:16:51 +0200 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40 436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA 8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3B DA1856364E8BC96@userd204a4d61c> Message-ID: On 12.10.2014 at 19:58 Uhr -0600 apparently wrote: >Hi Robert, >I understand what you wrote. That is not a problem for me. >What I want is to be able to put my function into the LC IDE so that >I can use it in other stacks. >You mention a library stack. I do not know how to make one or use >one. Is there some tutorial or something that will tell me how? >Thanks, >Larry > Well, you showed a code for command but talked about using it as a function, hence my email. A library stack is a stack with your library functions in its stack script and which is activated as a library by issuing the start using command (either manually or through a script). You can place that stack in the plugins folder and set up the plugin manager to activate it automatically when launching IDE. All this is in documentation. Start with start using command, me thinks. Robert From jacque at hyperactivesw.com Sun Oct 12 22:23:40 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 21:23:40 -0500 Subject: problem with counting words In-Reply-To: <1921297649499.20141012173242@ahsoftware.net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> Message-ID: <543B37AC.8010007@hyperactivesw.com> On 10/12/2014, 7:32 PM, Mark Wieder wrote: > What I'd need to > do in that case is say > > linecount "some file with spaces.txt" > > And then the operating system would treat everything within the quotes > as a single parameter. Which is probably the same reason the HC team did it that way, because the example they used to give involved the ease of extracting object names. The name of an object is in the form: stack "My Great Stack" button "Click Me" And if you wanted the short name you just got word 2 of the name. That would be a single parameter that was easy to pass to the engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Sun Oct 12 22:29:18 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 20:29:18 -0600 Subject: problem with counting words References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com><8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> Message-ID: <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> Hello Kay, I read the chapter in the user guide about creating a library. I also read "insert script" in the dictionary and it talks about a limit of 10 scripts(10 front and 10 back) in the compiled app. What I'm unclear about is, may I have multiple functions within, say, a card or stack script? In other words, if I have one script that contains 10 commands within it that could be called up, is that counted as 1 script or as 10 scripts? Thanks, Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 8:09 PM Subject: Re: problem with counting words > Open the User Guide (from the IDE Help Menu select 'User Guide' and type > Library in your pdf viewer's search box. Chapter 5.8 'Extending the > Message > Path' should come up as the first hit. > > This also may be helpful: > > http://lessons.runrev.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object > > HTH > > On Mon, Oct 13, 2014 at 9:58 AM, wrote: > >> Hi Robert, >> I understand what you wrote. That is not a problem for me. >> What I want is to be able to put my function into the LC IDE so that I >> can >> use it in other stacks. >> You mention a library stack. I do not know how to make one or use one. >> Is >> there some tutorial or something that will tell me how? >> Thanks, >> Larry >> >> ----- Original Message ----- From: "Robert Brenstein" >> To: "How to use LiveCode" >> Sent: Sunday, October 12, 2014 7:15 PM >> >> Subject: Re: problem with counting words >> >> >> Larry, >>> >>> Change the first line of your function to >>> >>> function commaInsert thisFigure >>> >>> Better yet: >>> >>> function commaInsert pFigure >>> put pFigure into thisFigure >>> >>> Then add before the last end the following line >>> >>> return thisFigure >>> >>> If you have your function anywhere in the path (like in the stack script >>> or library stack that is in use), then the following will work as you >>> want >>> >>> put commaInsert(thisFigure) into field "myDollarDisplay" >>> >>> Robert >>> >>> >>> On 12.10.2014 at 17:09 Uhr -0600 >>> apparently wrote: >>> >>>> Hi Craig, >>>> I've written several functions within stacks, but have no idea how to >>>> create a library stack or, seems better, as a plug-in. >>>> For example, one function I use in many of the programs I'm writing is: >>>> commaInsert: >>>> >>>> on commaInsert >>>> >>>> put round(thisFigure) into thisFigure >>>> >>>> if thisFigure < 0 then put thisFigure * -1 into thisFigure >>>> >>>> put the length of thisFigure into L >>>> >>>> if L > 3 then put "," before char -3 of thisFigure >>>> >>>> put the length of thisFigure into L >>>> >>>> if L > 7 then put "," before char -7 of thisFigure >>>> >>>> put the length of thisFigure into L >>>> >>>> if L > 11 then put "," before char -11 of thisFigure >>>> >>>> put the length of thisFigure into L >>>> >>>> if L > 15 then put "," before char -15 of thisFigure -- THIS WOULD BE >>>> AT >>>> LEAST 1 TRILLION!! >>>> >>>> put "$" before thisFigure >>>> >>>> end commaInsert >>>> >>>> >>>> >>>> I use the above function (command) after performing math functions on >>>> numbers that I then want to display as dollar amounts with the commas >>>> in >>>> the right places. >>>> It would be very cool to have it available all the time through a >>>> plug-in. It would be even more cool if I could somehow add it to the LC >>>> dictionary and do this: >>>> >>>> put commaInsert(thisFigure) into field "myDollarDisplay" >>>> if thisFigure < 1 then set the textcolor of field "myDollarDisplay" to >>>> red >>>> >>>> Or even: >>>> put commaInsert(thisFigure + otherFigure) into [container] >>>> >>>> From what I've heard from programming friends, other languages allow >>>> for >>>> adding of functions to the dictionary as in the two line example in >>>> italics >>>> above. >>>> >>>> Do you know if that is possible in LC? As far as I know, it is not >>>> possible. >>>> Larry >>>> >>>> ----- Original Message ----- >>>> From: >>>> To: >>>> Sent: Sunday, October 12, 2014 4:53 PM >>>> Subject: Re: problem with counting words >>>> >>>> >>>> >>>>> >>>>> Larry. >>>>> But you can make your own "dictionary". Without limit. Most of that, >>>>> too, has been possible since Hypercard. You can define your own >>>>> properties, >>>>> commands and functions, and place them in permanent use in several >>>>> ways, >>>>> for example, as a library stack in use or a plug-in. >>>>> Have you ever written such a thing? Please write back if you have >>>>> not, >>>>> and we will play around for a while. Or if you have written such >>>>> gadgetry, >>>>> but just never saved any of them for later, general use in your own >>>>> personal LC world, the tell us that as well. >>>>> Craig Newman >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 22:33:52 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 20:33:52 -0600 Subject: lock screen question and detect field question References: Message-ID: <8A9B1D53DA2D42299757C347D8C62FCF@userd204a4d61c> That is a really good question! And I have a really good answer! Because the fields are dynamic and not always the same ones needed. But you've given me a new thought: Maybe I can just create all the fields I will ever possibly need and then just show and hide them. I'm going to think about that. Thanks, Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Sunday, October 12, 2014 8:14 PM Subject: Re: lock screen question and detect field question > On Mon, Oct 13, 2014 at 10:05 AM, wrote: > >> >> 1) I have a program where I'm creating and deleting fields. > > > Why are you creating them and deleting them? Why aren't the fields already > there and you just show and hide them? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 12 22:51:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 21:51:05 -0500 Subject: problem with counting words In-Reply-To: <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> Message-ID: <543B3E19.5080502@hyperactivesw.com> On 10/12/2014, 7:42 PM, larry at significantplanet.org wrote: > On the other hand, it is giving me fits having to go from regular quotes > to curly quotes (for counting) and then back to regular quotes for > display (since LC displays a curly quote as some oddball char). But if > I could write my own function for that stuff, wow. I think I'd just make a copy of the text in a variable, delete all the quotes, and count the words. After you get the count, discard the variable. You don't need to reconstruct it. > > I do not have ANY experience with frontscripts, backscripts, plug-ins, > whatever. You can do what you want once you learn about that stuff. Many of us have custom libraries, frontscripts, and backscripts that help us work. You could start here: A backscript is just a script you write that you can put into the message path; it receives messages after everything else gets a shot at them. The script can live in any object; buttons are common storage places. That's probably what you're looking for. A frontscript is the same as a backscript only it gets messages before anything else; I'd avoid those until you understand the message path pretty well. See the link above. A library behaves like a backscript, only the script has to be in the script of another stack; the stack is opened and put in use. The difference between a library and a backscript is minimal, except libraries get a message when they're first opened so they can respond if necessary. There used to be a slight difference in the layering order too, but I'm not sure whether that's still valid. Practically speaking, it's unimportant. A plugin isn't what you want; it's just a stack that carries out some specific actions, and the IDE makes it available in the menu for convenience. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Oct 12 22:58:33 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 21:58:33 -0500 Subject: lock screen question and detect field question In-Reply-To: References: Message-ID: <543B3FD9.8080908@hyperactivesw.com> On 10/12/2014, 9:05 PM, larry at significantplanet.org wrote: > 1) I have a program where I'm creating and deleting fields. If I try > to delete a field that hasn't yet been created, I get a script error. > So is there a way to first find out if the field exists? Did you look up "exists" in the dictionary? That also refers you to "there is" operator in the "see also" section. > 2) Other than creating a substack to overlay my main stack with a > "Loading" field that adds a period after "Loading......" is there a > way to lock the screen (so the user doesn't see the fields being > created) and still show a field with the "Loading..." going on? If you lock messages as well as locking the screen, you probably won't need to show a loading dialog. The display and update of the dialog is likely to take longer than just creating the fields. I can create 500 fields in under 2 milliseconds. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Sun Oct 12 23:03:22 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 11:03:22 +0800 Subject: problem with counting words In-Reply-To: <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com> <018A40436A024E2E886C11E49E3F9F87@userd204a4d61c> <68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com> <4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> Message-ID: HI Larry, That information is out of date, there are no more script limits, these were removed when LC went Community - yippeee ;-) You can test this by, in the message box: put the scriptLimits it should return, 0,0,0,0 so you are free to make your script library as huge as you want and your commands and functions can be as big as needed. On Mon, Oct 13, 2014 at 10:29 AM, wrote: > Hello Kay, > I read the chapter in the user guide about creating a library. > I also read "insert script" in the dictionary and it talks about a limit > of 10 scripts(10 front and 10 back) in the compiled app. > What I'm unclear about is, may I have multiple functions within, say, a > card or stack script? In other words, if I have one script that contains > 10 commands within it that could be called up, is that counted as 1 script > or as 10 scripts? > Thanks, > Larry > > ----- Original Message ----- From: "Kay C Lan" > To: "How to use LiveCode" > Sent: Sunday, October 12, 2014 8:09 PM > > Subject: Re: problem with counting words > > > Open the User Guide (from the IDE Help Menu select 'User Guide' and type >> Library in your pdf viewer's search box. Chapter 5.8 'Extending the >> Message >> Path' should come up as the first hit. >> >> This also may be helpful: >> >> http://lessons.runrev.com/m/4071/l/11787-how-to-call-a- >> function-or-command-in-another-object >> >> HTH >> >> On Mon, Oct 13, 2014 at 9:58 AM, wrote: >> >> Hi Robert, >>> I understand what you wrote. That is not a problem for me. >>> What I want is to be able to put my function into the LC IDE so that I >>> can >>> use it in other stacks. >>> You mention a library stack. I do not know how to make one or use one. >>> Is >>> there some tutorial or something that will tell me how? >>> Thanks, >>> Larry >>> >>> ----- Original Message ----- From: "Robert Brenstein" >>> To: "How to use LiveCode" >>> Sent: Sunday, October 12, 2014 7:15 PM >>> >>> Subject: Re: problem with counting words >>> >>> >>> Larry, >>> >>>> >>>> Change the first line of your function to >>>> >>>> function commaInsert thisFigure >>>> >>>> Better yet: >>>> >>>> function commaInsert pFigure >>>> put pFigure into thisFigure >>>> >>>> Then add before the last end the following line >>>> >>>> return thisFigure >>>> >>>> If you have your function anywhere in the path (like in the stack script >>>> or library stack that is in use), then the following will work as you >>>> want >>>> >>>> put commaInsert(thisFigure) into field "myDollarDisplay" >>>> >>>> Robert >>>> >>>> >>>> On 12.10.2014 at 17:09 Uhr -0600 >>>> apparently wrote: >>>> >>>> Hi Craig, >>>>> I've written several functions within stacks, but have no idea how to >>>>> create a library stack or, seems better, as a plug-in. >>>>> For example, one function I use in many of the programs I'm writing is: >>>>> commaInsert: >>>>> >>>>> on commaInsert >>>>> >>>>> put round(thisFigure) into thisFigure >>>>> >>>>> if thisFigure < 0 then put thisFigure * -1 into thisFigure >>>>> >>>>> put the length of thisFigure into L >>>>> >>>>> if L > 3 then put "," before char -3 of thisFigure >>>>> >>>>> put the length of thisFigure into L >>>>> >>>>> if L > 7 then put "," before char -7 of thisFigure >>>>> >>>>> put the length of thisFigure into L >>>>> >>>>> if L > 11 then put "," before char -11 of thisFigure >>>>> >>>>> put the length of thisFigure into L >>>>> >>>>> if L > 15 then put "," before char -15 of thisFigure -- THIS WOULD BE >>>>> AT >>>>> LEAST 1 TRILLION!! >>>>> >>>>> put "$" before thisFigure >>>>> >>>>> end commaInsert >>>>> >>>>> >>>>> >>>>> I use the above function (command) after performing math functions on >>>>> numbers that I then want to display as dollar amounts with the commas >>>>> in >>>>> the right places. >>>>> It would be very cool to have it available all the time through a >>>>> plug-in. It would be even more cool if I could somehow add it to the LC >>>>> dictionary and do this: >>>>> >>>>> put commaInsert(thisFigure) into field "myDollarDisplay" >>>>> if thisFigure < 1 then set the textcolor of field "myDollarDisplay" to >>>>> red >>>>> >>>>> Or even: >>>>> put commaInsert(thisFigure + otherFigure) into [container] >>>>> >>>>> From what I've heard from programming friends, other languages allow >>>>> for >>>>> adding of functions to the dictionary as in the two line example in >>>>> italics >>>>> above. >>>>> >>>>> Do you know if that is possible in LC? As far as I know, it is not >>>>> possible. >>>>> Larry >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> To: >>>>> Sent: Sunday, October 12, 2014 4:53 PM >>>>> Subject: Re: problem with counting words >>>>> >>>>> >>>>> >>>>> >>>>>> Larry. >>>>>> But you can make your own "dictionary". Without limit. Most of that, >>>>>> too, has been possible since Hypercard. You can define your own >>>>>> properties, >>>>>> commands and functions, and place them in permanent use in several >>>>>> ways, >>>>>> for example, as a library stack in use or a plug-in. >>>>>> Have you ever written such a thing? Please write back if you have >>>>>> not, >>>>>> and we will play around for a while. Or if you have written such >>>>>> gadgetry, >>>>>> but just never saved any of them for later, general use in your own >>>>>> personal LC world, the tell us that as well. >>>>>> Craig Newman >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 12 23:04:29 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 12 Oct 2014 23:04:29 -0400 Subject: problem with counting words In-Reply-To: <543B3E19.5080502@hyperactivesw.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> Message-ID: <0332A411-21A7-4974-BE34-0F728F083142@gmail.com> On Oct 12, 2014, at 10:51 PM, J. Landman Gay wrote: > A backscript is just a script you write that you can put into the message path; it receives messages after everything else gets a shot at them. The script can live in any object; buttons are common storage places. That's probably what you're looking for. > > A frontscript is the same as a backscript only it gets messages before anything else; I'd avoid those until you understand the message path pretty well. See the link above. > > A library behaves like a backscript, only the script has to be in the script of another stack; the stack is opened and put in use. The difference between a library and a backscript is minimal, except libraries get a message when they're first opened so they can respond if necessary. There used to be a slight difference in the layering order too, but I'm not sure whether that's still valid. Practically speaking, it's unimportant. > > A plugin isn't what you want; it's just a stack that carries out some specific actions, and the IDE makes it available in the menu for convenience. You can create a plugin that opens invisibly when you start up LiveCode, and the plugin can contain a button with a script full of whatever functions and commands you want to have available. Then you can put this into the plugin stack script: on openstack insert script of btn "myLibrary" into back end openstack And that will make all the handlers in the button script library available to you everywhere you work in LiveCode, automatically, since the library script will be activated whenever you start LC. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Sun Oct 12 23:16:34 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 22:16:34 -0500 Subject: problem with counting words In-Reply-To: <0332A411-21A7-4974-BE34-0F728F083142@gmail.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> <0332A411-21A7-4974-BE34-0F728F083142@gmail.com> Message-ID: <543B4412.8000404@hyperactivesw.com> On 10/12/2014, 10:04 PM, Peter M. Brigham wrote: > You can create a plugin that opens invisibly when you start up > LiveCode, and the plugin can contain a button with a script full of > whatever functions and commands you want to have available. Then you > can put this into the plugin stack script: > > on openstack > insert script of btn "myLibrary" into back > end openstack > > And that will make all the handlers in the button script library available to you everywhere you work in LiveCode, automatically, since the library script will be activated whenever you start LC. That's how I do it too, but I didn't want to get too deep into things yet. One thing to mention though is that these custom solutions won't transfer to stacks that are distributed to others unless the backscript is included as part of the distribution. I know a little about what Larry's working on, so in this case he'd be better off with a backscript. For only private use during development though, the plugin method is awfully handy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Oct 12 23:16:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 22:16:58 -0500 Subject: problem with counting words In-Reply-To: <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com><8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> Message-ID: <543B442A.50208@hyperactivesw.com> On 10/12/2014, 9:29 PM, larry at significantplanet.org wrote: > What I'm unclear about is, may I have multiple functions within, say, a > card or stack script? In other words, if I have one script that > contains 10 commands within it that could be called up, is that counted > as 1 script or as 10 scripts? One script. My current project has a single backscript with maybe a hundred functions and commands in it. It's one script. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Oct 12 23:21:30 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Oct 2014 20:21:30 -0700 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com> <8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> Message-ID: <1501307776780.20141012202130@ahsoftware.net> larry- Sunday, October 12, 2014, 6:58:21 PM, you wrote: > You mention a library stack. I do not know how to make one or use one. Is > there some tutorial or something that will tell me how? Well, *do* followup on reading Richard Gaskin's writeup on the message path. But meanwhile try this... put the following into a button's script (here the button is named "myFunctions"): on commaInsert --your code here-- end commaInsert then from the messagebox type insert the script of button "myFunctions" into back now the commaInsert command is available to all 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 mwieder at ahsoftware.net Sun Oct 12 23:23:43 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Oct 2014 20:23:43 -0700 Subject: problem with counting words In-Reply-To: References: <543B1284.90103@fourthworld.com> Message-ID: <101307910093.20141012202343@ahsoftware.net> larry- Sunday, October 12, 2014, 7:10:26 PM, you wrote: > So I thank you and I will stop throwing rocks at my computer. LOL. Don't stop throwing rocks - it's an essential part of programming. -- -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 lan.kc.macmail at gmail.com Sun Oct 12 23:26:14 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 11:26:14 +0800 Subject: lock screen question and detect field question In-Reply-To: <8A9B1D53DA2D42299757C347D8C62FCF@userd204a4d61c> References: <8A9B1D53DA2D42299757C347D8C62FCF@userd204a4d61c> Message-ID: On Mon, Oct 13, 2014 at 10:33 AM, wrote: > Maybe I can just create all the fields I will ever possibly need and then > just show and hide them. > That is certainly an approach I've used many many times, especially if the number of fields is large. If the number of fields is smalll, say an input field and output field, even if they are of different sizes and located different, I first create them, take note of pertinent properties: height width loc textAlign textSize TextColor and any other property that might be different from one field to the other, then delete one field so I'm left with one field that can act as both as an input field and an output field. In my script, where I would normally: hide fld "input" show fild "output" I simply change the properties of my single field to reflect what I'm using it for: lock screen if the label of btn "selectMethod" = "Output" then set the height of fld "multipurpose" to 123 set the width of fld "multipurpose" to 456 set the loc of fld "multipurpose" to 200,200 etc put myOutput into fld "multipurpose" unlock screen From larry at significantplanet.org Sun Oct 12 23:29:24 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 12 Oct 2014 21:29:24 -0600 Subject: summary question for functions and libraries References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com><8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> <543B442A.50208@hyperactivesw.com> Message-ID: Thanks everyone for the info on libraries and backscripts, etc. I feel like I'm back in college taking an intensive class. If I understand everyone correctly, I could do this if I want my functions to work in a standalone: Make a stack that has a button (or the stack itself, right?) with all my functions in it. Then just add (copy) that stack as a sub-stack to whatever application I'm working on - say stack "larryLibrary" That way all my functions are available to me as I develop and also available when I create the standalone. Have I got it right? Thank you again! Larry From lan.kc.macmail at gmail.com Sun Oct 12 23:30:48 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 11:30:48 +0800 Subject: lock screen question and detect field question In-Reply-To: References: <8A9B1D53DA2D42299757C347D8C62FCF@userd204a4d61c> Message-ID: Accidently hit the Send button. Here is what I meant to type: lock screen if the label of btn "selectMethod" = "Output" then set the height of fld "multipurpose" to 123 set the width of fld "multipurpose" to 456 set the loc of fld "multipurpose" to 200,200 etc put myOutput into fld "multipurpose" else set the height of fld "multipurpose" to 23 set the width of fld "multipurpose" to 45 set the loc of fld "multipurpose" to 150,150 etc put empty into fld "multipurpose" end if unlock screen From jhj at jhj.com Sun Oct 12 23:42:46 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 12 Oct 2014 20:42:46 -0700 Subject: problem with counting words In-Reply-To: <543B3E19.5080502@hyperactivesw.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> Message-ID: On Oct 12, 2014, at 7:51 PM, J. Landman Gay wrote: > I think I'd just make a copy of the text in a variable, delete all the quotes, and count the words. After you get the count, discard the variable. You don't need to reconstruct it. Oh, how very sensible! I retract all my comments fumbling around with curly-quotes and replacing quotes. You might also want to replace tabs and returns with spaces before counting. Punctuation too if you want. Jacque has a lovely talent for seeing simple solutions. I have an unfortunate obsession with saving bytes from ye olden days. .Jerry From jacque at hyperactivesw.com Sun Oct 12 23:43:34 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 22:43:34 -0500 Subject: problem with counting words In-Reply-To: <101307910093.20141012202343@ahsoftware.net> References: <543B1284.90103@fourthworld.com> <101307910093.20141012202343@ahsoftware.net> Message-ID: <543B4A66.1070909@hyperactivesw.com> On 10/12/2014, 10:23 PM, Mark Wieder wrote: > larry- > > Sunday, October 12, 2014, 7:10:26 PM, you wrote: > >> So I thank you and I will stop throwing rocks at my computer. > > LOL. Don't stop throwing rocks - it's an essential part of > programming. > Absolutely. I keep a pile of rocks next to my desk. By the end of winter I've usually run out, and there is too much snow to go get more, so then I start throwing my husband. He has opinions about that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Sun Oct 12 23:45:06 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 11:45:06 +0800 Subject: problem with counting words In-Reply-To: <543B4412.8000404@hyperactivesw.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> <0332A411-21A7-4974-BE34-0F728F083142@gmail.com> <543B4412.8000404@hyperactivesw.com> Message-ID: On Mon, Oct 13, 2014 at 11:16 AM, J. Landman Gay wrote: One thing to mention though is that these custom solutions won't transfer > to stacks that are distributed to others > The other thing to remember is a plugin can't be edited as easily as any other stack. If Larry is just starting out making a 'collection' of useful commands and functions, he will probably be better off locating it in a simple button so he can easily get to it, add to it, amend it and transfer it as needed. Once it's content has settled down, and he's more familiar with LC, IDE, stacks, standalones and there idiosyncrasies, then he can have a look moving it to a plugin. From jacque at hyperactivesw.com Mon Oct 13 00:03:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 23:03:27 -0500 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> Message-ID: <543B4F0F.6080105@hyperactivesw.com> On 10/12/2014, 10:42 PM, Jerry Jensen wrote: > Jacque has a lovely talent for seeing simple solutions. I have an > unfortunate obsession with saving bytes from ye olden days. Thank you, but I'm afraid any talent I have is due to total oblivion about such things. I'm a one-trick language pony, I don't know any better. My motto is: Bytes be damned, let the engine handle it. If it can't, I figure it's a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Oct 13 00:08:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Oct 2014 23:08:23 -0500 Subject: summary question for functions and libraries In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><35C6E2CE-7F79-42EF-B95B-915E870ED2F9@jhj.com><018A40436A024E2E886C11E49E3F9F87@userd204a4d61c><68612FEF-9F20-4C81-BC0F-8A994EA8937D@jhj.com><8D1B4867A57F954-858-1C823@webmail-vm178.sysops.aol.com><4D55236D880A49D3BDA1856364E8BC96@userd204a4d61c> <8833F33B29704868B932EA463D1A48B8@userd204a4d61c> <543B442A.50208@hyperactivesw.com> Message-ID: <543B5037.6010801@hyperactivesw.com> On 10/12/2014, 10:29 PM, larry at significantplanet.org wrote: > Thanks everyone for the info on libraries and backscripts, etc. > > I feel like I'm back in college taking an intensive class. > > If I understand everyone correctly, I could do this if I want my > functions to work in a standalone: > > Make a stack that has a button (or the stack itself, right?) with all my > functions in it. > > Then just add (copy) that stack as a sub-stack to whatever application > I'm working on - say stack "larryLibrary" > > That way all my functions are available to me as I develop and also > available when I create the standalone. > > Have I got it right? Yup, except for the last critical step: you have to tell the engine to actually use the script. If it's in the stack script, you can use either one of these statements: start using stack "larryLibrary" OR insert script of stack "larryLibrary" into back If the script is in a button, you have to use the insert syntax: insert script of button "larryScript" of stack "larryLibrary" into back -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Mon Oct 13 00:10:04 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 12 Oct 2014 21:10:04 -0700 Subject: problem with counting words In-Reply-To: <543B4F0F.6080105@hyperactivesw.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c><5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com><511295707011.20141012170020@ahsoftware.net><6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> <543B4F0F.6080105@hyperactivesw.com> Message-ID: On Oct 12, 2014, at 9:03 PM, J. Landman Gay wrote: > On 10/12/2014, 10:42 PM, Jerry Jensen wrote: >> Jacque has a lovely talent for seeing simple solutions. I have an >> unfortunate obsession with saving bytes from ye olden days. > > Thank you, but I'm afraid any talent I have is due to total oblivion about such things. I'm a one-trick language pony, I don't know any better. My motto is: Bytes be damned, let the engine handle it. > > If it can't, I figure it's a bug. I say right out loud that is totally appropriate for this millenium. .Jerry From lan.kc.macmail at gmail.com Mon Oct 13 00:15:34 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Oct 2014 12:15:34 +0800 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> <543B4F0F.6080105@hyperactivesw.com> Message-ID: On Mon, Oct 13, 2014 at 12:10 PM, Jerry Jensen wrote: > On Oct 12, 2014, at 9:03 PM, J. Landman Gay > wrote: > > > My motto is: Bytes be damned, let the engine handle it. > > > > I say right out loud that is totally appropriate for this millenium. > .Jerry > Yes, thankfully Bytes don't take up as much space anymore: https://plus.google.com/u/0/+ChrisBetcher/posts/EfFxSLzR9wN?cfem=1 From gcanyon at gmail.com Mon Oct 13 01:11:11 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 13 Oct 2014 01:11:11 -0400 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> <543B4F0F.6080105@hyperactivesw.com> Message-ID: Here's a function to count the words disregarding quotes. Note that it's important to replace quotes with space, because there are three words in this is"three words" and there are three words in this isthree words but you want to count four words, which this will do: function wordsWithoutQuotes S replace quote with space in S return the number of words in S end wordsWithoutQuotes From dunbarx at aol.com Mon Oct 13 01:27:11 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 13 Oct 2014 01:27:11 -0400 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <6B487954F50D47C1842424E75F749A23@userd204a4d61c> <1921297649499.20141012173242@ahsoftware.net> <9A9959AB6BE54E50905B0BE31B6B6F5F@userd204a4d61c> <543B3E19.5080502@hyperactivesw.com> <543B4F0F.6080105@hyperactivesw.com> Message-ID: <8D1B4BD79375912-CDC-2022D@webmail-vm032.sysops.aol.com> Hi. You have plenty to think about. But maybe something more concrete will get you started. You are certainly game. Make two new stacks. They will be named "untitled 1" and "untitled 2". No matter. In stack "untitled 1" place a button. In its script put: on mouseUp start using stack "untitled 2" addTen 15 end mouseUp In the script of stack "untitled 2" place this in the stack script: on addTen var answer var + 10 end addTen Whenever you place that "library" stack in use, which can be done at the beginning of each session if you want (could be a plug-in) you will have the ability to add 10 to any number from absolutely anywhere in LC. Now this will break if you send a parameter that is not a number, so it needs beefing up. But the point is that you now have a library stack. Save it. Keep it. You can add as much stuff to it as you wish, including functions. the trick is to get the way it works. Craig From mwieder at ahsoftware.net Mon Oct 13 01:26:21 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Oct 2014 22:26:21 -0700 Subject: problem with counting words In-Reply-To: <543B4A66.1070909@hyperactivesw.com> References: <543B1284.90103@fourthworld.com> <101307910093.20141012202343@ahsoftware.net> <543B4A66.1070909@hyperactivesw.com> Message-ID: <1761315267568.20141012222621@ahsoftware.net> Jacque- Sunday, October 12, 2014, 8:43:34 PM, you wrote: > Absolutely. I keep a pile of rocks next to my desk. By the end of winter > I've usually run out, and there is too much snow to go get more, so then > I start throwing my husband. He has opinions about that. When I started out, all we had were rocks. And we were happy to get them. -- -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 Oct 13 04:21:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Oct 2014 03:21:27 -0500 Subject: problem with counting words In-Reply-To: <1761315267568.20141012222621@ahsoftware.net> References: <543B1284.90103@fourthworld.com> <101307910093.20141012202343@ahsoftware.net> <543B4A66.1070909@hyperactivesw.com> <1761315267568.20141012222621@ahsoftware.net> Message-ID: And I suppose you had to throw them uphill, both ways. That must have been scary. Sort of a rocky horror show. On October 13, 2014 12:26:21 AM CDT, Mark Wieder wrote: >Jacque- > >Sunday, October 12, 2014, 8:43:34 PM, you wrote: > >> Absolutely. I keep a pile of rocks next to my desk. By the end of >winter >> I've usually run out, and there is too much snow to go get more, so >then >> I start throwing my husband. He has opinions about that. > >When I started out, all we had were rocks. >And we were happy to get them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Mon Oct 13 10:23:19 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Oct 2014 10:23:19 -0400 Subject: problem with counting words In-Reply-To: <511295707011.20141012170020@ahsoftware.net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> Message-ID: <000401cfe6f1$3cee22e0$b6ca68a0$@net> <-----Original Message----- >punctuation: commas, periods, semicolons, etc. > >I also find that text within quotes being a single word is congruent with defining arguments for comandline syntax. > >-- >-Mark Wieder > ahsoftware at gmail.com Also don't forget the non-breaking space Decimal 160. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From t.heaford at btinternet.com Mon Oct 13 10:32:02 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 13 Oct 2014 15:32:02 +0100 Subject: problem with counting words In-Reply-To: <000401cfe6f1$3cee22e0$b6ca68a0$@net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> Message-ID: <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> set the wordDelim to space set the wordDelim to ?*? set the wordDelim to ?any single character you want? Should be easy for the LiveCode programmers to deliver such a command. also put the wordDelim into myVar Initally set to space, resets to space at the end of a handler. All the best Terry On 13 Oct 2014, at 15:23, Ralph DiMola wrote: > <-----Original Message----- > Of Mark Wieder > < > < > complexities. You need to keep in mind that words are delimited by > >> punctuation: commas, periods, semicolons, etc. >> >> I also find that text within quotes being a single word is congruent with > defining arguments for comandline syntax. >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com > > Also don't forget the non-breaking space Decimal 160. > > > 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 ambassador at fourthworld.com Mon Oct 13 11:03:24 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Oct 2014 08:03:24 -0700 Subject: problem with counting words In-Reply-To: References: Message-ID: <543BE9BC.7060708@fourthworld.com> Good post, Kay. Each of the examples you provided is among the reasons I like xTalk. But even though they demonstrate useful features of the language, neither is dependent on xTalk's trait of counting quoted text as a single word when using the word chunk type. Perhaps I should preface this by noting that I very much enjoy xTalk in general and LiveCode in particular, a love that's only grown in my 27 years with this family of languages. But all programming languages have historical anomalies, and xTalk is not the world's only exception to this. Programming languages are, by nature, somewhat funky, attempting to communicate the richness of human thought to a machine too stupid to count past 1. All of them require trade-offs. In the first example you provided, the list of names, none of them includes quoted text. And even with the broader support of treating words as white-space delimited (breaking from the English rule of usually not including punctuation), as you noted at least one of the examples there will fail (sorry, Mr. Van Damme). Many other languages also provide means of dealing with multi-character white space (sed, awk, and Python come to mind), and none of them, not even xTalk, will reliably sort by last name unless we separate the first and last more explicitly, such in separate fields or with a tab character, as is commonly done in any language where a last-name sort is important, even in LiveCode. In the second example in which a multi-word value is used as an object identifier, once again we're not asked to parse that using xTalk's "word" chunk type, but instead get to rely on the engine's expression evaluator, which works very much like JavaScript's and others' in which literal strings can be used as object identifiers. Useful as it is, it's neither unique to xTalk nor necessarily dependent on how we use the "word" chunk type. Object identifiers *can* become dependent on the word chunk type if you need to parse them yourself, as others have noted along with many other good examples to justify the HyperTalk team's implementation (though we might ask why we need to do this so often, such as why we don't have objectType or ownerStack functions). No matter how useful the current implementation is, the choice still requires justification. Even if that justification is sound, favoring a certain utility, it's still a trade-off, the downside being a redefinition of the word "word" from its more common definition in natural language. Larry's initial confusion is far from rare. xTalk's reliance on a unique definition of "word" that differs from its use in natural language is something we all had to learn. We may accept it, we may like it, we may even prefer it, but it's by no means intuitive to the native English speaker. xTalk was born more than a decade before Unicode was invented, so it couldn't have taken advantage of the vast pool of collective knowledge embodied in the Unicode spec, nor was there the luxury of having the computational horsepower needed to use such a spec efficiently. Today the LiveCode team has at last corrected this with the introduction of the "trueWord" token type, though I have to shrug my shoulders with an acknowledging chuckle in sharing Larry's initial observation that if xTalk were being designed today, with it's ostensible emphasis on "English-like" syntax, the order is backwards: If we didn't have 27 years of code dependent on xTalk's unique redefinition of "word", to support the claim of "English-like" it might be more intuitive to have "word" act as "trueWord" does, and have some other token do what "word" currently does in xTalks unique redefinition. But that's not the world we live in. Like every other language, LiveCode is a product of its unique history. Useful as its conventions are, they will from time to time require us to learn new ways of doing things. This is just one of many reasons I generally don't use the phrase "English-like" when giving talks on LiveCode. Our favorite language brings to the world's programming choices a uniquely valuable blend of features, but while it's certainly more readable than most it isn't particularly "English-like", nor does it really even try all that hard to be. And that's a good thing. Natural language is really tough stuff to parse, full of its own even longer and more nuanced history, and intended for a very different audience (the cognitive complexity of the human mind rather than the logical simplicity of computers). I think most of us (except Geoff Canyon who has a rare mind for this sort of stuff ) would agree that we're all glad this isn't a valid statement in xTalk, even though it's a perfectly valid sentence in English: "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo." :) Kay C Lan wrote: > On Mon, Oct 13, 2014 at 7:45 AM, Richard Gaskin wrote: >> >> I hear ya', but like so many other oddities in the language this one came >> from Apple, >> > > Sheer brilliance! One of the first analogies of HyperCard was that it was a > an electronic rolodex. Here is a list of names: > > Abu Musab Al-Zarqawi > Camilla Parker-Bowles > Catherine Zeta-Jones > Claude Levi-Strauss > D'Arcy Corrigan > Daniel Day-Lewis > David Ben-Gurion > Dodi Al-Fayed > Florence Griffith-Joyner > Gilbert O'Sullivan > Gloria Macapagal-Arroyo > Jean-Claude Van Damme > Jimmy O'Dea > Justine Henin-Hardenne > Kareem Abdul-Jabbar > Karim Abdul-Jabbar > Kristin Scott-Thomas > Maddox Jolie-Pitt > Michael O'Leary > Olivia Newton-John > Peter O'Toole > Sin?ad O'Connor > Tim Brooke-Taylor > Ralph Twistleton-Wykham-Fiennes > > So lets say you want to sort these by surname - a kind of rolodex thing to > do. > > sort lines of myListOfNames by word of -1 each > > will result in only one mistake > > sort lines of myListOfnames by trueword -1 of each --if you are on LC7.0 > > will result in basically the same messed up result most other programming > languages will give you. Put it in and word processor and see how you go. > > Please feel free to try and write your own function that is more successful > and more efficient than the beautiful one liner Bill Atkinson gave us. Even > if you had wordDel it wouldn't help much. I can't imagine the amount of > hours that have been wasted, especially on genealogical websites, trying to > unfathom why double barrelled names never sort correctly. This is also > compounded by the certain fact that some people will put a space between > the last given name and the Surname, some a tab, and some will 'format' the > data by placing multiple spaces in between names so that things 'line up > nicely' - and are then confused as to why it only looks that way on their > screen an not on someone else's. One of the reasons double barrelled names > have picked up the '-' is to help computers recognise them as a single word. > > Also; > > put myVariable into fld Not A Variable > > doesn't work > > put myVariable into fld "Not A Variable" > > does. The ability to recognise words in quote as a single entity is > extremely important. Yes, we don't typically think of such as a single > word, but when we understand that computers don't think like us, and we do > understand why things are the way they are, such oddities can be > manipulated in many powerful ways to our own advantage. It is also helpful > when we understand such things that we don't go around replacing one > character willy nilly with another character. ~ [tilde] for instance is one > character I'd never use as it has a special meaning in many computer > languages; as does / \ < > . * and many others. If we had some text that > contained both straight and curly quotes and replaced the straight quotes > with curly quotes so we could get a word count, and then changed the curly > quotes back to straight quotes, the finL text is not the same as it started > - and this could cause problems. Today your function might work perfectly > for today's problem, but next month, or next year, when you start expanding > your LC skills and try working with SQL databases, or Servers and network > connections, every now and then someone will report a bug that your app > does something strange. You may never be able to track it down because it > just happens that once every million DB calls a random user happens to use > data that contains a character that you never use yourself and thought no > one else would. I have a particular liking to numToChar(127) myself. > > Yep, no other programming language might define a word like LC defines a > word, but I for one am EXTREMELY thankful for that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gcanyon at gmail.com Mon Oct 13 11:54:18 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 13 Oct 2014 11:54:18 -0400 Subject: problem with counting words In-Reply-To: <543BE9BC.7060708@fourthworld.com> References: <543BE9BC.7060708@fourthworld.com> Message-ID: <554106E6-B379-40E7-8DC4-BDF39023E347@gmail.com> When the new language code becomes available I am going to write an extension just for you, Richard... gc > On Oct 13, 2014, at 11:03 AM, Richard Gaskin wrote: > > I think most of us (except Geoff Canyon who has a rare mind for this sort of stuff ) would agree that we're all glad this isn't a valid statement in xTalk, even though it's a perfectly valid sentence in English: > > "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo." > > > > :) From ben at runrev.com Mon Oct 13 12:32:31 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 13 Oct 2014 17:32:31 +0100 Subject: LiveCode 6.6.4 RC3 Message-ID: Dear list members, We're please the announce the release of LiveCode 6.6.4 RC3. Release Contents LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 Support. For full details of the changes please see the release notes. Getting the release You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team From larry at significantplanet.org Mon Oct 13 13:07:41 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 13 Oct 2014 11:07:41 -0600 Subject: problem with counting words References: <543BE9BC.7060708@fourthworld.com> Message-ID: <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> Hi Richard, in a word... "I really enjoyed reading your post and I learned a lot!" Larry ----- Original Message ----- From: "Richard Gaskin" To: Sent: Monday, October 13, 2014 9:03 AM Subject: Re: problem with counting words > Good post, Kay. Each of the examples you provided is among the reasons I > like xTalk. > > But even though they demonstrate useful features of the language, neither > is dependent on xTalk's trait of counting quoted text as a single word > when using the word chunk type. > > Perhaps I should preface this by noting that I very much enjoy xTalk in > general and LiveCode in particular, a love that's only grown in my 27 > years with this family of languages. > > But all programming languages have historical anomalies, and xTalk is not > the world's only exception to this. Programming languages are, by nature, > somewhat funky, attempting to communicate the richness of human thought to > a machine too stupid to count past 1. All of them require trade-offs. > > In the first example you provided, the list of names, none of them > includes quoted text. And even with the broader support of treating words > as white-space delimited (breaking from the English rule of usually not > including punctuation), as you noted at least one of the examples there > will fail (sorry, Mr. Van Damme). > > Many other languages also provide means of dealing with multi-character > white space (sed, awk, and Python come to mind), and none of them, not > even xTalk, will reliably sort by last name unless we separate the first > and last more explicitly, such in separate fields or with a tab character, > as is commonly done in any language where a last-name sort is important, > even in LiveCode. > > In the second example in which a multi-word value is used as an object > identifier, once again we're not asked to parse that using xTalk's "word" > chunk type, but instead get to rely on the engine's expression evaluator, > which works very much like JavaScript's and others' in which literal > strings can be used as object identifiers. Useful as it is, it's neither > unique to xTalk nor necessarily dependent on how we use the "word" chunk > type. > > Object identifiers *can* become dependent on the word chunk type if you > need to parse them yourself, as others have noted along with many other > good examples to justify the HyperTalk team's implementation (though we > might ask why we need to do this so often, such as why we don't have > objectType or ownerStack functions). > > No matter how useful the current implementation is, the choice still > requires justification. Even if that justification is sound, favoring a > certain utility, it's still a trade-off, the downside being a redefinition > of the word "word" from its more common definition in natural language. > > Larry's initial confusion is far from rare. xTalk's reliance on a unique > definition of "word" that differs from its use in natural language is > something we all had to learn. We may accept it, we may like it, we may > even prefer it, but it's by no means intuitive to the native English > speaker. > > xTalk was born more than a decade before Unicode was invented, so it > couldn't have taken advantage of the vast pool of collective knowledge > embodied in the Unicode spec, nor was there the luxury of having the > computational horsepower needed to use such a spec efficiently. > > Today the LiveCode team has at last corrected this with the introduction > of the "trueWord" token type, though I have to shrug my shoulders with an > acknowledging chuckle in sharing Larry's initial observation that if xTalk > were being designed today, with it's ostensible emphasis on "English-like" > syntax, the order is backwards: > > If we didn't have 27 years of code dependent on xTalk's unique > redefinition of "word", to support the claim of "English-like" it might be > more intuitive to have "word" act as "trueWord" does, and have some other > token do what "word" currently does in xTalks unique redefinition. > > But that's not the world we live in. Like every other language, LiveCode > is a product of its unique history. Useful as its conventions are, they > will from time to time require us to learn new ways of doing things. > > This is just one of many reasons I generally don't use the phrase > "English-like" when giving talks on LiveCode. Our favorite language > brings to the world's programming choices a uniquely valuable blend of > features, but while it's certainly more readable than most it isn't > particularly "English-like", nor does it really even try all that hard to > be. > > And that's a good thing. > > Natural language is really tough stuff to parse, full of its own even > longer and more nuanced history, and intended for a very different > audience (the cognitive complexity of the human mind rather than the > logical simplicity of computers). > > I think most of us (except Geoff Canyon who has a rare mind for this sort > of stuff ) would agree that we're all glad this isn't a valid statement > in xTalk, even though it's a perfectly valid sentence in English: > > "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo." > > > > :) > > > > Kay C Lan wrote: > >> On Mon, Oct 13, 2014 at 7:45 AM, Richard Gaskin wrote: >>> >>> I hear ya', but like so many other oddities in the language this one >>> came >>> from Apple, >>> >> >> Sheer brilliance! One of the first analogies of HyperCard was that it was >> a >> an electronic rolodex. Here is a list of names: >> >> Abu Musab Al-Zarqawi >> Camilla Parker-Bowles >> Catherine Zeta-Jones >> Claude Levi-Strauss >> D'Arcy Corrigan >> Daniel Day-Lewis >> David Ben-Gurion >> Dodi Al-Fayed >> Florence Griffith-Joyner >> Gilbert O'Sullivan >> Gloria Macapagal-Arroyo >> Jean-Claude Van Damme >> Jimmy O'Dea >> Justine Henin-Hardenne >> Kareem Abdul-Jabbar >> Karim Abdul-Jabbar >> Kristin Scott-Thomas >> Maddox Jolie-Pitt >> Michael O'Leary >> Olivia Newton-John >> Peter O'Toole >> Sin?ad O'Connor >> Tim Brooke-Taylor >> Ralph Twistleton-Wykham-Fiennes >> >> So lets say you want to sort these by surname - a kind of rolodex thing >> to >> do. >> >> sort lines of myListOfNames by word of -1 each >> >> will result in only one mistake >> >> sort lines of myListOfnames by trueword -1 of each --if you are on LC7.0 >> >> will result in basically the same messed up result most other programming >> languages will give you. Put it in and word processor and see how you go. >> >> Please feel free to try and write your own function that is more >> successful >> and more efficient than the beautiful one liner Bill Atkinson gave us. >> Even >> if you had wordDel it wouldn't help much. I can't imagine the amount of >> hours that have been wasted, especially on genealogical websites, trying >> to >> unfathom why double barrelled names never sort correctly. This is also >> compounded by the certain fact that some people will put a space between >> the last given name and the Surname, some a tab, and some will 'format' >> the >> data by placing multiple spaces in between names so that things 'line up >> nicely' - and are then confused as to why it only looks that way on their >> screen an not on someone else's. One of the reasons double barrelled >> names >> have picked up the '-' is to help computers recognise them as a single >> word. >> >> Also; >> >> put myVariable into fld Not A Variable >> >> doesn't work >> >> put myVariable into fld "Not A Variable" >> >> does. The ability to recognise words in quote as a single entity is >> extremely important. Yes, we don't typically think of such as a single >> word, but when we understand that computers don't think like us, and we >> do >> understand why things are the way they are, such oddities can be >> manipulated in many powerful ways to our own advantage. It is also >> helpful >> when we understand such things that we don't go around replacing one >> character willy nilly with another character. ~ [tilde] for instance is >> one >> character I'd never use as it has a special meaning in many computer >> languages; as does / \ < > . * and many others. If we had some text that >> contained both straight and curly quotes and replaced the straight quotes >> with curly quotes so we could get a word count, and then changed the >> curly >> quotes back to straight quotes, the finL text is not the same as it >> started >> - and this could cause problems. Today your function might work perfectly >> for today's problem, but next month, or next year, when you start >> expanding >> your LC skills and try working with SQL databases, or Servers and network >> connections, every now and then someone will report a bug that your app >> does something strange. You may never be able to track it down because it >> just happens that once every million DB calls a random user happens to >> use >> data that contains a character that you never use yourself and thought no >> one else would. I have a particular liking to numToChar(127) myself. >> >> Yep, no other programming language might define a word like LC defines a >> word, but I for one am EXTREMELY thankful for that. > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 13 13:11:23 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 13 Oct 2014 13:11:23 -0400 Subject: problem with counting words In-Reply-To: <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> References: <543BE9BC.7060708@fourthworld.com> <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> Message-ID: <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> I get that joke! Wait, maybe I didn?t, my email program does Unicode? On Oct 13, 2014, at 1:07 PM, larry at significantplanet.org wrote: > Hi Richard, > in a word... > "I really enjoyed reading your post and I learned a lot!" From gcanyon at gmail.com Mon Oct 13 13:53:03 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 13 Oct 2014 13:53:03 -0400 Subject: lock screen question and detect field question In-Reply-To: <543B3FD9.8080908@hyperactivesw.com> References: <543B3FD9.8080908@hyperactivesw.com> Message-ID: <64BC2E59-D540-4CED-8459-A5205D08B623@gmail.com> One caveat: if you are assembling a great deal of text in small chunks, you should likely do it in a variable and then toss it into the field in one go. Field updates are slower than many (most?) other things you might be doing, and one field update with 10,000 lines will be *much* faster than 10,000 updates with one line each. gc > On Oct 12, 2014, at 10:58 PM, J. Landman Gay wrote: > > The display and update of the dialog is likely to take longer than just creating the fields. From pete at lcsql.com Mon Oct 13 14:03:04 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 13 Oct 2014 11:03:04 -0700 Subject: problem with counting words In-Reply-To: <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> Message-ID: There's a qcc enhancement request out there for a new chunk type ("chunk") along with a "delimited by" clause. For this example, it would be possible to put the number of chunks delimited by space of field "xyz" into tCount Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Oct 13, 2014 at 7:32 AM, Terence Heaford wrote: > set the wordDelim to space > set the wordDelim to ?*? > > set the wordDelim to ?any single character you want? > > Should be easy for the LiveCode programmers to deliver such a command. > > also put the wordDelim into myVar > > Initally set to space, resets to space at the end of a handler. > > > All the best > > Terry > > > On 13 Oct 2014, at 15:23, Ralph DiMola wrote: > > > <-----Original Message----- > > Behalf > > Of Mark Wieder > > > > > < > > < > > > complexities. You need to keep in mind that words are delimited by > > > >> punctuation: commas, periods, semicolons, etc. > >> > >> I also find that text within quotes being a single word is congruent > with > > defining arguments for comandline syntax. > >> > >> -- > >> -Mark Wieder > >> ahsoftware at gmail.com > > > > Also don't forget the non-breaking space Decimal 160. > > > > > > 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 dave at applicationinsight.com Mon Oct 13 15:01:20 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 13 Oct 2014 12:01:20 -0700 (PDT) Subject: problem with counting words In-Reply-To: <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <543B1284.90103@fourthworld.com> <543BE9BC.7060708@fourthworld.com> <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> Message-ID: <1413226880978-4684506.post@n4.nabble.com> Colin's joke was cleverest but Larry your's was the funniest :) ...now if only I can come up with a reason why the buffalo crossed the road... Colin Holgate-2 wrote > I get that joke! Wait, maybe I didn?t, my email program does Unicode? > > > On Oct 13, 2014, at 1:07 PM, > larry@ > wrote: > >> Hi Richard, >> in a word... >> "I really enjoyed reading your post and I learned a lot!" ----- "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-counting-words-tp4684441p4684506.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Mon Oct 13 15:11:00 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 13 Oct 2014 15:11:00 -0400 Subject: problem with counting words In-Reply-To: <1413226880978-4684506.post@n4.nabble.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <543B1284.90103@fourthworld.com> <543BE9BC.7060708@fourthworld.com> <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> <1413226880978-4684506.post@n4.nabble.com> Message-ID: <1DD0C529-71D3-467E-9A26-A23358849C37@verizon.net> To get to the other?s hide? On Oct 13, 2014, at 3:01 PM, Dave Kilroy wrote: > ...now if only I can come up with a reason why the buffalo crossed the > road... From skip at magicgate.com Mon Oct 13 15:40:53 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 13 Oct 2014 15:40:53 -0400 Subject: Getting a version number Message-ID: Is there a way to programmatically, via LC, to retrieve the current standalone "file version number" and "product version number" as stated in the standalone settings? Thank you, SKIP KIMPEL From dave at applicationinsight.com Mon Oct 13 15:53:50 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 13 Oct 2014 12:53:50 -0700 (PDT) Subject: Getting a version number In-Reply-To: References: Message-ID: <1413230030666-4684509.post@n4.nabble.com> Hi Skip This is what I do when building for mobile: > on savingMobileStandalone pTargetType, pAppBundle > put "vanilla-tmControl-app" into tStack > --name > put the cRevStandaloneSettings["name"] of stack tStack into tName > set the cName of stack "vanilla-tmControl-app" to tName > > --version > put the cRevStandaloneSettings["ios,bundle version"] of stack tStack > into tVersion > set the cVersion of stack "vanilla-tmControl-app" to tVersion > > --buildNumber > put the cBuildNumber of stack tStack into tBuild > repeat for each char zz in tBuild > if char 1 of zz = "0" then replace "0" with nothing in zz > end repeat > add 1 to tBuild > put the len of tBuild into tLen > switch tLen > case 1 > put "0000" before tBuild > break > case 2 > put "000" before tBuild > break > case 3 > put "00" before tBuild > break > case 4 > put "0" before tBuild > end switch > set the cBuildNumber of stack tStack to tBuild > > --buildDate > put the long date & " : " & the time into tBuildDate > set the cBuildDate of stack tStack to tBuildDate > > --save the stack with above changes > save stack tStack > end savingMobileStandalone ----- "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/Getting-a-version-number-tp4684508p4684509.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Mon Oct 13 15:57:18 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 13 Oct 2014 15:57:18 -0400 Subject: Getting a version number In-Reply-To: References: Message-ID: If you haven't built the standalone yet, include a button with the following: answer "Built with LiveCode version" && the version & "." If the standalone is already built, but it opens a .livecode stack, then add a button to the stack. ~Roger On Mon, Oct 13, 2014 at 3:40 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Is there a way to programmatically, via LC, to retrieve the current > standalone "file version number" and "product version number" as stated in > the standalone settings? > > Thank you, > > SKIP KIMPEL > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Oct 13 16:00:39 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 13 Oct 2014 16:00:39 -0400 Subject: Getting a version number In-Reply-To: References: Message-ID: I answered too quickly. The version is not what you're after. Sorry. On Mon, Oct 13, 2014 at 3:57 PM, Roger Eller wrote: > If you haven't built the standalone yet, include a button with the > following: > > answer "Built with LiveCode version" && the version & "." > > If the standalone is already built, but it opens a .livecode stack, then > add a button to the stack. > > ~Roger > > On Mon, Oct 13, 2014 at 3:40 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > >> Is there a way to programmatically, via LC, to retrieve the current >> standalone "file version number" and "product version number" as stated in >> the standalone settings? >> >> Thank you, >> >> SKIP KIMPEL >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Oct 13 16:09:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Oct 2014 20:09:00 +0000 Subject: Getting a version number In-Reply-To: References: Message-ID: <6793C6C8-A1AA-45EA-9B48-7E5BD3DD43F4@iotecdigital.com> On OS X use mdls -name kMDItemVersion /Applications/ (if you are using Spotlight to index files, which unless you have explicitly disabled the feature, you are). On Windows it looks like you need to install add-on software. There may be a javascript command that will work, which you can run from the shell, but frankly I got all this from a google search, which you can easily do yourself. I wish I knew more about command line syntax? WAIT WHAT THE HELL AM I SAYING??? Bob S On Oct 13, 2014, at 12:40 , Magicgate Software - Skip Kimpel wrote: > Is there a way to programmatically, via LC, to retrieve the current > standalone "file version number" and "product version number" as stated in > the standalone settings? > > Thank you, > > SKIP KIMPEL > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 13 16:19:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Oct 2014 20:19:38 +0000 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> Message-ID: <51A4E515-89C3-41C6-AA5A-84EA4B290952@iotecdigital.com> Understandable. And yet the question is not how you are to interpret a word boundary, but how a computer which only knows ones and zeros can. It?s the (computer) age old problem: Computers don?t do what you want them to. They only do what you tell them to. ;-) A great example is how to discern a first, middle and last name in a full name field. Turns out it cannot be done with 100% reliability. Some names have spaces in them like Mac Donald or apostrophes like O?Connel or hyphens like Foster-Smith. Some people have more than three words in their full name. You would have to create a series of special case statements because when mankind invented last names, computers had not been invented yet. Bob S On Oct 12, 2014, at 13:04 , larry at significantplanet.org wrote: Hi Terry, Here is the real problem. I don't know much. I'm sitting here assuming that a word is a word, regardless of whether it is inside quotes. From bobsneidar at iotecdigital.com Mon Oct 13 16:22:14 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Oct 2014 20:22:14 +0000 Subject: Getting a list of object properties In-Reply-To: <5438AFBE.3010007@hyperactivesw.com> References: <1F7D3F3A-D894-4BD4-8067-86621517F9B4@sbcglobal.net> <5438AFBE.3010007@hyperactivesw.com> Message-ID: <384FEED6-E64B-4F46-B1EF-1BBF141E9A75@iotecdigital.com> Your sacrifices are greatly appreciated. ;-) Bob S On Oct 10, 2014, at 21:19 , J. Landman Gay > wrote: I found the problem. I had something left over from a previous search in the dictionary--upper right hand corner of the Dictionary window. I wish I had a nickel for every time I've done that. Another thing I do is forget to choose "All" in the category list at the left, and then get PO'ed when I think a term isn't in the dictionary. Naturally I only do this kind of dumb stuff so others won't have to. :) -- Jacqueline Landman Gay From skip at magicgate.com Mon Oct 13 16:25:48 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 13 Oct 2014 16:25:48 -0400 Subject: Getting a version number In-Reply-To: <6793C6C8-A1AA-45EA-9B48-7E5BD3DD43F4@iotecdigital.com> References: <6793C6C8-A1AA-45EA-9B48-7E5BD3DD43F4@iotecdigital.com> Message-ID: I thought I was missing something but it looks like this is a challenge. Just for clarification purposes, it a standalone for Windows. Having said that I am really surprised that there is not a script call of some sort to retrieve this information. Hopefully there is an undocumented function that somebody with show up with here on this list. SKIP On Mon, Oct 13, 2014 at 4:09 PM, Bob Sneidar wrote: > On OS X use mdls -name kMDItemVersion /Applications/ > (if you are using Spotlight to index files, which unless you have > explicitly disabled the feature, you are). > > On Windows it looks like you need to install add-on software. There may be > a javascript command that will work, which you can run from the shell, but > frankly I got all this from a google search, which you can easily do > yourself. > > I wish I knew more about command line syntax? WAIT WHAT THE HELL AM I > SAYING??? > > Bob S > > > On Oct 13, 2014, at 12:40 , Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Is there a way to programmatically, via LC, to retrieve the current > > standalone "file version number" and "product version number" as stated > in > > the standalone settings? > > > > Thank you, > > > > SKIP KIMPEL > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Oct 13 17:11:10 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 13 Oct 2014 17:11:10 -0400 Subject: Getting a version number In-Reply-To: References: <6793C6C8-A1AA-45EA-9B48-7E5BD3DD43F4@iotecdigital.com> Message-ID: There's a mixed bag of tricks that you can use shell() to get at. This one gets the file version: Needs two back slashes between folders. *wmic datafile where name='c:\\path\\to\\executable\\LC_Standalone.exe' get version* Source: http://www.winplat.net/post/2009/09/24/How-to-check-file-properties-through-WMI-command-line.aspx On Mon, Oct 13, 2014 at 4:25 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > I thought I was missing something but it looks like this is a challenge. > Just for clarification purposes, it a standalone for Windows. > > Having said that I am really surprised that there is not a script call of > some sort to retrieve this information. Hopefully there is an undocumented > function that somebody with show up with here on this list. > > SKIP > > On Mon, Oct 13, 2014 at 4:09 PM, Bob Sneidar > wrote: > > > On OS X use mdls -name kMDItemVersion /Applications/ > > (if you are using Spotlight to index files, which unless you have > > explicitly disabled the feature, you are). > > > > On Windows it looks like you need to install add-on software. There may > be > > a javascript command that will work, which you can run from the shell, > but > > frankly I got all this from a google search, which you can easily do > > yourself. > > > > I wish I knew more about command line syntax? WAIT WHAT THE HELL AM I > > SAYING??? > > > > Bob S > > > > > > On Oct 13, 2014, at 12:40 , Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > Is there a way to programmatically, via LC, to retrieve the current > > > standalone "file version number" and "product version number" as stated > > in > > > the standalone settings? > > > > > > Thank you, > > > > > > SKIP KIMPEL > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mfstuart at cox.net Mon Oct 13 17:14:11 2014 From: mfstuart at cox.net (mfstuart at cox.net) Date: Mon, 13 Oct 2014 17:14:11 -0400 Subject: Getting a version number Message-ID: <20141013171411.QXCJH.34614.imail@fed1rmwml208> Hi Skip, Here's and example of putting together the product info of your application from the stack: put the cRevStandaloneSettings["name"] of this stack into tStandaloneName put the cRevStandaloneSettings["Windows,ProductName"] of this stack into tProdName put the cRevStandaloneSettings["Windows,productversion1"] of this stack into tVerMajor put the cRevStandaloneSettings["Windows,productversion2"] of this stack into tVerMinor put the cRevStandaloneSettings["Windows,productversion3"] of this stack into tVerBuild put tVerMajor & "." & tVerMinor & "." & tVerBuild into tProdVersion put "Standalone Name" & tab & tStandaloneName & cr into tInfo put "Product Name" & tab & tProdName & cr after tInfo put "Version" & tab & tProdVersion after tInfo put tInfo into fld "ProductInfo" Here are all the properties that I know of concerning the properties of your application: android answerDialog askDialog cursors defaultBuildFolder inclusions ios ios,ipad intial orientations Linux Linux x64 MacOSX MacOSX PowerPC-32 MacOSX x86-32 name OSX,copyright OSX,documentExtension OSX,documentType OSX,identifier OSX,info OSX,longVersion OSX,name OSX,shortVersion OSX,signature scriptLibraries Solaris Intel Solaris SPARC UNIX,colorChooser UNIX,fileSelector UNIX,pageSetup UNIX,printerChooser Windows Windows,companyname Windows,documenticonFile Windows,FileDescription Windows,fileversion1 Windows,fileversion2 Windows,fileversion3 Windows,fileversion4 Windows,iconFile Windows,LegalCopyright Windows,ProductName Windows,productversion1 Windows,productversion2 Windows,productversion3 Windows,productversion4 Windows,UUID HTH, Mark Stuart From sean at pidigital.co.uk Mon Oct 13 17:26:36 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 13 Oct 2014 22:26:36 +0100 Subject: lock screen question and detect field question In-Reply-To: <64BC2E59-D540-4CED-8459-A5205D08B623@gmail.com> References: <543B3FD9.8080908@hyperactivesw.com> <64BC2E59-D540-4CED-8459-A5205D08B623@gmail.com> Message-ID: Hi Larry, As well as the afore mentioned, all excellent comments, you can use the 'if exists(fld "myField01") then' script. I also encapsulate all sorts of things in "try"..."end try" commands. These are extremely powerful although could be considered a little lazy. For example, when using iPhone commands I sometimes lazily put them inside "try"s in an effort to prevent them causing a problem when testing on the desktop. So, "try ? delete field myField01 ? end try" does not cause a lasting problem. Using a Catch pError inside the try will help out if you need to detect if it has been deleted/exists or not. All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk On 13 October 2014 18:53, Geoff Canyon wrote: > One caveat: if you are assembling a great deal of text in small chunks, > you should likely do it in a variable and then toss it into the field in > one go. Field updates are slower than many (most?) other things you might > be doing, and one field update with 10,000 lines will be *much* faster than > 10,000 updates with one line each. > > gc > > > On Oct 12, 2014, at 10:58 PM, J. Landman Gay > wrote: > > > > The display and update of the dialog is likely to take longer than just > creating the fields. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 13 17:35:12 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Oct 2014 16:35:12 -0500 Subject: problem with counting words In-Reply-To: <1DD0C529-71D3-467E-9A26-A23358849C37@verizon.net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <543B1284.90103@fourthworld.com> <543BE9BC.7060708@fourthworld.com> <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> <1413226880978-4684506.post@n4.nabble.com> <1DD0C529-71D3-467E-9A26-A23358849C37@verizon.net> Message-ID: <543C4590.3070809@hyperactivesw.com> On 10/13/2014, 2:11 PM, Colin Holgate wrote: > To get to the other?s hide? > > > On Oct 13, 2014, at 3:01 PM, Dave Kilroy wrote: > >> ...now if only I can come up with a reason why the buffalo crossed the >> road... Ewww. That is either the best or worst thing I've seen today. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Oct 13 17:45:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Oct 2014 16:45:43 -0500 Subject: Getting a version number In-Reply-To: References: Message-ID: <543C4807.3040201@hyperactivesw.com> On 10/13/2014, 2:40 PM, Magicgate Software - Skip Kimpel wrote: > Is there a way to programmatically, via LC, to retrieve the current > standalone "file version number" and "product version number" as stated in > the standalone settings? I cheat. Every standalone I build has a custom stack property named cVersion. My About box reads that and shows it in a field dynamically on preOpenCard. All I have to do is open the About dialog and look. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Mon Oct 13 18:36:51 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 13 Oct 2014 23:36:51 +0100 Subject: problem with counting words In-Reply-To: <1DD0C529-71D3-467E-9A26-A23358849C37@verizon.net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <543B1284.90103@fourthworld.com> <543BE9BC.7060708@fourthworld.com> <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> <1413226880978-4684506.post@n4.nabble.com> <1DD0C529-71D3-467E-9A26-A23358849C37@verizon.net> Message-ID: Too funny :) Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 13 October 2014 20:11, Colin Holgate wrote: > To get to the other?s hide? > > > On Oct 13, 2014, at 3:01 PM, Dave Kilroy > wrote: > > > ...now if only I can come up with a reason why the buffalo crossed the > > road... > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Oct 13 18:54:03 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Oct 2014 18:54:03 -0400 Subject: problem with counting words In-Reply-To: <51A4E515-89C3-41C6-AA5A-84EA4B290952@iotecdigital.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <51A4E515-89C3-41C6-AA5A-84EA4B290952@iotecdigital.com> Message-ID: <003801cfe738$9655e470$c301ad50$@net> This is something I know about. Between a pretty decent VB com .dll and additional in house rules I get about 95.98% accuracy splitting up US/international name components. But there still is the .02% that need individual attention. I never process lists > 100,000 so this error rate is acceptable. My system would have heart failure with a > 3 part last name. Into the .02% bucket... "Dr. Bob Brown Trustee for Ms. June Smith" would not be split correctly. A reference to a relationship between two people is beyond my systems ability. The Mac Donald or apostrophes like O'Connel or hyphens like Foster-Smith are the easy cases even though one never knows what apostrophe variation will be used. When the last name is space delimited with nonstandard prefixes that it starts to get interesting. The only way to sort names with 100% accuracy is to have the name components from the get-go and use Unicode from start to finish. Maybe Watson can do it 100%, but I can't afford the CPU time. I can't wait until LC 7 gets settled down and I can use Unicode LC for production text processing. 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 Bob Sneidar Sent: Monday, October 13, 2014 4:20 PM To: How to use LiveCode Subject: Re: problem with counting words Understandable. And yet the question is not how you are to interpret a word boundary, but how a computer which only knows ones and zeros can. It's the (computer) age old problem: Computers don't do what you want them to. They only do what you tell them to. ;-) A great example is how to discern a first, middle and last name in a full name field. Turns out it cannot be done with 100% reliability. Some names have spaces in them like Mac Donald or apostrophes like O'Connel or hyphens like Foster-Smith. Some people have more than three words in their full name. You would have to create a series of special case statements because when mankind invented last names, computers had not been invented yet. Bob S On Oct 12, 2014, at 13:04 , larry at significantplanet.org wrote: Hi Terry, Here is the real problem. I don't know much. I'm sitting here assuming that a word is a word, regardless of whether it is inside quotes. _______________________________________________ use-livecode mailing list use-livecode at 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 Mon Oct 13 19:18:02 2014 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 14 Oct 2014 01:18:02 +0200 Subject: problem with counting words In-Reply-To: <003801cfe738$9655e470$c301ad50$@net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <51A4E515-89C3-41C6-AA5A-84EA4B290952@iotecdigital.com> <003801cfe738$9655e470$c301ad50$@net> Message-ID: Not particularly challenging but a cool name: Maximilian Maria Thurn and Taxis On 13.10.2014 at 18:54 Uhr -0400 Ralph DiMola apparently wrote: >This is something I know about. Between a pretty decent VB com .dll and >additional in house rules I get about 95.98% accuracy splitting up >US/international name components. But there still is the .02% that need >individual attention. I never process lists > 100,000 so this error rate is >acceptable. My system would have heart failure with a > 3 part last name. >Into the .02% bucket... "Dr. Bob Brown Trustee for Ms. June Smith" would not >be split correctly. A reference to a relationship between two people is >beyond my systems ability. The Mac Donald or apostrophes like O'Connel or >hyphens like Foster-Smith are the easy cases even though one never knows >what apostrophe variation will be used. When the last name is space >delimited with nonstandard prefixes that it starts to get interesting. The >only way to sort names with 100% accuracy is to have the name components >from the get-go and use Unicode from start to finish. Maybe Watson can do it >100%, but I can't afford the CPU time. I can't wait until LC 7 gets settled >down and I can use Unicode LC for production text processing. > >Ralph DiMola >IT Director >Evergreen Information Services >rdimola at evergreeninfo.net From mwieder at ahsoftware.net Mon Oct 13 21:39:00 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 13 Oct 2014 18:39:00 -0700 Subject: problem with counting words In-Reply-To: <543C4590.3070809@hyperactivesw.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <543B1284.90103@fourthworld.com> <543BE9BC.7060708@fourthworld.com> <0B47B39656444E2FB5E28B429A3DD993@userd204a4d61c> <31383113-11BC-46D7-A16A-21B11A6D2522@verizon.net> <1413226880978-4684506.post@n4.nabble.com> <1DD0C529-71D3-467E-9A26-A23358849C37@verizon.net> <543C4590.3070809@hyperactivesw.com> Message-ID: <1391388025234.20141013183900@ahsoftware.net> Jacque- Monday, October 13, 2014, 2:35:12 PM, you wrote: > Ewww. That is either the best or worst thing I've seen today. Or both. I can't decide. -- -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 paulhibbert at mac.com Tue Oct 14 00:49:52 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 13 Oct 2014 21:49:52 -0700 Subject: on-rev Client Message-ID: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> > http://newsletters.livecode.com/august/issue177/newsletter2.html It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully, but now I can't, has anybody else had similar problems? I can logon to the cPanel OK, so I know my username and password are correct, but the On-Rev Client tells me they are wrong. I know there's a lot of opposition to this software and it has been a frustrating experience using it then not being able to for so long. I did find it useful at times so I was pleased to see it back again, but has it crapped out again so soon? I'll file a bug report if it's not just me that's having problems. Paul From prothero at earthednet.org Tue Oct 14 01:25:34 2014 From: prothero at earthednet.org (William Prothero) Date: Mon, 13 Oct 2014 22:25:34 -0700 Subject: Getting a list of object properties In-Reply-To: <001901cfe401$72db2b20$58918160$@FlexibleLearning.com> References: <001901cfe401$72db2b20$58918160$@FlexibleLearning.com> Message-ID: <97773F5D-739F-43B1-89F4-0C54F2F0FE88@earthednet.org> Folks: Thanks for the info. This should reduce some frustration. I can use the object inspector to find the kind of object the item is, then list all of its properties so that I am clued in on what words to search for in the dictionary. That is a big help. Thanks Bill William A. Prothero http://es.earthednet.org/ From rabit at revigniter.com Tue Oct 14 03:08:27 2014 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 14 Oct 2014 09:08:27 +0200 Subject: on-rev Client In-Reply-To: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> References: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> Message-ID: <4C55A834-EACA-4270-968A-99C04A009D2A@revigniter.com> Same here. Ralf On 14.10.2014, at 06:49, Paul Hibbert wrote: >> http://newsletters.livecode.com/august/issue177/newsletter2.html > > It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully, but now I can't, has anybody else had similar problems? > > I can logon to the cPanel OK, so I know my username and password are correct, but the On-Rev Client tells me they are wrong. > > I know there's a lot of opposition to this software and it has been a frustrating experience using it then not being able to for so long. I did find it useful at times so I was pleased to see it back again, but has it crapped out again so soon? > > I'll file a bug report if it's not just me that's having problems. > > Paul From matthias_livecode_150811 at m-r-d.de Tue Oct 14 03:23:11 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 14 Oct 2014 09:23:11 +0200 Subject: on-rev Client In-Reply-To: <4C55A834-EACA-4270-968A-99C04A009D2A@revigniter.com> References: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> <4C55A834-EACA-4270-968A-99C04A009D2A@revigniter.com> Message-ID: Hi, I have here 3 accounts. They run on Pancake, Tio and Jasmine. It works with my Pancake account, but not with the other ones. Matthias Am 14.10.2014 um 09:08 schrieb Ralf Bitter : > Same here. > > Ralf > > > On 14.10.2014, at 06:49, Paul Hibbert wrote: > >>> http://newsletters.livecode.com/august/issue177/newsletter2.html >> >> It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully, but now I can't, has anybody else had similar problems? >> >> I can logon to the cPanel OK, so I know my username and password are correct, but the On-Rev Client tells me they are wrong. >> >> I know there's a lot of opposition to this software and it has been a frustrating experience using it then not being able to for so long. I did find it useful at times so I was pleased to see it back again, but has it crapped out again so soon? >> >> I'll file a bug report if it's not just me that's having problems. >> >> 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 lan.kc.macmail at gmail.com Tue Oct 14 03:45:47 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 14 Oct 2014 15:45:47 +0800 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> Message-ID: On Tue, Oct 14, 2014 at 2:03 AM, Peter Haworth wrote: > There's a qcc enhancement request out there for a new chunk type ("chunk") > along with a "delimited by" clause. > > On Mon, Oct 13, 2014 at 7:32 AM, Terence Heaford > > wrote: > > > set the wordDelim to space > > set the wordDelim to ?*? > > > > Initally set to space, resets to space at the end of a handler. > > > Nnnnooooo! What is the point of a chunk or a word if it is only delimited by a single character? It is identical to an item! set the itemDelimiter to space put the number of items into tCount. How is that any different from: put the number of chunks delimited by space of field "xyz" into tCount OR set the wordDelim to space put the number of words into tCount And the last thing we want is the wordDelimiter to be defaulted to space!!!!! That would break so many scripts. The great thing about word and token is they are NOT items. Items are delimited by any single character you want, but that is their limitation, a single character. A word, a trueWord (>= LC7) and a token are not delimited by a single character but by a range of one or more characters which have been predefined. If you want something new... a chunk, then the ability to specify it's delimiter as a range of characters that are either single of combined *could* be a valid enhancement. * Haven't really thought about it enough to come up with drawbacks, all I know is I DON'T want the wordDelim to be a space and to create another chunk type that is identical to an item seems counter productive to me. From sundown at pacifier.com Tue Oct 14 05:55:52 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 02:55:52 -0700 Subject: Volume Size Message-ID: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth From richmondmathewson at gmail.com Tue Oct 14 06:27:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Oct 2014 13:27:59 +0300 Subject: Volume Size In-Reply-To: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> Message-ID: <543CFAAF.2000701@gmail.com> On 14/10/14 12:55, JB wrote: > I can get a file size by listing the detailed files and I can > get a list of all drives and volumes that are mounted by > using the volumes function. Is there a way to get the > size of a drive or volume that is returned by using the > volumes function? > > John Balgenorth > > AND volumes is NBG in Linux . . . So? Richmond. From sundown at pacifier.com Tue Oct 14 06:51:09 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 03:51:09 -0700 Subject: Volume Size In-Reply-To: <543CFAAF.2000701@gmail.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> Message-ID: <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> Well the question is how do I use a script to get the size of a mounted volume? I should have mentioned I am on a Mac. Will using NBG somehow get the volume size? John Balgenorth On Oct 14, 2014, at 3:27 AM, Richmond wrote: > On 14/10/14 12:55, JB wrote: >> I can get a file size by listing the detailed files and I can >> get a list of all drives and volumes that are mounted by >> using the volumes function. Is there a way to get the >> size of a drive or volume that is returned by using the >> volumes function? >> >> John Balgenorth >> >> > > AND volumes is NBG in Linux . . . > > So? > > 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 Tue Oct 14 07:39:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Oct 2014 14:39:18 +0300 Subject: Volume Size In-Reply-To: <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> Message-ID: <543D0B66.9060300@gmail.com> On 14/10/14 13:51, JB wrote: > Well the question is how do I use a script to > get the size of a mounted volume? I should > have mentioned I am on a Mac. Will using > NBG somehow get the volume size? > > John Balgenorth > Ha, Ha, Ha! "NBG" stands for 'No Bloody Good'. Richmond. > > On Oct 14, 2014, at 3:27 AM, Richmond wrote: > >> On 14/10/14 12:55, JB wrote: >>> I can get a file size by listing the detailed files and I can >>> get a list of all drives and volumes that are mounted by >>> using the volumes function. Is there a way to get the >>> size of a drive or volume that is returned by using the >>> volumes function? >>> >>> John Balgenorth >>> >>> >> AND volumes is NBG in Linux . . . >> >> So? >> >> 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 t.heaford at btinternet.com Tue Oct 14 08:16:04 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 14 Oct 2014 13:16:04 +0100 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> Message-ID: get char 1 to 7 of word 9 of item x of line y of card field 1?. Al the best Terry On 14 Oct 2014, at 08:45, Kay C Lan wrote: > What is the point of a chunk or a word if it is only delimited by a single > character? It is identical to an item! From warren at warrensweb.us Tue Oct 14 08:21:54 2014 From: warren at warrensweb.us (Warren Samples) Date: Tue, 14 Oct 2014 07:21:54 -0500 Subject: Volume Size In-Reply-To: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> Message-ID: <543D1562.8070802@warrensweb.us> On 10/14/2014 04:55 AM, JB wrote: > I can get a file size by listing the detailed files and I can > get a list of all drives and volumes that are mounted by > using the volumes function. Is there a way to get the > size of a drive or volume that is returned by using the > volumes function? > > John Balgenorth > If 'volumes' doesn't work, maybe you can try get shell("df -h") You can try 'put shell("df -h")' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. Warren From harrison at all-auctions.com Tue Oct 14 09:40:14 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 14 Oct 2014 09:40:14 -0400 Subject: on-rev Client In-Reply-To: References: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> <4C55A834-EACA-4270-968A-99C04A009D2A@revigniter.com> Message-ID: Hi Paul & Matthias, I can?t get the Secure WebDisk or the On-Rev Client to work on the tio server. I am able to login to my account with the c-panel however. This has been a problem for me for a couple of months now, and I had submitted a ticket which Dave Williams answered with another question. I answered his question (this was around Sept. 30th) and I still haven?t heard back from him. Please keep me informed if you make any progress on this. Thanks, Rick On Oct 14, 2014, at 3:23 AM, Matthias Rebbe | M-R-D wrote: > Hi, > > > I have here 3 accounts. They run on Pancake, Tio and Jasmine. > It works with my Pancake account, but not with the other ones. > > Matthias > Am 14.10.2014 um 09:08 schrieb Ralf Bitter : > >> Same here. >> >> Ralf >> >> >> On 14.10.2014, at 06:49, Paul Hibbert wrote: >> >>>> http://newsletters.livecode.com/august/issue177/newsletter2.html >>> >>> It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully, but now I can't, has anybody else had similar problems? >>> >>> I can logon to the cPanel OK, so I know my username and password are correct, but the On-Rev Client tells me they are wrong. >>> >>> I know there's a lot of opposition to this software and it has been a frustrating experience using it then not being able to for so long. I did find it useful at times so I was pleased to see it back again, but has it crapped out again so soon? >>> >>> I'll file a bug report if it's not just me that's having problems. >>> >>> 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 > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Tue Oct 14 11:12:47 2014 From: mkoob at rogers.com (Martin Koob) Date: Tue, 14 Oct 2014 08:12:47 -0700 (PDT) Subject: Activation fails. LiveCode Server down? Message-ID: <1413299567895-4684537.post@n4.nabble.com> I just tried to open LiveCode and it prompts me for authentication. When I enter the credentials I get the message "an error has occurred while contacting the server. Please try again." When I try to connect to www.livecode.com I get the error 'COMMAND: Array ( [1] => Array ( [command] => getVatItems ) ) URL: http://174.122.156.66:31409/index.irev RESULT: DBError: Unable to connect to database. Too many connections' Are others getting this? Is the server down? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Activation-fails-LiveCode-Server-down-tp4684537.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Tue Oct 14 11:32:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 Oct 2014 08:32:20 -0700 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> Message-ID: On Tue, Oct 14, 2014 at 12:45 AM, Kay C Lan wrote: > If you want something new... a chunk, then the ability to specify it's > delimiter as a range of characters that are either single of combined > *could* be a valid enhancement. > Rather than try to explain the thinking behind "delimited by", I'll refer you to the forum discussion at http://forums.livecode.com/viewtopic.php?f=6&t=21630&p=111222&hilit=delimited+by#p111222 and enhancement request at http://quality.runrev.com/show_bug.cgi?id=13557. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From mkoob at rogers.com Tue Oct 14 11:35:04 2014 From: mkoob at rogers.com (Martin Koob) Date: Tue, 14 Oct 2014 08:35:04 -0700 (PDT) Subject: Activation fails. LiveCode Server down? In-Reply-To: <1413299567895-4684537.post@n4.nabble.com> References: <1413299567895-4684537.post@n4.nabble.com> Message-ID: <1413300904262-4684539.post@n4.nabble.com> Looks like it is back up and running now. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Activation-fails-LiveCode-Server-down-tp4684537p4684539.html Sent from the Revolution - User mailing list archive at Nabble.com. From dan at clearvisiontech.com Tue Oct 14 11:53:43 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 Oct 2014 08:53:43 -0700 Subject: Old Stacks Acting Strange In-Reply-To: References: Message-ID: I have a stack (actually thousands of them) that were created in LiveCode (then RevEnterprise) 4.0.0. They are used in several apps we have including an iPad app. Do to the issues with LC and iOS 8, I need to make an update to the iPad app with LC 6.6.4. I opened my project this morning in 6.6.4, and the old stacks are displaying really messed up! Some controls show, others don't. If you select a control it sometimes then appears on the screen. Weird! It's messing everything up! Oddly enough, it appears correctly in the iPad Simulator (Simulator Version 8.0)? Go figure? I went back to version 4.0.0, and the stack opens perfectly. It opened correctly in LC 6.1.3, but failed in LC 6.5.1 and later. Anyone know what changed? And, more importantly, is there a way to resurrect these older stacks in 6.6.4? ANY Advise is welcome! -Dan From bobsneidar at iotecdigital.com Tue Oct 14 11:55:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 15:55:23 +0000 Subject: Volume Size In-Reply-To: <543D1562.8070802@warrensweb.us> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543D1562.8070802@warrensweb.us> Message-ID: <6998C337-74B3-4388-BD72-FCE080213DA6@iotecdigital.com> Still works on Mavericks. Bob S On Oct 14, 2014, at 05:21 , Warren Samples > wrote: On 10/14/2014 04:55 AM, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth If 'volumes' doesn't work, maybe you can try get shell("df -h") You can try 'put shell("df -h")' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. Warren From vclement at gmail.com Tue Oct 14 12:02:02 2014 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 14 Oct 2014 09:02:02 -0700 Subject: Old Stacks Acting Strange In-Reply-To: References: Message-ID: Good Morning Over the last 6 years I have added about 40 apps to iTunes and reduced this down to the current 21. All was working correctly until IOS 8 was released. It appears that all 21 apps may now be broken! When the app opens it immediately shuts down. So far 2 apps were reported with this behavior, but I think it might affect all my apps. I researching to see if there are other developers seeing this same issue. Your comments today point to an issue that may be of concern to all developers where older apps may not continue to function. I am going to search the developer forum for Apple to see if this is a bug or change in the IOS 8 where apps will display issues. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Tue, Oct 14, 2014 at 8:53 AM, Dan Friedman wrote: > I have a stack (actually thousands of them) that were created in LiveCode > (then RevEnterprise) 4.0.0. They are used in several apps we have > including an iPad app. Do to the issues with LC and iOS 8, I need to make > an update to the iPad app with LC 6.6.4. I opened my project this morning > in 6.6.4, and the old stacks are displaying really messed up! Some > controls show, others don't. If you select a control it sometimes then > appears on the screen. Weird! It's messing everything up! Oddly enough, > it appears correctly in the iPad Simulator (Simulator Version 8.0)? Go > figure? > > I went back to version 4.0.0, and the stack opens perfectly. It opened > correctly in LC 6.1.3, but failed in LC 6.5.1 and later. Anyone know what > changed? And, more importantly, is there a way to resurrect these older > stacks in 6.6.4? > > ANY Advise is welcome! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Tue Oct 14 12:05:52 2014 From: jiml at netrin.com (Jim Lambert) Date: Tue, 14 Oct 2014 09:05:52 -0700 Subject: on-rev Client In-Reply-To: References: Message-ID: <02CD6D0B-E305-416B-9171-4D6F3F08FF15@netrin.com> on-rev client has also stopped working for me when going to Tio. Jim Lambert From vclement at gmail.com Tue Oct 14 12:11:50 2014 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 14 Oct 2014 09:11:50 -0700 Subject: Old Stacks Acting Strange In-Reply-To: References: Message-ID: Update on IOS 8 issues (Update Oct 14, 2014) I have found that IOS 8 is experiencing issues like the one that I am describing. Other developers are commenting in the developers forum that the IOS 8 apps are crashing. This should be a bug that will come to Apples attention shortly from the developers bug reports. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Tue, Oct 14, 2014 at 9:02 AM, Vaughn Clement wrote: > Good Morning > > Over the last 6 years I have added about 40 apps to iTunes and reduced > this down to the current 21. All was working correctly until IOS 8 was > released. It appears that all 21 apps may now be broken! When the app opens > it immediately shuts down. So far 2 apps were reported with this behavior, > but I think it might affect all my apps. I researching to see if there are > other developers seeing this same issue. > > Your comments today point to an issue that may be of concern to all > developers where older apps may not continue to function. I am going to > search the developer forum for Apple to see if this is a bug or change in > the IOS 8 where apps will display issues. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > On Target Solutions LLC Website: http://www.ontargetsolutions.biz > Email: ontargetsolutions at yahoo.com > Skype: vaughn.clement > > FaceTime: vclement at gmail.com > Ph. 928-254-9062 > > > On Tue, Oct 14, 2014 at 8:53 AM, Dan Friedman > wrote: > >> I have a stack (actually thousands of them) that were created in LiveCode >> (then RevEnterprise) 4.0.0. They are used in several apps we have >> including an iPad app. Do to the issues with LC and iOS 8, I need to make >> an update to the iPad app with LC 6.6.4. I opened my project this morning >> in 6.6.4, and the old stacks are displaying really messed up! Some >> controls show, others don't. If you select a control it sometimes then >> appears on the screen. Weird! It's messing everything up! Oddly enough, >> it appears correctly in the iPad Simulator (Simulator Version 8.0)? Go >> figure? >> >> I went back to version 4.0.0, and the stack opens perfectly. It opened >> correctly in LC 6.1.3, but failed in LC 6.5.1 and later. Anyone know what >> changed? And, more importantly, is there a way to resurrect these older >> stacks in 6.6.4? >> >> ANY Advise is welcome! >> >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Tue Oct 14 12:17:50 2014 From: paul at researchware.com (Paul Dupuis) Date: Tue, 14 Oct 2014 12:17:50 -0400 Subject: Volume Size In-Reply-To: <6998C337-74B3-4388-BD72-FCE080213DA6@iotecdigital.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543D1562.8070802@warrensweb.us> <6998C337-74B3-4388-BD72-FCE080213DA6@iotecdigital.com> Message-ID: <543D4CAE.6030101@researchware.com> There really should be a 'the detailed volumes' (or 'the detailed drives') variant to the volumes function in LiveCode to do this. On 10/14/2014 11:55 AM, Bob Sneidar wrote: > Still works on Mavericks. > > Bob S > > > On Oct 14, 2014, at 05:21 , Warren Samples > wrote: > > On 10/14/2014 04:55 AM, JB wrote: > I can get a file size by listing the detailed files and I can > get a list of all drives and volumes that are mounted by > using the volumes function. Is there a way to get the > size of a drive or volume that is returned by using the > volumes function? > > John Balgenorth > > > If 'volumes' doesn't work, maybe you can try > > get shell("df -h") > > You can try 'put shell("df -h")' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. > > 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 rdimola at evergreeninfo.net Tue Oct 14 12:31:38 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 14 Oct 2014 12:31:38 -0400 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> Message-ID: <004101cfe7cc$543fb680$fcbf2380$@net> That would be a great enhancement. +1 A collection of delimiters(item list?) would be needed to even emulate the current word chunk. 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 Peter Haworth Sent: Tuesday, October 14, 2014 11:32 AM To: How to use LiveCode Subject: Re: problem with counting words On Tue, Oct 14, 2014 at 12:45 AM, Kay C Lan wrote: > If you want something new... a chunk, then the ability to specify it's > delimiter as a range of characters that are either single of combined > *could* be a valid enhancement. > Rather than try to explain the thinking behind "delimited by", I'll refer you to the forum discussion at http://forums.livecode.com/viewtopic.php?f=6&t=21630&p=111222&hilit=delimite d+by#p111222 and enhancement request at http://quality.runrev.com/show_bug.cgi?id=13557. 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 Tue Oct 14 12:33:32 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 Oct 2014 12:33:32 -0400 Subject: problem with counting words In-Reply-To: <004101cfe7cc$543fb680$fcbf2380$@net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> <004101cfe7cc$543fb680$fcbf2380$@net> Message-ID: <8D1B5E3B4318007-2794-2A228@webmail-vm054.sysops.aol.com> It seems to me that not all list members visit the forums (and vice-versa). I know there was a thread on this subject a while back. However, I think that both are required reading to keep up with current events. Craig Newman -----Original Message----- From: Ralph DiMola To: 'How to use LiveCode' Sent: Tue, Oct 14, 2014 12:29 pm Subject: RE: problem with counting words That would be a great enhancement. +1 A collection of delimiters(item list?) would be needed to even emulate the current word chunk. 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 Peter Haworth Sent: Tuesday, October 14, 2014 11:32 AM To: How to use LiveCode Subject: Re: problem with counting words On Tue, Oct 14, 2014 at 12:45 AM, Kay C Lan wrote: > If you want something new... a chunk, then the ability to specify it's > delimiter as a range of characters that are either single of combined > *could* be a valid enhancement. > Rather than try to explain the thinking behind "delimited by", I'll refer you to the forum discussion at http://forums.livecode.com/viewtopic.php?f=6&t=21630&p=111222&hilit=delimite d+by#p111222 and enhancement request at http://quality.runrev.com/show_bug.cgi?id=13557. 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 MikeKerner at roadrunner.com Tue Oct 14 12:43:05 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 14 Oct 2014 12:43:05 -0400 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: Message-ID: ben, I seem to be having a problem in rc3 getting projects to do anything - if the first line in preOpenStack is answer "preOpenStack", nothing happens. I get a black screen like the app is launching, but I don't get past that. Is the splash screen now mandatory, perhaps? On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont wrote: > Dear list members, > > We're please the announce the release of LiveCode 6.6.4 RC3. > > Release Contents > > LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 Support. > For full details of the changes please see the release notes. > > Getting the release > You can get this release by selecting ?check for updates? from the help > menu in LiveCode or download the installers directly at > http://downloads.livecode.com/livecode/ > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Tue Oct 14 12:50:32 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 16:50:32 +0000 Subject: Volume Size In-Reply-To: <543D4CAE.6030101@researchware.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543D1562.8070802@warrensweb.us> <6998C337-74B3-4388-BD72-FCE080213DA6@iotecdigital.com> <543D4CAE.6030101@researchware.com> Message-ID: <2FD804B3-8507-454E-B446-2D2D3B126760@iotecdigital.com> Probably, but since there are any number of things you can do and get with the shell() command, creating a live talk command to do them would be a lot of work for the sake of convenience. Bob S On Oct 14, 2014, at 09:17 , Paul Dupuis > wrote: There really should be a 'the detailed volumes' (or 'the detailed drives') variant to the volumes function in LiveCode to do this. From bobsneidar at iotecdigital.com Tue Oct 14 12:52:44 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 16:52:44 +0000 Subject: problem with counting words In-Reply-To: <8D1B5E3B4318007-2794-2A228@webmail-vm054.sysops.aol.com> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> <004101cfe7cc$543fb680$fcbf2380$@net> <8D1B5E3B4318007-2794-2A228@webmail-vm054.sysops.aol.com> Message-ID: <21EFF014-CD0F-4DAE-B2A6-F61E2F7302BB@iotecdigital.com> That?s been fielded before in a post on this list. Some will only use the forum, others only the list. Still others only the digest. It?s a noble goal, and doomed to failure. :-) Bob S On Oct 14, 2014, at 09:33 , dunbarx at aol.com wrote: > It seems to me that not all list members visit the forums (and vice-versa). I know there was a thread on this subject a while back. However, I think that both are required reading to keep up with current events. > > > Craig Newman From MikeKerner at roadrunner.com Tue Oct 14 12:52:55 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 14 Oct 2014 12:52:55 -0400 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: Message-ID: Yep, that's it. No splash screen, app hangs. Bug report filed: 13669 On Tue, Oct 14, 2014 at 12:43 PM, Mike Kerner wrote: > ben, > I seem to be having a problem in rc3 getting projects to do anything - if > the first line in preOpenStack is answer "preOpenStack", nothing > happens. I get a black screen like the app is launching, but I don't get > past that. Is the splash screen now mandatory, perhaps? > > On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont > wrote: > >> Dear list members, >> >> We're please the announce the release of LiveCode 6.6.4 RC3. >> >> Release Contents >> >> LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 Support. >> For full details of the changes please see the release notes. >> >> Getting the release >> You can get this release by selecting ?check for updates? from the help >> menu in LiveCode or download the installers directly at >> http://downloads.livecode.com/livecode/ >> >> Warm regards, >> >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- 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 Tue Oct 14 12:56:22 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 16:56:22 +0000 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: Message-ID: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> Hi Mike. I opened this to see what someone was responding to concerning LiveCode 6.6.4 RC3 and got a post about preOpenStack instead! LOL! preOpenStack is a tricky beast. Since it?s prior to the stack opening, certain things will not be in place, so things won?t function the way you might expect. This is especially true with standalones. There were some good posts about this, particularly from Jacque in the past. Check the archives for details. Bob S On Oct 14, 2014, at 09:43 , Mike Kerner wrote: > ben, > I seem to be having a problem in rc3 getting projects to do anything - if > the first line in preOpenStack is answer "preOpenStack", nothing happens. > I get a black screen like the app is launching, but I don't get past that. > Is the splash screen now mandatory, perhaps? > > On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont wrote: > >> Dear list members, >> >> We're please the announce the release of LiveCode 6.6.4 RC3. >> >> Release Contents >> >> LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 Support. >> For full details of the changes please see the release notes. >> >> Getting the release >> You can get this release by selecting ?check for updates? from the help >> menu in LiveCode or download the installers directly at >> http://downloads.livecode.com/livecode/ >> >> Warm regards, >> >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Oct 14 12:58:13 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 Oct 2014 09:58:13 -0700 Subject: problem with counting words In-Reply-To: <004101cfe7cc$543fb680$fcbf2380$@net> References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> <004101cfe7cc$543fb680$fcbf2380$@net> Message-ID: Yeah, I don't think word was considered during the discussion. Multiple delimiters might be a good idea but it feels like you'd have to know which delimiter had been encountered. For example, if you had a string like this: a=1,b=2,c=3 and you wanted to unpack it with: repeat for each item ritem delimited by "=," doStuff end repeat You'd probably need to know which delimiter had been encountered to distinguish between the left and right sides of the "=" character. The main intent behind "delimited by" was to do away with having to keep resetting the itemdelimiter, e.g repeat for each item rItem1 delimited by "=" repeat for each item rItem2 delimited by "," end repeat end repeat Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Oct 14, 2014 at 9:31 AM, Ralph DiMola wrote: > That would be a great enhancement. +1 A collection of delimiters(item > list?) > would be needed to even emulate the current word chunk. > > 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 Peter Haworth > Sent: Tuesday, October 14, 2014 11:32 AM > To: How to use LiveCode > Subject: Re: problem with counting words > > On Tue, Oct 14, 2014 at 12:45 AM, Kay C Lan > wrote: > > > If you want something new... a chunk, then the ability to specify it's > > delimiter as a range of characters that are either single of combined > > *could* be a valid enhancement. > > > > Rather than try to explain the thinking behind "delimited by", I'll refer > you to the forum discussion at > > http://forums.livecode.com/viewtopic.php?f=6&t=21630&p=111222&hilit=delimite > d+by#p111222 > and > enhancement request at http://quality.runrev.com/show_bug.cgi?id=13557. > > 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 paulhibbert at mac.com Tue Oct 14 13:11:20 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 14 Oct 2014 10:11:20 -0700 Subject: on-rev Client In-Reply-To: References: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> <4C55A834-EACA-4270-968A-99C04A009D2A@revigniter.com> Message-ID: <2D167D3E-FDCC-49DD-A9F5-AFAFFF764087@mac.com> Thanks for the responses, I have sent a report to bugs at on-rev.com and will report back if I get a response, if anybody else wishes to email them too maybe that would help them to understand that this is something we would like fixing. I think it would be useful if this could be added to the Quality Centre, but there are currently no options for On-Rev. Paul On Oct 14, 2014, at 6:40 AM, Rick Harrison wrote: > Hi Paul & Matthias, > > I can?t get the Secure WebDisk or the On-Rev Client to work on the tio server. > I am able to login to my account with the c-panel however. This has been a > problem for me for a couple of months now, and I had submitted a ticket which > Dave Williams answered with another question. I answered his question > (this was around Sept. 30th) and I still haven?t heard back from him. > > Please keep me informed if you make any progress on this. > > Thanks, > > Rick > > On Oct 14, 2014, at 3:23 AM, Matthias Rebbe | M-R-D wrote: > >> Hi, >> >> >> I have here 3 accounts. They run on Pancake, Tio and Jasmine. >> It works with my Pancake account, but not with the other ones. >> >> Matthias >> Am 14.10.2014 um 09:08 schrieb Ralf Bitter : >> >>> Same here. >>> >>> Ralf >>> >>> >>> On 14.10.2014, at 06:49, Paul Hibbert wrote: >>> >>>>> http://newsletters.livecode.com/august/issue177/newsletter2.html >>>> >>>> It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully, but now I can't, has anybody else had similar problems? >>>> >>>> I can logon to the cPanel OK, so I know my username and password are correct, but the On-Rev Client tells me they are wrong. >>>> >>>> I know there's a lot of opposition to this software and it has been a frustrating experience using it then not being able to for so long. I did find it useful at times so I was pleased to see it back again, but has it crapped out again so soon? >>>> >>>> I'll file a bug report if it's not just me that's having problems. >>>> >>>> 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 >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 14 13:11:42 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 14 Oct 2014 13:11:42 -0400 Subject: LiveCode 6.6.4 RC3 In-Reply-To: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> References: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> Message-ID: Bob, The rc3 issue has to do with the presence or absence of a splash screen, and nothing more. Matthias has discovered the same issue, except he thinks the problem is more extensive. I am trying to verify his report, now. On Tue, Oct 14, 2014 at 12:56 PM, Bob Sneidar wrote: > Hi Mike. I opened this to see what someone was responding to concerning > LiveCode 6.6.4 RC3 and got a post about preOpenStack instead! LOL! > > preOpenStack is a tricky beast. Since it?s prior to the stack opening, > certain things will not be in place, so things won?t function the way you > might expect. This is especially true with standalones. > > There were some good posts about this, particularly from Jacque in the > past. Check the archives for details. > > Bob S > > > On Oct 14, 2014, at 09:43 , Mike Kerner wrote: > > > ben, > > I seem to be having a problem in rc3 getting projects to do anything - if > > the first line in preOpenStack is answer "preOpenStack", nothing happens. > > I get a black screen like the app is launching, but I don't get past > that. > > Is the splash screen now mandatory, perhaps? > > > > On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont > wrote: > > > >> Dear list members, > >> > >> We're please the announce the release of LiveCode 6.6.4 RC3. > >> > >> Release Contents > >> > >> LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 > Support. > >> For full details of the changes please see the release notes. > >> > >> Getting the release > >> You can get this release by selecting ?check for updates? from the help > >> menu in LiveCode or download the installers directly at > >> http://downloads.livecode.com/livecode/ > >> > >> Warm regards, > >> > >> The LiveCode Team > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Oct 14 13:30:52 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 14 Oct 2014 13:30:52 -0400 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> Message-ID: Hmm. This is getting more interesting. Now it seems that maybe the splash screen isn't important, but if you have answer dialog in the openStack handler, or the preOpenStack handler, you get the hang. If I use "put" instead, I get output in the log. once the card loads, I can use answer, and it seems to work. On Tue, Oct 14, 2014 at 1:11 PM, Mike Kerner wrote: > Bob, > The rc3 issue has to do with the presence or absence of a splash screen, > and nothing more. Matthias has discovered the same issue, except he thinks > the problem is more extensive. I am trying to verify his report, now. > > On Tue, Oct 14, 2014 at 12:56 PM, Bob Sneidar > wrote: > >> Hi Mike. I opened this to see what someone was responding to concerning >> LiveCode 6.6.4 RC3 and got a post about preOpenStack instead! LOL! >> >> preOpenStack is a tricky beast. Since it?s prior to the stack opening, >> certain things will not be in place, so things won?t function the way you >> might expect. This is especially true with standalones. >> >> There were some good posts about this, particularly from Jacque in the >> past. Check the archives for details. >> >> Bob S >> >> >> On Oct 14, 2014, at 09:43 , Mike Kerner >> wrote: >> >> > ben, >> > I seem to be having a problem in rc3 getting projects to do anything - >> if >> > the first line in preOpenStack is answer "preOpenStack", nothing >> happens. >> > I get a black screen like the app is launching, but I don't get past >> that. >> > Is the splash screen now mandatory, perhaps? >> > >> > On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont >> wrote: >> > >> >> Dear list members, >> >> >> >> We're please the announce the release of LiveCode 6.6.4 RC3. >> >> >> >> Release Contents >> >> >> >> LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 >> Support. >> >> For full details of the changes please see the release notes. >> >> >> >> Getting the release >> >> You can get this release by selecting ?check for updates? from the help >> >> menu in LiveCode or download the installers directly at >> >> http://downloads.livecode.com/livecode/ >> >> >> >> Warm regards, >> >> >> >> The LiveCode Team >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth >> > On the second day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- 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 vclement at gmail.com Tue Oct 14 13:35:06 2014 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 14 Oct 2014 10:35:06 -0700 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: Message-ID: Hi There is an IOS 8 bug that is also showing up in Xcode that is crashing apps on startup. It is a know issue and Apple should be addressing it soon. I was reading the comments on the forum today about this bug. It appears that there is a memory loading issue that crashes to a blank screen on opening. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Tue, Oct 14, 2014 at 9:43 AM, Mike Kerner wrote: > ben, > I seem to be having a problem in rc3 getting projects to do anything - if > the first line in preOpenStack is answer "preOpenStack", nothing happens. > I get a black screen like the app is launching, but I don't get past that. > Is the splash screen now mandatory, perhaps? > > On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont > wrote: > > > Dear list members, > > > > We're please the announce the release of LiveCode 6.6.4 RC3. > > > > Release Contents > > > > LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 > Support. > > For full details of the changes please see the release notes. > > > > Getting the release > > You can get this release by selecting ?check for updates? from the help > > menu in LiveCode or download the installers directly at > > http://downloads.livecode.com/livecode/ > > > > Warm regards, > > > > The LiveCode Team > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Tue Oct 14 13:38:23 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 14 Oct 2014 17:38:23 +0000 (UTC) Subject: use-livecode Digest, Vol 133, Issue 10 References: <20141006005114.8957.qmail@divico2.ch-meta.net> Message-ID: Colin Holgate writes: > I?m relieved that he only gets the daily digest. I'm starting to miss getting my daily email from Bernd. Feels like there's something missing in my life. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Oct 14 13:46:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Oct 2014 12:46:43 -0500 Subject: use-livecode Digest, Vol 133, Issue 10 In-Reply-To: References: <20141006005114.8957.qmail@divico2.ch-meta.net> Message-ID: <543D6183.7090909@hyperactivesw.com> On 10/14/2014, 12:38 PM, Mark Wieder wrote: > Colin Holgate writes: > >> I?m relieved that he only gets the daily digest. > > I'm starting to miss getting my daily email from Bernd. > Feels like there's something missing in my life. > Set up a cron job on your server to send you one daily. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Tue Oct 14 13:58:10 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 14 Oct 2014 13:58:10 -0400 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: Message-ID: I wonder if these are related in some way. On Tue, Oct 14, 2014 at 1:35 PM, Vaughn Clement wrote: > Hi > > There is an IOS 8 bug that is also showing up in Xcode that is crashing > apps on startup. It is a know issue and Apple should be addressing it soon. > I was reading the comments on the forum today about this bug. It appears > that there is a memory loading issue that crashes to a blank screen on > opening. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > On Target Solutions LLC Website: http://www.ontargetsolutions.biz > Email: ontargetsolutions at yahoo.com > Skype: vaughn.clement > > FaceTime: vclement at gmail.com > Ph. 928-254-9062 > > > On Tue, Oct 14, 2014 at 9:43 AM, Mike Kerner > wrote: > > > ben, > > I seem to be having a problem in rc3 getting projects to do anything - if > > the first line in preOpenStack is answer "preOpenStack", nothing happens. > > I get a black screen like the app is launching, but I don't get past > that. > > Is the splash screen now mandatory, perhaps? > > > > On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont > > wrote: > > > > > Dear list members, > > > > > > We're please the announce the release of LiveCode 6.6.4 RC3. > > > > > > Release Contents > > > > > > LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 > > Support. > > > For full details of the changes please see the release notes. > > > > > > Getting the release > > > You can get this release by selecting ?check for updates? from the help > > > menu in LiveCode or download the installers directly at > > > http://downloads.livecode.com/livecode/ > > > > > > Warm regards, > > > > > > The LiveCode Team > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sc at sahores-conseil.com Tue Oct 14 14:16:32 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 14 Oct 2014 20:16:32 +0200 Subject: on-rev Client In-Reply-To: <02CD6D0B-E305-416B-9171-4D6F3F08FF15@netrin.com> References: <02CD6D0B-E305-416B-9171-4D6F3F08FF15@netrin.com> Message-ID: <0827274C-EB65-4236-9313-D9BAE25FFBE0@sahores-conseil.com> Hi All, The on-rev client used to be a good intention and tool but, with the time, it began to appears to me as an complex alternative to a lots more easy way to go. Here is the one i use instead to stay more comfortable with all the lc-server development tasks : 1.- web, mobile or desktop client-side apps intended to send http POST (to be preferred in about security tasks) or GET requests to lc-server have to be set to send them to a ? gateway.lc ? script of the following format : > > try > > start using stack "yourappserverstack.livecode" > get yourappserverstackglobalsinitializationprocedure() > get yourappserverstackglobalsinitializationcontroler() > > catch tErr > try > > start using stack "yourappserverstackclone.livecode" > get yourappserverstackglobalsinitializationprocedure() > get yourappserverstackglobalsinitializationcontroler() > > catch tErr > put "Maintenance at work. Thanks to wait some minutes before renewing your response..." > > end try > > end try > > ?> Where stack ? yourappserverstackclone.livecode" is the copy of the main server?s stack intended to respond instead of it in one case only : because the just updated "yourappserverstack.livecode ? is, for some seconds, unavailable because in the process to be erased/uploaded on the server. It?s always a good security related measure to choose to install both ? gateway.lc ? script, ? yourappserverstack.livecode ? and ? yourappserverstackclone.livecode ? the cgi-bin directory of your app?s domain main directory. ... At this point, all the ? hard work ? is over ;D The next step is to open your preferred FTP client app (Transmit or Cyberduck on mac, Cyberduck or FileZilla on PC, etc?) and to right-clic ? yourappserverstack.livecode ? to open it in your preferred LC Desktop IDE version as long as it is >= LC 6.0 (or perhaps 5.02 or 5.5, i can?t remember the right back-compatibility to apply there) to avoid legacy file-fomat possible troubles at the time you wants to save your server?s stack modifications as soon as the job is done. ... It?s not the first time i expose this way to go and Andre Garcia reported, on its own, the same way to go. It just works perfectly for years and, because, list archive are not always consulted as they should, i wanted to refresh this ;D Best, Pierre Le 14 oct. 2014 ? 18:05, Jim Lambert a ?crit : > on-rev client has also stopped working for me when going to Tio. > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode 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 matthias_livecode_150811 at m-r-d.de Tue Oct 14 14:25:06 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 14 Oct 2014 20:25:06 +0200 Subject: on-rev Client In-Reply-To: <0827274C-EB65-4236-9313-D9BAE25FFBE0@sahores-conseil.com> References: <02CD6D0B-E305-416B-9171-4D6F3F08FF15@netrin.com> <0827274C-EB65-4236-9313-D9BAE25FFBE0@sahores-conseil.com> Message-ID: <8E8FF5A1-1313-478D-8BE0-0C703579F29B@m-r-d.de> I, for one, will give that a try. But there is one thing i am really missing. On-Rev client had a really useful debug function. Saved me lot of time back then. Matthias Am 14.10.2014 um 20:16 schrieb Pierre Sahores : > Hi All, > > The on-rev client used to be a good intention and tool but, with the time, it began to appears to me as an complex alternative to a lots more easy way to go. Here is the one i use instead to stay more comfortable with all the lc-server development tasks : > > 1.- web, mobile or desktop client-side apps intended to send http POST (to be preferred in about security tasks) or GET requests to lc-server have to be set to send them to a ? gateway.lc ? script of the following format : > >> > >> try >> >> start using stack "yourappserverstack.livecode" >> get yourappserverstackglobalsinitializationprocedure() >> get yourappserverstackglobalsinitializationcontroler() >> >> catch tErr >> try >> >> start using stack "yourappserverstackclone.livecode" >> get yourappserverstackglobalsinitializationprocedure() >> get yourappserverstackglobalsinitializationcontroler() >> >> catch tErr >> put "Maintenance at work. Thanks to wait some minutes before renewing your response..." >> >> end try >> >> end try >> >> ?> > > Where stack ? yourappserverstackclone.livecode" is the copy of the main server?s stack intended to respond instead of it in one case only : because the just updated "yourappserverstack.livecode ? is, for some seconds, unavailable because in the process to be erased/uploaded on the server. > > It?s always a good security related measure to choose to install both ? gateway.lc ? script, ? yourappserverstack.livecode ? and ? yourappserverstackclone.livecode ? the cgi-bin directory of your app?s domain main directory. > > ... > > At this point, all the ? hard work ? is over ;D > > The next step is to open your preferred FTP client app (Transmit or Cyberduck on mac, Cyberduck or FileZilla on PC, etc?) and to right-clic ? yourappserverstack.livecode ? to open it in your preferred LC Desktop IDE version as long as it is >= LC 6.0 (or perhaps 5.02 or 5.5, i can?t remember the right back-compatibility to apply there) to avoid legacy file-fomat possible troubles at the time you wants to save your server?s stack modifications as soon as the job is done. > > ... > > It?s not the first time i expose this way to go and Andre Garcia reported, on its own, the same way to go. It just works perfectly for years and, because, list archive are not always consulted as they should, i wanted to refresh this ;D > > Best, > > Pierre > > > > Le 14 oct. 2014 ? 18:05, Jim Lambert a ?crit : > >> on-rev client has also stopped working for me when going to Tio. >> >> Jim Lambert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 From ambassador at fourthworld.com Tue Oct 14 14:39:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Oct 2014 11:39:27 -0700 Subject: Volume Size In-Reply-To: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> Message-ID: <543D6DDF.6080306@fourthworld.com> JB wrote: > I can get a file size by listing the detailed files and I can > get a list of all drives and volumes that are mounted by > using the volumes function. Is there a way to get the > size of a drive or volume that is returned by using the > volumes function? The diskspace function will return the number of bytes available on the volume used by the current directory. -- 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 dunbarx at aol.com Tue Oct 14 14:44:58 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 Oct 2014 14:44:58 -0400 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> <004101cfe7cc$543fb680$fcbf2380$@net> Message-ID: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> Pete. I think we are on the same page. Your code would have unpacked with each item as (returns just for clarity): a 1,b 2,c 3 Probably your point is that this is not what was intended. Your loop example is just like the sort of thing that started this. The intent was to be able to, given tData: aaa,bbb,ccc#ddd#eee#fff,ggg,hhh get item 2 to 3 delimited by "#" of item 3 of tData would return: ddd#eee Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Tue, Oct 14, 2014 12:59 pm Subject: Re: problem with counting words Yeah, I don't think word was considered during the discussion. Multiple delimiters might be a good idea but it feels like you'd have to know which delimiter had been encountered. For example, if you had a string like this: a=1,b=2,c=3 and you wanted to unpack it with: repeat for each item ritem delimited by "=," doStuff end repeat You'd probably need to know which delimiter had been encountered to distinguish between the left and right sides of the "=" character. The main intent behind "delimited by" was to do away with having to keep resetting the itemdelimiter, e.g repeat for each item rItem1 delimited by "=" repeat for each item rItem2 delimited by "," end repeat end repeat Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Oct 14, 2014 at 9:31 AM, Ralph DiMola wrote: > That would be a great enhancement. +1 A collection of delimiters(item > list?) > would be needed to even emulate the current word chunk. > > 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 Peter Haworth > Sent: Tuesday, October 14, 2014 11:32 AM > To: How to use LiveCode > Subject: Re: problem with counting words > > On Tue, Oct 14, 2014 at 12:45 AM, Kay C Lan > wrote: > > > If you want something new... a chunk, then the ability to specify it's > > delimiter as a range of characters that are either single of combined > > *could* be a valid enhancement. > > > > Rather than try to explain the thinking behind "delimited by", I'll refer > you to the forum discussion at > > http://forums.livecode.com/viewtopic.php?f=6&t=21630&p=111222&hilit=delimite > d+by#p111222 > and > enhancement request at http://quality.runrev.com/show_bug.cgi?id=13557. > > 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 dan at clearvisiontech.com Tue Oct 14 14:58:53 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 Oct 2014 11:58:53 -0700 Subject: Old Stacks Acting Strange Message-ID: <105B5F3F-FE68-45B6-9D8C-04546288BC8D@clearvisiontech.com> Vaughn, Thanks for the reply, but this isn't what I'm talking about. The issues I'm having with stacks made in LC 4.0 are happening in the desktop version of LC 6.5.1 (and later), not on a iOS device. Has anyone had a similar issue with older stacks? If so, did you resolve it? -Dan > Update on IOS 8 issues > > (Update Oct 14, 2014) I have found that IOS 8 is experiencing issues like > the one that I am describing. Other developers are commenting in the > developers forum that the IOS 8 apps are crashing. This should be a bug > that will come to Apples attention shortly from the developers bug reports. > > Thank you > > Vaughn Clement >> I have a stack (actually thousands of them) that were created in LiveCode (then RevEnterprise) 4.0.0. They are used in several apps we have including an iPad app. Do to the issues with LC and iOS 8, I need to make an update to the iPad app with LC 6.6.4. I opened my project this morning in 6.6.4, and the old stacks are displaying really messed up! Some controls show, others don't. If you select a control it sometimes then appears on the screen. Weird! It's messing everything up! Oddly enough, it appears correctly in the iPad Simulator (Simulator Version 8.0)? Go figure? >> >> I went back to version 4.0.0, and the stack opens perfectly. It opened correctly in LC 6.1.3, but failed in LC 6.5.1 and later. Anyone know what changed? And, more importantly, is there a way to resurrect these older stacks in 6.6.4? >> >> ANY Advise is welcome! >> >> -Dan From pete at lcsql.com Tue Oct 14 15:30:03 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 Oct 2014 12:30:03 -0700 Subject: License Info Message-ID: I remember seeing a thread a while back about an undocumented function that returned information about the type of Livecode license installed. I don't mean revLicenseType(), that only returns "Commercial", "Enterprise", "Community", etc The one I'm thinking of returns the license type, the license holder's name and I think the platforms licensed on. I searched Nabble but couldn't find it so anyone know what it is? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From sc at sahores-conseil.com Tue Oct 14 15:42:23 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 14 Oct 2014 21:42:23 +0200 Subject: Fwd: on-rev Client References: <8E8FF5A1-1313-478D-8BE0-0C703579F29B@m-r-d.de> Message-ID: <4B1FA04E-5193-44FC-A327-2980C40371AD@sahores-conseil.com> Hi Mathias, No more than the ones that you will be able to use from within the standard iDE as long as you insert your own trace tags in your server?s stack code, mainly as ? return it/the result ? ones. To the end, you will see how easy it?s to go and, more than that, if your server?s stacks use a MVC design and an SQL back-end for data storage. To the end, your server?s stacks are going to become so lightweight that there will no be place anymore for bugs ;D Note 1: on the yearly average time i spend in LC n-tier development tasks, 90% of the time is spent in client-side (web, mobile, desktop) modeling/coding and 10% in about server-side stacks and SQL modeling/coding. Note 2 : any server?s stack intended to serve web apps will never being best build than in using the fantastic Ralf Bitter's Revigniter port of the PHP?s CodeIgniter framework. What else : if i right remember, you use extensively PostgreSQL as your preferred SQL back-ends, is?t ? ;D Best, Pierre D?but du message r?exp?di? : > De: Matthias Rebbe | M-R-D > Objet: R?p : on-rev Client > Date: 14 octobre 2014 20:25:06 UTC+2 > ?: How to use LiveCode > R?pondre ?: How to use LiveCode > > > I, for one, will give that a try. > > But there is one thing i am really missing. On-Rev client had a really useful debug function. > Saved me lot of time back then. > > Matthias > > Am 14.10.2014 um 20:16 schrieb Pierre Sahores : > >> Hi All, >> >> The on-rev client used to be a good intention and tool but, with the time, it began to appears to me as an complex alternative to a lots more easy way to go. Here is the one i use instead to stay more comfortable with all the lc-server development tasks : >> >> 1.- web, mobile or desktop client-side apps intended to send http POST (to be preferred in about security tasks) or GET requests to lc-server have to be set to send them to a ? gateway.lc ? script of the following format : >> >>> >> >>> try >>> >>> start using stack "yourappserverstack.livecode" >>> get yourappserverstackglobalsinitializationprocedure() >>> get yourappserverstackglobalsinitializationcontroler() >>> >>> catch tErr >>> try >>> >>> start using stack "yourappserverstackclone.livecode" >>> get yourappserverstackglobalsinitializationprocedure() >>> get yourappserverstackglobalsinitializationcontroler() >>> >>> catch tErr >>> put "Maintenance at work. Thanks to wait some minutes before renewing your response..." >>> >>> end try >>> >>> end try >>> >>> ?> >> >> Where stack ? yourappserverstackclone.livecode" is the copy of the main server?s stack intended to respond instead of it in one case only : because the just updated "yourappserverstack.livecode ? is, for some seconds, unavailable because in the process to be erased/uploaded on the server. >> >> It?s always a good security related measure to choose to install both ? gateway.lc ? script, ? yourappserverstack.livecode ? and ? yourappserverstackclone.livecode ? the cgi-bin directory of your app?s domain main directory. >> >> ... >> >> At this point, all the ? hard work ? is over ;D >> >> The next step is to open your preferred FTP client app (Transmit or Cyberduck on mac, Cyberduck or FileZilla on PC, etc?) and to right-clic ? yourappserverstack.livecode ? to open it in your preferred LC Desktop IDE version as long as it is >= LC 6.0 (or perhaps 5.02 or 5.5, i can?t remember the right back-compatibility to apply there) to avoid legacy file-fomat possible troubles at the time you wants to save your server?s stack modifications as soon as the job is done. >> >> ... >> >> It?s not the first time i expose this way to go and Andre Garcia reported, on its own, the same way to go. It just works perfectly for years and, because, list archive are not always consulted as they should, i wanted to refresh this ;D >> >> Best, >> >> Pierre >> >> >> >> Le 14 oct. 2014 ? 18:05, Jim Lambert a ?crit : >> >>> on-rev client has also stopped working for me when going to Tio. >>> >>> Jim Lambert >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ambassador at fourthworld.com Tue Oct 14 15:45:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Oct 2014 12:45:29 -0700 Subject: problem with counting words In-Reply-To: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> Message-ID: <543D7D59.1090302@fourthworld.com> FWIW, changing the itemdel takes only about 0.00012 ms on a relatively slow (2.16GHz) Mac, and about a third as long (0.000043 ms) on my custom Linux box (3.0 GHz). on mouseup put 100000 into n -- put the millisecs into t repeat n get 1+1 end repeat put the millisecs - t into t1 -- put the millisecs into t repeat n get 1+1 set the itemdel to "#" end repeat put the millisecs - t into t2 -- put (t2-t1)/n end mouseup If that would be fast enough for your needs, you could write a function that takes any number of item number/delimiter pairs as arguments, following the data itself: on mouseUp put 1000 into n put "aaa,bbb,ccc#ddd#eee#fff,ggg,hhh" into tSomeData -- put the millisecs into t repeat n get nDepth(tSomeData, 3, comma, 2, "#" ) end repeat put the millisecs - t into t1 put t1/n &cr& it end mouseUp function nDepth get param(1) repeat with i = 2 to paramCount() step 2 set the itemDel to param(i+1) get item param(i) of it end repeat return it end nDepth On my old Mac that takes only about 0.005 ms per call. -- 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 dunbarx at aol.com Tue Oct 14 16:10:23 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 Oct 2014 16:10:23 -0400 Subject: problem with counting words In-Reply-To: <543D7D59.1090302@fourthworld.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> <543D7D59.1090302@fourthworld.com> Message-ID: <8D1B60203E71707-10C0-2E06C@webmail-vm001.sysops.aol.com> Richard. Right, and I am sure you know this, but it was never particularly a speed issue,rather more a mental and organizational one, that would be even more opaque if you had, say a handful of nested delimiters instead of just two. Craig -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Tue, Oct 14, 2014 3:46 pm Subject: Re: problem with counting words FWIW, changing the itemdel takes only about 0.00012 ms on a relatively slow (2.16GHz) Mac, and about a third as long (0.000043 ms) on my custom Linux box (3.0 GHz). on mouseup put 100000 into n -- put the millisecs into t repeat n get 1+1 end repeat put the millisecs - t into t1 -- put the millisecs into t repeat n get 1+1 set the itemdel to "#" end repeat put the millisecs - t into t2 -- put (t2-t1)/n end mouseup If that would be fast enough for your needs, you could write a function that takes any number of item number/delimiter pairs as arguments, following the data itself: on mouseUp put 1000 into n put "aaa,bbb,ccc#ddd#eee#fff,ggg,hhh" into tSomeData -- put the millisecs into t repeat n get nDepth(tSomeData, 3, comma, 2, "#" ) end repeat put the millisecs - t into t1 put t1/n &cr& it end mouseUp function nDepth get param(1) repeat with i = 2 to paramCount() step 2 set the itemDel to param(i+1) get item param(i) of it end repeat return it end nDepth On my old Mac that takes only about 0.005 ms per call. -- 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 larry at significantplanet.org Tue Oct 14 16:16:02 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 14 Oct 2014 14:16:02 -0600 Subject: enhancement request Message-ID: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> Hello, I've had this situation before and had it again today, which cost me a couple of hours. I dragged a new scrolling field onto my stack and named it "myInput". I hit Ctrl C and Ctrl V to copy it. I dragged the new field to a new position and named it "myOutput". Somehow (I'm not sure how) I ended up with 2 fields named "myInput" one right over the top of the other one. Then I put some text into the top myInput (not realizing there was a bottom one) and tried to do some stuff. What was happening, is that LC was looking at the bottom (1st) field "myInput" and there was no text in that one. So, of course, I got very strange behavior and used up a good portion of my rock collection. Here is what I wish for: (and I do not know how to officially make the request, and this is where someone can help) If I am so "ignorant" or "unattentive" ? to make such a blunder, it would be really wonderful for LC to pop up a warning saying something like, "Hey Larry! Wake Up! You already have a field named "myInput"!!!" Know what I mean? Thanks, Larry From sundown at pacifier.com Tue Oct 14 16:27:43 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 13:27:43 -0700 Subject: Volume Size In-Reply-To: <543D0B66.9060300@gmail.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> <543D0B66.9060300@gmail.com> Message-ID: That sounds like a synonym for NSA. John Balgenorth On Oct 14, 2014, at 4:39 AM, Richmond wrote: > On 14/10/14 13:51, JB wrote: >> Well the question is how do I use a script to >> get the size of a mounted volume? I should >> have mentioned I am on a Mac. Will using >> NBG somehow get the volume size? >> >> John Balgenorth >> > > Ha, Ha, Ha! "NBG" stands for 'No Bloody Good'. > > Richmond. > >> >> On Oct 14, 2014, at 3:27 AM, Richmond wrote: >> >>> On 14/10/14 12:55, JB wrote: >>>> I can get a file size by listing the detailed files and I can >>>> get a list of all drives and volumes that are mounted by >>>> using the volumes function. Is there a way to get the >>>> size of a drive or volume that is returned by using the >>>> volumes function? >>>> >>>> John Balgenorth >>>> >>>> >>> AND volumes is NBG in Linux . . . >>> >>> So? >>> >>> 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 sundown at pacifier.com Tue Oct 14 16:34:24 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 13:34:24 -0700 Subject: Volume Size In-Reply-To: <543D1562.8070802@warrensweb.us> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543D1562.8070802@warrensweb.us> Message-ID: <73BE2A73-B9E0-424D-B361-E48F1976A82F@pacifier.com> Thanks for the info, Warren. The problem with me using that solution is in your answer. You wrote, If the command is still installed in OS X And that is the issue with using shell commands in software you intend to market. For your own personal use if it works then that is great but the shell command might not always be there and then a program that was using it will fail. But I do appreciate the info for my personal use as well. thanks again! John Balgenorth On Oct 14, 2014, at 5:21 AM, Warren Samples wrote: > If the command is still installed in OS X From ambassador at fourthworld.com Tue Oct 14 16:44:21 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Oct 2014 13:44:21 -0700 Subject: problem with counting words In-Reply-To: <8D1B60203E71707-10C0-2E06C@webmail-vm001.sysops.aol.com> References: <8D1B60203E71707-10C0-2E06C@webmail-vm001.sysops.aol.com> Message-ID: <543D8B25.2030904@fourthworld.com> dunbarx wrote: > Right, and I am sure you know this, but it was never particularly a speed > issue,rather more a mental and organizational one, that would be even > more opaque if you had, say a handful of nested delimiters instead of just > two. The speed info I provided wasn't to show that it's fast, but merely that it's not too slow to be used right now. I'll bet with v8's Open Language there would be a way to expand the syntax to make it more xTalk-like, but if anyone here actually needs to work on data with n-depth items this function seems to work well enough to get the job done. > -----Original Message----- ... > If that would be fast enough for your needs, you could write a function > that takes any number of item number/delimiter pairs as arguments, > following the data itself: > > on mouseUp > put 1000 into n > put "aaa,bbb,ccc#ddd#eee#fff,ggg,hhh" into tSomeData > -- > put the millisecs into t > repeat n > get nDepth(tSomeData, 3, comma, 2, "#" ) > end repeat > put the millisecs - t into t1 > put t1/n &cr& it > end mouseUp > > function nDepth > get param(1) > repeat with i = 2 to paramCount() step 2 > set the itemDel to param(i+1) > get item param(i) of it > end repeat > return it > end nDepth -- 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 sundown at pacifier.com Tue Oct 14 16:43:09 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 13:43:09 -0700 Subject: Volume Size In-Reply-To: <543D4CAE.6030101@researchware.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543D1562.8070802@warrensweb.us> <6998C337-74B3-4388-BD72-FCE080213DA6@iotecdigital.com> <543D4CAE.6030101@researchware.com> Message-ID: <320EBAEE-C7F1-4EB6-B2D8-8B4A23FB6DDF@pacifier.com> I agree and that is why I even mentioned detailed files. Isn.t everything just a file anyway? John Balgenorth On Oct 14, 2014, at 9:17 AM, Paul Dupuis wrote: > There really should be a 'the detailed volumes' (or 'the detailed > drives') variant to the volumes function in LiveCode to do this. > > > On 10/14/2014 11:55 AM, Bob Sneidar wrote: >> Still works on Mavericks. >> >> Bob S >> >> >> On Oct 14, 2014, at 05:21 , Warren Samples > wrote: >> >> On 10/14/2014 04:55 AM, JB wrote: >> I can get a file size by listing the detailed files and I can >> get a list of all drives and volumes that are mounted by >> using the volumes function. Is there a way to get the >> size of a drive or volume that is returned by using the >> volumes function? >> >> John Balgenorth >> >> >> If 'volumes' doesn't work, maybe you can try >> >> get shell("df -h") >> >> You can try 'put shell("df -h")' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. >> >> 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 >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Oct 14 16:51:47 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 13:51:47 -0700 Subject: Volume Size In-Reply-To: <543D6DDF.6080306@fourthworld.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543D6DDF.6080306@fourthworld.com> Message-ID: <2223D574-CE4B-4E39-9BE2-A5645E3C4059@pacifier.com> Thanks, Richard. I didn?t know about the diskspace function and it is something that I will need to be using. But I need to know the total size of the volume and then I can use the diskspace function and find out the total bytes that have been used on the volume. John Balgenorth On Oct 14, 2014, at 11:39 AM, Richard Gaskin wrote: > JB wrote: >> I can get a file size by listing the detailed files and I can >> get a list of all drives and volumes that are mounted by >> using the volumes function. Is there a way to get the >> size of a drive or volume that is returned by using the >> volumes function? > > The diskspace function will return the number of bytes available on the volume used by the current directory. > > -- > 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 dunbarx at aol.com Tue Oct 14 17:05:49 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 Oct 2014 17:05:49 -0400 Subject: enhancement request In-Reply-To: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> Message-ID: <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> Larry. Sure you didn't hit "paste" twice? Anyway. LC would "see" the field with the lowest layer number as the one to reference, if, say, you "put something into fld myInput". This, of course, is the field at the bottom. As for a warning that you already have one of that name, there are instances where that sort of naming is desired, and we would then have others writing for an enhancement that eliminated that annoying warning. I say, "Live it, or live with it" Craig -----Original Message----- From: larry To: use-livecode Sent: Tue, Oct 14, 2014 4:17 pm Subject: enhancement request Hello, I've had this situation before and had it again today, which cost me a couple of hours. I dragged a new scrolling field onto my stack and named it "myInput". I hit Ctrl C and Ctrl V to copy it. I dragged the new field to a new position and named it "myOutput". Somehow (I'm not sure how) I ended up with 2 fields named "myInput" one right over the top of the other one. Then I put some text into the top myInput (not realizing there was a bottom one) and tried to do some stuff. What was happening, is that LC was looking at the bottom (1st) field "myInput" and there was no text in that one. So, of course, I got very strange behavior and used up a good portion of my rock collection. Here is what I wish for: (and I do not know how to officially make the request, and this is where someone can help) If I am so "ignorant" or "unattentive" ? to make such a blunder, it would be really wonderful for LC to pop up a warning saying something like, "Hey Larry! Wake Up! You already have a field named "myInput"!!!" Know what I mean? Thanks, 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 Tue Oct 14 17:15:21 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Oct 2014 16:15:21 -0500 Subject: enhancement request In-Reply-To: <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> Message-ID: <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Agree, I think the feature is more desirable than not. I frequently name all label fields the same so I can loop over all the controls and skip any named "lbl". On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: >As for a warning that you already have one of that name, there are >instances where that sort of naming is desired, and we would then have >others writing for an enhancement that eliminated that annoying warning. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Tue Oct 14 17:18:01 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 14 Oct 2014 23:18:01 +0200 Subject: License Info In-Reply-To: References: Message-ID: <543D9309.80101@economy-x-talk.com> Hi Peter, put the revLicenseInfo Unfortunately, you probably won't see my answer because you have to white list my e-mail address or IP. Perhaps someone can repost this. -- 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 10/14/2014 21:30, Peter Haworth wrote: > I remember seeing a thread a while back about an undocumented function that > returned information about the type of Livecode license installed. > > I don't mean revLicenseType(), that only returns "Commercial", > "Enterprise", "Community", etc The one I'm thinking of returns the license > type, the license holder's name and I think the platforms licensed on. > > I searched Nabble but couldn't find it so anyone know what it is? From sundown at pacifier.com Tue Oct 14 17:15:10 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 14:15:10 -0700 Subject: enhancement request In-Reply-To: <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Message-ID: I like to reference my fields and buttons by id number and then I don?t need to worry about it. John Balgenorth On Oct 14, 2014, at 2:15 PM, J. Landman Gay wrote: > Agree, I think the feature is more desirable than not. I frequently name all label fields the same so I can loop over all the controls and skip any named "lbl". > > On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: >> As for a warning that you already have one of that name, there are >> instances where that sort of naming is desired, and we would then have >> others writing for an enhancement that eliminated that annoying warning. > > -- > 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 Tue Oct 14 18:26:05 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 Oct 2014 15:26:05 -0700 Subject: enhancement request In-Reply-To: <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Message-ID: Going back to the original problem, it might be useful to offset a pasted control by a few pixels to the right and lower to make it more obvious it's there. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Oct 14, 2014 at 2:15 PM, J. Landman Gay wrote: > Agree, I think the feature is more desirable than not. I frequently name > all label fields the same so I can loop over all the controls and skip any > named "lbl". > > On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: > >As for a warning that you already have one of that name, there are > >instances where that sort of naming is desired, and we would then have > >others writing for an enhancement that eliminated that annoying warning. > > -- > 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 jhj at jhj.com Tue Oct 14 18:35:23 2014 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 14 Oct 2014 15:35:23 -0700 Subject: enhancement request In-Reply-To: References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Message-ID: <54D8ADB7-0688-4DBF-AB80-66E82FD2AE4F@jhj.com> If you use Option-drag to make a copy, you can for sure see that there are two. .Jerry On Oct 14, 2014, at 3:26 PM, Peter Haworth wrote: > Going back to the original problem, it might be useful to offset a pasted > control by a few pixels to the right and lower to make it more obvious it's > there. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Tue, Oct 14, 2014 at 2:15 PM, J. Landman Gay > wrote: > >> Agree, I think the feature is more desirable than not. I frequently name >> all label fields the same so I can loop over all the controls and skip any >> named "lbl". >> >> On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: >>> As for a warning that you already have one of that name, there are >>> instances where that sort of naming is desired, and we would then have >>> others writing for an enhancement that eliminated that annoying warning. >> >> -- >> 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 sundown at pacifier.com Tue Oct 14 18:30:39 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 15:30:39 -0700 Subject: enhancement request In-Reply-To: References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Message-ID: <5F10A36F-7048-4296-B61A-0B4FADD3E699@pacifier.com> That is an excellent idea and would solve the problem for him. It is nice to visually see something has changed. Sometimes your keyboard does not catch the paste command and then when you drag the supposed pasted field to a new location you mess up the location of the original field. John Balgenorth On Oct 14, 2014, at 3:26 PM, Peter Haworth wrote: > Going back to the original problem, it might be useful to offset a pasted > control by a few pixels to the right and lower to make it more obvious it's > there. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Tue, Oct 14, 2014 at 2:15 PM, J. Landman Gay > wrote: > >> Agree, I think the feature is more desirable than not. I frequently name >> all label fields the same so I can loop over all the controls and skip any >> named "lbl". >> >> On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: >>> As for a warning that you already have one of that name, there are >>> instances where that sort of naming is desired, and we would then have >>> others writing for an enhancement that eliminated that annoying warning. >> >> -- >> 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 jhj at jhj.com Tue Oct 14 18:38:28 2014 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 14 Oct 2014 15:38:28 -0700 Subject: enhancement request In-Reply-To: <54D8ADB7-0688-4DBF-AB80-66E82FD2AE4F@jhj.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> <54D8ADB7-0688-4DBF-AB80-66E82FD2AE4F@jhj.com> Message-ID: <7E6A0E6D-EB74-4834-98DB-33275B45BDE9@jhj.com> And now I remember how I got into the same predicament a long time ago: I option-dragged and then thought "oops, I didn't want to do that" and tried to undo my action by carefully putting the new one exactly over the original. WRONG MOVE JENSEN! On Oct 14, 2014, at 3:35 PM, Jerry Jensen wrote: > If you use Option-drag to make a copy, you can for sure see that there are two. > .Jerry > > On Oct 14, 2014, at 3:26 PM, Peter Haworth wrote: > >> Going back to the original problem, it might be useful to offset a pasted >> control by a few pixels to the right and lower to make it more obvious it's >> there. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> On Tue, Oct 14, 2014 at 2:15 PM, J. Landman Gay >> wrote: >> >>> Agree, I think the feature is more desirable than not. I frequently name >>> all label fields the same so I can loop over all the controls and skip any >>> named "lbl". >>> >>> On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: >>>> As for a warning that you already have one of that name, there are >>>> instances where that sort of naming is desired, and we would then have >>>> others writing for an enhancement that eliminated that annoying warning. >>> >>> -- >>> 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 jacque at hyperactivesw.com Tue Oct 14 18:55:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Oct 2014 17:55:58 -0500 Subject: enhancement request In-Reply-To: References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Message-ID: <543DA9FE.8000205@hyperactivesw.com> On 10/14/2014, 5:26 PM, Peter Haworth wrote: > Going back to the original problem, it might be useful to offset a pasted > control by a few pixels to the right and lower to make it more obvious it's > there. Or just keep the app browser or the project browser open, where it would be easy to spot. I rely on exact pasting positions when duplicating a card object to a different card or across stacks. LC's "duplicate" menu item does offset the duplicates. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Tue Oct 14 18:56:21 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 22:56:21 +0000 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> Message-ID: That was one of the preOpenStack oddities I was talking about. Someone else had an issue stemming from this same thing. I just cannot remember what it was. My IT brain is like an open drain. Stuff swirls around for a bit then it?s gone. Bob S On Oct 14, 2014, at 10:30 , Mike Kerner > wrote: Hmm. This is getting more interesting. Now it seems that maybe the splash screen isn't important, but if you have answer dialog in the openStack handler, or the preOpenStack handler, you get the hang. If I use "put" instead, I get output in the log. once the card loads, I can use answer, and it seems to work. On Tue, Oct 14, 2014 at 1:11 PM, Mike Kerner > wrote: Bob, The rc3 issue has to do with the presence or absence of a splash screen, and nothing more. Matthias has discovered the same issue, except he thinks the problem is more extensive. I am trying to verify his report, now. On Tue, Oct 14, 2014 at 12:56 PM, Bob Sneidar wrote: Hi Mike. I opened this to see what someone was responding to concerning LiveCode 6.6.4 RC3 and got a post about preOpenStack instead! LOL! preOpenStack is a tricky beast. Since it?s prior to the stack opening, certain things will not be in place, so things won?t function the way you might expect. This is especially true with standalones. There were some good posts about this, particularly from Jacque in the past. Check the archives for details. Bob S On Oct 14, 2014, at 09:43 , Mike Kerner > wrote: ben, I seem to be having a problem in rc3 getting projects to do anything - if the first line in preOpenStack is answer "preOpenStack", nothing happens. I get a black screen like the app is launching, but I don't get past that. Is the splash screen now mandatory, perhaps? On Mon, Oct 13, 2014 at 12:32 PM, Benjamin Beaumont > wrote: Dear list members, We're please the announce the release of LiveCode 6.6.4 RC3. Release Contents LiveCode 6.6.4 RC3 primarily addresses bugs associated with iOS 8 Support. For full details of the changes please see the release notes. Getting the release You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." -- 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 bobsneidar at iotecdigital.com Tue Oct 14 19:01:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 23:01:49 +0000 Subject: problem with counting words In-Reply-To: <543D7D59.1090302@fourthworld.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> <543D7D59.1090302@fourthworld.com> Message-ID: Thanks Richard. Yet one more snippet of code in my utility button. That didn?t sound weird, did it? ;-) Bob S On Oct 14, 2014, at 12:45 , Richard Gaskin > wrote: FWIW, changing the itemdel takes only about 0.00012 ms on a relatively slow (2.16GHz) Mac, and about a third as long (0.000043 ms) on my custom Linux box (3.0 GHz). From bobsneidar at iotecdigital.com Tue Oct 14 19:03:45 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 23:03:45 +0000 Subject: enhancement request In-Reply-To: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> Message-ID: <031C21E9-E742-4786-B14C-4EDED0A05826@iotecdigital.com> Either the option key is stuck, or else the engine thinks it?s down. Sounds like you are cloning the second copy. Bob S On Oct 14, 2014, at 13:16 , larry at significantplanet.org wrote: > Hello, > I've had this situation before and had it again today, which cost me a couple of hours. > > I dragged a new scrolling field onto my stack and named it "myInput". I hit Ctrl C and Ctrl V to copy it. I dragged the new field to a new position and named it "myOutput". > > Somehow (I'm not sure how) I ended up with 2 fields named "myInput" one right over the top of the other one. > > Then I put some text into the top myInput (not realizing there was a bottom one) and tried to do some stuff. What was happening, is that LC was looking at the bottom (1st) field "myInput" and there was no text in that one. > > So, of course, I got very strange behavior and used up a good portion of my rock collection. > > > Here is what I wish for: (and I do not know how to officially make the request, and this is where someone can help) > > If I am so "ignorant" or "unattentive" ? to make such a blunder, it would be really wonderful for LC to pop up a warning saying something like, "Hey Larry! Wake Up! You already have a field named "myInput"!!!" > > Know what I mean? > > Thanks, > 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 bobsneidar at iotecdigital.com Tue Oct 14 19:06:16 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Oct 2014 23:06:16 +0000 Subject: enhancement request In-Reply-To: <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> Message-ID: <70A588B8-ACEC-4448-AF09-B0053E19024D@iotecdigital.com> I actually use naming to discern which fields display input from a SQL database. Every field that begins with ?fld? is associated with a column in a table i.e. fldCustomerName is associated with the column customername. Bob S On Oct 14, 2014, at 14:15 , J. Landman Gay wrote: > Agree, I think the feature is more desirable than not. I frequently name all label fields the same so I can loop over all the controls and skip any named "lbl". > > On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: >> As for a warning that you already have one of that name, there are >> instances where that sort of naming is desired, and we would then have >> others writing for an enhancement that eliminated that annoying warning. > > -- > 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 dan at clearvisiontech.com Tue Oct 14 19:55:33 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 Oct 2014 16:55:33 -0700 Subject: PDF Results Not As Expected In-Reply-To: References: Message-ID: When creating a pdf of a card, I am getting results that don't match the screen. See if for yourself... make a new stack, and put this in a button: on mouseUp --remove old buttons repeat with i = 1 to 4 if there is a btn ("button" & i) then delete btn ("button" & i) end if end repeat --set props set the threeD of the templateButton to false set the borderWidth of the templateButton to 1 --create new button new button "button1" set the bottomRight of btn "button1" to the loc of this card new button "button2" set the bottomLeft of btn "button2" to the right of btn "button1" - 1,the bottom of btn "button1" new button "button3" set the topLeft of btn "button3" to the left of btn "button1",the bottom of btn "button1" - 1 new button "button4" set the bottomLeft of btn "button4" to the right of btn "button3" - 1,the bottom of btn "button3" --make the pdf put specialFolderPath("Documents") & "/printTemp.pdf" into tPDFFile open printing to pdf tPDFFile print this card close printing end mouseUp Click the button. You'll see that the buttons line up to form a 4x4 group all as 1 px lines as the buttons overlap each other. But, the generated PDF is not the same. It shows the lines side by side. Is there some setting I am missing? LiveCode 6.6.4 rc2 Mac OSX 10.9.5 Same results on iOS 8 Any thoughts? Thank you!! -Dan From rdimolad at evergreeninfo.net Tue Oct 14 20:39:06 2014 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Tue, 14 Oct 2014 20:39:06 -0400 Subject: PDF Results Not As Expected Message-ID: Make sure its not the reader. Try zooming in and out and see if things change. PDFs are not pixel accurate due to rounding and precision errors.? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: Dan Friedman
Date:10/14/2014 19:55 (GMT-05:00)
To: use-livecode at lists.runrev.com
Subject: PDF Results Not As Expected
When creating a pdf of a card, I am getting results that don't match the screen. See if for yourself... make a new stack, and put this in a button: on mouseUp --remove old buttons repeat with i = 1 to 4 if there is a btn ("button" & i) then delete btn ("button" & i) end if end repeat --set props set the threeD of the templateButton to false set the borderWidth of the templateButton to 1 --create new button new button "button1" set the bottomRight of btn "button1" to the loc of this card new button "button2" set the bottomLeft of btn "button2" to the right of btn "button1" - 1,the bottom of btn "button1" new button "button3" set the topLeft of btn "button3" to the left of btn "button1",the bottom of btn "button1" - 1 new button "button4" set the bottomLeft of btn "button4" to the right of btn "button3" - 1,the bottom of btn "button3" --make the pdf put specialFolderPath("Documents") & "/printTemp.pdf" into tPDFFile open printing to pdf tPDFFile print this card close printing end mouseUp Click the button. You'll see that the buttons line up to form a 4x4 group all as 1 px lines as the buttons overlap each other. But, the generated PDF is not the same. It shows the lines side by side. Is there some setting I am missing? LiveCode 6.6.4 rc2 Mac OSX 10.9.5 Same results on iOS 8 Any thoughts? Thank you!! -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Oct 14 20:57:20 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 14 Oct 2014 17:57:20 -0700 (PDT) Subject: Teaching LiveCode to Children In-Reply-To: References: Message-ID: <1413334640375-4684591.post@n4.nabble.com> Hi Terica, Terica Lynn Swangin wrote > [snip] > To be eligible for round 2 of the grant process we need at least 250 > people to vote for us. I would really appreciate it if you could please > show your support and vote. We only have 11 days left to qualify. > [snip] > I wholeheartedly believe that teaching LiveCode to these children will > creatively and effectively help them develop a new way to think and > thrive. 250 votes could give us the chance to change lives and futures. We > need the votes by 11:59:00 p.m. ET on October 17th, 2014. Congratulations! Pedinatural made it. I visited the webpage and there are 285 votes. :D https://www.missionmainstreetgrants.com/business/detail/63345 Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Teaching-LiveCode-to-Children-tp4684218p4684591.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Oct 14 21:52:46 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 14 Oct 2014 21:52:46 -0400 Subject: Vector stroke gradient subtle rendering bug Message-ID: Please check and comment about this bug report: http://quality.runrev.com/show_bug.cgi?id=13672 Recently, while importing some SVG files with gradients (created using Inkscape), I found a bug while rendering gradients in vector graphics. The same code produce two opposite, incomplete and incorrect results on LiveCode 6.1.2 and LiveCode 6.5 (or later). I used an Alpha version of the stack "SVGL plus Gradients" to import two small SVG files, included within linked zip file. Please notice: this Alpha version is incomplete and just must be used to test this very specific vector gradient bug. Text from attached stack. (Stack also includes images and vector graphics): (CARD 1) To the Left, a vector graphic imported into Livecode from a file named "gradient05.svg" using LiveCode 6.1.2 on Ubuntu Linux. To the Right, a png bitmap screenshot of the same file "gradient05.svg" opened in Google Chrome. Notice: Stroke Gradient renders correctly, but Fill Gradient renders in the wrong place. Click the button "Go next Card" to watch how LiveCode 6.5 and later renders the same file. ---------------- (CARD 2) To the Left, a vector graphic imported into Livecode from a file named "gradient05.svg" using LiveCode 6.6.2 on Ubuntu Linux. To the Right, a png bitmap screenshot of the same file "gradient05.svg" opened in Google Chrome. Notice, Fill Gradient now renders correctly, while Stroke Gradient renders in the wrong place. ---------------- Check the attached zip file that includes two LiveCode stacks and two small SVG files (created with InkScape). Inside the zipped file, there are two simple SVG files that you could import into LiveCode 6.1.2 and LiveCode 6.5 or later (including version 7) to compare the differences. It's a VERY subtle rendering bug, but effectively will cause many headaches if you are trying to import SVG files with gradients. I have included (among the linked files) an Alpha version of the original SVGL stack with code to import ONLY Inkscape gradients. Download too, from Google Drive: https://drive.google.com/file/d/0B9ja3Yvw8cHLVU5MTzRjY1lwcGM/edit?usp=sharing Al From pete at lcsql.com Tue Oct 14 22:03:38 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 Oct 2014 19:03:38 -0700 Subject: enhancement request In-Reply-To: <54D8ADB7-0688-4DBF-AB80-66E82FD2AE4F@jhj.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> <54D8ADB7-0688-4DBF-AB80-66E82FD2AE4F@jhj.com> Message-ID: Thanks Jerry, didn't know about that, very useful Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Oct 14, 2014 at 3:35 PM, Jerry Jensen wrote: > If you use Option-drag to make a copy, you can for sure see that there are > two. > .Jerry > > On Oct 14, 2014, at 3:26 PM, Peter Haworth wrote: > > > Going back to the original problem, it might be useful to offset a pasted > > control by a few pixels to the right and lower to make it more obvious > it's > > there. > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > > > On Tue, Oct 14, 2014 at 2:15 PM, J. Landman Gay < > jacque at hyperactivesw.com> > > wrote: > > > >> Agree, I think the feature is more desirable than not. I frequently > name > >> all label fields the same so I can loop over all the controls and skip > any > >> named "lbl". > >> > >> On October 14, 2014 4:05:49 PM CDT, dunbarx at aol.com wrote: > >>> As for a warning that you already have one of that name, there are > >>> instances where that sort of naming is desired, and we would then have > >>> others writing for an enhancement that eliminated that annoying > warning. > >> > >> -- > >> 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 Tue Oct 14 22:06:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 Oct 2014 19:06:06 -0700 Subject: enhancement request In-Reply-To: <543DA9FE.8000205@hyperactivesw.com> References: <22EFA113B711459CB1F46397EFE7E308@userd204a4d61c> <8D1B609C013C986-10C0-2E540@webmail-vm001.sysops.aol.com> <361AA43F-83F9-47F8-988D-E4B2D02E65FA@hyperactivesw.com> <543DA9FE.8000205@hyperactivesw.com> Message-ID: On Tue, Oct 14, 2014 at 3:55 PM, J. Landman Gay wrote: > I rely on exact pasting positions when duplicating a card object to a > different card or across stacks. LC's "duplicate" menu item does offset the > duplicates. And thanks Jacque,. I knew about that but had forgotten about it. When trying to find it, I always looked on the Object menu but I see it's on the Edit menu, along with Replicate. Seems like it really belongs on the Object menu but I'll remember where it is from now on. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From sundown at pacifier.com Tue Oct 14 23:37:21 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 20:37:21 -0700 Subject: Volume Size In-Reply-To: <543D0B66.9060300@gmail.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> <543D0B66.9060300@gmail.com> Message-ID: The dictionary states, This function always returns empty on Unix systems. So, is Linux a Unix OS? John Balgenorth On Oct 14, 2014, at 4:39 AM, Richmond wrote: >>>> >>> AND volumes is NBG in Linux . . . >>> >>> So? >>> >>> 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 warren at warrensweb.us Wed Oct 15 00:30:33 2014 From: warren at warrensweb.us (Warren Samples) Date: Tue, 14 Oct 2014 23:30:33 -0500 Subject: Volume Size In-Reply-To: References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> <543D0B66.9060300@gmail.com> Message-ID: <543DF869.60105@warrensweb.us> On 10/14/2014 10:37 PM, JB wrote: > The dictionary states, > > This function always returns empty on Unix systems. > > So, is Linux a Unix OS? For LiveCode purposes, yes. The dictionary does indicated, by omission of the penguin icon, that 'volumes()' is not supported under Linux. I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. In Linux you should be able to use shell("df"). Warren From sundown at pacifier.com Wed Oct 15 00:28:07 2014 From: sundown at pacifier.com (JB) Date: Tue, 14 Oct 2014 21:28:07 -0700 Subject: Volume Size In-Reply-To: <543DF869.60105@warrensweb.us> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> <543D0B66.9060300@gmail.com> <543DF869.60105@warrensweb.us> Message-ID: Thanks, Warren! John Balgenorth On Oct 14, 2014, at 9:30 PM, Warren Samples wrote: > On 10/14/2014 10:37 PM, JB wrote: >> The dictionary states, >> >> This function always returns empty on Unix systems. >> >> So, is Linux a Unix OS? > > > > For LiveCode purposes, yes. The dictionary does indicated, by omission of the penguin icon, that 'volumes()' is not supported under Linux. I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. In Linux you should be able to use shell("df"). > > 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 ambassador at fourthworld.com Wed Oct 15 01:06:48 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Oct 2014 22:06:48 -0700 Subject: Volume Size In-Reply-To: <543DF869.60105@warrensweb.us> References: <543DF869.60105@warrensweb.us> Message-ID: <543E00E8.2050506@fourthworld.com> Warren Samples wrote: > The dictionary does indicated, by omission of the penguin icon, > that 'volumes()' is not supported under Linux. Seems a silly omission, so I just submitted a request for that: > I find the 'diskSize()' returns an unexpected and useless result > here under openSUSE, despite the dictionary's indication that it > is supported under Linux. That would be a bug - confirmed here, so I just submitted a report against it; feel free to any additional info you feel may be useful: > In Linux you should be able to use shell("df"). We can, but we shouldn't have to for things that are well supported on other platforms. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sundown at pacifier.com Wed Oct 15 05:26:33 2014 From: sundown at pacifier.com (JB) Date: Wed, 15 Oct 2014 02:26:33 -0700 Subject: Programming LiveCode with LiveCode Message-ID: There have been hints that in the near future it will be possible to program LiveCode with LiveCode like you write scripts for your stacks. Now that foundation has been added they have been updating LiveCode and it sounds like they are using Grand Central Dispatch for some of the graphics. There are many powerful tools in foundation. I am not sure how difficult it would be but it would be a great if instead of making a few really good changes to LiveCode with foundation and GCD etc that they opened the doors so anyone could access the tools in foundation from the script level of LiveCode without writing an external. If this could be done you might even be able to allow scripts to include the Swift programming language. That would make LiveCode advance faster because a lot of people would be writing code that would improve LiiveCode and sharing it. This would open the doors for amazing things at a rapid pace with a true community involvement in writing code for the changes. John Balgenorth From larry at significantplanet.org Wed Oct 15 06:25:55 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 15 Oct 2014 04:25:55 -0600 Subject: Programming LiveCode with LiveCode References: Message-ID: Hi John, I'm on board with all of that! Even though the LC community is relatively small, I agree 100% with you that a lot of people would start writing shared code that would greatly improve the LC IDE. AND if LC did that, it would start attracting a lot more programmers. I am of the opinion that all of the platform/device specific approach to software is going the way of the dinosaur. I believe the future of software will be browser based for several reasons. Maybe I'm ignorant and maybe I'm wrong, but that's what I believe. What I would personally LOVE to see happen with LC is true open source like you're talking about and then see LC become a LEADER in writing software that works in any standard browser. No fuss, no muss. Don't have to worry about OS or device. I'm working with a guy right now who is taking my "clunky" LC Windows prototype and rewriting it so that it will run in any browser. He tells me that he can code it so that the program automatically detects the screen size of the device and automatically adjusts the program accordingly. He also says that the user will be able to use the program offline and then synch automatically back to their personal data as soon as they get back online. In other words, the app is available both online and offline. If LC developed the ability to do all that kind of stuff with all of LC's other benefits, I would be extremely excited. Since I don't know very much about the pecking order/politics whatever at Rev, I hope you more experienced list people will push for your idea. You have my vote! Larry P.S. As one example, I got a lot of kind help from this list in understanding how to build and implement a library stack. However, TO ME (in my little brain) it still seems like a work-around. How wonderful it would be if I could just write and name a function (or import someone else's function) and then use it right within any script just like I use lineoffset or whatever AND also go to the LC dictionary and not only see the example(s) the author wrote, but add my own notes and examples right into the dictionary. Well, we can dream can't we? ----- Original Message ----- From: "JB" To: "How to use LiveCode" Sent: Wednesday, October 15, 2014 3:26 AM Subject: Programming LiveCode with LiveCode > There have been hints that in the near future it will be > possible to program LiveCode with LiveCode like you > write scripts for your stacks. > > Now that foundation has been added they have been > updating LiveCode and it sounds like they are using > Grand Central Dispatch for some of the graphics. > > There are many powerful tools in foundation. I am not > sure how difficult it would be but it would be a great if > instead of making a few really good changes to LiveCode > with foundation and GCD etc that they opened the doors > so anyone could access the tools in foundation from the > script level of LiveCode without writing an external. If > this could be done you might even be able to allow scripts > to include the Swift programming language. > > That would make LiveCode advance faster because a lot > of people would be writing code that would improve LiiveCode > and sharing it. This would open the doors for amazing things > at a rapid pace with a true community involvement in writing > code for the changes. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Wed Oct 15 09:36:01 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 15 Oct 2014 15:36:01 +0200 Subject: Regex wildcard in XML Query In-Reply-To: References: Message-ID: <2605CDF7-B81D-4C75-8AA9-6F0816444C5D@mac.com> I'll just leave this here: http://stackoverflow.com/a/1732454/2149933 On 09 Oct 2014, at 18:41, Peter Haworth wrote: > On Wed, Oct 8, 2014 at 9:12 PM, Glen Bojsza wrote: > >> > xsi:type="xsd:pattern">IGD.NetDevice.\d{2}\.NetCommonInterfaceConfig. >> > > Hi Glen, > Couple of issues with using the above as a regex. > > The period character means any character except newline in a regex. By > chance it works for the string you're looking for but it really should be > escaped with a backslash character. > > The "\d{2}" looks for two digits and you only have one digit in that > position in the string. If you want to allow for 1 or 2 digits, you can > use either "\d{1,2}" or "\d\d?" > > So your regex would be (untested): > > xsi:type="xsd:pattern">IGD\.NetDevice\.\d{1,2}\.NetCommonInterfaceConfig\. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From gbojsza at gmail.com Wed Oct 15 09:53:57 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 15 Oct 2014 09:53:57 -0400 Subject: Regex wildcard in XML Query In-Reply-To: <2605CDF7-B81D-4C75-8AA9-6F0816444C5D@mac.com> References: <2605CDF7-B81D-4C75-8AA9-6F0816444C5D@mac.com> Message-ID: I think I may have given the wrong phrasing... I would say I would like to be able to XML queries similar to what can be done by Regex (but not use regex to do the actual query). Basically, I have found several references where XML language supports it's own style of "regex" like commands. Since my initial posting I have found a working solution for my initial problem but I have not been able to expand on it . Simply by changing the line IGD.NetDevice.1.NetCommonInterfaceConfig. to \.NetCommonInterfaceConfig. gives my the results I was looking for. But I still would like to go further and be able to do a wildcard in the full string and get the same results just because I would then be able to apply the syntax to future problems that are not as simple as my first one. On Wed, Oct 15, 2014 at 9:36 AM, Bj?rnke von Gierke wrote: > I'll just leave this here: http://stackoverflow.com/a/1732454/2149933 > > > From bvg at mac.com Wed Oct 15 09:56:51 2014 From: bvg at mac.com (=?windows-1252?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 15 Oct 2014 15:56:51 +0200 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> Message-ID: There is no way to search the dictionary, but I have made a replacement for it, which can do full searches: http://bjoernke.com/bvgdocu/ As a side note I really wish "trueWord" would be named "humanWord" instead, it'd make the distinction to the historic "word" much more immediate comprehensible. On the plus side, the next such keyword can now be named "falseWord", which is nice, I guess. On 12 Oct 2014, at 22:04, larry at significantplanet.org wrote: > The other thing I don't understand is this: Is there any way to search the dictionary on the text of the dictionary and not just on the keywords? > If there is a way to do that, I don't know how. It would help a lot. On 12 Oct 2014, at 21:37, J. Landman Gay wrote: > BTW, the "trueword" token was introduced as part of the unicode implementation, so you'll only see it in LC version 7.0. When we all adopt that version, we will be able to choose between the "logical" word boundaries (trueword) and the historical boundaries (the HyperCard method, which also includes punctuation as part of words.) -- Use an alternative Dictionary viewer: Chat with other RunRev developers: http://bjoernke.com/chatrev/ From ambassador at fourthworld.com Wed Oct 15 10:59:44 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Oct 2014 07:59:44 -0700 Subject: Volume Size In-Reply-To: <543E00E8.2050506@fourthworld.com> References: <543E00E8.2050506@fourthworld.com> Message-ID: <543E8BE0.2040401@fourthworld.com> Last night I wrote: > Warren Samples wrote: > > I find the 'diskSize()' returns an unexpected and useless result > > here under openSUSE, despite the dictionary's indication that it > > is supported under Linux. > > That would be a bug - confirmed here, so I just submitted a report > against it; feel free to any additional info you feel may be useful: > Well, that was fast: jut hours later that issue is now marked as "Fixed- Awaiting Build". -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Oct 15 11:09:15 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Oct 2014 08:09:15 -0700 Subject: Programming LiveCode with LiveCode In-Reply-To: References: Message-ID: <543E8E1B.4060604@fourthworld.com> JB wrote: > There are many powerful tools in foundation. I am not > sure how difficult it would be but it would be a great if > instead of making a few really good changes to LiveCode > with foundation and GCD etc that they opened the doors > so anyone could access the tools in foundation from the > script level of LiveCode without writing an external. They must have been using Jacque's time machine to start work on your request before you posted it - that's what v8 is all about: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Oct 15 11:50:49 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Oct 2014 10:50:49 -0500 Subject: Programming LiveCode with LiveCode In-Reply-To: References: Message-ID: On October 15, 2014 5:25:55 AM CDT, larry at significantplanet.org wrote: >I'm working with a guy right now who is taking my "clunky" LC Windows >prototype and rewriting it so that it will run in any browser. He >tells me >that he can code it so that the program automatically detects the >screen >size of the device and automatically adjusts the program accordingly. >He >also says that the user will be able to use the program offline and >then >synch automatically back to their personal data as soon as they get >back >online. In other words, the app is available both online and offline. >If LC developed the ability to do all that kind of stuff with all of >LC's >other benefits, I would be extremely excited. Be excited. LiveCode can already do all that without using a browser. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvg at mac.com Wed Oct 15 12:59:29 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 15 Oct 2014 18:59:29 +0200 Subject: Secure Sockets Message-ID: <1300F3F7-1AF7-4C7C-942C-7468577E7B53@mac.com> Hi all I'm rather uneducated with encryption stuff, so I wanted to try out secure sockets. However, most likely due to my incapability to understand what I'm doing, I've been unable to get a simple example working. I've used my own "simplest socket client/server" stacks from rev online, ran them in two different LC instances (because LC locks up if you do server and client in the same executable), and then I modified them to use secure stuff. First I simply set the client to use "open secure socket to...". Funnily this would show what I assumed where encrypted handshake messages on the server side (gibberish). But of course I have no Idea about how to decrypt those, plus, that's probably not how things should work. I then Added a "secure" to the server side by using "accept secure sockets on..." which would actually result in a connection (note: "secure" is undocumented for "accept" so I have made a bug report in regards to that, because it seems to work just fine.) However, If I then try to send a message from the client to the server, it fails with these errors on their respective ends: client: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure server: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher I assume that I am using the commands correctly, but that I guess I do need to specify the server to use a certificate? Questions Galore! - Has anyone done secure sockets with both server and client implemented in LC (or just the server)? - Is it possible to do a secure connection as CLIENT, when the certificate does not exist or remains unspecified on the client side? (I assume this is when I need to specify "without verification")? - Is it possible to do a secure SERVER and not specify a certificate or a key on the server side? I guess not, but Is it possible to let LC do certificates and keys for me behind the curtains? - I'm testing on mac os x, so I can create a certificate using Keychain.app. What settings would I need to do there? - Is it insecure to issue a certificate for 127.0.0.1 (localhost)? - If I got a certificate that is applicable, how do I tell LC to use it as my server certificate? - SSLv3 Is deemed insecure. In case I ever get anything working, how can I disable SSL completely, and force my connections to always use TLS or even only TLSv1.2? - How about any of the other minuteas of cypher selection and key exchange, how can I do that manually? should I do that manually? Thank you for any information, and feel free to answer any questions even if only partially or guesswork. Also feel free to answer questions which I neglected to ask. If I ever get this to work, and have some basic comprehension, I'll make a lesson at lessons.runrev.com, so everyone can benefit in the future. cheers Bj?rnke -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From pete at lcsql.com Wed Oct 15 13:02:46 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 15 Oct 2014 10:02:46 -0700 (PDT) Subject: License Info In-Reply-To: <543D9309.80101@economy-x-talk.com> References: <543D9309.80101@economy-x-talk.com> Message-ID: <1413392566687-4684608.post@n4.nabble.com> Thanks Mark. You're right that I didn't see it my mail but I found it on Nabble. Pete -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/License-Info-tp4684566p4684608.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Oct 15 13:51:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Oct 2014 20:51:44 +0300 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: Message-ID: <543EB430.9050101@gmail.com> Sorry lovely people, a bit slow on the uptake this time; anyway, just fired up my iMac G5 [that's a PPC Mac running Mac OS 10.5.8 for those who are recent arrivals to the Mac fan club] . . . 1. Still no installer icons inside the DMG in icon view. 1.1 icon is visible in list view; queer or what? 2. Installer icon not visible ib the Dock. 3. Installs to "You Only" with no obvious problems. 3. On install a generic icon appears in the user's Applications folder. 4. Launches OK. 5. Still no icon in the Dock. Richmond. From john at onechip.com Wed Oct 15 16:51:35 2014 From: john at onechip.com (John) Date: Wed, 15 Oct 2014 13:51:35 -0700 Subject: Palette style window Message-ID: Hi, When I run an app in the IDE, stacks with a style of ?palette? auto hide when another application is brought to the front. This is the expected behavior. When I build the app, the windows do not auto hide, they become disabled. Am I expected to script the auto hide behavior or is this a bug? I am running LC 7 RC2 under OS 10.9.5. Thanks, John From ambassador at fourthworld.com Wed Oct 15 16:58:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Oct 2014 13:58:07 -0700 Subject: Palette style window In-Reply-To: References: Message-ID: <543EDFDF.7030903@fourthworld.com> John wrote: > When I run an app in the IDE, stacks with a style of ?palette? > auto hide when another application is brought to the front. This > is the expected behavior. When I build the app, the windows do > not auto hide, they become disabled. Am I expected to script the > auto hide behavior or is this a bug? I am running LC 7 RC2 under > OS 10.9.5. This sounds like an issue with the hidePalettes global property. It should default to true on OS X, and false on Windows and Linux (it has no effect on Linux at all at this time). If you're finding it defaulting to false on OS X then according to the Dictionary that would be a bug, so please file a report against it so it can be addressed before v7 goes final: -- 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 sundown at pacifier.com Wed Oct 15 17:05:54 2014 From: sundown at pacifier.com (JB) Date: Wed, 15 Oct 2014 14:05:54 -0700 Subject: Volume Size In-Reply-To: <543E8BE0.2040401@fourthworld.com> References: <543E00E8.2050506@fourthworld.com> <543E8BE0.2040401@fourthworld.com> Message-ID: <20FABEDD-8C07-4218-A623-A693A52B822F@pacifier.com> That is great! thank you, Richard and the LiveCode team. John Balgenorth On Oct 15, 2014, at 7:59 AM, Richard Gaskin wrote: > Last night I wrote: > >> Warren Samples wrote: >> > I find the 'diskSize()' returns an unexpected and useless result >> > here under openSUSE, despite the dictionary's indication that it >> > is supported under Linux. >> >> That would be a bug - confirmed here, so I just submitted a report >> against it; feel free to any additional info you feel may be useful: >> > > Well, that was fast: jut hours later that issue is now marked as "Fixed- Awaiting Build". > > -- > 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 john at onechip.com Wed Oct 15 17:25:21 2014 From: john at onechip.com (John) Date: Wed, 15 Oct 2014 14:25:21 -0700 Subject: Palette style window In-Reply-To: <543EDFDF.7030903@fourthworld.com> References: <543EDFDF.7030903@fourthworld.com> Message-ID: Thanks Richard, I didn?t know (I guess I should have searched) that there was a property for this. If I add: set the hidePalettes to true to the openStack handler, the built app works correctly. Bug report (http://quality.runrev.com/show_bug.cgi?id=13684) submitted. Thanks, John On Oct 15, 2014, at 1:58 PM, Richard Gaskin wrote: > John wrote: > > > When I run an app in the IDE, stacks with a style of ?palette? > > auto hide when another application is brought to the front. This > > is the expected behavior. When I build the app, the windows do > > not auto hide, they become disabled. Am I expected to script the > > auto hide behavior or is this a bug? I am running LC 7 RC2 under > > OS 10.9.5. > > This sounds like an issue with the hidePalettes global property. It should default to true on OS X, and false on Windows and Linux (it has no effect on Linux at all at this time). > > If you're finding it defaulting to false on OS X then according to the Dictionary that would be a bug, so please file a report against it so it can be addressed before v7 goes final: > > > -- > 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 john at onechip.com Wed Oct 15 17:36:43 2014 From: john at onechip.com (John) Date: Wed, 15 Oct 2014 14:36:43 -0700 Subject: Palette style window In-Reply-To: References: <543EDFDF.7030903@fourthworld.com> Message-ID: <35B35294-2676-44FE-9F6E-FC446BDB76CC@onechip.com> If any one is interested, there is a related bug. When palette windows are hidden and redrawn, the redraw order of the windows reverses causing any overlapped widows to be positioned incorrectly. Submitted as: http://quality.runrev.com/show_bug.cgi?id=13685 . Thanks, John On Oct 15, 2014, at 2:25 PM, John wrote: > Thanks Richard, I didn?t know (I guess I should have searched) that there was a property for this. If I add: > > set the hidePalettes to true > > to the openStack handler, the built app works correctly. Bug report (http://quality.runrev.com/show_bug.cgi?id=13684) submitted. > > Thanks, > John > > > On Oct 15, 2014, at 1:58 PM, Richard Gaskin wrote: > >> John wrote: >> >>> When I run an app in the IDE, stacks with a style of ?palette? >>> auto hide when another application is brought to the front. This >>> is the expected behavior. When I build the app, the windows do >>> not auto hide, they become disabled. Am I expected to script the >>> auto hide behavior or is this a bug? I am running LC 7 RC2 under >>> OS 10.9.5. >> >> This sounds like an issue with the hidePalettes global property. It should default to true on OS X, and false on Windows and Linux (it has no effect on Linux at all at this time). >> >> If you're finding it defaulting to false on OS X then according to the Dictionary that would be a bug, so please file a report against it so it can be addressed before v7 goes final: >> >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Oct 15 17:27:18 2014 From: sundown at pacifier.com (JB) Date: Wed, 15 Oct 2014 14:27:18 -0700 Subject: Programming LiveCode with LiveCode In-Reply-To: <543E8E1B.4060604@fourthworld.com> References: <543E8E1B.4060604@fourthworld.com> Message-ID: <0207655C-5B11-4AC3-BAA8-2176439218E7@pacifier.com> This is FANTASTIC! John Balgenorth On Oct 15, 2014, at 8:09 AM, Richard Gaskin wrote: > JB wrote: > > > There are many powerful tools in foundation. I am not > > sure how difficult it would be but it would be a great if > > instead of making a few really good changes to LiveCode > > with foundation and GCD etc that they opened the doors > > so anyone could access the tools in foundation from the > > script level of LiveCode without writing an external. > > They must have been using Jacque's time machine to start work on your request before you posted it - that's what v8 is all about: > > > -- > 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 mwieder at ahsoftware.net Wed Oct 15 19:42:12 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 Oct 2014 16:42:12 -0700 Subject: Volume Size In-Reply-To: <543E8BE0.2040401@fourthworld.com> References: <543E00E8.2050506@fourthworld.com> <543E8BE0.2040401@fourthworld.com> Message-ID: <1521553814577.20141015164212@ahsoftware.net> Richard- Wednesday, October 15, 2014, 7:59:44 AM, you wrote: > Well, that was fast: jut hours later that issue is now marked as > "Fixed- Awaiting Build". Not only that, the discussion on the bugfix code is very informative. Two options here, and I think the right one was taken. -- -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 pmbrig at gmail.com Wed Oct 15 10:24:07 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 15 Oct 2014 10:24:07 -0400 Subject: problem with counting words In-Reply-To: <8D1B60203E71707-10C0-2E06C@webmail-vm001.sysops.aol.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> <543D7D59.1090302@fourthworld.com> <8D1B60203E71707-10C0-2E06C@webmail-vm001.sysops.aol.com> Message-ID: <93128986-4F73-4878-81EA-B6044F8D558E@gmail.com> While we're waiting to see what comes of language extensions, here's a function that I use to simplify getting items from lists with various delimiters: 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 -- and doesn't risk your forgetting to reset it -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem If tList = "a/b/c*dd*e/f,g/h*i" and you wanted to extract the "dd" then you would call: put getItem(getItem(tList,3,"/"),2,"*") -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 14, 2014, at 4:10 PM, DunbarX at aol.com wrote: > Richard. > > Right, and I am sure you know this, but it was never particularly a speed issue,rather more a mental and organizational one, that would be even more opaque if you had, say a handful of nested delimiters instead of just two. > > Craig > > -----Original Message----- > From: Richard Gaskin > To: use-livecode > Sent: Tue, Oct 14, 2014 3:46 pm > Subject: Re: problem with counting words > > FWIW, changing the itemdel takes only about 0.00012 ms on a relatively > slow (2.16GHz) Mac, and about a third as long (0.000043 ms) on my custom > Linux box (3.0 GHz). From pmbrig at gmail.com Wed Oct 15 14:55:03 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 15 Oct 2014 14:55:03 -0400 Subject: LiveCode 6.6.4 RC3 In-Reply-To: References: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> Message-ID: <67476D80-219B-4D46-8DB6-D3F0FA903A52@gmail.com> On Oct 14, 2014, at 6:56 PM, Bob Sneidar wrote: > My IT brain is like an open drain. Stuff swirls around for a bit then it?s gone. One of my patients, complaining of memory problems, said "I have a mind like a steel sieve." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From terry.judd at unimelb.edu.au Wed Oct 15 22:14:59 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 16 Oct 2014 02:14:59 +0000 Subject: LiveCode 6.6.4 RC3 In-Reply-To: <67476D80-219B-4D46-8DB6-D3F0FA903A52@gmail.com> References: <27DFECBE-9224-4DA6-96C0-6966A3FF93B0@iotecdigital.com> <67476D80-219B-4D46-8DB6-D3F0FA903A52@gmail.com> Message-ID: Is that better or worse than a plastic trap? Terry... On 16/10/2014 5:55 am, "Peter M. Brigham" wrote: >On Oct 14, 2014, at 6:56 PM, Bob Sneidar wrote: > >> My IT brain is like an open drain. Stuff swirls around for a bit then >>it?s gone. > >One of my patients, complaining of memory problems, said "I have a mind >like a steel sieve." > >-- 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 Wed Oct 15 22:18:47 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 15 Oct 2014 22:18:47 -0400 Subject: problem with counting words In-Reply-To: <543D7D59.1090302@fourthworld.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> <543D7D59.1090302@fourthworld.com> Message-ID: <7E631352-AC5C-4CEF-AB5C-C2079B0B7F1B@gmail.com> On Oct 14, 2014, at 3:45 PM, Richard Gaskin wrote: > function nDepth > get param(1) > repeat with i = 2 to paramCount() step 2 > set the itemDel to param(i+1) > get item param(i) of it > end repeat > return it > end nDepth Another one to add to my collection. Thanks, Richard! If you don't have to deal with nested itemdelims, here's a function to use for the simple case: 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 So, put getItem(tList,3,"/") into tName is simpler than put the itemDel into oldDelim set the itemDel to "/" put item 3 of tList into tName set the itemDel to oldDelim and you don't risk forgetting to reset the itemDelim, which I often forget to do, especially in repeat loops?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jhj at jhj.com Wed Oct 15 23:05:38 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 15 Oct 2014 20:05:38 -0700 Subject: problem with counting words In-Reply-To: <7E631352-AC5C-4CEF-AB5C-C2079B0B7F1B@gmail.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> <543D7D59.1090302@fourthworld.com> <7E631352-AC5C-4CEF-AB5C-C2079B0B7F1B@gmail.com> Message-ID: On Oct 15, 2014, at 7:18 PM, Peter M. Brigham wrote: > On Oct 14, 2014, at 3:45 PM, Richard Gaskin wrote: > >> function nDepth >> get param(1) >> repeat with i = 2 to paramCount() step 2 >> set the itemDel to param(i+1) >> get item param(i) of it >> end repeat >> return it >> end nDepth > > Another one to add to my collection. Thanks, Richard! +1 I don't think I ever knew about the param() function. That can be handy! .Jerry From ambassador at fourthworld.com Wed Oct 15 23:13:01 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Oct 2014 20:13:01 -0700 Subject: problem with counting words In-Reply-To: <7E631352-AC5C-4CEF-AB5C-C2079B0B7F1B@gmail.com> References: <7E631352-AC5C-4CEF-AB5C-C2079B0B7F1B@gmail.com> Message-ID: <543F37BD.3080506@fourthworld.com> Peter M. Brigham wrote: .. > and you don't risk forgetting to reset the itemDelim, which I > often forget to do, especially in repeat loops?. As a discrete function it should be okay, since unlike SuperCard in LiveCode the itemdel is a local property. -- 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 Wed Oct 15 23:22:26 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Oct 2014 20:22:26 -0700 Subject: 3 questions about your coding habits Message-ID: <543F39F2.8030707@fourthworld.com> 1. When you're working on stack files, do you always keep them somewhere in your Home folder, or run with admin privileges and keep them somewhere else (e.g. Applications)? 2. Do you regularly switch among different OSes, and if so how do you sync your files (drag-and-drop, rsync, OwnCloud, or something else), or do you bypass syncing altogether by mounting a shared volume? 3. If you do sync among multiple OSes, do you maintain the same paths to your stack files on each system relative to your home folder? e.g. Mac: /Users/rg/SomeProject/MyStack.livecode Linux: /home/rg/SomeProject/MyStack.livecode If the latter, then specialFolderPath("home") works as a way of storing relative paths for multi-OS workflows in a tool I'm working on.... -- 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 capellan2000 at gmail.com Wed Oct 15 23:25:48 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 15 Oct 2014 23:25:48 -0400 Subject: LiveCode scripts on Rosseta Code Message-ID: Hi All, After reading in Rosetta Code's website, about tasks not implemented in LiveCode, I am sure that many of you have published scripts that implement these task using LiveCode: http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_LiveCode Could you name the scripts and their locations to include them in Rosetta Code? Thanks in advance! Al From jhj at jhj.com Wed Oct 15 23:27:33 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 15 Oct 2014 20:27:33 -0700 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <401F127B-5F31-4FF8-AEF5-8CCAFE63D1D7@jhj.com> 1: Home/Desktop 2: & 3: OSX only .Jerry On Oct 15, 2014, at 8:22 PM, Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them somewhere in your Home folder, or run with admin privileges and keep them somewhere else (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you sync your files (drag-and-drop, rsync, OwnCloud, or something else), or do you bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing relative paths for multi-OS workflows in a tool I'm working on.... From dunbarx at aol.com Thu Oct 16 00:48:28 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 16 Oct 2014 00:48:28 -0400 Subject: 3 questions about your coding habits In-Reply-To: <401F127B-5F31-4FF8-AEF5-8CCAFE63D1D7@jhj.com> References: <543F39F2.8030707@fourthworld.com> <401F127B-5F31-4FF8-AEF5-8CCAFE63D1D7@jhj.com> Message-ID: <8D1B7138F64DA78-EF0-32F23@webmail-m287.sysops.aol.com> I am just like Jerry, home,Desktop,OSX Craig -----Original Message----- From: Jerry Jensen To: How to use LiveCode Sent: Wed, Oct 15, 2014 11:28 pm Subject: Re: 3 questions about your coding habits 1: Home/Desktop 2: & 3: OSX only .Jerry On Oct 15, 2014, at 8:22 PM, Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them somewhere in your Home folder, or run with admin privileges and keep them somewhere else (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you sync your files (drag-and-drop, rsync, OwnCloud, or something else), or do you bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing relative paths for multi-OS workflows in a tool I'm working on.... _______________________________________________ use-livecode mailing list use-livecode at 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 Thu Oct 16 05:39:44 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 16 Oct 2014 17:39:44 +0800 Subject: problem with counting words In-Reply-To: References: <2E6307D8A05F4EBCA1778DB7D0A1A5F3@userd204a4d61c> <5910DAE3-43F3-456E-873D-4FC4248D0C9B@btinternet.com> <511295707011.20141012170020@ahsoftware.net> <000401cfe6f1$3cee22e0$b6ca68a0$@net> <0C7156A9-8D13-485A-876F-D842FA2E80F8@btinternet.com> <004101cfe7cc$543fb680$fcbf2380$@net> Message-ID: On Wed, Oct 15, 2014 at 12:58 AM, Peter Haworth wrote: > > a=1,b=2,c=3 > > That's pretty basic and is easily handled by: replace comma with cr Then just work through the lines and the itemDelimiter to =. What I was thinking about was: "A","B","C","D" etc and being able to specify the chunkDelimiter as "," Of course this too could be handled by: replace quote & comma & quote with cr, but you are left with a leading and trailing ". The more real world example is how LC currently defines words. As far as I can tell, using regex syntax, I think LC uses [ \f\n\r\t]+ For those unfamiliar with regex that deciphers to any whitespace chars (carriage return, line feeds, tabs, etc) can appear together as many times as possible, but at least once. That's why LC will correctly count the words in this example, but if the delimter was changed to space, as has been suggested, you'll get seven: put "one two three four" into tStore --simulate a word being delimited by space set the itemDelimiter to space --item is now equivalent to word put the number of items of tStore A current limitation with itemDelimiter, regardless to what it is set, but lets go with the default comma one , two , three,four If I refer to any of these items, only the 4th will not include white space, all others, and therefore in all my handlers, if I don't want to include the whitespace, then I have: word 1 to -1 of item x of ... Not hard, but it would certainly save a enormous amount of file preprep if I could: set the chunkDelimiter to "[space comma quote]+" --one or more of "one "," two "," three","four" put chunk 2 would result in 'two' without any whitespace around it. And chunk 1 would be 'one', no leading quote and no trailing space. Having now thought about it a bit, one BIG GOTCHA I see is if multi character chunkDelimiter was implemented then it could behave just like LC words do, and by that I mean you can NOT have an empty word, unlike items which you can. 1","2","3"," ",, ,,," "," "7"," ","," --using same chunkDelim as above Is only 4 chucks with no empty chunks between 3 and 7 and no trailing empty chunks after 7. one two three seven -- lots of trailing tabs and spaces put empty into word 2 one three seven put "two" into word 2 one two seven From dick.kriesel at mail.com Thu Oct 16 05:54:10 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 16 Oct 2014 02:54:10 -0700 Subject: problem with counting words In-Reply-To: <543D7D59.1090302@fourthworld.com> References: <8D1B5F612C8820B-10C0-2D5B7@webmail-vm001.sysops.aol.com> <543D7D59.1090302@fourthworld.com> Message-ID: <080A2193-6607-486C-A87C-7A8891571354@mail.com> On Oct 14, 2014, at 12:45 PM, Richard Gaskin wrote: > on mouseUp > put 1000 into n > put "aaa,bbb,ccc#ddd#eee#fff,ggg,hhh" into tSomeData > -- > put the millisecs into t > repeat n > get nDepth(tSomeData, 3, comma, 2, "#" ) > end repeat > put the millisecs - t into t1 > put t1/n &cr& it > end mouseUp > > function nDepth > get param(1) > repeat with i = 2 to paramCount() step 2 > set the itemDel to param(i+1) > get item param(i) of it > end repeat > return it > end nDepth That causes an execution error at line 16 when i = 6, and it tries to set the itemDel to empty. After changing repeat with i = 2 to paramCount() step 2 to repeat with i = 2 to paramCount()-1 step 2 it works. -- Dick From toolbook at kestner.de Thu Oct 16 06:45:15 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 16 Oct 2014 12:45:15 +0200 Subject: AW: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <006f01cfe92e$475fc5a0$d61f50e0$@de> 1. I keep them on our server 2. My main dev platform is Windows, where I am using the files on our server. For finishing I take a copy over to my Mac. I don't trust Apple to handle my files on a windows server correctly AND up to today, runrev destroys the standalone setting of each stack, if you are using any Umlaute in the standalone settings, what isn't so untypical in Germany. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richard Gaskin > Gesendet: Donnerstag, 16. Oktober 2014 05:22 > An: How to use LiveCode > Betreff: 3 questions about your coding habits > > 1. When you're working on stack files, do you always keep them somewhere in > your Home folder, or run with admin privileges and keep them somewhere else > (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you sync > your files (drag-and-drop, rsync, OwnCloud, or something else), or do you > bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to your > stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing > relative paths for multi-OS workflows in a tool I'm working on.... > > -- > 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 lan.kc.macmail at gmail.com Thu Oct 16 07:53:12 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 16 Oct 2014 19:53:12 +0800 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: 1. Burried deep deep within the Documents folder. 3 levels down I have a 'my stacks' folder and in there each project has it's own folder, usually because there is hodge podge of ancilliary files; some required by the stack, i.e. SQLite file or folder full of images, but also files not required by the stack but are snipets of info or screenshots that help me keep on track. Also there'll be a folder that contains any standalones built. 2. & 3. OS X (and iOS) From smudge.andy at googlemail.com Thu Oct 16 09:17:46 2014 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 16 Oct 2014 06:17:46 -0700 (PDT) Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <1413465466130-4684631.post@n4.nabble.com> Windows User Everything is in a DropBox folder I have a projects directory and each project gets its own project sub folder. Each of the project folders have the following subs. RawAssets Assets Source AutoSaved Compiled Installer Docs The root project folder is auto copied to a Cloud folder as a double backup. ----- 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 My Tech site http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/3-questions-about-your-coding-habits-tp4684623p4684631.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Oct 16 09:59:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 06:59:11 -0700 Subject: problem with counting words In-Reply-To: <080A2193-6607-486C-A87C-7A8891571354@mail.com> References: <080A2193-6607-486C-A87C-7A8891571354@mail.com> Message-ID: <543FCF2F.9010903@fourthworld.com> Dick Kriesel wrote: > On Oct 14, 2014, at 12:45 PM, Richard Gaskin wrote: > >> on mouseUp >> put 1000 into n >> put "aaa,bbb,ccc#ddd#eee#fff,ggg,hhh" into tSomeData >> -- >> put the millisecs into t >> repeat n >> get nDepth(tSomeData, 3, comma, 2, "#" ) >> end repeat >> put the millisecs - t into t1 >> put t1/n &cr& it >> end mouseUp >> >> function nDepth >> get param(1) >> repeat with i = 2 to paramCount() step 2 >> set the itemDel to param(i+1) >> get item param(i) of it >> end repeat >> return it >> end nDepth > > That causes an execution error at line 16 when i = 6, and it tries to set the itemDel to empty. > > After changing > repeat with i = 2 to paramCount() step 2 > to > repeat with i = 2 to paramCount()-1 step 2 > it works. Good catch, Dick. Your presence on this list is a good argument for the benefits of peer code review. Funny thing is I'd first written it with the "-1", but after reviewing it later I couldn't recall why that seemed like a good idea, and since it worked well on the sample exercise without it I thought I was just being overzealous and removed it. Moral: when coffee-deprived, trust your instincts. :) I'd only tested it on the use-case given in the earlier posts because I couldn't think of one I'd need myself. For three levels deep I use lines and items, and then change the itemdel to get something within an item. For four or more levels I just use arrays. I can see the benefit of having human-readable n-depth serialization, but I have to wonder if maybe using a widely adopted convention like YAML might serve such needs better. JSON's good too, but YAML is so much more writable. Anyone here have YAMLtoArray/ArrayToYAML handlers? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Oct 16 10:24:15 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 07:24:15 -0700 Subject: Enhancing the volumes function (was Volume Size) In-Reply-To: References: Message-ID: <543FD50F.7090802@fourthworld.com> The other day I wrote: > Warren Samples wrote: > > The dictionary does indicated, by omission of the penguin icon, > > that 'volumes()' is not supported under Linux. > > Seems a silly omission, so I just submitted a request for that: > That request has gotten some healthy attention from the core dev team at RunRev, but the nature of the request has expanded beyond the original goal of simply making volumes() work on Linux. It occurred to me shortly after posting it that the current return value, consisting of volume names only, is close to useless on all three platforms. On Mac, is the volume mounted at /Volumes/ or at /? On Linux, is it at /mnt/ or /media//, or somewhere else? On Windows, what drive letter is it mapped to? In short, the volume name alone is insufficient to actually do anything meaningful with it. In fact, I'm hard pressed to think of any circumstance where it might have been useful beyond Mac Classic. The team is exploring many options, but the key to all of this boils down to this question: What do we want to use a volumes function for? Knowing the use cases the function should support will be very helpful in guiding the design decisions around this enhancement. If you have a specific use case in mind, please feel free to add it in the comments for that request. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Oct 16 10:47:28 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 07:47:28 -0700 Subject: 3 questions about your coding habits In-Reply-To: <1413465466130-4684631.post@n4.nabble.com> References: <1413465466130-4684631.post@n4.nabble.com> Message-ID: <543FDA80.2090508@fourthworld.com> AndyP wrote: > Each of the project folders have the following subs. > > RawAssets > Assets > Source > AutoSaved > Compiled > Installer > Docs Nice structure. I use a similar set of folders: admin assets dev docs rel versions After seeing your folder list I'm motivated to add an option for automatically creating a user-defined list of folders when creating a new project. What do you use for auto-saving? -- 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 m.schonewille at economy-x-talk.com Thu Oct 16 11:05:59 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 Oct 2014 17:05:59 +0200 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <543FDED7.3070706@economy-x-talk.com> Hi, Customers often have special requirements, which ask for a special set-up. Sometimes, I use a dedicated computer and sometimes I use an emulator. I use the OS the customer asks me to use, although I might use a slightly older or newer version. Everything depends on the project and the customer's budget. -- 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 10/16/2014 05:22, Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them somewhere > in your Home folder, or run with admin privileges and keep them > somewhere else (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you > sync your files (drag-and-drop, rsync, OwnCloud, or something else), or > do you bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to > your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing > relative paths for multi-OS workflows in a tool I'm working on.... > From paul at researchware.com Thu Oct 16 11:15:35 2014 From: paul at researchware.com (Paul Dupuis) Date: Thu, 16 Oct 2014 11:15:35 -0400 Subject: Enhancing the volumes function (was Volume Size) In-Reply-To: <543FD50F.7090802@fourthworld.com> References: <543FD50F.7090802@fourthworld.com> Message-ID: <543FE117.3040001@researchware.com> On 10/16/2014 10:24 AM, Richard Gaskin wrote: > The other day I wrote: > > > Warren Samples wrote: > > > The dictionary does indicated, by omission of the penguin icon, > > > that 'volumes()' is not supported under Linux. > > > > Seems a silly omission, so I just submitted a request for that: > > > > That request has gotten some healthy attention from the core dev team > at RunRev, but the nature of the request has expanded beyond the > original goal of simply making volumes() work on Linux. > > It occurred to me shortly after posting it that the current return > value, consisting of volume names only, is close to useless on all > three platforms. > > On Mac, is the volume mounted at /Volumes/ or at /? > On Linux, is it at /mnt/ or /media//, or somewhere else? > On Windows, what drive letter is it mapped to? > > In short, the volume name alone is insufficient to actually do > anything meaningful with it. In fact, I'm hard pressed to think of > any circumstance where it might have been useful beyond Mac Classic. > > The team is exploring many options, but the key to all of this boils > down to this question: > > What do we want to use a volumes function for? > > Knowing the use cases the function should support will be very helpful > in guiding the design decisions around this enhancement. > > If you have a specific use case in mind, please feel free to add it in > the comments for that request. > One use of a 'the detailed volumes' syntax would be to provide information about whether the drive is a USB memory stick or other 'removable' class of drive. There a number of people out there with current xTalk code to detect (or attempt to detect) removable drives - memory sticks - to offer the customer a different application configuration if on removable media vs a classic app running from the disk the OS is on. A 'the detailed volumes' syntax would match the model for files and folders and provide data like name, mount point/drive letter, total size (bytes) available space (bytes), whether the dive is internal/external, network base or local, removable or not - all of which is data we currently use or could us. From bobsneidar at iotecdigital.com Thu Oct 16 11:17:27 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Oct 2014 15:17:27 +0000 Subject: Teaching LiveCode to Children In-Reply-To: <1413334640375-4684591.post@n4.nabble.com> References: <1413334640375-4684591.post@n4.nabble.com> Message-ID: What?s wrong with the old way of thinking?? ;-) Bob S On Oct 14, 2014, at 17:57 , Alejandro Tejada > wrote: I wholeheartedly believe that teaching LiveCode to these children will creatively and effectively help them develop a new way to think and thrive. From bobsneidar at iotecdigital.com Thu Oct 16 11:23:47 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Oct 2014 15:23:47 +0000 Subject: Volume Size In-Reply-To: References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> <543D0B66.9060300@gmail.com> Message-ID: <49F137E1-3FBA-437B-91AF-CACADB5CEFFC@iotecdigital.com> In a word, no. Linux is the result of someone writing a unix-like OS without (ostensibly) copying any of the actual UNIX code. It walks like UNIX, it quacks like UNIX, but it is decidedly *NOT* UNIX! Never say those words again!!! (It makes LINUX people queasy). ;-) Bob S On Oct 14, 2014, at 20:37 , JB > wrote: The dictionary states, This function always returns empty on Unix systems. So, is Linux a Unix OS? John Balgenorth On Oct 14, 2014, at 4:39 AM, Richmond > wrote: AND volumes is NBG in Linux . . . So? 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 ben at runrev.com Thu Oct 16 11:25:41 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 16 Oct 2014 16:25:41 +0100 Subject: LiveCode 6.6.4 Message-ID: Dear list members, We're please the announce the release of LiveCode 6.6.4. This is a stable release and addresses issues with LiveCode applications not running correctly on iOS 8 devices. We recommend that LiveCode developers creating apps for iOS install xCode 6.0.1. Release Contents For a full list of the bugs fixed in the 6.6.4 cycle please see the release notes which can be opened from the in product help menu or downloaded from our main downloads page. Getting the release You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team From bobsneidar at iotecdigital.com Thu Oct 16 11:53:55 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Oct 2014 15:53:55 +0000 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: I have a Livecode Projects folder in my documents folder. Each project has it?s own folder. When I start up I set the defaultFolder to the stack path so that everything I need for that project is relative to that path. I switch between Windows and OS X when developing multi platform apps. I use Parallels VMs? which have the capability of sharing one OS home folder with the other OS. When I attempt to access a path stored in a property, variable or field, I check to see if the path exists first. If it doesn?t, I query the user for the correct path. Then I save those values for future reference. I suppose it would depend on the app. If I had a problem locating stack files, I suppose I would just make a copy of the stack file and add it as a substack to the mainstack. That way I would always be able to find it no matter which platform I was using. But I have yet to have an issue finding the stack files the way things are now, probably because I put a copy of every stack file in the project folder of each app. Bob S On Oct 15, 2014, at 20:22 , Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them somewhere in your Home folder, or run with admin privileges and keep them somewhere else (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you sync your files (drag-and-drop, rsync, OwnCloud, or something else), or do you bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing relative paths for multi-OS workflows in a tool I'm working on.... > > -- > 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 pete at lcsql.com Thu Oct 16 11:58:47 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 16 Oct 2014 08:58:47 -0700 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: I have a folder on Google Drive for all my Livecode files. That folder includes the following folder structure for each of my projects: Source Files Documentation Resources Utilities (e.g. my production build stack, installer stack, Zygodact key generator stack) User Files (files sent to me to reproduce problems) Production Builds Product Release folder (named with the date and version containing all files for a specific release) It also contains my Livecode "User Extensions" folder When I make a production build, all the files associated with the release are copied into the production build subfolder for that release and then zipped. My build process is almost completely automated except if the project involves building a Windows .msi file. The program I use to do that does not have a command line interface so I have to run it manually, but it still accesses the Google Drive files to do it's work. Almost all of my development work is done on OSX. At various points during development, I test on a Windows 8 computer to check out any platform specific issues. At this point, I don't have access to a Linux environment nor am I making mobile products so OSX and Windows is the extent of my development environment. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Oct 15, 2014 at 8:22 PM, Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them somewhere > in your Home folder, or run with admin privileges and keep them somewhere > else (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you sync > your files (drag-and-drop, rsync, OwnCloud, or something else), or do you > bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to > your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing > relative paths for multi-OS workflows in a tool I'm working on.... > > -- > 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 userev at canelasoftware.com Thu Oct 16 12:01:04 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 16 Oct 2014 09:01:04 -0700 Subject: LiveCode 6.6.4 In-Reply-To: References: Message-ID: Thanks to all the RunRev team for keeping this stable build going while working on the 6.7 and 7 tracks at the same time! Having access to 6.4 for shipping apps is fantastic. Best regards, Mark Talluto livecloud.io canelasoftware.com On Oct 16, 2014, at 8:25 AM, Benjamin Beaumont wrote: > Dear list members, > > We're please the announce the release of LiveCode 6.6.4. > > This is a stable release and addresses issues with LiveCode applications > not running correctly on iOS 8 devices. > > We recommend that LiveCode developers creating apps for iOS install xCode > 6.0.1. > > Release Contents > For a full list of the bugs fixed in the 6.6.4 cycle please see the release > notes which can be opened from the in product help menu or downloaded from > our main downloads page. > > Getting the release > You can get this release by selecting ?check for updates? from the help > menu in LiveCode or download the installers directly at > http://downloads.livecode.com/livecode/ > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Oct 16 12:08:34 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 16 Oct 2014 12:08:34 -0400 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <015001cfe95b$6ff11500$4fd33f00$@net> 1. I keep stacks on the server. 2. My main dev platform is Windows. 3. I create Android apps on Windows. 4. I do text/DB/other processing on Windows using stacks/files on server. 5. I use the Mac for: A. Build iOS apps. B. iOS simulator. C. Move apps to physical Apple devices. 6. The Mac does not always correctly refresh smb shares. There is no "F5" on a Mac to refresh files. SMB on Mac flakey and scares me. 7. Always run with admin privs. 8. I Point the "User Extensions" on both platforms to a share on the server. 9. I put my library of commands/functions in library stacks on the server. I segregate them into stacks by class. 10. The most annoying thing is that when switching platforms one has to reset the standalone destination folder every time. Creating a .app to an smb share does not work. 11. I do my own version control. I put a -000n suffix at the end of stack files. I increment it several times a day. I always increment it at the start of a day even if there were no changes. 12. I save, save, save. My auto-save is constant Ctrl S's. 13. All file references are relative to the stack path. I never refer to an asset outside of the stack path. (except for mobile device) 14. I locate stacks by Customer/Project 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 Richard Gaskin Sent: Wednesday, October 15, 2014 11:22 PM To: How to use LiveCode Subject: 3 questions about your coding habits 1. When you're working on stack files, do you always keep them somewhere in your Home folder, or run with admin privileges and keep them somewhere else (e.g. Applications)? 2. Do you regularly switch among different OSes, and if so how do you sync your files (drag-and-drop, rsync, OwnCloud, or something else), or do you bypass syncing altogether by mounting a shared volume? 3. If you do sync among multiple OSes, do you maintain the same paths to your stack files on each system relative to your home folder? e.g. Mac: /Users/rg/SomeProject/MyStack.livecode Linux: /home/rg/SomeProject/MyStack.livecode If the latter, then specialFolderPath("home") works as a way of storing relative paths for multi-OS workflows in a tool I'm working on.... -- 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 coiin at verizon.net Thu Oct 16 12:08:17 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Oct 2014 12:08:17 -0400 Subject: LiveCode 6.6.4 In-Reply-To: References: Message-ID: Testing to iPad 8.0 Simulator is working again. From userev at canelasoftware.com Thu Oct 16 12:14:20 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 16 Oct 2014 09:14:20 -0700 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <4427C777-2311-40EA-AB41-FAE78F752D95@canelasoftware.com> On Oct 15, 2014, at 8:22 PM, Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them somewhere in your Home folder, or run with admin privileges and keep them somewhere else (e.g. Applications)? Most of my development is done on a MacBook Pro with initial testing using vmware for Win and Linux. All code is stored/developed on an encrypted disk image for security. Chronosyc is a Mac backup software (free updates for life). We back up to an encrypted disk image on another Mac in the studio. I back up every 3 minutes with archiving turned on. All data from there is backed up (encrypted) to CrashPlan. > > 2. Do you regularly switch among different OSes, and if so how do you sync your files (drag-and-drop, rsync, OwnCloud, or something else), or do you bypass syncing altogether by mounting a shared volume? Shared access via vmware. > > 3. If you do sync among multiple OSes, do you maintain the same paths to your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing relative paths for multi-OS workflows in a tool I'm working on?. Shared access via vmware. Sometimes I might drag the project folder over to vmware if it is needed. Best regards, Mark Talluto livecloud.io canelasoftware.com From bobsneidar at iotecdigital.com Thu Oct 16 12:16:19 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Oct 2014 16:16:19 +0000 Subject: 3 questions about your coding habits In-Reply-To: <4427C777-2311-40EA-AB41-FAE78F752D95@canelasoftware.com> References: <543F39F2.8030707@fourthworld.com> <4427C777-2311-40EA-AB41-FAE78F752D95@canelasoftware.com> Message-ID: <76F9354B-F316-4339-8D33-BCCB982B83E1@iotecdigital.com> Love it. Bob S On Oct 16, 2014, at 09:14 , Mark Talluto > wrote: Chronosyc is a Mac backup software (free updates for life). From ambassador at fourthworld.com Thu Oct 16 12:19:02 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 09:19:02 -0700 Subject: Volume Size In-Reply-To: <49F137E1-3FBA-437B-91AF-CACADB5CEFFC@iotecdigital.com> References: <49F137E1-3FBA-437B-91AF-CACADB5CEFFC@iotecdigital.com> Message-ID: <543FEFF6.9070205@fourthworld.com> Bob Sneidar wrote: >> On Oct 14, 2014, at 20:37 , JB wrote: >> >> The dictionary states, >> This function always returns empty on Unix systems. >> >> So, is Linux a Unix OS? > > In a word, no. Linux is the result of someone writing a unix-like > OS without (ostensibly) copying any of the actual UNIX code. It > walks like UNIX, it quacks like UNIX, but it is decidedly *NOT* UNIX! > Never say those words again!!! (It makes LINUX people queasy). ;-) On the contrary, the reason Linux was invented was a desire to enjoy what Unix brings to the table, but without spending several thousand dollars on the proprietary hardware and software to get that enjoyment, and to have the freedom to enhance it if you choose. Linux is very close to full POSIX compliance, prevented from being certified as a true Unix only by a relative handful of differences whose merit I'll leave others to argue. Most Unix skills are directly transferable to Linux, which is useful since Unix market share continues to decline while Linux has only grown. But the key issue here isn't about OSes at all, but about why the LiveCode team chose to leave both Unix and Linux support out of the volumes function. The answer is likely related to mount points, which these days are equally problematic on OS X and Windows. When originally introduced with what we now call Mac Classic, having only the name of a mounted volume was sufficient to know how to access it. But with OS X, is it mounted at / or /Volumes/ or somewhere else? As noted earlier, such mount path issues are present in various forms on all three desktop OSes. The discussion around the enhancement request for this has been illuminating and promising: And JB, thanks for the catch with "Unix" - obviously that should be "Linux", since OS X is a certified Unix and other flavors of Unix haven't been supported by LiveCode in many years, so I submitted a bug report to change that, pending the outcome of the enhancement request noted above: -- 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 ABMCLAWH at mailbox.sc.edu Thu Oct 16 12:20:18 2014 From: ABMCLAWH at mailbox.sc.edu (MCLAWHORN, TONY) Date: Thu, 16 Oct 2014 16:20:18 +0000 Subject: Can you please enlighten me on the LiveCode versions? Message-ID: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> Heather I've been searching for some answers but have not found any yet. The question is which version of LiveCode should I be using? LiveCode 6.6.4 (rc1) was just announced... what about LiveCode 7.0 (rc2)? I'm just confused as to why LiveCode is putting effort into what seems to me to be two parallel programs doing the same thing at which at one point I assume they will be phased out and we'll have LiveCode 8.0. Any input will greatly relieve my mind and maybe give me better info as to which version I need to be using while waiting on version 8.0. By-the-way, I been waiting for the better part of a year waiting for sockets to be available for mobile devices. Any hope you can give me on that front? I really don't want to die of old age before I get a chance to create apps just waiting for mobile sockets (iOS and Android). Thanks but don't send me info for third party solutions to mobile sockets... tried them and they suck. Got sockets working on Mac/PC and I simply LOVE the way you guys have done this. Just hoping the implementation on mobile devices are going to be similar. Thanks. -- |> |? Tony McLawhorn |? Computer Support Manager |? Department of English Language and Literature |? University of South Carolina |? Columbia, SC 29208 |? TonyMac at sc.edu |? (803) 777-1837 From pete at lcsql.com Thu Oct 16 12:24:47 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 16 Oct 2014 09:24:47 -0700 Subject: 3 questions about your coding habits In-Reply-To: <015001cfe95b$6ff11500$4fd33f00$@net> References: <543F39F2.8030707@fourthworld.com> <015001cfe95b$6ff11500$4fd33f00$@net> Message-ID: I forgot to mention in my reply that I use my lcStackBrowser plugin's Checkpoint feature for auto saves. It allows me to save at specific intervals or on request and I can assign a description to each checkpoint. The checkpoints are kept in a zip file in the same folder as the stack file and I can restore a specific checkpoint at any time. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Oct 16, 2014 at 9:08 AM, Ralph DiMola wrote: > > 1. I keep stacks on the server. > 2. My main dev platform is Windows. > 3. I create Android apps on Windows. > 4. I do text/DB/other processing on Windows using stacks/files on server. > 5. I use the Mac for: > A. Build iOS apps. > B. iOS simulator. > C. Move apps to physical Apple devices. > 6. The Mac does not always correctly refresh smb shares. There is no "F5" > on a Mac to refresh files. SMB on Mac flakey and scares me. > 7. Always run with admin privs. > 8. I Point the "User Extensions" on both platforms to a share on the > server. > 9. I put my library of commands/functions in library stacks on the server. > I segregate them into stacks by class. > 10. The most annoying thing is that when switching platforms one has to > reset the standalone destination folder every time. Creating a .app to an > smb share does not work. > 11. I do my own version control. I put a -000n suffix at the end of stack > files. I increment it several times a day. I always increment it at the > start of a day even if there were no changes. > 12. I save, save, save. My auto-save is constant Ctrl S's. > 13. All file references are relative to the stack path. I never refer to an > asset outside of the stack path. (except for mobile device) > 14. I locate stacks by Customer/Project > > 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 Richard Gaskin > Sent: Wednesday, October 15, 2014 11:22 PM > To: How to use LiveCode > Subject: 3 questions about your coding habits > > 1. When you're working on stack files, do you always keep them somewhere in > your Home folder, or run with admin privileges and keep them somewhere else > (e.g. Applications)? > > 2. Do you regularly switch among different OSes, and if so how do you sync > your files (drag-and-drop, rsync, OwnCloud, or something else), or do you > bypass syncing altogether by mounting a shared volume? > > 3. If you do sync among multiple OSes, do you maintain the same paths to > your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode > > If the latter, then specialFolderPath("home") works as a way of storing > relative paths for multi-OS workflows in a tool I'm working on.... > > -- > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 16 12:43:13 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 Oct 2014 18:43:13 +0200 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> Message-ID: <543FF5A1.4060304@economy-x-talk.com> Hi Tony, Go to http://downloads.livecode.com/livecode/ and scroll down to 6.6.4. Find the STABLE release and download that. This is what you can use for production work. Sometimes, you need new features that aren't available in 6.6.4 yet. You might download an RC of a later version and try it. If it works, you can use it, but you may want to avoid using it for official releases of your software. If you need a very new feature (like the new unicode features that are available in LiveCode 7), you may try a DP, but you probably don't want to use it for production work. However, you may want to test it and see if it is useful for future projects. If you think it isn't or if you find bugs, you can report those and hopefully the bugs get fixed in the RC. -- 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 10/16/2014 18:20, MCLAWHORN, TONY wrote: > Heather > > I've been searching for some answers but have not found any yet. The question is which version of LiveCode should I be using? LiveCode 6.6.4 (rc1) was just announced... what about LiveCode 7.0 (rc2)? I'm just confused as to why LiveCode is putting effort into what seems to me to be two parallel programs doing the same thing at which at one point I assume they will be phased out and we'll have LiveCode 8.0. Any input will greatly relieve my mind and maybe give me better info as to which version I need to be using while waiting on version 8.0. By-the-way, I been waiting for the better part of a year waiting for sockets to be available for mobile devices. Any hope you can give me on that front? I really don't want to die of old age before I get a chance to create apps just waiting for mobile sockets (iOS and Android). Thanks but don't send me info for third party solutions to mobile sockets... tried them and they suck. Got sockets working on Mac/PC and I simply LOVE the w ay you guys have done this. Just hoping the implementation on mobile devices are going to be similar. > > Thanks. > From dave at applicationinsight.com Thu Oct 16 12:50:40 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 16 Oct 2014 09:50:40 -0700 (PDT) Subject: LiveCode 6.6.4 In-Reply-To: References: Message-ID: <1413478240241-4684651.post@n4.nabble.com> Hmm, in the new 6.6.4 my iOS simulator always defaults to iPhone 4s (in which my apps appear to run fine except for the fact no keyboard appears when focusing on a native field ) - but if I choose iPhone 5 or above there is no sign of my app, the only iPhone simulator my apps appear in is the 4s The iPad simulator seems fine, my apps appear in different models and the keyboard appears as expected. Dave Colin Holgate-2 wrote > Testing to iPad 8.0 Simulator is working again. ----- "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/LiveCode-6-6-4-tp4684639p4684651.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu Oct 16 12:57:20 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Oct 2014 12:57:20 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <1413478240241-4684651.post@n4.nabble.com> References: <1413478240241-4684651.post@n4.nabble.com> Message-ID: <1A06E06E-4077-4E8F-AFCE-4457C9A68279@verizon.net> I tried iPhone and iPad, 7.1 and 8.0, and apart from one time when there was an error dialog it worked fine, and gave me the right device. From ambassador at fourthworld.com Thu Oct 16 13:17:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 10:17:45 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> Message-ID: <543FFDB9.5010804@fourthworld.com> Heather doesn't normally monitor this list, but your questions are similar to ones raised in my local LC user group and elsewhere, so let me don my Community Manager cap and see if I can help answer them: MCLAWHORN, TONY wrote: > Heather > > I've been searching for some answers but have not found any yet. > The question is which version of LiveCode should I be using? > LiveCode 6.6.4 (rc1) was just announced... what about LiveCode > 7.0 (rc2)? The current shipping version is v6.6.4, released this morning. From time to time there are test versions available as well, such as we have with v6.7rc2 and v7rc2 currently. If you have time and interest in helping to test pre-release builds (designated with DP and RC on the Downloads page), everyone in the community benefits from this so we can all have that much more confidence that the final build will meet our needs. But if you need stability, the most recent public release build is the best bet, as those are the versions the community has tested and can no longer find show-stoppers for. You can find all downloads here, with a note at the top distinguishing the various release designations: > I'm just confused as to why LiveCode is putting effort into what > seems to me to be two parallel programs doing the same thing at > which at one point I assume they will be phased out and we'll > have LiveCode 8.0. It's even a bit more boggling than that: up until this morning, there were a total of four parallel versions in development: 8.0, 7.0, 6.7, and 6.6.4. Now with 6.6.4 out the door we're down to three. All this may seem daunting, but it's perhaps the biggest benefit of the major refactoring that began last year, so the project can now take good advantage of GitHub's assistance with managing and merging multiple branches of a code base. Here's a brief outline of these versions, and as you read this please keep in mind the benefits of isolating the major scopes of change in each one: Version 8 --------- Introduces Open Language, the foundation that makes Widgets, Themes, and other key elements of the Kickstarter goals possible. In short, it allows both the core dev team at RunRev and us in the community to do many things in LiveCode that would otherwise need to be done in C. We all enjoy the productivity benefits of using LiveCode's high-level scripting language, and Open Language extends that to support more core-level work so the range of applicable use cases become much broader. For a sneak peak at where it's headed, see the video in Kevin's blog entry: Version 7 --------- The main emphasis here is Unicode, sweeping in scope when you consider that so much of what we do deals with strings, from text parsing to object labels and so much more. With v7 every string - even the contents of a variable - is Unicode-aware. And best of all, for the most part this is entirely transparent to us; we just keep using the chunk expressions and other language elements as we have, and the engine keeps track of the encoding for us. Additionally, the Linux engine has undergone significant revision for tighter integration with GDK, the GUI APIs that drive most Linux systems. While the Linux audience represents only a slender portion of license revenue, work on the Linux engine is disproportionately valuable to RunRev and all of us by catering to an audience that understands and supports open source process. Indeed, AFAIK thus far the only code contributions coming from anyone not already using LiveCode for many years have been from Linux users. Version 6.7 ----------- The main focus of this version is migrating the Mac LiveCode engine to Apple's Cocoa APIs from the deprecated Carbon APIs it had used before. With each new version of OS X Apple drops more and more support for Carbon, so this had to be done ASAP. It was a huge task, but has come along surprisingly well, resulting in much-improved behavior and appearance of LiveCode apps in Mac systems. Version 6.6.4 ------------- The whole 6.6.x series merely extends the state of the engine from 6.0, with each build containing relatively few enhancements while incorporating a great many fixes (over the last year more than 1,360 reported issues have been fixed). At this point, just about everything in terms of both new features and bug fixes are integrated forward; e.g., everything in 6.7 is also in v7.0, with each new version representing a superset of capabilities. > Any input will greatly relieve my mind and maybe give me better > info as to which version I need to be using while waiting on > version 8.0. By-the-way, I been waiting for the better part of > a year waiting for sockets to be available for mobile devices. > Any hope you can give me on that front? I really don't want to > die of old age before I get a chance to create apps just waiting > for mobile sockets (iOS and Android). At this point HTTP GET and POST are supported in both iOS and Android, covering a majority of needs for accessing Web-based services. If you need to define your own custom protocols, that's queued as part of the Open Language work thread on the Road Map: Yes, it has been a while that we've been wanting it, but the scope of socket and protocol enhancement we really need (including OAuth, SFTP, and more) is best suited for when it can leverage the benefits of being able to write it in LiveCode, as was done with the simpler libURL for HTTP/HTTPS. With 6.6.4 out the door and both 6.7 and 7.0 nearly done, much of the team has been transitioned to focus on v8.0, and with it comes Open Language and many of the remaining Road Map items dependent on it. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From jiml at netrin.com Thu Oct 16 13:32:52 2014 From: jiml at netrin.com (Jim Lambert) Date: Thu, 16 Oct 2014 10:32:52 -0700 Subject: Programming LiveCode with LiveCode In-Reply-To: References: Message-ID: Larry wrote: > I am of the opinion that all of the platform/device specific approach to > software is going the way of the dinosaur. That may be true with desktop software, but I respectfully disagree when it comes to mobile. There?s ever-growing fragmentation on Android, sometimes the developer must adapt to handset manufactures' & carriers' idiosyncratic variations of the OS/UI, form factors and unique features. Then there are Apple's new and tempting backend solutions, like CloudKit, which provide a seamless experience for both users and developers. But they are clearly iOS only solutions. Leading to developer lock in. IMO, the LiveCode is very nicely evolving to deal with this continuing differentiation of devices and OS ecosystems. Jim Lambert From rdimola at evergreeninfo.net Thu Oct 16 13:39:09 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 16 Oct 2014 13:39:09 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> Message-ID: <016001cfe968$17eb7050$47c250f0$@net> +1 for the Mother ship on the rapid 6.6.4 fixes. I have one thing I can't understand. When the Privacy==>Location Services for my app is set to "While Using the App" A dialog pops up every time the app is launched with this dialog: Background location is not enabled To use background location you must turn on 'Always' in the Location Services Settings. With "Cancel" and "Settings" buttons If one chooses Cancel the location sensor requests in the app still work as expected. This dialog will confuse users as it appears every time the app is launched. How could I disable this dialog? Is this a bug or am I missing something? Anyone else see this? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From larry at significantplanet.org Thu Oct 16 13:41:48 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 16 Oct 2014 11:41:48 -0600 Subject: Programming LiveCode with LiveCode References: Message-ID: <1B932BC744B646BAADD769C6D2FC59E4@userd204a4d61c> Hi Jim, I'm not trying to argue (don't know enough.) But what you say below (I put in italics) seems only to underscore what I believe: that it will be easier to deal with those differences by just developing apps that run within a browser. Because don't both Android and iOS both run browsers? Please understand that, compared to most people on this list, I know almost nothing. So I'm really just trying to understand all of this. What is SEEMS like to me is that a developer can 1) use LC to deal "with this continuing differentiation of devices and OS ecosystems." or 2) just develop for running in a browser and then no problem. Please tell me if I'm over-simplifying that. Thanks very much, Larry Jim wrote: That may be true with desktop software, but I respectfully disagree when it comes to mobile. There?s ever-growing fragmentation on Android, sometimes the developer must adapt to handset manufactures' & carriers' idiosyncratic variations of the OS/UI, form factors and unique features. Then there are Apple's new and tempting backend solutions, like CloudKit, which provide a seamless experience for both users and developers. But they are clearly iOS only solutions. Leading to developer lock in. IMO, the LiveCode is very nicely evolving to deal with this continuing differentiation of devices and OS ecosystems. Jim Lambert _______________________________________________ use-livecode mailing list use-livecode at 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 Oct 16 13:47:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 16 Oct 2014 20:47:20 +0300 Subject: 3 questions about your coding habits In-Reply-To: <543F39F2.8030707@fourthworld.com> References: <543F39F2.8030707@fourthworld.com> Message-ID: <544004A8.4090700@gmail.com> On 16/10/14 06:22, Richard Gaskin wrote: > 1. When you're working on stack files, do you always keep them > somewhere in your Home folder, or run with admin privileges and keep > them somewhere else (e.g. Applications)? I keep all my stacks in a folder called 'xCode' and its subfolders, on the desktop. > > 2. Do you regularly switch among different OSes, and if so how do you > sync your files (drag-and-drop, rsync, OwnCloud, or something else), > or do you bypass syncing altogether by mounting a shared volume? I use Linux (Ubuntu Studio) about 95% of the time, I use Mac OS 10.5.8 and Mac OS 10.4.11 about 4% of the time on an iMac G5, and Mac OS 9.1 about 1% of the time on an iMac G3. Very, very occasionally I use Windows XP and 7 via VMware Player (on Ubuntu Studio) to check standalones. Occasionally I use Mac OS 10.6 and Mac OS 10.8 via VMware Player to check standalones. > > 3. If you do sync among multiple OSes, do you maintain the same paths > to your stack files on each system relative to your home folder? > e.g. > Mac: > /Users/rg/SomeProject/MyStack.livecode > Linux: > /home/rg/SomeProject/MyStack.livecode No, I don't. > > If the latter, then specialFolderPath("home") works as a way of > storing relative paths for multi-OS workflows in a tool I'm working > on.... > Richmond. From capellan2000 at gmail.com Thu Oct 16 13:53:47 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Oct 2014 13:53:47 -0400 Subject: Extend compress function Message-ID: Hi All, On December 13 of 2012, Jan Schenkel - http://www.quartam.com wrote on Livecode Quality Center: ------------------------------------------------------------------------ Currently the compress/decompress function pair only supports 'gzip' compression as defined in The open source zlib library also offers support for: - ZLIB compression as defined in - DEFLATE compression as defined in As these are widely used compression techniques (e.g. the PNG file format uses DEFLATE compression) I propose adding an optional second parameter to the compress/decompress function pair: - compress( [, ]) - decompress( [, ]) Where is one of "GZIP"|"DEFLATE"|"ZLIB" with "GZIP" as default for backward compatibility. This will enhance communication with HTTP server technologies, and enable developers to parse file formats which apply these compression techniques (PNG files, PDF files), without having to resort to platform-specific externals. ------------------------------------------------------------------------ Today, I just added this comment to Jan's request: These additions to Livecode compress would be really useful and will open many possibilities to create new applications and utilities. Could you include BZIP2 among the options proposed by Jan Schenkel? In this way, is one of "GZIP"|"DEFLATE"|"ZLIB"|"BZIP2" with "GZIP" as default for backward compatibility. http://www.bzip.org/ If you find these additions useful for your current or future development work in this platform, please add your comments to this request: http://quality.runrev.com/show_bug.cgi?id=10594 Thanks in advance! Al From capellan2000 at gmail.com Thu Oct 16 14:06:19 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Oct 2014 14:06:19 -0400 Subject: Extend compress function Message-ID: I just noticed that Mark Waddingham wrote in 2011: http://quality.runrev.com/show_bug.cgi?id=9553 ----------------------------------------------------------------------- [snip] Of course, this does suggest several potential improvements... Add 'command' forms of compress and base64decode which work very much like convert. Perhaps a general 'decode' / 'encode' command for encoding / decoding filters: decode tVar using ( base64 | ascii85 | ... ) encode tVar using base64 And a compress / decompress pair for that sort of operation: compress tVar using ( deflate | bzip2 | gzip | ... ) These would then allow greater control over parameters to the filters. ----------------------------------------------------------------------- If you find these additions useful for your current or future development work in this platform, please add your own comments to this request: http://quality.runrev.com/show_bug.cgi?id=10594 Thanks in advance! Al From jacque at hyperactivesw.com Thu Oct 16 14:09:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Oct 2014 13:09:27 -0500 Subject: LiveCode scripts on Rosseta Code In-Reply-To: References: Message-ID: <544009D7.9070104@hyperactivesw.com> On 10/15/2014, 10:25 PM, Alejandro Tejada wrote: > Hi All, > > After reading in Rosetta Code's website, about tasks not implemented > in LiveCode, I am sure that many of you have published scripts that > implement these task using LiveCode: > > http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_LiveCode > > Could you name the scripts and their locations to include them in Rosetta Code? That list seems almost useless for LiveCode. Probably half those entries could be eliminated by dumping the LC dictionary into the page. For example, "flush the keyboard buffer": flushEvents "keydown" flushEvents "keyup" There are dozens and dozens like that. "Create an array" doesn't even have a method, you just start using an array and it's created. Same for variables. Appending to a file is a one-liner using the "url" syntax, etc. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Oct 16 14:15:37 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 11:15:37 -0700 Subject: Programming LiveCode with LiveCode In-Reply-To: References: Message-ID: <54400B49.7070304@fourthworld.com> Jim Lambert wrote: > Larry wrote: > >> I am of the opinion that all of the platform/device specific >> approach to software is going the way of the dinosaur. > > That may be true with desktop software, but I respectfully disagree > when it comes to mobile. > > There?s ever-growing fragmentation on Android, sometimes the > developer must adapt to handset manufactures' & carriers' > idiosyncratic variations of the OS/UI, form factors and unique > features. Sometimes perhaps, but how often? Sure, journalists write all sorts of things to get page views (how many times do we see overblown stories of iOS malware only to find out it's only on jailbroken phones and only available through obscure third-party sites in China or Russia? ). The latest of these was from Open Signal, complete with a jarringly colorful chart of the hardware diversity in the Android ecosystem: But once we go beyond skimming the headline and glancing at the pictures, we find this in the report - something most of the lay press missed when they cited it: ...fragmentation benefits Android much more than it hurts it. Android is now the dominant mobile operating system and this is because of fragmentation, not in spite of it. One man's "fragmentation" is another man's "diversity". Among end-users, the only people I've ever heard complain about Android fragmentation own iPhones. I've never heard any Android user lament, "Man, I wish I could get the cool app all my friends are using, but it just isn't available for my phone." Larry's point is well supported by a review of the Top Apps lists at both stores - here's the Free and Paid lists for each: With relatively few exceptions, they're almost the same lists. I think it's a safe bet to suggest that a solid majority of devs making money in mobile are doing it on both platforms. > Then there are Apple's new and tempting backend solutions, like > CloudKit, which provide a seamless experience for both users and > developers. > But they are clearly iOS only solutions. Leading to developer lock in. CloudKit is indeed nice, but so are the new Google Drive APIs: With Open Language, we'll be able to wrap those even more easily than the majority of successful devs who implement both in their apps using C. > IMO, the LiveCode is very nicely evolving to deal with this > continuing differentiation of devices and OS ecosystems. Fully agreed there. As hardware and OS capabilities for both platforms continue to diversify, all we need to do is just what we've always done: pick the lowest common OS version our app actually needs, and unless we absolutely need something specific to a given phone model or OS version we'll get more than 90% of each platform. The only point where I differ from Larry is in his faith in the browser as a platform. While it's technically quite feasible at least potentially (Firefox OS demonstrates this in spades), it's not in an OS vendor's interests to ship with a browser powerful enough to liberate developers from relying on vendor-specific APIs. There are many categories of apps that can be well suited in a browser, bit it's rare to find one that performs as well or is a capable as its native counterpart. Then again, maybe Larry's just ahead of his time: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at gmail.com Thu Oct 16 14:17:51 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Oct 2014 11:17:51 -0700 (PDT) Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <543FFDB9.5010804@fourthworld.com> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> <543FFDB9.5010804@fourthworld.com> Message-ID: <1413483471982-4684662.post@n4.nabble.com> Richard Gaskin wrote > Heather doesn't normally monitor this list, but your questions are > similar to ones raised in my local LC user group and elsewhere, so let > me don my Community Manager cap and see if I can help answer them: > [snip] Your answer was really useful, Richard! Many, many thanks for posting this. By the way, When are you going to share your secrets for time management? Looks like your working days have 36 or 48 hours... :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-you-please-enlighten-me-on-the-LiveCode-versions-tp4684648p4684662.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Oct 16 14:26:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 11:26:07 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <1413483471982-4684662.post@n4.nabble.com> References: <1413483471982-4684662.post@n4.nabble.com> Message-ID: <54400DBF.9040001@fourthworld.com> Alejandro Tejada wrote: > By the way, When are you going to share your secrets > for time management? Looks like your working days have > 36 or 48 hours... :-D Yeah, too many late nights this week, thankfully punctuated with rounds of rsync backups so I can take time to post. But if I were really good at time management I'd be out camping in the desert right now (October is a great time for the Mojave), rather than at a computer. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Oct 16 15:43:37 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 Oct 2014 15:43:37 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <016001cfe968$17eb7050$47c250f0$@net> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> Message-ID: Do your apps seem slower in this version, anybody, or is that just an ios8 thing? Some of my screen transitions in this version seem downright pokey. On Thu, Oct 16, 2014 at 1:39 PM, Ralph DiMola wrote: > +1 for the Mother ship on the rapid 6.6.4 fixes. > > I have one thing I can't understand. > > When the Privacy==>Location Services for my app is set to "While Using the > App" A dialog pops up every time the app is launched with this dialog: > > Background location is not enabled > To use background location you must turn on 'Always' in the Location > Services Settings. > With "Cancel" and "Settings" buttons > > If one chooses Cancel the location sensor requests in the app still work as > expected. This dialog will confuse users as it appears every time the app > is > launched. How could I disable this dialog? Is this a bug or am I missing > something? Anyone else see this? > > > 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 > -- 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 Thu Oct 16 16:13:27 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Oct 2014 20:13:27 +0000 Subject: Volume Size In-Reply-To: <543FEFF6.9070205@fourthworld.com> References: <49F137E1-3FBA-437B-91AF-CACADB5CEFFC@iotecdigital.com> <543FEFF6.9070205@fourthworld.com> Message-ID: <87926BBF-3326-455A-8931-7AD22F2AA1D8@iotecdigital.com> I was making a vague reference to the lawsuit that ensued when Linux was first becoming popular. Bob S On Oct 16, 2014, at 09:19 , Richard Gaskin > wrote: On the contrary, the reason Linux was invented was a desire to enjoy what Unix brings to the table, but without spending several thousand dollars on the proprietary hardware and software to get that enjoyment, and to have the freedom to enhance it if you choose. From rdimola at evergreeninfo.net Thu Oct 16 16:24:28 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 16 Oct 2014 16:24:28 -0400 Subject: LiveCode 6.6.4 In-Reply-To: References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> Message-ID: <016c01cfe97f$303c2480$90b46d80$@net> Mike, Yes they do seem slower. It gets worse though. If you cancel the dialog and allow your app to continue the keyboard is invisible for both LC and native input fields. Bug report==> http://quality.runrev.com/show_bug.cgi?id=13699 I could check the permissions and kick the user out until they set it to "Always" but my customers want to know why "While Using the App" is not allowed like the Apple/Google Mapping apps. They consider this a help desk disaster. 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 Mike Kerner Sent: Thursday, October 16, 2014 3:44 PM To: How to use LiveCode Subject: Re: LiveCode 6.6.4 Do your apps seem slower in this version, anybody, or is that just an ios8 thing? Some of my screen transitions in this version seem downright pokey. On Thu, Oct 16, 2014 at 1:39 PM, Ralph DiMola wrote: > +1 for the Mother ship on the rapid 6.6.4 fixes. > > I have one thing I can't understand. > > When the Privacy==>Location Services for my app is set to "While Using > the App" A dialog pops up every time the app is launched with this dialog: > > Background location is not enabled > To use background location you must turn on 'Always' in the Location > Services Settings. > With "Cancel" and "Settings" buttons > > If one chooses Cancel the location sensor requests in the app still > work as expected. This dialog will confuse users as it appears every > time the app is launched. How could I disable this dialog? Is this a > bug or am I missing something? Anyone else see this? > > > 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 > -- 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 Thu Oct 16 16:28:19 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 Oct 2014 16:28:19 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <016c01cfe97f$303c2480$90b46d80$@net> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> Message-ID: I was surprised that they threw this out as a finished version, since every RC so far has had issues that we've been finding as we go. This one has at least two, then. On Thu, Oct 16, 2014 at 4:24 PM, Ralph DiMola wrote: > Mike, > > Yes they do seem slower. It gets worse though. If you cancel the dialog and > allow your app to continue the keyboard is invisible for both LC and native > input fields. Bug report==> > http://quality.runrev.com/show_bug.cgi?id=13699 > > I could check the permissions and kick the user out until they set it to > "Always" but my customers want to know why "While Using the App" is not > allowed like the Apple/Google Mapping apps. They consider this a help desk > disaster. > > 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 Mike Kerner > Sent: Thursday, October 16, 2014 3:44 PM > To: How to use LiveCode > Subject: Re: LiveCode 6.6.4 > > Do your apps seem slower in this version, anybody, or is that just an ios8 > thing? > > Some of my screen transitions in this version seem downright pokey. > > On Thu, Oct 16, 2014 at 1:39 PM, Ralph DiMola > wrote: > > > +1 for the Mother ship on the rapid 6.6.4 fixes. > > > > I have one thing I can't understand. > > > > When the Privacy==>Location Services for my app is set to "While Using > > the App" A dialog pops up every time the app is launched with this > dialog: > > > > Background location is not enabled > > To use background location you must turn on 'Always' in the Location > > Services Settings. > > With "Cancel" and "Settings" buttons > > > > If one chooses Cancel the location sensor requests in the app still > > work as expected. This dialog will confuse users as it appears every > > time the app is launched. How could I disable this dialog? Is this a > > bug or am I missing something? Anyone else see this? > > > > > > 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 > > > > > > -- > 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 bobsneidar at iotecdigital.com Thu Oct 16 17:06:24 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Oct 2014 21:06:24 +0000 Subject: Programming LiveCode with LiveCode In-Reply-To: References: Message-ID: That sounds like what Sun said when they released Java! And look what happened. Bob S On Oct 16, 2014, at 10:32 , Jim Lambert > wrote: I am of the opinion that all of the platform/device specific approach to software is going the way of the dinosaur. From capellan2000 at gmail.com Thu Oct 16 18:06:05 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Oct 2014 15:06:05 -0700 (PDT) Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <54400DBF.9040001@fourthworld.com> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> <543FFDB9.5010804@fourthworld.com> <1413483471982-4684662.post@n4.nabble.com> <54400DBF.9040001@fourthworld.com> Message-ID: <1413497165700-4684669.post@n4.nabble.com> Richard Gaskin wrote > Yeah, too many late nights this week, thankfully punctuated with rounds > of rsync backups so I can take time to post. rsync! Thanks for reminding me this topic. I knew that something was missing when I tested LiveCode Server on Linux and Windows (using XAMPP) http://quality.runrev.com/show_bug.cgi?id=13701 Richard Gaskin wrote > But if I were really good at time management I'd be out camping in the > desert right now (October is a great time for the Mojave), rather than > at a computer. Well, nobody could predict (accurately) the future so the best we can do is just be prepared for the unexpected... :-o Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-you-please-enlighten-me-on-the-LiveCode-versions-tp4684648p4684669.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Thu Oct 16 18:24:51 2014 From: sundown at pacifier.com (JB) Date: Thu, 16 Oct 2014 15:24:51 -0700 Subject: Volume Size In-Reply-To: <49F137E1-3FBA-437B-91AF-CACADB5CEFFC@iotecdigital.com> References: <812B9E4D-F859-4E25-A86F-5ADFC36370B4@pacifier.com> <543CFAAF.2000701@gmail.com> <3D24F7D6-1AFE-4654-B89A-F0EAF7DA2873@pacifier.com> <543D0B66.9060300@gmail.com> <49F137E1-3FBA-437B-91AF-CACADB5CEFFC@iotecdigital.com> Message-ID: Thanks, Bob! So it walks like a duck and quacks likea duck but if you say unix to linux people it is time to duck. NBG! sorry Richmond I did not know. John Balgenorth On Oct 16, 2014, at 8:23 AM, Bob Sneidar wrote: > In a word, no. Linux is the result of someone writing a unix-like OS without (ostensibly) copying any of the actual UNIX code. It walks like UNIX, it quacks like UNIX, but it is decidedly *NOT* UNIX! Never say those words again!!! (It makes LINUX people queasy). ;-) > > Bob S > > > On Oct 14, 2014, at 20:37 , JB > wrote: > > The dictionary states, > > This function always returns empty on Unix systems. > > So, is Linux a Unix OS? > > John Balgenorth > > > On Oct 14, 2014, at 4:39 AM, Richmond > wrote: > > AND volumes is NBG in Linux . . . > > So? > > 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 ambassador at fourthworld.com Thu Oct 16 18:33:37 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2014 15:33:37 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <1413497165700-4684669.post@n4.nabble.com> References: <1413497165700-4684669.post@n4.nabble.com> Message-ID: <544047C1.9030707@fourthworld.com> Alejandro Tejada wrote: > rsync! Thanks for reminding me this topic. I knew that something > was missing when I tested LiveCode Server on Linux and Windows > (using XAMPP) > > http://quality.runrev.com/show_bug.cgi?id=13701 rsync is licensed under GPL 3.0, so RunRev could only integrated its code into the Community Edition. But moreover, rsync is freely available to anyone, and is most commonly used through the command line (its pre-installed on Ubuntu and most Linux distros, it's included in Cygwin for Windows, and an older version is included in OS X). in LiveCode, I use it via the shell function. For moving data between local volumes it's great as it is. When transferring to or from a remote server, it runs over SSH so it'll prompt for a password. Since LC offers no way to enter a password prompt in SSH, the solution there is something all serious SSH users are probably doing anyway: setting up shared SSH keys. Once those are in place, SSH, rsync, scp, and much more can be used from LC's shell function gracefully and securely. Given all this, how would you envision RunRev integrating rsync? -- 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 jacques.hausser at unil.ch Thu Oct 16 19:05:16 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 17 Oct 2014 01:05:16 +0200 Subject: binaryDecode in LC 7.0(rc2) and EXIFLib In-Reply-To: <544047C1.9030707@fourthworld.com> References: <1413497165700-4684669.post@n4.nabble.com> <544047C1.9030707@fourthworld.com> Message-ID: <00496720-09F3-45E1-8716-B1D97B3B7CF6@unil.ch> To the people using Alex Tweedly's EXIFLib: For the others, EXIFLib is a very useful library extracting the EXIF data (if any) of .jpg pictures. I'm really indebted to Alex for it and I'm using it for years now. It can be found here: http://tweedly.org/showpage.lc?page=EXIFLib This library works fine with the 6.n versions of LiveCode, up to 6.6.4 but with 7.0(RC2) LiveCode quits unexpectedly. I found that the culprits were lines 194-195 of the stack's script: put "x" & lexifBaseOffset+tOffset-1 & "a" & count into t put binaryDecode(t, lexifData, tJunk, tValues) into tJ with my data, t was "x146a11". Something changed in the intepretation of the formatsList between 6 and 7. Luckily, replacing the two lines by: put lexifBaseOffset+tOffset-1 into ttx put "a" & ttx+count into t put binaryDecode(t,lexifData,tValues) into tJ delete char 1 to ttx of tJ works perfectly! But I would be interested to know what exactly changed, and why a list of formats is no more accepted but a simple format is, before posting a bug report... Jacques From terry.judd at unimelb.edu.au Thu Oct 16 19:02:54 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 16 Oct 2014 23:02:54 +0000 Subject: handling push notifications Message-ID: Just starting with push notifications and have managed to get a simple example working using the livecode example code and AWS?s SNS service. So far so good! Now, in the livecode example it an ?alert? and a ?payload? are sent. The payload is received if the app is open and the alert is displayed if it isn?t. How do you capture the payload if the app isn?t open ? for example if you wanted to display it when the user taps the notification alert? Terry? Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit The University of Melbourne From sundown at pacifier.com Thu Oct 16 19:07:04 2014 From: sundown at pacifier.com (JB) Date: Thu, 16 Oct 2014 16:07:04 -0700 Subject: Enhancing the volumes function (was Volume Size) In-Reply-To: <543FD50F.7090802@fourthworld.com> References: <543FD50F.7090802@fourthworld.com> Message-ID: <5ADFA7C9-71F1-4274-88C4-A0C7FACA93F2@pacifier.com> I would like the proper info about the volume path, size in bytes, available space in bytes and amount of bytes used along with the type of drive etc and if it is mounted so I can sector read and write to the volume. I have no intention of creating a program for people to sector read and write files. It is simply a part of my file handling. But for those who are interested in sector reading and writing for any reason below is a link to a free app that works on Mac ppc, windows and linux. http://apps.tempel.org/iBored/ In one of the updates it mentions he improved it so you can even sector write to a volume that is not mounted. This is very powerful software and you can damage your info if you do not know what you are doing but if you do know what you are doing it can be very helpful. It is a good tool to have! John Balgenorth On Oct 16, 2014, at 7:24 AM, Richard Gaskin wrote: > The other day I wrote: > > > Warren Samples wrote: > > > The dictionary does indicated, by omission of the penguin icon, > > > that 'volumes()' is not supported under Linux. > > > > Seems a silly omission, so I just submitted a request for that: > > > > That request has gotten some healthy attention from the core dev team at RunRev, but the nature of the request has expanded beyond the original goal of simply making volumes() work on Linux. > > It occurred to me shortly after posting it that the current return value, consisting of volume names only, is close to useless on all three platforms. > > On Mac, is the volume mounted at /Volumes/ or at /? > On Linux, is it at /mnt/ or /media//, or somewhere else? > On Windows, what drive letter is it mapped to? > > In short, the volume name alone is insufficient to actually do anything meaningful with it. In fact, I'm hard pressed to think of any circumstance where it might have been useful beyond Mac Classic. > > The team is exploring many options, but the key to all of this boils down to this question: > > What do we want to use a volumes function for? > > Knowing the use cases the function should support will be very helpful in guiding the design decisions around this enhancement. > > If you have a specific use case in mind, please feel free to add it in the comments for that request. > > -- > 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 capellan2000 at gmail.com Thu Oct 16 19:37:52 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Oct 2014 16:37:52 -0700 (PDT) Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <544047C1.9030707@fourthworld.com> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> <543FFDB9.5010804@fourthworld.com> <1413483471982-4684662.post@n4.nabble.com> <54400DBF.9040001@fourthworld.com> <1413497165700-4684669.post@n4.nabble.com> <544047C1.9030707@fourthworld.com> Message-ID: <1413502672093-4684675.post@n4.nabble.com> Richard Gaskin wrote > rsync is licensed under GPL 3.0, so RunRev could only integrated its > code into the Community Edition. > > But moreover, rsync is freely available to anyone, and is most commonly > used through the command line (its pre-installed on Ubuntu and most > Linux distros, it's included in Cygwin for Windows, and an older version > is included in OS X). in LiveCode, I use it via the shell function. > > For moving data between local volumes it's great as it is. When > transferring to or from a remote server, it runs over SSH so it'll > prompt for a password. Since LC offers no way to enter a password > prompt in SSH, the solution there is something all serious SSH users are > probably doing anyway: setting up shared SSH keys. Once those are in > place, SSH, rsync, scp, and much more can be used from LC's shell > function gracefully and securely. > > Given all this, how would you envision RunRev integrating rsync? For example: Add rsync as an option to this lesson: http://lessons.runrev.com/m/4071/l/78702-opening-a-stack-from-the-server go url rsync("http://techsupport.on-rev.com/MainApplication.livecode") Using rsync, LiveCode server will send only updated/changed bytes and LiveCode engine will rebuild the stack/file on memory (or temp folder) and optionally, save the new stack/file to disk while keeping a backup... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-you-please-enlighten-me-on-the-LiveCode-versions-tp4684648p4684675.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Thu Oct 16 20:03:40 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Oct 2014 00:03:40 +0000 (UTC) Subject: 3 questions about your coding habits References: <1413465466130-4684631.post@n4.nabble.com> <543FDA80.2090508@fourthworld.com> Message-ID: Richard Gaskin writes: > What do you use for auto-saving? Assuming this is an open-ended question, 1. glx2 has auto-saving built in 2. Dropbox saves versions for up to 30 days. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Oct 16 20:08:29 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Oct 2014 00:08:29 +0000 (UTC) Subject: 3 questions about your coding habits References: <543F39F2.8030707@fourthworld.com> Message-ID: Richard Gaskin writes: > 1. When you're working on stack files, do you always keep them somewhere > in your Home folder, or run with admin privileges and keep them > somewhere else (e.g. Applications)? Assuming you mean stackfiles rather than stacks, I try to keep them in the same folder as the mainstack. And have a separate folder for each project off either the /home or /Documents hierarchy. But at any rate, somewhere with no special elevated privileges required for writing. > > 2. Do you regularly switch among different OSes, and if so how do you > sync your files (drag-and-drop, rsync, OwnCloud, or something else), or > do you bypass syncing altogether by mounting a shared volume? Dropbox. Box if necessary, but it's an extra manual step. 3. See above. -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Thu Oct 16 20:51:56 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 Oct 2014 20:51:56 -0400 Subject: handling push notifications In-Reply-To: References: Message-ID: you don't. There are several open bug reports on push, and that's one of them. If the app isn't running and the user opens it via the springboard, no payload. If they open it via the notification center, payload. On Thu, Oct 16, 2014 at 7:02 PM, Terry Judd wrote: > Just starting with push notifications and have managed to get a simple > example working using the livecode example code and AWS?s SNS service. So > far so good! > > Now, in the livecode example it an ?alert? and a ?payload? are sent. The > payload is received if the app is open and the alert is displayed if it > isn?t. How do you capture the payload if the app isn?t open ? for example > if you wanted to display it when the user taps the notification alert? > > Terry? > > Dr Terry Judd< > http://scholar.google.com.au/citations?user=XC5s6wwAAAAJ&hl=en> > Senior Lecturer in Medical Education > Medical Education Unit > The University of Melbourne > _______________________________________________ > use-livecode mailing list > use-livecode 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 gerry.orkin at gmail.com Thu Oct 16 21:23:19 2014 From: gerry.orkin at gmail.com (Gerry) Date: Fri, 17 Oct 2014 12:23:19 +1100 Subject: LiveCode 6.6.4 In-Reply-To: References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> Message-ID: <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> And another one: I changed nothing between the RC 2 version and the release version and I can't now run my apps in the simulator - I get a message that says "Unable to start simulation: Unable to run app in simulator". Ugh. Gerry > On 17 Oct 2014, at 7:28 am, Mike Kerner wrote: > > I was surprised that they threw this out as a finished version, since every > RC so far has had issues that we've been finding as we go. This one has at > least two, then. From coiin at verizon.net Thu Oct 16 21:28:31 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Oct 2014 21:28:31 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> Message-ID: <5B040C7A-237C-4CEE-A493-0676D6021851@verizon.net> I have the reverse situation, where I couldn?t before but now I can. Are you using Xcode 6.0.1? From coiin at verizon.net Thu Oct 16 21:29:41 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Oct 2014 21:29:41 -0400 Subject: LiveCode and Yosemite Message-ID: I updated from Mavericks to Yosemite today, and LiveCode 6.6.4 contuse to test onto Simulator ok. From gerry.orkin at gmail.com Thu Oct 16 21:30:54 2014 From: gerry.orkin at gmail.com (Gerry) Date: Fri, 17 Oct 2014 12:30:54 +1100 Subject: LiveCode 6.6.4 In-Reply-To: <5B040C7A-237C-4CEE-A493-0676D6021851@verizon.net> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> <5B040C7A-237C-4CEE-A493-0676D6021851@verizon.net> Message-ID: <5298C5AF-1EAA-4CB4-84CD-235E8937CC44@gmail.com> Yup. g > On 17 Oct 2014, at 12:28 pm, Colin Holgate wrote: > > I have the reverse situation, where I couldn?t before but now I can. Are you using Xcode 6.0.1? From terry.judd at unimelb.edu.au Thu Oct 16 21:31:25 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 17 Oct 2014 01:31:25 +0000 Subject: handling push notifications In-Reply-To: References: Message-ID: That?s disappointing. Just to get this straight, the only time I get the payload is if the app is open - either when the notification arrives or if I select it from the ?list? available when swiping down from the top of the screen. If the app isn?t open then no payload via any method. Terry... On 17/10/2014 11:51 am, "Mike Kerner" wrote: >you don't. There are several open bug reports on push, and that's one of >them. If the app isn't running and the user opens it via the springboard, >no payload. If they open it via the notification center, payload. > >On Thu, Oct 16, 2014 at 7:02 PM, Terry Judd >wrote: > >> Just starting with push notifications and have managed to get a simple >> example working using the livecode example code and AWS?s SNS service. >>So >> far so good! >> >> Now, in the livecode example it an ?alert? and a ?payload? are sent. The >> payload is received if the app is open and the alert is displayed if it >> isn?t. How do you capture the payload if the app isn?t open ? for >>example >> if you wanted to display it when the user taps the notification alert? >> >> Terry? >> >> Dr Terry Judd< >> http://scholar.google.com.au/citations?user=XC5s6wwAAAAJ&hl=en> >> Senior Lecturer in Medical Education >> Medical Education Unit >> The University of Melbourne >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 gerry.orkin at gmail.com Thu Oct 16 21:44:33 2014 From: gerry.orkin at gmail.com (Gerry) Date: Fri, 17 Oct 2014 12:44:33 +1100 Subject: handling push notifications In-Reply-To: References: Message-ID: <80C513A3-BEBF-4883-AC3A-7236806B49DB@gmail.com> Terry wrote: > That"s disappointing Really? I'm just resigned to the fact that LC doesn't allow us to develop modern iOS apps that have the same capabilities (in terms of background operations) as xCode-developed apps. I've stopped trying and I've stopped being disappointed about it. What I'd LOVE is a clear statement from RunRev about their intentions in this area - will they ever support background operations? (And don't tell me to just use the .plist hack - the problem is much broader than the app not quitting on suspend). Gerry From MikeKerner at roadrunner.com Thu Oct 16 22:11:29 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 Oct 2014 22:11:29 -0400 Subject: handling push notifications In-Reply-To: <80C513A3-BEBF-4883-AC3A-7236806B49DB@gmail.com> References: <80C513A3-BEBF-4883-AC3A-7236806B49DB@gmail.com> Message-ID: Try it. That's my observation. So, what I do, instead, is instead of sending the payload (which has to be short, anyhow), is have the app recognize that it's gotten a push notification, then hit my server to find out why. The message you send is for the user, anyway. The payload has to be small, unfortunately, so either you have to send many messages to get the entire payload (and Apple specifically states that they do not guarantee delivery or the order of delivery), or you have to hit your server, anyway. On Thu, Oct 16, 2014 at 9:44 PM, Gerry wrote: > Terry wrote: > > > That"s disappointing > > Really? I'm just resigned to the fact that LC doesn't allow us to develop > modern iOS apps that have the same capabilities (in terms of background > operations) as xCode-developed apps. I've stopped trying and I've stopped > being disappointed about it. > > What I'd LOVE is a clear statement from RunRev about their intentions in > this area - will they ever support background operations? (And don't tell > me to just use the .plist hack - the problem is much broader than the app > not quitting on suspend). > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Oct 16 22:13:43 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 16 Oct 2014 22:13:43 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <5298C5AF-1EAA-4CB4-84CD-235E8937CC44@gmail.com> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> <5B040C7A-237C-4CEE-A493-0676D6021851@verizon.net> <5298C5AF-1EAA-4CB4-84CD-235E8937CC44@gmail.com> Message-ID: When I get the simulator message, I go to the simulator, make sure there isn't an instance of the app already running, and if there is, exit it, then go back, and fire it off, again, from LC. I suspect we have a communication problem between LC and the simulator. On Thu, Oct 16, 2014 at 9:30 PM, Gerry wrote: > Yup. > > g > > > > On 17 Oct 2014, at 12:28 pm, Colin Holgate wrote: > > > > I have the reverse situation, where I couldn?t before but now I can. Are > you using Xcode 6.0.1? > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 terry.judd at unimelb.edu.au Thu Oct 16 23:18:17 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 17 Oct 2014 03:18:17 +0000 Subject: handling push notifications In-Reply-To: References: <80C513A3-BEBF-4883-AC3A-7236806B49DB@gmail.com>, Message-ID: Thanks Mike - makes sense for the app to check in with the server when it starts up so I guess I'll go down that route. Terry... Sent from my iPhone On 17/10/2014, at 1:12 PM, "Mike Kerner" wrote: > Try it. That's my observation. So, what I do, instead, is instead of > sending the payload (which has to be short, anyhow), is have the app > recognize that it's gotten a push notification, then hit my server to find > out why. The message you send is for the user, anyway. The payload has to > be small, unfortunately, so either you have to send many messages to get > the entire payload (and Apple specifically states that they do not > guarantee delivery or the order of delivery), or you have to hit your > server, anyway. > > On Thu, Oct 16, 2014 at 9:44 PM, Gerry wrote: > >> Terry wrote: >> >>> That"s disappointing >> >> Really? I'm just resigned to the fact that LC doesn't allow us to develop >> modern iOS apps that have the same capabilities (in terms of background >> operations) as xCode-developed apps. I've stopped trying and I've stopped >> being disappointed about it. >> >> What I'd LOVE is a clear statement from RunRev about their intentions in >> this area - will they ever support background operations? (And don't tell >> me to just use the .plist hack - the problem is much broader than the app >> not quitting on suspend). >> >> Gerry >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 gerry.orkin at gmail.com Thu Oct 16 23:32:33 2014 From: gerry.orkin at gmail.com (Gerry) Date: Fri, 17 Oct 2014 14:32:33 +1100 Subject: LiveCode 6.6.4 In-Reply-To: References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> <5B040C7A-237C-4CEE-A493-0676D6021851@verizon.net> <5298C5AF-1EAA-4CB4-84CD-235E8937CC44@gmail.com> Message-ID: > When I get the simulator message, I go to the simulator, make sure there > isn't an instance of the app already running, and if there is, exit it, > then go back, and fire it off, again, from LC. You get the same error message I do? g From rdimola at evergreeninfo.net Fri Oct 17 00:38:37 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 17 Oct 2014 00:38:37 -0400 Subject: LiveCode 6.6.4 In-Reply-To: <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> <8A3B9AAE-7784-48A9-B539-9D55A85FA4AF@gmail.com> Message-ID: <000001cfe9c4$383fa270$a8bee750$@net> Get timeouts and eventually get "can't start" message. If I hit the home button on the simulator it will hang for 30-5 seconds and then show the home screen. 33% of the time the app will just start up. 33% it will be on the simulator and I can start it. 33% it will work if I "test" again. Can't put my finger on this one. Mavericks Xcode 6.0.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 Gerry Sent: Thursday, October 16, 2014 9:23 PM To: How to use LiveCode Subject: Re: LiveCode 6.6.4 And another one: I changed nothing between the RC 2 version and the release version and I can't now run my apps in the simulator - I get a message that says "Unable to start simulation: Unable to run app in simulator". Ugh. Gerry > On 17 Oct 2014, at 7:28 am, Mike Kerner wrote: > > I was surprised that they threw this out as a finished version, since > every RC so far has had issues that we've been finding as we go. This > one has at least two, then. _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Oct 17 00:44:36 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Thu, 16 Oct 2014 21:44:36 -0700 Subject: LiveCode 6.6.4 In-Reply-To: <016c01cfe97f$303c2480$90b46d80$@net> References: <0A1FEAA3-11A1-4061-8CBF-4AC14CFC560D@sahores-conseil.com> <016001cfe968$17eb7050$47c250f0$@net> <016c01cfe97f$303c2480$90b46d80$@net> Message-ID: <34D2ED1A-213B-4501-92AE-494F536850B8@mac.com> Ralph, I've re-opened bug 13590 [ http://quality.runrev.com/show_bug.cgi?id=13590 ] to try to get this location services issue resolved. Please feel free to add more to it if you have any comments or if you feel I've missed anything. Paul On Oct 16, 2014, at 1:24 PM, Ralph DiMola wrote: > Mike, > > Yes they do seem slower. It gets worse though. If you cancel the dialog and > allow your app to continue the keyboard is invisible for both LC and native > input fields. Bug report==> http://quality.runrev.com/show_bug.cgi?id=13699 > > I could check the permissions and kick the user out until they set it to > "Always" but my customers want to know why "While Using the App" is not > allowed like the Apple/Google Mapping apps. They consider this a help desk > disaster. > > 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 Mike Kerner > Sent: Thursday, October 16, 2014 3:44 PM > To: How to use LiveCode > Subject: Re: LiveCode 6.6.4 > > Do your apps seem slower in this version, anybody, or is that just an ios8 > thing? > > Some of my screen transitions in this version seem downright pokey. > > On Thu, Oct 16, 2014 at 1:39 PM, Ralph DiMola > wrote: > >> +1 for the Mother ship on the rapid 6.6.4 fixes. >> >> I have one thing I can't understand. >> >> When the Privacy==>Location Services for my app is set to "While Using >> the App" A dialog pops up every time the app is launched with this dialog: >> >> Background location is not enabled >> To use background location you must turn on 'Always' in the Location >> Services Settings. >> With "Cancel" and "Settings" buttons >> >> If one chooses Cancel the location sensor requests in the app still >> work as expected. This dialog will confuse users as it appears every >> time the app is launched. How could I disable this dialog? Is this a >> bug or am I missing something? Anyone else see this? >> >> >> 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 >> > > > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Oct 17 01:12:52 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 16 Oct 2014 22:12:52 -0700 Subject: Teaching LiveCode to Children In-Reply-To: References: <1413334640375-4684591.post@n4.nabble.com> Message-ID: <1051660051949.20141016221252@ahsoftware.net> Bob- Thursday, October 16, 2014, 8:17:27 AM, you wrote: > What?s wrong with the old way of thinking?? ;-) You mean as opposed to thwimming? https://www.youtube.com/watch?v=CC_iWnt0ooA -- -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 admin at FlexibleLearning.com Fri Oct 17 03:35:25 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 17 Oct 2014 08:35:25 +0100 Subject: binaryDecode in LC 7.0(rc2) and EXIFLib Message-ID: <000601cfe9dc$ec66a2e0$c533e8a0$@FlexibleLearning.com> Jacques LC v7 should be backwards compatible. I suggest you submit this in a bug report, especially if you can identify the specific function(s)/keyword(s) used by formatsList where different data is returned in order to help the team locate the issue. I suspect it will be something to do with how Unicode is now handled. Best regards, Hugh Senior FLCo > ------------------------------ > > To the people using Alex Tweedly's EXIFLib: > For the others, EXIFLib is a very useful library extracting the EXIF data (if any) > of .jpg pictures. I'm really indebted to Alex for it and I'm using it for years > now. It can be found here: > http://tweedly.org/showpage.lc?page=EXIFLib > This library works fine with the 6.n versions of LiveCode, up to 6.6.4 but with > 7.0(RC2) LiveCode quits unexpectedly. I found that the culprits were lines > 194-195 of the stack's script: > > put "x" & lexifBaseOffset+tOffset-1 & "a" & count into t > put binaryDecode(t, lexifData, tJunk, tValues) into tJ > > with my data, t was "x146a11". Something changed in the intepretation of > the formatsList between 6 and 7. Luckily, replacing the two lines by: > > put lexifBaseOffset+tOffset-1 into ttx > put "a" & ttx+count into t > put binaryDecode(t,lexifData,tValues) into tJ > delete char 1 to ttx of tJ > > works perfectly! > > But I would be interested to know what exactly changed, and why a list of > formats is no more accepted but a simple format is, before posting a bug > report... > > Jacques From toolbook at kestner.de Fri Oct 17 03:59:48 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 17 Oct 2014 09:59:48 +0200 Subject: AW: 3 questions about your coding habits In-Reply-To: <015001cfe95b$6ff11500$4fd33f00$@net> References: <543F39F2.8030707@fourthworld.com> <015001cfe95b$6ff11500$4fd33f00$@net> Message-ID: <001c01cfe9e0$53720080$fa560180$@de> That's something what annoys me too daily :) Tiemo > 6. The Mac does not always correctly refresh smb shares. There is no "F5" > on a Mac to refresh files. SMB on Mac flakey and scares me. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > From toolbook at kestner.de Fri Oct 17 04:02:00 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 17 Oct 2014 10:02:00 +0200 Subject: Yosemite? Message-ID: <001d01cfe9e0$a24794e0$e6d6bea0$@de> Hello, any Yosemite issues found yet or everything smooth? Tiemo From jacques.hausser at unil.ch Fri Oct 17 08:50:30 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 17 Oct 2014 14:50:30 +0200 Subject: binaryDecode in LC 7.0(rc2) and EXIFLib References: <00496720-09F3-45E1-8716-B1D97B3B7CF6@unil.ch> Message-ID: <230B9E6A-674D-4939-9336-CDB7E53A007C@unil.ch> Le 17 oct. 2014 ? 01:05, Jacques Hausser a ?crit : > To the people using Alex Tweedly's EXIFLib: > For the others, EXIFLib is a very useful library extracting the EXIF data (if any) of .jpg pictures. I'm really indebted to Alex for it and I'm using it for years now. It can be found here: > http://tweedly.org/showpage.lc?page=EXIFLib > This library works fine with the 6.n versions of LiveCode, up to 6.6.4 but with 7.0(RC2) LiveCode quits unexpectedly. I found that the culprits were lines 194-195 of the stack's script: > > put "x" & lexifBaseOffset+tOffset-1 & "a" & count into t > put binaryDecode(t, lexifData, tJunk, tValues) into tJ > > with my data, t was "x146a11". Something changed in the intepretation of the formatsList between 6 and 7. Luckily, replacing the two lines by: > > put lexifBaseOffset+tOffset-1 into ttx > put "a" & ttx+count into t > put binaryDecode(t,lexifData,tValues) into tJ > delete char 1 to ttx of tJ > > works perfectly! mmmhh... unfortunately not ! It's only the first of a serie of problems of reading EXIF data. But at least LC doesn't quit anymore, and the EXIF tags seem to be recognized, even if their content is not - or not always. Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From matthias_livecode_150811 at m-r-d.de Fri Oct 17 09:11:15 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Fri, 17 Oct 2014 15:11:15 +0200 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? Message-ID: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> Hi, is anyone else experiencing delays in email transmissions from/to accounts on server Pancake? Regards, Matthias From pystcat at gmail.com Fri Oct 17 09:15:00 2014 From: pystcat at gmail.com (PystCat) Date: Fri, 17 Oct 2014 09:15:00 -0400 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> Message-ID: <5D676EB3-DE2F-4657-B4C5-C22AF7A05026@gmail.com> Yes. I thought it was just something on my end... > On Oct 17, 2014, at 9:11 AM, Matthias Rebbe | M-R-D wrote: > > Hi, > > is anyone else experiencing delays in email transmissions from/to accounts on server Pancake? > > Regards, > > Matthias > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Oct 17 09:33:07 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Fri, 17 Oct 2014 15:33:07 +0200 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <5D676EB3-DE2F-4657-B4C5-C22AF7A05026@gmail.com> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> <5D676EB3-DE2F-4657-B4C5-C22AF7A05026@gmail.com> Message-ID: <3AFB68F1-64B6-487B-971E-696062AB1C19@m-r-d.de> Okay, thanks. Interesting is, that some emails are sent/received immediatley and ohters take hours. There are even some emails i sent out 2 days ago which the recipient did not receive yet. I will sent an urgent support request to On-Rev support. Matthias Am 17.10.2014 um 15:15 schrieb PystCat : > Yes. I thought it was just something on my end... > >> On Oct 17, 2014, at 9:11 AM, Matthias Rebbe | M-R-D wrote: >> >> Hi, >> >> is anyone else experiencing delays in email transmissions from/to accounts on server Pancake? >> >> Regards, >> >> Matthias >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Fri Oct 17 09:57:14 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 17 Oct 2014 08:57:14 -0500 Subject: Yosemite? In-Reply-To: <001d01cfe9e0$a24794e0$e6d6bea0$@de> References: <001d01cfe9e0$a24794e0$e6d6bea0$@de> Message-ID: So far so good with LC -- and the new fonts/design are much better for my eyes. On Fri, Oct 17, 2014 at 3:02 AM, Tiemo Hollmann TB wrote: > Hello, > > any Yosemite issues found yet or everything smooth? > > 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 pmbrig at gmail.com Fri Oct 17 10:32:55 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 17 Oct 2014 10:32:55 -0400 Subject: problem with counting words In-Reply-To: <543F37BD.3080506@fourthworld.com> References: <7E631352-AC5C-4CEF-AB5C-C2079B0B7F1B@gmail.com> <543F37BD.3080506@fourthworld.com> Message-ID: On Oct 15, 2014, at 11:13 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > .. > > and you don't risk forgetting to reset the itemDelim, which I > > often forget to do, especially in repeat loops?. > > As a discrete function it should be okay, since unlike SuperCard in LiveCode the itemdel is a local property. Yes, that's the point. Since the itemdel is local to a handler, by setting it within the function you don't have to reset it in the calling handler. Much simpler. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobsneidar at iotecdigital.com Fri Oct 17 10:46:29 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Oct 2014 14:46:29 +0000 Subject: 3 questions about your coding habits In-Reply-To: <001c01cfe9e0$53720080$fa560180$@de> References: <543F39F2.8030707@fourthworld.com> <015001cfe95b$6ff11500$4fd33f00$@net> <001c01cfe9e0$53720080$fa560180$@de> Message-ID: <6FF5EA0A-7501-42A7-9767-D03D4E555053@iotecdigital.com> Wouldn?t the SMB server need to inform the Mac that changes had been made? Might it not be an issue with the SMB server not notifying the Mac? Bob S On Oct 17, 2014, at 24:59 , Tiemo Hollmann TB wrote: > That's something what annoys me too daily :) > Tiemo > >> 6. The Mac does not always correctly refresh smb shares. There is no "F5" >> on a Mac to refresh files. SMB on Mac flakey and scares me. >> >> 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 bobsneidar at iotecdigital.com Fri Oct 17 10:48:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Oct 2014 14:48:15 +0000 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> Message-ID: <1B91C815-DE2D-44F3-989F-FC8AF21ABE12@iotecdigital.com> I am seeing replies to emails that are not rendering in my preview pane, but if I double click them, I can see all the contents of each thread. Not sure it?s related. Bob S On Oct 17, 2014, at 06:11 , Matthias Rebbe | M-R-D wrote: > Hi, > > is anyone else experiencing delays in email transmissions from/to accounts on server Pancake? > > Regards, > > Matthias > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Oct 17 11:48:37 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 17 Oct 2014 11:48:37 -0400 Subject: 3 questions about your coding habits In-Reply-To: <6FF5EA0A-7501-42A7-9767-D03D4E555053@iotecdigital.com> References: <543F39F2.8030707@fourthworld.com> <015001cfe95b$6ff11500$4fd33f00$@net> <001c01cfe9e0$53720080$fa560180$@de> <6FF5EA0A-7501-42A7-9767-D03D4E555053@iotecdigital.com> Message-ID: <004001cfea21$d0d9aaa0$728cffe0$@net> Bob, Thanks for the suggestion! I tested your theory. None of the other Windows clients experience this issue just the Macs. If Apple would implement an "F5" function this would be a minor annoyance rather than a potential disaster. When I have the time I will Wireshark and see exactly what's happening. 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 Bob Sneidar Sent: Friday, October 17, 2014 10:46 AM To: How to use LiveCode Subject: Re: 3 questions about your coding habits Wouldn't the SMB server need to inform the Mac that changes had been made? Might it not be an issue with the SMB server not notifying the Mac? Bob S On Oct 17, 2014, at 24:59 , Tiemo Hollmann TB wrote: > That's something what annoys me too daily :) Tiemo > >> 6. The Mac does not always correctly refresh smb shares. There is no "F5" >> on a Mac to refresh files. SMB on Mac flakey and scares me. >> >> 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 pmbrig at gmail.com Fri Oct 17 12:17:36 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 17 Oct 2014 12:17:36 -0400 Subject: problem with counting words In-Reply-To: <543FCF2F.9010903@fourthworld.com> References: <080A2193-6607-486C-A87C-7A8891571354@mail.com> <543FCF2F.9010903@fourthworld.com> Message-ID: <1C5B2180-47E8-403D-8456-90DC8FDE4DC9@gmail.com> Re extending the itemdelimiter keyword... The handler I posted for getItem() is easily modified to allow the itemdel to consist of a string of characters, so you could do: getItem("a//b//c//d//e//f",4,"//") -> d So while we're waiting for the language to be expanded, you could use this: 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 -- also allows tDelim to be a string of characters ! -- requires getDelimiters() if tDelim = empty then put comma into tDelim put getDelimiters(tList) into workingDelim replace tDelim with workingDelim in tList set the itemdelimiter to workingDelim return item tIndex of tList end getItem function getDelimiters tText,nbr -- returns a cr-delimited list of characters -- not found in the variable tText -- use for delimiters for, eg, parsing text files, loading arrays, etc. -- usage: put getDelimiters(tText,2) into tDelims -- put line 1 of tDelims into lineDivider -- put line 2 of tDelims into itemDivider -- etc. if nbr = empty then put 1 into nbr -- default 1 delimiter put "2,3,4,5,6,7,8,16,17,18,19,20" into baseList -- could use other non-printing ASCII values put the number of items of baseList into maxNbr if nbr > maxNbr then return "Error: max" && maxNbr && "delimiters." repeat with tCount = 1 to nbr put true into failed repeat with i = 1 to the number of items of baseList put item i of baseList into testNbr put numtochar(testNbr) into testChar if testChar is not in tText then -- found one, store and get next delim put false into failed put testChar into line tCount of delimList exit repeat end if end repeat if failed then put the number of lines of delimList into nbrFound if nbr = 1 then return "Error: cannot get delimiter!" else if nbrFound = 0 then return "Error: cannot get any delimiters!" else return "Error: can only get" && nbrFound && "delimiters!" end if end if delete item i of baseList end repeat return delimList end getDelimiters From ben at runrev.com Fri Oct 17 12:45:50 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 17 Oct 2014 17:45:50 +0100 Subject: RELEASE 6.7 RC3 Message-ID: Dear List Members, We're pleased to announce the release of LiveCode 6.7.0 RC3. *Warning:* this is not a stable release. Please ensure you back up your stacks before testing them. *Release Contents* - Multimedia on MacOS with AVFoundation - iOS 8 Support - Determining the edition of the running engine - Effective points of graphics - Nine-way stretch for images - Updated text rendering for iOS and OS X - Export snapshot with metadata - New variant of open and secure socket - Multiple density image support for patterns. - Cocoa Support - In-App Purchasing - Clipboard data 'styledText' array accessor. - Improved revBrowser external - OS 10.5 (Leopard) Support - 379 bug fixes With the number of bugs fixed being so large we've not listed them here. Instead, please take a look at the release notes for full details. *Getting the release* You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team From t.heaford at btinternet.com Fri Oct 17 13:01:01 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 17 Oct 2014 18:01:01 +0100 Subject: Yosemite? In-Reply-To: References: <001d01cfe9e0$a24794e0$e6d6bea0$@de> Message-ID: <92E1A0F9-0836-4A70-9618-3DA2011817B0@btinternet.com> Noticed that popup menus in LiveCode do not have the animation that native apps have. A good reason for LC to adopt native controls rather than emulated? But if emulated why do the popup menus adopt the new colour scheme? Are they only partly emulated? Not sure on the system font but will see how it goes, I think I preferred Lucida Grande rather than Helvetica Neue. All the best Terry > On 17 Oct 2014, at 14:57, Geoff Canyon wrote: > > So far so good with LC -- and the new fonts/design are much better for my > eyes. From scott at tactilemedia.com Fri Oct 17 14:06:39 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 Oct 2014 11:06:39 -0700 Subject: [ANN] New iPad App Out Today - iMuertos Message-ID: Happy to announce the release of a new iPad app made with LiveCode: iMuertos. A collaboration between myself and a long time friend from Mexico, iMuertos offers several themed activities related to the upcoming Dia de los Muertos (Day of the Dead) celebration in November. Make fun designs, share them with friends, and learn a bit about the history of the holiday. https://itunes.apple.com/us/app/id927288970 If anybody wants to be generous and leave a nice review, that?s always welcome :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From skiplondon at gmail.com Fri Oct 17 14:13:16 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 17 Oct 2014 14:13:16 -0400 Subject: [ANN] New iPad App Out Today - iMuertos In-Reply-To: References: Message-ID: <1932FA45-1492-429A-9915-F32D93215FFE@gmail.com> Fun stuff. Just spent my lunch hour playing around with it. Great job! > On Oct 17, 2014, at 2:06 PM, Scott Rossi wrote: > > Happy to announce the release of a new iPad app made with LiveCode: > iMuertos. A collaboration between myself and a long time friend from > Mexico, iMuertos offers several themed activities related to the upcoming > Dia de los Muertos (Day of the Dead) celebration in November. Make fun > designs, share them with friends, and learn a bit about the history of the > holiday. > > https://itunes.apple.com/us/app/id927288970 > > > > If anybody wants to be generous and leave a nice review, that?s always > welcome :-) > > 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 admin at FlexibleLearning.com Fri Oct 17 14:20:41 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 17 Oct 2014 19:20:41 +0100 Subject: Hierarchical menu issue Message-ID: <001501cfea37$11265760$33730620$@FlexibleLearning.com> It seems we cannot apply more than one checkmark flag in a hierarchical menu... !rA Apples Arena !c Albatros Amazon I'm sure we used to be able to do this... a bullet mark at level 1 along with a tick mark at level 2. Or was that HyperCard/SuperCard only? Am I misremembering, or is it a bug? (Suddenly feeling very old) Hugh Senior FLCo From dave at applicationinsight.com Fri Oct 17 14:24:15 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 17 Oct 2014 11:24:15 -0700 (PDT) Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <1B91C815-DE2D-44F3-989F-FC8AF21ABE12@iotecdigital.com> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> <1B91C815-DE2D-44F3-989F-FC8AF21ABE12@iotecdigital.com> Message-ID: <1413570255647-4684711.post@n4.nabble.com> The last couple of days have been hard for David Williams with Pancake going on and off line, database and email servers falling over etc - but it seems to have settled down now ----- "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-Is-anyone-else-experiencing-delays-in-email-transmission-from-to-accounts-on-Pancake-tp4684697p4684711.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Fri Oct 17 14:31:44 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 Oct 2014 11:31:44 -0700 Subject: [ANN] New iPad App Out Today - iMuertos In-Reply-To: <1932FA45-1492-429A-9915-F32D93215FFE@gmail.com> References: <1932FA45-1492-429A-9915-F32D93215FFE@gmail.com> Message-ID: Thanks for the kind words. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/17/14, 11:13 AM, "Skip Kimpel" wrote: >Fun stuff. Just spent my lunch hour playing around with it. > >Great job! > > > >> On Oct 17, 2014, at 2:06 PM, Scott Rossi wrote: >> >> Happy to announce the release of a new iPad app made with LiveCode: >> iMuertos. A collaboration between myself and a long time friend from >> Mexico, iMuertos offers several themed activities related to the >>upcoming >> Dia de los Muertos (Day of the Dead) celebration in November. Make fun >> designs, share them with friends, and learn a bit about the history of >>the >> holiday. >> >> https://itunes.apple.com/us/app/id927288970 >> >> >> >> If anybody wants to be generous and leave a nice review, that?s always >> welcome :-) >> >> 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 richmondmathewson at gmail.com Fri Oct 17 14:36:05 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Oct 2014 21:36:05 +0300 Subject: RELEASE 6.7 RC3 In-Reply-To: References: Message-ID: <54416195.6050608@gmail.com> On 17/10/14 19:45, Benjamin Beaumont wrote: Super! Does this: > - OS 10.5 (Leopard) Support > Mean Mac OS 10.5 PPC and INTEL, or only INTEL? This is not documented in the Release notes. Richmond. From fraser.gordon at livecode.com Fri Oct 17 15:07:04 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Fri, 17 Oct 2014 20:07:04 +0100 Subject: RELEASE 6.7 RC3 In-Reply-To: <54416195.6050608@gmail.com> References: <54416195.6050608@gmail.com> Message-ID: <544168D8.6020609@livecode.com> On 17/10/2014 19:36, Richmond wrote: > On 17/10/14 19:45, Benjamin Beaumont wrote: > > Super! > > Does this: >> - OS 10.5 (Leopard) Support >> > Mean Mac OS 10.5 PPC and INTEL, or only INTEL? > > This is not documented in the Release notes. Unfortunately, it looks like the most important word disappeared from that sentence - it should be "OSX 10.5 (Leopard) support dropped". The major change in 6.7 was moving from Carbon to Cocoa APIs on OSX and to do that we needed to use a couple of APIs that were only available on 10.6 onwards. Regards, Fraser From coiin at verizon.net Fri Oct 17 15:10:41 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 17 Oct 2014 15:10:41 -0400 Subject: RELEASE 6.7 RC3 In-Reply-To: <544168D8.6020609@livecode.com> References: <54416195.6050608@gmail.com> <544168D8.6020609@livecode.com> Message-ID: <9F3756A7-0957-4E3B-8D4F-8F9BAB7F9D82@verizon.net> Is that Intel or PPC that was dropped? Just teasing? > On Oct 17, 2014, at 3:07 PM, Fraser Gordon wrote: > > >Unfortunately, it looks like the most important word disappeared from > that sentence - it should be "OSX 10.5 (Leopard) support dropped". From pmbrig at gmail.com Fri Oct 17 15:39:48 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 17 Oct 2014 15:39:48 -0400 Subject: problem with counting words References: <1C5B2180-47E8-403D-8456-90DC8FDE4DC9@gmail.com> Message-ID: <3B4A6C60-9AEF-499D-BBA2-7CDCEB77A988@gmail.com> Continuing the extension of itemdelimiter?. Now Richard's original nDepth() function can be expanded by using getItem(), so you can get nested "items" with different "itemdelimiters" (any or all of which may be text strings instead of single characters). I renamed Richard's function to something more easily remembered: function getNestedItems -- allows specifying different delimiters to extract chunks -- eg put "aaa,bbb,ccc#ddd#eee#fff,ggg,hhh" into tSomeData -- put getNestedITems(tSomeData,3,comma,2,"#") -- returns "ddd" -- #-delim item 2 of comma-delim item 3 -- based on a function by Richard Gaskin, use-LC list, originally named nDepth() -- expanded to use getItem(), which allows itemdelimiters of more than one char -- so you could do this: -- put "a//b//1,2,3,4,5//d//e" into tData -- put getNestedItems(tData,3,"//",4,comma) -> 4 -- requires getItem(), getDelimiters() put param(1) into workingString repeat with i = 2 to paramcount()-1 step 2 put getItem(workingString,param(i),param(i+1)) into workingString end repeat return workingString end getNestedItems 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 -- allows tDelim to be a string of characters -- so you could do this: -- getItem("a//b//c//d//e//f",4,"//") -> d -- requires getDelimiters() if tDelim = empty then put comma into tDelim put getDelimiters(tList) into workingDelim replace tDelim with workingDelim in tList set the itemdelimiter to workingDelim return item tIndex of tList end getItem function getDelimiters tText,nbr -- returns a cr-delimited list of characters -- not found in the variable tText -- use for delimiters for, eg, parsing text files, loading arrays, etc. -- usage: put getDelimiters(tText,2) into tDelims -- put line 1 of tDelims into lineDivider -- put line 2 of tDelims into itemDivider -- etc. if nbr = empty then put 1 into nbr -- default 1 delimiter put "2,3,4,5,6,7,8,16,17,18,19,20" into baseList -- could use other non-standard ASCII values put the number of items of baseList into maxNbr if nbr > maxNbr then return "Error: max" && maxNbr && "delimiters." repeat with tCount = 1 to nbr put true into failed repeat with i = 1 to the number of items of baseList put item i of baseList into testNbr put numtochar(testNbr) into testChar if testChar is not in tText then -- found one, store and get next delim put false into failed put testChar into line tCount of delimList exit repeat end if end repeat if failed then put the number of lines of delimList into nbrFound if nbr = 1 then return "Cannot get delimiter!" else if nbrFound = 0 then return "Cannot get any delimiters!" else return "Can only get" && nbrFound && "delimiters!" end if end if delete item i of baseList end repeat return delimList end getDelimiters This should simplify complex text parsing considerably. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On October 17, 2014, I wrote: > Re extending the itemdelimiter keyword... The handler I posted for getItem() is easily modified to allow the itemdel to consist of a string of characters, so you could do: > getItem("a//b//c//d//e//f",4,"//") -> d > > So while we're waiting for the language to be expanded, you could use this: > > 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 > -- also allows tDelim to be a string of characters ! > > -- requires getDelimiters() > > if tDelim = empty then put comma into tDelim > put getDelimiters(tList) into workingDelim > replace tDelim with workingDelim in tList > set the itemdelimiter to workingDelim > return item tIndex of tList > end getItem > > function getDelimiters tText,nbr > -- returns a cr-delimited list of characters > -- not found in the variable tText > -- use for delimiters for, eg, parsing text files, loading arrays, etc. > -- usage: put getDelimiters(tText,2) into tDelims > -- put line 1 of tDelims into lineDivider > -- put line 2 of tDelims into itemDivider > -- etc. > > if nbr = empty then put 1 into nbr -- default 1 delimiter > put "2,3,4,5,6,7,8,16,17,18,19,20" into baseList > -- could use other non-printing ASCII values > put the number of items of baseList into maxNbr > if nbr > maxNbr then return "Error: max" && maxNbr && "delimiters." > repeat with tCount = 1 to nbr > put true into failed > repeat with i = 1 to the number of items of baseList > put item i of baseList into testNbr > put numtochar(testNbr) into testChar > if testChar is not in tText then > -- found one, store and get next delim > put false into failed > put testChar into line tCount of delimList > exit repeat > end if > end repeat > if failed then > put the number of lines of delimList into nbrFound > if nbr = 1 then > return "Error: cannot get delimiter!" > else if nbrFound = 0 then > return "Error: cannot get any delimiters!" > else > return "Error: can only get" && nbrFound && "delimiters!" > end if > end if > delete item i of baseList > end repeat > return delimList > end getDelimiters > From terry.judd at unimelb.edu.au Fri Oct 17 17:42:00 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 17 Oct 2014 21:42:00 +0000 Subject: handling push notifications In-Reply-To: References: Message-ID: OK, it seems like you do get the payload when opening the app from the notification centre on iOS8 but not iOS6. I?m not sure about iOS7 because I haven?t got another device that I can test it on. Does anyone know? Terry... On 17/10/2014 12:31 pm, "Terry Judd" wrote: >That?s disappointing. Just to get this straight, the only time I get the >payload is if the app is open - either when the notification arrives or if >I select it from the ?list? available when swiping down from the top of >the screen. If the app isn?t open then no payload via any method. > >Terry... > >On 17/10/2014 11:51 am, "Mike Kerner" wrote: > >>you don't. There are several open bug reports on push, and that's one of >>them. If the app isn't running and the user opens it via the >>springboard, >>no payload. If they open it via the notification center, payload. >> >>On Thu, Oct 16, 2014 at 7:02 PM, Terry Judd >>wrote: >> >>> Just starting with push notifications and have managed to get a simple >>> example working using the livecode example code and AWS?s SNS service. >>>So >>> far so good! >>> >>> Now, in the livecode example it an ?alert? and a ?payload? are sent. >>>The >>> payload is received if the app is open and the alert is displayed if it >>> isn?t. How do you capture the payload if the app isn?t open ? for >>>example >>> if you wanted to display it when the user taps the notification alert? >>> >>> Terry? >>> >>> Dr Terry Judd< >>> http://scholar.google.com.au/citations?user=XC5s6wwAAAAJ&hl=en> >>> Senior Lecturer in Medical Education >>> Medical Education >>>Unit >>> The University of Melbourne >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >>-- >>On the first day, God created the heavens and the Earth >>On the second day, God created the oceans. >>On the third day, God put the animals on hold for a few hours, >> and did a little diving. >>And God said, "This is good." >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Oct 17 21:11:35 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 17 Oct 2014 18:11:35 -0700 (PDT) Subject: RELEASE 6.7 RC3 In-Reply-To: References: Message-ID: <1413594695659-4684718.post@n4.nabble.com> Being a Graphic Designer, I find really useful these new additions: 1- Effective points of graphics 2- Nine-way stretch for images When are we going to have in LiveCode engine different bitmap image filters for all platforms? for example: http://bl.ocks.org/mbostock/1342359 (gaussian blur) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-6-7-RC3-tp4684706p4684718.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Oct 17 22:12:18 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Oct 2014 19:12:18 -0700 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <3AFB68F1-64B6-487B-971E-696062AB1C19@m-r-d.de> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> <5D676EB3-DE2F-4657-B4C5-C22AF7A05026@gmail.com> <3AFB68F1-64B6-487B-971E-696062AB1C19@m-r-d.de> Message-ID: <481735616481.20141017191218@ahsoftware.net> Matthias- Friday, October 17, 2014, 6:33:07 AM, you wrote: > Okay, thanks. > Interesting is, that some emails are sent/received immediatley > and ohters take hours. There are even some emails i sent out 2 days > ago which the recipient did not receive yet. This seems to be fairly typical on-rev performance. Best bet is to configure your mail client to use your isp's smtp server. I haven't used the on-rev smtp servers in years now. -- -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 richmondmathewson at gmail.com Sat Oct 18 00:11:48 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 Oct 2014 07:11:48 +0300 Subject: RELEASE 6.7 RC3 In-Reply-To: <544168D8.6020609@livecode.com> References: <54416195.6050608@gmail.com> <544168D8.6020609@livecode.com> Message-ID: <5441E884.4020100@gmail.com> On 17/10/14 22:07, Fraser Gordon wrote: > On 17/10/2014 19:36, Richmond wrote: >> On 17/10/14 19:45, Benjamin Beaumont wrote: >> >> Super! >> >> Does this: >>> - OS 10.5 (Leopard) Support >>> >> Mean Mac OS 10.5 PPC and INTEL, or only INTEL? >> >> This is not documented in the Release notes. > Unfortunately, it looks like the most important word disappeared from > that sentence - it should be "OSX 10.5 (Leopard) support dropped". That is what I understood previously, and was a bit surprised. Richmond. > The major change in 6.7 was moving from Carbon to Cocoa APIs on OSX and > to do that we needed to use a couple of APIs that were only available on > 10.6 onwards. > > 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 t.heaford at btinternet.com Sat Oct 18 02:50:23 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 18 Oct 2014 07:50:23 +0100 Subject: RELEASE 6.7 RC3 In-Reply-To: References: Message-ID: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> I reported a couple of releases ago that the scrolling of a data grid had improved by approx. 15% - 20%. I can now report that RC3 vs RC2 has now reverted back as RC3 is now approx. 15% - 20% SLOWER at scrolling than RC2. Is this because of updated text rendering, if it is then please revert the speed of text rendering to what it was? or carry out improvements. I know my machine is somewhat old but compared to Cocoa native scrolling table and dare I say it, Xojo, this is appallingly slow. Scrolling a table of 2000 records & 8 columns. Cocoa/Obj C Table - 4 seconds Xojo - 6 seconds Livecode - 10 seconds was 8 seconds (RC2). ??? All the best Terry > On 17 Oct 2014, at 17:45, Benjamin Beaumont wrote: > > - Updated text rendering for iOS and OS X From lan.kc.macmail at gmail.com Sat Oct 18 03:12:08 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 18 Oct 2014 15:12:08 +0800 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <543FFDB9.5010804@fourthworld.com> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> <543FFDB9.5010804@fourthworld.com> Message-ID: On Fri, Oct 17, 2014 at 1:17 AM, Richard Gaskin wrote: > > But if you need stability, the most recent public release build is the > best bet, as those are the versions the community has tested and can no > longer find show-stoppers for. > > An excellent overview, thank you. I think the only thing worth adding is due to Unicode 7.0 and above are a different file format therefore you need to be careful you don't accidentally open the sole copy of your soon to be released killer app in 7.x. You can do all your work in 6.x.y, make a copy, open it in 7.x and see how it behaves. You can't open in 7.x, do modifications, Save, Quit and then open that stack using 6.x.y Any modifications done in a 7.x copy would need to be manually transferred back into a 6.x.y stack. From dave at applicationinsight.com Sat Oct 18 10:06:06 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 18 Oct 2014 07:06:06 -0700 (PDT) Subject: Teaching LiveCode to Children In-Reply-To: <1051660051949.20141016221252@ahsoftware.net> References: <1413334640375-4684591.post@n4.nabble.com> <1051660051949.20141016221252@ahsoftware.net> Message-ID: <1413641166430-4684723.post@n4.nabble.com> Thanks Mark :) mwieder wrote > You mean as opposed to thwimming? > > https://www.youtube.com/watch?v=CC_iWnt0ooA ----- "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/Teaching-LiveCode-to-Children-tp4684218p4684723.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Sat Oct 18 12:53:02 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 18 Oct 2014 09:53:02 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> <543FFDB9.5010804@fourthworld.com> Message-ID: <07D1F780-C9A4-406E-AFD6-DAA1BC12EF7A@earthednet.org> Is it possible to build a standalone in LC 7 rc3 at this time? Unfortunately, I have been working in 7 for awhile and want to have a standalone in January. Bill William Prothero http://es.earthednet.org > On Oct 18, 2014, at 12:12 AM, Kay C Lan wrote: > > On Fri, Oct 17, 2014 at 1:17 AM, Richard Gaskin > wrote: > >> >> But if you need stability, the most recent public release build is the >> best bet, as those are the versions the community has tested and can no >> longer find show-stoppers for. >> >> An excellent overview, thank you. I think the only thing worth adding is > due to Unicode 7.0 and above are a different file format therefore you need > to be careful you don't accidentally open the sole copy of your soon to be > released killer app in 7.x. > > You can do all your work in 6.x.y, make a copy, open it in 7.x and see how > it behaves. > > You can't open in 7.x, do modifications, Save, Quit and then open that > stack using 6.x.y > > Any modifications done in a 7.x copy would need to be manually transferred > back into a 6.x.y stack. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sat Oct 18 13:06:00 2014 From: irog at mac.com (Roger Guay) Date: Sat, 18 Oct 2014 10:06:00 -0700 Subject: Screen Flashing in LC 6..6.3 In-Reply-To: <07D1F780-C9A4-406E-AFD6-DAA1BC12EF7A@earthednet.org> References: <52F4CD4098B27344A9CC4FA0329B88B24BF6C031@CAE145EMBP03.ds.sc.edu> <543FFDB9.5010804@fourthworld.com> <07D1F780-C9A4-406E-AFD6-DAA1BC12EF7A@earthednet.org> Message-ID: <195C78BC-E14E-45B1-BE66-47E4E4C183F7@mac.com> I?m using OS X Yosemite and LC 6.6.3 and noticing an occasional screen flash when unlocking screen with visual effect. Can anyone confirm? Here is a sample of my code that sometimes causes a screen flash. Makes no difference what visual effect I use . . . near as I can tell. on mouseUp lock screen for visual effect set the vis of image "galex" to not the vis of image "galex" unlock screen with dissolve end mouseUp Thanks, Roger From ray at linkit.com Sat Oct 18 13:55:34 2014 From: ray at linkit.com (Ray) Date: Sat, 18 Oct 2014 14:55:34 -0300 Subject: Import and Export on Android In-Reply-To: <1651197472393.20141011134303@ahsoftware.net> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> Message-ID: <5442A996.1060509@LinkIt.Com> Greetings, Could anybody help me importing and exporting data on an Android phone? I can't even load the clipboard with; set the clipboardData["text"] to myData It works within my app but if I move over to Memo or Google Sheets it's just not there. Ideally I'd like to be able to write text files to a folder I create, or even better, write a file which I can send via Bluetooth or put in a Dropbox account. Any ideas? Many Thanks! Ray Horsley LinkIt! Software From sean at pidigital.co.uk Sat Oct 18 14:17:24 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 18 Oct 2014 19:17:24 +0100 Subject: RELEASE 6.7 RC3 In-Reply-To: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> References: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> Message-ID: Hi Terry, I wonder if a grid of 8x2000 text fields would produce the same findings of slow rendering as a dataGrid. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 18 October 2014 07:50, Terence Heaford wrote: > I reported a couple of releases ago that the scrolling of a data grid had > improved by approx. 15% - 20%. > > I can now report that RC3 vs RC2 has now reverted back as RC3 is now > approx. 15% - 20% SLOWER at scrolling than RC2. > > Is this because of updated text rendering, if it is then please revert the > speed of text rendering to what it was? or carry out improvements. > > I know my machine is somewhat old but compared to Cocoa native scrolling > table and dare I say it, Xojo, this is appallingly slow. > > Scrolling a table of 2000 records & 8 columns. > > Cocoa/Obj C Table - 4 seconds > Xojo - 6 seconds > Livecode - 10 seconds was 8 seconds (RC2). > > ??? > > All the best > > Terry > > > > On 17 Oct 2014, at 17:45, Benjamin Beaumont wrote: > > > > - Updated text rendering for iOS and OS X > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Sat Oct 18 14:54:14 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sat, 18 Oct 2014 20:54:14 +0200 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <481735616481.20141017191218@ahsoftware.net> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> <5D676EB3-DE2F-4657-B4C5-C22AF7A05026@gmail.com> <3AFB68F1-64B6-487B-971E-696062AB1C19@m-r-d.de> <481735616481.20141017191218@ahsoftware.net> Message-ID: <11EE77BD-D190-47CF-92ED-6C47A02B2963@m-r-d.de> Hi Mark, please excuse, but if you haven?t used the on-rev servers in years now, then you have no experience with the new on-rev servers. And therefore it is not fair to comment about the new servers. The performance of the new servers is significant better than the original ones. The problem i reported yesterday was a temporary problem which seems to be fixed now and SMTP is working again w/o problems. Regards, Matthias > Am 18.10.2014 um 04:12 schrieb Mark Wieder : > > Matthias- > > Friday, October 17, 2014, 6:33:07 AM, you wrote: > >> Okay, thanks. >> Interesting is, that some emails are sent/received immediatley >> and ohters take hours. There are even some emails i sent out 2 days >> ago which the recipient did not receive yet. > > This seems to be fairly typical on-rev performance. > Best bet is to configure your mail client to use your isp's smtp > server. > I haven't used the on-rev smtp servers in years now. > > -- > -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 Sat Oct 18 15:08:40 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Oct 2014 12:08:40 -0700 Subject: [On-Rev] Is anyone else experiencing delays in email transmission from/to accounts on Pancake? In-Reply-To: <11EE77BD-D190-47CF-92ED-6C47A02B2963@m-r-d.de> References: <7860C455-8105-4B89-B2A8-00A897DDB9F0@m-r-d.de> <5D676EB3-DE2F-4657-B4C5-C22AF7A05026@gmail.com> <3AFB68F1-64B6-487B-971E-696062AB1C19@m-r-d.de> <481735616481.20141017191218@ahsoftware.net> <11EE77BD-D190-47CF-92ED-6C47A02B2963@m-r-d.de> Message-ID: <1231796597565.20141018120840@ahsoftware.net> Matthias- Saturday, October 18, 2014, 11:54:14 AM, you wrote: > Hi Mark, > please excuse, but if you haven?t used the on-rev servers in years now, then you > have no experience with the new on-rev servers. And therefore it > is not fair to comment about the new servers. No, I *am* hosted on on-rev, I just don't use the smtp servers. Because of exactly the intermittent but frequent problem you ran into. Unless you are using on-rev as your isp, and I don't think that's even possible, there's no reason to use their smtp servers and several reasons not to. > The performance of the new servers is significant better than the original ones. Yes, this is quite true. When they work. > The problem i reported yesterday was a temporary problem which > seems to be fixed now and SMTP is working again w/o problems. And it will occur again. And again. You may or may not notice it, depending on how critical your email needs are when it goes out. -- -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 lists at mangomultimedia.com Sat Oct 18 15:23:52 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 18 Oct 2014 15:23:52 -0400 Subject: RELEASE 6.7 RC3 In-Reply-To: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> References: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> Message-ID: On Saturday, October 18, 2014, Terence Heaford wrote: > I reported a couple of releases ago that the scrolling of a data grid had > improved by approx. 15% - 20%. > > I can now report that RC3 vs RC2 has now reverted back as RC3 is now > approx. 15% - 20% SLOWER at scrolling than RC2. > Threaded rendering was turned off in RC-3. While it did speed some things up, it was causing a number of crashes. -- Trevor DeVore From t.heaford at btinternet.com Sat Oct 18 16:23:49 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 18 Oct 2014 21:23:49 +0100 Subject: RELEASE 6.7 RC3 In-Reply-To: References: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> Message-ID: <4CDA7E6A-7A42-41B5-BE0D-68B186CE9390@btinternet.com> Can the crashes be resolved then and it turned back on or some other solution to increasing the speed or are we doomed? All the best Terry > On 18 Oct 2014, at 20:23, Trevor DeVore wrote: > > Threaded rendering was turned off in RC-3. While it did speed some things > up, it was causing a number of crashes. From ambassador at fourthworld.com Sat Oct 18 18:05:13 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 Oct 2014 15:05:13 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <07D1F780-C9A4-406E-AFD6-DAA1BC12EF7A@earthednet.org> References: <07D1F780-C9A4-406E-AFD6-DAA1BC12EF7A@earthednet.org> Message-ID: <5442E419.6070203@fourthworld.com> Earthednet-wp wrote: > Is it possible to build a standalone in LC 7 rc3 at this time? > Unfortunately, I have been working in 7 for awhile and want to > have a standalone in January. What problems have you encountered? -- 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 mats.wilstrand at tapirsoft.com Sat Oct 18 18:20:23 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Sun, 19 Oct 2014 00:20:23 +0200 Subject: SV: RELEASE 6.7 RC3 In-Reply-To: <4CDA7E6A-7A42-41B5-BE0D-68B186CE9390@btinternet.com> References: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> <4CDA7E6A-7A42-41B5-BE0D-68B186CE9390@btinternet.com> Message-ID: <002101cfeb21$b650a3e0$22f1eba0$@tapirsoft.com> Hi Terry I'm following your reporting on this with interest as I'm updating rGrid to v 2.0 focusing on performance and will do some benchmarking. Could you please tell how you set up your comparisons or even better, could you share a test stack? With my best regards Mats -----Ursprungligt meddelande----- Fr?n: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] F?r Terence Heaford Skickat: den 18 oktober 2014 22:24 Till: How to use LiveCode ?mne: Re: RELEASE 6.7 RC3 Can the crashes be resolved then and it turned back on or some other solution to increasing the speed or are we doomed? All the best Terry > On 18 Oct 2014, at 20:23, Trevor DeVore wrote: > > Threaded rendering was turned off in RC-3. While it did speed some > things up, it was causing a number of crashes. _______________________________________________ use-livecode mailing list use-livecode at 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 Sat Oct 18 22:55:39 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 18 Oct 2014 22:55:39 -0400 Subject: RELEASE 6.7 RC3 In-Reply-To: <4CDA7E6A-7A42-41B5-BE0D-68B186CE9390@btinternet.com> References: <48F474CF-1B0C-4556-9348-BD1D03D22FE7@btinternet.com> <4CDA7E6A-7A42-41B5-BE0D-68B186CE9390@btinternet.com> Message-ID: On Saturday, October 18, 2014, Terence Heaford wrote: > Can the crashes be resolved then and it turned back on or some other > solution to increasing the speed or are we doomed? > 1) You're never doomed :-) 2) I don't know when/if it will be turned back on. I know that improving graphics speed is something that is very important to RunRev though. -- Trevor DeVore From userev at canelasoftware.com Sun Oct 19 00:17:00 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 18 Oct 2014 21:17:00 -0700 Subject: Import and Export on Android In-Reply-To: <5442A996.1060509@LinkIt.Com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5442A996.1060509@LinkIt.Com> Message-ID: <61CDFA22-18F5-41B7-9440-E0412E392C6F@canelasoftware.com> There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. Mark > On Oct 18, 2014, at 10:55 AM, Ray wrote: > > Greetings, > > Could anybody help me importing and exporting data on an Android phone? I can't even load the clipboard with; > > set the clipboardData["text"] to myData > > It works within my app but if I move over to Memo or Google Sheets it's just not there. > > Ideally I'd like to be able to write text files to a folder I create, or even better, write a file which I can send via Bluetooth or put in a Dropbox account. > > Any ideas? > > Many Thanks! > > Ray Horsley > LinkIt! Software > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 19 01:33:48 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 18 Oct 2014 22:33:48 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <5442E419.6070203@fourthworld.com> References: <07D1F780-C9A4-406E-AFD6-DAA1BC12EF7A@earthednet.org> <5442E419.6070203@fourthworld.com> Message-ID: <38259A37-0EBE-4116-B65E-8E6A5D5C76DD@earthednet.org> Richard, Well, in my ignorance and newbiness, I decided to try lc7 and haven't experienced ant problems, except for a slowdown changing bytes in a large image, to plot symbols on a map. So, I started using it for developing my project (silly me) and can't easily go back to the release version because of the many changes I've made. My deadline is January, so I thought there would be a release out by then. Anyway, I have found no issues with v7 so far. But, if there isn't a release before my deadline, I will still need to make a standalone for one particular user. That's why I asked. I still haven't tries to make a standalone in LC, so ........ Bill William Prothero http://es.earthednet.org > On Oct 18, 2014, at 3:05 PM, Richard Gaskin wrote: > > Earthednet-wp wrote: > > > Is it possible to build a standalone in LC 7 rc3 at this time? > > Unfortunately, I have been working in 7 for awhile and want to > > have a standalone in January. > > What problems have you encountered? > > -- > 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 t.heaford at btinternet.com Sun Oct 19 03:03:23 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 19 Oct 2014 08:03:23 +0100 Subject: Yosemite? In-Reply-To: <92E1A0F9-0836-4A70-9618-3DA2011817B0@btinternet.com> References: <001d01cfe9e0$a24794e0$e6d6bea0$@de> <92E1A0F9-0836-4A70-9618-3DA2011817B0@btinternet.com> Message-ID: I have tried for a while now and I am finding it difficult to adapt to the new system font, Helvetica Neue, particularly in the menu bar. Did a little research and came across this web site with a discussion about changing it back to Lucida Grande, http://www.fastcodesign.com/3031432/why-apples-new-font-wont-work-on-your-desktop . In the discussion further down the page is a link to an Applescript that manages to change it back to Lucida Grande. https://drive.google.com/folderview?id=0B_u6AjwB3JxSR19USk9CSWhMTnM&usp=sharing I bit the bullet and tried it and it seems to work. Try at your own risk. All the best Terry > On 17 Oct 2014, at 18:01, Terence Heaford wrote: > > Not sure on the system font but will see how it goes, I think I preferred Lucida Grande rather than Helvetica Neue. From pmbrig at gmail.com Sun Oct 19 07:22:33 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 19 Oct 2014 07:22:33 -0400 Subject: Import and Export on Android In-Reply-To: <61CDFA22-18F5-41B7-9440-E0412E392C6F@canelasoftware.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5442A996.1060509@LinkIt.Com> <61CDFA22-18F5-41B7-9440-E0412E392C6F@canelasoftware.com> Message-ID: <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: > There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) (Autocorrect, I assume.) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From sean at pidigital.co.uk Sun Oct 19 11:31:01 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 19 Oct 2014 16:31:01 +0100 Subject: [ANN] New iPad App Out Today - iMuertos In-Reply-To: References: <1932FA45-1492-429A-9915-F32D93215FFE@gmail.com> Message-ID: Hi Scott, Great little app. Btw, just a little note that the reCaptcha thing is not working on the forum registration page (so I've been unable to register). I wanted to let you know (if you weren't already aware) that tmcontrols2 (which is phenomenal by the way - one of my absolute favourites) has a problem with its stack mask not rescaling on retina displays in LC6.7 rc3. It was ok in rc2 but they've updated the scaler and that seems to have upset it. Looking forward to seeing your other categories come to fruition. Truly loving your controls (as are my clients). All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 17 October 2014 19:31, Scott Rossi wrote: > Thanks for the kind words. :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 10/17/14, 11:13 AM, "Skip Kimpel" wrote: > > >Fun stuff. Just spent my lunch hour playing around with it. > > > >Great job! > > > > > > > >> On Oct 17, 2014, at 2:06 PM, Scott Rossi > wrote: > >> > >> Happy to announce the release of a new iPad app made with LiveCode: > >> iMuertos. A collaboration between myself and a long time friend from > >> Mexico, iMuertos offers several themed activities related to the > >>upcoming > >> Dia de los Muertos (Day of the Dead) celebration in November. Make fun > >> designs, share them with friends, and learn a bit about the history of > >>the > >> holiday. > >> > >> https://itunes.apple.com/us/app/id927288970 > >> > >> > >> > >> If anybody wants to be generous and leave a nice review, that?s always > >> welcome :-) > >> > >> 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 19 11:55:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 19 Oct 2014 08:55:09 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <38259A37-0EBE-4116-B65E-8E6A5D5C76DD@earthednet.org> References: <38259A37-0EBE-4116-B65E-8E6A5D5C76DD@earthednet.org> Message-ID: <5443DEDD.6070808@fourthworld.com> Earthednet-wp wrote: > Well, in my ignorance and newbiness, I decided to try lc7 and > haven't experienced ant problems, except for a slowdown changing > bytes in a large image, to plot symbols on a map. So, I started > using it for developing my project (silly me) and can't easily > go back to the release version because of the many changes I've made. It's true that v7 uses a new file format, but they've enhanced the file format a few times over the years and each time they provide a way to save in older versions if needed. With v7 you can use File->Save As to save to the previous three formats in addition to the v7 format, providing compatibility with all versions of LiveCode spanning more than a decade. Of course if your work requires any features specific to v7, like the new Unicode enhancements, then saving as an older format won't do much for you. But if you're just working on code that'll run in any recent version you should be fine. It's a good idea to make regular backups of any time-intensive files in any app, even more so with pre-release apps. But you've been around the block enough that I'm sure you do that regularly anyway. > My deadline is January, so I thought there would be a release out > by then. Anyway, I have found no issues with v7 so far. Thaf's really good to hear. If you do run into any issues please report them ASAP so the team can jump on them before the final release. > But, if there isn't a release before my deadline, I will still > need to make a standalone for one particular user. That's why I > asked. I still haven't tries to make a standalone in LC, so ........ Sounds like you're in good shape. Their schedule has v7 finalized long before the end of the year (ideally by early November, unless our testing shows anything that would hold it back for more work), so the timeline looks good for what you need and it sounds like the functionality your app relies on is all in place. It may be helpful at this time to build a standalone just to test that. Sometimes the differences between development and runtime can make alter some aspects of behavior, usually not significant but better to find out now while the team can act on it quickly if needed. -- 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 ray at linkit.com Sun Oct 19 13:01:36 2014 From: ray at linkit.com (Ray) Date: Sun, 19 Oct 2014 14:01:36 -0300 Subject: Import and Export on Android In-Reply-To: <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5442A996.1060509@LinkIt.Com> <61CDFA22-18F5-41B7-9440-E0412E392C6F@canelasoftware.com> <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> Message-ID: <5443EE70.2080303@LinkIt.Com> Bad news - I've just installed Livecode version 7.0 (rc2) and the clipboard is as dead in this version as it is was in the last "stable" release. I didn't try 6.7 (rc2). I figured if the bug showed up in 6.6 and was fixed in 6.7 that it wouldn't resurface in 7.0. Am I wrong? On 10/19/2014 8:22 AM, Peter M. Brigham wrote: > On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: > >> There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. > I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) > (Autocorrect, I assume.) > > -- 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 johnpatten at me.com Sun Oct 19 13:30:28 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Sun, 19 Oct 2014 10:30:28 -0700 Subject: Snapping To A Grid of TopLefts? Message-ID: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> Hi All, I?m trying to figure out a way to have objects snap to a grid on the mouseUp. I have a list of TopLeft coordinates. 500,50 500,125 500,200 500,275 400,50 400,125 ? I want the object to snap to the closest topLeft coordinate in the list upon a mouseUp. I was tried subtracting current x and y coordinate from each item in list, but that quickly was getting complicated. on mouseUp put the topLeft of me into tMyLoc put item 1 of tMyLoc into tXLoc put item 2 of tMyLoc into tYLoc put 1 into tItem1 put 1 into tItem2 put 1 into x repeat for number of lines in cd fld 1 put item tItem1 of line x of cd fld 1 into tXTarget put item tItem2 of line x of cd fld 1 into tYTarget put the abs of (tXTarget - tXLoc) & "," after tCoords put the abs of (tYTarget - tYLoc) & return after tCoords add 1 to x end repeat put "My Current Loc:" && tMyLoc after tCoords answer tCoords end mouseUp on MouseDown Grab me end MouseDown Interesting it appears the smallest abs result of the subtraction seems to be the closes x coord listed. But that only gets me half way there. I thought I?d throw it out here for suggestions?? Thank you! From ali at runrev.com Sun Oct 19 14:17:00 2014 From: ali at runrev.com (Ali Lloyd) Date: Sun, 19 Oct 2014 19:17:00 +0100 Subject: Snapping To A Grid of TopLefts? In-Reply-To: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> References: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> Message-ID: Hi John, I use this handler to snap to a grid, there may well be clearer / more efficient implementations though. constant kHDist = 100 // horizontal distance between points constant kVDist = 75 // vertical distance between points on locToSnap @xLeft, @xTop local tTopOver, tLeftOver put (xLeft mod kHDist) into tLeftOver put (xTop mod kVDist) into tTopOver if tLeftOver > kHDist/2 then add kHDist to xLeft end if if tTopOver > kVDist/2 then add kVDist to xTop end if put (xLeft - tLeftOver) into xLeft put (xTop - tTopOver) into xTop end locToSnap Ali On 19 October 2014 18:30, JOHN PATTEN wrote: > Hi All, > > I?m trying to figure out a way to have objects snap to a grid on the > mouseUp. I have a list of TopLeft coordinates. > 500,50 > 500,125 > 500,200 > 500,275 > 400,50 > 400,125 ? > > I want the object to snap to the closest topLeft coordinate in the list > upon a mouseUp. > > I was tried subtracting current x and y coordinate from each item in list, > but that quickly was getting complicated. > > on mouseUp > put the topLeft of me into tMyLoc > put item 1 of tMyLoc into tXLoc > put item 2 of tMyLoc into tYLoc > put 1 into tItem1 > put 1 into tItem2 > put 1 into x > repeat for number of lines in cd fld 1 > put item tItem1 of line x of cd fld 1 into tXTarget > put item tItem2 of line x of cd fld 1 into tYTarget > put the abs of (tXTarget - tXLoc) & "," after tCoords > put the abs of (tYTarget - tYLoc) & return after tCoords > add 1 to x > end repeat > put "My Current Loc:" && tMyLoc after tCoords > answer tCoords > end mouseUp > > on MouseDown > Grab me > end MouseDown > > Interesting it appears the smallest abs result of the subtraction seems to > be the closes x coord listed. But that only gets me half way there. I > thought I?d throw it out here for suggestions?? > > Thank you! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mkoob at rogers.com Sun Oct 19 14:21:54 2014 From: mkoob at rogers.com (Martin Koob) Date: Sun, 19 Oct 2014 11:21:54 -0700 (PDT) Subject: Snapping To A Grid of TopLefts? In-Reply-To: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> References: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> Message-ID: <1413742914028-4684744.post@n4.nabble.com> This will snap to a 100 X 75 grid anywhere on the card. It does not restrict the bounds i.e. left from 50 to 275, but that could be added. on mouseUp put the top of me into tTop put the left of me into tLeft put round(tTop / 75) * 75 into tNewTop put round(tLeft /100) * 100 into tNewLeft lock screen set the top of me to tNewTop set the left of me to tNewLeft unlock screen put the topLeft of me end mouseUp on mouseDown grab me end mouseDown -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Snapping-To-A-Grid-of-TopLefts-tp4684742p4684744.html Sent from the Revolution - User mailing list archive at Nabble.com. From johnpatten at me.com Sun Oct 19 14:26:16 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Sun, 19 Oct 2014 11:26:16 -0700 Subject: Snapping To A Grid of TopLefts? In-Reply-To: <1413742914028-4684744.post@n4.nabble.com> References: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> <1413742914028-4684744.post@n4.nabble.com> Message-ID: <4A66F3D9-282C-47DC-AD23-6DB2A9426E4E@me.com> Thanks Martin and Ali, I figured I was making it more difficult than it needed to be :) I?ll give those a try. Thanks again! John Patten SUSD On Oct 19, 2014, at 11:21 AM, Martin Koob wrote: > This will snap to a 100 X 75 grid anywhere on the card. It does not restrict > the bounds i.e. left from 50 to 275, but that could be added. > > on mouseUp > put the top of me into tTop > put the left of me into tLeft > put round(tTop / 75) * 75 into tNewTop > put round(tLeft /100) * 100 into tNewLeft > lock screen > set the top of me to tNewTop > set the left of me to tNewLeft > unlock screen > put the topLeft of me > end mouseUp > > on mouseDown > grab me > end mouseDown > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Snapping-To-A-Grid-of-TopLefts-tp4684742p4684744.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 mkoob at rogers.com Sun Oct 19 14:34:24 2014 From: mkoob at rogers.com (Martin Koob) Date: Sun, 19 Oct 2014 11:34:24 -0700 (PDT) Subject: Snapping To A Grid of TopLefts? In-Reply-To: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> References: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> Message-ID: <1413743664076-4684746.post@n4.nabble.com> I never use passing params by reference. I have modified my script to use passing by reference and constants as Ali did. constant kHDist = 100 // horizontal distance between points constant kVDist = 75 // vertical distance between points on mouseUp put the top of me into tTop put the left of me into tLeft locToSnap tTop, tLeft lock screen set the top of me to tTop set the left of me to tLeft unlock screen put the topLeft of me end mouseUp on mouseDown grab me end mouseDown on locToSnap @xTop, @xLeft put round(xTop / kVDist) * kVDist into xTop put round(xLeft /kHDist) * kHDist into xLeft end locToSnap -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Snapping-To-A-Grid-of-TopLefts-tp4684742p4684746.html Sent from the Revolution - User mailing list archive at Nabble.com. From jiml at netrin.com Sun Oct 19 17:48:53 2014 From: jiml at netrin.com (Jim Lambert) Date: Sun, 19 Oct 2014 14:48:53 -0700 Subject: Programming LiveCode with LiveCode In-Reply-To: References: Message-ID: <69DA5C93-6F51-4607-8859-8A776D29007F@netrin.com> Larry wrote: > it will be easier to deal with those differences by just developing apps that run within a browser. Because don't both Android and iOS both run browsers? Absolutely. If your application?s features can be achieved as a web app running in a browser, that will be the most universal approach. No need for a native application at all. But if your features are not supported in a browser then you?ve got to go native. With that comes variation within and across platforms. It?s my prediction this variation will increase as mobile computing matures. Apple, Google and even some handset manufacturers (Amazon Fire) are starting to offer a bunch of unique client features, closely coupled with backend solutions, and often only available on a specific platform or device. Their goal is to create consumer and developer lock in. Richard wrote: > CloudKit is indeed nice, but so are the new Google Drive APIs: Exactly! They are both nice - nice and different. Does the developer use one or both? Depends on your needs. Great to have the choice. But such solutions are usually not meant to work cooperatively. Quite the opposite, they are meant as competitive differentiators for the companies that offer them. We developers will need to deal with this increasing differentiation. That?s why I love LiveCode. Widgets/Open Language will make LiveCode great for dealing with proprietary features and solutions - at least on the client, if not the backend. JimL From alex at harryscollar.com Sun Oct 19 19:30:05 2014 From: alex at harryscollar.com (Alex Shaw) Date: Mon, 20 Oct 2014 09:30:05 +1000 Subject: ANN: italklibrary iPad app released Message-ID: <5444497D.7090101@harryscollar.com> Finally finished the iPad version of italklibrary and wanted to say a big thank you to everyone who helped make this possible. It was available in the app store last month but have been quite busy. https://itunes.apple.com/au/app/italklibrary/id911637043?mt=8 It's free so please check it out and any feedback welcome. Can be improved in so many ways but up to the client. regards alex From ray at linkit.com Sun Oct 19 20:37:06 2014 From: ray at linkit.com (Ray) Date: Sun, 19 Oct 2014 21:37:06 -0300 Subject: Import and Export on Android In-Reply-To: <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5442A996.1060509@LinkIt.Com> <61CDFA22-18F5-41B7-9440-E0412E392C6F@canelasoftware.com> <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> Message-ID: <54445932.7050209@LinkIt.Com> Mark - sorry to bring bad news but I just tried this with 6.7 (rc3) and I'm not having any more luck than with the other two version. I'll write up a bug report. Any other suggestions like writing to a file that I can blue tooth, or open in Memo or Google Sheets? Thanks... On 10/19/2014 8:22 AM, Peter M. Brigham wrote: > On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: > >> There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. > I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) > (Autocorrect, I assume.) > > -- 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 dochawk at gmail.com Sun Oct 19 20:51:41 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 19 Oct 2014 17:51:41 -0700 Subject: Snapping To A Grid of TopLefts? In-Reply-To: <4A66F3D9-282C-47DC-AD23-6DB2A9426E4E@me.com> References: <9A5F9B2A-0E1D-4369-8AF5-8ACD52A52F55@me.com> <1413742914028-4684744.post@n4.nabble.com> <4A66F3D9-282C-47DC-AD23-6DB2A9426E4E@me.com> Message-ID: On Sun, Oct 19, 2014 at 11:26 AM, JOHN PATTEN wrote: > I figured I was making it more difficult than it needed to be :) > > But of course :) Anyway, you want to sum the *squares* of the X & Y differences, not the abs(), to get the shortest distance. (the distance is actually the square root of this, but if you're only comparing, there is no need for that calcuation) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From prothero at earthednet.org Mon Oct 20 01:08:41 2014 From: prothero at earthednet.org (William Prothero) Date: Sun, 19 Oct 2014 22:08:41 -0700 Subject: Can you please enlighten me on the LiveCode versions? In-Reply-To: <5443DEDD.6070808@fourthworld.com> References: <38259A37-0EBE-4116-B65E-8E6A5D5C76DD@earthednet.org> <5443DEDD.6070808@fourthworld.com> Message-ID: <69AF09DA-E102-459E-B7AB-B1F4D59DADAA@earthednet.org> Thanks, Richard. Good advice. I do make numerous backups during the day, and regularly to backup discs. And I hadn?t noticed I could ?save As..? to oleo versions, so that?s comforting. Mostly I?m using the standard features. The best improvement was made when they did some work on the snapshot command, which was failing. I?m not using unicode features, so older versions would do ok too. Best, Bill William A. Prothero http://es.earthednet.org/ On Oct 19, 2014, at 8:55 AM, Richard Gaskin wrote: > Earthednet-wp wrote: > > > Well, in my ignorance and newbiness, I decided to try lc7 and > > haven't experienced ant problems, except for a slowdown changing > > bytes in a large image, to plot symbols on a map. So, I started > > using it for developing my project (silly me) and can't easily > > go back to the release version because of the many changes I've made. > > It's true that v7 uses a new file format, but they've enhanced the file format a few times over the years and each time they provide a way to save in older versions if needed. > From brahma at hindu.org Mon Oct 20 02:34:18 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Sun, 19 Oct 2014 20:34:18 -1000 Subject: What is the command to hide and show development tools Message-ID: <5444ACEA.9030805@hindu.org> I like to run sometimes in the IDE, but still be able to hide everything for presentation mode... hide menubar doesn't hide the development tools... I could have sworn it did in earlier versions... loooong ago. What am I missing? Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From brahma at hindu.org Mon Oct 20 03:30:49 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Sun, 19 Oct 2014 21:30:49 -1000 Subject: Tools Bar In The Way Message-ID: <5444BA29.6030600@hindu.org> Back into some stack work again after doing server side scripting (in lc) for nearly 2 years. I have a lot of catch up to do... Some things in the IDE are still very wonky (even irritating) e.g. I dragged the application browser window up underneath the tools bar that is underneath the OS menu bar (OSX) Now I cannot access it to get it back down without using some msg cmd to reset the topleft. There used to be a way to minify the top of window tool set... now it seems the only thing you can do is suspend dev tools, but if you do that the application browser also disappears. Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From irog at mac.com Mon Oct 20 08:39:55 2014 From: irog at mac.com (Roger Guay) Date: Mon, 20 Oct 2014 05:39:55 -0700 Subject: Tools Bar In The Way In-Reply-To: <5444BA29.6030600@hindu.org> References: <5444BA29.6030600@hindu.org> Message-ID: Under the View menu, deselect ?Toolbar Text? and Toolbar Icon? Cheers, Roger > On Oct 20, 2014, at 12:30 AM, Brahmanathaswami wrote: > > Back into some stack work again after doing server side scripting (in lc) for nearly 2 years. I have a lot of catch up to do... > > Some things in the IDE are still very wonky (even irritating) > > e.g. I dragged the application browser window up underneath the tools bar that is underneath the OS menu bar (OSX) > > Now I cannot access it to get it back down without using some msg cmd to reset the topleft. > From pmbrig at gmail.com Mon Oct 20 08:46:56 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Mon, 20 Oct 2014 08:46:56 -0400 Subject: Tools Bar In The Way In-Reply-To: <5444BA29.6030600@hindu.org> References: <5444BA29.6030600@hindu.org> Message-ID: in the messagebox: set the topleft of stack "revApplicationOverview" to 150,150 -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mon, Oct 20, 2014 at 3:30 AM, Brahmanathaswami wrote: > Back into some stack work again after doing server side scripting (in lc) > for nearly 2 years. I have a lot of catch up to do... > > Some things in the IDE are still very wonky (even irritating) > > e.g. I dragged the application browser window up underneath the tools bar > that is underneath the OS menu bar (OSX) > > Now I cannot access it to get it back down without using some msg cmd to > reset the topleft. > > There used to be a way to minify the top of window tool set... now it > seems the only thing you can do is suspend dev tools, but if you do that > the application browser also disappears. > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.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 ray at linkit.com Mon Oct 20 09:15:32 2014 From: ray at linkit.com (Ray) Date: Mon, 20 Oct 2014 10:15:32 -0300 Subject: Import and Export on Android In-Reply-To: <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> References: <71072915-5CF8-4D52-A818-C83AF0C6F7E4@me.com> <54393760.8080102@LinkIt.Com> <5439380F.3060503@economy-x-talk.com> <54394092.5060703@LinkIt.Com> <54394423.2010906@economy-x-talk.com> <54398844.80700@LinkIt.Com> <1651197472393.20141011134303@ahsoftware.net> <5442A996.1060509@LinkIt.Com> <61CDFA22-18F5-41B7-9440-E0412E392C6F@canelasoftware.com> <363DD02B-3610-45CE-8124-FCEE2381DFDF@gmail.com> Message-ID: <54450AF4.5030409@LinkIt.Com> Peter, Mark, After filing this as a bug (can't put data on the clipboard in Android) I got this message from Hanson that it's not a bug. The clipboard is in fact not supported on any mobile devices. Any other suggestions on how to get data in or out of a mobile app? Thanks! Ray Horsley LinkIt! Software On 10/20/2014 8:19 AM, bugzilla-daemon at meg.on-rev.com wrote: > RunRev QCC changed bug 13720 > > What Removed Added > Status UNCONFIRMED RESOLVED > Resolution --- NOT_A_BUG > > *Comment # 2 on > bug 13720 from > RunRev QCC * > Hi Ray, > > thank you for logging this report. > > Unfortunately the clipboard functionality is currently not supported on mobile > devices. > Please check the relevant dictionary entries to find out what platforms are > supported. > > Kind Regards, > > Hanson > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You reported the bug. > On 10/19/2014 8:22 AM, Peter M. Brigham wrote: > On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: > >> There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. > I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) > (Autocorrect, I assume.) > > -- 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 t.heaford at btinternet.com Mon Oct 20 09:42:15 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 20 Oct 2014 14:42:15 +0100 Subject: Another LC UI glitch in Yosemite? Message-ID: <034D2880-AE28-44E6-AE2F-3B246FA76D91@btinternet.com> I have noticed in LC 6.7 (RC2 & RC3) that the highlight state of a button when pressed has black text on a blue background. Surely this should be white text on a blue background. I hope that RunRev do not release the product with the UI in this state as along with the incorrect colours on the tab panel it is becoming quite serious. Another reason to use native controls rather than emulated as all these types of problems would disappear. All the best Terry From pedinatural at comcast.net Mon Oct 20 10:40:03 2014 From: pedinatural at comcast.net (Terica Lynn Swangin) Date: Mon, 20 Oct 2014 10:40:03 -0400 Subject: Thank You - Teaching LiveCode to Children In-Reply-To: <1413334640375-4684591.post@n4.nabble.com> References: <1413334640375-4684591.post@n4.nabble.com> Message-ID: I want to wholeheartedly thank everyone who voted and got others to vote for me and my business PediNatural. I needed 250 to qualify for Round 3: Judges Review and as of the deadline on Friday the final tally was ~ 304 Votes ~ ! Now keep your fingers crossed that the judges feel the same way you do. To all those who helped me - You Are True Heroes For Children's Literacy. Thank you! Thank you! Terica Terica Lynn Swangin Owner/Founder PediNatural KART Digital Broadcasting Network (KART-DBN) KART Foundation PO Box 310 Maple Shade, NJ 08052 website: http://www.kartdbn.com/ email: pedinatural at comcast.net From bvg at mac.com Mon Oct 20 11:07:52 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 20 Oct 2014 17:07:52 +0200 Subject: Secure Sockets In-Reply-To: <1300F3F7-1AF7-4C7C-942C-7468577E7B53@mac.com> References: <1300F3F7-1AF7-4C7C-942C-7468577E7B53@mac.com> Message-ID: So can I safely assume that no one ever has tried to use secure sockets in LC? On 15 Oct 2014, at 18:59, Bj?rnke von Gierke wrote: > Hi all > > I'm rather uneducated with encryption stuff, so I wanted to try out secure sockets. However, most likely due to my incapability to understand what I'm doing, I've been unable to get a simple example working. > > I've used my own "simplest socket client/server" stacks from rev online, ran them in two different LC instances (because LC locks up if you do server and client in the same executable), and then I modified them to use secure stuff. > > First I simply set the client to use "open secure socket to...". Funnily this would show what I assumed where encrypted handshake messages on the server side (gibberish). But of course I have no Idea about how to decrypt those, plus, that's probably not how things should work. > > I then Added a "secure" to the server side by using "accept secure sockets on..." which would actually result in a connection (note: "secure" is undocumented for "accept" so I have made a bug report in regards to that, because it seems to work just fine.) However, If I then try to send a message from the client to the server, it fails with these errors on their respective ends: > > client: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure > server: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher > > I assume that I am using the commands correctly, but that I guess I do need to specify the server to use a certificate? > > Questions Galore! > > - Has anyone done secure sockets with both server and client implemented in LC (or just the server)? > - Is it possible to do a secure connection as CLIENT, when the certificate does not exist or remains unspecified on the client side? (I assume this is when I need to specify "without verification")? > - Is it possible to do a secure SERVER and not specify a certificate or a key on the server side? I guess not, but Is it possible to let LC do certificates and keys for me behind the curtains? > - I'm testing on mac os x, so I can create a certificate using Keychain.app. What settings would I need to do there? > - Is it insecure to issue a certificate for 127.0.0.1 (localhost)? > - If I got a certificate that is applicable, how do I tell LC to use it as my server certificate? > - SSLv3 Is deemed insecure. In case I ever get anything working, how can I disable SSL completely, and force my connections to always use TLS or even only TLSv1.2? > - How about any of the other minuteas of cypher selection and key exchange, how can I do that manually? should I do that manually? > > Thank you for any information, and feel free to answer any questions even if only partially or guesswork. Also feel free to answer questions which I neglected to ask. If I ever get this to work, and have some basic comprehension, I'll make a lesson at lessons.runrev.com, so everyone can benefit in the future. > > cheers > Bj?rnke > > -- > > 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 bobsneidar at iotecdigital.com Mon Oct 20 11:26:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Oct 2014 15:26:59 +0000 Subject: Hierarchical menu issue In-Reply-To: <001501cfea37$11265760$33730620$@FlexibleLearning.com> References: <001501cfea37$11265760$33730620$@FlexibleLearning.com> Message-ID: I also need this. I want users to be able to fleck off multi-selectable items in a list. Currently I hack it by putting a check mark and a tab before each selectable item, and a space and tab for the ones not selected. But Windows check marks and bullets are *not* Apple checkmarks and bullets! So now I have to do special case coding, and THEN I have to be careful what font I am using! Of course, that is a different issue than menu items, but the principle is the same. We need a ?marked? property for these things. On that note, I wonder if using HTML text in a list will have an effect... Bob S On Oct 17, 2014, at 11:20 , FlexibleLearning.com wrote: > It seems we cannot apply more than one checkmark flag in a hierarchical > menu... > > !rA > > Apples > > Arena > > !c Albatros > > Amazon > > > I'm sure we used to be able to do this... a bullet mark at level 1 along > with a tick mark at level 2. Or was that HyperCard/SuperCard only? > > Am I misremembering, or is it a bug? > > (Suddenly feeling very old) > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 20 11:34:04 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Oct 2014 15:34:04 +0000 Subject: Hierarchical menu issue In-Reply-To: References: <001501cfea37$11265760$33730620$@FlexibleLearning.com> Message-ID: <46CFDEBA-F7B7-45FA-ADB8-6C11984813E9@iotecdigital.com> WHOA! Setting the htmltext of a list field DOES in fact display as html! Now can this be applied to menus?? Bob S On Oct 20, 2014, at 08:26 , Bob Sneidar wrote: > I also need this. I want users to be able to fleck off multi-selectable items in a list. Currently I hack it by putting a check mark and a tab before each selectable item, and a space and tab for the ones not selected. But Windows check marks and bullets are *not* Apple checkmarks and bullets! So now I have to do special case coding, and THEN I have to be careful what font I am using! Of course, that is a different issue than menu items, but the principle is the same. We need a ?marked? property for these things. > > On that note, I wonder if using HTML text in a list will have an effect... > > Bob S > > > On Oct 17, 2014, at 11:20 , FlexibleLearning.com wrote: > >> It seems we cannot apply more than one checkmark flag in a hierarchical >> menu... >> >> !rA >> >> Apples >> >> Arena >> >> !c Albatros >> >> Amazon >> >> >> I'm sure we used to be able to do this... a bullet mark at level 1 along >> with a tick mark at level 2. Or was that HyperCard/SuperCard only? >> >> Am I misremembering, or is it a bug? >> >> (Suddenly feeling very old) >> >> Hugh Senior >> FLCo >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Mon Oct 20 11:47:28 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 20 Oct 2014 16:47:28 +0100 Subject: RELEASE: LiveCode 7.0 RC3 Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 7.0 RC 3. *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 Focus* 71 bug fixes *Important Changes* - We?ve update the platform component of the engine on Linux substantially. Think of it as the equivalent of the cocoa port for MacOS X. As a result, windowing related activities on Linux are subject to change. If you are testing on Linux we would encourage you to focus on windowing, window shapes, shortcuts, copy/paste and drag/drop. - LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the webkit browser, the new AVFoundation player on Mac. - 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* The number of bugs fixed is so large that it no longer makes sense to include a summary in the release email. Instead, please look at the bug fix section of the release notes which can be found here: http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_rc_3.pdf *Feeding Back* If you find an issue in this release, please report a bug at quality.runrev.com. Warm regards, The LiveCode Team From paulhibbert at mac.com Mon Oct 20 11:51:43 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 20 Oct 2014 08:51:43 -0700 Subject: What is the command to hide and show development tools In-Reply-To: <5444ACEA.9030805@hindu.org> References: <5444ACEA.9030805@hindu.org> Message-ID: <93B9E5CD-25B2-4AEC-AF05-16F204723E0B@mac.com> In the menu bar go to: Development > Suspend Development Tools Paul On Oct 19, 2014, at 11:34 PM, Brahmanathaswami wrote: > I like to run sometimes in the IDE, but still be able to hide everything for presentation mode... > > hide menubar doesn't hide the development tools... I could have sworn it did in earlier versions... loooong ago. > > What am I missing? > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.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 heather at runrev.com Tue Oct 21 06:21:55 2014 From: heather at runrev.com (Heather Laine) Date: Tue, 21 Oct 2014 11:21:55 +0100 Subject: another test Message-ID: <83A2DF2D-ED03-489A-A97F-AB5098C09045@runrev.com> Please ignore Heather Laine Customer Services Manager http://www.livecode.com/ From heather at runrev.com Tue Oct 21 09:15:17 2014 From: heather at runrev.com (Heather Laine) Date: Tue, 21 Oct 2014 14:15:17 +0100 Subject: Temporary list outage Message-ID: <129B6566-8FAB-4848-82A8-0B052E6EB151@runrev.com> Dear Folks, As a number of you have realized by now, we have a temporary issue with the list. We ran an update which should have fixed a problem with the list software and DMARC, the strict email standard that has been causing bounces for a number of list members. Unfortunately, the update at the moment has had the effect of bouncing all list mail... We are working on it and are confident it will be resolved shortly. In the meantime, we apologize for the inconvenience. The forums remain open for business: http://forums.livecode.com Warm Regards, Heather P.S. Yes, I know this message got through. We have direct access to the backend to force it to appear. Yours unfortunately will not, so please do not attempt to reply to the list until you receive another message from me confirming it is back up and running! Heather Laine Customer Services Manager http://www.livecode.com/ From dwilliams at livecode.com Wed Oct 22 08:10:33 2014 From: dwilliams at livecode.com (david williams) Date: Wed, 22 Oct 2014 13:10:33 +0100 Subject: Test post Message-ID: <54479EB9.1000905@livecode.com> Please ignore. From dwilliams at livecode.com Wed Oct 22 08:25:44 2014 From: dwilliams at livecode.com (david williams) Date: Wed, 22 Oct 2014 13:25:44 +0100 Subject: Final test Message-ID: <5447A248.1020504@livecode.com> Please ignore From heather at livecode.com Wed Oct 22 08:27:39 2014 From: heather at livecode.com (Heather Laine) Date: Wed, 22 Oct 2014 13:27:39 +0100 Subject: testing Message-ID: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> Does this post... Heather Laine Customer Services Manager http://www.livecode.com/ From m.schonewille at economy-x-talk.com Wed Oct 22 08:28:35 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 Oct 2014 14:28:35 +0200 Subject: testing In-Reply-To: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> References: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> Message-ID: <5447A2F3.10808@economy-x-talk.com> It does. -- 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 10/22/2014 14:27, Heather Laine wrote: > Does this post... > > > 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 mpetrides at earthlink.net Wed Oct 22 08:29:29 2014 From: mpetrides at earthlink.net (Marian Petrides MD) Date: Wed, 22 Oct 2014 08:29:29 -0400 Subject: testing In-Reply-To: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> References: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> Message-ID: <7DABBA9B-725F-4736-BEDC-869660D75F40@earthlink.net> Post came through here, if that?s what you are asking. > On Oct 22, 2014, at 8:27 AM, Heather Laine wrote: > > Does this post... > > > 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 heather at runrev.com Wed Oct 22 08:34:41 2014 From: heather at runrev.com (Heather Laine) Date: Wed, 22 Oct 2014 13:34:41 +0100 Subject: testing In-Reply-To: <5447A2F3.10808@economy-x-talk.com> References: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> <5447A2F3.10808@economy-x-talk.com> Message-ID: <8357B6A6-DF89-4981-9702-123E4F603CAF@runrev.com> Excellent... I think I can confirm we are back up and running. Normal business may resume, we apologise for the outage. We have also applied the update that is alleged to fix the problem which was causing certain users to bounce mail, thus unsubscribing other users for "too many bounces"... otherwise known as the DMARC Problem, an explanation may be seen here: http://www.pcworld.com/article/2141120/yahoo-email-antispoofing-policy-breaks-mailing-lists.html Warm Regards to All Heather On 22 Oct 2014, at 13:28, Mark Schonewille wrote: > It does. > > -- > 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 10/22/2014 14:27, Heather Laine wrote: >> Does this post... >> >> >> 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 Heather Laine Customer Services Manager http://www.livecode.com/ From MikeKerner at roadrunner.com Wed Oct 22 09:19:13 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 Oct 2014 09:19:13 -0400 Subject: handling push notifications In-Reply-To: References: Message-ID: Correct, if you open the app from the notification center in 7 or 8 you get the payload. However, if you just open the app from the springboard, you do not. On Fri, Oct 17, 2014 at 5:42 PM, Terry Judd wrote: > OK, it seems like you do get the payload when opening the app from the > notification centre on iOS8 but not iOS6. I?m not sure about iOS7 because > I haven?t got another device that I can test it on. Does anyone know? > > Terry... > > On 17/10/2014 12:31 pm, "Terry Judd" wrote: > > >That?s disappointing. Just to get this straight, the only time I get the > >payload is if the app is open - either when the notification arrives or if > >I select it from the ?list? available when swiping down from the top of > >the screen. If the app isn?t open then no payload via any method. > > > >Terry... > > > >On 17/10/2014 11:51 am, "Mike Kerner" wrote: > > > >>you don't. There are several open bug reports on push, and that's one of > >>them. If the app isn't running and the user opens it via the > >>springboard, > >>no payload. If they open it via the notification center, payload. > >> > >>On Thu, Oct 16, 2014 at 7:02 PM, Terry Judd > >>wrote: > >> > >>> Just starting with push notifications and have managed to get a simple > >>> example working using the livecode example code and AWS?s SNS service. > >>>So > >>> far so good! > >>> > >>> Now, in the livecode example it an ?alert? and a ?payload? are sent. > >>>The > >>> payload is received if the app is open and the alert is displayed if it > >>> isn?t. How do you capture the payload if the app isn?t open ? for > >>>example > >>> if you wanted to display it when the user taps the notification alert? > >>> > >>> Terry? > >>> > >>> Dr Terry Judd< > >>> http://scholar.google.com.au/citations?user=XC5s6wwAAAAJ&hl=en> > >>> Senior Lecturer in Medical Education > >>> Medical Education > >>>Unit > >>> The University of Melbourne > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> > >>-- > >>On the first day, God created the heavens and the Earth > >>On the second day, God created the oceans. > >>On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >>And God said, "This is good." > >>_______________________________________________ > >>use-livecode mailing list > >>use-livecode at lists.runrev.com > >>Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >>http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ben at runrev.com Wed Oct 22 09:36:59 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 22 Oct 2014 14:36:59 +0100 Subject: RELEASE: LiveCode 6.6.5 Message-ID: Just in case you missed the email due to the lists being unavailable here it is again: Dear List Members, We're pleased to announce the release of LiveCode 6.6.5. This is a stable release focused on iOS 8.1 / xCode 6.1 support. It also contains 3 iOS fixes. *Release Contents* A full list of the changes in this release can be found in the release note here: http://downloads.livecode.com/livecode/6_6_5/LiveCodeNotes-6_6_5.pdf *Getting the release* You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team From t.heaford at btinternet.com Wed Oct 22 10:19:37 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 22 Oct 2014 15:19:37 +0100 Subject: testing In-Reply-To: <8357B6A6-DF89-4981-9702-123E4F603CAF@runrev.com> References: <6C792B48-40B7-40A7-8717-B32CFEB3A5A2@livecode.com> <5447A2F3.10808@economy-x-talk.com> <8357B6A6-DF89-4981-9702-123E4F603CAF@runrev.com> Message-ID: I received a "use-livecode-bounces at lists.runrev.com ? at 13:18 today 22 Oct 2014 UK time. Not sure if this is the issue you are referring to. This was before your post below. All the best Terry > On 22 Oct 2014, at 13:34, Heather Laine wrote: > > We have also applied the update that is alleged to fix the problem which was causing certain users to bounce mail, thus unsubscribing other users for "too many bounces"... otherwise known as the DMARC Problem, an explanation may be seen here: From richmondmathewson at gmail.com Wed Oct 22 12:02:00 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 22 Oct 2014 19:02:00 +0300 Subject: RELEASE: LiveCode 6.6.5 In-Reply-To: References: Message-ID: <5447D4F8.6050906@gmail.com> On 22/10/14 16:36, Benjamin Beaumont wrote: > Just in case you missed the email due to the lists being unavailable here > it is again: > > Dear List Members, > > We're pleased to announce the release of LiveCode 6.6.5. This is a stable > release focused on iOS 8.1 / xCode 6.1 support. It also contains 3 iOS > fixes. > > This strikes me as a bit odd: a stable release preceded by no release candidates. Of course it could be that 6.6.5 is really just 6.6.4 "tarted up" after all the problems surfaced in the stable version of that release :) I wonder? Richmond. From MikeKerner at roadrunner.com Wed Oct 22 12:11:37 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 Oct 2014 12:11:37 -0400 Subject: desktop push Message-ID: With Y upon us, is anybody messing with trying to make push go on the desktop? -- 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 rdimola at evergreeninfo.net Wed Oct 22 12:31:51 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Oct 2014 12:31:51 -0400 Subject: RELEASE: LiveCode 6.6.5 In-Reply-To: <5447D4F8.6050906@gmail.com> References: <5447D4F8.6050906@gmail.com> Message-ID: <00de01cfee15$af2bf050$0d83d0f0$@net> 6.6.5 does indeed address 3 iOS 8 bugs uncovered in 6.6.4. But it also supports/requires Xcode 6.1 and supports the 2 types of location privacy settings offered in iOS 8. Thanks RR! 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 Richmond Sent: Wednesday, October 22, 2014 12:02 PM To: How to use LiveCode Subject: Re: RELEASE: LiveCode 6.6.5 On 22/10/14 16:36, Benjamin Beaumont wrote: > Just in case you missed the email due to the lists being unavailable > here it is again: > > Dear List Members, > > We're pleased to announce the release of LiveCode 6.6.5. This is a > stable release focused on iOS 8.1 / xCode 6.1 support. It also > contains 3 iOS fixes. > > This strikes me as a bit odd: a stable release preceded by no release candidates. Of course it could be that 6.6.5 is really just 6.6.4 "tarted up" after all the problems surfaced in the stable version of that release :) I wonder? Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Wed Oct 22 12:34:19 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 22 Oct 2014 12:34:19 -0400 Subject: RELEASE: LiveCode 6.6.5 In-Reply-To: <00de01cfee15$af2bf050$0d83d0f0$@net> References: <5447D4F8.6050906@gmail.com> <00de01cfee15$af2bf050$0d83d0f0$@net> Message-ID: The stage has also been set for a nice 6.6.6 release on October 31st (if it is "in the cards"). ~Roger From MikeKerner at roadrunner.com Wed Oct 22 12:41:21 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 Oct 2014 12:41:21 -0400 Subject: RELEASE: LiveCode 6.6.5 In-Reply-To: References: <5447D4F8.6050906@gmail.com> <00de01cfee15$af2bf050$0d83d0f0$@net> Message-ID: DAMMIT WHY DIDN'T I THINK OF THAT??? On Wed, Oct 22, 2014 at 12:34 PM, Roger Eller wrote: > The stage has also been set for a nice 6.6.6 release on October 31st (if > it is "in the cards"). > > ~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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Wed Oct 22 14:31:35 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Oct 2014 13:31:35 -0500 Subject: RELEASE: LiveCode 6.6.5 In-Reply-To: References: <5447D4F8.6050906@gmail.com> <00de01cfee15$af2bf050$0d83d0f0$@net> Message-ID: <5447F807.9050807@hyperactivesw.com> On 10/22/2014, 11:34 AM, Roger Eller wrote: > The stage has also been set for a nice 6.6.6 release on October 31st (if > it is "in the cards"). -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From simplsol at aol.com Wed Oct 22 15:24:43 2014 From: simplsol at aol.com (Paul Looney) Date: Wed, 22 Oct 2014 12:24:43 -0700 Subject: RELEASE: LiveCode 6.6.5 In-Reply-To: <5447F807.9050807@hyperactivesw.com> References: <5447D4F8.6050906@gmail.com> <00de01cfee15$af2bf050$0d83d0f0$@net> <5447F807.9050807@hyperactivesw.com> Message-ID: <98CD507C-90C8-4EA1-B15F-AEC939DC5F87@aol.com> 666 is a number associated with Nero: http://en.wikipedia.org/wiki/Number_of_the_beast It appears throughout the book of Revelation - which was probably written during his reign. Paul Looney On Oct 22, 2014, at 11:31 AM, J. Landman Gay wrote: > On 10/22/2014, 11:34 AM, Roger Eller wrote: >> The stage has also been set for a nice 6.6.6 release on October 31st (if >> it is "in the cards"). > > > > -- > 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 skip at magicgate.com Wed Oct 22 16:50:53 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 22 Oct 2014 16:50:53 -0400 Subject: Datagrid in Standalone Message-ID: Good afternoon, I have a strange problem and cannot isolate where it is coming from. I have a datagrid that is being populated via an array from Andre's DBLib. I know data is in the array because if I check the number of lines in the keys of the array, it is correct. In the development environment, the datagrid populates just fine! However, in a Windows standalone it does not work, almost as though no data is in the array, which is not true. To populate the datagrid, I am using: set the dgdata of control "DivisionData" to tDataA All seems correct, I have used this method before, I just don't understand why this instance is not working properly. Anybody have any insight of what might going wacky here? (other than me) Thank you for your input! SKIP From monte at sweattechnologies.com Wed Oct 22 17:58:12 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 23 Oct 2014 08:58:12 +1100 Subject: mergExt and iOS 8.1 Message-ID: <2AA92B86-6084-4ED3-A012-550D656D3E69@sweattechnologies.com> Hi LiveCoders RunRev have caught me on the hop by releasing 6.6.5 without a release candidate. I usually use RC1 as an indication I need to hurry up and do updates to support any new SDKs or I will be inundated with people having build problems after upgrading. I will endeavour to release updates ASAP but until then if you are building an app with externals please use Xcode 6 rather than 6.1. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pystcat at gmail.com Wed Oct 22 18:44:44 2014 From: pystcat at gmail.com (PystCat) Date: Wed, 22 Oct 2014 18:44:44 -0400 Subject: Datagrid in Standalone In-Reply-To: References: Message-ID: <168589E4-8079-46CA-A5FD-671391AE137A@gmail.com> Ok? silly question? Do you have a copy of the data grid in the first card card or are you using a splash screen for your app?? When creating a stand-alone with a data grid you want to make sure that the card that is your EXE has the data grid in it? it can be on a sub card that never shows its face but it needs to be there so that when it creates the executable it sees the data grid and does the magic it needs to do to make sure that the data grid works elsewhere in your app. Have a good one Paul > On Oct 22, 2014, at 4:50 PM, Magicgate Software - Skip Kimpel wrote: > > Good afternoon, > > I have a strange problem and cannot isolate where it is coming from. I > have a datagrid that is being populated via an array from Andre's DBLib. I > know data is in the array because if I check the number of lines in the > keys of the array, it is correct. > > In the development environment, the datagrid populates just fine! However, > in a Windows standalone it does not work, almost as though no data is in > the array, which is not true. To populate the datagrid, I am using: > set the dgdata of control "DivisionData" to tDataA > > All seems correct, I have used this method before, I just don't understand > why this instance is not working properly. Anybody have any insight of > what might going wacky here? (other than me) > > Thank you for your input! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 22 18:46:10 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 22 Oct 2014 22:46:10 +0000 Subject: mergExt and iOS 8.1 In-Reply-To: <2AA92B86-6084-4ED3-A012-550D656D3E69@sweattechnologies.com> References: <2AA92B86-6084-4ED3-A012-550D656D3E69@sweattechnologies.com> Message-ID: <67116DB20798A94285EEE12A67079A2876B184D4@MHSEXC01.westrac.com.au> Okay, great thanks mate. I wasn't aware we could install more than one version of xCode at a time. 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 Monte Goulding Sent: Thursday, 23 October 2014 8:58 AM To: How to use LiveCode Subject: mergExt and iOS 8.1 Hi LiveCoders RunRev have caught me on the hop by releasing 6.6.5 without a release candidate. I usually use RC1 as an indication I need to hurry up and do updates to support any new SDKs or I will be inundated with people having build problems after upgrading. I will endeavour to release updates ASAP but until then if you are building an app with externals please use Xcode 6 rather than 6.1. Cheers Monte -- 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 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 monte at sweattechnologies.com Wed Oct 22 18:53:31 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 23 Oct 2014 09:53:31 +1100 Subject: mergExt and iOS 8.1 In-Reply-To: <67116DB20798A94285EEE12A67079A2876B184D4@MHSEXC01.westrac.com.au> References: <2AA92B86-6084-4ED3-A012-550D656D3E69@sweattechnologies.com> <67116DB20798A94285EEE12A67079A2876B184D4@MHSEXC01.westrac.com.au> Message-ID: <45D476EF-1EB1-429E-9486-FF09889CE330@sweattechnologies.com> I just rename old versions before downloading the latest. On 23 Oct 2014, at 9:46 am, Nakia Brewer wrote: > Okay, great thanks mate. > > I wasn't aware we could install more than one version of xCode at a time. > > 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 Monte Goulding > Sent: Thursday, 23 October 2014 8:58 AM > To: How to use LiveCode > Subject: mergExt and iOS 8.1 > > Hi LiveCoders > > RunRev have caught me on the hop by releasing 6.6.5 without a release candidate. I usually use RC1 as an indication I need to hurry up and do updates to support any new SDKs or I will be inundated with people having build problems after upgrading. I will endeavour to release updates ASAP but until then if you are building an app with externals please use Xcode 6 rather than 6.1. > > Cheers > > Monte > > -- > 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 > 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From livecode at trueinsecurity.com Wed Oct 22 20:28:35 2014 From: livecode at trueinsecurity.com (John Brozycki) Date: Wed, 22 Oct 2014 20:28:35 -0400 Subject: 64-bit App Store requirement Message-ID: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> Recently read the Ars Technica article ?Apple: Beginning February 2015, App Store submissions need to be 64-bit?: http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ ...and was wondering if anyone knew what RunRev?s plans are for this. I don?t see anything about 64-bit in the roadmap. Regards, John From lists at mangomultimedia.com Wed Oct 22 22:12:34 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Oct 2014 22:12:34 -0400 Subject: 64-bit App Store requirement In-Reply-To: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> References: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> Message-ID: On Wed, Oct 22, 2014 at 8:28 PM, John Brozycki wrote: > Recently read the Ars Technica article ?Apple: Beginning February 2015, > App Store submissions need to be 64-bit?: > > > http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ > < > http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ > > > > ...and was wondering if anyone knew what RunRev?s plans are for this. I > don?t see anything about 64-bit in the roadmap. > The release notes for the 6.7 branch of the LiveCode engine were updated today with information about the 64-bit plan. https://github.com/runrev/livecode/commit/1549d6f09938a1005eabbbf65981b54ac95dff1d The relevant section is this: "The final goal (64-bit support) will be gradually worked towards over the next few LiveCode versions as the engine gets 'decarbonated' (usage of Carbon APIs which do not have 64-bit equivalents removed)." Hopefully gradually is code for "sometime before February, 2015". -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From monte at sweattechnologies.com Wed Oct 22 22:19:55 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 23 Oct 2014 13:19:55 +1100 Subject: 64-bit App Store requirement In-Reply-To: References: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> Message-ID: <5E0DCF2F-6425-4FFA-8F36-4066BEEABA1D@sweattechnologies.com> On 23 Oct 2014, at 1:12 pm, Trevor DeVore wrote: > "The final goal (64-bit support) will be gradually worked towards over the > next few LiveCode versions as the engine gets 'decarbonated' (usage of > Carbon APIs which do not have 64-bit equivalents removed)." > > Hopefully gradually is code for "sometime before February, 2015". I think it's only iOS apps at the moment. There shouldn't be much stopping building the iOS engine as 64-bit. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From coiin at verizon.net Wed Oct 22 22:28:13 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 22 Oct 2014 22:28:13 -0400 Subject: 64-bit App Store requirement In-Reply-To: <5E0DCF2F-6425-4FFA-8F36-4066BEEABA1D@sweattechnologies.com> References: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> <5E0DCF2F-6425-4FFA-8F36-4066BEEABA1D@sweattechnologies.com> Message-ID: Yes, surely that?s just talking about LiveCode, the new requirements are for 64 bit ARN code. > On Oct 22, 2014, at 10:19 PM, Monte Goulding wrote: > >> >> Hopefully gradually is code for "sometime before February, 2015". > > I think it's only iOS apps at the moment. There shouldn't be much stopping building the iOS engine as 64-bit. From todd at geistinteractive.com Wed Oct 22 22:31:40 2014 From: todd at geistinteractive.com (Todd Geist) Date: Wed, 22 Oct 2014 19:31:40 -0700 Subject: setting a behavior with out using an ID Message-ID: Hello, I don?t like to use IDs to reference Objects. But it seems that the only way you can reference a Behavior is with it?s ID. Is that true? Is there another way? Thanks Todd From dunbarx at aol.com Wed Oct 22 23:16:15 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 Oct 2014 23:16:15 -0400 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: <8D1BC86D7393D72-768-575D@webmail-vm104.sysops.aol.com> Currently, only a button can be the control from which an object can inherit a behavior. The dictionary gives a good account of this. I had made a request long ago to allow any object to take on this role, just because sometimes it is more convenient or intuitive. I was thinking that a stack was a more logical place. Of course, the message hierarchy contains much of that functionality already. Craig Newman -----Original Message----- From: Todd Geist To: How to use LiveCode Sent: Wed, Oct 22, 2014 10:32 pm Subject: setting a behavior with out using an ID Hello, I don?t like to use IDs to reference Objects. But it seems that the only way you can reference a Behavior is with it?s ID. Is that true? Is there another way? 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 lists at mangomultimedia.com Wed Oct 22 23:32:16 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Oct 2014 23:32:16 -0400 Subject: 64-bit App Store requirement In-Reply-To: <5E0DCF2F-6425-4FFA-8F36-4066BEEABA1D@sweattechnologies.com> References: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> <5E0DCF2F-6425-4FFA-8F36-4066BEEABA1D@sweattechnologies.com> Message-ID: On Wed, Oct 22, 2014 at 10:19 PM, Monte Goulding < monte at sweattechnologies.com> wrote: > > On 23 Oct 2014, at 1:12 pm, Trevor DeVore > wrote: > > > "The final goal (64-bit support) will be gradually worked towards over > the > > next few LiveCode versions as the engine gets 'decarbonated' (usage of > > Carbon APIs which do not have 64-bit equivalents removed)." > > > > Hopefully gradually is code for "sometime before February, 2015". > > I think it's only iOS apps at the moment. There shouldn't be much stopping > building the iOS engine as 64-bit. > Right you are. I was thinking the requirement was going to be for the MAS. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From Nakia.Brewer at westrac.com.au Thu Oct 23 01:09:12 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 23 Oct 2014 05:09:12 +0000 Subject: mergExt and iOS 8.1 In-Reply-To: <45D476EF-1EB1-429E-9486-FF09889CE330@sweattechnologies.com> References: <2AA92B86-6084-4ED3-A012-550D656D3E69@sweattechnologies.com> <67116DB20798A94285EEE12A67079A2876B184D4@MHSEXC01.westrac.com.au> <45D476EF-1EB1-429E-9486-FF09889CE330@sweattechnologies.com> Message-ID: <67116DB20798A94285EEE12A67079A2876B1A160@MHSEXC01.westrac.com.au> Finally managed to download xCode 6.0.1.dmg from Apple but on Yosemite I get the following when I try and run the package. Code_6.0.1.dmg image not recognized. Anyone else seen this? 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 Monte Goulding Sent: Thursday, 23 October 2014 9:54 AM To: How to use LiveCode Subject: Re: mergExt and iOS 8.1 I just rename old versions before downloading the latest. On 23 Oct 2014, at 9:46 am, Nakia Brewer wrote: > Okay, great thanks mate. > > I wasn't aware we could install more than one version of xCode at a time. > > 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 Monte Goulding > Sent: Thursday, 23 October 2014 8:58 AM > To: How to use LiveCode > Subject: mergExt and iOS 8.1 > > Hi LiveCoders > > RunRev have caught me on the hop by releasing 6.6.5 without a release candidate. I usually use RC1 as an indication I need to hurry up and do updates to support any new SDKs or I will be inundated with people having build problems after upgrading. I will endeavour to release updates ASAP but until then if you are building an app with externals please use Xcode 6 rather than 6.1. > > Cheers > > Monte > > -- > 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 > 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 -- 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 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 monte at sweattechnologies.com Thu Oct 23 03:12:47 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 23 Oct 2014 18:12:47 +1100 Subject: [ANN] mergExt Updates for iOS 8.1 and mergNotify 2 Message-ID: Hi LiveCoders Today I am releasing updates for all the mergExt externals to add iOS 8.1 support. This will bean you can build with LiveCode 6.6.5 against Xcode 6.1. I am also realising a major update to mergNotify to support OS X. The external not supports posting NSNotifications (note these are not the user/push notifications supported in the engine). The main reason we would want to do this is on OS X where we can post and observe notifications using the distributed notification center. This means you can have multiple apps on the one machine and post notifications that the others might observe. A notification is just a named event that you might be interested to know about. Please note that there is currently a known bug in LiveCode 6.7 that impacts the performance of the external on OS X on Yosemite. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From matthias_livecode_150811 at m-r-d.de Thu Oct 23 03:20:29 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 23 Oct 2014 09:20:29 +0200 Subject: [ANN] mergExt Updates for iOS 8.1 and mergNotify 2 In-Reply-To: References: Message-ID: Thanks Monte. I was just searching my TimeMachine Backup for an XCode 6.0.1. So no need to search any longer... Regards, Matthias > Am 23.10.2014 um 09:12 schrieb Monte Goulding : > > Hi LiveCoders > > Today I am releasing updates for all the mergExt externals to add iOS 8.1 support. This will bean you can build with LiveCode 6.6.5 against Xcode 6.1. > > I am also realising a major update to mergNotify to support OS X. The external not supports posting NSNotifications (note these are not the user/push notifications supported in the engine). The main reason we would want to do this is on OS X where we can post and observe notifications using the distributed notification center. This means you can have multiple apps on the one machine and post notifications that the others might observe. A notification is just a named event that you might be interested to know about. > > Please note that there is currently a known bug in LiveCode 6.7 that impacts the performance of the external on OS X on Yosemite. > > Cheers > > Monte > > -- > 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 rabit at revigniter.com Thu Oct 23 03:49:31 2014 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 23 Oct 2014 09:49:31 +0200 Subject: [ANN] mergExt Updates for iOS 8.1 and mergNotify 2 In-Reply-To: References: Message-ID: <6372E63E-7B3F-4D9C-94BC-732C98D49803@revigniter.com> That was quick. Thanks very much Monte! Ralf > On 23.10.2014, at 09:12, Monte Goulding wrote: > > Hi LiveCoders > > Today I am releasing updates for all the mergExt externals to add iOS 8.1 support. This will bean you can build with LiveCode 6.6.5 against Xcode 6.1. > > I am also realising a major update to mergNotify to support OS X. The external not supports posting NSNotifications (note these are not the user/push notifications supported in the engine). The main reason we would want to do this is on OS X where we can post and observe notifications using the distributed notification center. This means you can have multiple apps on the one machine and post notifications that the others might observe. A notification is just a named event that you might be interested to know about. > > Please note that there is currently a known bug in LiveCode 6.7 that impacts the performance of the external on OS X on Yosemite. > > Cheers > > Monte From Nakia.Brewer at westrac.com.au Thu Oct 23 05:04:04 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 23 Oct 2014 09:04:04 +0000 Subject: [ANN] mergExt Updates for iOS 8.1 and mergNotify 2 In-Reply-To: References: Message-ID: <10E12B2E-45E8-4265-A1B7-627F45760084@westrac.com.au> Wow, that was fast! You are the man!!! Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 m: 0458 713 547 i: www.westrac.com.au ACN 009 342 572 On 23 Oct 2014, at 6:13 pm, Monte Goulding > wrote: Hi LiveCoders Today I am releasing updates for all the mergExt externals to add iOS 8.1 support. This will bean you can build with LiveCode 6.6.5 against Xcode 6.1. I am also realising a major update to mergNotify to support OS X. The external not supports posting NSNotifications (note these are not the user/push notifications supported in the engine). The main reason we would want to do this is on OS X where we can post and observe notifications using the distributed notification center. This means you can have multiple apps on the one machine and post notifications that the others might observe. A notification is just a named event that you might be interested to know about. Please note that there is currently a known bug in LiveCode 6.7 that impacts the performance of the external on OS X on Yosemite. Cheers Monte -- 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 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 mikeythek at gmail.com Thu Oct 23 07:51:38 2014 From: mikeythek at gmail.com (Mikey) Date: Thu, 23 Oct 2014 07:51:38 -0400 Subject: Variable parameter synonym functions Message-ID: <3C8DB2AB-8330-4CFA-8EFC-54FE47BAC573@gmail.com> Has anybody come up with an easy way to write functions or handlers that are synonyms for other functions/handlers where both take a variable number of parameters? If I want to have a handler "a" and synonym "aardvark", I would normally write on a name aardvark name end a on aardvark name answer "I'm an aardvark named"&&name end aardvark Now imagine doing that while supporting a variable number of parameters. Sent from my iPhone From m.schonewille at economy-x-talk.com Thu Oct 23 08:29:36 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 Oct 2014 14:29:36 +0200 Subject: Variable parameter synonym functions In-Reply-To: <3C8DB2AB-8330-4CFA-8EFC-54FE47BAC573@gmail.com> References: <3C8DB2AB-8330-4CFA-8EFC-54FE47BAC573@gmail.com> Message-ID: <5448F4B0.4090606@economy-x-talk.com> Hi Mikey, Here's a way: on mouseUp put fun1("a","b") end mouseUp function fun1 repeat with x = 1 to the paramcount put param(x) & comma after myList end repeat put "fun2(" & char 1 to -2 of myList & ")" into myFun return value(myFun) end fun1 function fun2 return the paramcount end fun2 -- 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 10/23/2014 13:51, Mikey wrote: > Has anybody come up with an easy way to write functions or handlers that are synonyms for other functions/handlers where both take a variable number of parameters? > > If I want to have a handler "a" and synonym "aardvark", I would normally write > > on a name > aardvark name > end a > > on aardvark name > answer "I'm an aardvark named"&&name > end aardvark > > > Now imagine doing that while supporting a variable number of parameters. > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 23 09:16:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 06:16:29 -0700 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: <5448FFAD.3050901@fourthworld.com> Good to see you here, Todd - > I don?t like to use IDs to reference Objects. But it seems that > the only way you can reference a Behavior is with it?s ID. Is > that true? Is there another way? While long IDs are normally problematic since they include the file path to the object (which will of course change as soon as the object is moved to another machine), behaviors are stored with a sort of truncated long ID - from the Dictionary entry for "behavior": The behavior property is a reference to a button containing the script to use. The format stored in the object it's assigned to is similar to a long ID, except that a long ID includes the full path to the stack file and the form stored in the behavior includes only the stack name, allowing the reference to continue to work after the stack file has been moved to another computer. If your concern is simply the lack of mnemonic value in ID numbers, if you're doing a lot of dynamic behavior assignments it's only an few extra tokens to translate a name to a long ID: set the behavior of grc 1 to \ (the long id of btn "cSplitter" of stack "AppResources") In most common usage scenarios behaviors are set only once (usually during development than at runtime), so we rarely have to script anything like that at all, and just past a long ID reference into the appropriate slot in the Inspector. I know you do adventurous work though, so it wouldn't surprise me if you had a system that needs a lot of dynamic assignments. If neither of these address your concerns, please tell us what your goal is and I'll bet there's an efficient way to satisfy it. In fact, I'll bet you dinner at the next SoCal LiveCode Group meeting. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Oct 23 09:34:38 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 23 Oct 2014 09:34:38 -0400 Subject: Variable parameter synonym functions In-Reply-To: <5448F4B0.4090606@economy-x-talk.com> References: <3C8DB2AB-8330-4CFA-8EFC-54FE47BAC573@gmail.com> <5448F4B0.4090606@economy-x-talk.com> Message-ID: Yes, I understand how to do it, I'm just wondering if there's a more elegant way. On Thu, Oct 23, 2014 at 8:29 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Mikey, > > Here's a way: > > on mouseUp > put fun1("a","b") > end mouseUp > > function fun1 > repeat with x = 1 to the paramcount > put param(x) & comma after myList > end repeat > put "fun2(" & char 1 to -2 of myList & ")" into myFun > return value(myFun) > end fun1 > > function fun2 > return the paramcount > end fun2 > > -- > 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 10/23/2014 13:51, Mikey wrote: > >> Has anybody come up with an easy way to write functions or handlers that >> are synonyms for other functions/handlers where both take a variable number >> of parameters? >> >> If I want to have a handler "a" and synonym "aardvark", I would normally >> write >> >> on a name >> aardvark name >> end a >> >> on aardvark name >> answer "I'm an aardvark named"&&name >> end aardvark >> >> >> Now imagine doing that while supporting a variable number of parameters. >> >> Sent from my iPhone >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Thu Oct 23 09:45:16 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 06:45:16 -0700 Subject: 64-bit App Store requirement In-Reply-To: References: Message-ID: <5449066C.7030102@fourthworld.com> Trevor DeVore wrote: > I was thinking the requirement was going to be for the MAS. You may just be ahead of your time. After all, it seem unlikely Apple will be shipping an iOS device that has more than 4 GB RAM, and even if they did, with PAE it would only be logically "necessary" if they expected individual apps to need more than 4 GB. True, it's more efficient to use native addressing, and having committed to 64-bit gates it'll certainly help - but only very modestly, unlikely significant enough to end-users to make it a requirement. So what could be driving this? When we look at the big picture we see heavy investments in LLVM/Clang, Swift, 64-bit uniformity, and other things that seem almost random when viewed individually. And all this is taking place in a business environment in which device types continue to both diversify and overlap in applicable use cases. It simply doesn't make economic sense to continue down the road of making a different OS for every device type forever. With a flexible, reconfigurable kernel, one could craft an OS that's scalable and adaptable for all device types. I'll go out on a limb to put a date on it: I believe the big announcement at WWDC 2016 will be the end of both iOS and OS X, and the start of a new OS to replace them both. So right now they're quietly laying the ground work.... -- 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 lfredricks at proactive-intl.com Thu Oct 23 10:57:08 2014 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 23 Oct 2014 07:57:08 -0700 Subject: 64-bit App Store requirement In-Reply-To: <5449066C.7030102@fourthworld.com> References: <5449066C.7030102@fourthworld.com> Message-ID: <407005B9B62445169BFD0732D469C996@GATEWAY> > I'll go out on a limb to put a date on it: I believe the big > announcement at WWDC 2016 will be the end of both iOS and OS > X, and the start of a new OS to replace them both. > > So right now they're quietly laying the ground work.... Richard, A few years ago you and I talking about this, and I agree. Apple will increase convergence devices in a way that won't intefere with its ability to make money, much like it introduced Carbon / Cocoa to keep developers developing for the Mac during that transition. We might get an announcement of a "neo-carbon" transitional period, but after that we will see one OS and likely an ecosystem that is more like the "curated" iOS than the "laissez faire" Mac OS. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From lfredricks at proactive-intl.com Thu Oct 23 10:59:20 2014 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 23 Oct 2014 07:59:20 -0700 Subject: Valentina for LiveCode 5.6 Introduces Hash Indexes Message-ID: Paradigma Software Releases Valentina 5.6 Paradigma Software announces the immediate availability of version 5.6 of Valentina Server, Valentina DB ADK and Valentina Studio. Valentina Core Database technology adds Hash Indexes as a new feature and related commands in its SQL support and high level API. Hash Indexes are high performance indexes for databases. The release also included other database optimizations. Indexes that operate on String/VarChar fields build much faster - up to 10 - 15 times faster than Valentina 5.5. Valentina DB ADK, allows developers to embed the high speed, object-relational Valentina DB in their applications. Valentina DB ADK is available for every major computing platform and development API including LiveCode or Linux, Mac OS X and Windows. The databases are easily scalable to Valentina Server. Valentina DB ADK is available for $199 per platform, includes 12 months of updates and allows royalty free, unlimited deployment. Valentina Studio 5.6 adds support for working with Hash Indexes, and importing a CSV file during a transaction block. Several performance improvements were also included in the release. Valentina Studio is the free, all purpose database administration tool for Linux,Mac OS X and Windows, and supports management of MySQL, MS SQL Server, SQLite, Postgre SQL and Valentina databases. Valentina Studio Pro, which has all the features of Studio, also adds advanced visual query building, data modeling tools and report building and testing tools. Valentina Studio Pro costs $199.99 and is available directly from Paradigma Software and also the Mac App Store. The products are immediately available on the Paradigma Website at http://www.paradigmasoft.com. From bobsneidar at iotecdigital.com Thu Oct 23 11:12:31 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Oct 2014 15:12:31 +0000 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: The dictionary gives no clue. Try the long name instead and see if it works. Then you can tell us. :-) Bob S > On Oct 22, 2014, at 19:31 , Todd Geist wrote: > > Hello, > > I don?t like to use IDs to reference Objects. But it seems that the only way you can reference a Behavior is with it?s ID. Is that true? Is there another way? > > 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 bobsneidar at iotecdigital.com Thu Oct 23 11:18:26 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Oct 2014 15:18:26 +0000 Subject: 64-bit App Store requirement In-Reply-To: <5449066C.7030102@fourthworld.com> References: <5449066C.7030102@fourthworld.com> Message-ID: That would suck if OS X goes on the chopping block. What is better than UNIX running on a PC chipset? Bob S On Oct 23, 2014, at 06:45 , Richard Gaskin > wrote: I'll go out on a limb to put a date on it: I believe the big announcement at WWDC 2016 will be the end of both iOS and OS X, and the start of a new OS to replace them both. So right now they're quietly laying the ground work.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From ambassador at fourthworld.com Thu Oct 23 11:28:21 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 08:28:21 -0700 Subject: 64-bit App Store requirement In-Reply-To: References: Message-ID: <54491E95.2090407@fourthworld.com> Bob Sneidar wrote: > That would suck if OS X goes on the chopping block. What is better > than UNIX running on a PC chipset? I would imagine they'd stick with Unix. As we've seen with its cousin Linux, Unix foundations can be scaled well to handle everything from phones to supercomputers. The harder question is the UI, but if anyone can do that well it's Apple. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Thu Oct 23 11:59:28 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Oct 2014 15:59:28 +0000 Subject: 64-bit App Store requirement In-Reply-To: <54491E95.2090407@fourthworld.com> References: <54491E95.2090407@fourthworld.com> Message-ID: Used to could. There are some today that would challenge that premise. ;-) Bob S On Oct 23, 2014, at 08:28 , Richard Gaskin > wrote: The harder question is the UI, but if anyone can do that well it's Apple. -- Richard Gaskin Fourth World Systems From todd at geistinteractive.com Thu Oct 23 13:36:51 2014 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 23 Oct 2014 10:36:51 -0700 Subject: setting a behavior with out using an ID In-Reply-To: <5448FFAD.3050901@fourthworld.com> References: <5448FFAD.3050901@fourthworld.com> Message-ID: Hi Richard, I can and do use dynamic assignments. But it's more boiler plate then I would like. An object, once configured should just work. "Setup" steps are too easy to forget in another context. Now why do I avoid IDs? The answer is version control. If you use lcCVS that ID is probably not going to be the same when you reconstitute the file. Todd On Thu, Oct 23, 2014 at 6:16 AM, Richard Gaskin wrote: > Good to see you here, Todd - > > > I don?t like to use IDs to reference Objects. But it seems that > > the only way you can reference a Behavior is with it?s ID. Is > > that true? Is there another way? > > While long IDs are normally problematic since they include the file path > to the object (which will of course change as soon as the object is moved > to another machine), behaviors are stored with a sort of truncated long ID > - from the Dictionary entry for "behavior": > > The behavior property is a reference to a button containing > the script to use. The format stored in the object it's > assigned to is similar to a long ID, except that a long ID > includes the full path to the stack file and the form stored > in the behavior includes only the stack name, allowing the > reference to continue to work after the stack file has been > moved to another computer. > > If your concern is simply the lack of mnemonic value in ID numbers, if > you're doing a lot of dynamic behavior assignments it's only an few extra > tokens to translate a name to a long ID: > > set the behavior of grc 1 to \ > (the long id of btn "cSplitter" of stack "AppResources") > > In most common usage scenarios behaviors are set only once (usually during > development than at runtime), so we rarely have to script anything like > that at all, and just past a long ID reference into the appropriate slot in > the Inspector. > > I know you do adventurous work though, so it wouldn't surprise me if you > had a system that needs a lot of dynamic assignments. > > If neither of these address your concerns, please tell us what your goal > is and I'll bet there's an efficient way to satisfy it. > > In fact, I'll bet you dinner at the next SoCal LiveCode Group meeting. :) > > -- > 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 -- Todd Geist (800) 935-6068 From ambassador at fourthworld.com Thu Oct 23 14:45:54 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 11:45:54 -0700 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: <54494CE2.3010706@fourthworld.com> Todd Geist wrote: > Now why do I avoid IDs? The answer is version control. If you > use lcCVS that ID is probably not going to be the same when you > reconstitute the file. The LiveCode engine was enhanced several versions ago to allow IDs to be set, specifically to support the creation of such version control systems. If you're seeing ID numbers change when a stack is reconstructed in lcCVS it's either a bug in LiveCode or lcCVS and should be reported so it can be addressed. -- 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 ben at runrev.com Thu Oct 23 15:26:12 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 23 Oct 2014 20:26:12 +0100 Subject: RELEASE LiveCode 6.7 Message-ID: Dear list members, We're pleased to announce release of LiveCode 6.7. This is a stable release. Important Changes 1. We?ve update the platform component of the engine on Linux substantially. Think of it as the equivalent of the cocoa port for MacOS X. As a result, windowing related activities on Linux are subject to change. If you are testing on Linux we would encourage you to focus on windowing, window shapes, shortcuts, copy/paste and drag/drop. 2. LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the webkit browser, the new AVFoundation player on Mac. 3. 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* Our release notes contain full details of all the changes made during this cycle as well as details of all the bugs that were fixed. The can be found here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0.pdf *LiveCode 7.0* Many of you will notice that we've also released LiveCode 7.0 today. In an ideal world we would have rolled these two releases into 1. However, LiveCode 7.0 sees us release a near 2 year refactoring project which contains same changes to engine behavior, particularly when reading and writing data out of LiveCode or working with the char chunk type. Details of these changes can be found in the release notes for LiveCode 7.0. In summary, LiveCode 6.7 provides a new release of LiveCode that is fully backward compatible allowing people to take advantage of the new features like cocoa while providing time to move to 7.0. *Yosemite* During the release candidate phase we added support for Yosemite and will be working on adding wider ranging support for that platform in the coming week. Apple have tweaked how some of their pickers work which we'd like make available to your applications. We plan to do this in the form of 6.7.1 and 7.0.1 releases in the coming two weeks. As always, a big thank you to all those who tested and reported bugs during this cycle. Your efforts are valued by all of us here in Edinburgh and Glasgow! Warm regards, Ben From ben at runrev.com Thu Oct 23 15:36:31 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 23 Oct 2014 20:36:31 +0100 Subject: RELEASE LiveCode 7.0 Message-ID: Dear list members, We're pleased to announce release of LiveCode 7.0. This is a stable release. WARNING: LiveCode 7.0 contains breaking changes particularly when reading and writing data out of LiveCode or working with the char chunk type. Details can be found in the release notes which are linked below. LiveCode 6.7, which was also released today, provides a fully backward compatible new edition of LiveCode for all those users who need time to migrate their stacks to 7.0. Most people will be unaffected but please check the release notes and ask your questions on the list if you are unsure, we are very happy to help. LiveCode 7.0 has been available for most of 2014 so I expect most of you are well aware of the changes and likely already updated stacks where necessary. *Release contents* LiveCode 7.0 is a massive release for us as custodians of LiveCode and for us as a community. We've been working on it for almost 2 years and it sees us modernise the core of the engine and pave the was for LiveCode 8. We've introduced lots of new features, most notably, transparent unicode support which is a huge step forward for the technology. For more information of the changes in the release you can visit our website at: http://livecode.com/livecode-7/ Our release notes contain full details of all the changes made during this cycle as well as details of all the bugs that were fixed. The can be found here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-7_0_0.pdf *Yosemite* During the release candidate phase we added support for Yosemite and will be working on adding wider ranging support for that platform in the coming week. Apple have tweaked how some of their pickers work which we'd like make available to your applications. We plan to do this in the form of 6.7.1 and 7.0.1 releases in the coming two weeks. Thanks once again to you as a community. Your support in testing and bug reporting does not go unnoticed! Warm regards, The LiveCode Team From ben at runrev.com Thu Oct 23 15:40:30 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 23 Oct 2014 20:40:30 +0100 Subject: RELEASE LiveCode 6.7 In-Reply-To: References: Message-ID: Dear all, My "important changes" section is our 7.0 changes. My apologies. For a full breakdown of the changes in LiveCode 6.7 please see the release notes here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0.pdf Warm regards, Ben On 23 October 2014 20:26, Benjamin Beaumont wrote: > Dear list members, > > We're pleased to announce release of LiveCode 6.7. This is a stable > release. > > Important Changes > > 1. We?ve update the platform component of the engine on Linux > substantially. Think of it as the equivalent of the cocoa port for MacOS X. > As a result, windowing related activities on Linux are subject to change. > If you are testing on Linux we would encourage you to focus on windowing, > window shapes, shortcuts, copy/paste and drag/drop. > 2. LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the > webkit browser, the new AVFoundation player on Mac. > 3. 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* > Our release notes contain full details of all the changes made during this > cycle as well as details of all the bugs that were fixed. The can be found > here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0.pdf > > *LiveCode 7.0* > Many of you will notice that we've also released LiveCode 7.0 today. In an > ideal world we would have rolled these two releases into 1. However, > LiveCode 7.0 sees us release a near 2 year refactoring project which > contains same changes to engine behavior, particularly when reading and > writing data out of LiveCode or working with the char chunk type. Details > of these changes can be found in the release notes for LiveCode 7.0. In > summary, LiveCode 6.7 provides a new release of LiveCode that is fully > backward compatible allowing people to take advantage of the new features > like cocoa while providing time to move to 7.0. > > *Yosemite* > During the release candidate phase we added support for Yosemite and will > be working on adding wider ranging support for that platform in the coming > week. Apple have tweaked how some of their pickers work which we'd like > make available to your applications. We plan to do this in the form of > 6.7.1 and 7.0.1 releases in the coming two weeks. > > As always, a big thank you to all those who tested and reported bugs > during this cycle. Your efforts are valued by all of us here in Edinburgh > and Glasgow! > > Warm regards, > > 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 lists at mangomultimedia.com Thu Oct 23 15:43:24 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Oct 2014 15:43:24 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: On Thu, Oct 23, 2014 at 3:36 PM, Benjamin Beaumont wrote: > > We're pleased to announce release of LiveCode 7.0. This is a stable > release. > I would like to congratulate the whole RunRev team on this release. Being able to push a project out the door after almost 2 years has to be very gratifying. I would have given up months ago :-) I'm really looking forward to implementing 7.0 in my projects. Thanks for all of the hard work!!! Now on to widgets... :-) -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From jhj at jhj.com Thu Oct 23 15:52:43 2014 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 23 Oct 2014 12:52:43 -0700 Subject: RELEASE LiveCode 6.7 In-Reply-To: References: Message-ID: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> Ben, I can't figure out how to download 6.7 community. Check for updates in 6.6.5 only offers 7.0 and I'm not ready for that yet. In the store, the only Community download I see is for 6.6.2 (!). ?? Jerry Jensen On Oct 23, 2014, at 12:40 PM, Benjamin Beaumont wrote: > Dear all, > > My "important changes" section is our 7.0 changes. My apologies. > > For a full breakdown of the changes in LiveCode 6.7 please see the release > notes here: > http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0.pdf > > Warm regards, > > Ben > > On 23 October 2014 20:26, Benjamin Beaumont wrote: > >> Dear list members, >> >> We're pleased to announce release of LiveCode 6.7. This is a stable >> release. From klaus at major-k.de Thu Oct 23 15:56:23 2014 From: klaus at major-k.de (Klaus major-k) Date: Thu, 23 Oct 2014 21:56:23 +0200 Subject: RELEASE LiveCode 6.7 In-Reply-To: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> Message-ID: <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> Hi Jerry, > Am 23.10.2014 um 21:52 schrieb Jerry Jensen : > > Ben, I can't figure out how to download 6.7 community. Check for updates in 6.6.5 only offers 7.0 and I'm not ready for that yet. In the store, the only Community download I see is for 6.6.2 (!). > ?? get it here and bookmark the page: :-) > Jerry Jensen Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From rdimola at evergreeninfo.net Thu Oct 23 16:33:03 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 23 Oct 2014 16:33:03 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: <01d601cfef00$8c4ba580$a4e2f080$@net> Ben, Well done... I Applaud the entire RR team! Really , take a bow. The way you were on top of this iOS 8 thing and still got these releases out... Makes my head hurt just thinking about it. Does this mean we can once again use the ?R? word in general conversation once again? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: livecode-dev [mailto:livecode-dev-bounces at lists.runrev.com] On Behalf Of Benjamin Beaumont Sent: Thursday, October 23, 2014 3:37 PM To: How to use LiveCode; LiveCode Developer List Subject: RELEASE LiveCode 7.0 Dear list members, We're pleased to announce release of LiveCode 7.0. This is a stable release. WARNING: LiveCode 7.0 contains breaking changes particularly when reading and writing data out of LiveCode or working with the char chunk type. Details can be found in the release notes which are linked below. LiveCode 6.7, which was also released today, provides a fully backward compatible new edition of LiveCode for all those users who need time to migrate their stacks to 7.0. Most people will be unaffected but please check the release notes and ask your questions on the list if you are unsure, we are very happy to help. LiveCode 7.0 has been available for most of 2014 so I expect most of you are well aware of the changes and likely already updated stacks where necessary. Release contents LiveCode 7.0 is a massive release for us as custodians of LiveCode and for us as a community. We've been working on it for almost 2 years and it sees us modernise the core of the engine and pave the was for LiveCode 8. We've introduced lots of new features, most notably, transparent unicode support which is a huge step forward for the technology. For more information of the changes in the release you can visit our website at: http://livecode.com/livecode-7/ Our release notes contain full details of all the changes made during this cycle as well as details of all the bugs that were fixed. The can be found here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-7_0_0.pdf Yosemite During the release candidate phase we added support for Yosemite and will be working on adding wider ranging support for that platform in the coming week. Apple have tweaked how some of their pickers work which we'd like make available to your applications. We plan to do this in the form of 6.7.1 and 7.0.1 releases in the coming two weeks. Thanks once again to you as a community. Your support in testing and bug reporting does not go unnoticed! Warm regards, The LiveCode Team From todd at geistinteractive.com Thu Oct 23 16:42:11 2014 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 23 Oct 2014 13:42:11 -0700 Subject: setting a behavior with out using an ID In-Reply-To: <54494CE2.3010706@fourthworld.com> References: <54494CE2.3010706@fourthworld.com> Message-ID: Monte's lcVCS still recommends using Name based references. https://github.com/montegoulding/lcVCS Todd On Thu, Oct 23, 2014 at 11:45 AM, Richard Gaskin wrote: > Todd Geist wrote: > > Now why do I avoid IDs? The answer is version control. If you > > use lcCVS that ID is probably not going to be the same when you > > reconstitute the file. > > The LiveCode engine was enhanced several versions ago to allow IDs to be > set, specifically to support the creation of such version control systems. > > If you're seeing ID numbers change when a stack is reconstructed in lcCVS > it's either a bug in LiveCode or lcCVS and should be reported so it can be > addressed. > > > -- > 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 > -- Todd Geist (800) 935-6068 From jhj at jhj.com Thu Oct 23 16:44:47 2014 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 23 Oct 2014 13:44:47 -0700 Subject: RELEASE LiveCode 6.7 In-Reply-To: <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> Message-ID: <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> Thanks Klaus. Done and bookmarked! Jerry On Oct 23, 2014, at 12:56 PM, Klaus major-k wrote: > Hi Jerry, > >> Am 23.10.2014 um 21:52 schrieb Jerry Jensen : >> >> Ben, I can't figure out how to download 6.7 community. Check for updates in 6.6.5 only offers 7.0 and I'm not ready for that yet. In the store, the only Community download I see is for 6.6.2 (!). >> ?? > > get it here and bookmark the page: > From bobsneidar at iotecdigital.com Thu Oct 23 17:35:30 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Oct 2014 21:35:30 +0000 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: <26A3CA62-E501-40ED-B87E-EF932E4F551D@iotecdigital.com> Brilliant! And right before my 5 year unlimited deal is up! Thanks RunRev! I might just buy another year of commercial license for the hell of it! Bob S > On Oct 23, 2014, at 12:36 , Benjamin Beaumont wrote: > > Dear list members, > > We're pleased to announce release of LiveCode 7.0. This is a stable release. > > WARNING: LiveCode 7.0 contains breaking changes particularly when reading > and writing data out of LiveCode or working with the char chunk type. > Details can be found in the release notes which are linked below. LiveCode > 6.7, which was also released today, provides a fully backward compatible > new edition of LiveCode for all those users who need time to migrate their > stacks to 7.0. Most people will be unaffected but please check the release > notes and ask your questions on the list if you are unsure, we are very > happy to help. LiveCode 7.0 has been available for most of 2014 so I expect > most of you are well aware of the changes and likely already updated stacks > where necessary. > > *Release contents* > LiveCode 7.0 is a massive release for us as custodians of LiveCode and for > us as a community. We've been working on it for almost 2 years and it sees > us modernise the core of the engine and pave the was for LiveCode 8. We've > introduced lots of new features, most notably, transparent unicode support > which is a huge step forward for the technology. For more information of > the changes in the release you can visit our website at: > http://livecode.com/livecode-7/ > > Our release notes contain full details of all the changes made during this > cycle as well as details of all the bugs that were fixed. The can be found > here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-7_0_0.pdf > > *Yosemite* > During the release candidate phase we added support for Yosemite and will > be working on adding wider ranging support for that platform in the coming > week. Apple have tweaked how some of their pickers work which we'd like > make available to your applications. We plan to do this in the form of > 6.7.1 and 7.0.1 releases in the coming two weeks. > > Thanks once again to you as a community. Your support in testing and bug > reporting does not go unnoticed! > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Thu Oct 23 17:50:10 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 23 Oct 2014 14:50:10 -0700 Subject: Extended ASCII Characters Showing Up Where Not Wanted... Message-ID: Hi All? I have a list of names in a field. John Doe Mary Jane etc. etc. When I do: put word one of the selectedText into tFirstname put word two of the selectedText into tLastname ?and then try using the variables in an INSERT to SQL Lite it fails. It seems the put script above is inserting the extend ascii 168 character ??? (upside down question mark). How do I clear those unwanted ascii characters out of my name variables? And why are they in there to begin with? It doesn?t seem like it should be just adding invisible characters to this process. I figured it out by adding the variable to a text editor and showing invisibles. Is this a bug? Thanks for any advice! John Patten SUSD From sc at sahores-conseil.com Thu Oct 23 17:54:10 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 23 Oct 2014 23:54:10 +0200 Subject: RELEASE LiveCode 7.0 In-Reply-To: <26A3CA62-E501-40ED-B87E-EF932E4F551D@iotecdigital.com> References: <26A3CA62-E501-40ED-B87E-EF932E4F551D@iotecdigital.com> Message-ID: <01BFE886-E3BA-4235-B010-B29B29C9C9D7@sahores-conseil.com> Purely amazing ! Thanks Mother Ship ;D Warm Regards, Pierre > On Oct 23, 2014, at 12:36 , Benjamin Beaumont wrote: > > Dear list members, > > We're pleased to announce release of LiveCode 7.0. This is a stable release. > > WARNING: LiveCode 7.0 contains breaking changes particularly when reading > and writing data out of LiveCode or working with the char chunk type. > Details can be found in the release notes which are linked below. LiveCode > 6.7, which was also released today, provides a fully backward compatible > new edition of LiveCode for all those users who need time to migrate their > stacks to 7.0. Most people will be unaffected but please check the release > notes and ask your questions on the list if you are unsure, we are very > happy to help. LiveCode 7.0 has been available for most of 2014 so I expect > most of you are well aware of the changes and likely already updated stacks > where necessary. > > *Release contents* > LiveCode 7.0 is a massive release for us as custodians of LiveCode and for > us as a community. We've been working on it for almost 2 years and it sees > us modernise the core of the engine and pave the was for LiveCode 8. We've > introduced lots of new features, most notably, transparent unicode support > which is a huge step forward for the technology. For more information of > the changes in the release you can visit our website at: > http://livecode.com/livecode-7/ > > Our release notes contain full details of all the changes made during this > cycle as well as details of all the bugs that were fixed. The can be found > here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-7_0_0.pdf > > *Yosemite* > During the release candidate phase we added support for Yosemite and will > be working on adding wider ranging support for that platform in the coming > week. Apple have tweaked how some of their pickers work which we'd like > make available to your applications. We plan to do this in the form of > 6.7.1 and 7.0.1 releases in the coming two weeks. > > Thanks once again to you as a community. Your support in testing and bug > reporting does not go unnoticed! > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From johnpatten at me.com Thu Oct 23 18:05:54 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 23 Oct 2014 15:05:54 -0700 Subject: Extended ASCII Characters Showing Up Where Not Wanted... In-Reply-To: References: Message-ID: <6B1F0268-A206-4277-A04B-156BE35B8C52@me.com> Never mind?. I just downloaded LiveCode 7 and reopened project. The upside down questions marks are gone now. Coincidence, the weather, spirits?? :) Thank you! On Oct 23, 2014, at 2:50 PM, JOHN PATTEN wrote: > Hi All? > > I have a list of names in a field. > > John Doe > Mary Jane > etc. etc. > > When I do: > > put word one of the selectedText into tFirstname > put word two of the selectedText into tLastname > > ?and then try using the variables in an INSERT to SQL Lite it fails. It seems the put script above is inserting the extend ascii 168 character ??? (upside down question mark). > > How do I clear those unwanted ascii characters out of my name variables? And why are they in there to begin with? It doesn?t seem like it should be just adding invisible characters to this process. I figured it out by adding the variable to a text editor and showing invisibles. Is this a bug? > > > Thanks for any advice! > > 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 dunbarx at aol.com Thu Oct 23 18:59:56 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 23 Oct 2014 18:59:56 -0400 Subject: Extended ASCII Characters Showing Up Where Not Wanted... In-Reply-To: References: Message-ID: <8D1BD2C329D7C92-BD0-9C38@webmail-vd002.sysops.aol.com> John. Your code will not throw an error, but the engine will not know what field you are referencing. put word one of the selectedText of fld "yourFieldHere" into tFirstName There should be no issue with this, unless the names were imported from somewhere that already contained the extra chars Also, and this is a matter of style, I would always use "1" instead of the constant "one". Craig Newman -----Original Message----- From: JOHN PATTEN To: How to use LiveCode Sent: Thu, Oct 23, 2014 5:50 pm Subject: Extended ASCII Characters Showing Up Where Not Wanted... Hi All? I have a list of names in a field. John Doe Mary Jane etc. etc. When I do: put word one of the selectedText into tFirstname put word two of the selectedText into tLastname ?and then try using the variables in an INSERT to SQL Lite it fails. It seems the put script above is inserting the extend ascii 168 character ??? (upside down question mark). How do I clear those unwanted ascii characters out of my name variables? And why are they in there to begin with? It doesn?t seem like it should be just adding invisible characters to this process. I figured it out by adding the variable to a text editor and showing invisibles. Is this a bug? Thanks for any advice! 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 bobsneidar at iotecdigital.com Thu Oct 23 19:23:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Oct 2014 23:23:56 +0000 Subject: The Bearer Of Bad News Message-ID: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> Hi all. Well I upgraded to version 7.0.0. I opened a stack I have been working on, but it started misbehaving. I just had it open and running in version 6.6.4. In the process of trying to see where things were going wrong, version 7.0.0 unexpectedly quit. Now the stack is corrupted and UNUSABLE! Yes, I said unusable. Now I suppose I should have backed it up before opening the stack in 7.0. I didn?t. Now I have lost several days of work. Is there any means of opening this stack and at least getting the scripts of the objects out? Bob S From coiin at verizon.net Thu Oct 23 19:26:56 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 23 Oct 2014 19:26:56 -0400 Subject: The Bearer Of Bad News In-Reply-To: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> Message-ID: <1836BEF8-6FBD-48C3-A410-78C0BB9FD1CC@verizon.net> I don?t suppose you use a Mac with Time Machine running do you? If you are you can retrieve a copy from an hour ago. From bobsneidar at iotecdigital.com Thu Oct 23 19:29:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Oct 2014 23:29:38 +0000 Subject: The Bearer Of Bad News In-Reply-To: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> Message-ID: NVM I discovered there is a file of the same name ending in a tilde (~) which is a backup of the corrupted file. I was able to open it in 7.0 and save in the last legacy format. Unsure what happened initially, but I will be keeping a copy of the old stack intact for a while before migrating to 7.0 Bob S > On Oct 23, 2014, at 16:23 , Bob Sneidar wrote: > > Hi all. > > Well I upgraded to version 7.0.0. I opened a stack I have been working on, but it started misbehaving. I just had it open and running in version 6.6.4. In the process of trying to see where things were going wrong, version 7.0.0 unexpectedly quit. Now the stack is corrupted and UNUSABLE! Yes, I said unusable. > > Now I suppose I should have backed it up before opening the stack in 7.0. I didn?t. Now I have lost several days of work. Is there any means of opening this stack and at least getting the scripts of the objects out? > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Oct 23 19:34:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 16:34:04 -0700 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: <5449906C.5010809@fourthworld.com> Todd Geist wrote: > On Thu, Oct 23, 2014 at 11:45 AM, Richard Gaskin wrote: > >> If you're seeing ID numbers change when a stack is reconstructed >> in lcVCS it's either a bug in LiveCode or lcVCS and should be >> reported so it can be addressed. > > Monte's lcVCS still recommends using Name based references. > > https://github.com/montegoulding/lcVCS I wasn't aware that Monte had released a final version of that. I believe that Trevor's been using it, though, and since he uses behaviors extensively perhaps he can share some tips on working around that limitation. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Oct 23 19:39:30 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 16:39:30 -0700 Subject: The Bearer Of Bad News In-Reply-To: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> Message-ID: <544991B2.9050500@fourthworld.com> Bob Sneidar wrote: > Well I upgraded to version 7.0.0. I opened a stack I have been > working on, but it started misbehaving. I just had it open and > running in version 6.6.4. In the process of trying to see where > things were going wrong, version 7.0.0 unexpectedly quit. How did this behavior in 7.0 Stable differ from your testing in the 7.0 RC versions? -- 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 ben at runrev.com Thu Oct 23 19:49:27 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 24 Oct 2014 00:49:27 +0100 Subject: The Bearer Of Bad News In-Reply-To: <544991B2.9050500@fourthworld.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <544991B2.9050500@fourthworld.com> Message-ID: Hi Bob. I'm sorry you experienced in issue. We've not had any reports of stack corruptions in 7 for some months. We'd be very keen to get a copy of the corrupted stack and the working format to see if we can work out what happened. If you'd be happy to share the stack, please sent it privately to quality at livecode.com and we'll investigate. Warm regards, Ben On Friday, October 24, 2014, Richard Gaskin wrote: > Bob Sneidar wrote: > > > Well I upgraded to version 7.0.0. I opened a stack I have been > > working on, but it started misbehaving. I just had it open and > > running in version 6.6.4. In the process of trying to see where > > things were going wrong, version 7.0.0 unexpectedly quit. > > How did this behavior in 7.0 Stable differ from your testing in the 7.0 RC > versions? > > -- > 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 > -- _____________________________________________ 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 ben at runrev.com Thu Oct 23 19:53:49 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 24 Oct 2014 00:53:49 +0100 Subject: 64-bit App Store requirement In-Reply-To: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> References: <6FD27B6C-3E5C-4939-AE8C-18EAF660B551@trueinsecurity.com> Message-ID: Hi john, Thanks for your question. We were made aware of this earlier in the week and after reading the information available it seems we'll need to provide a package with both a 32 and 64 bit version of the app. Compiling our engine for 64 arm will be relatively straightforward so adding support for this by February will not be a problem. Warm regards, Ben On Thursday, October 23, 2014, John Brozycki wrote: > Recently read the Ars Technica article ?Apple: Beginning February 2015, > App Store submissions need to be 64-bit?: > > > http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ > < > http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ > > > > ...and was wondering if anyone knew what RunRev?s plans are for this. I > don?t see anything about 64-bit in the roadmap. > > Regards, > John > _______________________________________________ > use-livecode mailing list > use-livecode 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 dave at applicationinsight.com Thu Oct 23 20:00:35 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 23 Oct 2014 17:00:35 -0700 (PDT) Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: <1414108835973-4684834.post@n4.nabble.com> Congratulations and well done to all at RunRev, thank you to each of you for your hard work Have a great weekend :) Dave Benjamin Beaumont wrote > Dear list members, > > We're pleased to announce release of LiveCode 7.0. This is a stable > release. ----- "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-tp4684814p4684834.html Sent from the Revolution - User mailing list archive at Nabble.com. From sean at pidigital.co.uk Thu Oct 23 20:05:04 2014 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 24 Oct 2014 01:05:04 +0100 Subject: The Bearer Of Bad News In-Reply-To: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> Message-ID: Hi Bob I would like to recommend to you using Dropbox and putting your stacks into its folders. This has saved me no end of times as it holds many previous versions of your files as backups. I now have a premium subscription and get infinite version backups and remembers even if I change file names, accidentally delete them or move them to another location. It's a modern marvel. It even blows the socks off Apple's TimeMachine. Plus I can get to the files from any of my machines and remotely too. Glad to hear you were able to restore it somehow anyway. All the best Sean Cole Pi Digital -- This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > On 24 Oct 2014, at 00:23, Bob Sneidar wrote: > > Hi all. > > Well I upgraded to version 7.0.0. I opened a stack I have been working on, but it started misbehaving. I just had it open and running in version 6.6.4. In the process of trying to see where things were going wrong, version 7.0.0 unexpectedly quit. Now the stack is corrupted and UNUSABLE! Yes, I said unusable. > > Now I suppose I should have backed it up before opening the stack in 7.0. I didn?t. Now I have lost several days of work. Is there any means of opening this stack and at least getting the scripts of the objects out? > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Oct 23 20:13:50 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 24 Oct 2014 11:13:50 +1100 Subject: setting a behavior with out using an ID In-Reply-To: <5449906C.5010809@fourthworld.com> References: <5449906C.5010809@fourthworld.com> Message-ID: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> On 24 Oct 2014, at 10:34 am, Richard Gaskin wrote: > I wasn't aware that Monte had released a final version of that. It's been in beta since January but with very few reports. Probably because nobody is using it... Trevor, Martin, Myself and Todd could be it... I made a couple of tweaks the other day actually so I'll upload built versions to mergExt.com when I get a chance. I've recently been informed RunRev will be tackling this issue in LC 8 but I will continue to maintain lcVCS until I'm sure their solution takes into account the multitude of complications I had to tackle to make something functional (actually it really comes down to two core issues). I've offered to advise them of the issues they will face (if they don't want merging to be a nightmare) but I'm not sure if they plan to take me up on that yet. I have some extra Git-lcVCS-IDE integration tools that I haven't released publicly though. That's the cool stuff and that still does need a bit more work. Particularly the Team menu it adds to the menubar makes the menu quite slow so I need to spend some time on that but I'm not sure it's worthwhile now that RunRev are looking at the problem. > I believe that Trevor's been using it, though, and since he uses behaviors extensively perhaps he can share some tips on working around that limitation. Behaviors are saved as an id and a stack name and no matter how you set them that's what the internal reference is. lcVCS handles behaviors fine (and image ids etc) as long as the stackFile import/export order is right. It also has a plugin system to support libraries and custom controls that save object references like DataGrid templates etc. What lcVCS can't ensure is that if you hard code an id into a script everything will work because when changes are merged ids can change if there are two new objects on different branches with the same id. Anyway it all gets rather curly from here and I start boring people about UUIDs so I won't go on... Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dochawk at gmail.com Thu Oct 23 20:43:51 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 Oct 2014 17:43:51 -0700 Subject: Has anyone won the fight with postgres on OSC Server update to 3.2 Message-ID: I'm nearly ready to pull my hair out. Shen OSX server updated to 3.2.1, it broke postgres, badly. This doesn't seem to have been solved on on 3.2.2, either. "unix_socket_directory" became "unix_socket_directories" in org.postgresql.postgres.plist --but this has to be done manually, resulting in a failure to convert the default database from 9.2 to 9.3,and the need to manually do this and and/or manually import and use initdb to create one. Of course, apple has no provision to rollback to 3.1. Doing this with time machine breaks yet more . . . and there is no way to force a reinstall of 3.2.2 once it thinks it's already installed (although I suppose somewhere there is a list that I could edit) After days of fighting, I got it running on my laptop, and managed to import my old database. Hurrah. Then I added the listening ip addresses--and it would no longer start! I managed, after much conniving, to get it running on the desktop, and import the database (getting the dump meant an adventure with the 9.2 binaries that are indeed part of the bundle). Imported, got it speaking with the psql program as user _postgres, and . . . livecode can't connect. I get the message, could not connect to server: Connection refused Is the server running on host "sharpshin.local" and accepting TCP/IP connections on port 5432? well, yes: [sharpshin:/Library/Server/PostgreSQL] root# ls -l /private/var/pgsql_socket/ total 56 srwxrwx--- 1 _postgres _postgres 0 Oct 23 17:25 .s.PGSQL.5432 -rw------- 1 _postgres _postgres 79 Oct 23 17:25 .s.PGSQL.5432.lock -rw------- 1 _postgres _postgres 283 Oct 13 13:30 _devicemgr_server1-upgrade.log -rw------- 1 _postgres _postgres 621 Oct 13 13:30 _devicemgr_server2-upgrade.log -rw------- 1 _postgres _postgres 283 Oct 13 13:31 _teamsserver_server1-upgrade.log -rw------- 1 _postgres _postgres 650 Oct 13 13:31 _teamsserver_server2-upgrade.log -rw------- 1 _postgres _postgres 283 Oct 13 13:29 caldav_server1-upgrade.log -rw------- 1 _postgres _postgres 569 Oct 13 13:29 caldav_server2-upgrade.log [sharpshin:/Library/Server/PostgreSQL] root# ls -l /var/pgsql_socket/ total 56 srwxrwx--- 1 _postgres _postgres 0 Oct 23 17:25 .s.PGSQL.5432 -rw------- 1 _postgres _postgres 79 Oct 23 17:25 .s.PGSQL.5432.lock -rw------- 1 _postgres _postgres 283 Oct 13 13:30 _devicemgr_server1-upgrade.log -rw------- 1 _postgres _postgres 621 Oct 13 13:30 _devicemgr_server2-upgrade.log -rw------- 1 _postgres _postgres 283 Oct 13 13:31 _teamsserver_server1-upgrade.log -rw------- 1 _postgres _postgres 650 Oct 13 13:31 _teamsserver_server2-upgrade.log -rw------- 1 _postgres _postgres 283 Oct 13 13:29 caldav_server1-upgrade.log -rw------- 1 _postgres _postgres 569 Oct 13 13:29 caldav_server2-upgrade.log But it won't talk. in psql, I can see that all exists: template1=# \du List of roles Role name | Attributes | Member of -----------+------------------------------------------------+----------- _postgres | Superuser, Create role, Create DB, Replication | {} dhbk | | {} hawk | | {dhbk} root | | {} and my database and tables exist, too. org.postgresql.postgres.plist is ProgramArguments -D /Library/Server/PostgreSQL/Data -c unix_socket_directories=/private/var/pgsql_socket -c logging_collector=on -c log_connections=on -c log_lock_waits=on -c log_statement=ddl -c log_line_prefix=%t -c listen_addresses=127.0.0.1,::1,192.186.*.*,10.0.*.* -c log_directory=/Library/Logs/PostgreSQL -c log_filename=PostgreSQL.log -c unix_socket_group=_postgres -c unix_socket_permissions=0770 while the active part of pg_hba.conf is # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust # Allow replication connections from localhost, by a user with the # replication privilege. #local replication _postgres trust #host replication _postgres 127.0.0.1/32 trust #host replication _postgres ::1/128 trust host all all 192.168.0.1/16 trust host all all 10.0.0.1/16 trust I'm at a loss here. I know almost nothing about sockets, but it seems to me that 10.0.1.10 should be able to connect to itself with these. OK, part of the oral here is to make my own postgres installation for the shipping product, but . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Oct 23 20:46:31 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 Oct 2014 17:46:31 -0700 Subject: Has anyone won the fight with postgres on OSC Server update to 3.2 In-Reply-To: References: Message-ID: Oh, and to top it off, it seems that when I log into Apple Support Communities to ask a question in the threads about this, I get The page you tried was not found. You may have used an outdated link or may have typed the address (URL) incorrectly. for all threads . . . From ambassador at fourthworld.com Thu Oct 23 20:58:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Oct 2014 17:58:27 -0700 Subject: setting a behavior with out using an ID In-Reply-To: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> References: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> Message-ID: <5449A433.40406@fourthworld.com> Thanks for the info, Monte: > Behaviors are saved as an id and a stack name and no matter how > you set them that's what the internal reference is. lcVCS handles > behaviors fine (and image ids etc) as long as the stackFile > import/export order is right. It also has a plugin system to > support libraries and custom controls that save object references > like DataGrid templates etc. What lcVCS can't ensure is that if you > hard code an id into a script everything will work because when > changes are merged ids can change if there are two new objects on > different branches with the same id. If I understand this correctly, all of the following conditions need to be true to prevent someone from using lcVCS for work involving behaviors: - Multiple developers are working on the same stack - They're both adding behavior buttons - Their new behavior buttons have the same ID - Any manual step like a simple copy-and-paste of one of the new behavior buttons into the main branch is considered undesirable. That doesn't sound so bad. Worse-case it takes less than a minute of manual labor to resolve technically, much less time than would hopefully be spent in code review to determine if the merge is desirable. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Thu Oct 23 21:09:23 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 24 Oct 2014 12:09:23 +1100 Subject: setting a behavior with out using an ID In-Reply-To: <5449A433.40406@fourthworld.com> References: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> <5449A433.40406@fourthworld.com> Message-ID: On 24 Oct 2014, at 11:58 am, Richard Gaskin wrote: > Thanks for the info, Monte: > > Behaviors are saved as an id and a stack name and no matter how > > you set them that's what the internal reference is. lcVCS handles > > behaviors fine (and image ids etc) as long as the stackFile > > import/export order is right. It also has a plugin system to > > support libraries and custom controls that save object references > > like DataGrid templates etc. What lcVCS can't ensure is that if you > > hard code an id into a script everything will work because when > > changes are merged ids can change if there are two new objects on > > different branches with the same id. > > If I understand this correctly, all of the following conditions need to be true to prevent someone from using lcVCS for work involving behaviors: > > - Multiple developers are working on the same stack > - They're both adding behavior buttons > - Their new behavior buttons have the same ID > - Any manual step like a simple copy-and-paste of one of the new > behavior buttons into the main branch is considered undesirable. > > That doesn't sound so bad. Worse-case it takes less than a minute of manual labor to resolve technically, much less time than would hopefully be spent in code review to determine if the merge is desirable. Actually that scenario is not an issue at all for lcVCS. The only problem would be if you had a script that referred to the behavior button by id for some reason. lcVCS assigns each object a UUID during export and translates any object refererences to UUIDs so that at the end of the import it can handle the duplicate ID issue by translating back from UUID to id where in some cases the id is different to what was exported. lcVCS doesn't edit your scripts though hence the problem there. This is why I have a plugin system so that other developers can write the little bit of code that finds object references used by their libraries etc and do the translation steps. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pktemp50 at gmail.com Thu Oct 23 21:42:08 2014 From: pktemp50 at gmail.com (Paul Kocsis) Date: Thu, 23 Oct 2014 20:42:08 -0500 Subject: how can exportImageToAlbum be broken on android for so long... Message-ID: I've never, ever gotten it to work. There are two outstanding bug reports that are nearly a year old. Such a fundamental feature that has, as far as I can tell, never worked on android. It certainly does not work from 6.x.x and on.... My image is a png and I'm doing the following: put the long ID of image "myimage" into tlongid mobileExportImageToAlbum tlongid This returns "export failed" every time. I've tried to use a filename: mobileExportImageToAlbum tlongid, "testfilename" 'export failed' I've tried: put the text of image "myimage" into ttext mobileExportImageToAlbum ttext fails with either "export failed" or "could not find image" Why has a fundamental android feature that has been broken for so long been ignored? From eric.miclo at wanadoo.fr Fri Oct 24 00:08:21 2014 From: eric.miclo at wanadoo.fr (=?utf-8?Q?=C3=89ric_Miclo?=) Date: Fri, 24 Oct 2014 07:08:21 +0300 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <544991B2.9050500@fourthworld.com> Message-ID: <3F5BDD0B-9B6F-42A4-9FEC-09BB347EBB63@wanadoo.fr> Hello, Sorry Ben, but you?re wrong. Take a look at bug #13554 (stack corruption). It has been marked as a duplicate of bug #13593 (gradient disappearing - don?t know why a stack corruption is a duplicate of this one). And what?s really funny: neither the first or the second one has been fixed for the stable version release! So, LiveCode 7 corrupts stacks and RunRev releases stable versions without fixing such bugs. How is that serious? Investigating such bugs is not enough. I?ve already lost hours of work due to that problem and stopped development because of it. And I see that I can?t restart because the bug is still around in a stable release. ?rIC > ---------- Original Message ---------- > De: Benjamin Beaumont > Objet: R?p : The Bearer Of Bad News > Date: 24 octobre 2014 02:49:27 UTC+3 > ?: How to use LiveCode > > Hi Bob. > > I'm sorry you experienced in issue. We've not had any reports of stack > corruptions in 7 for some months. We'd be very keen to get a copy of the > corrupted stack and the working format to see if we can work out what > happened. If you'd be happy to share the stack, please sent it privately to > quality at livecode.com and we'll investigate. > > Warm regards, > > Ben > > On Friday, October 24, 2014, Richard Gaskin > wrote: > >> Bob Sneidar wrote: >> >>> Well I upgraded to version 7.0.0. I opened a stack I have been >>> working on, but it started misbehaving. I just had it open and >>> running in version 6.6.4. In the process of trying to see where >>> things were going wrong, version 7.0.0 unexpectedly quit. >> >> How did this behavior in 7.0 Stable differ from your testing in the 7.0 RC >> versions? >> >> -- >> 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 >> > > > -- > _____________________________________________ > > 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 kray at sonsothunder.com Fri Oct 24 00:45:23 2014 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Oct 2014 23:45:23 -0500 Subject: Variable parameter synonym functions In-Reply-To: <3C8DB2AB-8330-4CFA-8EFC-54FE47BAC573@gmail.com> References: <3C8DB2AB-8330-4CFA-8EFC-54FE47BAC573@gmail.com> Message-ID: <3A6A0641-6BC6-4721-9341-B8C2D47792B8@sonsothunder.com> How about: on a send ("aardvark" && (word 2 to -1 of the params)) to me end a on aardvark put the params end aardvark ? on mouseUp a "one","two","three" end mouseUp ?> aardvark "one","two","three" ?? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > On Oct 23, 2014, at 6:51 AM, Mikey wrote: > > Has anybody come up with an easy way to write functions or handlers that are synonyms for other functions/handlers where both take a variable number of parameters? > > If I want to have a handler "a" and synonym "aardvark", I would normally write > > on a name > aardvark name > end a > > on aardvark name > answer "I'm an aardvark named"&&name > end aardvark > > > Now imagine doing that while supporting a variable number of parameters. > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 24 00:50:22 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 24 Oct 2014 15:50:22 +1100 Subject: setting a behavior with out using an ID In-Reply-To: References: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> <5449A433.40406@fourthworld.com> Message-ID: <335634B4-9FDB-4676-91D5-ACB7E22D152F@sweattechnologies.com> On this topic I just uploaded lcVCS 1.0.0 RC 1 to mergExt.com I will need to do a bit of work to make lcVCS fully LiveCode 7 compatible. My understanding is that for a time RunRev were using lcVCS to help find bugs in 7 (it's really good at finding engine bugs) so hopefully it will work reasonably well while I work out what needs to be changed. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From t.heaford at btinternet.com Fri Oct 24 02:33:44 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 07:33:44 +0100 Subject: RELEASE LiveCode 6.7 In-Reply-To: <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> Message-ID: How can 6.7 be considered suitable for a release and having been updated for Yosemite when?: 1. Buttons do not display correctly. 2. Tabs do not display correctly. 3. There are slow downs in the display of scrolling data grids because graphic display improvements have been turned off because of crashes (advised by Trevor Devore). It?s really beyond my comprehension. All the best Terry > On 23 Oct 2014, at 21:44, Jerry Jensen wrote: > > Thanks Klaus. Done and bookmarked! > Jerry > > On Oct 23, 2014, at 12:56 PM, Klaus major-k wrote: > >> Hi Jerry, >> >>> Am 23.10.2014 um 21:52 schrieb Jerry Jensen : >>> >>> Ben, I can't figure out how to download 6.7 community. Check for updates in 6.6.5 only offers 7.0 and I'm not ready for that yet. In the store, the only Community download I see is for 6.6.2 (!). >>> ?? >> >> get it here and bookmark the page: >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 24 02:44:20 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 07:44:20 +0100 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: How can 7.0 be considered suitable for a release and having been updated for Yosemite when?: 1. Buttons do not display correctly. 2. Tabs do not display correctly. It?s really beyond my comprehension. All the best Terry > On 23 Oct 2014, at 20:36, Benjamin Beaumont wrote: > > Dear list members, > > We're pleased to announce release of LiveCode 7.0. This is a stable release. > > > *Yosemite* > During the release candidate phase we added support for Yosemite and will > be working on adding wider ranging support for that platform in the coming > week. Apple have tweaked how some of their pickers work which we'd like > make available to your applications. We plan to do this in the form of > 6.7.1 and 7.0.1 releases in the coming two weeks. > > Thanks once again to you as a community. Your support in testing and bug > reporting does not go unnoticed! > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Fri Oct 24 02:52:24 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 07:52:24 +0100 Subject: Confused Message-ID: Why does the about box for LC 6.7 say LC7? All the best Terry From gerry.orkin at gmail.com Fri Oct 24 02:53:40 2014 From: gerry.orkin at gmail.com (Gerry) Date: Fri, 24 Oct 2014 17:53:40 +1100 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: I'm wondering if anyone tested the iOS player object in a pre-GM release of 7.0? As far as I can see it's totally broken? g > On 24 Oct 2014, at 5:44 pm, Terence Heaford wrote: > > It?s really beyond my comprehension. From dave at applicationinsight.com Fri Oct 24 03:18:45 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 24 Oct 2014 00:18:45 -0700 (PDT) Subject: Confused In-Reply-To: References: Message-ID: <1414135125068-4684849.post@n4.nabble.com> Terry The 'About' box for 6.7 gives me "6.7" (build 5012), and for 7 it displays "7.0.0" (build 10018) ----- "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/Confused-tp4684847p4684849.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Fri Oct 24 04:12:05 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 09:12:05 +0100 Subject: Confused In-Reply-To: <1414135125068-4684849.post@n4.nabble.com> References: <1414135125068-4684849.post@n4.nabble.com> Message-ID: <733C94A6-4708-4B6C-A110-0F391344619A@btinternet.com> Here?s mine. This image may not show but it is the LIVECODE7 Logo All the best Terry > On 24 Oct 2014, at 08:18, Dave Kilroy wrote: > > The 'About' box for 6.7 gives me "6.7" (build 5012), and for 7 it displays > "7.0.0" (build 10018) From toolbook at kestner.de Fri Oct 24 04:20:28 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 24 Oct 2014 10:20:28 +0200 Subject: need some help with baseConvert() Message-ID: <002b01cfef63$5fb56d40$1f2047c0$@de> Hello, I am using: put baseConvert(number,32,10) into tResult where "number" can be numeric or alpha input by the user. When "number" is "AB" the result is 331, ok. But when "number" is e.g. "QW" I get an error "baseConvert can't convert this number" I would like to check the user input for valid values which can be converted by the function, before I pass it to the baseConvert(), and the function throws this error to the user. What is the valid range for this baseConvert? Any help appreciated. Tiemo From richmondmathewson at gmail.com Fri Oct 24 05:36:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 Oct 2014 12:36:16 +0300 Subject: Confused In-Reply-To: <733C94A6-4708-4B6C-A110-0F391344619A@btinternet.com> References: <1414135125068-4684849.post@n4.nabble.com> <733C94A6-4708-4B6C-A110-0F391344619A@btinternet.com> Message-ID: <544A1D90.9060409@gmail.com> I've just installed 6.7 on linux and the about window does, indeed, display the Livecode 7 details . . . something not quite right. Richmond. On 10/24/2014 11:12 AM, Terence Heaford wrote: > Here?s mine. > > > > > This image may not show but it is the LIVECODE7 Logo > > > All the best > > Terry > > >> On 24 Oct 2014, at 08:18, Dave Kilroy wrote: >> >> The 'About' box for 6.7 gives me "6.7" (build 5012), and for 7 it displays >> "7.0.0" (build 10018) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Fri Oct 24 05:45:45 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 24 Oct 2014 11:45:45 +0200 Subject: need some help with baseConvert() In-Reply-To: <002b01cfef63$5fb56d40$1f2047c0$@de> References: <002b01cfef63$5fb56d40$1f2047c0$@de> Message-ID: <798DEB2D-82EE-4B00-A9BE-AD1BEC98D692@mac.com> LC is using base32Hex. That means valid chars are 0-9 and A-V. See also Wikipedia: http://en.wikipedia.org/wiki/Base32#base32hex On 24 Oct 2014, at 10:20, Tiemo Hollmann TB wrote: > Hello, > > I am using: > > put baseConvert(number,32,10) into tResult > > "QW" I get an error -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dave at applicationinsight.com Fri Oct 24 05:52:02 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 24 Oct 2014 02:52:02 -0700 (PDT) Subject: Confused In-Reply-To: <544A1D90.9060409@gmail.com> References: <1414135125068-4684849.post@n4.nabble.com> <733C94A6-4708-4B6C-A110-0F391344619A@btinternet.com> <544A1D90.9060409@gmail.com> Message-ID: <1414144322642-4684854.post@n4.nabble.com> Maybe it shows differently on different OS's? Both 6.7 (see below) and 7.0 display fine for me on Yosemite ----- "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/Confused-tp4684847p4684854.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Fri Oct 24 06:11:10 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 24 Oct 2014 12:11:10 +0200 Subject: AW: need some help with baseConvert() In-Reply-To: <798DEB2D-82EE-4B00-A9BE-AD1BEC98D692@mac.com> References: <002b01cfef63$5fb56d40$1f2047c0$@de> <798DEB2D-82EE-4B00-A9BE-AD1BEC98D692@mac.com> Message-ID: <004501cfef72$d6c8fc80$845af580$@de> Thank you Bj?rnke for your helpful answer Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Bj?rnke von Gierke > Gesendet: Freitag, 24. Oktober 2014 11:46 > An: How to use LiveCode > Betreff: Re: need some help with baseConvert() > > LC is using base32Hex. That means valid chars are 0-9 and A-V. > > See also Wikipedia: http://en.wikipedia.org/wiki/Base32#base32hex > > On 24 Oct 2014, at 10:20, Tiemo Hollmann TB wrote: > > > Hello, > > > > I am using: > > > > put baseConvert(number,32,10) into tResult > > > > "QW" I get an error > > -- > > 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 index at kenjikojima.com Fri Oct 24 06:11:11 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 24 Oct 2014 06:11:11 -0400 Subject: Can anybody play a midi file on LiveCode 7? Message-ID: I cannot play a midi file on LiveCode 7. I set the dontUseQT to false. And the qtVersion returns 7.7.3. I use LiveCode 7.0.0 and OSX Yosemite 10.10 But my QuickTime player is 7.6.6 and 10.4. Is it the reason? Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From lists at mangomultimedia.com Fri Oct 24 07:01:13 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 07:01:13 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: References: Message-ID: On Fri, Oct 24, 2014 at 6:11 AM, Kenji Kojima wrote: > I cannot play a midi file on LiveCode 7. > I set the dontUseQT to false. And the qtVersion returns 7.7.3. > > I use LiveCode 7.0.0 and OSX Yosemite 10.10 > But my QuickTime player is 7.6.6 and 10.4. > Is it the reason? > If you are trying to test LiveCode 7 engines on OS X 10.4 that may be the reason. LiveCode 7 only supports >= 10.6. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From lists at mangomultimedia.com Fri Oct 24 07:15:45 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 07:15:45 -0400 Subject: RELEASE LiveCode 6.7 In-Reply-To: References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> Message-ID: On Fri, Oct 24, 2014 at 2:33 AM, Terence Heaford wrote: > > 3. There are slow downs in the display of scrolling data grids because > graphic display improvements have been turned off because of crashes > (advised by Trevor Devore). > The slowdown you refer to happened between different builds of 6.7. The engineers tried to speed things up using multiple threads when rendering (one of a couple of attempts to speed things up on high-dpi monitors). It caused lots of crashes, however, so it was removed prior to release. That seems like a good idea to me :-) -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From t.heaford at btinternet.com Fri Oct 24 07:21:59 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 12:21:59 +0100 Subject: RELEASE LiveCode 6.7 In-Reply-To: References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> Message-ID: <4FABFC00-E8B5-45CE-A91D-063282CECE85@btinternet.com> A better idea would have been to come up with a solution before release. Also, it would be an even better idea to conform with the UI for Yosemite before releasing it and advising that it had been revised to conform with Yosemite when clearly it doesn?t. All the best Terry > On 24 Oct 2014, at 12:15, Trevor DeVore wrote: > > The slowdown you refer to happened between different builds of 6.7. The > engineers tried to speed things up using multiple threads when rendering > (one of a couple of attempts to speed things up on high-dpi monitors). It > caused lots of crashes, however, so it was removed prior to release. That > seems like a good idea to me :-) From lists at mangomultimedia.com Fri Oct 24 07:53:32 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 07:53:32 -0400 Subject: RELEASE LiveCode 6.7 In-Reply-To: <4FABFC00-E8B5-45CE-A91D-063282CECE85@btinternet.com> References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> <4FABFC00-E8B5-45CE-A91D-063282CECE85@btinternet.com> Message-ID: On Fri, Oct 24, 2014 at 7:21 AM, Terence Heaford wrote: > A better idea would have been to come up with a solution before release. > Terry, A solution to the multi-threaded rendering crashes or just a speed improvement in general? I think the right decision was made regardless and here is why. The problem with using multiple threads to render stacks is that there are a number of areas of the engine that are not thread-safe. It would appear that the team looked at the numerous crashes caused by adding this feature (even after trying to fix many of them) and decided it was better to leave the engine more stable. As application developers we all know that not every idea to improve something works. Sometimes you have to shelve something for later or scrap it altogether. Performance from 6.6 to 6.7 didn't decrease by leaving out the attempt at improving rendering speed. One idea to possibly speed things up didn't pan out, at least not for now. I'm not arguing that I wouldn't like faster rendering of my stacks. At the same time, I understand that the problem the engineers are trying to solve isn't a simple one and has (and will) take a lot of time. My understanding is that they are continuing to look at ways to improve rendering speed. It is an iterative process and 6.7 gm-1 won't be the last release of LiveCode. Now, it is okay if we disagree on this point. I just offer up the above to provide some context for other readers. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From coiin at verizon.net Fri Oct 24 09:32:49 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 09:32:49 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: References: Message-ID: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> Trevor, he mentioned Yosemite, which is Mac OS 10.10. I have the same versions you do, and no problem playing a MIDI file. How are you trying to play it? > On Oct 24, 2014, at 7:01 AM, Trevor DeVore wrote: > > On Fri, Oct 24, 2014 at 6:11 AM, Kenji Kojima wrote: > >> I cannot play a midi file on LiveCode 7. >> I set the dontUseQT to false. And the qtVersion returns 7.7.3. >> >> I use LiveCode 7.0.0 and OSX Yosemite 10.10 >> But my QuickTime player is 7.6.6 and 10.4. >> Is it the reason? >> > > If you are trying to test LiveCode 7 engines on OS X 10.4 that may be the > reason. LiveCode 7 only supports >= 10.6. > > -- > Trevor DeVore > ScreenSteps > 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 index at kenjikojima.com Fri Oct 24 09:51:13 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 24 Oct 2014 09:51:13 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: References: Message-ID: <03877FC2-088B-4090-90B4-379C331AEB0C@kenjikojima.com> Trevor, I did not understand clearly. I used OS X 10.10. It?s the latest OSX Yosemite. I could play a midi file on LiveCode 7 and OS X 10.6.8(Snow Leopard). The qtVersion was 0.0 and the dontUseQT was true. -- Kenji Kojima / ???? http://www.kenjikojima.com/ > On Oct 24, 2014, at 7:01 AM, Trevor DeVore wrote: > > On Fri, Oct 24, 2014 at 6:11 AM, Kenji Kojima wrote: > >> I cannot play a midi file on LiveCode 7. >> I set the dontUseQT to false. And the qtVersion returns 7.7.3. >> >> I use LiveCode 7.0.0 and OSX Yosemite 10.10 >> But my QuickTime player is 7.6.6 and 10.4. >> Is it the reason? >> > > If you are trying to test LiveCode 7 engines on OS X 10.4 that may be the > reason. LiveCode 7 only supports >= 10.6. > > -- > Trevor DeVore > ScreenSteps > 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 klaus at major-k.de Fri Oct 24 10:06:19 2014 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Oct 2014 16:06:19 +0200 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: Message-ID: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> Hi all, > Am 24.10.2014 um 08:44 schrieb Terence Heaford : > > How can 7.0 be considered suitable for a release and having been updated for Yosemite when?: > > 1. Buttons do not display correctly. > 2. Tabs do not display correctly. Yep, as much I admire the efforts from the mothership, this is a no-go! Look at this screenshot and guess which tab is from OS X system settings: This has been in Quality Center for more than three years now and we were hoping to have this finally fixed with the introduction of a Cocoa version: > It?s really beyond my comprehension. > > All the best > > Terry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From lists at mangomultimedia.com Fri Oct 24 10:07:00 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:07:00 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> Message-ID: On Fri, Oct 24, 2014 at 9:32 AM, Colin Holgate wrote: > Trevor, he mentioned Yosemite, which is Mac OS 10.10. > Right. But he also said "But my QuickTime player is 7.6.6 and 10.4". I took that to mean that he was testing on 10.4 as well. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From lists at mangomultimedia.com Fri Oct 24 10:13:16 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:13:16 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> Message-ID: On Fri, Oct 24, 2014 at 10:06 AM, Klaus major-k wrote: > > This has been in Quality Center for more than three years now and we were > hoping to have > this finally fixed with the introduction of a Cocoa version: > Klaus, One misconception (understandably) with the Cocoa version is that it affects how controls are rendered. Unfortunatley this is not the case. It does improve how windows are drawn, and how controls like the web browser integrate with the rest of the stack controls. But it doesn't change how LiveCode draws buttons, fields, etc.. LiveCode will be able to render native controls on OS X when we get Widgets (LC 8). -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From coiin at verizon.net Fri Oct 24 10:14:08 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 10:14:08 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> Message-ID: <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> I see your confusion. 7.6.6 is the current version of QuickTime Player 7, and 10.4 is the current version for QuickTime Player X. Under the hood, QuickTime is at 7.7.3, which is what LiveCode sees. > On Oct 24, 2014, at 10:07 AM, Trevor DeVore wrote: > > On Fri, Oct 24, 2014 at 9:32 AM, Colin Holgate wrote: > >> Trevor, he mentioned Yosemite, which is Mac OS 10.10. >> > > Right. But he also said "But my QuickTime player is 7.6.6 and 10.4". I took > that to mean that he was testing on 10.4 as well. > > -- > Trevor DeVore > ScreenSteps > 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 lists at mangomultimedia.com Fri Oct 24 10:15:52 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:15:52 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> Message-ID: On Fri, Oct 24, 2014 at 10:14 AM, Colin Holgate wrote: > I see your confusion. 7.6.6 is the current version of QuickTime Player 7, > and 10.4 is the current version for QuickTime Player X. > > Under the hood, QuickTime is at 7.7.3, which is what LiveCode sees. Ah. Thanks for clearing that up for me. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From bvg at mac.com Fri Oct 24 10:18:56 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 24 Oct 2014 16:18:56 +0200 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> Message-ID: They could at least improve the fakes a bit right now, because 8 is far away. On 24 Oct 2014, at 16:13, Trevor DeVore wrote: > On Fri, Oct 24, 2014 at 10:06 AM, Klaus major-k wrote: > >> >> This has been in Quality Center for more than three years now and we were >> hoping to have >> this finally fixed with the introduction of a Cocoa version: >> > > Klaus, > > One misconception (understandably) with the Cocoa version is that it > affects how controls are rendered. Unfortunatley this is not the case. It > does improve how windows are drawn, and how controls like the web browser > integrate with the rest of the stack controls. But it doesn't change how > LiveCode draws buttons, fields, etc.. > > LiveCode will be able to render native controls on OS X when we get Widgets > (LC 8). > > -- > Trevor DeVore > ScreenSteps > 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 sean at pidigital.co.uk Fri Oct 24 10:20:15 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 24 Oct 2014 15:20:15 +0100 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> Message-ID: Hi Kenji, I just tried it too running LC7.0 on OS10.10. I also use QT7.7.3 which is also referred to internally as 7.6.6 (look at the about page for QT7) and have QT10.4 installed also. I created a player control and set the filename to a midi file. All plays as it should (although I have found a few bugs with the volume control and the controls flickering if border and 3d are set to true). Ditto to Colin, what are you using to play it? Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 24 October 2014 14:32, Colin Holgate wrote: > Trevor, he mentioned Yosemite, which is Mac OS 10.10. > > I have the same versions you do, and no problem playing a MIDI file. How > are you trying to play it? > > > > On Oct 24, 2014, at 7:01 AM, Trevor DeVore > wrote: > > > > On Fri, Oct 24, 2014 at 6:11 AM, Kenji Kojima > wrote: > > > >> I cannot play a midi file on LiveCode 7. > >> I set the dontUseQT to false. And the qtVersion returns 7.7.3. > >> > >> I use LiveCode 7.0.0 and OSX Yosemite 10.10 > >> But my QuickTime player is 7.6.6 and 10.4. > >> Is it the reason? > >> > > > > If you are trying to test LiveCode 7 engines on OS X 10.4 that may be the > > reason. LiveCode 7 only supports >= 10.6. > > > > -- > > Trevor DeVore > > ScreenSteps > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 24 10:20:43 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 24 Oct 2014 14:20:43 +0000 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> Message-ID: <994CEAF7-AEDE-4FBF-AD26-E233684EA49F@byu.edu> On Oct 24, 2014, at 8:15 AM, Trevor DeVore wrote: > On Fri, Oct 24, 2014 at 10:14 AM, Colin Holgate wrote: > >> I see your confusion. 7.6.6 is the current version of QuickTime Player 7, >> and 10.4 is the current version for QuickTime Player X. >> >> Under the hood, QuickTime is at 7.7.3, which is what LiveCode sees. > > > Ah. Thanks for clearing that up for me. Now I?m confused. I thought LiveCode 7 didn?t use QT at all any more, but instead a custom player object that uses AVFoundation. Devin Devin Asay Office of Digital Humanities Brigham Young University From klaus at major-k.de Fri Oct 24 10:24:33 2014 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Oct 2014 16:24:33 +0200 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> Message-ID: <489EB912-7DB0-4E8B-9B4A-898BAA3E5C84@major-k.de> Hi Trevor, > Am 24.10.2014 um 16:13 schrieb Trevor DeVore : > > On Fri, Oct 24, 2014 at 10:06 AM, Klaus major-k wrote: > >> This has been in Quality Center for more than three years now and we were >> hoping to have >> this finally fixed with the introduction of a Cocoa version: > Klaus, > > One misconception (understandably) with the Cocoa version is that it > affects how controls are rendered. Unfortunatley this is not the case. It > does improve how windows are drawn, and how controls like the web browser > integrate with the rest of the stack controls. But it doesn't change how > LiveCode draws buttons, fields, etc.. ah, OK, my fault, but nevertheless this (e.g. selected text = white!) has been working on Windows for years. > LiveCode will be able to render native controls on OS X when we get Widgets (LC 8). Yep, at some time in the future... :-/ > -- > Trevor DeVore Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From t.heaford at btinternet.com Fri Oct 24 10:27:51 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 15:27:51 +0100 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> Message-ID: <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> Yes but who will have to create the widgets? What is the target date for LC 8 or is it so far away it hasn?t ben thought about. Having to wait 3 years for the UI to be corrected (and it?s not done yet) is really unacceptable. Is OS X actually deemed to be an important market for RunRev? All the best Terry > On 24 Oct 2014, at 15:13, Trevor DeVore wrote: > > LiveCode will be able to render native controls on OS X when we get Widgets > (LC 8). From coiin at verizon.net Fri Oct 24 10:28:41 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 10:28:41 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: <994CEAF7-AEDE-4FBF-AD26-E233684EA49F@byu.edu> References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> <994CEAF7-AEDE-4FBF-AD26-E233684EA49F@byu.edu> Message-ID: <6F35CA83-3324-4D1B-9166-65C8967AA774@verizon.net> There is one mistake in the dictionary. There it says that dontuseqt defaults to false, but it seemed to be set to true. The thing about LiveCode not using QuickTime is to do with it requiring QuickTime, meaning any app you tried to submit to the Mac App Store would get rejected. Now it doesn?t require QuickTime, but it can still use it. > On Oct 24, 2014, at 10:20 AM, Devin Asay wrote: > > Now I?m confused. I thought LiveCode 7 didn?t use QT at all any more, but instead a custom player object that uses AVFoundation. From lists at mangomultimedia.com Fri Oct 24 10:30:46 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:30:46 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> Message-ID: On Fri, Oct 24, 2014 at 10:18 AM, Bj?rnke von Gierke wrote: > They could at least improve the fakes a bit right now, because 8 is far > away. Agreed. I'm not saying they shouldn't. I'm only trying to clear up confusion on what the Cocoa support brings to the table. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From bobsneidar at iotecdigital.com Fri Oct 24 10:33:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 14:33:00 +0000 Subject: The Bearer Of Bad News In-Reply-To: <544991B2.9050500@fourthworld.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <544991B2.9050500@fourthworld.com> Message-ID: <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> I never test the RC versions or the Dev releases. Since I do not produce commercial apps, I don?t have the need to test for compatibility. There were other things going wrong before that. The app did not run the way it should. I have a database setup card I go to that is designed to make a connection with either or both of two databases, and that wasn?t working correctly, but I *am* using sqlYoga and I am not sure if I need to be using a 7.0 converted version of that library. Also, when I went to the database setup card, at times although not always, my buttons looked like square gray boxes with no labels and the buttons did not work. Very odd. Bob S On Oct 23, 2014, at 16:39 , Richard Gaskin > wrote: Bob Sneidar wrote: > Well I upgraded to version 7.0.0. I opened a stack I have been > working on, but it started misbehaving. I just had it open and > running in version 6.6.4. In the process of trying to see where > things were going wrong, version 7.0.0 unexpectedly quit. How did this behavior in 7.0 Stable differ from your testing in the 7.0 RC versions? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From lists at mangomultimedia.com Fri Oct 24 10:36:09 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:36:09 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> Message-ID: On Fri, Oct 24, 2014 at 10:27 AM, Terence Heaford wrote: > Yes but who will have to create the widgets? > Anybody can. I believe RunRev stated at the conference that they would be creating new versions of the standard as Widgets. If there is a control you need that RunRev, or some other developer, hasn't made available then you can wrap it up in a widget. I'm not sure how wrapping up native controls will work exactly, but you use a special version of the LiveCode language (modular LiveCode?) to handle it. No Objective C or C. > What is the target date for LC 8 or is it so far away it hasn?t ben > thought about. > At the conference we were told that we should see Alphas before the end of the year. I've seen a bit of activity on Widgets in the commits on Github so they are actively working on it. > Is OS X actually deemed to be an important market for RunRev? > Well, if it wasn't I don't think they would have gone through all of the work of reworking the entire windowing/messaging system to use Cocoa. It was a big project. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From bobsneidar at iotecdigital.com Fri Oct 24 10:39:24 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 14:39:24 +0000 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <544991B2.9050500@fourthworld.com> Message-ID: I figured you might want a copy so I saved it. Do you also need the sqlYoga library I use? I suppose you can just use the public release. I will need to send along a copy of the sqLite database I use with it. The whole app depends on the database of course. Bob S > On Oct 23, 2014, at 16:49 , Benjamin Beaumont wrote: > > Hi Bob. > > I'm sorry you experienced in issue. We've not had any reports of stack > corruptions in 7 for some months. We'd be very keen to get a copy of the > corrupted stack and the working format to see if we can work out what > happened. If you'd be happy to share the stack, please sent it privately to > quality at livecode.com and we'll investigate. > > Warm regards, > > Ben > From bobsneidar at iotecdigital.com Fri Oct 24 10:54:53 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 14:54:53 +0000 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> Message-ID: <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> Very good suggestion. I do have a time machine backup, but it is not in the office, it is at home so I can lose a days worth of changes that way. I will look into that. Bob S > On Oct 23, 2014, at 17:05 , Pi Digital wrote: > > Hi Bob > > I would like to recommend to you using Dropbox and putting your stacks into its folders. This has saved me no end of times as it holds many previous versions of your files as backups. I now have a premium subscription and get infinite version backups and remembers even if I change file names, accidentally delete them or move them to another location. It's a modern marvel. It even blows the socks off Apple's TimeMachine. Plus I can get to the files from any of my machines and remotely too. > > Glad to hear you were able to restore it somehow anyway. > > All the best > > Sean Cole > Pi Digital > > -- > This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > > >> On 24 Oct 2014, at 00:23, Bob Sneidar wrote: >> >> Hi all. >> >> Well I upgraded to version 7.0.0. I opened a stack I have been working on, but it started misbehaving. I just had it open and running in version 6.6.4. In the process of trying to see where things were going wrong, version 7.0.0 unexpectedly quit. Now the stack is corrupted and UNUSABLE! Yes, I said unusable. >> >> Now I suppose I should have backed it up before opening the stack in 7.0. I didn?t. Now I have lost several days of work. Is there any means of opening this stack and at least getting the scripts of the objects out? >> >> Bob S >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 24 10:55:55 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:55:55 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> Message-ID: On Fri, Oct 24, 2014 at 10:27 AM, Terence Heaford wrote: > > Is OS X actually deemed to be an important market for RunRev? > An engineer just committed the fix for the text color in the highlighted tab button to github. So it will be fixed for the next release. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From lists at mangomultimedia.com Fri Oct 24 10:59:10 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 10:59:10 -0400 Subject: The Bearer Of Bad News In-Reply-To: <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <544991B2.9050500@fourthworld.com> <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> Message-ID: On Fri, Oct 24, 2014 at 10:33 AM, Bob Sneidar wrote: > ... but I *am* using sqlYoga and I am not sure if I need to be using a 7.0 > converted version of that library. SQL Yoga should behave well with 7.0 gm-1. In prior versions of 7.0 there were some backwards compatibility issues that broke SQL Yoga. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From coiin at verizon.net Fri Oct 24 11:01:56 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 11:01:56 -0400 Subject: The Bearer Of Bad News In-Reply-To: <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> Message-ID: Solutions like dropbox are good, but would either need you to manually back things up, or maybe an Automator script to copy important files over. With Time Machine I have a less than one hour old backup of any file I might need, not just the ones that I think I will need, or remembered to copy somewhere else. I solved the issue of having the backup drive at home by having a matching drive at the office. So, in addition to having a one hour old backup with me, I have a less than a day old backup in another location. > On Oct 24, 2014, at 10:54 AM, Bob Sneidar wrote: > > Very good suggestion. I do have a time machine backup, but it is not in the office, it is at home so I can lose a days worth of changes that way. I will look into that. From klaus at major-k.de Fri Oct 24 11:04:35 2014 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Oct 2014 17:04:35 +0200 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> Message-ID: <1BD47E55-0A77-4346-9616-48B7E9343F04@major-k.de> Hi Trevor, > Am 24.10.2014 um 16:55 schrieb Trevor DeVore : > > On Fri, Oct 24, 2014 at 10:27 AM, Terence Heaford > wrote: > >> Is OS X actually deemed to be an important market for RunRev? > > An engineer just committed the fix for the text color in the highlighted > tab button to github. So it will be fixed for the next release. hope this also includes selected text in LIST fields! 8-) > -- > Trevor DeVore Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri Oct 24 11:07:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 15:07:58 +0000 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: <6F35CA83-3324-4D1B-9166-65C8967AA774@verizon.net> References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> <994CEAF7-AEDE-4FBF-AD26-E233684EA49F@byu.edu> <6F35CA83-3324-4D1B-9166-65C8967AA774@verizon.net> Message-ID: I think I read in the release notes that with version 7 it is set to true. Bob S > On Oct 24, 2014, at 07:28 , Colin Holgate wrote: > > There is one mistake in the dictionary. There it says that dontuseqt defaults to false, but it seemed to be set to true. > > The thing about LiveCode not using QuickTime is to do with it requiring QuickTime, meaning any app you tried to submit to the Mac App Store would get rejected. Now it doesn?t require QuickTime, but it can still use it. > > >> On Oct 24, 2014, at 10:20 AM, Devin Asay wrote: >> >> Now I?m confused. I thought LiveCode 7 didn?t use QT at all any more, but instead a custom player object that uses AVFoundation. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 24 11:11:05 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 24 Oct 2014 18:11:05 +0300 Subject: revbrowser problem Message-ID: Hi list I have a standalone built on LC 6.5.2 for Mac and Windows. It uses revbrowser. When I test it on Mac and Win 7 it works fine, providing that on Win the Externals folder containing revbrowser.dll is in the same directory as the standalone. Then I zip the standalone and the Externals folder into a single archive, put it on our server and sends a link to my client so that he can download it. Once on his PC with Win 7, the standalone launches and runs fine, except that revbrowser never works : the web page that is supposed to be displayed never shows up... I tried to downlaod the archive myself to my own PC with Win 7 and everything works as expected... Any idea what could be the origin of the problem ? Thanks in advance. jbv From bobsneidar at iotecdigital.com Fri Oct 24 11:14:01 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 15:14:01 +0000 Subject: RELEASE LiveCode 6.7 In-Reply-To: References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> <4FABFC00-E8B5-45CE-A91D-063282CECE85@btinternet.com> Message-ID: <7456A570-B6CC-400E-8AD1-3BD0FABA7DF5@iotecdigital.com> Just yesterday I was remarking to one of my cohorts that if you walk into a room full of users and workstations where everything is functioning normally, and out out, ?Is anyones computer running too slow?? Half of them will raise their hands. :-) Bob S On Oct 24, 2014, at 04:53 , Trevor DeVore > wrote: I'm not arguing that I wouldn't like faster rendering of my stacks. At the same time, I understand that the problem the engineers are trying to solve isn't a simple one and has (and will) take a lot of time. My understanding is that they are continuing to look at ways to improve rendering speed. It is an iterative process and 6.7 gm-1 won't be the last release of LiveCode. Now, it is okay if we disagree on this point. I just offer up the above to provide some context for other readers. From coiin at verizon.net Fri Oct 24 11:16:01 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 11:16:01 -0400 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> <994CEAF7-AEDE-4FBF-AD26-E233684EA49F@byu.edu> <6F35CA83-3324-4D1B-9166-65C8967AA774@verizon.net> Message-ID: <43C4F0BB-38B1-4810-B5C3-E76601C3C5B4@verizon.net> That seems to be the case, but the v7 Dictionary says it?s false. > On Oct 24, 2014, at 11:07 AM, Bob Sneidar wrote: > > I think I read in the release notes that with version 7 it is set to true. From m.schonewille at economy-x-talk.com Fri Oct 24 11:23:09 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 24 Oct 2014 17:23:09 +0200 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> Message-ID: <544A6EDD.9040701@economy-x-talk.com> I keep all my projects on Time Machine, but current projects are also on Dropbox, which I often use to share work with customers. File that are in Dropbox are automatically updated when you change them. There is no need to update them manually. -- 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 10/24/2014 17:01, Colin Holgate wrote: > Solutions like dropbox are good, but would either need you to manually back things up, or maybe an Automator script to copy important files over. With Time Machine I have a less than one hour old backup of any file I might need, not just the ones that I think I will need, or remembered to copy somewhere else. > > I solved the issue of having the backup drive at home by having a matching drive at the office. So, in addition to having a one hour old backup with me, I have a less than a day old backup in another location. > > >> On Oct 24, 2014, at 10:54 AM, Bob Sneidar wrote: >> >> Very good suggestion. I do have a time machine backup, but it is not in the office, it is at home so I can lose a days worth of changes that way. I will look into 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 lists at mangomultimedia.com Fri Oct 24 11:23:55 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Oct 2014 11:23:55 -0400 Subject: RELEASE LiveCode 7.0 In-Reply-To: <1BD47E55-0A77-4346-9616-48B7E9343F04@major-k.de> References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> <1BD47E55-0A77-4346-9616-48B7E9343F04@major-k.de> Message-ID: On Fri, Oct 24, 2014 at 11:04 AM, Klaus major-k wrote: > > > An engineer just committed the fix for the text color in the highlighted > > tab button to github. So it will be fixed for the next release. > > hope this also includes selected text in LIST fields! 8-) > The commit only affected tabbed buttons. If there is already a report for this you might add a new comment to it asking that it get fixed. Otherwise you should probably file one. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From ambassador at fourthworld.com Fri Oct 24 11:52:03 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Oct 2014 08:52:03 -0700 Subject: The Bearer Of Bad News In-Reply-To: <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> References: <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> Message-ID: <544A75A3.5040405@fourthworld.com> Bob Sneidar wrote: > I never test the RC versions or the Dev releases. Since I do > not produce commercial apps, I don?t have the need to test > for compatibility. That's true for those versions you intend to never use. :) LC is very flexible, and we all do different things with it, so if we want to ensure a given version will support the work we want to do with it we'll need to do our work in that version during testing. > There were other things going wrong before that. The app did not > run the way it should. I have a database setup card I go to that > is designed to make a connection with either or both of two > databases, and that wasn?t working correctly, but I *am* using > sqlYoga and I am not sure if I need to be using a 7.0 converted > version of that library. Also, when I went to the database setup > card, at times although not always, my buttons looked like square > gray boxes with no labels and the buttons did not work. Very odd. When you say "other things going wrong before that", do you mean before the crash or before v7? -- 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 jschaubeck at gmail.com Fri Oct 24 12:44:00 2014 From: jschaubeck at gmail.com (Jim Schaubeck) Date: Fri, 24 Oct 2014 09:44:00 -0700 Subject: FTP vs MYSQL for storing splash stack loading Message-ID: Folks, Our franchisor recently started blocking port 21 in our stores so I can no longer FTP the most recent stacks to the computers in our stores. They will not block other ports so I wanted to know if there was a way to use MYSQL db to download stacks vs FTP Thank you! -- ________________________________________________________________________________ jim schaubeck jschaubeck at gmail.com 714-321-4499 From hello at simonsmith.co Fri Oct 24 12:50:31 2014 From: hello at simonsmith.co (Simon Smith) Date: Fri, 24 Oct 2014 18:50:31 +0200 Subject: FTP vs MYSQL for storing splash stack loading In-Reply-To: References: Message-ID: You could possibly change the ftp port to something that is not blocked. On Fri, Oct 24, 2014 at 6:44 PM, Jim Schaubeck wrote: > Folks, > Our franchisor recently started blocking port 21 in our stores so I can no > longer FTP the most recent stacks to the computers in our stores. > > They will not block other ports so I wanted to know if there was a way to > use MYSQL db to download stacks vs FTP > > Thank you! > > > -- > > ________________________________________________________________________________ > jim schaubeck jschaubeck at gmail.com > 714-321-4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From jschaubeck at gmail.com Fri Oct 24 12:54:18 2014 From: jschaubeck at gmail.com (Schaubeck) Date: Fri, 24 Oct 2014 09:54:18 -0700 Subject: FTP vs MYSQL for storing splash stack loading In-Reply-To: References: Message-ID: <14943138321.11d71dee723762.7068932283451871812@gmail.com> I use Hostgator's hosted FTP server. I'm not a server guru but I'm thinking I would have to have control over the server in order to do that sort of thing. If not, can you provide any knowledge on how I can do that? I suppose I could get my own FTP server up and running but I would like to explore a database solution if it is possible Thank you for your response! _______________________________________________________________________ jim schaubeck jimschaubeck at yahoo.com 714.321.4499 ---- On Fri, 24 Oct 2014 09:50:31 -0700 Simon Smith <hello at simonsmith.co> wrote ---- You could possibly change the ftp port to something that is not blocked. On Fri, Oct 24, 2014 at 6:44 PM, Jim Schaubeck <jschaubeck at gmail.com> wrote: > Folks, > Our franchisor recently started blocking port 21 in our stores so I can no > longer FTP the most recent stacks to the computers in our stores. > > They will not block other ports so I wanted to know if there was a way to > use MYSQL db to download stacks vs FTP > > Thank you! > > > -- > > ________________________________________________________________________________ > jim schaubeck jschaubeck at gmail.com > <jischaubeck at gmail.com> 714-321-4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Oct 24 13:18:01 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 24 Oct 2014 13:18:01 -0400 Subject: crash with iOS 8.1 Message-ID: Hi all, I upgraded one of my apps to iOS 8.1 using LC 6.7 + Xcode 6.1. I tested it on an iPad iOS 8.1 and my app crashes sometimes and sometimes no. I don?t think that LC is the problem because I checked on internet and I found a lot of discussions about iPad, iPhone crash. To check it on internet type [ iOs 8.1 crash site:discussions.apple.com ] Anyone experienced the same problem on iPad or iPhone? Alain V?zina, directeur Logilangue www.logilangue.com From pete at lcsql.com Fri Oct 24 13:22:34 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 Oct 2014 10:22:34 -0700 Subject: Button Icon IDs Message-ID: When setting the icon of a button, there is a hierarchy of locations that LC uses to find the image. However, if I subsequently try to reference the image id in a script, LC won't find it unless I fully qualify where it is (unless it's on the current card of course). I want to set the height and width of the button to the height and width of its icon image. Is there any way to find the location of the icon image from its ID? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From vclement at gmail.com Fri Oct 24 13:31:00 2014 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 24 Oct 2014 10:31:00 -0700 Subject: crash with iOS 8.1 In-Reply-To: References: Message-ID: Hi Alain YES! There is a memory issue on startup of the apps in IOS 8 where they are crashing on startup. This started right after the release of IOS 8, and it is not just LC apps it all apps. I just read the latest update for IOS 8.1 and it does not address the fix for this issue. I know Apple is aware of it since the forum has a topic where a lot of people are commenting. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Fri, Oct 24, 2014 at 10:18 AM, Alain Vezina wrote: > Hi all, > > I upgraded one of my apps to iOS 8.1 using LC 6.7 + Xcode 6.1. > I tested it on an iPad iOS 8.1 and my app crashes sometimes and sometimes > no. > I don?t think that LC is the problem because I checked on internet and I > found a lot of discussions about iPad, iPhone crash. > To check it on internet type [ iOs 8.1 crash site:discussions.apple.com ] > > Anyone experienced the same problem on iPad or iPhone? > > Alain V?zina, directeur > Logilangue > 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 t.heaford at btinternet.com Fri Oct 24 13:36:06 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 18:36:06 +0100 Subject: RELEASE LiveCode 6.7 In-Reply-To: <7456A570-B6CC-400E-8AD1-3BD0FABA7DF5@iotecdigital.com> References: <7A8BF822-0098-4D08-9AA6-FF9B2563615D@jhj.com> <784DB684-AE3D-4EC9-A1C8-88DEA0F9BB2B@major-k.de> <9E1E2C74-4F92-4FFB-9490-42174AD1000B@jhj.com> <4FABFC00-E8B5-45CE-A91D-063282CECE85@btinternet.com> <7456A570-B6CC-400E-8AD1-3BD0FABA7DF5@iotecdigital.com> Message-ID: <0318FBC1-C309-4146-A44D-C35A324AADB9@btinternet.com> Yes but when I shout out it?s not my workstation running slow, it?s LiveCode. All the best Terry > On 24 Oct 2014, at 16:14, Bob Sneidar wrote: > > Just yesterday I was remarking to one of my cohorts that if you walk into a room full of users and workstations where everything is functioning normally, and out out, ?Is anyones computer running too slow?? Half of them will raise their hands. :-) From t.heaford at btinternet.com Fri Oct 24 13:43:11 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 24 Oct 2014 18:43:11 +0100 Subject: RELEASE LiveCode 7.0 In-Reply-To: References: <3DCC6B00-ADAC-4AE2-948E-92162FC778C9@major-k.de> <0589F8F1-BE3C-44E0-8C0C-2B40A4A231AD@btinternet.com> <1BD47E55-0A77-4346-9616-48B7E9343F04@major-k.de> Message-ID: I wouldn?t be surprised if it is both a tab button and general button because in Yosemite the colour arrangement seems to be the same and it does appear in LC that a tab is actually a button. It would just be the status of the button that decides the colour etc. All the best Terry > On 24 Oct 2014, at 16:23, Trevor DeVore wrote: > > The commit only affected tabbed buttons. If there is already a report for > this you might add a new comment to it asking that it get fixed. Otherwise > you should probably file one. From richmondmathewson at gmail.com Fri Oct 24 14:07:40 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 Oct 2014 21:07:40 +0300 Subject: The lucky smells lumber mill Message-ID: <544A956C.40709@gmail.com> Pace Lemony Snickett. Obviously it is "smelly time" again, down at the ranch . . . First we have the "stable" release of 6.6.4 that involves a 6.6.5 release almost instantly . . . Then it involves 6.7.0 and 7.0.0 "stable" full of 'grunts'. ---------------------- Personally, I hope that the good people at RunRev have a "dirty weekend" in Edinburgh, and between the "whips and chains" manage to get out 6.7.1 and 7.0.1 before those of us who are the "bottom feeders" don't all shout "Hey, way too kinky for us." --------------------- All companies go through "smelly" patches, and, as the saying goes; "all things are stress related these days". RunRev has gone through at least 3 "smelly" patches since I have been tracking them (about 12 years); but, bearing with them they have always come up smelling of roses rather than the brown stuff after a short, sticky patch, so there is no good reason they won't this time. So, let's all go out and offer incense to our favourite gods, and be patient, and, with a bit of a gentle push from us, they will untwist their knickers and all will be well. ---------------------- Kevin Miller is NOT a guru who claims to be "as good as god", thank goodness, and is as prone to faults as everybody else, and, if he carries the can for the recent 'grunts' then it is only because he is human, and, as he stated in that interview at the San Diego conference, has been overworking. However, just because Kevin Miller makes no claim to be divine, and he and his staff are all too obviously human I. for one, am right behind them, backing them up all the way . . . ---------------------- Now, this is NOT a "squash" piece, and it is NOT a "adoration" piece, it is slap in the middle. Love, Richmond [warts and all]. From rdimola at evergreeninfo.net Fri Oct 24 14:28:49 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 24 Oct 2014 14:28:49 -0400 Subject: crash with iOS 8.1 In-Reply-To: References: Message-ID: <004401cfefb8$5afee970$10fcbc50$@net> Alain, I even see this when opening settings in an iPod gen 5 iOS 8.0.2. I actually see this way more often opening up settings then an LC app. In fact my apps have only done this a couple of times. Settings does this almost 50% of the time. 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 Alain Vezina Sent: Friday, October 24, 2014 1:18 PM To: LiveCode How to Subject: crash with iOS 8.1 Hi all, I upgraded one of my apps to iOS 8.1 using LC 6.7 + Xcode 6.1. I tested it on an iPad iOS 8.1 and my app crashes sometimes and sometimes no. I don?t think that LC is the problem because I checked on internet and I found a lot of discussions about iPad, iPhone crash. To check it on internet type [ iOs 8.1 crash site:discussions.apple.com ] Anyone experienced the same problem on iPad or iPhone? Alain V?zina, directeur Logilangue 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 alain.vezina at logilangue.com Fri Oct 24 14:29:47 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 24 Oct 2014 14:29:47 -0400 Subject: crash with iOS 8.1 In-Reply-To: References: Message-ID: Hi Vaughn, I just forgot to precise that my app doesn?t crash on startup but time to time. I analysed to see if there is a pattern for these crashes and to reproduce it and I found nothing. I hope Apple will fix that problem ASAP. I can?t wait to send my new release of my app to my clients. Thanks Alain V?zina, directeur Logilangue www.logilangue.com Le 2014-10-24 ? 13:31, Vaughn Clement a ?crit : > Hi Alain > > YES! There is a memory issue on startup of the apps in IOS 8 where they are > crashing on startup. This started right after the release of IOS 8, and it > is not just LC apps it all apps. I just read the latest update for IOS 8.1 > and it does not address the fix for this issue. I know Apple is aware of it > since the forum has a topic where a lot of people are commenting. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > On Target Solutions LLC Website: http://www.ontargetsolutions.biz > Email: ontargetsolutions at yahoo.com > Skype: vaughn.clement > > FaceTime: vclement at gmail.com > Ph. 928-254-9062 > > > On Fri, Oct 24, 2014 at 10:18 AM, Alain Vezina > wrote: > >> Hi all, >> >> I upgraded one of my apps to iOS 8.1 using LC 6.7 + Xcode 6.1. >> I tested it on an iPad iOS 8.1 and my app crashes sometimes and sometimes >> no. >> I don?t think that LC is the problem because I checked on internet and I >> found a lot of discussions about iPad, iPhone crash. >> To check it on internet type [ iOs 8.1 crash site:discussions.apple.com ] >> >> Anyone experienced the same problem on iPad or iPhone? >> >> Alain V?zina, directeur >> Logilangue >> 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 bobsneidar at iotecdigital.com Fri Oct 24 14:56:47 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 18:56:47 +0000 Subject: The Bearer Of Bad News In-Reply-To: <544A75A3.5040405@fourthworld.com> References: <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> <544A75A3.5040405@fourthworld.com> Message-ID: <05545D24-B02A-4089-869E-F3E6DA2BA845@iotecdigital.com> After V7 upgrade, but before the crash. Bob S On Oct 24, 2014, at 08:52 , Richard Gaskin > wrote: When you say "other things going wrong before that", do you mean before the crash or before v7? -- Richard Gaskin From bobsneidar at iotecdigital.com Fri Oct 24 15:02:01 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 19:02:01 +0000 Subject: The Bearer Of Bad News In-Reply-To: <544A75A3.5040405@fourthworld.com> References: <2F92A3A3-CF1F-4ECD-9E3A-94EA1F6939D8@iotecdigital.com> <544A75A3.5040405@fourthworld.com> Message-ID: Truth is, I develop side projects. It?s never actually been my job description, although my employers have been happy to use what I produce! :-) What I develop is primarily for my own use and convenience. I wish I were more productive in this regard, but after all I have a full time job, during which I can squeeze in some development time. Otherwise everything is done on my own time. Because of that, I am very stingy with how I use the time I have. Testing developer releases and release candidates is not high on my priority, but given my recent experience, maybe it should be. :-) I will however be making backups from now on before working with new releases of any kind. Bob S On Oct 24, 2014, at 08:52 , Richard Gaskin > wrote: That's true for those versions you intend to never use. :) LC is very flexible, and we all do different things with it, so if we want to ensure a given version will support the work we want to do with it we'll need to do our work in that version during testing. From bobsneidar at iotecdigital.com Fri Oct 24 15:06:26 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 19:06:26 +0000 Subject: FTP vs MYSQL for storing splash stack loading In-Reply-To: References: Message-ID: Yes! Simply read the stack file as binary and save the result into a blob column. I do this with PDF forms. No need to store your PDF forms on disk! And you can always be certain you are using the most recent version of the forms (or stacks) So your splash stack can actually check the version in the table where you store the most recent version, (if you have a version number column) compare it with your existing version, and then replace the substacks in your app with the most current ones. This is all theoretical, you understand, but no reason why it would not work. You may have to encode the binary data first for transport over internet routers. Bob S > On Oct 24, 2014, at 09:44 , Jim Schaubeck wrote: > > Folks, > Our franchisor recently started blocking port 21 in our stores so I can no > longer FTP the most recent stacks to the computers in our stores. > > They will not block other ports so I wanted to know if there was a way to > use MYSQL db to download stacks vs FTP > > Thank you! > > > -- > ________________________________________________________________________________ > jim schaubeck jschaubeck at gmail.com > 714-321-4499 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 15:08:47 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 19:08:47 +0000 Subject: The lucky smells lumber mill In-Reply-To: <544A956C.40709@gmail.com> References: <544A956C.40709@gmail.com> Message-ID: <537EF9DB-36D1-42E8-8278-D28CA4B9A677@iotecdigital.com> For my part I am very pleased that RunRev cranks out upgrades at all. I never want to feel again like I felt when Apple announced it would no longer support Hypercard! Bob S > On Oct 24, 2014, at 11:07 , Richmond wrote: > > Pace Lemony Snickett. > > Obviously it is "smelly time" again, down at the ranch . . . > > First we have the "stable" release of 6.6.4 that involves a 6.6.5 release almost instantly . . . > > Then it involves 6.7.0 and 7.0.0 "stable" full of 'grunts'. > > ---------------------- > > Personally, I hope that the good people at RunRev have a "dirty weekend" in Edinburgh, > and between the "whips and chains" manage to get out 6.7.1 and 7.0.1 before those of us > who are the "bottom feeders" don't all shout "Hey, way too kinky for us." > > --------------------- > > All companies go through "smelly" patches, and, as the saying goes; "all things are stress related these days". > > RunRev has gone through at least 3 "smelly" patches since I have been tracking them (about 12 years); but, > bearing with them they have always come up smelling of roses rather than the brown stuff after a short, sticky > patch, so there is no good reason they won't this time. > > So, let's all go out and offer incense to our favourite gods, and be patient, and, with a bit of a gentle push from > us, they will untwist their knickers and all will be well. > > ---------------------- > > Kevin Miller is NOT a guru who claims to be "as good as god", thank goodness, and is as prone to faults as > everybody else, and, if he carries the can for the recent 'grunts' then it is only because he is human, and, as he > stated in that interview at the San Diego conference, has been overworking. > > However, just because Kevin Miller makes no claim to be divine, and he and his staff are all too obviously human > I. for one, am right behind them, backing them up all the way . . . > > ---------------------- > > Now, this is NOT a "squash" piece, and it is NOT a "adoration" piece, it is slap > in the middle. > > Love, Richmond [warts and all]. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 24 15:31:38 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 24 Oct 2014 13:31:38 -0600 Subject: iOS beta testing with Apple's revamped TestFlight Message-ID: I?ve been trying to figure this out this morning and thought I would pass on what I?ve learned in case anyone else is interested. First, there is an enhancement request for LiveCode here Bug?13716 , which requests adding a separate version string to the info.plist file. Right now, the version string specified in the iOS standalone settings is used in the info.plist file for both CFBundleVersion and CFBundleShortVersionString. The first one should be used to include a build number (i.e. 1.2.0.5), while the second should be used to specify the new version of your app, as it should appear in the App Store (i.e. 1.2). The request asks that a second field be added to the standalone settings so we can specify two different version strings. This appears to be necessary in order to effectively take advantage of the new TestFlight features. You can work around this now by explicitly setting a value for CFBundleVersion in the settings.plist template file before building your app (just be sure to make a copy of the file before editing it). Kind of a pain, but it works. Second, you must use an App Store distribution profile when building your app. The new TestFlight doesn?t seem to work with anything else. In fact, you can?t even upload your app via Application Loader. Also, it appears you need a profile that was created *after* the launch of TestFlight Beta Testing. If you have an older one, you have to regenerate it. Although, I have done this and I still see a message in iTunes Connect that my build is missing the correct beta entitlement. So I?m not sure if there?s something that needs to be done in LiveCode or what. Possibly another entry added to info.plist? I?ll check into this a bit more. Third, as far as I can tell, the new TestFlight requires devices running iOS 8 or newer. You have to download the new TestFlight app from the App Store, which will only install on these devices. Not sure why this is required. Would be nice if we could at least continue using iOS 7.x devices for beta testing, but that?s Apple for you? I?m still working to figure some of this out, but, like I said, just thought I?d pass on some of this info in case it will help others. Of course, if you plan to just continue using the existing TestFlight service at testflightapp.com, then you can completely disregard this message. :-) (Although I?m not sure how much longer that service will continue. Anyone know?) Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From coiin at verizon.net Fri Oct 24 15:41:49 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 15:41:49 -0400 Subject: iOS beta testing with Apple's revamped TestFlight In-Reply-To: References: Message-ID: Google Play has a weirdness where if you?re using expansion packs you have to update the version each time you revise the expansion pack (you?re unlikely to get it right the first time). The easiest solution to the problem is to not mind that your first version in the store is something like 1.0.6 instead of 1.0.0. Would that approach mean not having to add a build number to LiveCode? From ambassador at fourthworld.com Fri Oct 24 15:45:43 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Oct 2014 12:45:43 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: Message-ID: <544AAC67.2050301@fourthworld.com> Bob Sneidar wrote: > Testing developer releases and release candidates is not high > on my priority, but given my recent experience, maybe it should > be. :-) For me it's made the work more fun. With any final release, at the moment it's done it's effectively dead, a static thing that no longer undergoes any change. But the pre-release versions feel more alive. If I come across something that isn't quite right I can drop a bug report on it, and most of the time these days I get a confirmation within hours and a fix within days. It also feels more social: when I get Hanson's confirmation I know I'm not too crazy now that he can reproduce it, and I often get interesting insights into the engine from Ali or Mark or others on the team. I generally ship using final releases, but over the last year I've started using pre-release versions exclusively for day-to-day work. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Fri Oct 24 15:58:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 Oct 2014 22:58:17 +0300 Subject: The lucky smells lumber mill In-Reply-To: <537EF9DB-36D1-42E8-8278-D28CA4B9A677@iotecdigital.com> References: <544A956C.40709@gmail.com> <537EF9DB-36D1-42E8-8278-D28CA4B9A677@iotecdigital.com> Message-ID: <544AAF59.8010202@gmail.com> On 24/10/14 22:08, Bob Sneidar wrote: > For my part I am very pleased that RunRev cranks out upgrades at all. I never want to feel again like I felt when Apple announced it would no longer support Hypercard! > > Bob S Well said, that man! > > >> On Oct 24, 2014, at 11:07 , Richmond wrote: >> >> Pace Lemony Snickett. >> >> Obviously it is "smelly time" again, down at the ranch . . . >> >> First we have the "stable" release of 6.6.4 that involves a 6.6.5 release almost instantly . . . >> >> Then it involves 6.7.0 and 7.0.0 "stable" full of 'grunts'. >> >> ---------------------- >> >> Personally, I hope that the good people at RunRev have a "dirty weekend" in Edinburgh, >> and between the "whips and chains" manage to get out 6.7.1 and 7.0.1 before those of us >> who are the "bottom feeders" don't all shout "Hey, way too kinky for us." >> >> --------------------- >> >> All companies go through "smelly" patches, and, as the saying goes; "all things are stress related these days". >> >> RunRev has gone through at least 3 "smelly" patches since I have been tracking them (about 12 years); but, >> bearing with them they have always come up smelling of roses rather than the brown stuff after a short, sticky >> patch, so there is no good reason they won't this time. >> >> So, let's all go out and offer incense to our favourite gods, and be patient, and, with a bit of a gentle push from >> us, they will untwist their knickers and all will be well. >> >> ---------------------- >> >> Kevin Miller is NOT a guru who claims to be "as good as god", thank goodness, and is as prone to faults as >> everybody else, and, if he carries the can for the recent 'grunts' then it is only because he is human, and, as he >> stated in that interview at the San Diego conference, has been overworking. >> >> However, just because Kevin Miller makes no claim to be divine, and he and his staff are all too obviously human >> I. for one, am right behind them, backing them up all the way . . . >> >> ---------------------- >> >> Now, this is NOT a "squash" piece, and it is NOT a "adoration" piece, it is slap >> in the middle. >> >> Love, Richmond [warts and all]. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 16:20:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Oct 2014 20:20:15 +0000 Subject: setting a behavior with out using an ID In-Reply-To: <335634B4-9FDB-4676-91D5-ACB7E22D152F@sweattechnologies.com> References: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> <5449A433.40406@fourthworld.com> <335634B4-9FDB-4676-91D5-ACB7E22D152F@sweattechnologies.com> Message-ID: <232F4FEA-42B0-42BF-8729-7630394F4821@iotecdigital.com> I do not see it there. Bob S > On Oct 23, 2014, at 21:50 , Monte Goulding wrote: > > > On this topic I just uploaded lcVCS 1.0.0 RC 1 to mergExt.com > > I will need to do a bit of work to make lcVCS fully LiveCode 7 compatible. My understanding is that for a time RunRev were using lcVCS to help find bugs in 7 (it's really good at finding engine bugs) so hopefully it will work reasonably well while I work out what needs to be changed. > > Cheers > > Monte > > -- > 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 cmsheffield at icloud.com Fri Oct 24 16:24:17 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 24 Oct 2014 14:24:17 -0600 Subject: iOS beta testing with Apple's revamped TestFlight In-Reply-To: References: Message-ID: Colin, yes, that probably would work just fine. It?s just a little cleaner in Apple?s TestFlight if you can specify a separate build number, in my opinion. Maybe it?s just me. :-) > On Oct 24, 2014, at 1:41 PM, Colin Holgate wrote: > > Google Play has a weirdness where if you?re using expansion packs you have to update the version each time you revise the expansion pack (you?re unlikely to get it right the first time). The easiest solution to the problem is to not mind that your first version in the store is something like 1.0.6 instead of 1.0.0. > > Would that approach mean not having to add a build number to LiveCode? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 16:25:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Oct 2014 15:25:47 -0500 Subject: Can anybody play a midi file on LiveCode 7? In-Reply-To: <43C4F0BB-38B1-4810-B5C3-E76601C3C5B4@verizon.net> References: <8837B069-0655-4414-881B-C53BA7AE23B8@verizon.net> <856D75CC-8C6C-4DDD-B633-2C2D63345B36@verizon.net> <994CEAF7-AEDE-4FBF-AD26-E233684EA49F@byu.edu> <6F35CA83-3324-4D1B-9166-65C8967AA774@verizon.net> <43C4F0BB-38B1-4810-B5C3-E76601C3C5B4@verizon.net> Message-ID: <544AB5CB.8070306@hyperactivesw.com> On 10/24/2014, 10:16 AM, Colin Holgate wrote: > That seems to be the case, but the v7 Dictionary says it?s false. > > >> On Oct 24, 2014, at 11:07 AM, Bob Sneidar wrote: >> >> I think I read in the release notes that with version 7 it is set to true. Because of the switch away from QT, and because the App Store is now rejecting apps that use QT, the default for dontUseQT is now true. You can change it back in a script. The discussion happens near the end of this bug report: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Fri Oct 24 16:26:39 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 16:26:39 -0400 Subject: iOS beta testing with Apple's revamped TestFlight In-Reply-To: References: Message-ID: <4B1D2A17-7F03-4110-B942-490A9B542084@verizon.net> Build numbers would be a good idea, I was just suggesting a work around. > On Oct 24, 2014, at 4:24 PM, Chris Sheffield wrote: > > Colin, yes, that probably would work just fine. It?s just a little cleaner in Apple?s TestFlight if you can specify a separate build number, in my opinion. Maybe it?s just me. :-) From MikeKerner at roadrunner.com Fri Oct 24 16:29:01 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Oct 2014 16:29:01 -0400 Subject: iOS beta testing with Apple's revamped TestFlight In-Reply-To: <4B1D2A17-7F03-4110-B942-490A9B542084@verizon.net> References: <4B1D2A17-7F03-4110-B942-490A9B542084@verizon.net> Message-ID: Just an FYI that monte's mergTestApp works with testflight, if you're using the traditional version of testflight. I've been using it all along. On Fri, Oct 24, 2014 at 4:26 PM, Colin Holgate wrote: > Build numbers would be a good idea, I was just suggesting a work around. > > > > On Oct 24, 2014, at 4:24 PM, Chris Sheffield > wrote: > > > > Colin, yes, that probably would work just fine. It?s just a little > cleaner in Apple?s TestFlight if you can specify a separate build number, > in my opinion. Maybe it?s just me. :-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Fri Oct 24 16:32:56 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Oct 2014 15:32:56 -0500 Subject: Button Icon IDs In-Reply-To: References: Message-ID: <544AB778.5090709@hyperactivesw.com> On 10/24/2014, 12:22 PM, Peter Haworth wrote: > When setting the icon of a button, there is a hierarchy of locations that > LC uses to find the image. However, if I subsequently try to reference the > image id in a script, LC won't find it unless I fully qualify where it is > (unless it's on the current card of course). > > I want to set the height and width of the button to the height and width of > its icon image. Is there any way to find the location of the icon image > from its ID? If it's in the same stack, you should be able to: get the long name of control id x But if it's in another stack then you need to reference the stack it's in: get the long name of control id x of stack y -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Fri Oct 24 16:35:46 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 16:35:46 -0400 Subject: iOS beta testing with Apple's revamped TestFlight In-Reply-To: References: <4B1D2A17-7F03-4110-B942-490A9B542084@verizon.net> Message-ID: <3CBDEF65-9A86-4FDD-81B4-7179E27B7A59@verizon.net> I?ve rarely used traditional testtestflight, I had easier solutions (as did users of Jacque?s thingy), but what?s new with the Apple one is that you can test to 1000 users. That?s an improvement from only being able to test to the 100 devices on your iPhone account. From monte at sweattechnologies.com Fri Oct 24 16:12:07 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 25 Oct 2014 07:12:07 +1100 Subject: Button Icon IDs In-Reply-To: References: Message-ID: Use the resolve command. I implemented this to do exactly what you want: get the long id of the image that is used on an icon on a given button. You have to specify the button because that's what the icon is resolved relative to. It uses the same code the engine does to find the icon btw. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! > On 25 Oct 2014, at 4:22 am, Peter Haworth wrote: > > When setting the icon of a button, there is a hierarchy of locations that > LC uses to find the image. However, if I subsequently try to reference the > image id in a script, LC won't find it unless I fully qualify where it is > (unless it's on the current card of course). > > I want to set the height and width of the button to the height and width of > its icon image. Is there any way to find the location of the icon image > from its ID? > > 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 john at onechip.com Fri Oct 24 16:59:50 2014 From: john at onechip.com (John) Date: Fri, 24 Oct 2014 13:59:50 -0700 Subject: [OT] Windows app store Message-ID: I currently have apps available via Apple?s App Stores. I like the convenience of selling through them. I was thinking of taking the plunge and selling Windows apps. The closest equivalent I can find is the Windows Store that is available via Windows 8 (I don?t currently have a computer running Windows so I assume that this is correct). According to Wikipedia, they will accept both traditional Windows apps and Metro style apps. Before I take the plunge and set up a Windows computer, I was wondering if anyone had and experience with the Windows store. I know Windows 8 is a minority player but this seemed like a potentially painless way to go. Who knows, perhaps Windows 10 will take off and I would be in place. Thanks, John From coiin at verizon.net Fri Oct 24 17:04:55 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 17:04:55 -0400 Subject: [OT] Windows app store In-Reply-To: References: Message-ID: <13528145-1389-410B-A932-0BCDBAC98D7E@verizon.net> I believe that LiveCode doesn?t do Windows store yet. It does do Google Play, Amazon Appstore, and the Samsung store. Is it worth you expanding into those stores for now? From paulhibbert at mac.com Fri Oct 24 17:18:53 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 24 Oct 2014 14:18:53 -0700 Subject: on-rev Client In-Reply-To: <2D167D3E-FDCC-49DD-A9F5-AFAFFF764087@mac.com> References: <24B82CED-74AC-4BFA-B2BA-CC1F727F0A97@mac.com> <4C55A834-EACA-4270-968A-99C04A009D2A@revigniter.com> <2D167D3E-FDCC-49DD-A9F5-AFAFFF764087@mac.com> Message-ID: <846C4D12-1DC9-412E-9B90-C2B9A2B16C88@mac.com> I'm pleased to see that the On-Rev Client is working yet again, at least on Diesel, hopefully for much longer this time. A huge thanks to David Williams for working on this during what must be such a busy time at RR. Now if I can only figure out why sendmail doesn't appear to be working? Paul On Oct 14, 2014, at 10:11 AM, Paul Hibbert wrote: > Thanks for the responses, I have sent a report to bugs at on-rev.com and will report back if I get a response, if anybody else wishes to email them too maybe that would help them to understand that this is something we would like fixing. > > I think it would be useful if this could be added to the Quality Centre, but there are currently no options for On-Rev. > > Paul > > On Oct 14, 2014, at 6:40 AM, Rick Harrison wrote: > >> Hi Paul & Matthias, >> >> I can?t get the Secure WebDisk or the On-Rev Client to work on the tio server. >> I am able to login to my account with the c-panel however. This has been a >> problem for me for a couple of months now, and I had submitted a ticket which >> Dave Williams answered with another question. I answered his question >> (this was around Sept. 30th) and I still haven?t heard back from him. >> >> Please keep me informed if you make any progress on this. >> >> Thanks, >> >> Rick >> >> On Oct 14, 2014, at 3:23 AM, Matthias Rebbe | M-R-D wrote: >> >>> Hi, >>> >>> >>> I have here 3 accounts. They run on Pancake, Tio and Jasmine. >>> It works with my Pancake account, but not with the other ones. >>> >>> Matthias >>> Am 14.10.2014 um 09:08 schrieb Ralf Bitter : >>> >>>> Same here. >>>> >>>> Ralf >>>> >>>> >>>> On 14.10.2014, at 06:49, Paul Hibbert wrote: >>>> >>>>>> http://newsletters.livecode.com/august/issue177/newsletter2.html >>>>> >>>>> It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully, but now I can't, has anybody else had similar problems? >>>>> >>>>> I can logon to the cPanel OK, so I know my username and password are correct, but the On-Rev Client tells me they are wrong. >>>>> >>>>> I know there's a lot of opposition to this software and it has been a frustrating experience using it then not being able to for so long. I did find it useful at times so I was pleased to see it back again, but has it crapped out again so soon? >>>>> >>>>> I'll file a bug report if it's not just me that's having problems. >>>>> >>>>> 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 >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at sorcery-ltd.co.uk Fri Oct 24 17:36:45 2014 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Fri, 24 Oct 2014 22:36:45 +0100 Subject: 64-bit App Store requirement In-Reply-To: <5449066C.7030102@fourthworld.com> References: <5449066C.7030102@fourthworld.com> Message-ID: <4E2C64FE-95D5-4B39-805D-87D7C9C6E680@sorcery-ltd.co.uk> > On 23 Oct 2014, at 14:45, Richard Gaskin wrote: > > You may just be ahead of your time. > > After all, it seem unlikely Apple will be shipping an iOS device that has more than 4 GB RAM, and even if they did, with PAE it would only be logically "necessary" if they expected individual apps to need more than 4 GB. > > True, it's more efficient to use native addressing, and having committed to 64-bit gates it'll certainly help - but only very modestly, unlikely significant enough to end-users to make it a requirement. > > So what could be driving this? I believe this is primarily driven by the desire not to need more RAM in iOS devices. Supporting both 32 & 64-bit apps on the same device means having the system frameworks for both in memory at the same time. When they can drop 32-bit app support in new devices it'll save on firmware update size and build, release and test work at Apple. Mark From pete at lcsql.com Fri Oct 24 17:55:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 Oct 2014 14:55:15 -0700 Subject: Button Icon IDs In-Reply-To: References: Message-ID: Excellent, thanks Monte. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 24, 2014 at 1:12 PM, Monte Goulding wrote: > Use the resolve command. I implemented this to do exactly what you want: > get the long id of the image that is used on an icon on a given button. You > have to specify the button because that's what the icon is resolved > relative to. It uses the same code the engine does to find the icon btw. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > > On 25 Oct 2014, at 4:22 am, Peter Haworth wrote: > > > > When setting the icon of a button, there is a hierarchy of locations that > > LC uses to find the image. However, if I subsequently try to reference > the > > image id in a script, LC won't find it unless I fully qualify where it is > > (unless it's on the current card of course). > > > > I want to set the height and width of the button to the height and width > of > > its icon image. Is there any way to find the location of the icon image > > from its ID? > > > > 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 Fri Oct 24 17:56:14 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 Oct 2014 14:56:14 -0700 Subject: Button Icon IDs In-Reply-To: <544AB778.5090709@hyperactivesw.com> References: <544AB778.5090709@hyperactivesw.com> Message-ID: Hi Jacque, Unfortunately, all I have is the button's icon ID so I don;t know where the the image is. But it sounds like Monte has the answer. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 24, 2014 at 1:32 PM, J. Landman Gay wrote: > On 10/24/2014, 12:22 PM, Peter Haworth wrote: > >> When setting the icon of a button, there is a hierarchy of locations that >> LC uses to find the image. However, if I subsequently try to reference >> the >> image id in a script, LC won't find it unless I fully qualify where it is >> (unless it's on the current card of course). >> >> I want to set the height and width of the button to the height and width >> of >> its icon image. Is there any way to find the location of the icon image >> from its ID? >> > > If it's in the same stack, you should be able to: > > get the long name of control id x > > But if it's in another stack then you need to reference the stack it's in: > > get the long name of control id x of stack y > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Oct 24 17:59:19 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 25 Oct 2014 08:59:19 +1100 Subject: setting a behavior with out using an ID In-Reply-To: <232F4FEA-42B0-42BF-8729-7630394F4821@iotecdigital.com> References: <156506AC-CF7A-4800-9C76-087FCC6AB4CD@sweattechnologies.com> <5449A433.40406@fourthworld.com> <335634B4-9FDB-4676-91D5-ACB7E22D152F@sweattechnologies.com> <232F4FEA-42B0-42BF-8729-7630394F4821@iotecdigital.com> Message-ID: <8C83F9C7-E983-44E0-A343-8566ADEE7EAB@sweattechnologies.com> Are you logged in? There's no downloads page until you login. -- M E R Goulding Software development services mergExt - There's an external for that! > On 25 Oct 2014, at 7:20 am, Bob Sneidar wrote: > > I do not see it there. > > Bob S > > >> On Oct 23, 2014, at 21:50 , Monte Goulding wrote: >> >> >> On this topic I just uploaded lcVCS 1.0.0 RC 1 to mergExt.com >> >> I will need to do a bit of work to make lcVCS fully LiveCode 7 compatible. My understanding is that for a time RunRev were using lcVCS to help find bugs in 7 (it's really good at finding engine bugs) so hopefully it will work reasonably well while I work out what needs to be changed. >> >> Cheers >> >> Monte >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 18:01:30 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 Oct 2014 15:01:30 -0700 Subject: Button Icon IDs In-Reply-To: References: Message-ID: I had been playing around with other ways to do this until I got this solution and came across what may be a bug. After setting the icon of the button, I set the height and width of the button to its formattedHeight and formattedWidth. Sometimes that worked correctly and sometimes it didn't. I haven;t quite figured out what causes it to fail, but it seems like if the height of the image is more than the height of the button, the button height and width are set correctly, otherwise they aren't. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 24, 2014 at 1:12 PM, Monte Goulding wrote: > Use the resolve command. I implemented this to do exactly what you want: > get the long id of the image that is used on an icon on a given button. You > have to specify the button because that's what the icon is resolved > relative to. It uses the same code the engine does to find the icon btw. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > > On 25 Oct 2014, at 4:22 am, Peter Haworth wrote: > > > > When setting the icon of a button, there is a hierarchy of locations that > > LC uses to find the image. However, if I subsequently try to reference > the > > image id in a script, LC won't find it unless I fully qualify where it is > > (unless it's on the current card of course). > > > > I want to set the height and width of the button to the height and width > of > > its icon image. Is there any way to find the location of the icon image > > from its ID? > > > > 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 cszasz at me.com Fri Oct 24 19:49:57 2014 From: cszasz at me.com (Charles Szasz) Date: Fri, 24 Oct 2014 17:49:57 -0600 Subject: LC 5.5.0 and Yosemite Message-ID: Can I run LC 5.5.0 on Yosemite? Also, can I make desktop apps for Yosemite with LC 5.5.0? Sent from my iPad From coiin at verizon.net Fri Oct 24 19:55:13 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 19:55:13 -0400 Subject: LC 5.5.0 and Yosemite In-Reply-To: References: Message-ID: <53CB54C7-19D4-456E-90B8-4AAC5E613CE1@verizon.net> 5.5.4 seems to work ok. > On Oct 24, 2014, at 7:49 PM, Charles Szasz wrote: > > Can I run LC 5.5.0 on Yosemite? Also, can I make desktop apps for Yosemite with LC 5.5.0? > > 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 john at onechip.com Fri Oct 24 20:35:39 2014 From: john at onechip.com (John) Date: Fri, 24 Oct 2014 17:35:39 -0700 Subject: [OT] Windows app store In-Reply-To: <13528145-1389-410B-A932-0BCDBAC98D7E@verizon.net> References: <13528145-1389-410B-A932-0BCDBAC98D7E@verizon.net> Message-ID: <3D7B4F6D-D46E-4E57-896B-402EA090C2F9@onechip.com> Colin, Thanks for the reply. I guess my email was a bit confusing. I was referring to desktop rather than mobile apps. I don?t have Windows installed on anything so I don?t know if it exists but, from what I can tell, there is a desktop app store associated with Windows 8. I was wondering if anyone had any experience with it. Thanks, John > On Oct 24, 2014, at 2:04 PM, Colin Holgate wrote: > > I believe that LiveCode doesn?t do Windows store yet. It does do Google Play, Amazon Appstore, and the Samsung store. Is it worth you expanding into those stores for now? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 21:59:06 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Oct 2014 20:59:06 -0500 Subject: Button Icon IDs In-Reply-To: References: <544AB778.5090709@hyperactivesw.com> Message-ID: It's a very cool answer too, somehow I missed that in the docs. So we both learned something. On October 24, 2014 4:56:14 PM CDT, Peter Haworth wrote: >Hi Jacque, >Unfortunately, all I have is the button's icon ID so I don;t know where >the >the image is. But it sounds like Monte has the answer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Fri Oct 24 22:10:50 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 24 Oct 2014 19:10:50 -0700 Subject: 7.0 corrupted two stacks! Message-ID: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> I just downloaded and installed the "stable" version of 7.0, didn't give it much thought. I only opened two stacks, noticed that a simple script in one stack wasn't working right. On mouseup sort numeric by field "foo" answer "all done" end mouseup I didn't get an error message, but the sort didn't happen. I wondered if some syntax had changed in 7.0. I peeked at this list, got scared, tried to quit without saving. I trashed 7.0. I failed to save myself. The two stacks I opened come up corrupted in LiveCode Community 6.6.5. One is a small stack that doesn't change from month to month, so it is backed up, and I can easily share both the good version and the corrupted version. The other is quite large and complex and contains HIPAA protected information, so I can't share that one. These are stacks that I have used every day for years, through the various versions of RR and LiveCode, with nary an error. The corrupted stack is "patient info.rev" From the message box, I tried go to card X of stack "patient info.rev" where X is an arbitrary integer within the range of the number of cards in the stack. With the corrupted stack I get "file is not a stack" Damn my eyes! I normally back up the folder containing all these stacks -- they are all linked to each other, about once per week. I am sorry to report that I have neglected to back up these stacks for about a month. The big stack containing the HIPAA information -- loss of that one month of data will cost me a few thousand dollars in lost revenue, or many hours of wasted time, recreating the data, or both, unless there is some way to repair the stack. I am in pain. I hope someone has some good ideas about repair possibilities. The small stack I can share, does someone want to take a look at it? I'm not quite sure how to share it, so please tell me how to do that. Tim Miller From mwieder at ahsoftware.net Fri Oct 24 22:11:25 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Oct 2014 19:11:25 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> Message-ID: <24-1954614752.20141024191125@ahsoftware.net> Colin- Friday, October 24, 2014, 8:01:56 AM, you wrote: > Solutions like dropbox are good, but would either need you to > manually back things up, or maybe an Automator script to copy > important files over. Au contraire. Dropbox keeps old versions for up to 30 days automatically. I don't know the frequency and I'm too lazy to look it up, but it's saved my bacon more times than several. Without my having to do any scripting or making backup versions or anything like that. -- -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 gandalf at doctorTimothyMiller.com Fri Oct 24 22:20:29 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 24 Oct 2014 19:20:29 -0700 Subject: 7.0 corrupted two stacks! In-Reply-To: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> References: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> Message-ID: <4D1D5399-8BC6-43D8-8F71-85F39B1E8C97@doctorTimothyMiller.com> On Oct 24, 2014, at 7:10 PM, Timothy Miller wrote: > On mouseup > sort numeric by field "foo" > answer "all done" > end mouseup shoulda wrote "sort cards numeric... From john at onechip.com Fri Oct 24 22:27:43 2014 From: john at onechip.com (John) Date: Fri, 24 Oct 2014 19:27:43 -0700 Subject: [OT] Windows app store In-Reply-To: <3D7B4F6D-D46E-4E57-896B-402EA090C2F9@onechip.com> References: <13528145-1389-410B-A932-0BCDBAC98D7E@verizon.net> <3D7B4F6D-D46E-4E57-896B-402EA090C2F9@onechip.com> Message-ID: <661345C7-21C2-4BE9-874F-4FBFED527C5D@onechip.com> Answering my own question after a bit more digging, apparently you can submit traditional desktop apps to the Windows store. There is a catch however, according to one Microsoft dev site, "you must first write your app using Visual Studio.? I am not sure what that has to do with anything but it does seem to lock out LC apps. I was really hoping there was an equivalent to the MAS on the Windows side of things. Thanks, John > On Oct 24, 2014, at 5:35 PM, John wrote: > > Colin, > > Thanks for the reply. I guess my email was a bit confusing. I was referring to desktop rather than mobile apps. I don?t have Windows installed on anything so I don?t know if it exists but, from what I can tell, there is a desktop app store associated with Windows 8. I was wondering if anyone had any experience with it. > > Thanks, > John > > >> On Oct 24, 2014, at 2:04 PM, Colin Holgate wrote: >> >> I believe that LiveCode doesn?t do Windows store yet. It does do Google Play, Amazon Appstore, and the Samsung store. Is it worth you expanding into those stores for now? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 22:29:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Oct 2014 19:29:17 -0700 Subject: 7.0 corrupted two stacks! In-Reply-To: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> References: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> Message-ID: <544B0AFD.2060102@fourthworld.com> Timothy Miller wrote: > I just downloaded and installed the "stable" version of 7.0, > didn't give it much thought. I only opened two stacks... ... > The two stacks I opened come up corrupted in LiveCode Community > 6.6.5. Any newer format opened in any older version of LiveCode will do that. While LiveCode's file format doesn't change often, each time it does the IDE provides a File-Save As option for saving in earlier formats. In 7.0 it includes support for the last three file formats, providing compatibility with all versions of LiveCode spanning more than a decade. It would be good to know if you can open those files in v7 again, so we explore why you encountered a script error you'd never seen in any earlier version. -- 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 Fri Oct 24 22:37:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Oct 2014 19:37:11 -0700 Subject: [OT] Windows app store In-Reply-To: <661345C7-21C2-4BE9-874F-4FBFED527C5D@onechip.com> References: <661345C7-21C2-4BE9-874F-4FBFED527C5D@onechip.com> Message-ID: <544B0CD7.4070507@fourthworld.com> John wrote: > Answering my own question after a bit more digging, apparently > you can submit traditional desktop apps to the Windows store. > There is a catch however, according to one Microsoft dev site, > "you must first write your app using Visual Studio.? I am not > sure what that has to do with anything but it does seem to lock > out LC apps. ...and a great many others. Seems the opposite of their historical strategy, doing everything they can to make sure they maintain the largest app ecosystem on any desktop. If they're going down this road of arbitrary exclusion I don't imagine it'll last any longer than Apple's similar attempt with iOS SDK 4.0 Section 3.3.1. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From coiin at verizon.net Fri Oct 24 22:42:19 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 Oct 2014 22:42:19 -0400 Subject: The Bearer Of Bad News In-Reply-To: <24-1954614752.20141024191125@ahsoftware.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> Message-ID: <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> I understand how the folder synching works, but in my case I have a 750 GB SSD that may well have many gigabytes of stuff that I don?t want to lose. Having that backed up to an external 2TB drive every hour gives me some security. > On Oct 24, 2014, at 10:11 PM, Mark Wieder wrote: > > Au contraire. Dropbox keeps old versions for up to 30 days > automatically. From gandalf at doctorTimothyMiller.com Fri Oct 24 22:45:57 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 24 Oct 2014 19:45:57 -0700 Subject: 7.0 corrupted two stacks! In-Reply-To: <544B0AFD.2060102@fourthworld.com> References: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> <544B0AFD.2060102@fourthworld.com> Message-ID: <3180CFAD-2017-42BA-AFB4-E0677A768BB2@doctorTimothyMiller.com> Well, that's a relief. I'm downloading 7.0 again, will install it, try it on backup stacks, see what happens, will report back. Tim Miller On Oct 24, 2014, at 7:29 PM, Richard Gaskin wrote: > Timothy Miller wrote: > > > I just downloaded and installed the "stable" version of 7.0, > > didn't give it much thought. I only opened two stacks... > ... > > The two stacks I opened come up corrupted in LiveCode Community > > 6.6.5. > > Any newer format opened in any older version of LiveCode will do that. > > While LiveCode's file format doesn't change often, each time it does the IDE provides a File-Save As option for saving in earlier formats. In 7.0 it includes support for the last three file formats, providing compatibility with all versions of LiveCode spanning more than a decade. > > It would be good to know if you can open those files in v7 again, so we explore why you encountered a script error you'd never seen in any earlier version. From mwieder at ahsoftware.net Fri Oct 24 23:35:12 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Oct 2014 20:35:12 -0700 Subject: The Bearer Of Bad News In-Reply-To: <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> Message-ID: <144-1949587417.20141024203512@ahsoftware.net> Colin- Friday, October 24, 2014, 7:42:19 PM, you wrote: > I understand how the folder synching works, but in my case I have > a 750 GB SSD that may well have many gigabytes of stuff that I don?t > want to lose. Having that backed up to an external 2TB drive every > hour gives me some security. Um. Right. I wouldn't suggest throwing *everything* into a Dropbox folder, but I put anything I'm currently working on into Dropbox and it transparently makes backup copies for me. They're there when I need them. Afterwards I move them out of Dropbox for archiving. And this completely outside of any other backup strategy. I use (and hate) time machine, and I rsync my linux box to my NAS. -- -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 Fri Oct 24 23:38:16 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Oct 2014 20:38:16 -0700 Subject: 7.0 corrupted two stacks! In-Reply-To: <544B0AFD.2060102@fourthworld.com> References: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> <544B0AFD.2060102@fourthworld.com> Message-ID: <85-1949403664.20141024203816@ahsoftware.net> Timothy- Friday, October 24, 2014, 7:29:17 PM, Richard wrote: > While LiveCode's file format doesn't change often, each time it does the > IDE provides a File-Save As option for saving in earlier formats. In 7.0 > it includes support for the last three file formats, providing > compatibility with all versions of LiveCode spanning more than a decade. Also, if LC crashed while your stack was open, there should be a backup file in the same directory with the same filename and a tilde (~) suffix. -- -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 paulhibbert at mac.com Sat Oct 25 00:00:09 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 24 Oct 2014 21:00:09 -0700 Subject: sendmail through On-Rev server Message-ID: <6AD10705-888D-4EF7-956F-C3F78CF6851C@mac.com> After several hours of frustration, searching and trying, then more searching and trying I've finally come to the conclusion that sendmail is not working on Diesel. I have already tried the LiveCode lesson, the files from splash21 and troz.net along with an amended version from the forums. I did have this working fine a couple of years ago, so I resurrected some old files and tried them, still no joy. After the last couple of attempts I finally saw this error: /usr/sbin/sendmail: error while loading shared libraries: libselinux.so.1: failed to map segment from shared object: Cannot allocate memory I'm pretty sure I can't do anything to fix a memory allocation error, so the ball is back in RR's court, hopefully DW can figure this out if he ever gets some spare time, I have informed RR, but I know the On-Rev servers are not high on their priority list, so I don't expect a quick fix. So, in the meantime, does anybody else have any useful tricks for sending an email from a server? Preferably ones that don't use sendmail or the Linux mail command (that doesn't work also). TIA Paul From andrew at ctech.me Sat Oct 25 01:18:24 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Sat, 25 Oct 2014 00:18:24 -0500 Subject: The Bearer Of Bad News In-Reply-To: <144-1949587417.20141024203512@ahsoftware.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> Message-ID: Dropbox and backup suggestions aside, I can't help but feel 7.0 was not ready for primetime. My experience has been giant standalones to cater to features I don't use, and lackluster performance. I know others will disagree but I devoted the last four to five years to livecode and come out disappointed with 'next-gen' livecode. Maybe that will change with 8.0 but that's quite a bit of hedging my bets. We'll see. On Oct 24, 2014 10:38 PM, "Mark Wieder" wrote: > > Colin- > > Friday, October 24, 2014, 7:42:19 PM, you wrote: > > > I understand how the folder synching works, but in my case I have > > a 750 GB SSD that may well have many gigabytes of stuff that I don t > > want to lose. Having that backed up to an external 2TB drive every > > hour gives me some security. > > Um. Right. I wouldn't suggest throwing *everything* into a Dropbox > folder, but I put anything I'm currently working on into Dropbox and > it transparently makes backup copies for me. They're there when I > need them. Afterwards I move them out of Dropbox for archiving. > > And this completely outside of any other backup strategy. I use (and > hate) time machine, and I rsync my linux box to my NAS. > > -- > -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 andrew at ctech.me Sat Oct 25 01:22:47 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Sat, 25 Oct 2014 00:22:47 -0500 Subject: sendmail through On-Rev server In-Reply-To: <6AD10705-888D-4EF7-956F-C3F78CF6851C@mac.com> References: <6AD10705-888D-4EF7-956F-C3F78CF6851C@mac.com> Message-ID: Postmarkapp.com, someone on here has a lib for it. But I don't remember who. On Oct 24, 2014 11:00 PM, "Paul Hibbert" wrote: > After several hours of frustration, searching and trying, then more > searching and trying I've finally come to the conclusion that sendmail is > not working on Diesel. > > I have already tried the LiveCode lesson, the files from splash21 and > troz.net along with an amended version from the forums. I did have this > working fine a couple of years ago, so I resurrected some old files and > tried them, still no joy. > > After the last couple of attempts I finally saw this error: > /usr/sbin/sendmail: error while loading shared libraries: libselinux.so.1: > failed to map segment from shared object: Cannot allocate memory > > I'm pretty sure I can't do anything to fix a memory allocation error, so > the ball is back in RR's court, hopefully DW can figure this out if he ever > gets some spare time, I have informed RR, but I know the On-Rev servers are > not high on their priority list, so I don't expect a quick fix. > > So, in the meantime, does anybody else have any useful tricks for sending > an email from a server? Preferably ones that don't use sendmail or the > Linux mail command (that doesn't work also). > > TIA > > 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 Sat Oct 25 03:39:03 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 25 Oct 2014 08:39:03 +0100 Subject: Relative Scrolling Performance in different development environments Message-ID: <07FB63B5-232A-4E62-88F6-11F573D64539@btinternet.com> I have produced some very rough figures for scrolling in LC for different releases. Each table consists of 8 columns and 20 rows. There are approx. 2000 records supplied from an SQLite DB. Each measurement is the time taken in seconds to scroll from top to bottom of the data. I have used 3 methods. Method 1 is a DataGrid where the data is provided by the GetDataForLine function. Method 2 is a DataGrid where the data is provided by the set the dgText method Method 3 is a Basic Table Field. The time taken is simply by visual observation of the seconds counter in the top right corner of the mac screen. 6.7RC2,(M1 = 8),(M2 = 8),(M3 = 7) 6.7RC3,(M1 = 10),(M2 = 8),(M3 = 7) 6.7,(M1 = 10),(M2 = 8),(M3 = 7) 7.0,(M1 = 12),(M2 = 11),(M3 = 8) For some comparison against other development environments using M2 type method: Cocoa/ObjC,(M2 =4) Xojo,(M2 = 5) SuperCard,(M2 = 5) (using the ListMaster external) It is clear that LC?s performance in this area has some way to go when compared to other development environments. I am sure my data handling could be improved but these are my objective best shots in each environment. All the best Terry From phil at liverpool.ac.uk Sat Oct 25 05:03:15 2014 From: phil at liverpool.ac.uk (Jimmieson, Phil) Date: Sat, 25 Oct 2014 09:03:15 +0000 Subject: 7.0 corrupted two stacks! In-Reply-To: <544B0AFD.2060102@fourthworld.com> References: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> <544B0AFD.2060102@fourthworld.com> Message-ID: <02E8CF78-D63C-4DE4-9839-F2628E17C092@liverpool.ac.uk> On 25 Oct 2014, at 03:29, Richard Gaskin wrote: > Timothy Miller wrote: > > > I just downloaded and installed the "stable" version of 7.0, > > didn't give it much thought. I only opened two stacks... > ... > > The two stacks I opened come up corrupted in LiveCode Community > > 6.6.5. > > Any newer format opened in any older version of LiveCode will do that. That?s why I made an enhancement request in the Quality Centre: http://quality.runrev.com/show_bug.cgi?id=12558 Even those of us who know this happens with earlier versions can get confused by the corrupt stack message, or momentarily forget and it?s a horrible feeling when you think you may have lost hours of work. > > While LiveCode's file format doesn't change often, each time it does the IDE provides a File-Save As option for saving in earlier formats. In 7.0 it includes support for the last three file formats, providing compatibility with all versions of LiveCode spanning more than a decade. > > It would be good to know if you can open those files in v7 again, so we explore why you encountered a script error you'd never seen in any earlier version. > > -- > 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 jacques.hausser at unil.ch Sat Oct 25 06:36:15 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 25 Oct 2014 12:36:15 +0200 Subject: how to disturb newbies In-Reply-To: <7EF0416E-6E72-4FAF-94C9-344750D66CD5@dotcomsolutionsinc.net> References: <7EF0416E-6E72-4FAF-94C9-344750D66CD5@dotcomsolutionsinc.net> Message-ID: Dictionary examples: Syntax: after messageName [parametersList] statementList end messageName Examples: after mouseUp answer "after mouse up received" end resizeStack --- before Syntax: before messageName [parametersList] statementList end messageName Examples: before mouseUp answer "before mouse up received" end resizeStack From coiin at verizon.net Sat Oct 25 09:11:57 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 Oct 2014 09:11:57 -0400 Subject: The Bearer Of Bad News In-Reply-To: <144-1949587417.20141024203512@ahsoftware.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> Message-ID: <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> I have in the past disliked Time Machine. In those days I had a regular hard drive, and it seemed sometimes that it would take the full hour to backup, meaning that it was backing up continuously, and noticeably affecting the responsiveness of the system while it was doing that. Now I use SSD (though with a regular HD as the backup drive), and I?m barely aware of the backups happening. > On Oct 24, 2014, at 11:35 PM, Mark Wieder wrote: > > >And this completely outside of any other backup strategy. I use (and > hate) time machine, and I rsync my linux box to my NAS. From livfoss at mac.com Sat Oct 25 09:26:49 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 25 Oct 2014 15:26:49 +0200 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? Message-ID: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> In a desktop app (Mac and Windows - currently testing the Mac version) I?m using a button (actually a group acting as a button) designed by Mark Schonewille which does nice things with shading. This has been working for a long time, ever since it was announced by Mark. Now in LC 6.7, I get a compile error in a setProp handler in the group (in fact in several groups with the same script). Part of a case statement looks like this ? lock messages set the status["disabled"] of me to not theBool set the status["hilite"] of me to false unlock messages ? The IDE reports > compiling at 2:58:22 PM > Type Expression: bad factor > Object ClearAllGroup > Line set the status["disabled"] of me to not theBool > Hint [ There is no hint. As it would seem to be a syntax failure, maybe some new reserved word is getting in the way - but this is just a guess. I have not yet been able to isolate this to confirm and then report it as a bug. Mark, if you're around, do you understand what's happening? I quite understand if you haven't got time to look at it, but I thought I'd ask before trying to go deeper into the issue. TIA From bonnmike at gmail.com Sat Oct 25 10:05:28 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 25 Oct 2014 08:05:28 -0600 Subject: sendmail through On-Rev server In-Reply-To: References: <6AD10705-888D-4EF7-956F-C3F78CF6851C@mac.com> Message-ID: I used sendmail on diesel a couple weeks ago. It was SLOW, but it worked. (I set up a stack here to post 61 sets of email data to an on-rev script, one at a time, with small delay between, and the server would hit sendmail to send em out.) Kinda sounds like diesel either has a hardware problem, or something isn't releasing memory. If you tried a bunch of times previously, and the shell call to sendmail hung its possible that there are a bunch of zombie processes that have consumed the available memory. (might set a small script that runs ps to see whats running from your account, though don't remember off the top of my head what switches to pass.. THink -ef might work) On Fri, Oct 24, 2014 at 11:22 PM, Andrew Kluthe wrote: > Postmarkapp.com, someone on here has a lib for it. But I don't remember > who. > On Oct 24, 2014 11:00 PM, "Paul Hibbert" wrote: > > > After several hours of frustration, searching and trying, then more > > searching and trying I've finally come to the conclusion that sendmail is > > not working on Diesel. > > > > I have already tried the LiveCode lesson, the files from splash21 and > > troz.net along with an amended version from the forums. I did have this > > working fine a couple of years ago, so I resurrected some old files and > > tried them, still no joy. > > > > After the last couple of attempts I finally saw this error: > > /usr/sbin/sendmail: error while loading shared libraries: > libselinux.so.1: > > failed to map segment from shared object: Cannot allocate memory > > > > I'm pretty sure I can't do anything to fix a memory allocation error, so > > the ball is back in RR's court, hopefully DW can figure this out if he > ever > > gets some spare time, I have informed RR, but I know the On-Rev servers > are > > not high on their priority list, so I don't expect a quick fix. > > > > So, in the meantime, does anybody else have any useful tricks for sending > > an email from a server? Preferably ones that don't use sendmail or the > > Linux mail command (that doesn't work also). > > > > TIA > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 25 10:57:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 07:57:38 -0700 Subject: how to disturb newbies In-Reply-To: References: Message-ID: <544BBA62.3000706@fourthworld.com> Jacques Hausser wrote: > Dictionary examples: > > Syntax: > after messageName [parametersList] statementList end messageName > > Examples: > after mouseUp > answer "after mouse up received" > end resizeStack > > --- > > before > > Syntax: > before messageName [parametersList] statementList end messageName > > Examples: > before mouseUp > answer "before mouse up received" > end resizeStack Obviously a rushed copy-n-paste during a hectic release cycle. What's the number for the bug report you submitted on this? I've found in recent years that Dictionary errors have generally been fixed almost instantly once notice is submitted, almost always prior to the next release. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From larry at significantplanet.org Sat Oct 25 11:19:32 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 25 Oct 2014 09:19:32 -0600 Subject: how to disturb newbies References: <544BBA62.3000706@fourthworld.com> Message-ID: Richard, If that is the case, then apparently there isn't much being done in submitting notice, because I know of many, many Dictionary errors. Larry I don't like to keep being a pest about this, but it would be SO nice if LC allowed us to edit the Dictionary on our own - our own corrections and our own notes. > I've found in recent years that Dictionary errors have generally been > fixed almost instantly once notice is submitted, almost always prior to > the next release. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Sat Oct 25 11:50:37 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 25 Oct 2014 08:50:37 -0700 Subject: how to disturb newbies In-Reply-To: References: <544BBA62.3000706@fourthworld.com> Message-ID: <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> If there was a way to include user comments from a link in the dictionary entry, it would be helpful to those who work to improve the dictionary. Or perhaps a direct link to the location where dictionary bugs are reported. Many of the comments would probably be made by newer users, who wouldn't necessarily know where to post their experience or problem. In my work, some of the most valuable feedback I get is from new users. Bill William Prothero http://es.earthednet.org > On Oct 25, 2014, at 8:19 AM, wrote: > > Richard, > If that is the case, then apparently there isn't much being done in submitting notice, because I know of many, many Dictionary errors. > Larry > > I don't like to keep being a pest about this, but it would be SO nice if LC allowed us to edit the Dictionary on our own - our own corrections and our own notes. > > > >> I've found in recent years that Dictionary errors have generally been fixed almost instantly once notice is submitted, almost always prior to the next release. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 25 12:05:12 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 09:05:12 -0700 Subject: how to disturb newbies In-Reply-To: References: Message-ID: <544BCA38.1000604@fourthworld.com> larry wrote: > Richard wrote: >> I've found in recent years that Dictionary errors have generally >> been fixed almost instantly once notice is submitted, almost >> always prior to the next release. > > Richard, > If that is the case, then apparently there isn't much being done in > submitting notice, because I know of many, many Dictionary errors. Yes, it does seem to be the case that more folks take the time to report Dictionary issues here on this list than in the bug report database. While I was able to find eight reports you've submitted to the bug database, I was unable to find any about erroneous Dictionary entries. Were those submitted under an account with a different email address? I've filed the one you reported here for you: There may be value in alerting others here on this user-to-user list of issues we find with LiveCode, but submitting them to the bug database allows the maintainers to become aware of them too, making it possible for them to be addressed. FWIW, here's the Dictionary change log for just the most recent version, 7.0, which you can find in the Release Notes included with each version (accessible from the Help menu): Dictionary additions byteOffset (function) has been added to the dictionary. codepointOffset (function) has been added to the dictionary. codepointProperty (function) has been added to the dictionary. codepointToNum (function) has been added to the dictionary. codeunitOffset (function) has been added to the dictionary. nativeCharToNum (function) has been added to the dictionary. normalizeText (function) has been added to the dictionary. numToCodepoint (function) has been added to the dictionary. numToNativeChar (function) has been added to the dictionary. paragraphOffset (function) has been added to the dictionary. sentenceOffset (function) has been added to the dictionary. textDecode (function) has been added to the dictionary. textEncode (function) has been added to the dictionary. tokenOffset (function) has been added to the dictionary. truewordOffset (function) has been added to the dictionary. codepoint (keyword) has been added to the dictionary. codepoints (keyword) has been added to the dictionary. codeunit (keyword) has been added to the dictionary. codeunits (keyword) has been added to the dictionary. paragraph (keyword) has been added to the dictionary. paragraph (keyword) has been added to the dictionary. segment (keyword) has been added to the dictionary. segments (keyword) has been added to the dictionary. sentence (keyword) has been added to the dictionary. sentences (keyword) has been added to the dictionary. trueWord (keyword) has been added to the dictionary. trueWords (keyword) has been added to the dictionary. cursorMovement (property) has been added to the dictionary. formSensitive (property) has been added to the dictionary. tabAlign (property) has been added to the dictionary. textDirection (property) has been added to the dictionary. Dictionary changes The entry for mobilePickPhoto (command) has been updated. The entry for open driver (command) has been updated. The entry for open file (command) has been updated. The entry for open process (command) has been updated. The entry for revBrowserSet (command) has been updated. The entry for sort container (command) has been updated. The entry for sort (command) has been updated. The entry for repeat (control structure) has been updated. The entry for arrayEncode (function) has been updated. The entry for charToNum (function) has been updated. The entry for longFilePath (function) has been updated. The entry for measureUnicodeText (function) has been updated. The entry for mobileLocationAuthorizationStatus (function) has been updated. The entry for numToChar (function) has been updated. The entry for revBrowserOpenCef (function) has been updated. The entry for uniDecode (function) has been updated. The entry for uniEncode (function) has been updated. The entry for byte (keyword) has been updated. The entry for character (keyword) has been updated. The entry for word (keyword) has been updated. The entry for words (keyword) has been updated. The entry for is among (operator) has been updated. The entry for is not among (operator) has been updated. The entry for stackFileVersion (property) has been updated. The entry for umask (property) has been updated. The entry for unicodeFormattedText (property) has been updated. The entry for unicodeLabel (property) has been updated. The entry for unicodePlainText (property) has been updated. The entry for unicodeText (property) has been updated. The entry for unicodeTitle (property) has been updated. The entry for unicodeTooltip (property) has been updated. The entry for useUnicode (property) has been updated. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Sat Oct 25 11:45:05 2014 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 Oct 2014 11:45:05 -0400 Subject: Looking for best practice in switching libraries Message-ID: <544BC581.9020601@researchware.com> All, I am looking for a 'best' practice in switching between versions of a library stack. I have several versions of a 3rd party library stack, with file names called libraryv1.livecode, libraryv2.livecode, and libraryv3.livecode The stack name in the 3 files is always the same - say 'library' and as the 3rd party library references itself by name, I can't change the stack name - just the file name. So that means I need to open the library file for the version I want. 'start using' the library, perform a set of operations, 'stop using' the library and close the stack - REMOVING IT FROM MEMORY - so that when I open a different version, the stack name does not collide. The 'close stack' entry in the dictionary correctly notes that you must set destroyStack to true to have the stack removed form memory and that if the close stack is called from a handle in the stack being close, the stack will not be removed form memory until after the handler has finished executing. All well an good. The libraries are all external stacks.I have code in my main stack: command closeCurrentLibrary global gLibraryStack if gLibraryStackis not empty then -- stop using previous library stop using "library" wait 0 with messages -- allow system to send and process releaseStack message set the destroyStack of stack "library" to true close stack "library" -- allow system to close and remove form memory wait 0 with messages end if end closeCurrentLibrary command startLibraryv1 -- similar commands for libraryv2 and libraryv3 global gLibraryStack put AppPath()&"libraryv1.livecode" into gLibraryStack if there is a file gLibraryStack then open invisible stack gLibraryStack start using "library" else put empty into gLibraryStack end if end startLibraryv1 command useLibraryv1 -- similar commands for libraryv2 and libraryv3 send "closeCurrentLibrary" to this card in 1 millisec wait 5 millisec with messages send "startLibraryv1" to this card in 1 millisec wait 5 millisec with messages end useLibraryv1 So when I use this such as: useLibraryv1 useLibraryv2 -- generates a message in the IDE "another stack with same name do you want to purge" message I get messages from LiveCode (in the IDE) that the previous library is still in memory when I switch libraries and do I want to purge it. What is the BEST way to close and remove a stack from memory and be sure it is really and truly removed? From ambassador at fourthworld.com Sat Oct 25 12:27:06 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 09:27:06 -0700 Subject: how to disturb newbies In-Reply-To: <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> References: <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> Message-ID: <544BCF5A.9070909@fourthworld.com> Thanks for writing, Bill: > If there was a way to include user comments from a link in > the dictionary entry, it would be helpful to those who work > to improve the dictionary. Several versions back the team added a Notes facility, found at the bottom of each Dictionary entry. While this is useful for sharing supplemental tips, it's still very helpful to alert the team to any erroneous info by submitting a bug report: > Or perhaps a direct link to the location where dictionary bugs > are reported. The Dictionary is being overhauled for v8.0, necessary since it will provide API documentation for Widgets as well, so its contents will vary according to the components a given user has installed. I can discuss the option of adding a link to the bug DB there with the team on behalf of the community, but once we start down that road we have to ask if there are other places throughout the UI should we consider doing that. Perhaps it would be both simpler for the IDE team and for users to find if there were one consistent place for submitting reports. Currently there's a menu item in the Help menu named "Support", which takes the user to a page that includes a link to the bug DB. If that extra step is a bit much I can discuss with Ben the possibility of adding a direct link to the bug DB from the Help menu, or any other location the community feels would be helpful. For those willing to dive deeper into improving the documentation, the team has provided a section on the "Contribute to LiveCode" page on the format of Dictionary entries, which we can modify directly and submit a pull request for: Of course that option may involve more work that some are in a position to contribute, so a simple bug report is a great option for putting fixes into the queue. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From scott at tactilemedia.com Sat Oct 25 12:44:58 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 25 Oct 2014 09:44:58 -0700 Subject: Looking for best practice in switching libraries In-Reply-To: <544BC581.9020601@researchware.com> References: <544BC581.9020601@researchware.com> Message-ID: Use ?delete stack xyz?. I?ve run into similar situations before where closing a stack does not actually remove it from memory. Delete stack should do it. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/25/14, 8:45 AM, "Paul Dupuis" wrote: >All, > >I am looking for a 'best' practice in switching between versions of a >library stack. > >I have several versions of a 3rd party library stack, with file names >called libraryv1.livecode, libraryv2.livecode, and libraryv3.livecode >The stack name in the 3 files is always the same - say 'library' and as >the 3rd party library references itself by name, I can't change the >stack name - just the file name. > >So that means I need to open the library file for the version I want. >'start using' the library, perform a set of operations, 'stop using' the >library and close the stack - REMOVING IT FROM MEMORY - so that when I >open a different version, the stack name does not collide. > >The 'close stack' entry in the dictionary correctly notes that you must >set destroyStack to true to have the stack removed form memory and that >if the close stack is called from a handle in the stack being close, the >stack will not be removed form memory until after the handler has >finished executing. All well an good. The libraries are all external >stacks.I have code in my main stack: > >command closeCurrentLibrary > global gLibraryStack > if gLibraryStackis not empty then -- stop using previous library > stop using "library" > wait 0 with messages -- allow system to send and process >releaseStack message > set the destroyStack of stack "library" to true > close stack "library" -- allow system to close and remove form memory > wait 0 with messages > end if >end closeCurrentLibrary > >command startLibraryv1 -- similar commands for libraryv2 and libraryv3 > global gLibraryStack > put AppPath()&"libraryv1.livecode" into gLibraryStack > if there is a file gLibraryStack then > open invisible stack gLibraryStack > start using "library" > else > put empty into gLibraryStack > end if >end startLibraryv1 > >command useLibraryv1 -- similar commands for libraryv2 and libraryv3 > send "closeCurrentLibrary" to this card in 1 millisec > wait 5 millisec with messages > send "startLibraryv1" to this card in 1 millisec > wait 5 millisec with messages >end useLibraryv1 > >So when I use this such as: > >useLibraryv1 > >useLibraryv2 -- generates a message in the IDE "another stack with same >name do you want to purge" message > > >I get messages from LiveCode (in the IDE) that the previous library is >still in memory when I switch libraries and do I want to purge it. > >What is the BEST way to close and remove a stack from memory and be sure >it is really and truly removed? > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Oct 25 12:48:50 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 25 Oct 2014 18:48:50 +0200 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> References: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> Message-ID: <544BD472.6010300@economy-x-talk.com> Hi Graham, Please, send an e-mail to support at economy-x-talk.com. That will put the issue into our system and probably I'll get to have a look a at it next week. -- 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 10/25/2014 15:26, Graham Samuel wrote: > In a desktop app (Mac and Windows - currently testing the Mac version) I?m using a button (actually a group acting as a button) designed by Mark Schonewille which does nice things with shading. This has been working for a long time, ever since it was announced by Mark. Now in LC 6.7, I get a compile error in a setProp handler in the group (in fact in several groups with the same script). Part of a case statement looks like this > > ? > lock messages > set the status["disabled"] of me to not theBool > set the status["hilite"] of me to false > unlock messages > ? > > The IDE reports > >> compiling at 2:58:22 PM >> Type Expression: bad factor >> Object ClearAllGroup >> Line set the status["disabled"] of me to not theBool >> Hint [ > > There is no hint. As it would seem to be a syntax failure, maybe some new reserved word is getting in the way - but this is just a guess. > > I have not yet been able to isolate this to confirm and then report it as a bug. Mark, if you're around, do you understand what's happening? I quite understand if you haven't got time to look at it, but I thought I'd ask before trying to go deeper into the issue. > > TIA > From jacques.hausser at unil.ch Sat Oct 25 13:18:04 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 25 Oct 2014 19:18:04 +0200 Subject: how to disturb newbies In-Reply-To: <544BCA38.1000604@fourthworld.com> References: <544BCA38.1000604@fourthworld.com> Message-ID: <8C79B53C-E077-4484-9BCE-EC197306AFE2@unil.ch> > > Richard wrote: > I've filed the one you reported here for you: > What I just noticed - thank you ! Jacques From pete at lcsql.com Sat Oct 25 13:20:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 25 Oct 2014 10:20:15 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> Message-ID: I use Time machine for local backups and all my LC dev files are on Google Drive so I feel pretty comfortable with recovering any stack files I need. There's another level of recovery I made available in lcStackBrowser. It's not made for backups per se, more in the way of keeping temporary versions of a stack while you're working on it. I called them checkpoints rather than backups for that reason. For example, I can save a version of a stack right before I start making major changes to it, along with a comment as to why I made it. lcStackBrowser displays an icon next to stacks that have checkpoints and shows me a list of them along with the date and time and any associated comment. So if I decide I don't want to proceed with my changes or just that I need to take a different approach, I can simply rollback to my checkpoint. Another way I use them is to automatically make a checkpoint every time I save the file, with or without a comment. I've learned the hard way that it's a good idea to do frequent saves in LC! So if I get a hard hang in LC, perhaps because of an error in a modal stack, I can quit LC, restart and rollback to the last working checkpoint. Many other checkpoint options too, like automatic checkpoints every n minutes. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 24, 2014 at 8:01 AM, Colin Holgate wrote: > Solutions like dropbox are good, but would either need you to manually > back things up, or maybe an Automator script to copy important files over. > With Time Machine I have a less than one hour old backup of any file I > might need, not just the ones that I think I will need, or remembered to > copy somewhere else. > > I solved the issue of having the backup drive at home by having a matching > drive at the office. So, in addition to having a one hour old backup with > me, I have a less than a day old backup in another location. > > > > On Oct 24, 2014, at 10:54 AM, Bob Sneidar > wrote: > > > > Very good suggestion. I do have a time machine backup, but it is not in > the office, it is at home so I can lose a days worth of changes that way. I > will look into 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 mwieder at ahsoftware.net Sat Oct 25 13:30:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 10:30:57 -0700 Subject: how to disturb newbies In-Reply-To: <544BCF5A.9070909@fourthworld.com> References: <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> <544BCF5A.9070909@fourthworld.com> Message-ID: <8-1899443576.20141025103057@ahsoftware.net> Richard- Saturday, October 25, 2014, 9:27:06 AM, you wrote: > For those willing to dive deeper into improving the documentation, the > team has provided a section on the "Contribute to LiveCode" page on the > format of Dictionary entries, which we can modify directly and submit a > pull request for: > What? When did this show up? The doc editing tool that the team uses doesn't even use this schema or allow many of the elements to be edited. Or explain what they are or how they're used. Aside from the fact that the doc format is bad^H^H^Hatrocious, this schema would have been a big help when I was making doc files. -- -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 Sat Oct 25 13:39:22 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 10:39:22 -0700 Subject: how to disturb newbies In-Reply-To: <8-1899443576.20141025103057@ahsoftware.net> References: <8-1899443576.20141025103057@ahsoftware.net> Message-ID: <544BE04A.8070604@fourthworld.com> Mark Wieder wrote: > Richard- > > Saturday, October 25, 2014, 9:27:06 AM, you wrote: > >> For those willing to dive deeper into improving the documentation, >> the team has provided a section on the "Contribute to LiveCode" >> page on the format of Dictionary entries, which we can modify >> directly and submit a pull request for: >> > > What? > > When did this show up? The doc editing tool that the team uses doesn't > even use this schema or allow many of the elements to be edited. Or > explain what they are or how they're used. Aside from the fact that > the doc format is bad^H^H^Hatrocious, this schema would have been a > big help when I was making doc files. > That seems the sort of thing you should complain to the Community Manager about. Wait - that's me! Damn. Now I'm responsible for doing something about it. :) Where can I find the "doc editing tool that the team uses", and where is it made available for community contributors? I'll review the situation in my Thursday meeting with Ben. -- Richard Gaskin LiveCode Community Manager richard at livecode.com From mwieder at ahsoftware.net Sat Oct 25 13:38:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 10:38:38 -0700 Subject: The Bearer Of Bad News In-Reply-To: <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> Message-ID: <195-1898982815.20141025103838@ahsoftware.net> Colin- Saturday, October 25, 2014, 6:11:57 AM, you wrote: > I have in the past disliked Time Machine. In those days I had a > regular hard drive, and it seemed sometimes that it would take the > full hour to backup, meaning that it was backing up continuously, > and noticeably affecting the responsiveness of the system while it > was doing that. Now I use SSD (though with a regular HD as the > backup drive), and I?m barely aware of the backups happening. Yeah, that's exactly my beef with TM - the backup drive is chugging along continuously, and the backups never end no matter how many exceptions I put into the folder list. But it's the backup drive that's running continuously, not the mac's disk. I think it's the process of removing old artifacts and replacing them with new ones that's taking all the time. I'm thinking of switching over to Dolly Drive (for local storage only, not cloud), so I'd welcome any comments yea or nay that anyone has on that. -- -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 Sat Oct 25 13:41:11 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 10:41:11 -0700 Subject: Looking for best practice in switching libraries In-Reply-To: References: <544BC581.9020601@researchware.com> Message-ID: <73-1898829975.20141025104111@ahsoftware.net> Scott- Saturday, October 25, 2014, 9:44:58 AM, you wrote: > Use ?delete stack xyz?. > I?ve run into similar situations before where closing a stack does not > actually remove it from memory. Delete stack should do it. But be VERY CAREFUL with "delete stack"... if you use it on a substack, it will remove the substack from the mainstack. This WILL have disastrous results if you save the mainstack. There's a long-standing bug report on 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 ambassador at fourthworld.com Sat Oct 25 13:49:43 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 10:49:43 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: Message-ID: <544BE2B7.8020707@fourthworld.com> Peter Haworth wrote: > I use Time machine for local backups and all my LC dev files are > on Google Drive so I feel pretty comfortable with recovering any > stack files I need. That redundancy is probably a good idea. Backup services fail, media fails, all sorts of things can happen. Here I mix Time Machine, OwnCloud, and a rotating set of USB3 drives that go home with me for an embarrassingly large number of redundant archives, but at least I sleep well at night. > There's another level of recovery I made available in > lcStackBrowser. It's not made for backups per se, more in the way > of keeping temporary versions of a stack while you're working on it. > I called them checkpoints rather than backups for that reason. Pretty cool. I only recently discovered the saveStackRequest message, and this has me thinking about using that in a plugin frontScript to automatically trigger rsync so I can copy versions to other backup drives super-fast. If I get some time to make a usable version of that I'll share it, but it's easy enough to make one from scratch (not much code involved). The hardest part is setting up shared SSH keys between machines if you need to sync across the network, but even that takes only a minute once you've done it a couple times. For any of you who haven't yet set up shared keys, John Craig posted a nice tutorial on that in the forums: -- 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 coiin at verizon.net Sat Oct 25 13:52:21 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 Oct 2014 13:52:21 -0400 Subject: The Bearer Of Bad News In-Reply-To: <195-1898982815.20141025103838@ahsoftware.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> <195-1898982815.20141025103838@ahsoftware.net> Message-ID: See if this article helps with the time it takes to do TM backups: http://mactips.dwhoard.com/mactips/other-applications/time-machine-slow From mwieder at ahsoftware.net Sat Oct 25 13:49:51 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 10:49:51 -0700 Subject: how to disturb newbies In-Reply-To: <544BE04A.8070604@fourthworld.com> References: <8-1899443576.20141025103057@ahsoftware.net> <544BE04A.8070604@fourthworld.com> Message-ID: <152-1898309698.20141025104951@ahsoftware.net> Richard- Saturday, October 25, 2014, 10:39:22 AM, you wrote: > Where can I find the "doc editing tool that the team uses", and where is > it made available for community contributors? I forget. I think Mark Waddingham sent it to me or sent me a url or attached it to a bug report or something. I'll try to dig through my notes and see if I can find anything useful. -- -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 Sat Oct 25 13:52:58 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 10:52:58 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> Message-ID: <91-1898122387.20141025105258@ahsoftware.net> Andrew- Friday, October 24, 2014, 10:18:24 PM, you wrote: > Dropbox and backup suggestions aside, I can't help but feel 7.0 was not > ready for primetime. My experience has been giant standalones to cater to > features I don't use, and lackluster performance. I hear what you're saying, and I'm not disagreeing, but... we're almost 15 years into the 21st century, and certain features are absolutely necessary now. Unicode text, the Carbon-to-Cocoa refactoring, etc, are no longer nice-to-haves. I'd like some more flexibility in what libraries are included in standalones in order to cut down on the size of apps, and maybe that will come in time, but I'd like more flexibility in where my tax dollars go, and I'm not holding my breath for that one 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 Sat Oct 25 13:59:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 10:59:09 -0700 Subject: The Bearer Of Bad News In-Reply-To: <195-1898982815.20141025103838@ahsoftware.net> References: <195-1898982815.20141025103838@ahsoftware.net> Message-ID: <544BE4ED.7060007@fourthworld.com> Mark Wieder wrote: > Mark Wieder I'm thinking of switching over to Dolly Drive (for > local storage only, not cloud), so I'd welcome any comments > yea or nay that anyone has on that. Have you considered OwnCloud? Space limited only by your hard drive budget, total control, native sync clients for Mac, Win and Linux, and pretty fast syncing if you choose the MySQL setup option. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gandalf at doctorTimothyMiller.com Sat Oct 25 13:59:59 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 25 Oct 2014 10:59:59 -0700 Subject: Sort cards doesn't work in 7.0 Message-ID: Sorry about the panic yesterday. My ?corrupted? stacks do open in 7.0 and I was able to save a version in format 5.5. They open up just fine in version 6.7. My precious data is retrieved and my backup negligence is forever cured. A tiny problem triggered my panic attack yesterday. That tiny problem persists. The following button script works in 6.7, doesn?t work in 7.0. I quote verbatim, trivial as it is: on mouseUp sort cards numeric by field "intakeSecs" answer the result end mouseUp The result is empty even when the script doesn?t work. The field ?intakesecs? is present on every card in both versions, and contains the correct values. The sort cards command also fails in the message box, in 7.0. I tried timing execution of the script in both versions. In 6.7 it takes 25 ms. In 7.0 it takes 3 ms. Apparently the sort cards command is not executing at all in 7.0 The script fails both on my aging MacMini with OS 10.7.5 and my newer MacBook, with OS 10.9.5 I suppose this might be a 7.0 bug, but it seems likely that such a bug would have been discovered before now. I wonder if there is a change in required syntax in 7.0 that I should know about. I read the release notes and I can?t find it. Please advise. Tim Miller From ambassador at fourthworld.com Sat Oct 25 14:02:18 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 11:02:18 -0700 Subject: how to disturb newbies In-Reply-To: <152-1898309698.20141025104951@ahsoftware.net> References: <152-1898309698.20141025104951@ahsoftware.net> Message-ID: <544BE5AA.2050801@fourthworld.com> Mark Wieder wrote: > Richard- > > Saturday, October 25, 2014, 10:39:22 AM, you wrote: > >> Where can I find the "doc editing tool that the team uses", and >> where is it made available for community contributors? > > I forget. I think Mark Waddingham sent it to me or sent me a url or > attached it to a bug report or something. I'll try to dig through my > notes and see if I can find anything useful. Thanks. If it's not been released as a supported community tool, it's probably going to be completely replaced soon anyway with the whole docs overhaul for v8. Still, I'll review the Dictionary update process with Ben to see if there are areas we can streamline between now and then. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From paul at researchware.com Sat Oct 25 14:04:34 2014 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 Oct 2014 14:04:34 -0400 Subject: Looking for best practice in switching libraries In-Reply-To: <73-1898829975.20141025104111@ahsoftware.net> References: <544BC581.9020601@researchware.com> <73-1898829975.20141025104111@ahsoftware.net> Message-ID: <544BE632.2030303@researchware.com> Thank you Scott & Mark, The libraries I am working with are not substacks, but external stacks, and delete stack works perfectly to remove it from memory. -- Paul On 10/25/2014 1:41 PM, Mark Wieder wrote: > Scott- > > Saturday, October 25, 2014, 9:44:58 AM, you wrote: > >> Use ?delete stack xyz?. >> I?ve run into similar situations before where closing a stack does not >> actually remove it from memory. Delete stack should do it. > But be VERY CAREFUL with "delete stack"... if you use it on a > substack, it will remove the substack from the mainstack. This WILL > have disastrous results if you save the mainstack. There's a > long-standing bug report on this. > From ambassador at fourthworld.com Sat Oct 25 14:17:54 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 11:17:54 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: References: Message-ID: <544BE952.5090606@fourthworld.com> Timothy Miller wrote: > Sorry about the panic yesterday. My ?corrupted? stacks do open in 7.0 > and I was able to save a version in format 5.5. They open up just > fine in version 6.7. My precious data is retrieved... Really glad to hear that worked out, Tim. Phil Jimmieson submitted an excellent request for smarter messages when opening a newer stack format in an older version, which I added some notes to this morning in hopes of expediting it: One way or another, let's hope that 7.0.1 will be able to notify us when we try to later open 8.0 stack files. >...and my backup negligence is forever cured. You're one of the lucky ones. Most of us don't get religious about backups until after we lose critical data. > A tiny problem triggered my panic attack yesterday. That tiny problem > persists. The following button script works in 6.7, doesn?t work in > 7.0. I quote verbatim, trivial as it is: > > on mouseUp > sort cards numeric by field "intakeSecs" > answer the result > end mouseUp > > > The result is empty even when the script doesn?t work. Doesn't work as in doesn't sort the cards, leaving them in the original order? Hmm....I wonder if somehow card sorting didn't get the attention it needs in the string comparison overhaul for Unicode. > I suppose this might be a 7.0 bug, but it seems likely that such > a bug would have been discovered before now. Hard to say. I tend to externalize my data, paging it in and out of controls in a single card, so I'd never come across this in my own testing. Anyone else here finding issues with card sorting in v7? -- 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 mwieder at ahsoftware.net Sat Oct 25 14:19:58 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 11:19:58 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> <195-1898982815.20141025103838@ahsoftware.net> Message-ID: <151-1896502719.20141025111958@ahsoftware.net> Colin- Saturday, October 25, 2014, 10:52:21 AM, you wrote: > See if this article helps with the time it takes to do TM backups: Thanks. I had high hopes for that, but unfortunately that's not what I see. I do see things like 10:00:36 AM com.apple.backupd Starting standard backup 10:00:37 AM com.apple.backupd Backing up to /Volumes/Untitled/backupdb 10:06:37 AM com.apple.backupd No backup pre-thinning needed 11:00:39 AM com.apple.backupd Copied 64kb of 24.5MB, 158 of 158 items and it seems to me that an hour is a long time to copy 64k, or even to copy 158 files. -- -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 gandalf at doctorTimothyMiller.com Sat Oct 25 14:27:21 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 25 Oct 2014 11:27:21 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <544BE952.5090606@fourthworld.com> References: <544BE952.5090606@fourthworld.com> Message-ID: <5EC7E011-57C1-41D1-9AB0-39C2ACDFA28B@doctorTimothyMiller.com> On Oct 25, 2014, at 11:17 AM, Richard Gaskin wrote: > Really glad to hear that worked out, Tim. Your kindness is appreciated. > > The result is empty even when the script doesn?t work. > > Doesn't work as in doesn't sort the cards, leaving them in the original order? Precisely. Tim Miller From coiin at verizon.net Sat Oct 25 14:27:39 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 Oct 2014 14:27:39 -0400 Subject: The Bearer Of Bad News In-Reply-To: <151-1896502719.20141025111958@ahsoftware.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> <195-1898982815.20141025103838@ahsoftware.net> <151-1896502719.20141025111958@ahsoftware.net> Message-ID: Part of that article is to do with Spotlight. Are you sure you don?t have Spotlight set up to index the backup drive? From mwieder at ahsoftware.net Sat Oct 25 14:31:48 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 11:31:48 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <544BE952.5090606@fourthworld.com> References: <544BE952.5090606@fourthworld.com> Message-ID: <180-1895792247.20141025113148@ahsoftware.net> Tim- Saturday, October 25, 2014, 11:17:54 AM, Richard wrote: > Doesn't work as in doesn't sort the cards, leaving them in the original > order? > Hmm....I wonder if somehow card sorting didn't get the attention it > needs in the string comparison overhaul for Unicode. > > I suppose this might be a 7.0 bug, but it seems likely that such > > a bug would have been discovered before now. > Hard to say. I tend to externalize my data, paging it in and out of > controls in a single card, so I'd never come across this in my own testing. > Anyone else here finding issues with card sorting in v7? I'm with Richard on this - I've never tried to sort cards numeric, and I'm not even sure what I would expect if I tried it. What does or doesn't work now, and what was the result previously? Does/did that sort numerically on the names of the cards or the numbers of the cards? Or something else? -- -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 Sat Oct 25 15:06:16 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 12:06:16 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <180-1895792247.20141025113148@ahsoftware.net> References: <180-1895792247.20141025113148@ahsoftware.net> Message-ID: <544BF4A8.2070303@fourthworld.com> Mark Wieder wrote: > I'm with Richard on this - I've never tried to sort cards numeric, and > I'm not even sure what I would expect if I tried it. What does or > doesn't work now, and what was the result previously? Does/did that > sort numerically on the names of the cards or the numbers of the > cards? Or something else? I just tried this in v7 and this statement: sort cards numeric by field "intakeSecs" ...works as expected, sorting the cards within the stack by the numeric value in the specified field. In fact, it seems to be a pretty smart sort, in which it will numerically sort all numeric values - even ignoring space characters - and non-numeric values are sorted alphabetically while preserving the numeric sort where it can (e.g. 11 sorts after 4). And weirder still, this behavior seems consistent in both 6.7 and 7.0. Tim, any chance you may have NULLs or other oddities in the data? When you test across versions, is it with the same data? -- 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 gandalf at doctorTimothyMiller.com Sat Oct 25 15:13:48 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 25 Oct 2014 12:13:48 -0700 Subject: Sort cards doesn't work in 7.0 -- troubleshooting bears fruit In-Reply-To: <180-1895792247.20141025113148@ahsoftware.net> References: <544BE952.5090606@fourthworld.com> <180-1895792247.20141025113148@ahsoftware.net> Message-ID: <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> On Oct 25, 2014, at 11:31 AM, Mark Wieder wrote: > I'm with Richard on this - I've never tried to sort cards numeric, and > I'm not even sure what I would expect if I tried it. What does or > doesn't work now, and what was the result previously? Does/did that > sort numerically on the names of the cards or the numbers of the > cards? Or something else? On Oct 25, 2014, at 11:17 AM, Richard Gaskin wrote: > Hard to say. I tend to externalize my data, paging it in and out of controls in a single card, so I'd never come across this in my own testing. HyperCard retread that I am, I don?t even know what it means to page data in and out of controls. This stack was born in HyperCard and still very much resembles a stack of index cards. You can tell, because I still type ?bg field? This approach works perfectly and does everything I need it to do. Card 1 of this stack is an index card. A pair of buttons appear on the card 1, along with other stuff. ?Sort cards by name? and ?Sort cards by intake date.? Their function is obvious. I just realized than neither sort command works. sort cards numeric by field ?intakeSecs" -and- sort cards text by bg field "patient name? Fields ?intakeSecs" and ?patient name? appear on every card in the stack, except card 1, where these buttons are located. IIRC, in ancient versions of hyperCard, this kind of sort didn?t work right if the script encountered a card where the field containing the sort key was absent. Apparently this anti-feature has returned to 7.0. If I copy the buttons and paste then onto card 2, where both fields appear, the scripts work normally. So, I guess I?ve got my workaround, and if this is indeed a bug, as I suspect it is, I would appreciate it if someone would report it on my behalf. Thanks for your help. Tim Miller From ambassador at fourthworld.com Sat Oct 25 15:31:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 12:31:11 -0700 Subject: Sort cards doesn't work in 7.0 -- troubleshooting bears fruit In-Reply-To: <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> References: <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> Message-ID: <544BFA7F.7050701@fourthworld.com> Timothy Miller wrote: > IIRC, in ancient versions of hyperCard, this kind of sort didn?t > work right if the script encountered a card where the field > containing the sort key was absent. Apparently this anti-feature > has returned to 7.0. > > If I copy the buttons and paste then onto card 2, where both fields > appear, the scripts work normally. So, I guess I?ve got my > workaround, and if this is indeed a bug, as I suspect it is, I > would appreciate it if someone would report it on my behalf. I think there may be something else going on than just an empty field. See my notes from a few minutes ago: Further testing shows the same surprisingly smart behavior even if one of the fields is empty (it simply sorts that to become the first card, as we'd expect), so I have to wonder if there's something else going on with the data. -- 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 gandalf at doctorTimothyMiller.com Sat Oct 25 15:33:30 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 25 Oct 2014 12:33:30 -0700 Subject: Sort cards doesn't work in 7.0 -- troubleshooting bears fruit In-Reply-To: <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> References: <544BE952.5090606@fourthworld.com> <180-1895792247.20141025113148@ahsoftware.net> <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> Message-ID: <34D85C61-9FC6-445C-A2B4-BA0BC0D9531A@doctorTimothyMiller.com> On Oct 25, 2014, at 12:13 PM, Timothy Miller wrote: > Card 1 of this stack is an index card. A pair of buttons appear on the card 1, along with other stuff. ?Sort cards by name? and ?Sort cards by intake date.? Their function is obvious. I just realized than neither sort command works. > > sort cards numeric by field ?intakeSecs" > > -and- > > sort cards text by bg field "patient name? > > Fields ?intakeSecs" and ?patient name? appear on every card in the stack, except card 1, where these buttons are located. I tried pasting fields ?intakeSecs" and ?patient name? onto card 1. The following odd result occurred, --sort cards numeric by field ?intakeSecs? Now works from card 1. ?sort cards text by bg field "patient name? Still doesn?t work from card 1. I checked pretty carefully. The name of field "patient name" is spelled correctly, and the properties of the two fields are identical. Wheels within wheels. Tim Miller From gandalf at doctorTimothyMiller.com Sat Oct 25 15:36:37 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 25 Oct 2014 12:36:37 -0700 Subject: Sort cards doesn't work in 7.0 -- troubleshooting bears fruit In-Reply-To: <544BFA7F.7050701@fourthworld.com> References: <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> <544BFA7F.7050701@fourthworld.com> Message-ID: <8E49E269-90A4-4C97-8F29-A41E01B6013A@doctorTimothyMiller.com> On Oct 25, 2014, at 12:31 PM, Richard Gaskin wrote: > I think there may be something else going on than just an empty field. Absent field, not empty field. But it wouldn?t surprise me if something else going on. See my next message on this thread. Tim Miller From pete at lcsql.com Sat Oct 25 15:44:09 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 25 Oct 2014 12:44:09 -0700 Subject: how to disturb newbies In-Reply-To: <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> References: <544BBA62.3000706@fourthworld.com> <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> Message-ID: I have a free plugin that allows you to enter your own notes and tags about a dictionary entry. They are local to you so not available to all users. If interested, you can find it at http://www.lcsql.com/free-stuff.html Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Oct 25, 2014 at 8:50 AM, Earthednet-wp wrote: > If there was a way to include user comments from a link in the dictionary > entry, it would be helpful to those who work to improve the dictionary. Or > perhaps a direct link to the location where dictionary bugs are reported. > Many of the comments would probably be made by newer users, who wouldn't > necessarily know where to post their experience or problem. In my work, > some of the most valuable feedback I get is from new users. > > Bill > > William Prothero > http://es.earthednet.org > > > On Oct 25, 2014, at 8:19 AM, wrote: > > > > Richard, > > If that is the case, then apparently there isn't much being done in > submitting notice, because I know of many, many Dictionary errors. > > Larry > > > > I don't like to keep being a pest about this, but it would be SO nice if > LC allowed us to edit the Dictionary on our own - our own corrections and > our own notes. > > > > > > > >> I've found in recent years that Dictionary errors have generally been > fixed almost instantly once notice is submitted, almost always prior to the > next release. > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> Software Design and Development for the Desktop, Mobile, and the Web > >> ____________________________________________________________________ > >> Ambassador at FourthWorld.com http://www.FourthWorld.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sat Oct 25 15:48:15 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 25 Oct 2014 21:48:15 +0200 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: <544BD472.6010300@economy-x-talk.com> References: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> <544BD472.6010300@economy-x-talk.com> Message-ID: Thanks Mark, will do. Graham > On 25 Oct 2014, at 18:48, Mark Schonewille wrote: > > Hi Graham, > > Please, send an e-mail to support at economy-x-talk.com. That will put the issue into our system and probably I'll get to have a look a at it next week. > > -- > 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 10/25/2014 15:26, Graham Samuel wrote: >> In a desktop app (Mac and Windows - currently testing the Mac version) I?m using a button (actually a group acting as a button) designed by Mark Schonewille which does nice things with shading. This has been working for a long time, ever since it was announced by Mark. Now in LC 6.7, I get a compile error in a setProp handler in the group (in fact in several groups with the same script). Part of a case statement looks like this >> >> ? >> lock messages >> set the status["disabled"] of me to not theBool >> set the status["hilite"] of me to false >> unlock messages >> ? >> >> The IDE reports >> >>> compiling at 2:58:22 PM >>> Type Expression: bad factor >>> Object ClearAllGroup >>> Line set the status["disabled"] of me to not theBool >>> Hint [ >> >> There is no hint. As it would seem to be a syntax failure, maybe some new reserved word is getting in the way - but this is just a guess. >> >> I have not yet been able to isolate this to confirm and then report it as a bug. Mark, if you're around, do you understand what's happening? I quite understand if you haven't got time to look at it, but I thought I'd ask before trying to go deeper into the issue. >> >> TIA >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 25 15:48:39 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 25 Oct 2014 12:48:39 -0700 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: Doesn't address your issue, but I do have a free stack that is useful if you need to make wholesale changes to a behavior id. You can search for all objects with a string in the behavior and replace it with another. If interested, its available at http://www.lcsql.com/free-stuff.html Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Oct 22, 2014 at 7:31 PM, Todd Geist wrote: > Hello, > > I don?t like to use IDs to reference Objects. But it seems that the only > way you can reference a Behavior is with it?s ID. Is that true? Is there > another way? > > 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 jhj at jhj.com Sat Oct 25 15:50:43 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 25 Oct 2014 12:50:43 -0700 Subject: Sort cards doesn't work in 7.0 -- troubleshooting bears fruit In-Reply-To: <34D85C61-9FC6-445C-A2B4-BA0BC0D9531A@doctorTimothyMiller.com> References: <544BE952.5090606@fourthworld.com> <180-1895792247.20141025113148@ahsoftware.net> <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> <34D85C61-9FC6-445C-A2B4-BA0BC0D9531A@doctorTimothyMiller.com> Message-ID: <5542AF4F-2CFE-4880-BD26-402D88822056@jhj.com> On Oct 25, 2014, at 12:33 PM, Timothy Miller wrote: > I tried pasting fields ?intakeSecs" and ?patient name? onto card 1. The following odd result occurred, > > --sort cards numeric by field ?intakeSecs? > > Now works from card 1. > > ?sort cards text by bg field "patient name? > > Still doesn?t work from card 1. How about trying it without the "bg" in the latter one? BTW, thanks for bringing this up. I had no idea you could use a field on each card as a sort key! .Jerry From gandalf at doctorTimothyMiller.com Sat Oct 25 16:01:42 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 25 Oct 2014 13:01:42 -0700 Subject: Sort cards doesn't work in 7.0 -- troubleshooting bears fruit In-Reply-To: <5542AF4F-2CFE-4880-BD26-402D88822056@jhj.com> References: <544BE952.5090606@fourthworld.com> <180-1895792247.20141025113148@ahsoftware.net> <3713A9E4-0C10-4191-85F3-2F0F06E3B052@doctorTimothyMiller.com> <34D85C61-9FC6-445C-A2B4-BA0BC0D9531A@doctorTimothyMiller.com> <5542AF4F-2CFE-4880-BD26-402D88822056@jhj.com> Message-ID: <385F4AF7-AB02-4625-A0DD-70A93C16A2E3@doctorTimothyMiller.com> On Oct 25, 2014, at 12:50 PM, Jerry Jensen wrote: > How about trying it without the "bg" in the latter one? Absent-minded me! You were right. Both scripts now work normally on card 1. Tim From larry at significantplanet.org Sat Oct 25 16:12:53 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 25 Oct 2014 14:12:53 -0600 Subject: how to disturb newbies References: <544BBA62.3000706@fourthworld.com><980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> Message-ID: Hi Pete I had your previous plugin and now downloaded the updated one you listed below. GREAT!! Larry P.S. Why can't LC be as smart as you? ----- Original Message ----- From: "Peter Haworth" To: "How to use LiveCode" Sent: Saturday, October 25, 2014 1:44 PM Subject: Re: how to disturb newbies >I have a free plugin that allows you to enter your own notes and tags about > a dictionary entry. They are local to you so not available to all users. > > If interested, you can find it at http://www.lcsql.com/free-stuff.html > > > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Sat, Oct 25, 2014 at 8:50 AM, Earthednet-wp > wrote: > >> If there was a way to include user comments from a link in the dictionary >> entry, it would be helpful to those who work to improve the dictionary. >> Or >> perhaps a direct link to the location where dictionary bugs are reported. >> Many of the comments would probably be made by newer users, who wouldn't >> necessarily know where to post their experience or problem. In my work, >> some of the most valuable feedback I get is from new users. >> >> Bill >> >> William Prothero >> http://es.earthednet.org >> >> > On Oct 25, 2014, at 8:19 AM, wrote: >> > >> > Richard, >> > If that is the case, then apparently there isn't much being done in >> submitting notice, because I know of many, many Dictionary errors. >> > Larry >> > >> > I don't like to keep being a pest about this, but it would be SO nice >> > if >> LC allowed us to edit the Dictionary on our own - our own corrections and >> our own notes. >> > >> > >> > >> >> I've found in recent years that Dictionary errors have generally been >> fixed almost instantly once notice is submitted, almost always prior to >> the >> next release. >> >> >> >> -- >> >> Richard Gaskin >> >> Fourth World Systems >> >> Software Design and Development for the Desktop, Mobile, and the Web >> >> ____________________________________________________________________ >> >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Sat Oct 25 17:05:51 2014 From: jiml at netrin.com (Jim Lambert) Date: Sat, 25 Oct 2014 14:05:51 -0700 Subject: Fwd: RELEASE LiveCode 7.0 References: <0C4375C2-427E-4484-9C46-CC224A584C61@nantmobile.com> Message-ID: <4561323B-248B-4974-B597-FA0D26A495A5@netrin.com> BenB wrote: > > We're pleased to announce release of LiveCode 7.0. ? > LiveCode 6.7, which was also released today? Two in one day. Yee-Haa! Thanks RunRev! Jim Lambert From mwieder at ahsoftware.net Sat Oct 25 19:53:22 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 16:53:22 -0700 Subject: The Bearer Of Bad News In-Reply-To: <544BE4ED.7060007@fourthworld.com> References: <195-1898982815.20141025103838@ahsoftware.net> <544BE4ED.7060007@fourthworld.com> Message-ID: <16-1876499107.20141025165322@ahsoftware.net> Richard- Saturday, October 25, 2014, 10:59:09 AM, you wrote: > Have you considered OwnCloud? Hmmm... thanks for the lead. No, I hadn't. Based on the name I figured they were just another cloud storage thing. And for a number of obvious and non-obvious reasons I have no intention of throwing my files Out There. And while OwnCloud is positioning themselves for an entirely different use case, I do see that it could be a LAN-only backup strategy. Seems a shame to have to toss out my NAS, though, and buy a new machine to replace it. -- -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 Sat Oct 25 20:28:23 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 25 Oct 2014 17:28:23 -0700 Subject: The Bearer Of Bad News In-Reply-To: References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> <195-1898982815.20141025103838@ahsoftware.net> <151-1896502719.20141025111958@ahsoftware.net> Message-ID: <58-1874397803.20141025172823@ahsoftware.net> Colin- Saturday, October 25, 2014, 11:27:39 AM, you wrote: > Part of that article is to do with Spotlight. Are you sure you > don?t have Spotlight set up to index the backup drive? Well, that's special. While I have the Untitled backup drive removed from Spotlight, apparently Spotlight still has hold of the Time Machine folder on that drive, /Volumes/Untitled/Backups.backupdb. And no matter what I do, I can't seem to tell it not to index that folder. It always shows up in the status as Indexing enabled. And killing the mds process doesn't help because it springs right up again, possibly because Time Machine is resurrecting it for its own use. -- -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 Sat Oct 25 20:38:30 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Oct 2014 17:38:30 -0700 Subject: The Bearer Of Bad News In-Reply-To: <16-1876499107.20141025165322@ahsoftware.net> References: <16-1876499107.20141025165322@ahsoftware.net> Message-ID: <544C4286.7060901@fourthworld.com> Mark Wieder wrote: > Richard- > > Saturday, October 25, 2014, 10:59:09 AM, you wrote: > >> Have you considered OwnCloud? > > Hmmm... thanks for the lead. No, I hadn't. Based on the name I figured > they were just another cloud storage thing. And for a number of > obvious and non-obvious reasons I have no intention of throwing my > files Out There. And while OwnCloud is positioning themselves for an > entirely different use case, I do see that it could be a LAN-only > backup strategy. If you decide to try it out, most of the default settings are pretty good but one: if you have MySQL set up on your machine, use that instead of the default SQLite, and you'll see a nice performance boost. -- 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 paulhibbert at mac.com Sat Oct 25 22:05:32 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 25 Oct 2014 19:05:32 -0700 Subject: sendmail through On-Rev server In-Reply-To: References: <6AD10705-888D-4EF7-956F-C3F78CF6851C@mac.com> Message-ID: Thank you Mike, Andrew and Peter, I did end up going with a suggestion from Peter Wood using Rebol, with some help from Peter I now have a working option. Paul On Oct 25, 2014, at 7:05 AM, Mike Bonner wrote: > I used sendmail on diesel a couple weeks ago. It was SLOW, but it worked. > (I set up a stack here to post 61 sets of email data to an on-rev script, > one at a time, with small delay between, and the server would hit sendmail > to send em out.) Kinda sounds like diesel either has a hardware problem, > or something isn't releasing memory. If you tried a bunch of times > previously, and the shell call to sendmail hung its possible that there are > a bunch of zombie processes that have consumed the available memory. > (might set a small script that runs ps to see whats running from your > account, though don't remember off the top of my head what switches to > pass.. THink -ef might work) > > On Fri, Oct 24, 2014 at 11:22 PM, Andrew Kluthe wrote: > >> Postmarkapp.com, someone on here has a lib for it. But I don't remember >> who. >> On Oct 24, 2014 11:00 PM, "Paul Hibbert" wrote: >> >>> After several hours of frustration, searching and trying, then more >>> searching and trying I've finally come to the conclusion that sendmail is >>> not working on Diesel. >>> >>> I have already tried the LiveCode lesson, the files from splash21 and >>> troz.net along with an amended version from the forums. I did have this >>> working fine a couple of years ago, so I resurrected some old files and >>> tried them, still no joy. >>> >>> After the last couple of attempts I finally saw this error: >>> /usr/sbin/sendmail: error while loading shared libraries: >> libselinux.so.1: >>> failed to map segment from shared object: Cannot allocate memory >>> >>> I'm pretty sure I can't do anything to fix a memory allocation error, so >>> the ball is back in RR's court, hopefully DW can figure this out if he >> ever >>> gets some spare time, I have informed RR, but I know the On-Rev servers >> are >>> not high on their priority list, so I don't expect a quick fix. >>> >>> So, in the meantime, does anybody else have any useful tricks for sending >>> an email from a server? Preferably ones that don't use sendmail or the >>> Linux mail command (that doesn't work also). >>> >>> TIA >>> >>> 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 >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Oct 25 22:24:02 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 25 Oct 2014 19:24:02 -0700 Subject: Looking for best practice in switching libraries In-Reply-To: <544BC581.9020601@researchware.com> References: <544BC581.9020601@researchware.com> Message-ID: <544C5B42.4050108@pdslabs.net> For a library stack that's a mainStack, I would always use: stop using stack "my stack" delete stack "my stack" It works regardless of the destroyStack setting of the stack you're removing from memory. Guaranteed. If you want to remove a subStack from memory, you must remove its mainStack as well. DO NOT use "delete stack" on a subStack! It will delete the subStack from the mainStack that owns it. Best - Phil On 10/25/14 8:45 AM, Paul Dupuis wrote: > What is the BEST way to close and remove a stack from memory and be sure > it is really and truly removed? -- Phil Davis From revdev at pdslabs.net Sat Oct 25 22:28:16 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 25 Oct 2014 19:28:16 -0700 Subject: Looking for best practice in switching libraries In-Reply-To: <544C5B42.4050108@pdslabs.net> References: <544BC581.9020601@researchware.com> <544C5B42.4050108@pdslabs.net> Message-ID: <544C5C40.7080406@pdslabs.net> Sorry, I was late to the party! Phil On 10/25/14 7:24 PM, Phil Davis wrote: > For a library stack that's a mainStack, I would always use: > > stop using stack "my stack" > delete stack "my stack" > > It works regardless of the destroyStack setting of the stack you're > removing from memory. Guaranteed. > > If you want to remove a subStack from memory, you must remove its > mainStack as well. > > DO NOT use "delete stack" on a subStack! It will delete the subStack > from the mainStack that owns it. > > Best - > Phil > > > On 10/25/14 8:45 AM, Paul Dupuis wrote: >> What is the BEST way to close and remove a stack from memory and be sure >> it is really and truly removed? > -- Phil Davis From lan.kc.macmail at gmail.com Sat Oct 25 22:27:55 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 26 Oct 2014 10:27:55 +0800 Subject: how to disturb newbies In-Reply-To: <544BBA62.3000706@fourthworld.com> References: <544BBA62.3000706@fourthworld.com> Message-ID: On Sat, Oct 25, 2014 at 10:57 PM, Richard Gaskin wrote: I've found in recent years that Dictionary errors have generally been fixed > almost instantly once notice is submitted, almost always prior to the next > release. > Whilst I can't comment on whether the speed at which Dictionary errors are being fixed is faster now than previously, I can say that for my own experience they are not being fixed as fast as you suggest. Based on Richard's recommendation, which I FULLY SUPPORT, I've been posting Documentation Bugs as I notice them. So far I have 5 in the Bug DB, 4 for the Dictionary and one for the User Guide: 2014-04-30 #11838 Dictionary - 'address' - comments wrong 2014-05-20 #12450 The UserGuide - 3.1.6 The Development Menu has Incorrect Menu Items 2014-09-15 #13440 Dictionary entries for Closefield and Delete need additional notes 2014-09-29 #13547 Dictioanry Error - functionNames 2014-10-01 #13572 shell() result not = to Terminal output - OS X All 5 entries include a comment from Hanson that they are confirmed, although their Status remains as NEW. Disregarding #12450, as it's a User Guide error, the other 4 entries were all in the DB well before the latest release cycle, and several have been there for a couple of release cycles. Apart from #11838, which upon further investigation revealed far greater ramifications than just the 'address' entry, the other 3 are pretty straight forward and could have easily been implemented within a cycle. Again, I FULLY SUPPORT Richard's recommendation that if anyone notices any errors or even believes there should be better examples, Notes, Tips or inclusions in the Dictionary and User Guide, then PLEASE submit them to: http://quality.runrev.com/ Whilst they may not appear in the next cycle, I do appreciate that an improved Dictionary is being worked on, and like LC itself, that has come forward leaps and bounds in the last year, I'm sure all the corrections the Community adds to the Bug DB in relation to the Dictionary will eventually come back to us in the form of much better documentation. After entry in the Bug DB, a quick post to this List giving everyone here a heads up of what you've found would also be much appreciated. From selander at tkf.att.ne.jp Sun Oct 26 01:58:59 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 26 Oct 2014 14:58:59 +0900 Subject: Need info about Mark Cards command... Message-ID: <544C8DA3.7080201@tkf.att.ne.jp> Now that v7 is out, I've started playing with bringing some of my company's (still in use) HyperCard/9to5 Reports systems over to LiveCode. I have a customer database. If I want to pull up all Tokyo customers, mark cards where "Tokyo" is in field "city" is working well. But if I want to pull up Tokyo and Yokohama customers, Question 1) is the a 'mark cards' command that will pull up both? For example mark cards where "Tokyo" or "Yokohama" is in field "city" (this does not work...) I can achieve what I want by running the mark cards command for each city: mark cards where "Tokyo" is in field "city" mark cards where "Yokohama" is in field "city" This gives me the data set I need. But is there a way to do it in one pass? Question 2) How would I use the mark cards, or some other command, to pull up AND constructs. For example marks cards where "Main Street" AND "Central Ward" are in field "address" ?? Thanks, Tim Selander Tokyo, Japan From jhj at jhj.com Sun Oct 26 02:32:11 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 25 Oct 2014 23:32:11 -0700 Subject: Need info about Mark Cards command... In-Reply-To: <544C8DA3.7080201@tkf.att.ne.jp> References: <544C8DA3.7080201@tkf.att.ne.jp> Message-ID: <766034D1-4058-4481-9B49-56532EBE8AC3@jhj.com> On Oct 25, 2014, at 10:58 PM, Tim Selander wrote: > > Question 2) How would I use the mark cards, or some other command, to pull up AND constructs. For example marks cards where "Main Street" AND "Central Ward" are in field "address" ?? Just an untested guess, but how about: mark cards where (("Main Street" is in field "address") and ("Central Ward" is in field "address")) The parens are probably unnecessary but serve to highlight the syntax. .Jerry From richmondmathewson at gmail.com Sun Oct 26 03:19:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 09:19:45 +0200 Subject: how to disturb newbies In-Reply-To: References: <544BBA62.3000706@fourthworld.com> <980D7D3D-76D2-4D9A-A49D-BCDBD4BBAF04@earthednet.org> Message-ID: <544CA091.9010802@gmail.com> On 25/10/14 22:44, Peter Haworth wrote: > I have a free plugin that allows you to enter your own notes and tags about > a dictionary entry. They are local to you so not available to all users. > > If interested, you can find it at http://www.lcsql.com/free-stuff.html > > > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > That's a step in the right direction: Thank you very much indeed. Richmond. From selander at tkf.att.ne.jp Sun Oct 26 03:52:32 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 26 Oct 2014 16:52:32 +0900 Subject: Need info about Mark Cards command... In-Reply-To: <766034D1-4058-4481-9B49-56532EBE8AC3@jhj.com> References: <544C8DA3.7080201@tkf.att.ne.jp> <766034D1-4058-4481-9B49-56532EBE8AC3@jhj.com> Message-ID: <544CA840.80406@tkf.att.ne.jp> Jerry, That did it -- thanks! Thought I had tried that combo, but I guess not! Same syntax using OR instead of AND solves my first question too. Tim Selander Tokyo, Japan On 10/26/14, 3:32 PM, Jerry Jensen wrote: > On Oct 25, 2014, at 10:58 PM, Tim Selander wrote: >> Question 2) How would I use the mark cards, or some other command, to pull up AND constructs. For example marks cards where "Main Street" AND "Central Ward" are in field "address" ?? > Just an untested guess, but how about: > mark cards where (("Main Street" is in field "address") and ("Central Ward" is in field "address")) > The parens are probably unnecessary but serve to highlight the syntax. > .Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From christer at mindcrea.com Sun Oct 26 04:20:49 2014 From: christer at mindcrea.com (=?iso-8859-1?Q?Pyyhti=E4_Christer?=) Date: Sun, 26 Oct 2014 10:20:49 +0200 Subject: sendmail through On-Rev server Message-ID: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> The following script works well - on Tio. Used it yesterday with no problems. Response was immediate. I got it from someone at RR. rgds christer ------ -- mail -- -- Emails the given message to the recipients specified. -- Each address passed can have a name attached in the form "name
". -- Addresses can be passed as comma separated lists. -- Attachements can be added by passing an array (interger indexed or otherwise). -- with each attachment itself being an array. -- -- pTo - The addresses to send the message to -- pSub - The message subject -- pMsg - The message body -- pFrom - The address of the message sender -- pCc - Any cc addresses -- pBcc - Any Bcc addresses -- pHtml - Boolean, if the message is to be sent as html -- pAtts - Array of all attachments to send, each attachment of the form: -- * name: the name of the attachment -- * path: the absolute path to the attachment -- * type: the mime type of the attachment, defaults to -- application/octet-stream -- on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts local tMsg -- build the message header, adding the from, to and subject details -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) put shellEscape(pTo) into pTo -- put (pSub) into pSub put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg if pCc is not empty then put "Cc:" && pCc & return after tMsg -- if there are any attachments, we must send this email as multipart -- with the message body and each attachment forming a part -- we do this by specifying the message as multipart and generating a unique boundary if pAtts is an array then local tBoundary put "boundary" & the seconds into tBoundary put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg end if -- add the actual message body, setting the content type appropriatly if pHtml is true then put "Content-Type: text/html;" & return & return after tMsg else put "Content-Type: text/plain;" & return & return after tMsg end if put pMsg & return after tMsg -- add each attachment as a new part of the message, sepearting using -- the generated boundary if pAtts is an array then put "--" & tBoundary & return after tMsg repeat for each element tAtt in pAtts if there is a file tAtt["path"] then if tAtt["type"] is empty then get "application/octet-stream" else get tAtt["type"] end if put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ return & "Content-Transfer-Encoding: base64;" & return & return & \ base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ tBoundary & return after tMsg end if end repeat end if -- send the mail by piping the message we have just built to the sendmail command -- we must also send a copy of the message to the bcc addresses get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) if pBcc is not empty then get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) end if end mail --- From jacques.hausser at unil.ch Sun Oct 26 05:02:19 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 26 Oct 2014 10:02:19 +0100 Subject: how to disturb newbies In-Reply-To: References: <544BBA62.3000706@fourthworld.com> Message-ID: <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> > Le 26 oct. 2014 ? 03:27, Kay C Lan a ?crit : > Again, I FULLY SUPPORT Richard's recommendation that if anyone notices any > errors or even believes there should be better examples, Notes, Tips or > inclusions in the Dictionary and User Guide, then PLEASE submit them to: > > http://quality.runrev.com/ > > Whilst they may not appear in the next cycle, I do appreciate that an > improved Dictionary is being worked on, and like LC itself, that has come > forward leaps and bounds in the last year, I'm sure all the corrections the > Community adds to the Bug DB in relation to the Dictionary will eventually > come back to us in the form of much better documentation. > > After entry in the Bug DB, a quick post to this List giving everyone here a > heads up of what you've found would also be much appreciated. I fully agree. The dictionary is very important to shape the first impression of newcomers about LC. I have read and heard several disparaging comments about the documentation which are a very negative publicity for this fantastic product. I perfectly understand that it is far more interesting and stimulating for the small staff in Edinburgh to develop new features - and they are brilliant at that - than devote time and energy to do the house cleaning on the documentation. But it's a vital part of how their work is appreciated outside. I would suggest Kevin to establish a weekly "hour of dictionary cleaning" for everybody. Most of the dictionary problems could be solved in such a short time. ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From larry at significantplanet.org Sun Oct 26 05:10:13 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 26 Oct 2014 03:10:13 -0600 Subject: deleting lines in a field Message-ID: I have a field that allows non-contiguous selection of lines What is the easiest way to delete the selected lines? I've tried a bunch of things and I end up doing this big convoluted script to do it. It seems like it should be simple? Thanks, Larry From larry at significantplanet.org Sun Oct 26 04:58:35 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 26 Oct 2014 02:58:35 -0600 Subject: hilitedline Message-ID: <5259218C205A4294803B820567A39046@userd204a4d61c> I have the following script in a button: on mouseUp put the hilitedline of field "mySelects" into myDelete repeat for each item L in myDelete delete line L of field "mySelects" end repeat end mouseUp If the hilitedlines of the field are, say, 1,4,7 then it will delete lines 1 and 4, but not 7. It always deletes all but the last line. Why? Thanks, Larry From larry at significantplanet.org Sun Oct 26 05:15:11 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 26 Oct 2014 03:15:11 -0600 Subject: how to disturb newbies References: <544BBA62.3000706@fourthworld.com> <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> Message-ID: <6116830AD9A34CCC8443924378411653@userd204a4d61c> I appreciate all this effort to improve the Dictionary. But I feel the discussion about allowing EACH LC user to personally modify the Dictionary with his/her own notes is being overlooked. I think it is crazy that LC only allows notes in the Dictionary that have been reviewed by the staff. I WANT to add my own notes to the Dictionary, edit the examples, etc. In short, I don't want to wait around for the LC Community to fix MY Dictionary. I do not think this is an unreasonable request. Larry ----- Original Message ----- From: "Jacques Hausser" To: "How to use LiveCode" Sent: Sunday, October 26, 2014 3:02 AM Subject: Re: how to disturb newbies > >> Le 26 oct. 2014 ? 03:27, Kay C Lan a ?crit : > >> Again, I FULLY SUPPORT Richard's recommendation that if anyone notices >> any >> errors or even believes there should be better examples, Notes, Tips or >> inclusions in the Dictionary and User Guide, then PLEASE submit them to: >> >> http://quality.runrev.com/ >> >> Whilst they may not appear in the next cycle, I do appreciate that an >> improved Dictionary is being worked on, and like LC itself, that has come >> forward leaps and bounds in the last year, I'm sure all the corrections >> the >> Community adds to the Bug DB in relation to the Dictionary will >> eventually >> come back to us in the form of much better documentation. >> >> After entry in the Bug DB, a quick post to this List giving everyone here >> a >> heads up of what you've found would also be much appreciated. > > I fully agree. The dictionary is very important to shape the first > impression of newcomers about LC. I have read and heard several > disparaging comments about the documentation which are a very negative > publicity for this fantastic product. I perfectly understand that it is > far more interesting and stimulating for the small staff in Edinburgh to > develop new features - and they are brilliant at that - than devote time > and energy to do the house cleaning on the documentation. But it's a vital > part of how their work is appreciated outside. I would suggest Kevin to > establish a weekly "hour of dictionary cleaning" for everybody. Most of > the dictionary problems could be solved in such a short time. > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Sun Oct 26 06:35:56 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 26 Oct 2014 10:35:56 +0000 Subject: hilitedline In-Reply-To: <5259218C205A4294803B820567A39046@userd204a4d61c> References: <5259218C205A4294803B820567A39046@userd204a4d61c> Message-ID: Larry - you need to delete the lines in reverse order? put the hilitedlines of field "mySelects" into myDelete repeat with i = (the number of items in myDelete) down to 1 delete line (item i of myDelete) of fld ?mySelects" end repeat HTH, Terry... On 26/10/2014 7:58 pm, "larry at significantplanet.org" wrote: >I have the following script in a button: > >on mouseUp > >put the hilitedline of field "mySelects" into myDelete > >repeat for each item L in myDelete > >delete line L of field "mySelects" > >end repeat > >end mouseUp > > > >If the hilitedlines of the field are, say, 1,4,7 then it will delete >lines 1 and 4, but not 7. It always deletes all but the last line. Why? > >Thanks, 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 larry at significantplanet.org Sun Oct 26 06:57:47 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 26 Oct 2014 04:57:47 -0600 Subject: hilitedline References: <5259218C205A4294803B820567A39046@userd204a4d61c> Message-ID: <8D08DEBBAD704C419DF1A76784151098@userd204a4d61c> Thanks Terry, Sometimes I wish I wasn't so dense. Larry ----- Original Message ----- From: "Terry Judd" To: "How to use LiveCode" Sent: Sunday, October 26, 2014 4:35 AM Subject: Re: hilitedline Larry - you need to delete the lines in reverse order? put the hilitedlines of field "mySelects" into myDelete repeat with i = (the number of items in myDelete) down to 1 delete line (item i of myDelete) of fld ?mySelects" end repeat HTH, Terry... On 26/10/2014 7:58 pm, "larry at significantplanet.org" wrote: >I have the following script in a button: > >on mouseUp > >put the hilitedline of field "mySelects" into myDelete > >repeat for each item L in myDelete > >delete line L of field "mySelects" > >end repeat > >end mouseUp > > > >If the hilitedlines of the field are, say, 1,4,7 then it will delete >lines 1 and 4, but not 7. It always deletes all but the last line. Why? > >Thanks, 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Sun Oct 26 07:06:46 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 26 Oct 2014 11:06:46 -0000 Subject: Sort cards doesn't work in 7.0 Message-ID: <002b01cff10c$f06ab3e0$d1401ba0$@FlexibleLearning.com> As I tell my own clients: "Don't worry about backups... be paranoid!" Hugh Senior FLCo >...and my backup negligence is forever cured. You're one of the lucky ones. Most of us don't get religious about backups until after we lose critical data. From paul at researchware.com Sun Oct 26 09:23:01 2014 From: paul at researchware.com (Paul Dupuis) Date: Sun, 26 Oct 2014 09:23:01 -0400 Subject: Looking for best practice in switching libraries In-Reply-To: <544C5C40.7080406@pdslabs.net> References: <544BC581.9020601@researchware.com> <544C5B42.4050108@pdslabs.net> <544C5C40.7080406@pdslabs.net> Message-ID: <544CF5B5.4030007@researchware.com> On 10/25/2014 10:28 PM, Phil Davis wrote: > Sorry, I was late to the party! > Phil Thank you for the tip, late or not :-) From index at kenjikojima.com Sun Oct 26 10:51:27 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Sun, 26 Oct 2014 10:51:27 -0400 Subject: On-Rev Client Message-ID: <618218D2-799D-41D6-8A82-F0B9A239C483@kenjikojima.com> On-Rev client cannot connect to tio on-rev server on Yosemite. It happens only on Yosemite (MacOS X 10.10). Is it only me? -- Kenji Kojima / ???? http://www.kenjikojima.com/ From ambassador at fourthworld.com Sun Oct 26 11:06:05 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 26 Oct 2014 08:06:05 -0700 Subject: how to disturb newbies In-Reply-To: <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> References: <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> Message-ID: <544D0DDD.1090702@fourthworld.com> Jacques Hausser wrote: >> Le 26 oct. 2014 ? 03:27, Kay C Lan a ?crit : > >> Again, I FULLY SUPPORT Richard's recommendation that if anyone >> notices any errors or even believes there should be better examples, >> Notes, Tips or inclusions in the Dictionary and User Guide, then >> PLEASE submit them to: >> >> http://quality.runrev.com/ >> >> Whilst they may not appear in the next cycle, I do appreciate that an >> improved Dictionary is being worked on, and like LC itself, that has >> come forward leaps and bounds in the last year, I'm sure all the >> corrections the Community adds to the Bug DB in relation to the >> Dictionary will eventually come back to us in the form of much >> better documentation. >> >> After entry in the Bug DB, a quick post to this List giving everyone >> here a heads up of what you've found would also be much appreciated. > > I fully agree. The dictionary is very important to shape the first > impression of newcomers about LC. I have read and heard several > disparaging comments about the documentation which are a very > negative publicity for this fantastic product. I perfectly understand > that it is far more interesting and stimulating for the small staff > in Edinburgh to develop new features - and they are brilliant at that > - than devote time and energy to do the house cleaning on the > documentation. But it's a vital part of how their work is appreciated > outside. I would suggest Kevin to establish a weekly "hour of > dictionary cleaning" for everybody. Most of the dictionary problems > could be solved in such a short time. Well said from both of you. Hopefully we can channel some of the energy into useful outcomes. After all, it takes about as much time to submit a bug report as it does to make a post about a bug to a user-to-user venue, but with a bug report it gets queued for action. I'd like to see if we could put together a Community Documentation Team to help with some of the manual steps of applying those bug reports to the Dictionary entries themselves. I'll be discussing this with Ben in our next Community meeting on Thursday. If any of you are in a position to help with such an effort, please drop me a note at the address below and we'll set you up with whatever tools we come up with to make that happen. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From shawnlivecode at gmail.com Sun Oct 26 11:09:36 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 26 Oct 2014 10:09:36 -0500 Subject: [bug 13814] LiveCode 7.0 Message-ID: Submitted bug # 13814. Can anyone confirm or deny on their system. I'm running OSX Yosemite. LC 7.0 Commercial. Thanks. From ambassador at fourthworld.com Sun Oct 26 11:24:47 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 26 Oct 2014 08:24:47 -0700 Subject: how to disturb newbies In-Reply-To: <6116830AD9A34CCC8443924378411653@userd204a4d61c> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> Message-ID: <544D123F.2050100@fourthworld.com> larry wrote: > I appreciate all this effort to improve the Dictionary. > But I feel the discussion about allowing EACH LC user to personally > modify the Dictionary with his/her own notes is being overlooked. > I think it is crazy that LC only allows notes in the Dictionary that > have been reviewed by the staff. It may seem crazy until you consider the alternative: once any communications venue is open for unmoderated posting by everyone, it becomes a spam magnet. If it weren't for the daily efforts of the volunteer forum moderators, the LiveCode forums would be an unusable cesspool of spam. Like the forums, an unmoderated Comments facility in the Dictionary would require significant manual effort from a sizable team to keep it in check. We often don't think about spam as an issue, but that's only because of the team of moderators working across multiple time zones culling such posts and banning those accounts almost as soon as they come in, every day. Personally, I find the forum spam moderation more than enough work for me, and I'd guess Klaus and the mods feel the same. Adding Dictionary policing to that task load would take resources away from the community that could be better applied to more interesting things, like: > I WANT to add my own notes to the Dictionary, edit the examples, > etc. In short, I don't want to wait around for the LC Community > to fix MY Dictionary. I can't fault others for wanting to share the benefits of their learning with the rest of the community. That desire for sharing is what's motivating the focus around an enhancement process that benefits everyone. LiveCode is a relatively recent entrant into the open source world, but as we move forward we're finding ever better ways to coordinate the desires of community members to help others for maximum benefit for all. That said, I recognize that from time to time folks may have a desire for something more specialized, in your case for local personal notes. Thankfully Peter Haworth (whom I had the pleasure of finally meeting in person at RevLive last month) seems to have come through for you - this is from a post he made here yesterday: > I have a free plugin that allows you to enter your own notes > and tags about a dictionary entry. They are local to you so > not available to all users. > > If interested, you can find it at > http://www.lcsql.com/free-stuff.html Thank you, Peter, for taking the time to craft that tool and your generosity in sharing it with the community. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From prothero at earthednet.org Sun Oct 26 11:33:29 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 26 Oct 2014 08:33:29 -0700 Subject: how to disturb newbies In-Reply-To: <6116830AD9A34CCC8443924378411653@userd204a4d61c> References: <544BBA62.3000706@fourthworld.com> <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> <6116830AD9A34CCC8443924378411653@userd204a4d61c> Message-ID: Folks, To me, allowing the entire LC user base to modify the dictionary that we all use, will cause more problems than it solves. Richard's idea to form a team of experienced live coders to at least review additions and changes and brainstorm improvements is a great idea. Also, a feature that allows users to make private notes is also a great one. Perhaps, taking it a bit further, users' private notes might contain a button to submit them to the dictionary committee for review and inclusion in the master dictionary. An important goal, I think, is to consider feedback from both experienced and relatively new users who perhaps use a different vocabulary for their desired outcome and can't find their way around the huge number of commands and intricacies. This list also contains a wealth of questions that the documentation team might address. The challenge is to try to get into the mindset of those who are, in real time, trying to solve coding problems. Best, Bill William Prothero http://es.earthednet.org > On Oct 26, 2014, at 2:15 AM, wrote: > > I appreciate all this effort to improve the Dictionary. > But I feel the discussion about allowing EACH LC user to personally modify the Dictionary with his/her own notes is being overlooked. > I think it is crazy that LC only allows notes in the Dictionary that have been reviewed by the staff. > I WANT to add my own notes to the Dictionary, edit the examples, etc. In short, I don't want to wait around for the LC Community to fix MY Dictionary. > I do not think this is an unreasonable request. > From klaus at major-k.de Sun Oct 26 12:03:39 2014 From: klaus at major-k.de (Klaus major-k) Date: Sun, 26 Oct 2014 17:03:39 +0100 Subject: orientation in iOS 8.1 simulator Message-ID: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> Hi friends, I'm not getting it! Not sure if this is my fault or the simulators? 8-) OS X 10.10, LC 6.7, Xcode 6.1 I have a stack 320*480 px with only one card with one field and this script of cd 1: .......................................................................................................... on orientationchanged set the rect of fld "Testfield" to the rect of this cd put CR & CR & mobileDeviceOrientation() into fld "Testfeld" end orientationchanged on resizestack set the rect of fld "Testfeld" to the rect of this cd put CR & CR & mobileDeviceOrientation() into fld "Testfeld" end resizestack on preopenStack set the fullscreenmode of this stack to EMPTY ## Don't care yet! ## Do I have to? end preopenStack .......................................................................................................... It starts nice in PORTRAIT mode in iPhone and iPad simulator but when I select "rotate left/right" in the simulator menu I see what I exspect ONLY in the iPad simulator, means the display of the stack rotates! And I see the correct orientation in the field. But nothing happens in the iPhone simualtor, no "orientationchanged" gets fired, LC does not rotate and even the simulator itself actually doesn't!? Anyone seen this? Is the simulator still a bit buggy? It's me, right? Do I have to make any other setting to make this work for iPhone, too? I just want to create layouts for both orientations for iPhone and iPad in my app and this is just a simple test stack, no deeper meaning, just another newbie on mobile development :-) Any insights welcome, thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Sun Oct 26 12:07:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 Oct 2014 09:07:44 -0700 Subject: Looking for best practice in switching libraries In-Reply-To: <544C5B42.4050108@pdslabs.net> References: <544BC581.9020601@researchware.com> <544C5B42.4050108@pdslabs.net> Message-ID: I'm wondering what is the best practice for when to delete a library. For example, if I have multiple stacks in memory that all access the same library stack, I can't stop using it until the last stack closes. Should I implement some sort of count mechanism to determine when it's safe to stop using the library? Or just leave it in memory until I quit LC? Pete lcSQL Software On Oct 25, 2014 7:24 PM, "Phil Davis" wrote: > For a library stack that's a mainStack, I would always use: > > stop using stack "my stack" > delete stack "my stack" > > It works regardless of the destroyStack setting of the stack you're > removing from memory. Guaranteed. > > If you want to remove a subStack from memory, you must remove its > mainStack as well. > > DO NOT use "delete stack" on a subStack! It will delete the subStack from > the mainStack that owns it. > > Best - > Phil > > > On 10/25/14 8:45 AM, Paul Dupuis wrote: > >> What is the BEST way to close and remove a stack from memory and be sure >> it is really and truly removed? >> > > -- > 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 > From paulhibbert at mac.com Sun Oct 26 12:14:16 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 26 Oct 2014 09:14:16 -0700 Subject: sendmail through On-Rev server In-Reply-To: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> Message-ID: Thanks Christer, That's the script I was trying on Diesel, but sadly with no joy. Paul On Oct 26, 2014, at 1:20 AM, Pyyhti? Christer wrote: > The following script works well - on Tio. Used it yesterday with no problems. Response was immediate. > > I got it from someone at RR. > > rgds christer > ------ > > -- mail > -- > -- Emails the given message to the recipients specified. > -- Each address passed can have a name attached in the form "name
". > -- Addresses can be passed as comma separated lists. > -- Attachements can be added by passing an array (interger indexed or otherwise). > -- with each attachment itself being an array. > -- > -- pTo - The addresses to send the message to > -- pSub - The message subject > -- pMsg - The message body > -- pFrom - The address of the message sender > -- pCc - Any cc addresses > -- pBcc - Any Bcc addresses > -- pHtml - Boolean, if the message is to be sent as html > -- pAtts - Array of all attachments to send, each attachment of the form: > -- * name: the name of the attachment > -- * path: the absolute path to the attachment > -- * type: the mime type of the attachment, defaults to > -- application/octet-stream > -- > on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts > local tMsg > -- build the message header, adding the from, to and subject details > -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) > put shellEscape(pTo) into pTo > -- put (pSub) into pSub > > put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg > if pCc is not empty then put "Cc:" && pCc & return after tMsg > -- if there are any attachments, we must send this email as multipart > -- with the message body and each attachment forming a part > -- we do this by specifying the message as multipart and generating a unique boundary > if pAtts is an array then > local tBoundary > put "boundary" & the seconds into tBoundary > put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ > wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg > end if > > -- add the actual message body, setting the content type appropriatly > if pHtml is true then > put "Content-Type: text/html;" & return & return after tMsg > else > put "Content-Type: text/plain;" & return & return after tMsg > end if > put pMsg & return after tMsg > > -- add each attachment as a new part of the message, sepearting using > -- the generated boundary > if pAtts is an array then > put "--" & tBoundary & return after tMsg > repeat for each element tAtt in pAtts > if there is a file tAtt["path"] then > if tAtt["type"] is empty then > get "application/octet-stream" > else > get tAtt["type"] > end if > put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ > return & "Content-Transfer-Encoding: base64;" & return & return & \ > base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ > tBoundary & return after tMsg > end if > end repeat > end if > > -- send the mail by piping the message we have just built to the sendmail command > -- we must also send a copy of the message to the bcc addresses > get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) > if pBcc is not empty then > get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) > end if > end mail > > --- > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 26 12:16:48 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 26 Oct 2014 09:16:48 -0700 Subject: On-Rev Client In-Reply-To: <618218D2-799D-41D6-8A82-F0B9A239C483@kenjikojima.com> References: <618218D2-799D-41D6-8A82-F0B9A239C483@kenjikojima.com> Message-ID: <59F71366-7C5C-4352-8289-97F58CD19235@mac.com> Kenji, RR are working on restoring the On-Rev client, some servers are working, but not all just yet. You could report it to support at on-rev.com Paul On Oct 26, 2014, at 7:51 AM, Kenji Kojima wrote: > On-Rev client cannot connect to tio on-rev server on Yosemite. > It happens only on Yosemite (MacOS X 10.10). > > Is it only me? > -- > Kenji Kojima / ???? > http://www.kenjikojima.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 sean at pidigital.co.uk Sun Oct 26 12:45:49 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 26 Oct 2014 16:45:49 +0000 Subject: orientation in iOS 8.1 simulator In-Reply-To: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> References: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> Message-ID: Hi Klaus, I was getting this too (from some time ago). There is a delay in the message between 'orientationChanged' to updating the 'mobileDeviceOrientation' value. So, what I do is: on orientationChanged send "checkOrientation" to me in 20 millisec end orientationChanged on checkOrientation set the rect of fld "Testfield" to the rect of this cd put CR & CR & mobileDeviceOrientation() into fld "Testfeld" end checkOrientation You can fiddle with the 'send' timing but 20 seems to suit me. It has been highlighted to the RR team as far as I am aware but don't know if it is yet fixed (obviously not). Maybe you can update Bugzilla if you find it. Hope this helps you out - Nice to return the favour to you at last from the number of times you've helped me out :-) All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 26 October 2014 16:03, Klaus major-k wrote: > Hi friends, > > I'm not getting it! Not sure if this is my fault or the simulators? 8-) > > OS X 10.10, LC 6.7, Xcode 6.1 > > I have a stack 320*480 px with only one card with one field and this > script of cd 1: > > .......................................................................................................... > on orientationchanged > set the rect of fld "Testfield" to the rect of this cd > put CR & CR & mobileDeviceOrientation() into fld "Testfeld" > end orientationchanged > > on resizestack > set the rect of fld "Testfeld" to the rect of this cd > put CR & CR & mobileDeviceOrientation() into fld "Testfeld" > end resizestack > > on preopenStack > set the fullscreenmode of this stack to EMPTY > ## Don't care yet! > ## Do I have to? > end preopenStack > > .......................................................................................................... > It starts nice in PORTRAIT mode in iPhone and iPad simulator but > when I select "rotate left/right" in the simulator menu I see what I > exspect > ONLY in the iPad simulator, means the display of the stack rotates! > And I see the correct orientation in the field. > > But nothing happens in the iPhone simualtor, no "orientationchanged" > gets fired, LC does not rotate and even the simulator itself actually > doesn't!? > > Anyone seen this? Is the simulator still a bit buggy? It's me, right? > Do I have to make any other setting to make this work for iPhone, too? > > I just want to create layouts for both orientations for iPhone and iPad > in my app and this is just a simple test stack, no deeper meaning, just > another > newbie on mobile development :-) > > Any insights welcome, thanks a lot! > > > 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 klaus at major-k.de Sun Oct 26 13:10:36 2014 From: klaus at major-k.de (Klaus major-k) Date: Sun, 26 Oct 2014 18:10:36 +0100 Subject: orientation in iOS 8.1 simulator In-Reply-To: References: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> Message-ID: <47E2F97A-69EC-4A4E-B994-20285BC81BB8@major-k.de> Hi Sean, > Am 26.10.2014 um 17:45 schrieb Sean Cole (Pi) : > > Hi Klaus, > > I was getting this too (from some time ago). There is a delay in the > message between 'orientationChanged' to updating the > 'mobileDeviceOrientation' value. So, what I do is: > > on orientationChanged > send "checkOrientation" to me in 20 millisec > end orientationChanged > > on checkOrientation > set the rect of fld "Testfield" to the rect of this cd > put CR & CR & mobileDeviceOrientation() into fld "Testfeld" > end checkOrientation > > You can fiddle with the 'send' timing but 20 seems to suit me. It has been > highlighted to the RR team as far as I am aware but don't know if it is yet > fixed (obviously not). Maybe you can update Bugzilla if you find it. > > Hope this helps you out - Nice to return the favour to you at last from the > number of times you've helped me out :-) At your service, sire! :-) Thank you, will try this! > All the best > > > > Sean Cole Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From index at kenjikojima.com Sun Oct 26 13:12:49 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Sun, 26 Oct 2014 13:12:49 -0400 Subject: On-Rev Client In-Reply-To: <59F71366-7C5C-4352-8289-97F58CD19235@mac.com> References: <618218D2-799D-41D6-8A82-F0B9A239C483@kenjikojima.com> <59F71366-7C5C-4352-8289-97F58CD19235@mac.com> Message-ID: Paul, Thanks. -- Kenji Kojima / ???? http://www.kenjikojima.com/ > On Oct 26, 2014, at 12:16 PM, Paul Hibbert wrote: > > Kenji, > > RR are working on restoring the On-Rev client, some servers are working, but not all just yet. > > You could report it to support at on-rev.com > > Paul > > > On Oct 26, 2014, at 7:51 AM, Kenji Kojima wrote: > >> On-Rev client cannot connect to tio on-rev server on Yosemite. >> It happens only on Yosemite (MacOS X 10.10). >> >> Is it only me? >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.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 klaus at major-k.de Sun Oct 26 13:23:57 2014 From: klaus at major-k.de (Klaus major-k) Date: Sun, 26 Oct 2014 18:23:57 +0100 Subject: orientation in iOS 8.1 simulator In-Reply-To: <47E2F97A-69EC-4A4E-B994-20285BC81BB8@major-k.de> References: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> <47E2F97A-69EC-4A4E-B994-20285BC81BB8@major-k.de> Message-ID: Hi Sean, > Am 26.10.2014 um 18:10 schrieb Klaus major-k : > > Hi Sean, > >> Am 26.10.2014 um 17:45 schrieb Sean Cole (Pi) : >> >> Hi Klaus, >> >> I was getting this too (from some time ago). There is a delay in the >> message between 'orientationChanged' to updating the >> 'mobileDeviceOrientation' value. So, what I do is: >> >> on orientationChanged >> send "checkOrientation" to me in 20 millisec >> end orientationChanged >> >> on checkOrientation >> set the rect of fld "Testfield" to the rect of this cd >> put CR & CR & mobileDeviceOrientation() into fld "Testfeld" >> end checkOrientation no joy in iPhone sim :-/ It starts correctly in portrait and stays there, no matter how I rotate the device!? But works fine on iPad sim however. Any setting in Livecode I may have overlooked? I checked all options for iPad orientations in the standalone settings, but there is none for iPhone? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mwieder at ahsoftware.net Sun Oct 26 13:30:45 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 10:30:45 -0700 Subject: how to disturb newbies In-Reply-To: <544D123F.2050100@fourthworld.com> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> Message-ID: <84-1813056968.20141026103045@ahsoftware.net> Richard- Sunday, October 26, 2014, 8:24:47 AM, you wrote: > It may seem crazy until you consider the alternative: once any > communications venue is open for unmoderated posting by everyone, it > becomes a spam magnet. Right Something like that would never work -- -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 paul at researchware.com Sun Oct 26 13:17:56 2014 From: paul at researchware.com (Paul Dupuis) Date: Sun, 26 Oct 2014 13:17:56 -0400 Subject: Looking for best practice in switching libraries In-Reply-To: References: <544BC581.9020601@researchware.com> <544C5B42.4050108@pdslabs.net> Message-ID: <544D2CC4.4010407@researchware.com> On 10/26/2014 12:07 PM, Peter Haworth wrote: > I'm wondering what is the best practice for when to delete a library. > > For example, if I have multiple stacks in memory that all access the same > library stack, I can't stop using it until the last stack closes. Should I > implement some sort of count mechanism to determine when it's safe to stop > using the library? Or just leave it in memory until I quit LC? > If you don't need to stop using the library stack and remove it from memory, then there is no real reason not to leave it in memory until your standalone (or LC if you are just running stacks in the IDE) quits. From richmondmathewson at gmail.com Sun Oct 26 13:37:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 19:37:32 +0200 Subject: how to disturb newbies In-Reply-To: <84-1813056968.20141026103045@ahsoftware.net> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> <84-1813056968.20141026103045@ahsoftware.net> Message-ID: <544D315C.7050509@gmail.com> I wonder . . . If for the Dictionary . . . We don't need a system like the bug reporting system, and a triage nurse who weeds through the cases. Richmond. From mwieder at ahsoftware.net Sun Oct 26 13:37:04 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 10:37:04 -0700 Subject: Looking for best practice in switching libraries In-Reply-To: <544C5C40.7080406@pdslabs.net> References: <544BC581.9020601@researchware.com> <544C5B42.4050108@pdslabs.net> <544C5C40.7080406@pdslabs.net> Message-ID: <20-1812678480.20141026103704@ahsoftware.net> Phil- Saturday, October 25, 2014, 7:28:16 PM, you wrote: > Sorry, I was late to the party! No problem. Can't say it often enough. -- -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 Sun Oct 26 13:44:16 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 26 Oct 2014 11:44:16 -0600 Subject: how to disturb newbies References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> Message-ID: <8DA10EF2CBD34C37863427CB1DA673ED@userd204a4d61c> Richard, It appears to me that you missed my point. I do not see how me adding a note to my OWN Dictionary causes a spam issue. Right now if I want to add a note to the Dictionary I have to log in. Then the note is submitted for approval (I don't know to whom.) Then if the note is approved by (whomever) it gets added to the Dictionary for everyone. Is that the spam you're talking about? Because that is already in place. I am NOT talking about Dictionary policing. I am saying that I want to only edit MY PERSONAL copy of the Dictionary. Also, it would be nice to search on the body and notes of the Dictionary. If that is currently possible (in 6.1.1) I do not know how to do it. Thanks, Larry ----- Original Message ----- From: "Richard Gaskin" To: Sent: Sunday, October 26, 2014 9:24 AM Subject: Re: how to disturb newbies > larry wrote: > > > I appreciate all this effort to improve the Dictionary. > > But I feel the discussion about allowing EACH LC user to personally > > modify the Dictionary with his/her own notes is being overlooked. > > I think it is crazy that LC only allows notes in the Dictionary that > > have been reviewed by the staff. > > It may seem crazy until you consider the alternative: once any > communications venue is open for unmoderated posting by everyone, it > becomes a spam magnet. > > If it weren't for the daily efforts of the volunteer forum moderators, the > LiveCode forums would be an unusable cesspool of spam. > > Like the forums, an unmoderated Comments facility in the Dictionary would > require significant manual effort from a sizable team to keep it in check. > > We often don't think about spam as an issue, but that's only because of > the team of moderators working across multiple time zones culling such > posts and banning those accounts almost as soon as they come in, every > day. > > Personally, I find the forum spam moderation more than enough work for me, > and I'd guess Klaus and the mods feel the same. Adding Dictionary > policing to that task load would take resources away from the community > that could be better applied to more interesting things, like: > > > > I WANT to add my own notes to the Dictionary, edit the examples, > > etc. In short, I don't want to wait around for the LC Community > > to fix MY Dictionary. > > I can't fault others for wanting to share the benefits of their learning > with the rest of the community. That desire for sharing is what's > motivating the focus around an enhancement process that benefits everyone. > LiveCode is a relatively recent entrant into the open source world, but as > we move forward we're finding ever better ways to coordinate the desires > of community members to help others for maximum benefit for all. > > That said, I recognize that from time to time folks may have a desire for > something more specialized, in your case for local personal notes. > Thankfully Peter Haworth (whom I had the pleasure of finally meeting in > person at RevLive last month) seems to have come through for you - this is > from a post he made here yesterday: > > > I have a free plugin that allows you to enter your own notes > > and tags about a dictionary entry. They are local to you so > > not available to all users. > > > > If interested, you can find it at > > http://www.lcsql.com/free-stuff.html > > Thank you, Peter, for taking the time to craft that tool and your > generosity in sharing it with the community. > > -- > Richard Gaskin > LiveCode Community Manager > richard at livecode.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 larry at significantplanet.org Sun Oct 26 13:47:27 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 26 Oct 2014 11:47:27 -0600 Subject: how to disturb newbies References: <544BBA62.3000706@fourthworld.com><7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch><6116830AD9A34CCC8443924378411653@userd204a4d61c> Message-ID: <0F0F91CABEE848BBA72FE4A5B572143E@userd204a4d61c> Hi Bill As I already replied to Richard: It seems you missed my point. I am NOT talking about the LC user base modifying the Dictionary we all use. I specifically said: MY Dictionary. In other words, just my own copy of the Dictionary on my machine. I apologize if I did not make that more clear. Thanks, Larry ----- Original Message ----- From: "Earthednet-wp" To: "How to use LiveCode" Sent: Sunday, October 26, 2014 9:33 AM Subject: Re: how to disturb newbies > Folks, > To me, allowing the entire LC user base to modify the dictionary that we > all use, will cause more problems than it solves. Richard's idea to form a > team of experienced live coders to at least review additions and changes > and brainstorm improvements is a great idea. Also, a feature that allows > users to make private notes is also a great one. Perhaps, taking it a bit > further, users' private notes might contain a button to submit them to the > dictionary committee for review and inclusion in the master dictionary. > > An important goal, I think, is to consider feedback from both experienced > and relatively new users who perhaps use a different vocabulary for their > desired outcome and can't find their way around the huge number of > commands and intricacies. > > This list also contains a wealth of questions that the documentation team > might address. The challenge is to try to get into the mindset of those > who are, in real time, trying to solve coding problems. > > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Oct 26, 2014, at 2:15 AM, wrote: >> >> I appreciate all this effort to improve the Dictionary. >> But I feel the discussion about allowing EACH LC user to personally >> modify the Dictionary with his/her own notes is being overlooked. >> I think it is crazy that LC only allows notes in the Dictionary that have >> been reviewed by the staff. >> I WANT to add my own notes to the Dictionary, edit the examples, etc. In >> short, I don't want to wait around for the LC Community to fix MY >> Dictionary. >> I do not think this is an unreasonable request. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 26 13:49:51 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 26 Oct 2014 10:49:51 -0700 Subject: how to disturb newbies In-Reply-To: <84-1813056968.20141026103045@ahsoftware.net> References: <84-1813056968.20141026103045@ahsoftware.net> Message-ID: <544D343F.7060502@fourthworld.com> Mark Wieder wrote: > Richard- > > Sunday, October 26, 2014, 8:24:47 AM, you wrote: > >> It may seem crazy until you consider the alternative: once any >> communications venue is open for unmoderated posting by everyone, it >> becomes a spam magnet. > > Right Something like that would never work That may point to an interesting direction: what automated systems does Wikipedia employ to prevent spam? -- Richard Gaskin LiveCode Community Manager richard at livecode.org From mwieder at ahsoftware.net Sun Oct 26 13:50:20 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 10:50:20 -0700 Subject: how to disturb newbies In-Reply-To: <544D315C.7050509@gmail.com> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> <84-1813056968.20141026103045@ahsoftware.net> <544D315C.7050509@gmail.com> Message-ID: <0-1811882719.20141026105020@ahsoftware.net> Richmond- Sunday, October 26, 2014, 10:37:32 AM, you wrote: > I wonder . . . > If for the Dictionary . . . > We don't need a system like the bug reporting system, and > a triage nurse who weeds through the cases. As I understand things, that's what we have now, the problem being that it gets dealt with on a when-we-get-around-to-it basis. So unless you have plenty of spare time and are volunteering for this, I don't think this is a change. I'd be more in favor of a wikipedia-sort of thing where anyone can edit entries (after logging in a la the web forum) and thus we arrive at a community-driven truthiness result, rather than something handed down from a cabal that decides what notes are worthy of inclusion. But that's just me. -- -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 richmondmathewson at gmail.com Sun Oct 26 13:51:34 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 19:51:34 +0200 Subject: how to disturb newbies In-Reply-To: <0F0F91CABEE848BBA72FE4A5B572143E@userd204a4d61c> References: <544BBA62.3000706@fourthworld.com><7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch><6116830AD9A34CCC8443924378411653@userd204a4d61c> <0F0F91CABEE848BBA72FE4A5B572143E@userd204a4d61c> Message-ID: <544D34A6.4040806@gmail.com> On 26/10/14 19:47, larry at significantplanet.org wrote: > Hi Bill > As I already replied to Richard: > It seems you missed my point. > I am NOT talking about the LC user base modifying the Dictionary we > all use. > I specifically said: MY Dictionary. > In other words, just my own copy of the Dictionary on my machine. > I apologize if I did not make that more clear. > Thanks, > Larry > I think that "missing the point" is sometimes useful; and in the case of the Dictionary is extremely useful. The ability to share user's notes and observations "at the sharp end" rather than having to excavate the use-list and the forums would save a lot of time and effort. There "was" a way to add user notes that worked for quite a long time, and in several cases I was "saved" by user-added notes. As I suggested earlier this evening: something like the bug reporting system with a triage "nurse" might just be the thing that works. Richmond. From richmondmathewson at gmail.com Sun Oct 26 13:52:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 19:52:16 +0200 Subject: how to disturb newbies In-Reply-To: <544D343F.7060502@fourthworld.com> References: <84-1813056968.20141026103045@ahsoftware.net> <544D343F.7060502@fourthworld.com> Message-ID: <544D34D0.2090602@gmail.com> On 26/10/14 19:49, Richard Gaskin wrote: > Mark Wieder wrote: > >> Richard- >> >> Sunday, October 26, 2014, 8:24:47 AM, you wrote: >> >>> It may seem crazy until you consider the alternative: once any >>> communications venue is open for unmoderated posting by everyone, it >>> becomes a spam magnet. >> >> Right Something like that would never work > > That may point to an interesting direction: what automated systems > does Wikipedia employ to prevent spam? > I'm not sure if it does: some of their articles are inaccurate. Richmond. From richmondmathewson at gmail.com Sun Oct 26 13:52:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 19:52:58 +0200 Subject: how to disturb newbies In-Reply-To: <0-1811882719.20141026105020@ahsoftware.net> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> <84-1813056968.20141026103045@ahsoftware.net> <544D315C.7050509@gmail.com> <0-1811882719.20141026105020@ahsoftware.net> Message-ID: <544D34FA.7060401@gmail.com> On 26/10/14 19:50, Mark Wieder wrote: > Richmond- > > Sunday, October 26, 2014, 10:37:32 AM, you wrote: > >> I wonder . . . >> If for the Dictionary . . . >> We don't need a system like the bug reporting system, and >> a triage nurse who weeds through the cases. > As I understand things, that's what we have now, the problem being > that it gets dealt with on a when-we-get-around-to-it basis. So unless > you have plenty of spare time and are volunteering for this, I don't > think this is a change. > > I'd be more in favor of a wikipedia-sort of thing where anyone can > edit entries (after logging in a la the web forum) and thus we arrive > at a community-driven truthiness result, rather than something handed > down from a cabal that decides what notes are worthy of inclusion. > > But that's just me. > It isn't just you: you've got my vote! +1 Richmond. From pete at lcsql.com Sun Oct 26 13:54:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 Oct 2014 10:54:52 -0700 Subject: how to disturb newbies In-Reply-To: References: <544BBA62.3000706@fourthworld.com> <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> <6116830AD9A34CCC8443924378411653@userd204a4d61c> Message-ID: On Sun, Oct 26, 2014 at 8:33 AM, Earthednet-wp wrote: > Perhaps, taking it a bit further, users' private notes might contain a > button to submit them to the dictionary committee for review and inclusion > in the master dictionary. I'd have to look at the dictionary code but it it might be possible to add that feature to lcDictUserNotes. I guess I'm not clear why that would be better than just adding the user note directly though. I have tried to add a dictionary user note for a while but it was totally broken at one point. Is it working again now? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From mwieder at ahsoftware.net Sun Oct 26 13:54:01 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 10:54:01 -0700 Subject: how to disturb newbies In-Reply-To: <0F0F91CABEE848BBA72FE4A5B572143E@userd204a4d61c> References: <544BBA62.3000706@fourthworld.com><7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch><6116830AD9A34CCC8443924378411653@userd204a4d61c> <0F0F91CABEE848BBA72FE4A5B572143E@userd204a4d61c> Message-ID: <24-1811661368.20141026105401@ahsoftware.net> larry- Sunday, October 26, 2014, 10:47:27 AM, you wrote: > Hi Bill > As I already replied to Richard: > It seems you missed my point. > I am NOT talking about the LC user base modifying the Dictionary we all use. > I specifically said: MY Dictionary. > In other words, just my own copy of the Dictionary on my machine. > I apologize if I did not make that more clear. Well, *I* got your point, but I'd like access to the notes you enter as well. Your putting private notes in your system doesn't help the rest of us, and you wouldn't be able to take advantage of the notes that others have previously entered. With a common dictionary base we'd be able to bootstrap having a better dictionary for everyone, and then we wouldn't all be tripping over the same things. -- -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 Oct 26 14:00:05 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 11:00:05 -0700 Subject: how to disturb newbies In-Reply-To: <544D343F.7060502@fourthworld.com> References: <84-1813056968.20141026103045@ahsoftware.net> <544D343F.7060502@fourthworld.com> Message-ID: <57-1811297669.20141026110005@ahsoftware.net> Richard- Sunday, October 26, 2014, 10:49:51 AM, you wrote: >> Right Something like that would never work > That may point to an interesting direction: what automated systems does > Wikipedia employ to prevent spam? Well, there are notifications, all entries are logged (text, date, ip address), there's a web site that tracks the last several edits made, but by and large if you see and entry that's wrong or needs some clarification you can just edit it. If it rubs someone the wrong way, it will get re-edited. I think we could easily cut down on spam edits by requiring logins to edit, the way the web forum does. Or tie into the web login system if that's feasible. -- -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 richmondmathewson at gmail.com Sun Oct 26 14:01:10 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 20:01:10 +0200 Subject: how to disturb newbies In-Reply-To: References: <544BBA62.3000706@fourthworld.com> <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> <6116830AD9A34CCC8443924378411653@userd204a4d61c> Message-ID: <544D36E6.4090801@gmail.com> On 26/10/14 19:54, Peter Haworth wrote: > On Sun, Oct 26, 2014 at 8:33 AM, Earthednet-wp > wrote: > >> Perhaps, taking it a bit further, users' private notes might contain a >> button to submit them to the dictionary committee for review and inclusion >> in the master dictionary. > > I'd have to look at the dictionary code but it it might be possible to add > that feature to lcDictUserNotes. I guess I'm not clear why that would be > better than just adding the user note directly though. Well, one reason might be that there would be a vast list of user-added notes of varying value one would have to trawl through to find something that had more universal appeal than the rest. Writing user notes is not as easy as it seem if they are to be read by people other than oneself; and I can envisage a flood of notes written in a way which might not be understood by other users. Therefore there should be somebody who weeds through user-added notes before they are added to the dictionary. ----------------------------------------- Another thing that might like to be considered is the problem of people who don't have their computers constantly connected to the internet, and it might be worth considering releasing dictionary upgrades here http://downloads.livecode.com/livecode/ as well as IDE ones. Richmond. From shawnlivecode at gmail.com Sun Oct 26 14:06:19 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 26 Oct 2014 13:06:19 -0500 Subject: [NoSQL] Cloudant Message-ID: I'm trying to wrap my head around using Cloudant (NoSQL) for data crud operations. I can read the whole document into my LC demo desktop project as long as I have the objectID, but not having luck with searching elements or writing, or creating a new doc. Has anyone gone down this road and has some insight? Thanks. From mwieder at ahsoftware.net Sun Oct 26 14:06:04 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 11:06:04 -0700 Subject: Confused In-Reply-To: <544A1D90.9060409@gmail.com> References: <1414135125068-4684849.post@n4.nabble.com> <733C94A6-4708-4B6C-A110-0F391344619A@btinternet.com> <544A1D90.9060409@gmail.com> Message-ID: <149-1810938192.20141026110604@ahsoftware.net> Richmond- Friday, October 24, 2014, 2:36:16 AM, you wrote: > I've just installed 6.7 on linux and the about window does, indeed, > display the Livecode 7 details . . . something not quite right. Confirmed here. Not a show-stopper, but weird. Maybe a result of merging the develop and refactor branches. -- -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 Oct 26 14:06:42 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 Oct 2014 11:06:42 -0700 Subject: how to disturb newbies In-Reply-To: <8DA10EF2CBD34C37863427CB1DA673ED@userd204a4d61c> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> <8DA10EF2CBD34C37863427CB1DA673ED@userd204a4d61c> Message-ID: On Sun, Oct 26, 2014 at 10:44 AM, wrote: > Also, it would be nice to search on the body and notes of the Dictionary. > If that is currently possible (in 6.1.1) I do not know how to do it. Check out Bjornke's bvgDocu stack. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From richmondmathewson at gmail.com Sun Oct 26 14:11:02 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 20:11:02 +0200 Subject: Confused In-Reply-To: <149-1810938192.20141026110604@ahsoftware.net> References: <1414135125068-4684849.post@n4.nabble.com> <733C94A6-4708-4B6C-A110-0F391344619A@btinternet.com> <544A1D90.9060409@gmail.com> <149-1810938192.20141026110604@ahsoftware.net> Message-ID: <544D3936.7040004@gmail.com> On 26/10/14 20:06, Mark Wieder wrote: > Richmond- > > Friday, October 24, 2014, 2:36:16 AM, you wrote: > >> I've just installed 6.7 on linux and the about window does, indeed, >> display the Livecode 7 details . . . something not quite right. > Confirmed here. Not a show-stopper, but weird. Maybe a result of > merging the develop and refactor branches. > I did wonder if it wasn't something to do with merging various bits from the Git-thing. Richmond. From jeff at siphonophore.com Sun Oct 26 14:11:52 2014 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sun, 26 Oct 2014 14:11:52 -0400 Subject: how to disturb newbies In-Reply-To: References: Message-ID: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> One thing also with documentation like the, and newbies are the most vulnerable to this, is how well written it is and does it cover all the steps (ie not start c, d, e...). It hard for a high end development crew to hopefully have the ability to write and edit to a very clean and readable style and also not take some of the very basic knowledge for granted. To really do this well you either have to be extremely luck and have someone on staff that just happens to have writing and/or editing (but both should not be done by the same person if you want great results) as second talents/skills or hire in professional help. In all the companies, organizations and projects I've worked on in the last 35 years or so, in just about every case the writing and editing of any documentation, grants, and, at times, even content to be presented was given some of the lowest priorities and usually there were enough staff that were considered (or self appointed) good enough writers to the task, but usually proved pretty sadly wrong whenever there was some professional work done to compare it to (most especially true in copy editing, even those considered really good are not compared to the truly good ones, I know I've worked with them on projects up to a million words). I'm not saying at all the rev dictionary is poorly written at all. I have always found it very good for me for the most part (more info would always be great and a notes function useful as well), but I'm dyslexic and thus when I read I tend to suck out meaning and toss language out (you should hear me read out loud) and thus the opposite of the average user (language plays a more front and center role in non dyslexic readers and why it can muck up content/meaning for them easily.) Even though really good writing and editing is partially lost on me, I really understand its impact on the end user as I've been doing content design, development and production a long long time and have seen the proven results. Just saying if you really want the more average user and newbie to really grock the material that nuance of a professional giving all the content a good pass really can help and it tends to be the last priority unfortunately. Cheers Jeff > On Oct 26, 2014, at 7:00 AM, use-livecode-request at lists.runrev.com wrote: > > I fully agree. The dictionary is very important to shape the first impression of newcomers about LC. I have read and heard several disparaging comments about the documentation which are a very negative publicity for this fantastic product. I perfectly understand that it is far more interesting and stimulating for the small staff in Edinburgh to develop new features - and they are brilliant at that - than devote time and energy to do the house cleaning on the documentation. But it's a vital part of how their work is appreciated outside. I would suggest Kevin to establish a weekly "hour of dictionary cleaning" for everybody. Most of the dictionary problems could be solved in such a short time. From shawnlivecode at gmail.com Sun Oct 26 14:15:08 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 26 Oct 2014 13:15:08 -0500 Subject: FTP vs MYSQL for storing splash stack loading In-Reply-To: References: Message-ID: Why not have the stores simply use a splash stack, the most recent version is always on the server? All the store needs is port 80 open. Example: go stack URL " http://chum310.byu.edu/InClass/09-RevAndInternet/InternetLecture.rev" On Fri, Oct 24, 2014 at 2:06 PM, Bob Sneidar wrote: > Yes! Simply read the stack file as binary and save the result into a blob > column. I do this with PDF forms. No need to store your PDF forms on disk! > And you can always be certain you are using the most recent version of the > forms (or stacks) > > So your splash stack can actually check the version in the table where you > store the most recent version, (if you have a version number column) > compare it with your existing version, and then replace the substacks in > your app with the most current ones. > > This is all theoretical, you understand, but no reason why it would not > work. You may have to encode the binary data first for transport over > internet routers. > > Bob S > > > > On Oct 24, 2014, at 09:44 , Jim Schaubeck wrote: > > > > Folks, > > Our franchisor recently started blocking port 21 in our stores so I can > no > > longer FTP the most recent stacks to the computers in our stores. > > > > They will not block other ports so I wanted to know if there was a way to > > use MYSQL db to download stacks vs FTP > > > > Thank you! > > > > > > -- > > > ________________________________________________________________________________ > > jim schaubeck jschaubeck at gmail.com > > 714-321-4499 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 26 14:15:02 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 20:15:02 +0200 Subject: how to disturb newbies In-Reply-To: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> References: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> Message-ID: <544D3A26.3030003@gmail.com> On 26/10/14 20:11, Jeff Reynolds wrote: > One thing also with documentation like the, and newbies are the most vulnerable to this, is how well written it is and does it cover all the steps (ie not start c, d, e...). It hard for a high end development crew to hopefully have the ability to write and edit to a very clean and readable style and also not take some of the very basic knowledge for granted. To really do this well you either have to be extremely luck and have someone on staff that just happens to have writing and/or editing (but both should not be done by the same person if you want great results) as second talents/skills or hire in professional help. > > In all the companies, organizations and projects I've worked on in the last 35 years or so, in just about every case the writing and editing of any documentation, grants, and, at times, even content to be presented was given some of the lowest priorities and usually there were enough staff that were considered (or self appointed) good enough writers to the task, but usually proved pretty sadly wrong whenever there was some professional work done to compare it to (most especially true in copy editing, even those considered really good are not compared to the truly good ones, I know I've worked with them on projects up to a million words). > > I'm not saying at all the rev dictionary is poorly written at all. I have always found it very good for me for the most part (more info would always be great and a notes function useful as well), but I'm dyslexic and thus when I read I tend to suck out meaning and toss language out (you should hear me read out loud) and thus the opposite of the average user (language plays a more front and center role in non dyslexic readers and why it can muck up content/meaning for them easily.) Even though really good writing and editing is partially lost on me, I really understand its impact on the end user as I've been doing content design, development and production a long long time and have seen the proven results. > > Just saying if you really want the more average user and newbie to really grock the material that nuance of a professional giving all the content a good pass really can help and it tends to be the last priority unfortunately. > > Cheers > > Jeff I think I said that just now, but in a more concise fashion. My brain works differently to yours, and so it is unlikely that your notes (especially if they are whipped up on the fly during a programming session) will be easy for me to understand, and vice versa. Richmond. From ambassador at fourthworld.com Sun Oct 26 14:29:49 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 26 Oct 2014 11:29:49 -0700 Subject: how to disturb newbies In-Reply-To: <8DA10EF2CBD34C37863427CB1DA673ED@userd204a4d61c> References: <8DA10EF2CBD34C37863427CB1DA673ED@userd204a4d61c> Message-ID: <544D3D9D.3070508@fourthworld.com> larry wrote: > Richard, > It appears to me that you missed my point. Indeed, and apparently I'm not alone in that. I understand that you want a tool for your own personal use that is separate from what others would have access to. You've made the request rather frequently here, and I appreciate that you've submitted this to the bug report DB as well (#10887 for those who may want to add comments there). So please rest assured your desire for this specific tool is well recognized here. As useful as your request may be, it seems that a greater number community members would rather focus their own time on shared information. This isn't to say that your desire for a more personal tool doesn't have merit, but merely that in the role of Community Manager my own focus will tend to reflect things that can benefit the community as a whole. Given the frequency with which you express your desire to have this tool written for you, I had hoped you'd have noticed when Peter Haworth generously did exactly that - please let me post the relevant excerpt from his recent email a third time here: > I have a free plugin that allows you to enter your own notes > and tags about a dictionary entry. They are local to you so > not available to all users. > > If interested, you can find it at > http://www.lcsql.com/free-stuff.html On this I'm in complete agreement: > Also, it would be nice to search on the body and notes of the > Dictionary. If that is currently possible (in 6.1.1) I do not > know how to do it. Full-text search can be handy, but sometimes prone to returning too many results. Still, better than not having it at all. I'd like to see a tag system introduced, so both the core team and the community could supply tags for token entries. That would help with the majority of "I couldn't find it" moments when the search term doesn't match the exact token name, but would allow for more precise results than most free-text indexing could offer. I'll discuss both with Ben at the next Community meeting. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From mwieder at ahsoftware.net Sun Oct 26 14:26:35 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 11:26:35 -0700 Subject: how to disturb newbies In-Reply-To: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> References: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> Message-ID: <32-1809707056.20141026112635@ahsoftware.net> What Jeff said. I almost never hear anyone complaining about there being too much documentation. -- -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 Sun Oct 26 14:46:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 26 Oct 2014 11:46:04 -0700 Subject: how to disturb newbies In-Reply-To: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> References: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> Message-ID: <544D416C.8050709@fourthworld.com> Jeff Reynolds hit on some excellent points here: > One thing also with documentation like the, and newbies are the > most vulnerable to this, is how well written it is and does it > cover all the steps (ie not start c, d, e...). It hard for a high > end development crew to hopefully have the ability to write and > edit to a very clean and readable style and also not take some of > the very basic knowledge for granted. ... > I'm not saying at all the rev dictionary is poorly written at all. > I have always found it very good for me for the most part (more > info would always be great and a notes function useful as well) Reading this in mind with the instances where folks have complained about not being able to find what they're looking for, two thoughts emerge: 1. Tagging or other searchability enhancement is paramount. Too many times we know what we want to do, and need to find the token to accomplish it. For example, you're looking for how to purge a stack from memory when it closes with no interest at all in destroying it in any way, not even the hundredth monkey could be expected to stumble across it by typing in "destroyStack". Tagging, free-text, or other enhanced search would do wonders with that. 2. Most folks agree with the assessment here, that while it may be nice to see some more compete end-to-end examples, by and large they can get what they need from the content (when they can find it), provided they have enough basic background in how LiveCode works to see how the parts fit. One of the challenges with attempting end-to-end examples for many of the language elements is that they're very, very flexible. How many different examples would be need for binaryEncode, or ReplaceText, or even just customPropertySets before we could expect the Dictionary to be a one-stop solution. So maybe it can't. And since little if any of the User Guide is read, maybe what's needed is a truly essential "Getting Started" guide, with just the barest bones possible to orient a newcomer to get started, only compete enough for that orientation but not a word longer so that it would actually be read. What info should be included in such a Guide? On this: > Just saying if you really want the more average user and newbie to > really grock the material that nuance of a professional giving all > the content a good pass really can help and it tends to be the last > priority unfortunately. Absolutely. And with some 90% of users running the Community Edition, I think it's safe to suggest that an effort of that magnitude would only be accomplishable with the support of the community. Anyone up for participating in a Dictionary triage and revision please drop me a note and we'll make this happen one way or another. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From pete at lcsql.com Sun Oct 26 15:06:40 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 Oct 2014 12:06:40 -0700 Subject: how to disturb newbies In-Reply-To: <544D3D9D.3070508@fourthworld.com> References: <8DA10EF2CBD34C37863427CB1DA673ED@userd204a4d61c> <544D3D9D.3070508@fourthworld.com> Message-ID: On Sun, Oct 26, 2014 at 11:29 AM, Richard Gaskin wrote: > I'd like to see a tag system introduced, so both the core team and the > community could supply tags for token entries. Hi Richard, My stack lets you add tags to entries as well as writing notes, and search on them of course. although, once again, it's only for local use. Local tags might be a good idea though since there's some amount of personal preference involved when coming up with tag names. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From richmondmathewson at gmail.com Sun Oct 26 15:45:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 Oct 2014 21:45:15 +0200 Subject: pre-7.0.0 Unicode question Message-ID: <544D4F4B.1020602@gmail.com> I wonder why this doesn't work: on mouseUp set the useUnicode to true if char 2 of fld "ff" is numToChar(7637) then set the unicodeText of char 2 of fld "ff" to numToChar(100) end if end mouseUp ------------------------------- AND, while I'm here: why, when I copy from the scriptEditor do I have to paste it into LibreOffice, and then recopy it to paste it into Thunderbird because it won't copy-paste directly into my e-mail client (Thunderbird)? Richmond. From sundown at pacifier.com Sun Oct 26 16:22:37 2014 From: sundown at pacifier.com (JB) Date: Sun, 26 Oct 2014 13:22:37 -0700 Subject: hilitedline In-Reply-To: <8D08DEBBAD704C419DF1A76784151098@userd204a4d61c> References: <5259218C205A4294803B820567A39046@userd204a4d61c> <8D08DEBBAD704C419DF1A76784151098@userd204a4d61c> Message-ID: <104E21D7-7EAC-4023-B453-759D94BAD3F9@pacifier.com> I had trouble with that too. Most people probably do. If you are deleting a bunch of lines say that are 5 thru 38 you can delete line 5 and then keep deleting line 5 until you have deleted enough lines. John Balgenorth On Oct 26, 2014, at 3:57 AM, wrote: > Thanks Terry, > Sometimes I wish I wasn't so dense. > Larry > > ----- Original Message ----- From: "Terry Judd" > To: "How to use LiveCode" > Sent: Sunday, October 26, 2014 4:35 AM > Subject: Re: hilitedline > > > Larry - you need to delete the lines in reverse order? > > put the hilitedlines of field "mySelects" into myDelete > > repeat with i = (the number of items in myDelete) down to 1 > delete line (item i of myDelete) of fld ?mySelects" > end repeat > > HTH, > > Terry... > > On 26/10/2014 7:58 pm, "larry at significantplanet.org" > wrote: > >> I have the following script in a button: >> >> on mouseUp >> >> put the hilitedline of field "mySelects" into myDelete >> >> repeat for each item L in myDelete >> >> delete line L of field "mySelects" >> >> end repeat >> >> end mouseUp >> >> >> >> If the hilitedlines of the field are, say, 1,4,7 then it will delete >> lines 1 and 4, but not 7. It always deletes all but the last line. Why? >> >> Thanks, 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 26 17:09:58 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 14:09:58 -0700 Subject: hilitedline In-Reply-To: <104E21D7-7EAC-4023-B453-759D94BAD3F9@pacifier.com> References: <5259218C205A4294803B820567A39046@userd204a4d61c> <8D08DEBBAD704C419DF1A76784151098@userd204a4d61c> <104E21D7-7EAC-4023-B453-759D94BAD3F9@pacifier.com> Message-ID: <59-1799904902.20141026140958@ahsoftware.net> John- Sunday, October 26, 2014, 1:22:37 PM, you wrote: > I had trouble with that too. Most people > probably do. If you are deleting a bunch > of lines say that are 5 thru 38 you can > delete line 5 and then keep deleting line > 5 until you have deleted enough lines. LOL. Quite true. I never thought of that. -- -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 index at kenjikojima.com Sun Oct 26 18:03:24 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Sun, 26 Oct 2014 18:03:24 -0400 Subject: pre-7.0.0 Unicode question In-Reply-To: <544D4F4B.1020602@gmail.com> References: <544D4F4B.1020602@gmail.com> Message-ID: Richmond, I don?t know the character ?7637?. But i thought you wanted to write like this. on mouseUp if char 2 of fld 1 is numToCodepoint(12356) then put numToCodepoint(12354) into char 2 of fld 1 end if end mouseUp the script changes ??????? to ???????. -- Kenji Kojima / ???? http://www.kenjikojima.com/ > On Oct 26, 2014, at 3:45 PM, Richmond wrote: > > I wonder why this doesn't work: > > on mouseUp > set the useUnicode to true > if char 2 of fld "ff" is numToChar(7637) then > set the unicodeText of char 2 of fld "ff" to numToChar(100) > end if > end mouseUp > > ------------------------------- > > AND, while I'm here: > > why, when I copy from the scriptEditor do I have to paste it into LibreOffice, > and then recopy it to paste it into Thunderbird because it won't copy-paste > directly into my e-mail client (Thunderbird)? > > 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 Sun Oct 26 18:52:19 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 Oct 2014 15:52:19 -0700 Subject: [OT] Jack Bruce Died Message-ID: For the bass players amongst us and those who remember English band Cream: http://www.independent.co.uk/news/people/jack-bruce-dead-cream-bassist-dies-of-liver-disease-aged-71-9818343.html Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From sean at pidigital.co.uk Sun Oct 26 19:24:00 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 26 Oct 2014 23:24:00 +0000 Subject: orientation in iOS 8.1 simulator In-Reply-To: References: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> <47E2F97A-69EC-4A4E-B994-20285BC81BB8@major-k.de> Message-ID: Found it :D You have to set orientations at inception. mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" Then it works perfectly, even the resize without waiting. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 26 October 2014 17:23, Klaus major-k wrote: > Hi Sean, > > > Am 26.10.2014 um 18:10 schrieb Klaus major-k : > > > > Hi Sean, > > > >> Am 26.10.2014 um 17:45 schrieb Sean Cole (Pi) : > >> > >> Hi Klaus, > >> > >> I was getting this too (from some time ago). There is a delay in the > >> message between 'orientationChanged' to updating the > >> 'mobileDeviceOrientation' value. So, what I do is: > >> > >> on orientationChanged > >> send "checkOrientation" to me in 20 millisec > >> end orientationChanged > >> > >> on checkOrientation > >> set the rect of fld "Testfield" to the rect of this cd > >> put CR & CR & mobileDeviceOrientation() into fld "Testfeld" > >> end checkOrientation > > no joy in iPhone sim :-/ > It starts correctly in portrait and stays there, no matter how I rotate > the device!? > But works fine on iPad sim however. > > Any setting in Livecode I may have overlooked? > I checked all options for iPad orientations in the standalone settings, > but there is none for iPhone? > > > 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 alex at tweedly.net Sun Oct 26 19:36:22 2014 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 Oct 2014 23:36:22 +0000 Subject: [OT] Jack Bruce Died In-Reply-To: References: Message-ID: <544D8576.3020403@tweedly.net> On 26/10/2014 22:52, Peter Haworth wrote: > For the bass players amongst us and those who remember English band Cream: > > http://www.independent.co.uk/news/people/jack-bruce-dead-cream-bassist-dies-of-liver-disease-aged-71-9818343.html > > "English" ? When 1/3 of them were Scottish rather than English ? I'd have thought they were a British band .... :-) [ OK - if you include Felix Pappalardi as "the fourth member of the band" (as described by both Clapton and Bruce), then only 1/2 of them were English - and, even better, they had 2 bassists !! :-] -- Alex. From index at kenjikojima.com Sun Oct 26 20:18:24 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Sun, 26 Oct 2014 20:18:24 -0400 Subject: pre-7.0.0 Unicode question In-Reply-To: References: <544D4F4B.1020602@gmail.com> Message-ID: <4667FFB4-2A8E-499D-8FCC-CEB1A3F9426D@kenjikojima.com> > the script changes ??????? to ???????. Correction: the script changes ??????? to ???????. -- Kenji Kojima / ???? http://www.kenjikojima.com/ > On Oct 26, 2014, at 6:03 PM, Kenji Kojima wrote: > > Richmond, > > I don?t know the character ?7637?. > But i thought you wanted to write like this. > > on mouseUp > if char 2 of fld 1 is numToCodepoint(12356) then > put numToCodepoint(12354) into char 2 of fld 1 > end if > end mouseUp > > the script changes ??????? to ???????. > > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > >> On Oct 26, 2014, at 3:45 PM, Richmond wrote: >> >> I wonder why this doesn't work: >> >> on mouseUp >> set the useUnicode to true >> if char 2 of fld "ff" is numToChar(7637) then >> set the unicodeText of char 2 of fld "ff" to numToChar(100) >> end if >> end mouseUp >> >> ------------------------------- >> >> AND, while I'm here: >> >> why, when I copy from the scriptEditor do I have to paste it into LibreOffice, >> and then recopy it to paste it into Thunderbird because it won't copy-paste >> directly into my e-mail client (Thunderbird)? >> >> 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 dochawk at gmail.com Sun Oct 26 21:21:56 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 Oct 2014 18:21:56 -0700 Subject: how to disturb newbies In-Reply-To: <84-1813056968.20141026103045@ahsoftware.net> References: <6116830AD9A34CCC8443924378411653@userd204a4d61c> <544D123F.2050100@fourthworld.com> <84-1813056968.20141026103045@ahsoftware.net> Message-ID: On Sun, Oct 26, 2014 at 10:30 AM, Mark Wieder wrote: > Right Something like that would never work > Wikipedia has active "moderation". My thinking would be to have enough moderation that a person's first few are held until approved, and after that point, they become presumed OK, and at some point, gain the ability to approve other posts. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Oct 26 21:24:35 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 Oct 2014 18:24:35 -0700 Subject: deleting lines in a field In-Reply-To: References: Message-ID: Once you have the lines in variable theLins repeat with i = the number of words in theLins down to 1 delete line (word i of theLins) of theData end repeat On Sun, Oct 26, 2014 at 2:10 AM, wrote: > I have a field that allows non-contiguous selection of lines > > What is the easiest way to delete the selected lines? > > I've tried a bunch of things and I end up doing this big convoluted script > to do it. It seems like it should be simple? > > Thanks, 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 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sun Oct 26 21:58:43 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 26 Oct 2014 18:58:43 -0700 Subject: [OT] Jack Bruce Died In-Reply-To: References: Message-ID: <31-1782580283.20141026185843@ahsoftware.net> Pete- Sunday, October 26, 2014, 3:52:19 PM, you wrote: > For the bass players amongst us and ... or the wonderful duets he did with Linda Ronstadt on Carla Bley's Escalator Over the Hill... -- -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 monte at sweattechnologies.com Mon Oct 27 02:10:05 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 27 Oct 2014 17:10:05 +1100 Subject: [ANN] mergLA 1.0.0 - TouchID external for iOS Message-ID: Hi LiveCoders Today I am releasing mergLA 1.0.0. mergLA uses the new LocalAuthentication framework in iOS 8 so you can add biometric authentication to your app. It presents the standard TouchID dialog for your users to authenticate. This new external is available for $9 sold separately or is included in the bargain of the millennium mergExt Complete for $299. mergExt Complete offers a whopping $922 worth of features to LiveCode for a fraction of the cost. See more at: http://mergext.com/home/mergla/ Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From brami.serge at gmail.com Mon Oct 27 03:28:25 2014 From: brami.serge at gmail.com (Serge Brami) Date: Mon, 27 Oct 2014 08:28:25 +0100 Subject: deleting lines in a field In-Reply-To: References: Message-ID: Each Time you delete a Line this change the index of the lines in the field so you cannot do this Best way : repeat with i = the number of words in theLins down to 1 > > Put empty into line (word i of theLins) of theData > end repeat Filter thelins without empty Email par IPhone de Dr Serge BRAMI > Le 27 oct. 2014 ? 02:24, Dr. Hawkins a ?crit : > > Once you have the lines in variable theLins > > repeat with i = the number of words in theLins down to 1 > delete line (word i of theLins) of theData > end repeat > >> On Sun, Oct 26, 2014 at 2:10 AM, wrote: >> >> I have a field that allows non-contiguous selection of lines >> >> What is the easiest way to delete the selected lines? >> >> I've tried a bunch of things and I end up doing this big convoluted script >> to do it. It seems like it should be simple? >> >> Thanks, 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 > > > > -- > 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 Nakia.Brewer at westrac.com.au Mon Oct 27 05:04:22 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 27 Oct 2014 09:04:22 +0000 Subject: [ANN] mergLA 1.0.0 - TouchID external for iOS In-Reply-To: References: Message-ID: Great work monte. Any plans for mergEvents? Would be great to have access to the IOS events/ reminders DB. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 m: 0458 713 547 i: www.westrac.com.au ACN 009 342 572 On 27 Oct 2014, at 5:10 pm, Monte Goulding > wrote: Hi LiveCoders Today I am releasing mergLA 1.0.0. mergLA uses the new LocalAuthentication framework in iOS 8 so you can add biometric authentication to your app. It presents the standard TouchID dialog for your users to authenticate. This new external is available for $9 sold separately or is included in the bargain of the millennium mergExt Complete for $299. mergExt Complete offers a whopping $922 worth of features to LiveCode for a fraction of the cost. See more at: http://mergext.com/home/mergla/ Cheers Monte -- 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 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 admin at FlexibleLearning.com Mon Oct 27 05:21:05 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 27 Oct 2014 09:21:05 -0000 Subject: how to disturb newbies Message-ID: <003501cff1c7$56d4b440$047e1cc0$@FlexibleLearning.com> Larry If you need personal notes on anything at all from your own syntax notes to code snippets,, then I suggest you look at the Scripter's Scrapbook. Although it does not directly link to the IDE dictionary, it may have the features you need... www.flexiblelearning.com/ssbk Just a thought. Best regards, Hugh Senior FLCo -- Original message from Richard Gaskin: larry wrote: > Richard, > It appears to me that you missed my point. Indeed, and apparently I'm not alone in that. I understand that you want a tool for your own personal use that is separate from what others would have access to. You've made the request rather frequently here, and I appreciate that you've submitted this to the bug report DB as well (#10887 for those who may want to add comments there). So please rest assured your desire for this specific tool is well recognized here. As useful as your request may be, it seems that a greater number community members would rather focus their own time on shared information. From lan.kc.macmail at gmail.com Mon Oct 27 05:37:35 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 27 Oct 2014 17:37:35 +0800 Subject: The Bearer Of Bad News In-Reply-To: <58-1874397803.20141025172823@ahsoftware.net> References: <401B3F89-589C-42A7-913F-8166C031D24C@iotecdigital.com> <71684982-C3B3-4E81-A5E4-972D564FFDB1@iotecdigital.com> <24-1954614752.20141024191125@ahsoftware.net> <08D529B3-7376-45DD-A440-A272E75D0417@verizon.net> <144-1949587417.20141024203512@ahsoftware.net> <079A2A42-F50E-4AE6-893B-534B65A590B1@verizon.net> <195-1898982815.20141025103838@ahsoftware.net> <151-1896502719.20141025111958@ahsoftware.net> <58-1874397803.20141025172823@ahsoftware.net> Message-ID: On Sun, Oct 26, 2014 at 8:28 AM, Mark Wieder wrote: > Well, that's special. > While I have the Untitled backup drive removed from Spotlight, > Sorry for taking a while to answer this, but yesterday I didn't have my TM HD available so I couldn't be sure. What do you mean by 'removed'. In the Spotlight Preference Pane all HD's you do NOT want indexed by Spotlight should appear in the Privacy Tab of Spotlight - although they only appear there when they are actually attached. You do NOT want to remove it. What version of OS X are you on? I think this may only be applicable pre Mountain Lion, when many users suffered from TM slowdown. Did you do a full reset? Turn TM OFF, disconnect your TM HD. Make sure any other Back Up HDs are removed and such software is turned OFF. In Spotlight, in the Privacy Tab select your internal HD - this will WIPE your Spotlight db. Restart your computer with CMD+R, run Disk Utility and Repair Permissions. Restart your computer, Spotlight may 'Index' but it should only take a couple of seconds. Make sure the Spotlight Magnifying Glass does NOT have a pulsating dot in it.IF you had some kind of custom set up, with certain folders NOT indexed, then ensure these appear in the Privacy Tab before removing your internal HD from the list. In Spotlight Privacy Tab remove your internal HD, this will force Spotlight to completely rebuild it's DB. The Reindex will take several HOURS so it might be best to do it just before going to bed. Make sure Energy Saver is set to NOT go to sleep so Spotlight can run continuously. Only after Spotlight has completed it's reindexing of your internal HD - the Spotlight Magnifying Glass does NOT have a pulsating dot in the middle - then reattach your TM HD. With most recent version of OS X, with Time Machine OFF, when you attach an external HD you should be asked something like 'Do you want to use HD's Name as your Time Machine HD?', just click yes. If you are not asked this question after 20 seconds, go to System Preferences, Time Machine and turn it back ON and make sure the correct HD is listed. You should then be able to go to the Spotlight Preference Pane, Privacy tab and your TM HD should have been automatically added to the List. If it's NOT automatically added, something is wrong! The first TM backup after you've turned TM OFF, Fixed Permissions, and then turned TM back ON, will take a while, but after that it should be much quicker than you are experiencing. If everything is 'normal', try reattaching your other backup HDs and turning on your other Backup Software. Other possibilities: Are you running any back-up/sync software, maybe to another disk, that 'syncs' the disk so that at certain levels (root level) it ensures the latest file/folder exists on both or if a file/folder is missing it is restored? Are you running any software that might tap into Spotlight's DB, something like the old CDFinder, now NeoFinder: http://www.cdfinder.de/ which may have an ability to initiate a restore or rebuild the Spotlight Index if it feels it's been lost or become corrupt? Is the TM HD really named 'Untited'? Do you have a few HD's named "Untitled". Maybe giving the TM HD a name like 'HGWells' might resolve some internal conflict that exists with other HDs that you have called Untitled which aren't used for TM but are Indexed by Spotlight. HTH As an aside, I've been away for 6 days and didn't have my TM HD with me because I knew I wasn't going to be 'creating' anything, just reading pdfs already on my Mac. When I got back and attached my TM HD it did a 'thorough' back up. I'm not certain how many TM Backups you have to miss before it decides to do this. To start with it reported 13.6 GB to be backed up, and 136 GB available on my 1TB TM HD. As it proceeded with the backup the number grew to 15.2 GB to backup. It took about 5 min to backup, it then started it's 'clean up'. This took about twice as long, but at the end of it I had 172 GB available. Nice. Since then, every other backup has been so quick I haven't noticed it happening. From lan.kc.macmail at gmail.com Mon Oct 27 06:06:47 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 27 Oct 2014 18:06:47 +0800 Subject: how to disturb newbies In-Reply-To: <544D416C.8050709@fourthworld.com> References: <8FB67E06-8C96-49A0-8FF0-3C51CB55C6B2@siphonophore.com> <544D416C.8050709@fourthworld.com> Message-ID: On Mon, Oct 27, 2014 at 2:46 AM, Richard Gaskin wrote: > > And since little if any of the User Guide is read, > Which is another pity as so much excellent information is in there. I know your don't really want to hear more 'what should and shouldn't happen' and are really fishing for volunteers, but I could see a huge benefit in having may Dictionary entries hyperlinked to the appropriate section in the User Guide. Your mention of customPropertySets is a perfect example. Actually, hyperlinks to the many wonderful online lessons hosted on the Runrev website would also be extremely handy. I'll let you return to fishing for volunteers ;-) From dwilliams at livecode.com Mon Oct 27 07:29:51 2014 From: dwilliams at livecode.com (david williams) Date: Mon, 27 Oct 2014 11:29:51 +0000 Subject: sendmail through On-Rev server In-Reply-To: References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> Message-ID: <544E2CAF.9050409@livecode.com> Hello Everyone, I will post the response here that I sent to Paul in his ticket, as I think it may be of use to some people on this list. This results from using the old legacy irev engine as opposed to the newer Livecode Server engine. You can either change the file extension to .lc, or, if this is part of a larger system in which it would not be feasible to change the filename, you can add directives to a .htaccess file in your site's document root to tell the server to use the livecode server engine even for .irev files: AddHandler livecode-server-redirect .irev Action livecode-server-redirect /cgi-bin/livecode-server-6.6.2 Regards, -David On 10/26/2014 4:14 PM, Paul Hibbert wrote: > Thanks Christer, > > That's the script I was trying on Diesel, but sadly with no joy. > > Paul > > On Oct 26, 2014, at 1:20 AM, Pyyhti? Christer wrote: > >> The following script works well - on Tio. Used it yesterday with no problems. Response was immediate. >> >> I got it from someone at RR. >> >> rgds christer >> ------ >> >> -- mail >> -- >> -- Emails the given message to the recipients specified. >> -- Each address passed can have a name attached in the form "name
". >> -- Addresses can be passed as comma separated lists. >> -- Attachements can be added by passing an array (interger indexed or otherwise). >> -- with each attachment itself being an array. >> -- >> -- pTo - The addresses to send the message to >> -- pSub - The message subject >> -- pMsg - The message body >> -- pFrom - The address of the message sender >> -- pCc - Any cc addresses >> -- pBcc - Any Bcc addresses >> -- pHtml - Boolean, if the message is to be sent as html >> -- pAtts - Array of all attachments to send, each attachment of the form: >> -- * name: the name of the attachment >> -- * path: the absolute path to the attachment >> -- * type: the mime type of the attachment, defaults to >> -- application/octet-stream >> -- >> on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts >> local tMsg >> -- build the message header, adding the from, to and subject details >> -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) >> put shellEscape(pTo) into pTo >> -- put (pSub) into pSub >> >> put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg >> if pCc is not empty then put "Cc:" && pCc & return after tMsg >> -- if there are any attachments, we must send this email as multipart >> -- with the message body and each attachment forming a part >> -- we do this by specifying the message as multipart and generating a unique boundary >> if pAtts is an array then >> local tBoundary >> put "boundary" & the seconds into tBoundary >> put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ >> wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg >> end if >> >> -- add the actual message body, setting the content type appropriatly >> if pHtml is true then >> put "Content-Type: text/html;" & return & return after tMsg >> else >> put "Content-Type: text/plain;" & return & return after tMsg >> end if >> put pMsg & return after tMsg >> >> -- add each attachment as a new part of the message, sepearting using >> -- the generated boundary >> if pAtts is an array then >> put "--" & tBoundary & return after tMsg >> repeat for each element tAtt in pAtts >> if there is a file tAtt["path"] then >> if tAtt["type"] is empty then >> get "application/octet-stream" >> else >> get tAtt["type"] >> end if >> put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ >> return & "Content-Transfer-Encoding: base64;" & return & return & \ >> base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ >> tBoundary & return after tMsg >> end if >> end repeat >> end if >> >> -- send the mail by piping the message we have just built to the sendmail command >> -- we must also send a copy of the message to the bcc addresses >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) >> if pBcc is not empty then >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) >> end if >> end mail >> >> --- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Mon Oct 27 08:14:58 2014 From: klaus at major-k.de (Klaus major-k) Date: Mon, 27 Oct 2014 13:14:58 +0100 Subject: orientation in iOS 8.1 simulator In-Reply-To: References: <47B51769-1B56-4619-9C85-288B91699C89@major-k.de> <47E2F97A-69EC-4A4E-B994-20285BC81BB8@major-k.de> Message-ID: <43DB2226-C301-4B82-B6D9-55F6E474E9D9@major-k.de> Hi Sean, > Am 27.10.2014 um 00:24 schrieb Sean Cole (Pi) : > > Found it :D You have to set orientations at inception. > > mobileSetAllowedOrientations "portrait,portrait upside down,landscape > left,landscape right" > > Then it works perfectly, even the resize without waiting. YES, that did the trick, thanks a bunch! :-) > Sean Cole Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Mon Oct 27 09:43:05 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Oct 2014 06:43:05 -0700 Subject: Misreported "corruption" between versions fixed Message-ID: <544E4BE9.5000804@fourthworld.com> It turns out that the very feature Phil Jimmieson requested, in which older versions of LiveCode would be able to more accurately report when they're opening a new file format rather than reporting the file as "corrupted" has already been implemented - see Mark Waddingham's note in the report: This was implemented in v7.0, which of course means the benefit of this smarter reporting won't be evident until the next file format change after. So Mark has now authorized this to be backported to the next 6.7 (presumably 6.7.1), so we'll see that in place soon. -- Richard Gaskin LiveCode Community Manager richard at livecode.com From gcanyon at gmail.com Mon Oct 27 09:44:07 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 27 Oct 2014 08:44:07 -0500 Subject: Benchmarking 7.0 performance Message-ID: I'm wondering if anyone has benchmarked 7.0 performance? I did two quick tests and found: on mouseUp put the long seconds into T repeat with i = 1 to 20000000 put "A" && "aa" into X end repeat put the long seconds - T end mouseUp Took almost 5x as long to run as on 6.7, which I expected since it's presumably doing UTF things under the hood. But I also found: on mouseUp put the long seconds into T repeat with i = 1 to 20000000 end repeat put the long seconds - T end mouseUp Took about 1.5x as long to run on 7.0 as on 6.7. Obviously our own code is still a much larger factor -- "repeat for each" in 7.0 is still going to handily beat "repeat with" in 6.7 for processing large chunks of text, etc. gc From MikeKerner at roadrunner.com Mon Oct 27 10:13:38 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 27 Oct 2014 10:13:38 -0400 Subject: [ANN] mergLA 1.0.0 - TouchID external for iOS In-Reply-To: References: Message-ID: SUH-WEET! On Mon, Oct 27, 2014 at 5:04 AM, Nakia Brewer wrote: > Great work monte. > > Any plans for mergEvents? > Would be great to have access to the IOS events/ reminders DB. > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management > Solutions > t: (02) 49645051 > m: 0458 713 547 > i: www.westrac.com.au > ACN 009 342 572 > > On 27 Oct 2014, at 5:10 pm, Monte Goulding > wrote: > > Hi LiveCoders > > Today I am releasing mergLA 1.0.0. mergLA uses the new LocalAuthentication > framework in iOS 8 so you can add biometric authentication to your app. It > presents the standard TouchID dialog for your users to authenticate. > > This new external is available for $9 sold separately or is included in > the bargain of the millennium mergExt Complete for $299. mergExt Complete > offers a whopping $922 worth of features to LiveCode for a fraction of the > cost. > > See more at: http://mergext.com/home/mergla/ > > Cheers > > Monte > > -- > 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 > 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 > -- 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 rdimola at evergreeninfo.net Mon Oct 27 10:35:26 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 27 Oct 2014 10:35:26 -0400 Subject: [OT] Jack Bruce Died In-Reply-To: <31-1782580283.20141026185843@ahsoftware.net> References: <31-1782580283.20141026185843@ahsoftware.net> Message-ID: <00a801cff1f3$408d1b10$c1a75130$@net> His vocals were as great as his bass playing. I can remember getting a free copy of the "Wheels on Fire" when I was in grammar school because my best friend's older sister thought it was horrible. I was mesmerized by a live power trio. Don't forget Jack's harmonica solo on "Toad". I could go on forever...RIP 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 Mark Wieder Sent: Sunday, October 26, 2014 9:59 PM To: How to use LiveCode Subject: Re: [OT] Jack Bruce Died Pete- Sunday, October 26, 2014, 3:52:19 PM, you wrote: > For the bass players amongst us and ... or the wonderful duets he did with Linda Ronstadt on Carla Bley's Escalator Over the Hill... -- -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 Mon Oct 27 11:06:53 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Oct 2014 15:06:53 +0000 Subject: how to disturb newbies In-Reply-To: References: <7EF0416E-6E72-4FAF-94C9-344750D66CD5@dotcomsolutionsinc.net> Message-ID: <5399EC70-2F0E-49D4-B576-6233B68499F5@iotecdigital.com> Reading through your email didn?t make the least bit of sense! Until I realized? THAT?S THE POINT! :-) Bob S > On Oct 25, 2014, at 03:36 , Jacques Hausser wrote: > > Dictionary examples: > > Syntax: > after messageName [parametersList] statementList end messageName > > Examples: > after mouseUp > answer "after mouse up received" > end resizeStack > > --- > > before > > Syntax: > before messageName [parametersList] statementList end messageName > > Examples: > before mouseUp > answer "before mouse up received" > end resizeStack > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 27 11:33:13 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Oct 2014 08:33:13 -0700 Subject: how to disturb newbies In-Reply-To: References: Message-ID: <544E65B9.7030806@fourthworld.com> Kay C Lan wrote: > I know your don't really want to hear more 'what should and shouldn't > happen' and are really fishing for volunteers, but I could see a huge > benefit in having may Dictionary entries hyperlinked to the appropriate > section in the User Guide. Your mention of customPropertySets is a perfect > example. Actually, hyperlinks to the many wonderful online lessons hosted > on the Runrev website would also be extremely handy. That's an excellent suggestion. It may be difficult while the User Guide is in PDF format, but I believe the User Guide format will change in v8.0 so it may become quite valuable. I'll raise that idea at Thursday's meeting. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From dochawk at gmail.com Mon Oct 27 11:34:10 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 27 Oct 2014 08:34:10 -0700 Subject: deleting lines in a field In-Reply-To: References: Message-ID: On Mon, Oct 27, 2014 at 12:28 AM, Serge Brami wrote: > Each Time you delete a Line this change the index of the lines in the > field so you cannot do this That's why it's done backwards. When you delete a line, only the later lines are affected. So if you need to delete 3 and 5, deleting 5 moves 6-last down, and 3 is not affected, and is in the right place for deletion. Per a recent thread, at *some* length, it may make sense to step through and copy (repeat for each line) rather than modify the target, as each deletion causes a recopy from that point on of the target. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gcanyon at gmail.com Mon Oct 27 11:39:59 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 27 Oct 2014 10:39:59 -0500 Subject: deleting lines in a field In-Reply-To: References: Message-ID: Depending on the size of your data, something like this could be (much) faster: function removeLines lineList,S put 0 into lineCounter split lineList with comma as set repeat for each line L in S add 1 to lineCounter if lineList[lineCounter] then next repeat put L & cr after R end repeat return char 1 to -2 of R end removeLines This will test it, putting the non-hilited lines of fld 2 into fld 1: on mouseUp put removeLines(the hilitedLines of fld 2,fld 2) into fld 1 end mouseUp On Sun, Oct 26, 2014 at 4:10 AM, wrote: > I have a field that allows non-contiguous selection of lines > > What is the easiest way to delete the selected lines? > > I've tried a bunch of things and I end up doing this big convoluted script > to do it. It seems like it should be simple? > > Thanks, 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 jacques.hausser at unil.ch Mon Oct 27 12:04:19 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 27 Oct 2014 17:04:19 +0100 Subject: how to disturb newbies In-Reply-To: <5399EC70-2F0E-49D4-B576-6233B68499F5@iotecdigital.com> References: <7EF0416E-6E72-4FAF-94C9-344750D66CD5@dotcomsolutionsinc.net> <5399EC70-2F0E-49D4-B576-6233B68499F5@iotecdigital.com> Message-ID: Indeed - good poetry doesn't need long exegesis ;-) > Le 27 oct. 2014 ? 16:06, Bob Sneidar a ?crit : > > Reading through your email didn?t make the least bit of sense! Until I realized? THAT?S THE POINT! :-) > > Bob S > > >> On Oct 25, 2014, at 03:36 , Jacques Hausser wrote: >> >> Dictionary examples: >> >> Syntax: >> after messageName [parametersList] statementList end messageName >> >> Examples: >> after mouseUp >> answer "after mouse up received" >> end resizeStack >> >> --- >> >> before >> >> Syntax: >> before messageName [parametersList] statementList end messageName >> >> Examples: >> before mouseUp >> answer "before mouse up received" >> end resizeStack >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From livfoss at mac.com Mon Oct 27 12:20:18 2014 From: livfoss at mac.com (Graham Samuel) Date: Mon, 27 Oct 2014 17:20:18 +0100 Subject: Is zero the same as empty? Message-ID: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> I found that if a parameter of a handler or function, or indeed a local variable, (say t1) has never had a value placed in it, then t1 = 0 is true. I was surprised by this, since I thought all unassigned variables were rendered empty by the engine, and that empty and zero were distinct. But in the same script t1 = empty is also true. Logically then, ?empty? is the same as ?0?. However the statement 0 = empty evaluates to false. Furthermore if I make sure t1 is empty by put empty into t1 then 0 = t1 yields false. Am I going crazy? This issue matters to me as I am comparing numeric characters with a variable which is sometimes unassigned. I see that I must always assign a value to the variable, even it that value is empty! Is this any kind of a bug, or is it just slightly strange behaviour on the part of the engine? Graham From gcanyon at gmail.com Mon Oct 27 12:46:15 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 27 Oct 2014 11:46:15 -0500 Subject: hilitedline In-Reply-To: <59-1799904902.20141026140958@ahsoftware.net> References: <5259218C205A4294803B820567A39046@userd204a4d61c> <8D08DEBBAD704C419DF1A76784151098@userd204a4d61c> <104E21D7-7EAC-4023-B453-759D94BAD3F9@pacifier.com> <59-1799904902.20141026140958@ahsoftware.net> Message-ID: I replied in the other thread as well, but: function removeLines lineList,S put 0 into lineCounter split lineList with comma as set repeat for each line L in S add 1 to lineCounter if lineList[lineCounter] then next repeat put L & cr after R end repeat return char 1 to -2 of R end removeLines This will test it, putting the non-hilited lines of fld 2 into fld 1: on mouseUp put removeLines(the hilitedLines of fld 2,fld 2) into fld 1 end mouseUp From pete at lcsql.com Mon Oct 27 12:54:14 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 Oct 2014 09:54:14 -0700 Subject: Option Drag FYI Message-ID: Just learned the above trick to create a copy of a control from a recent thread. Found out today that there is a difference between copy/paste and option-drag. If you copy/paste a control in a group, the copy is not part of the group, but if you option-drag it, the copy remains in the group. The Edit menu Duplicate and Replicate commands also leave the copies in the group. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From coiin at verizon.net Mon Oct 27 12:59:35 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 27 Oct 2014 12:59:35 -0400 Subject: Option Drag FYI In-Reply-To: References: Message-ID: <81318E6F-FE07-4929-95B6-7A299D1D5F42@verizon.net> I think it depends on how you work with groups. If you use Edit Group to go in and edit a group, copy and paste acts the same as option-drag. If you prefer to directly select objects inside a group, without actually going into the group, then copy and paste acts differently, because you?re at the card level at the time. From pete at lcsql.com Mon Oct 27 13:49:53 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 Oct 2014 10:49:53 -0700 Subject: Option Drag FYI In-Reply-To: <81318E6F-FE07-4929-95B6-7A299D1D5F42@verizon.net> References: <81318E6F-FE07-4929-95B6-7A299D1D5F42@verizon.net> Message-ID: Right, I wasn't in group edit mode at the time I tried all the different options. I wasn't complaining, I think it's great there's a way to make a copy of an object without going into group edit mode. Would be even nicer if there was a "Paste into group" command. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Oct 27, 2014 at 9:59 AM, Colin Holgate wrote: > I think it depends on how you work with groups. If you use Edit Group to > go in and edit a group, copy and paste acts the same as option-drag. If you > prefer to directly select objects inside a group, without actually going > into the group, then copy and paste acts differently, because you?re at the > card level at the time. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Mon Oct 27 14:08:06 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 27 Oct 2014 11:08:06 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <544BF4A8.2070303@fourthworld.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> Message-ID: <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> On Oct 25, 2014, at 12:06 PM, Richard Gaskin wrote: > > > And weirder still, this behavior seems consistent in both 6.7 and 7.0. > > Tim, any chance you may have NULLs or other oddities in the data? When you test across versions, is it with the same data? I've been able to replicate the problem in my stack, which might have a few distinctive features necessary for others to replicate the problem. The stack has, say, 2000 cards. Cards 2 through 2000 contain many fields and buttons, all belonging to the same group. "Behave like a background" is turned on. Card 1 is used for an index and some maintenance buttons, and so on. Two buttons on card 1 contain the sort scripts: --sort cards numeric by field "intakesecs" --sort cards text by field "patient name" Neither field "intakesecs" nor field "patient name" appears on card 1. These buttons have worked just fine since late versions of hyperCard. In version 7.0 they stopped working. The sort command seems not to be executing at all, judging by timing the script when it is working, in version 6.5 vs. when it is not working, in version 7.0 I found two workarounds. --Move my "sort cards" buttons to any card other than card 1. I didn't bother pasting them into the group, so group membership probably doesn't make a difference. --Paste field "intakesecs" and field "patient name" onto card 1. I put dummy values into those fields, don't know what happens if they are empty. I have not exhaustively investigated the issue, but my hypothesis is that the "sort cards" command looks for the sort index field on the first card it encounters. If the field is not found, the sort command terminates. Thanks for asking. I overlooked your question yesterday. Tim Miller From gandalf at doctorTimothyMiller.com Mon Oct 27 14:10:20 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 27 Oct 2014 11:10:20 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> Message-ID: On Oct 27, 2014, at 11:08 AM, Timothy Miller wrote: > The sort command seems not to be executing at all, judging by timing the script when it is working, in version 6.5 vs. when it is not working, in version 7.0 I meant version 6.6.5, not 6.5 From mikedoub at gmail.com Mon Oct 27 14:16:39 2014 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 27 Oct 2014 14:16:39 -0400 Subject: getting the stack name of a library Message-ID: <5841FD2D-78FB-41C4-AEC3-F11165D35DA9@gmail.com> I am dynamically inserting a script into a stack to be used as a library. How does an inserted function find out the name of the stack it has be inserted into? I want to be able to create a custom property set for use by the library routines and I want that to be in the stack where the scripts reside. I am not sure that ?me? is correct because that changes based on the object calling the library function. Can anyone provide guidance? Thanks Mike From jacque at hyperactivesw.com Mon Oct 27 14:24:56 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 13:24:56 -0500 Subject: Is zero the same as empty? In-Reply-To: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> Message-ID: <544E8DF8.9060904@hyperactivesw.com> On 10/27/2014, 11:20 AM, Graham Samuel wrote: > I found that if a parameter of a handler or function, or indeed a > local variable, (say t1) has never had a value placed in it, then > > t1 = 0 > > is true. I was surprised by this, since I thought all unassigned > variables were rendered empty by the engine, and that empty and zero > were distinct. > > But in the same script > > t1 = empty > > is also true. Logically then, ?empty? is the same as ?0?. However the > statement > > 0 = empty > > evaluates to false. Furthermore if I make sure t1 is empty by > > put empty into t1 > > then > > 0 = t1 > > yields false. > > Am I going crazy? This issue matters to me as I am comparing numeric > characters with a variable which is sometimes unassigned. I see that > I must always assign a value to the variable, even it that value is > empty! > > Is this any kind of a bug, or is it just slightly strange behaviour > on the part of the engine? Empty is sort of a Schr?dinger variable and changes its state depending on how you look at it. If it is used in a numeric calculation it resoves to zero. Otherwise it resolves to empty. You don't need to do anything in particular, the engine handles that. In your tests, neither t1= empty and t1= 0 force an evaluation, so both are true. But zero and empty are not equivalent (one is a numeric value, one has no value at all,) so that evaluation is false. When you specifically put empty into t1, then it no longer equals zero. In a handler that calculates empty variables in a math operation, you will always get the right answer. If you only need to see if the variable has a particular value, something like this always resolves correctly: if t1 < 1 then... -- true for both zero and empty -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Oct 27 14:27:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 13:27:43 -0500 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> Message-ID: <544E8E9F.1010505@hyperactivesw.com> On 10/27/2014, 1:08 PM, Timothy Miller wrote: > --Paste field "intakesecs" and field "patient name" onto card 1. I > put dummy values into those fields, don't know what happens if they > are empty. They should sort to the front. > I have not exhaustively investigated the issue, but my hypothesis is > that the "sort cards" command looks for the sort index field on the > first card it encounters. If the field is not found, the sort command > terminates. You could test by getting the result after the sort command, it might tell you something. I suspect you'll find "no such object" in the error. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Oct 27 14:30:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Oct 2014 20:30:36 +0200 Subject: pre-7.0.0 Unicode question In-Reply-To: References: <544D4F4B.1020602@gmail.com> Message-ID: <544E8F4C.6060201@gmail.com> On 27/10/14 00:03, Kenji Kojima wrote: > Richmond, > > I don?t know the character ?7637?. > But i thought you wanted to write like this. > > on mouseUp > if char 2 of fld 1 is numToCodepoint(12356) then > put numToCodepoint(12354) into char 2 of fld 1 > end if > end mouseUp > > the script changes ??????? to ???????. > > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ Thanks, but my message was titled "pre-7.0.0 Unicode question" so an answer that uses post-7.0.0 unicode scripting is useless. Richmond. > >> On Oct 26, 2014, at 3:45 PM, Richmond wrote: >> >> I wonder why this doesn't work: >> >> on mouseUp >> set the useUnicode to true >> if char 2 of fld "ff" is numToChar(7637) then >> set the unicodeText of char 2 of fld "ff" to numToChar(100) >> end if >> end mouseUp >> >> From pete at lcsql.com Mon Oct 27 14:42:55 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 Oct 2014 11:42:55 -0700 Subject: [OT] Jack Bruce Died In-Reply-To: <544D8576.3020403@tweedly.net> References: <544D8576.3020403@tweedly.net> Message-ID: I'll go with British, easier to say than "two thirds English"! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Oct 26, 2014 at 4:36 PM, Alex Tweedly wrote: > On 26/10/2014 22:52, Peter Haworth wrote: > >> For the bass players amongst us and those who remember English band Cream: >> >> http://www.independent.co.uk/news/people/jack-bruce-dead- >> cream-bassist-dies-of-liver-disease-aged-71-9818343.html >> >> >> "English" ? When 1/3 of them were Scottish rather than English ? > > I'd have thought they were a British band .... :-) > > > [ OK - if you include Felix Pappalardi as "the fourth member of the band" > (as described by both Clapton and Bruce), then only 1/2 of them were > English - and, even better, they had 2 bassists !! :-] > > -- 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 jacque at hyperactivesw.com Mon Oct 27 14:44:57 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 13:44:57 -0500 Subject: Option Drag FYI In-Reply-To: References: <81318E6F-FE07-4929-95B6-7A299D1D5F42@verizon.net> Message-ID: <544E92A9.80806@hyperactivesw.com> On 10/27/2014, 12:49 PM, Peter Haworth wrote: > Would be even nicer if there > was a "Paste into group" command. There is. :) Be sure selectGroupedControls is false so that you can click a group to select it. Copy a control. Right-click on the target group with the edit tool and the contextual menu has "Paste into group" available. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Mon Oct 27 14:46:35 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Oct 2014 14:46:35 -0400 Subject: Is zero the same as empty? In-Reply-To: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> Message-ID: <8D1C02D77C9F4A5-11B0-A059@webmail-vd002.sysops.aol.com> Graham. Normally, variables or parameters, in order to be created at all, have to have something put into them. At least in HC they did. But with such tools as the "local" command, you can create them by simply declaring them: on mouseUp local a,b,c answer test(b) end mouseUp function test a,b,c return (param(2) = "") && (param(2) = "0") end test Both "true". Well, I am upset. Say it ain't so. These should not be "0". No way. Zero is not nothing. Craig -----Original Message----- From: Graham Samuel To: How to use LiveCode Sent: Mon, Oct 27, 2014 12:21 pm Subject: Is zero the same as empty? I found that if a parameter of a handler or function, or indeed a local variable, (say t1) has never had a value placed in it, then t1 = 0 is true. I was surprised by this, since I thought all unassigned variables were rendered empty by the engine, and that empty and zero were distinct. But in the same script t1 = empty is also true. Logically then, ?empty? is the same as ?0?. However the statement 0 = empty evaluates to false. Furthermore if I make sure t1 is empty by put empty into t1 then 0 = t1 yields false. Am I going crazy? This issue matters to me as I am comparing numeric characters with a variable which is sometimes unassigned. I see that I must always assign a value to the variable, even it that value is empty! Is this any kind of a bug, or is it just slightly strange behaviour on the part of the engine? Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Oct 27 14:48:14 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 27 Oct 2014 18:48:14 +0000 (UTC) Subject: Is zero the same as empty? References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> <544E8DF8.9060904@hyperactivesw.com> Message-ID: J. Landman Gay writes: > Empty is sort of a Schr?dinger variable and changes its state depending > on how you look at it. Something similar occurs for true and false. I no longer check variables to see if they are false, because uninitialized variables being empty will fail the test. Now I just check for "not true", and that takes care of both vars that are empty and ones that have explicitly been set to false. Heisenvars. -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Mon Oct 27 14:55:51 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Oct 2014 14:55:51 -0400 Subject: Is zero the same as empty? In-Reply-To: <544E8DF8.9060904@hyperactivesw.com> References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> <544E8DF8.9060904@hyperactivesw.com> Message-ID: <8D1C02EC378B79C-11B0-A130@webmail-vd002.sysops.aol.com> Jacque. Also true for "-300" But your point is interesting, the cat is content until called upon to act. But, noneTheLess, this: on mouseUp local b answer b + 1 end mouseUp Also works just fine, thank you, and therefore the engine still knows what to do, happily typing on the fly like it always did, correctly, thank goodness, even with numeric calculations dealing with empty. The "0" seems just wrong. If the above handler did not treat empty properly, then I would agree with your cat. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Mon, Oct 27, 2014 2:25 pm Subject: Re: Is zero the same as empty? On 10/27/2014, 11:20 AM, Graham Samuel wrote: > I found that if a parameter of a handler or function, or indeed a > local variable, (say t1) has never had a value placed in it, then > > t1 = 0 > > is true. I was surprised by this, since I thought all unassigned > variables were rendered empty by the engine, and that empty and zero > were distinct. > > But in the same script > > t1 = empty > > is also true. Logically then, ?empty? is the same as ?0?. However the > statement > > 0 = empty > > evaluates to false. Furthermore if I make sure t1 is empty by > > put empty into t1 > > then > > 0 = t1 > > yields false. > > Am I going crazy? This issue matters to me as I am comparing numeric > characters with a variable which is sometimes unassigned. I see that > I must always assign a value to the variable, even it that value is > empty! > > Is this any kind of a bug, or is it just slightly strange behaviour > on the part of the engine? Empty is sort of a Schr?dinger variable and changes its state depending on how you look at it. If it is used in a numeric calculation it resoves to zero. Otherwise it resolves to empty. You don't need to do anything in particular, the engine handles that. In your tests, neither t1= empty and t1= 0 force an evaluation, so both are true. But zero and empty are not equivalent (one is a numeric value, one has no value at all,) so that evaluation is false. When you specifically put empty into t1, then it no longer equals zero. In a handler that calculates empty variables in a math operation, you will always get the right answer. If you only need to see if the variable has a particular value, something like this always resolves correctly: if t1 < 1 then... -- true for both zero and empty -- 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 dunbarx at aol.com Mon Oct 27 14:57:55 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Oct 2014 14:57:55 -0400 Subject: Is zero the same as empty? In-Reply-To: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> Message-ID: <8D1C02F0D163C69-11B0-A159@webmail-vd002.sysops.aol.com> Jacque, again. I guess my rant is not quite valid. I should have written: on mouseUp put "" into b answer b + 1 end mouseUp -----Original Message----- From: Graham Samuel To: How to use LiveCode Sent: Mon, Oct 27, 2014 12:21 pm Subject: Is zero the same as empty? I found that if a parameter of a handler or function, or indeed a local variable, (say t1) has never had a value placed in it, then t1 = 0 is true. I was surprised by this, since I thought all unassigned variables were rendered empty by the engine, and that empty and zero were distinct. But in the same script t1 = empty is also true. Logically then, ?empty? is the same as ?0?. However the statement 0 = empty evaluates to false. Furthermore if I make sure t1 is empty by put empty into t1 then 0 = t1 yields false. Am I going crazy? This issue matters to me as I am comparing numeric characters with a variable which is sometimes unassigned. I see that I must always assign a value to the variable, even it that value is empty! Is this any kind of a bug, or is it just slightly strange behaviour on the part of the engine? Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From index at kenjikojima.com Mon Oct 27 15:10:51 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Mon, 27 Oct 2014 15:10:51 -0400 Subject: pre-7.0.0 Unicode question In-Reply-To: <544E8F4C.6060201@gmail.com> References: <544D4F4B.1020602@gmail.com> <544E8F4C.6060201@gmail.com> Message-ID: Richmond, Sorry, I did not see the title well. This is for version 6. put ??????? into fled 1? on mouseUp set the useUnicode to true if charToNum(the unicodeText of char 2 of fld 1) is "12356" then put unicode (numToChar(12354)) into char 2 of fld 1 end if end mouseUp the characters will be ??????? -- Kenji Kojima / ???? http://www.kenjikojima.com/ > On Oct 27, 2014, at 2:30 PM, Richmond wrote: > > On 27/10/14 00:03, Kenji Kojima wrote: >> Richmond, >> >> I don?t know the character ?7637?. >> But i thought you wanted to write like this. >> >> on mouseUp >> if char 2 of fld 1 is numToCodepoint(12356) then >> put numToCodepoint(12354) into char 2 of fld 1 >> end if >> end mouseUp >> >> the script changes ??????? to ???????. >> >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ > > Thanks, but my message was titled "pre-7.0.0 Unicode question" so an answer that uses > post-7.0.0 unicode scripting is useless. > > Richmond. > >> >>> On Oct 26, 2014, at 3:45 PM, Richmond wrote: >>> >>> I wonder why this doesn't work: >>> >>> on mouseUp >>> set the useUnicode to true >>> if char 2 of fld "ff" is numToChar(7637) then >>> set the unicodeText of char 2 of fld "ff" to numToChar(100) >>> end if >>> end mouseUp >>> >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Oct 27 15:15:19 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 14:15:19 -0500 Subject: Is zero the same as empty? In-Reply-To: <8D1C02EC378B79C-11B0-A130@webmail-vd002.sysops.aol.com> References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> <544E8DF8.9060904@hyperactivesw.com> <8D1C02EC378B79C-11B0-A130@webmail-vd002.sysops.aol.com> Message-ID: <544E99C7.9080000@hyperactivesw.com> On 10/27/2014, 1:55 PM, dunbarx at aol.com wrote: > on mouseUp > local b > answer b + 1 > end mouseUp > > > Also works just fine, thank you, and therefore the engine still knows what to do Right, because even if you put empty into the variable first (as in your second message) the act of doing a math calculation forces the variable to zero. It happens internally, so you don't see it. put empty into b put b = zero -- false put b+1 -- 1, because empty has converted to zero internally put b = zero -- false The point being that until it is used, empty can be either empty or zero. Usage determines the value. However, the last line above will put "false", because the engine restores the original value if it was specified. This throws an error: on mouseUp put b = zero -- false put b = "" -- false put b+1 -- ERROR end mouseUp So we can apparently confuse the engine into not knowing what the value should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Oct 27 15:16:33 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 14:16:33 -0500 Subject: Is zero the same as empty? In-Reply-To: References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> <544E8DF8.9060904@hyperactivesw.com> Message-ID: <544E9A11.2020107@hyperactivesw.com> On 10/27/2014, 1:48 PM, Mark Wieder wrote: > Heisenvars. > Nice. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Oct 27 15:17:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 14:17:46 -0500 Subject: getting the stack name of a library In-Reply-To: <5841FD2D-78FB-41C4-AEC3-F11165D35DA9@gmail.com> References: <5841FD2D-78FB-41C4-AEC3-F11165D35DA9@gmail.com> Message-ID: <544E9A5A.6050006@hyperactivesw.com> On 10/27/2014, 1:16 PM, Michael Doub wrote: > I am dynamically inserting a script into a stack to be used as a > library. How does an inserted function find out the name of the > stack it has be inserted into? > > I want to be able to create a custom property set for use by the > library routines and I want that to be in the stack where the scripts > reside. > > I am not sure that ?me? is correct because that changes based on the > object calling the library function. > > Can anyone provide guidance? You should be able to parse the stack name from "the long name of me". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Oct 27 15:18:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Oct 2014 21:18:58 +0200 Subject: pre-7.0.0 Unicode question In-Reply-To: References: <544D4F4B.1020602@gmail.com> <544E8F4C.6060201@gmail.com> Message-ID: <544E9AA2.2050809@gmail.com> On 27/10/14 21:10, Kenji Kojima wrote: > Richmond, > Sorry, I did not see the title well. > > This is for version 6. > put ??????? into fled 1? > > on mouseUp > set the useUnicode to true > if charToNum(the unicodeText of char 2 of fld 1) is "12356" then > put unicode (numToChar(12354)) into char 2 of fld 1 > end if > end mouseUp > > the characters will be ??????? > > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > Thank you very much; that is extremely helpful! Richmond. > >> On Oct 27, 2014, at 2:30 PM, Richmond wrote: >> >> On 27/10/14 00:03, Kenji Kojima wrote: >>> Richmond, >>> >>> I don?t know the character ?7637?. >>> But i thought you wanted to write like this. >>> >>> on mouseUp >>> if char 2 of fld 1 is numToCodepoint(12356) then >>> put numToCodepoint(12354) into char 2 of fld 1 >>> end if >>> end mouseUp >>> >>> the script changes ??????? to ???????. >>> >>> -- >>> Kenji Kojima / ???? >>> http://www.kenjikojima.com/ >> Thanks, but my message was titled "pre-7.0.0 Unicode question" so an answer that uses >> post-7.0.0 unicode scripting is useless. >> >> Richmond. >> >>>> On Oct 26, 2014, at 3:45 PM, Richmond wrote: >>>> >>>> I wonder why this doesn't work: >>>> >>>> on mouseUp >>>> set the useUnicode to true >>>> if char 2 of fld "ff" is numToChar(7637) then >>>> set the unicodeText of char 2 of fld "ff" to numToChar(100) >>>> end if >>>> end mouseUp >>>> >>>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Mon Oct 27 15:58:48 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 27 Oct 2014 19:58:48 -0000 Subject: Is zero the same as empty? Message-ID: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> As Jacque has pointed out, 'empty' and 'zero' depend on context. When doing math calculations, I always force a math evaluation... If t1 + 0 = 0 then ... If t1 is empty it will then always evaluate to zero. Might help in your situation. Best regards, Hugh Senior FLCo From dunbarx at aol.com Mon Oct 27 16:10:49 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Oct 2014 16:10:49 -0400 Subject: Is zero the same as empty? In-Reply-To: <544E99C7.9080000@hyperactivesw.com> References: <9723F801-EFD2-4C01-856E-B90779685ED7@mac.com> <544E8DF8.9060904@hyperactivesw.com> <8D1C02EC378B79C-11B0-A130@webmail-vd002.sysops.aol.com> <544E99C7.9080000@hyperactivesw.com> Message-ID: <8D1C0393C49E812-11B0-A728@webmail-vd002.sysops.aol.com> OK, You can simply declare a variable, ostensibly empty, and the engine will watch your back if you try to add something to it. But you cannot both declare and add in the same line of code. So there is another level of declaration, perhaps because it occurs in the very same line as the test arithmetic, that breaks: on mouseUp put b + 3 end mouseUp This is similar to but "below" the extra level of evaluation that we know as a "do" construction. It is deeper, closer to the heart of the engine, perhaps, that was never addressed (or ignored for other reasons)? Because this does not work, though one might think it should: on mouseUp do "put b + 3" end mouseUp Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Mon, Oct 27, 2014 3:16 pm Subject: Re: Is zero the same as empty? On 10/27/2014, 1:55 PM, dunbarx at aol.com wrote: > on mouseUp > local b > answer b + 1 > end mouseUp > > > Also works just fine, thank you, and therefore the engine still knows what to do Right, because even if you put empty into the variable first (as in your second message) the act of doing a math calculation forces the variable to zero. It happens internally, so you don't see it. put empty into b put b = zero -- false put b+1 -- 1, because empty has converted to zero internally put b = zero -- false The point being that until it is used, empty can be either empty or zero. Usage determines the value. However, the last line above will put "false", because the engine restores the original value if it was specified. This throws an error: on mouseUp put b = zero -- false put b = "" -- false put b+1 -- ERROR end mouseUp So we can apparently confuse the engine into not knowing what the value should be. -- 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 dunbarx at aol.com Mon Oct 27 16:15:47 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Oct 2014 16:15:47 -0400 Subject: Is zero the same as empty? In-Reply-To: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> References: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> Message-ID: <8D1C039EDD29F87-11B0-A794@webmail-vd002.sysops.aol.com> Hugh. But this will act the same if t1 contains "0" as well. You are testing the two cats with arithmetic. When you do that, the result will be the same. -----Original Message----- From: FlexibleLearning.com To: use-livecode Sent: Mon, Oct 27, 2014 4:00 pm Subject: Re: Is zero the same as empty? As Jacque has pointed out, 'empty' and 'zero' depend on context. When doing math calculations, I always force a math evaluation... If t1 + 0 = 0 then ... If t1 is empty it will then always evaluate to zero. Might help in your situation. Best regards, Hugh Senior FLCo _______________________________________________ use-livecode mailing list use-livecode at 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 Oct 27 16:18:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 Oct 2014 13:18:44 -0700 Subject: Option Drag FYI In-Reply-To: <544E92A9.80806@hyperactivesw.com> References: <81318E6F-FE07-4929-95B6-7A299D1D5F42@verizon.net> <544E92A9.80806@hyperactivesw.com> Message-ID: Nice! Thank you. I've only ever looked on the Edit menu before. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Oct 27, 2014 at 11:44 AM, J. Landman Gay wrote: > On 10/27/2014, 12:49 PM, Peter Haworth wrote: > >> Would be even nicer if there >> was a "Paste into group" command. >> > > There is. :) Be sure selectGroupedControls is false so that you can click > a group to select it. Copy a control. Right-click on the target group with > the edit tool and the contextual menu has "Paste into group" available. > > -- > 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 gandalf at doctorTimothyMiller.com Mon Oct 27 16:32:05 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 27 Oct 2014 13:32:05 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <544E8E9F.1010505@hyperactivesw.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> Message-ID: <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> On Oct 27, 2014, at 11:27 AM, J. Landman Gay wrote: > On 10/27/2014, 1:08 PM, Timothy Miller wrote: >> --Paste field "intakesecs" and field "patient name" onto card 1. I >> put dummy values into those fields, don't know what happens if they >> are empty. > > They should sort to the front. > >> I have not exhaustively investigated the issue, but my hypothesis is >> that the "sort cards" command looks for the sort index field on the >> first card it encounters. If the field is not found, the sort command >> terminates. > > You could test by getting the result after the sort command, it might tell you something. I suspect you'll find "no such object" in the error. Hi Jacque, The result from the failed sorts was empty. That's one of the reasons I suspect a bug. Cheers, Tim Miller From jacque at hyperactivesw.com Mon Oct 27 16:45:40 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 15:45:40 -0500 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> Message-ID: <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> On October 27, 2014 3:32:05 PM CDT, Timothy Miller wrote: > >The result from the failed sorts was empty. That's one of the reasons I >suspect a bug. Your first idea was probably right. If the sort field isn't on the current card, the sort doesn't happen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacques.hausser at unil.ch Mon Oct 27 16:52:03 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 27 Oct 2014 21:52:03 +0100 Subject: LC, Yosemite, and keyboards In-Reply-To: <8D1C039EDD29F87-11B0-A794@webmail-vd002.sysops.aol.com> References: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> <8D1C039EDD29F87-11B0-A794@webmail-vd002.sysops.aol.com> Message-ID: <5A585E08-3126-42A1-9E46-46BA3E5D5141@unil.ch> I recently moved to Yosemite. And yesterday I did accidentally change my keyboard from Swiss-French to American without noticing (probably pressing together option-control-space) when working with LC. It was I tried to put an option-char in the label box of a button inspector. After that, the American keyboard was selected each time I was in the inspector, but reversed to the Swiss-French one when the focus was in the other LC windows (stack window, application browser, message?). After a long time scratching my head and pulling out my hairs, I discovered a check-box in the system prefs > keyboard > input source, labelled ?automatically switch to a document input source?. It is visible, I read, only when you have several languages selected. If it is the case (and if you are a careless typist), each LC window can finish with its own keyboard setting. In conclusion, to avoid to type ?Zes? instead of ?Yes?, better to uncheck this option? ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From gandalf at doctorTimothyMiller.com Mon Oct 27 17:18:16 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 27 Oct 2014 14:18:16 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> Message-ID: <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> On Oct 27, 2014, at 1:45 PM, J. Landman Gay wrote: > On October 27, 2014 3:32:05 PM CDT, Timothy Miller wrote: >> >> The result from the failed sorts was empty. That's one of the reasons I >> suspect a bug. > > Your first idea was probably right. If the sort field isn't on the current card, the sort doesn't happen. Right, but these buttons always worked until I upgraded to version 7.0. Why the change? A bug? A new feature? Or what? It's not a big deal. I found my workaround. I'm trying to be a responsible member of the LiveCode community. As far as I know, I'm expected to report possible bugs. If the community agrees it is a bug, it should be reported, right? If it's a new scripting rule, it should be mentioned in the dictionary. Tim Miller From pete at lcsql.com Mon Oct 27 17:38:45 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 Oct 2014 14:38:45 -0700 Subject: Is zero the same as empty? In-Reply-To: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> References: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> Message-ID: I ran across one situation involving zero/empty a while back that I reported as a bug, not sure if it's been fixed or not. If you INSERT a row into an SQL database and leave out some of the columns, those columns end up as NULL in the database (assuming they don't have a default value assigned in the schema). If you then issue a SELECT including one of those columns and it has a numeric data type in the schema, it comes back as zero, not empty or NULL. That made it impossible to distinguish between an "uninitialized" value for the column and a zero value. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Oct 27, 2014 at 12:58 PM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > As Jacque has pointed out, 'empty' and 'zero' depend on context. When doing > math calculations, I always force a math evaluation... > > If t1 + 0 = 0 then ... > > If t1 is empty it will then always evaluate to zero. > > Might help in your situation. > > Best regards, > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 27 17:40:17 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 Oct 2014 14:40:17 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> Message-ID: I think you should report it as a bug. It's certainly a change in behavior so either ti's a coding bug or, if it was changed on purpose, it's a documentation bug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Oct 27, 2014 at 2:18 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > On Oct 27, 2014, at 1:45 PM, J. Landman Gay wrote: > > > On October 27, 2014 3:32:05 PM CDT, Timothy Miller > wrote: > >> > >> The result from the failed sorts was empty. That's one of the reasons I > >> suspect a bug. > > > > Your first idea was probably right. If the sort field isn't on the > current card, the sort doesn't happen. > > Right, but these buttons always worked until I upgraded to version 7.0. > Why the change? A bug? A new feature? Or what? > > It's not a big deal. I found my workaround. I'm trying to be a responsible > member of the LiveCode community. As far as I know, I'm expected to report > possible bugs. If the community agrees it is a bug, it should be reported, > right? > > If it's a new scripting rule, it should be mentioned in the dictionary. > > Tim 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 Mon Oct 27 18:04:20 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Oct 2014 17:04:20 -0500 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> Message-ID: <544EC164.3040007@hyperactivesw.com> On 10/27/2014, 4:18 PM, Timothy Miller wrote: > On Oct 27, 2014, at 1:45 PM, J. Landman Gay wrote: > >> On October 27, 2014 3:32:05 PM CDT, Timothy Miller wrote: >>> >>> The result from the failed sorts was empty. That's one of the reasons I >>> suspect a bug. >> >> Your first idea was probably right. If the sort field isn't on the current card, the sort doesn't happen. > > Right, but these buttons always worked until I upgraded to version 7.0. Why the change? A bug? A new feature? Or what? > > It's not a big deal. I found my workaround. I'm trying to be a responsible member of the LiveCode community. As far as I know, I'm expected to report possible bugs. If the community agrees it is a bug, it should be reported, right? > > If it's a new scripting rule, it should be mentioned in the dictionary. > > Tim Miller Right, okay. It's never wrong to report something you think may be a bug. They can always just close the report, but they'd rather know than not. So I'd say go ahead and do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Oct 27 18:22:21 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Oct 2014 22:22:21 +0000 Subject: Need info about Mark Cards command... In-Reply-To: <544C8DA3.7080201@tkf.att.ne.jp> References: <544C8DA3.7080201@tkf.att.ne.jp> Message-ID: Ooooh? 9 to 5! I forgot about those guys! What a slick bit of software that was! Bob S On Oct 25, 2014, at 22:58 , Tim Selander > wrote: Now that v7 is out, I've started playing with bringing some of my company's (still in use) HyperCard/9to5 Reports systems over to LiveCode. From bobsneidar at iotecdigital.com Mon Oct 27 18:27:05 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Oct 2014 22:27:05 +0000 Subject: sendmail through On-Rev server In-Reply-To: References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> Message-ID: <8877E6F1-4E60-4014-B30B-89270D8607C4@iotecdigital.com> Seems someone with knowledge of how encrypted SMTP works could come up with a mail plugin. I would pay cash money for it myself! I don?t have the expertise, although I?m pretty sure where things are breaking down in my attempts to do so. I?ve toyed with shell commands to do this, and it fails. Articles from Microsoft about how to do this don?t fricking work for crying out loud. Bob S > On Oct 26, 2014, at 09:14 , Paul Hibbert wrote: > > Thanks Christer, > > That's the script I was trying on Diesel, but sadly with no joy. > > Paul > > On Oct 26, 2014, at 1:20 AM, Pyyhti? Christer wrote: > >> The following script works well - on Tio. Used it yesterday with no problems. Response was immediate. >> >> I got it from someone at RR. >> >> rgds christer >> ------ >> >> -- mail >> -- >> -- Emails the given message to the recipients specified. >> -- Each address passed can have a name attached in the form "name
". >> -- Addresses can be passed as comma separated lists. >> -- Attachements can be added by passing an array (interger indexed or otherwise). >> -- with each attachment itself being an array. >> -- >> -- pTo - The addresses to send the message to >> -- pSub - The message subject >> -- pMsg - The message body >> -- pFrom - The address of the message sender >> -- pCc - Any cc addresses >> -- pBcc - Any Bcc addresses >> -- pHtml - Boolean, if the message is to be sent as html >> -- pAtts - Array of all attachments to send, each attachment of the form: >> -- * name: the name of the attachment >> -- * path: the absolute path to the attachment >> -- * type: the mime type of the attachment, defaults to >> -- application/octet-stream >> -- >> on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts >> local tMsg >> -- build the message header, adding the from, to and subject details >> -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) >> put shellEscape(pTo) into pTo >> -- put (pSub) into pSub >> >> put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg >> if pCc is not empty then put "Cc:" && pCc & return after tMsg >> -- if there are any attachments, we must send this email as multipart >> -- with the message body and each attachment forming a part >> -- we do this by specifying the message as multipart and generating a unique boundary >> if pAtts is an array then >> local tBoundary >> put "boundary" & the seconds into tBoundary >> put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ >> wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg >> end if >> >> -- add the actual message body, setting the content type appropriatly >> if pHtml is true then >> put "Content-Type: text/html;" & return & return after tMsg >> else >> put "Content-Type: text/plain;" & return & return after tMsg >> end if >> put pMsg & return after tMsg >> >> -- add each attachment as a new part of the message, sepearting using >> -- the generated boundary >> if pAtts is an array then >> put "--" & tBoundary & return after tMsg >> repeat for each element tAtt in pAtts >> if there is a file tAtt["path"] then >> if tAtt["type"] is empty then >> get "application/octet-stream" >> else >> get tAtt["type"] >> end if >> put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ >> return & "Content-Transfer-Encoding: base64;" & return & return & \ >> base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ >> tBoundary & return after tMsg >> end if >> end repeat >> end if >> >> -- send the mail by piping the message we have just built to the sendmail command >> -- we must also send a copy of the message to the bcc addresses >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) >> if pBcc is not empty then >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) >> end if >> end mail >> >> --- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 27 18:33:28 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 27 Oct 2014 23:33:28 +0100 Subject: sendmail through On-Rev server In-Reply-To: <8877E6F1-4E60-4014-B30B-89270D8607C4@iotecdigital.com> References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> <8877E6F1-4E60-4014-B30B-89270D8607C4@iotecdigital.com> Message-ID: <4774D9F5-6A41-47AC-A0EB-40C548193C8E@m-r-d.de> > Am 27.10.2014 um 23:27 schrieb Bob Sneidar : > I would pay cash money for it myself! Me too. I used Shao Sean?s and also Sarah Reichelt?s libraries for a long time. But as more and more providers are switching completely to encrypted smtp i am also in need for such a plugin/library. Matthias From bobsneidar at iotecdigital.com Mon Oct 27 18:41:26 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Oct 2014 22:41:26 +0000 Subject: deleting lines in a field In-Reply-To: References: Message-ID: I?m kind of surprised at these suggestions. Why not rather build a memory variable containing the lines that are not selected, then replace the field with the variable? Or as suggested, put the field into a memory variable, then put empty into the selected lines, then filter non-empty lines and drop it back into the field. Isn?t that more efficient for large chunks of data anyway? Bob S On Oct 26, 2014, at 18:24 , Dr. Hawkins > wrote: I have a field that allows non-contiguous selection of lines What is the easiest way to delete the selected lines? I've tried a bunch of things and I end up doing this big convoluted script to do it. It seems like it should be simple? Thanks, Larry From bobsneidar at iotecdigital.com Mon Oct 27 18:46:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Oct 2014 22:46:15 +0000 Subject: Is zero the same as empty? In-Reply-To: <8D1C039EDD29F87-11B0-A794@webmail-vd002.sysops.aol.com> References: <003c01cff220$6d464230$47d2c690$@FlexibleLearning.com> <8D1C039EDD29F87-11B0-A794@webmail-vd002.sysops.aol.com> Message-ID: This is why we don?t ask cats to do arithmetic! Bob S > On Oct 27, 2014, at 13:15 , dunbarx at aol.com wrote: > > Hugh. > > > But this will act the same if t1 contains "0" as well. You are testing the two cats with arithmetic. When you do that, the result will be the same. > > > > -----Original Message----- > From: FlexibleLearning.com > To: use-livecode > Sent: Mon, Oct 27, 2014 4:00 pm > Subject: Re: Is zero the same as empty? > > > As Jacque has pointed out, 'empty' and 'zero' depend on context. When doing > math calculations, I always force a math evaluation... > > If t1 + 0 = 0 then ... > > If t1 is empty it will then always evaluate to zero. > > Might help in your situation. > > Best regards, > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 27 19:09:55 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Oct 2014 23:09:55 +0000 Subject: Data grid Line or Index Message-ID: <9E08BE2C-FE3C-4431-BED4-469438C80176@iotecdigital.com> Here is a good one! When getting the dgData of a data grid, are the numbered keys the lines (so the current sort affects it), or are they the indexes (the order the records were in when the dgData was set)? Bob S From mikedoub at gmail.com Mon Oct 27 19:32:27 2014 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 27 Oct 2014 19:32:27 -0400 Subject: getting the stack name of a library In-Reply-To: <544E9A5A.6050006@hyperactivesw.com> References: <5841FD2D-78FB-41C4-AEC3-F11165D35DA9@gmail.com> <544E9A5A.6050006@hyperactivesw.com> Message-ID: <6659033D-38A5-42D5-BC17-C6F0F1F45FAA@gmail.com> Thanks Jacqueline. After re-reading the dictionary entry several times, I think I get it. This sentence is still causing me to stumble: "If the currently executing handler is in the script of the object that received the original message, then me is the same as the object whose name is returned by the target function.? But, since my use is going to be in the library routine itself, this exception will not apply. My testing seems to indicate that a simple me returns ?stack ?library?? which is what I need. Thanks again, Mike On Oct 27, 2014, at 3:17 PM, J. Landman Gay wrote: > On 10/27/2014, 1:16 PM, Michael Doub wrote: >> I am dynamically inserting a script into a stack to be used as a >> library. How does an inserted function find out the name of the >> stack it has be inserted into? >> >> I want to be able to create a custom property set for use by the >> library routines and I want that to be in the stack where the scripts >> reside. >> >> I am not sure that ?me? is correct because that changes based on the >> object calling the library function. >> >> Can anyone provide guidance? > > You should be able to parse the stack name from "the long name of 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 sritcp at gmail.com Mon Oct 27 20:25:49 2014 From: sritcp at gmail.com (Sri) Date: Mon, 27 Oct 2014 17:25:49 -0700 (PDT) Subject: Data grid Line or Index In-Reply-To: <9E08BE2C-FE3C-4431-BED4-469438C80176@iotecdigital.com> References: <9E08BE2C-FE3C-4431-BED4-469438C80176@iotecdigital.com> Message-ID: <1414455949855-4685115.post@n4.nabble.com> Since arrays relate to how data is stored and not how data is displayed, I'd think no display-related factors should affect them. I'd expect dgData to stay the same (i.e., not updated), regardless of how the user manipulates the table displayed. (Any edits are incorporated through the index). Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Data-grid-Line-or-Index-tp4685113p4685115.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Mon Oct 27 21:13:24 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 28 Oct 2014 10:13:24 +0900 Subject: Need info about Mark Cards command... In-Reply-To: References: <544C8DA3.7080201@tkf.att.ne.jp> Message-ID: <544EEDB4.9060502@tkf.att.ne.jp> Yep, very slick -- which is why after all these years I still haven't found anything I can replace it with. However, while old Macs are in abundance and still chugging away, MacOS compatible printers are getting fewer and fewer. Have to get the company's stuff over to something newer before the printers disappear for good. Tim Selander Tokyo, Japan On 14/10/28 7:22, Bob Sneidar wrote: > Ooooh? 9 to 5! I forgot about those guys! What a slick bit of software that was! > > Bob S > > > On Oct 25, 2014, at 22:58 , Tim Selander > wrote: > > Now that v7 is out, I've started playing with bringing some of my company's (still in use) HyperCard/9to5 Reports systems over to LiveCode. > > _______________________________________________ From larry at significantplanet.org Mon Oct 27 23:04:39 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 27 Oct 2014 21:04:39 -0600 Subject: maximum lines? Message-ID: Hello, Can anyone please tell me the maximum number of lines for: a variable in LC a field in LC also I'd like to know how to find that info! Thanks, Larry From ambassador at fourthworld.com Mon Oct 27 23:16:57 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Oct 2014 20:16:57 -0700 Subject: maximum lines? In-Reply-To: References: Message-ID: <544F0AA9.6020708@fourthworld.com> larry wrote: > Can anyone please tell me the maximum number of lines for: > > a variable in LC > > a field in LC > > also I'd like to know how to find that info! No limit on lines per se, but both containers have a cap of 4 GB. For more info like that see the Limits section of the User Guide (accessible from the Help menu), pg 43. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gandalf at doctorTimothyMiller.com Mon Oct 27 23:59:18 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 27 Oct 2014 20:59:18 -0700 Subject: Open with 6.7 vs. 7.0 Message-ID: I opened one stack one time with version 7.0. Now, Finder: Get Info: "Open with" has been changed to version 7.0 for all my archived stacks. I'm not ready to make that change. I've tried switching a folder full of stacks back to Finder: Get Info: Open With version 6.7, then tried the "Change All" button. It doesn't work. I'm assuming this works as intended, and there's a good reason for it. In any case, I don't want to have that conversation. I have dozens of archived folders, each containing a dozen or more stacks. How do I change them all back to "Open with" version 6.7? Tim Miller From paulhibbert at mac.com Tue Oct 28 00:49:17 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 27 Oct 2014 21:49:17 -0700 Subject: Open with 6.7 vs. 7.0 In-Reply-To: References: Message-ID: <642D0282-A671-49D3-95BD-04ED112A833C@mac.com> Tim, The simplest way I have found is to move the LiveCode 7.0.app to a different hard drive and remove any copy from the system hard drive, then it will no longer be the default LC app, but will still be useable. Not sure if this is the best way, but it's working for me right now, maybe somebody else has a better idea. If you don't have an external drive available, you can use Disk Utility to create a Disk Image and just eject it when not required. Paul On Oct 27, 2014, at 8:59 PM, Timothy Miller wrote: > I opened one stack one time with version 7.0. Now, Finder: Get Info: "Open with" has been changed to version 7.0 for all my archived stacks. I'm not ready to make that change. > > I've tried switching a folder full of stacks back to Finder: Get Info: Open With version 6.7, then tried the "Change All" button. It doesn't work. > > I'm assuming this works as intended, and there's a good reason for it. In any case, I don't want to have that conversation. > > I have dozens of archived folders, each containing a dozen or more stacks. How do I change them all back to > "Open with" version 6.7? > > Tim 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 lan.kc.macmail at gmail.com Tue Oct 28 01:24:27 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 28 Oct 2014 13:24:27 +0800 Subject: Sort cards doesn't work in 7.0 In-Reply-To: <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> Message-ID: On Tue, Oct 28, 2014 at 5:18 AM, Timothy Miller wrote: > > Right, but these buttons always worked until I upgraded to version 7.0. > Why the change? A bug? A new feature? Or what? > Grab a copy of a 6.6.5 version of your stack that works as advertised; make two copies, appending '665' to one filename and '700' to the other. Open the '700' version in LC7, save in LC7 format and confirm that the stack no longer works as advertised. Got to the LC Quailty Control Centre: http://quality.runrev.com/ and report your findings and the simple steps required to see the 'failure'. Attach (upload) both stacks so they can see exactly what you are seeing. If your stack contains confidential information that you'd rather not share with the Runrev team, then you'll have to build a new stack with a couple of cards that reproduces the problem. This of course is a good thing because if you can, the problem is what you suspect, but if your new stack doesn't exhibit the same fault, then it isn't what you suspect and there must be other factors that are causing the problem. From jacque at hyperactivesw.com Tue Oct 28 01:38:48 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Oct 2014 00:38:48 -0500 Subject: Open with 6.7 vs. 7.0 In-Reply-To: References: Message-ID: <544F2BE8.9040608@hyperactivesw.com> On 10/27/2014, 10:59 PM, Timothy Miller wrote: > I have dozens of archived folders, each containing a dozen or more > stacks. How do I change them all back to "Open with" version 6.7? You can zip version 7 if you don't want to move it to another drive. Then you should be able to select one of the stacks, get info on it, change it to use version 6.7, and click the Change All... button. It should stick. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Tue Oct 28 01:54:58 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 28 Oct 2014 13:54:58 +0800 Subject: Misreported "corruption" between versions fixed In-Reply-To: <544E4BE9.5000804@fourthworld.com> References: <544E4BE9.5000804@fourthworld.com> Message-ID: On Mon, Oct 27, 2014 at 9:43 PM, Richard Gaskin wrote: > It turns out that the very feature Phil Jimmieson requested,... has > already been implemented > > Ah, a nice example of the benefits of spending a little time to measure twice and cut once. Sure seems to be a whole heap more helpful than just 'cutting' straight to a complaint on this List without every bothering to add an accurate 'measured' report to the LC Quality Control Centre. From gcanyon at gmail.com Tue Oct 28 03:00:49 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 28 Oct 2014 02:00:49 -0500 Subject: deleting lines in a field In-Reply-To: References: Message-ID: On Mon, Oct 27, 2014 at 5:41 PM, Bob Sneidar wrote: > I?m kind of surprised at these suggestions. Why not rather build a memory > variable containing the lines that are not selected, then replace the field > with the variable? That's what the function I posted does. From revolution at derbrill.de Tue Oct 28 08:16:37 2014 From: revolution at derbrill.de (Malte Brill) Date: Tue, 28 Oct 2014 13:16:37 +0100 Subject: Dreaming up a benchmarking suite of stacks In-Reply-To: References: Message-ID: <6118D7BA-C4FB-4720-B622-C15E873CFCD5@derbrill.de> Hi all, inspired by a post by Geoff, I started thinking that it would be rather cool to have a suite of stacks that lets us benchmark the performance of the different engine versions. I started with a stack that benchmarks graphics rendering performance using different settings. Unfortunately it crashes LC7 (http://quality.runrev.com/show_bug.cgi?id=13833 , already assigned). But I think it would be a good idea to have a set of tests that benchmarks the different aspects of the engine. Would anyone of you be willing to participate in setting up such a testsuite and / or run tests on their machines? All the best, Malte From selander at tkf.att.ne.jp Tue Oct 28 08:28:49 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 28 Oct 2014 21:28:49 +0900 Subject: Benchmarking 7.0 performance In-Reply-To: References: Message-ID: <544F8C01.4090506@tkf.att.ne.jp> I don't know about benchmark on routines, but I have created a measly 10MB file -- customer database -- and saving changes to the file takes a full 10 seconds or more. That seems pretty slow to me. Duplicating the file in Finder takes a fraction of a second. Saving an edited 10MB .wav audio file takes a fraction of a second. Why is saving the stack so slow? This is going to be a real pain for my data entry lady who is used to HC saving everything automatically and invisibly.... OSX, MacBook Pro i7, 1TB internal HD. Tim Selander Tokyo, Japan On 10/27/14, 10:44 PM, Geoff Canyon wrote: > I'm wondering if anyone has benchmarked 7.0 performance? I did two quick > tests and found: > > on mouseUp > put the long seconds into T > repeat with i = 1 to 20000000 > put "A" && "aa" into X > end repeat > put the long seconds - T > end mouseUp > > Took almost 5x as long to run as on 6.7, which I expected since it's > presumably doing UTF things under the hood. > > But I also found: > > on mouseUp > put the long seconds into T > repeat with i = 1 to 20000000 > > end repeat > put the long seconds - T > end mouseUp > > Took about 1.5x as long to run on 7.0 as on 6.7. Obviously our own code is > still a much larger factor -- "repeat for each" in 7.0 is still going to > handily beat "repeat with" in 6.7 for processing large chunks of text, etc. > > gc > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 28 09:27:57 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 28 Oct 2014 15:27:57 +0200 Subject: Benchmarking 7.0 performance In-Reply-To: <544F8C01.4090506@tkf.att.ne.jp> References: <544F8C01.4090506@tkf.att.ne.jp> Message-ID: <544F99DD.7000402@gmail.com> On 10/28/2014 02:28 PM, Tim Selander wrote: > I don't know about benchmark on routines, but I have created a measly > 10MB file -- customer database -- and saving changes to the file takes > a full 10 seconds or more. That seems pretty slow to me. Duplicating > the file in Finder takes a fraction of a second. Saving an edited 10MB > .wav audio file takes a fraction of a second. > > Why is saving the stack so slow? This is going to be a real pain for > my data entry lady who is used to HC saving everything automatically > and invisibly.... Possibly you need to be kind to your data entry lady and build an autosave routine into your stack. Richmond. > > OSX, MacBook Pro i7, 1TB internal HD. > > Tim Selander > Tokyo, Japan > > > On 10/27/14, 10:44 PM, Geoff Canyon wrote: >> I'm wondering if anyone has benchmarked 7.0 performance? I did two quick >> tests and found: >> >> on mouseUp >> put the long seconds into T >> repeat with i = 1 to 20000000 >> put "A" && "aa" into X >> end repeat >> put the long seconds - T >> end mouseUp >> >> Took almost 5x as long to run as on 6.7, which I expected since it's >> presumably doing UTF things under the hood. >> >> But I also found: >> >> on mouseUp >> put the long seconds into T >> repeat with i = 1 to 20000000 >> >> end repeat >> put the long seconds - T >> end mouseUp >> >> Took about 1.5x as long to run on 7.0 as on 6.7. Obviously our own >> code is >> still a much larger factor -- "repeat for each" in 7.0 is still going to >> handily beat "repeat with" in 6.7 for processing large chunks of >> text, etc. >> >> gc >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 28 09:30:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 28 Oct 2014 15:30:54 +0200 Subject: Autosave ??? In-Reply-To: <544F8C01.4090506@tkf.att.ne.jp> References: <544F8C01.4090506@tkf.att.ne.jp> Message-ID: <544F9A8E.1070201@gmail.com> HyperCard . . . Ta dum, ta dum, ta dum. Thanks, Tim Selander for the idea. I wonder whether it might not be a bad idea ??? to have an optional autosave feature in LiveCode; it would certainly cut down on the rude words when "funny things" happen. Votes . . . Richmond. From pmbrig at gmail.com Tue Oct 28 09:36:51 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 28 Oct 2014 09:36:51 -0400 Subject: setting a behavior with out using an ID In-Reply-To: References: Message-ID: <9EF12AD2-495A-4F7A-923D-E2DD03AC1805@gmail.com> Coming in late on this (at a conference for 3 days) but I have a couple of virtual property handlers that address some of these issues. The robustID getProp returns the kind of string that behavior references need. -------- getProp robustID ---- a virtual property ---- -- getting the long id of a control can result in different values depending on -- (a) where the stack is stored on the user's disk and -- (b) which card is the currentcard when the property is fetched -- the robustID is consistent no matter what card is current -- and no matter which folder the user has stored the stack in; -- format: button id 1039 of bkgnd id 1003 of stack "subStack1" -- of stack "tMainStack" -- the robustID can be used as a complete object reference, -- just like the long ID -- requires q() put the long id of the target into tLongID if tLongID begins with "stack" then return the name of tLongID end if replace " stack " with cr in tLongID put line -1 of tLongID into mainStackFileName replace quote with empty in mainStackFileName put the short name of stack mainStackFileName into mainStackName put q(mainStackName) into line -1 of tLongID replace cr with " stack " in tLongID replace " of " with cr in tLongID put lineoffset(cr &"card ",cr & tLongID) into cdLineNbr if cdLineNbr > 1 then delete line cdLineNbr of tLongID replace cr with " of " in tLongID replace "group" with "bkgnd" in tLongID -- in case the group is not placed on the currentcard return tLongID end robustID getProp robustName ---- a virtual property ---- -- getting the long name of a control can result in different values depending on -- (a) where the stack is stored on the user's disk and -- (b) which card is the currentcard when the property is fetched -- the robustName is consistent no matter what card is current -- and no matter which folder the user has stored the stack in; -- format: button "copyText" of bkgnd "fieldGp" of stack "substack1" -- of stack "myMainStack" -- the robustName can be used as a complete object reference, -- just like the long name -- requires q() put the long name of the target into tLongName if tLongName begins with "stack" then return the name of tLongName end if replace " stack " with cr in tLongName put line -1 of tLongName into mainStackFileName replace quote with empty in mainStackFileName put the short name of stack mainStackFileName into mainStackName put q(mainStackName) into line -1 of tLongName replace cr with " stack " in tLongName replace " of " with cr in tLongName put lineoffset(cr & "card ", cr & tLongName) into cdLineNbr if cdLineNbr > 1 then delete line cdLineNbr of tLongName repeat with c = 1 to the number of lines of tLongName put line c to -1 of tLongName into ctrlName replace cr with " of " in ctrlName put the name of ctrlName into line c of tLongName end repeat replace cr with " of " in tLongName replace "group" with "bkgnd" in tLongName -- in case the group is not placed on the currentcard return tLongName end robustName function q str -- quote -- place this handler in a library stack, -- where it will be available everywhere return quote & str & quote end q ---------- -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 25, 2014, at 3:48 PM, Peter Haworth wrote: > Doesn't address your issue, but I do have a free stack that is useful if > you need to make wholesale changes to a behavior id. You can search for > all objects with a string in the behavior and replace it with another. > > If interested, its available at http://www.lcsql.com/free-stuff.html > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Oct 22, 2014 at 7:31 PM, Todd Geist > wrote: > >> Hello, >> >> I don?t like to use IDs to reference Objects. But it seems that the only >> way you can reference a Behavior is with it?s ID. Is that true? Is there >> another way? >> >> 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 From pmbrig at gmail.com Tue Oct 28 09:47:12 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 28 Oct 2014 09:47:12 -0400 Subject: 64-bit App Store requirement In-Reply-To: References: <54491E95.2090407@fourthworld.com> Message-ID: The idea that the same UI will work well on a little 5" phone screen and a 42" monitor is crazy. If Apple does this I will seriously consider moving to Linux. It used to be that Apple made stoves that you could just turn on and cook with, but increasingly they are making stoves that choose your cooking temperature and time for you and have hidden knobs the size of pushpins if you want to do anything different. It will take a really bad move on their part for me to go to a system where in order to cook dinner I have to collect the firewood, build a grill, and amass a collection of thermometers, but they look as if they might be getting there. On Oct 23, 2014, at 11:59 AM, Bob Sneidar wrote: > Used to could. There are some today that would challenge that premise. ;-) > > Bob S > > > On Oct 23, 2014, at 08:28 , Richard Gaskin > wrote: > > The harder question is the UI, but if anyone can do that well it's Apple. > > -- > Richard Gaskin > Fourth World Systems > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Tue Oct 28 09:52:55 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 28 Oct 2014 09:52:55 -0400 Subject: Open with 6.7 vs. 7.0 In-Reply-To: References: Message-ID: Hi Tim, If you select just one file with "Get Info", tell it to use 6.7 and then select the ?Change All? it will stick for all files. I think when you tried to select a folder full of files ?Get Info? became confused. I had no such difficulties here using Yosemite. Cheers, Rick > On Oct 27, 2014, at 11:59 PM, Timothy Miller wrote: > > I opened one stack one time with version 7.0. Now, Finder: Get Info: "Open with" has been changed to version 7.0 for all my archived stacks. I'm not ready to make that change. > > I've tried switching a folder full of stacks back to Finder: Get Info: Open With version 6.7, then tried the "Change All" button. It doesn't work. > > I'm assuming this works as intended, and there's a good reason for it. In any case, I don't want to have that conversation. > > I have dozens of archived folders, each containing a dozen or more stacks. How do I change them all back to > "Open with" version 6.7? > > Tim Miller From selander at tkf.att.ne.jp Tue Oct 28 10:02:28 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 28 Oct 2014 23:02:28 +0900 Subject: Benchmarking 7.0 performance In-Reply-To: <544F99DD.7000402@gmail.com> References: <544F8C01.4090506@tkf.att.ne.jp> <544F99DD.7000402@gmail.com> Message-ID: <544FA1F4.5010301@tkf.att.ne.jp> Actually, I thought about an autosave. Tried an idler handler -- when 30 seconds of idle time accumulates, I figured that would indicate non-use, and I could execute a save without disrupting work flow. However, I couldn't make it work. Put it in the stack script but the idle handler never seemed to get called. Probably the fact that I tried an idler handler shows how green I am as a programmer. How would you go about making one? But back to my original inquiry, isn't 10 to 12 seconds to save a 10MB file awfully long? Compared to everything else I do on a computer (words, spreadsheets, audio, video, photographs, ocr) it seems slow. Tim Selander Tokyo, Japan On 10/28/14, 10:27 PM, Richmond wrote: > > On 10/28/2014 02:28 PM, Tim Selander wrote: >> I don't know about benchmark on routines, but I have created a >> measly 10MB file -- customer database -- and saving changes to >> the file takes a full 10 seconds or more. That seems pretty >> slow to me. Duplicating the file in Finder takes a fraction of >> a second. Saving an edited 10MB .wav audio file takes a >> fraction of a second. >> >> Why is saving the stack so slow? This is going to be a real >> pain for my data entry lady who is used to HC saving >> everything automatically and invisibly.... > > Possibly you need to be kind to your data entry lady and build > an autosave routine into your stack. > > Richmond. > >> >> OSX, MacBook Pro i7, 1TB internal HD. >> >> Tim Selander >> Tokyo, Japan >> >> >> On 10/27/14, 10:44 PM, Geoff Canyon wrote: >>> I'm wondering if anyone has benchmarked 7.0 performance? I >>> did two quick >>> tests and found: >>> >>> on mouseUp >>> put the long seconds into T >>> repeat with i = 1 to 20000000 >>> put "A" && "aa" into X >>> end repeat >>> put the long seconds - T >>> end mouseUp >>> >>> Took almost 5x as long to run as on 6.7, which I expected >>> since it's >>> presumably doing UTF things under the hood. >>> >>> But I also found: >>> >>> on mouseUp >>> put the long seconds into T >>> repeat with i = 1 to 20000000 >>> >>> end repeat >>> put the long seconds - T >>> end mouseUp >>> >>> Took about 1.5x as long to run on 7.0 as on 6.7. Obviously >>> our own code is >>> still a much larger factor -- "repeat for each" in 7.0 is >>> still going to >>> handily beat "repeat with" in 6.7 for processing large chunks >>> of text, etc. >>> >>> gc >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage >>> your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Oct 28 10:03:09 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 28 Oct 2014 07:03:09 -0700 Subject: Open with 6.7 vs. 7.0 In-Reply-To: References: Message-ID: On Tue, Oct 28, 2014 at 6:52 AM, Rick Harrison wrote: > If you select just one file with "Get Info", tell it to use > 6.7 and then select the ?Change All? it will stick > for all files. > This works for you? I've tried it many times for 5.5.4, and it hasn't worked yet--tends not to even leave *that* file changed. (It works for other applications; just of livecode. And of course, it doesn't solve Adobe's aggressively setting itself from time to time). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Tue Oct 28 10:16:44 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Oct 2014 07:16:44 -0700 Subject: Misreported "corruption" between versions fixed In-Reply-To: References: Message-ID: <544FA54C.9090103@fourthworld.com> Kay C Lan wrote: > On Mon, Oct 27, 2014 at 9:43 PM, Richard Gaskin wrote: > >> It turns out that the very feature Phil Jimmieson requested,... has >> already been implemented >> >> Ah, a nice example of the benefits of spending a little time to measure > twice and cut once. > > Sure seems to be a whole heap more helpful than just 'cutting' straight to > a complaint on this List without every bothering to add an accurate > 'measured' report to the LC Quality Control Centre. In all fairness, I can hardly blame anyone from panicking when LiveCode itself tells them a stack is corrupted. It's great that they'd implemented a solution for this in v7, but with v6.7 released simultaneously I'm surprised they didn't backport that fix earlier in the process. I'm glad we'll have it in v6.7.1, and I suspect it was merely an overloaded to-do list that had caused it to not be backported earlier, given the high value of not scaring people unnecessarily (even if it close to Halloween ). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Oct 28 10:18:41 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Oct 2014 07:18:41 -0700 Subject: Autosave ??? In-Reply-To: <544F9A8E.1070201@gmail.com> References: <544F9A8E.1070201@gmail.com> Message-ID: <544FA5C1.4050201@fourthworld.com> Richmond wrote: > I wonder whether it might not be a bad idea ??? to have an optional > autosave feature > in LiveCode; it would certainly cut down on the rude words when "funny > things" happen. With timers it wouldn't be hard to write for those who want it (personally I prefer having control over when my stuff is committed to disk, but that's just me). I believe LiveCode continues to ship with Rinaldi's SmartSave plugin, yes? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Oct 28 10:34:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Oct 2014 07:34:45 -0700 Subject: 64-bit App Store requirement In-Reply-To: References: Message-ID: <544FA985.9020406@fourthworld.com> Peter M. Brigham wrote: > The idea that the same UI will work well on a little 5" phone screen > and a 42" monitor is crazy. Agreed, which is why I don't think anyone would do that. You can currently run Android apps in Chrome, and there's a side project to allow that in Ubuntu. Like Apple's Desk Accessories of yesteryear or more recently the Widgets implementation "inspired" by Konfabulator, not all UIs need to be run full-screen. Small apps can stay small. And like the apps we have today, not all apps are relevant on all devices. Some apps require specific hardware found only in certain device models, and we can expect that to remain a consideration when deploying to a more unified OS as well. Thinks like Evernote seem like a good fit for device adaptability. When we consider the range of screen sizes we need to consider on mobile alone, ranging from 4" to 13" or more, we're not that far away from this future vision even now. The only significant difference between a tablet with a docking keyboard and a Macbook Air with a detachable touch screen is that the latter offers much more horsepower. > If Apple does this I will seriously consider moving to Linux. Ubuntu's already headed down that road. They committed to that path before their Unity UI premiered. In fact, that's what Unity is all about: one scalable, adaptable set of UI conventions across all device types. The KDE project has been exploring this too: https://community.kde.org/KDE_Mobile Of course you'll still have control over the apps you choose to install. If the small size of the Calculator app offends, don't run it. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Tue Oct 28 10:43:52 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 28 Oct 2014 10:43:52 -0400 Subject: Autosave ??? In-Reply-To: <544FA5C1.4050201@fourthworld.com> References: <544F9A8E.1070201@gmail.com> <544FA5C1.4050201@fourthworld.com> Message-ID: I would like some sort of versioning, similar to what we had with that alternate script editor - so it would be the main project, and a version get updated. On Tue, Oct 28, 2014 at 10:18 AM, Richard Gaskin wrote: > Richmond wrote: > >> I wonder whether it might not be a bad idea ??? to have an optional >> autosave feature >> in LiveCode; it would certainly cut down on the rude words when "funny >> things" happen. >> > > With timers it wouldn't be hard to write for those who want it (personally > I prefer having control over when my stuff is committed to disk, but that's > just me). > > I believe LiveCode continues to ship with Rinaldi's SmartSave plugin, yes? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Oct 28 10:53:48 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Oct 2014 07:53:48 -0700 Subject: Autosave ??? In-Reply-To: References: Message-ID: <544FADFC.2000704@fourthworld.com> Mike Kerner wrote: > I would like some sort of versioning, similar to what we had with > that alternate script editor - so it would be the main project, > and a version get updated. MaxV posted a nice script for that in the forums recently: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Tue Oct 28 10:22:04 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 28 Oct 2014 10:22:04 -0400 Subject: 7.0 corrupted two stacks! In-Reply-To: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> References: <728FC72C-09FA-46C1-9428-A83F9908F3AA@doctorTimothyMiller.com> Message-ID: On a side note, I have a patient documentation and management system too (the original name I had for it was "ptData"). I have tried to run it in later versions of LC and it was a no-go, so I have stuck with 5.5 -- I know, I'm living in the dark ages but I simply can't afford to have things not work. At some point I will take the time to test it thoroughly with 6.6 at least and work out all the bugs, but with over 35,000 lines of scripting this is not trivial. And I already have a full-time job. After, like you, I lost 3 weeks of patient documentation following a crash, I decided I was never going to lose data like that again. I now have automatic backups via TimeMachine and Dropbox, and I also back up my files at the end of each work day to a peripheral drive in my office. I have had a couple of incidents of unexplained corruption since then but I only lost a couple hours of work. I urge you strongly to go with some sort of automated backup system. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 24, 2014, at 10:10 PM, Timothy Miller wrote: > I just downloaded and installed the "stable" version of 7.0, didn't give it much thought. I only opened two stacks, noticed that a simple script in one stack wasn't working right. > > On mouseup > sort numeric by field "foo" > answer "all done" > end mouseup > > I didn't get an error message, but the sort didn't happen. > > I wondered if some syntax had changed in 7.0. I peeked at this list, got scared, tried to quit without saving. I trashed 7.0. I failed to save myself. > > The two stacks I opened come up corrupted in LiveCode Community 6.6.5. One is a small stack that doesn't change from month to month, so it is backed up, and I can easily share both the good version and the corrupted version. The other is quite large and complex and contains HIPAA protected information, so I can't share that one. These are stacks that I have used every day for years, through the various versions of RR and LiveCode, with nary an error. > > The corrupted stack is "patient info.rev" > > From the message box, I tried > > go to card X of stack "patient info.rev" where X is an arbitrary integer within the range of the number of cards in the stack. > > With the corrupted stack I get "file is not a stack" > > Damn my eyes! I normally back up the folder containing all these stacks -- they are all linked to each other, about once per week. I am sorry to report that I have neglected to back up these stacks for about a month. > > The big stack containing the HIPAA information -- loss of that one month of data will cost me a few thousand dollars in lost revenue, or many hours of wasted time, recreating the data, or both, unless there is some way to repair the stack. I am in pain. I hope someone has some good ideas about repair possibilities. > > The small stack I can share, does someone want to take a look at it? I'm not quite sure how to share it, so please tell me how to do that. > > Tim 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 gandalf at doctorTimothyMiller.com Tue Oct 28 11:19:49 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 28 Oct 2014 08:19:49 -0700 Subject: Open with 6.7 vs. 7.0 In-Reply-To: References: Message-ID: <823B501C-FACC-4BFA-A277-7410F573A84B@doctorTimothyMiller.com> On Oct 28, 2014, at 7:03 AM, Dr. Hawkins wrote: > > This works for you? I've tried it many times for 5.5.4, and it hasn't > worked yet--tends not to even leave *that* file changed. > > (It works for other applications; just of livecode. And of course, it > doesn't solve Adobe's aggressively setting itself from time to time). My experience also, at least for 7.0. I?m not using Yosemite, though. Tim Miller From pete at lcsql.com Tue Oct 28 12:03:37 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 Oct 2014 09:03:37 -0700 Subject: Autosave ??? In-Reply-To: References: <544F9A8E.1070201@gmail.com> <544FA5C1.4050201@fourthworld.com> Message-ID: Hi Mike, lcStackbrowser has versioning, although I prefer to call them checkpoints in case anyone thinks it's a full vcs. For each stack, you can define when versions should be created: at timed intervals, every time the stack is saved, or on request. You can optionally supply a comment for each version so you know what it is. There are also options for how long to keep versions, based on the number of them or their age, or simply get rid of them when you close LC. When a stack has versions, lcStackbrowser displays a special icon next to it's name. Hovering over the icon shows you a list of version with the date/time created and whatever comment you may have attached to them. Clicking the icon allows you to pick a version and rollback to it without exiting LC or getting any duplicate stack messages. The versions are kept in a zip file in a folder at the same level as stack file. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Oct 28, 2014 at 7:43 AM, Mike Kerner wrote: > I would like some sort of versioning, similar to what we had with that > alternate script editor - so it would be the main project, and a version > get > updated. > > On Tue, Oct 28, 2014 at 10:18 AM, Richard Gaskin < > ambassador at fourthworld.com > > wrote: > > > Richmond wrote: > > > >> I wonder whether it might not be a bad idea ??? to have an optional > >> autosave feature > >> in LiveCode; it would certainly cut down on the rude words when "funny > >> things" happen. > >> > > > > With timers it wouldn't be hard to write for those who want it > (personally > > I prefer having control over when my stuff is committed to disk, but > that's > > just me). > > > > I believe LiveCode continues to ship with Rinaldi's SmartSave plugin, > yes? > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 livfoss at mac.com Tue Oct 28 12:59:36 2014 From: livfoss at mac.com (Graham Samuel) Date: Tue, 28 Oct 2014 17:59:36 +0100 Subject: Naive Unicode question # 107 Message-ID: <095C1883-2CB2-4204-9838-328B842C4DCF@mac.com> If I had a very large keyboard capable of typing a wide range of Unicode characters (characters not on the keyboard of my normal computer), could I type them directly into an LC script? Would I need to be running LC7? How would the display of the script look - on a Mac, on a PC? I know a few people are working with Japanese, Sanskrit etc, so maybe someone has the direct experience to answer this. LC7 isn't really working for me at present so it would be nice to know before I start modifying my scripts to get serious about Unicode. TIA Graham From richmondmathewson at gmail.com Tue Oct 28 13:03:47 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 28 Oct 2014 19:03:47 +0200 Subject: Autosave ??? In-Reply-To: <544FA5C1.4050201@fourthworld.com> References: <544F9A8E.1070201@gmail.com> <544FA5C1.4050201@fourthworld.com> Message-ID: <544FCC73.70305@gmail.com> On 28/10/14 16:18, Richard Gaskin wrote: > Richmond wrote: >> I wonder whether it might not be a bad idea ??? to have an optional >> autosave feature >> in LiveCode; it would certainly cut down on the rude words when "funny >> things" happen. > > With timers it wouldn't be hard to write for those who want it > (personally I prefer having control over when my stuff is committed to > disk, but that's just me). I was careful to use the word 'optional'. Richmond. > > I believe LiveCode continues to ship with Rinaldi's SmartSave plugin, > yes? > From pmbrig at gmail.com Tue Oct 28 13:13:16 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 28 Oct 2014 13:13:16 -0400 Subject: how to disturb newbies In-Reply-To: <544D0DDD.1090702@fourthworld.com> References: <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch> <544D0DDD.1090702@fourthworld.com> Message-ID: On Oct 26, 2014, at 11:06 AM, Richard Gaskin wrote: > Jacques Hausser wrote: > > >> Le 26 oct. 2014 ? 03:27, Kay C Lan a ?crit : > > > >> Again, I FULLY SUPPORT Richard's recommendation that if anyone > >> notices any errors or even believes there should be better examples, > >> Notes, Tips or inclusions in the Dictionary and User Guide, then > >> PLEASE submit them to: > >> > >> http://quality.runrev.com/ > >> > >> Whilst they may not appear in the next cycle, I do appreciate that an > >> improved Dictionary is being worked on, and like LC itself, that has > >> come forward leaps and bounds in the last year, I'm sure all the > >> corrections the Community adds to the Bug DB in relation to the > >> Dictionary will eventually come back to us in the form of much > >> better documentation. > >> > >> After entry in the Bug DB, a quick post to this List giving everyone > >> here a heads up of what you've found would also be much appreciated. > > > > I fully agree. The dictionary is very important to shape the first > > impression of newcomers about LC. I have read and heard several > > disparaging comments about the documentation which are a very > > negative publicity for this fantastic product. I perfectly understand > > that it is far more interesting and stimulating for the small staff > > in Edinburgh to develop new features - and they are brilliant at that > > - than devote time and energy to do the house cleaning on the > > documentation. But it's a vital part of how their work is appreciated > > outside. I would suggest Kevin to establish a weekly "hour of > > dictionary cleaning" for everybody. Most of the dictionary problems > > could be solved in such a short time. > > Well said from both of you. Hopefully we can channel some of the energy into useful outcomes. After all, it takes about as much time to submit a bug report as it does to make a post about a bug to a user-to-user venue, but with a bug report it gets queued for action. > > I'd like to see if we could put together a Community Documentation Team to help with some of the manual steps of applying those bug reports to the Dictionary entries themselves. > > I'll be discussing this with Ben in our next Community meeting on Thursday. > > If any of you are in a position to help with such an effort, please drop me a note at the address below and we'll set you up with whatever tools we come up with to make that happen. One possible solution would be to build into the the native LC dictionary a userNotes feature, allowing the user to add comments or examples saved locally for her/his own reference, and within that feature allowing submission of a particular note to the community documentation team for curating for inclusion as a shared note for all users. Best of both worlds, AFAICS. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From larry at significantplanet.org Tue Oct 28 13:18:08 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 28 Oct 2014 11:18:08 -0600 Subject: how to disturb newbies References: <7F466A86-75B3-45C6-AFEF-8BE96E8C1BAC@unil.ch><544D0DDD.1090702@fourthworld.com> Message-ID: <25A45AD71A244F868204D1E5BC8CDC03@userd204a4d61c> Hi Peter, Just about the sanest thing I've read on here. I hope it happens. Larry One possible solution would be to build into the the native LC dictionary a userNotes feature, allowing the user to add comments or examples saved locally for her/his own reference, and within that feature allowing submission of a particular note to the community documentation team for curating for inclusion as a shared note for all users. Best of both worlds, AFAICS. -- 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 devin_asay at byu.edu Tue Oct 28 13:56:02 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 28 Oct 2014 17:56:02 +0000 Subject: Naive Unicode question # 107 In-Reply-To: <095C1883-2CB2-4204-9838-328B842C4DCF@mac.com> References: <095C1883-2CB2-4204-9838-328B842C4DCF@mac.com> Message-ID: On Oct 28, 2014, at 10:59 AM, Graham Samuel wrote: > If I had a very large keyboard capable of typing a wide range of Unicode characters (characters not on the keyboard of my normal computer), could I type them directly into an LC script? Would I need to be running LC7? How would the display of the script look - on a Mac, on a PC? I know a few people are working with Japanese, Sanskrit etc, so maybe someone has the direct experience to answer this. LC7 isn't really working for me at present so it would be nice to know before I start modifying my scripts to get serious about Unicode. Graham, LC 7 is ?unicode anywhere?. That means you can type unicode in the script editor, the message box, property inspector fields, etc., and LiveCode knows what to do with it. So in a script you can use: put ???????? into fld ?foo? # Cyrillic inside quotes and it just works. You can even use Unicode in variable names and object names, and it just works. Magic. Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University From mats.wilstrand at tapirsoft.com Tue Oct 28 14:00:22 2014 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Tue, 28 Oct 2014 19:00:22 +0100 Subject: SV: Dreaming up a benchmarking suite of stacks In-Reply-To: <6118D7BA-C4FB-4720-B622-C15E873CFCD5@derbrill.de> References: <6118D7BA-C4FB-4720-B622-C15E873CFCD5@derbrill.de> Message-ID: <000901cff2d9$0b20fcd0$2162f670$@tapirsoft.com> Hi Malte. I can help with this as I think it would be really useful for deciding on engine versions to use in production apps. Do you or others have an overview on which areas should be tested and how results would be presented? Maybe the mothership have some stuff hidden away that they could contribute? Will you be the coordinator for the efforts Malte? All the best Mats -----Ursprungligt meddelande----- Fr?n: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] F?r Malte Brill Skickat: den 28 oktober 2014 13:17 Till: use-livecode at lists.runrev.com ?mne: Dreaming up a benchmarking suite of stacks Hi all, inspired by a post by Geoff, I started thinking that it would be rather cool to have a suite of stacks that lets us benchmark the performance of the different engine versions. I started with a stack that benchmarks graphics rendering performance using different settings. Unfortunately it crashes LC7 (http://quality.runrev.com/show_bug.cgi?id=13833 , already assigned). But I think it would be a good idea to have a set of tests that benchmarks the different aspects of the engine. Would anyone of you be willing to participate in setting up such a testsuite and / or run tests on their machines? All the best, Malte _______________________________________________ use-livecode mailing list use-livecode at 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 Oct 28 14:00:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 Oct 2014 11:00:18 -0700 Subject: Export Snapshot Message-ID: I'm noticing that if I export a snapshot from a group as PNG, the resulting image has a black background, not the background of the group. Small sample size, just 2 groups so far, but why is that happening? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From jiml at netrin.com Tue Oct 28 14:04:51 2014 From: jiml at netrin.com (Jim Lambert) Date: Tue, 28 Oct 2014 11:04:51 -0700 Subject: image source and 7.0 In-Reply-To: References: Message-ID: <4737397F-B383-4188-9828-DE1821374000@netrin.com> In 7.0 build 10018, I find that setting the imagesource of a field?s character to an image in the stack works. But setting the imagesource to the URL of a remote image does not display the image. Anyone else seeing this anomaly? Jim Lambert From richmondmathewson at gmail.com Tue Oct 28 14:08:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 28 Oct 2014 20:08:58 +0200 Subject: Autosave ??? In-Reply-To: <544FADFC.2000704@fourthworld.com> References: <544FADFC.2000704@fourthworld.com> Message-ID: <544FDBBA.5090800@gmail.com> On 28/10/14 16:53, Richard Gaskin wrote: > Mike Kerner wrote: > > I would like some sort of versioning, similar to what we had with > > that alternate script editor - so it would be the main project, > > and a version get updated. > > MaxV posted a nice script for that in the forums recently: > > I am anti plug-ins and scripts for a very simple reason: I mainly deal with LiveCode learners, and as such it would be nice if such things as AutoSave worked straight out of the box without having to add things on. Richmond. From larry at significantplanet.org Tue Oct 28 14:17:57 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 28 Oct 2014 12:17:57 -0600 Subject: Autosave ??? References: <544FADFC.2000704@fourthworld.com> <544FDBBA.5090800@gmail.com> Message-ID: Amen, Richmond!! ----- Original Message ----- From: "Richmond" To: "How to use LiveCode" Sent: Tuesday, October 28, 2014 12:08 PM Subject: Re: Autosave ??? > On 28/10/14 16:53, Richard Gaskin wrote: >> Mike Kerner wrote: >> > I would like some sort of versioning, similar to what we had with >> > that alternate script editor - so it would be the main project, >> > and a version get updated. >> >> MaxV posted a nice script for that in the forums recently: >> >> > > I am anti plug-ins and scripts for a very simple reason: > > I mainly deal with LiveCode learners, and as such it would be nice if such > things as AutoSave > worked straight out of the box without having to add things on. > > 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 MikeKerner at roadrunner.com Tue Oct 28 17:08:19 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 28 Oct 2014 17:08:19 -0400 Subject: Autosave ??? In-Reply-To: References: <544FADFC.2000704@fourthworld.com> <544FDBBA.5090800@gmail.com> Message-ID: Yes, but until it does... On Tue, Oct 28, 2014 at 2:17 PM, wrote: > Amen, Richmond!! > > ----- Original Message ----- From: "Richmond" > > To: "How to use LiveCode" > Sent: Tuesday, October 28, 2014 12:08 PM > Subject: Re: Autosave ??? > > > > On 28/10/14 16:53, Richard Gaskin wrote: >> >>> Mike Kerner wrote: >>> > I would like some sort of versioning, similar to what we had with >>> > that alternate script editor - so it would be the main project, >>> > and a version get updated. >>> >>> MaxV posted a nice script for that in the forums recently: >>> >>> >>> >> I am anti plug-ins and scripts for a very simple reason: >> >> I mainly deal with LiveCode learners, and as such it would be nice if >> such things as AutoSave >> worked straight out of the box without having to add things on. >> >> 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From livfoss at mac.com Tue Oct 28 18:20:43 2014 From: livfoss at mac.com (Graham Samuel) Date: Tue, 28 Oct 2014 23:20:43 +0100 Subject: Naive Unicode question # 107 In-Reply-To: References: <095C1883-2CB2-4204-9838-328B842C4DCF@mac.com> Message-ID: Thanks Devin That?s as cool as I hoped it would be! Magic indeed. Graham > On 28 Oct 2014, at 18:56, Devin Asay wrote: > > > On Oct 28, 2014, at 10:59 AM, Graham Samuel wrote: > >> If I had a very large keyboard capable of typing a wide range of Unicode characters (characters not on the keyboard of my normal computer), could I type them directly into an LC script? Would I need to be running LC7? How would the display of the script look - on a Mac, on a PC? I know a few people are working with Japanese, Sanskrit etc, so maybe someone has the direct experience to answer this. LC7 isn't really working for me at present so it would be nice to know before I start modifying my scripts to get serious about Unicode. > > Graham, > > LC 7 is ?unicode anywhere?. That means you can type unicode in the script editor, the message box, property inspector fields, etc., and LiveCode knows what to do with it. > > So in a script you can use: > > put ???????? into fld ?foo? # Cyrillic inside quotes > > and it just works. > > You can even use Unicode in variable names and object names, and it just works. > > Magic. > > 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 larsbrehmer at mac.com Tue Oct 28 18:46:23 2014 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 28 Oct 2014 16:46:23 -0600 Subject: Yosemite Mobile Support prefs flaw Message-ID: Does anyone know if there is a solution or workaround for this one? > Just got bit by this. Thought I?d throw out the warning just in case. > > I installed OS X Yosemite yesterday to give it a go. I fired up LC today and tried to create an app build (iOS) only to discover that the process failed. I went into the Mobile Support prefs, and the entire iOS SDKs pane was disabled and no SDKs were set. I peeked into the code a bit, and discovered that it?s using the systemVersion in a couple places to determine which versions of OS X and SDKs are supported. Turns out, under Yosemite, the systemVersion returns 10.10.0, which of course, numbers-wise, is less than 10.6, 10.7, 10.8, etc. So the pane is getting disabled and it?s impossible to set the path to any SDK. > > Pretty nasty bug. I?ll report it, but thought I?d give everyone a heads up. I?ll probably try to come up with a workaround in the meantime, as I need it to work with LC 6.6.2, and I?m not sure if we?ll get another 6.6.x release in order to fix it or not. > > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com Thanks! I must have missed this one when I decided to upgrade to Yosemite not too long ago! Lars From eric at canelasoftware.com Tue Oct 28 18:49:27 2014 From: eric at canelasoftware.com (Eric Corbett) Date: Tue, 28 Oct 2014 15:49:27 -0700 Subject: Export Snapshot In-Reply-To: References: Message-ID: Hi Peter, Try resetting the templateImage before the export. - eric On Oct 28, 2014, at 11:00 AM, Peter Haworth wrote: > I'm noticing that if I export a snapshot from a group as PNG, the resulting > image has a black background, not the background of the group. Small > sample size, just 2 groups so far, but why is that happening? > 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 gerry.orkin at gmail.com Tue Oct 28 19:33:39 2014 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 28 Oct 2014 23:33:39 +0000 Subject: Yosemite Mobile Support prefs flaw References: Message-ID: Fixed in 6.6.4 or 6.6.5. Gerry On Wed, 29 Oct 2014 at 9:46 am, Lars Brehmer wrote: > Does anyone know if there is a solution or workaround for this one? > > > Just got bit by this. Thought I'd throw out the warning just in case. > > > > I installed OS X Yosemite yesterday to give it a go. I fired up LC today > and tried to create an app build (iOS) only to discover that the process > failed. I went into the Mobile Support prefs, and the entire iOS SDKs pane > was disabled and no SDKs were set. I peeked into the code a bit, and > discovered that it's using the systemVersion in a couple places to > determine which versions of OS X and SDKs are supported. Turns out, under > Yosemite, the systemVersion returns 10.10.0, which of course, numbers-wise, > is less than 10.6, 10.7, 10.8, etc. So the pane is getting disabled and > it's impossible to set the path to any SDK. > > > > Pretty nasty bug. I'll report it, but thought I'd give everyone a heads > up. I'll probably try to come up with a workaround in the meantime, as I > need it to work with LC 6.6.2, and I'm not sure if we'll get another 6.6.x > release in order to fix it or not. > > > > Chris > > > > -- > > Chris Sheffield > > Read Naturally, Inc. > > www.readnaturally.com > > Thanks! I must have missed this one when I decided to upgrade to Yosemite > not too long ago! > > Lars > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 29 00:57:17 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 29 Oct 2014 12:57:17 +0800 Subject: Benchmarking 7.0 performance In-Reply-To: <544F8C01.4090506@tkf.att.ne.jp> References: <544F8C01.4090506@tkf.att.ne.jp> Message-ID: On Tue, Oct 28, 2014 at 8:28 PM, Tim Selander wrote: > saving changes to the file takes a full 10 seconds or more. > How long does it take in LC 6.x ? When you say 'measly 10MB file - customer database. Are you saying the file is a db file like mySQL or SQLite, or is it just a flat file that you use to store tab/comma separated values? From lan.kc.macmail at gmail.com Wed Oct 29 01:16:25 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 29 Oct 2014 13:16:25 +0800 Subject: Autosave ??? In-Reply-To: <544FDBBA.5090800@gmail.com> References: <544FADFC.2000704@fourthworld.com> <544FDBBA.5090800@gmail.com> Message-ID: On Wed, Oct 29, 2014 at 2:08 AM, Richmond wrote: I mainly deal with LiveCode learners, and as such it would be nice if such > things as AutoSave > worked straight out of the box without having to add things on. > And that is why Richard pointed out that LC, every single version I've dealt with since 2.x, comes with SmartSave - written a long long time ago by Rinaldi, which is why he's still credited for it's existence. Development Menu > Plugins > revSmartSave Unless you've fiddled with the standard LC Installation, SmartSave will work 'out of the box' in exactly the same way as 'Open Recent File...' and 'Test Target'. From lan.kc.macmail at gmail.com Wed Oct 29 01:28:20 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 29 Oct 2014 13:28:20 +0800 Subject: Dreaming up a benchmarking suite of stacks In-Reply-To: <6118D7BA-C4FB-4720-B622-C15E873CFCD5@derbrill.de> References: <6118D7BA-C4FB-4720-B622-C15E873CFCD5@derbrill.de> Message-ID: On Tue, Oct 28, 2014 at 8:16 PM, Malte Brill wrote: > Would anyone of you be willing to participate in setting up such a > testsuite > I hope Peter Haworth reads this and does something for SQLite Whilst I'm sure I could mangle something together that could cover the bare basics of INSERT, UPDATE and DELETE, I have no doubt Peter could produce something far more robust, effective and encompass many more features of SQLite. From richmondmathewson at gmail.com Wed Oct 29 02:45:10 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 Oct 2014 08:45:10 +0200 Subject: Autosave ??? In-Reply-To: References: <544FADFC.2000704@fourthworld.com> <544FDBBA.5090800@gmail.com> Message-ID: <54508CF6.4000900@gmail.com> On 29/10/14 07:16, Kay C Lan wrote: > On Wed, Oct 29, 2014 at 2:08 AM, Richmond > wrote: > > I mainly deal with LiveCode learners, and as such it would be nice if such >> things as AutoSave >> worked straight out of the box without having to add things on. >> > And that is why Richard pointed out that LC, every single version I've > dealt with since 2.x, comes with SmartSave - written a long long time ago > by Rinaldi, which is why he's still credited for it's existence. > > Development Menu > Plugins > revSmartSave > > Unless you've fiddled with the standard LC Installation, SmartSave will > work 'out of the box' in exactly the same way as 'Open Recent File...' and > 'Test Target'. Thanks, Richmond. From selander at tkf.att.ne.jp Wed Oct 29 09:08:41 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 29 Oct 2014 22:08:41 +0900 Subject: Autosave ??? In-Reply-To: <544FA5C1.4050201@fourthworld.com> References: <544F9A8E.1070201@gmail.com> <544FA5C1.4050201@fourthworld.com> Message-ID: <5450E6D9.4090706@tkf.att.ne.jp> I didn't know about this -- works great! Just what I needed. But why is Rinaldi's save so much faster than LiveCode itself?? Odd... And, hmm, LC7.0 just crashed on me a few minutes after activating SmartSave... conincidence? Tim Selander Tokyo, Japan On 10/28/14, 11:18 PM, Richard Gaskin wrote: > I believe LiveCode continues to ship with Rinaldi's SmartSave > plugin, yes? From selander at tkf.att.ne.jp Wed Oct 29 09:27:20 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 29 Oct 2014 22:27:20 +0900 Subject: Benchmarking 7.0 performance In-Reply-To: References: <544F8C01.4090506@tkf.att.ne.jp> Message-ID: <5450EB38.20704@tkf.att.ne.jp> Hi Kay, Good question! Wait a moment.... OK, I'm back. Under 6.5 it also takes about 12 seconds. It is a data stack in the old HC sense, not SQL or even CSV. It is about 11,000 cards, each containing the customer's address & other info. !0.2MB total file size. I am pleased with how fast it is working for me other than saves. And now Rinaldi has come to my rescue again. I have use a LOT of his stuff over all these years. Tim Selander Tokyo, Japan On 10/29/14, 1:57 PM, Kay C Lan wrote: > On Tue, Oct 28, 2014 at 8:28 PM, Tim Selander > wrote: > >> saving changes to the file takes a full 10 seconds or more. >> > How long does it take in LC 6.x ? > > When you say 'measly 10MB file - customer database. Are you saying the file > is a db file like mySQL or SQLite, or is it just a flat file that you use > to store tab/comma separated values? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 29 10:49:46 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Oct 2014 07:49:46 -0700 Subject: Dreaming up a benchmarking suite of stacks In-Reply-To: References: Message-ID: <5450FE8A.5010105@fourthworld.com> Malte Brill wrote: > inspired by a post by Geoff, I started thinking that it would > be rather cool to have a suite of stacks that lets us benchmark > the performance of the different engine versions. Brilliant idea! I've been pondering making one for a different purpose, for comparing relative performance of a given engine version across different machines. The same stack could be used well for both purposes. Ideally such a stack would include activities that represent a fairly complete range of things we use LC for, including moving objects on screen, parsing and concatenating text, math, etc. Even better if these were made as separate stack files so multiple people can be working on them. Even better if others decided write their own for their own purposes as well. I'd be happy to donate server space and bandwidth for hosting the the main stack and its modules at LiveCodeJournal.com. If someone's willing to take on the role of manager for this to coordinate the spec the various module stacks would use, I'd be more than happy to create a forum section we could use for managing the project. -- Richard Gaskin LiveCode Community Manager richard at livecode.com From gandalf at doctorTimothyMiller.com Wed Oct 29 12:09:42 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 29 Oct 2014 09:09:42 -0700 Subject: Sort cards doesn't work in 7.0 In-Reply-To: References: <180-1895792247.20141025113148@ahsoftware.net> <544BF4A8.2070303@fourthworld.com> <0D722E11-4A0D-42AF-B465-0DFFAA9B6516@doctorTimothyMiller.com> <544E8E9F.1010505@hyperactivesw.com> <666D3A33-E729-4B21-997F-BBA471BE17DB@doctorTimothyMiller.com> <4E508E76-17A3-42A5-803C-79518001596A@hyperactivesw.com> <2CBBC60E-4C4D-4323-98AD-53B276BCFB45@doctorTimothyMiller.com> Message-ID: <93D9FDA5-DE4D-47AA-A29B-E6233E5C5410@doctorTimothyMiller.com> On Oct 27, 2014, at 10:24 PM, Kay C Lan wrote: > http://quality.runrev.com/ > > and report your findings and the simple steps required to see the > 'failure'. Attach (upload) both stacks so they can see exactly what you are > seeing. > > If your stack contains confidential information that you'd rather not share > with the Runrev team, then you'll have to build a new stack with a couple > of cards that reproduces the problem. This of course is a good thing > because if you can, the problem is what you suspect, but if your new stack > doesn't exhibit the same fault, then it isn't what you suspect and there > must be other factors that are causing the problem. You?re right of course. It?s kind of a chore. Sigh? I guess I?ll get started. I was hoping someone else would confirm the same bug in a less cumbersome, non-confidential stack, but that hasn?t happened yet. It will happen eventually. By then, it might be a known bug or a fixed bug. Paying it forward?. Tim Miller From toolbook at kestner.de Wed Oct 29 12:11:51 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 29 Oct 2014 17:11:51 +0100 Subject: Unicode: LC 7.0 - PHP - MySQL? Message-ID: <004c01cff393$0d1ed420$275c7c60$@de> Hello, I have a LC 6 program communicating through PHP with a MySQL db. Because my background about Unicode, PHP and MySQL is limited I wonder what I have to care about, when migrating to LC 7. I have read the release notes of LC 7. My limited thinking was, that UniCode really has a unique code for each sign on the planet. But why is there a UTF-8 / UTF-16. Which one is LC using? Which one is my MySQL db using? I don't find any information about UTF-8/16 in my db description. How is the collation of the db related to UTF-x and to LC?. My tables are collated in ascii_general_ci. In some of my PHPs a "COLLATE latin1_swedish_ci" is used. I have no idea why this Swedish collation is in my german PHP and how it can be compatible with my ascii_general_ci DB. (The PHPs are made by third party) What do I have to change in my LC program when migrating to 7. Where to start? Is LCs Unicode really the magic thing, where I don't have to care about any charset related thing and all my thinking is just waste? Or do I have to migrate, test and dig into one crash after the other? Or do you have any helpful hints, how to start such a migration and what to look for? Thanks Tiemo From bobsneidar at iotecdigital.com Wed Oct 29 12:38:45 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 16:38:45 +0000 Subject: Data grid Line or Index In-Reply-To: <1414455949855-4685115.post@n4.nabble.com> References: <9E08BE2C-FE3C-4431-BED4-469438C80176@iotecdigital.com> <1414455949855-4685115.post@n4.nabble.com> Message-ID: <3DCBDA93-108A-452F-8427-16104A36238A@iotecdigital.com> Normally that would be true, but Datagrids work differently. If you set the dgData of a data grid, given no sort, you will see that the dgDataOfLine and the dgDataOfIndex are identical. Element 1 is line 1 and Index 1. Now click one of the columns to resort. Element 1 is still line 1 but the index could be anything depending on how they sort. Or to put it another way, get the dgHilitedLine and the dghilitedIndex of a selected row. Now sort by another column. The line changes but the index remains the same. Now if you are getting the dgText, manipulating that, and then setting the dgText, of course the line and index will be the same for all rows when you set it. Reindexing will again scramble the indexes but the lines will be the display order. So you can say that the lines represent the current display order, while the index represents the order when the data was set. This is why I almost always use the dgHilitedIndex instead of the dgHilitedline. The only reason to use the line form is if you are processing data top to bottom in the displayed order. If you store the line, then allow the user to interact with the data grid, the stored line number will almost certainly be invalid. I think I?ve answered my question though. The array index would almost have to correspond to the current displayed order. Bob S > On Oct 27, 2014, at 17:25 , Sri wrote: > > Since arrays relate to how data is stored and not how data is displayed, I'd > think no display-related factors should affect them. I'd expect dgData to > stay the same (i.e., not updated), regardless of how the user manipulates > the table displayed. (Any edits are incorporated through the index). > > Regards, > Sri. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Data-grid-Line-or-Index-tp4685113p4685115.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 Oct 29 12:48:21 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 16:48:21 +0000 Subject: 64-bit App Store requirement In-Reply-To: References: <54491E95.2090407@fourthworld.com> Message-ID: <5B8AE634-AA19-4855-8743-496D11ADC1CF@iotecdigital.com> You think that is crazy, I just watched a commercial where you can take a stylus and hand write what you want, which is then converted to computer text. I have a much simpler, economically and environmentally superior way to accomplish this. It involves taking old wood scraps, smashing and pulverizing them, then mixing them with water and bleach and flattening the result out into great big sheets to dry. After that we can cut them up, and put some really dark thick dye into little tubes with a tiny ball bearing at the end, and then scrape the bearing over the slices of bleached wood pulp! I agree there are some disadvantages, but it will be extremely cheap, universally compatible, multi lingual, and extremely resistant to shock, loss of power, storage failure and electromagnetic pulses. Bob S On Oct 28, 2014, at 06:47 , Peter M. Brigham > wrote: The idea that the same UI will work well on a little 5" phone screen and a 42" monitor is crazy. If Apple does this I will seriously consider moving to Linux. It used to be that Apple made stoves that you could just turn on and cook with, but increasingly they are making stoves that choose your cooking temperature and time for you and have hidden knobs the size of pushpins if you want to do anything different. It will take a really bad move on their part for me to go to a system where in order to cook dinner I have to collect the firewood, build a grill, and amass a collection of thermometers, but they look as if they might be getting there. From bobsneidar at iotecdigital.com Wed Oct 29 12:53:35 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 16:53:35 +0000 Subject: Misreported "corruption" between versions fixed In-Reply-To: <544FA54C.9090103@fourthworld.com> References: <544FA54C.9090103@fourthworld.com> Message-ID: <10FE411A-D52C-4873-9F93-3E88987AABC7@iotecdigital.com> Except that mine *really* was corrupted. I could not open the resulting stack in either 6.6.4 nor 7.0.0. I had to open the tilde version in 7.0 and save it as a 5.5.4 (or whatever the last legacy version was) stack. Bob S > On Oct 28, 2014, at 07:16 , Richard Gaskin wrote: > > Kay C Lan wrote: >> On Mon, Oct 27, 2014 at 9:43 PM, Richard Gaskin wrote: >> >>> It turns out that the very feature Phil Jimmieson requested,... has >>> already been implemented >>> >>> Ah, a nice example of the benefits of spending a little time to measure >> twice and cut once. >> >> Sure seems to be a whole heap more helpful than just 'cutting' straight to >> a complaint on this List without every bothering to add an accurate >> 'measured' report to the LC Quality Control Centre. > > In all fairness, I can hardly blame anyone from panicking when LiveCode itself tells them a stack is corrupted. > > It's great that they'd implemented a solution for this in v7, but with v6.7 released simultaneously I'm surprised they didn't backport that fix earlier in the process. > > I'm glad we'll have it in v6.7.1, and I suspect it was merely an overloaded to-do list that had caused it to not be backported earlier, given the high value of not scaring people unnecessarily (even if it close to Halloween ). > > -- > 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 rdimola at evergreeninfo.net Wed Oct 29 13:33:11 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 29 Oct 2014 13:33:11 -0400 Subject: 64-bit App Store requirement In-Reply-To: <5B8AE634-AA19-4855-8743-496D11ADC1CF@iotecdigital.com> References: <54491E95.2090407@fourthworld.com> <5B8AE634-AA19-4855-8743-496D11ADC1CF@iotecdigital.com> Message-ID: <002001cff39e$69cda1a0$3d68e4e0$@net> The CME of 2012 missed us by 5 days. This was estimated to be approximately the same as the 1859 solar storm. Lifted from Wiki==> "Telegraph systems all over Europe and North America failed, in some cases giving telegraph operators electric shocks. Telegraph pylons threw sparks. Some telegraph systems continued to send and receive messages despite having been disconnected from their power supplies." If we don't protect our power grid and electronics with Faraday Cages we are in for a serious butt whipping. The Russians still use vacuum tubes on military aircraft for CME/EMP immunity. It's not a matter of if, but when. 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 Bob Sneidar Sent: Wednesday, October 29, 2014 12:48 PM To: How to use LiveCode Subject: Re: 64-bit App Store requirement You think that is crazy, I just watched a commercial where you can take a stylus and hand write what you want, which is then converted to computer text. I have a much simpler, economically and environmentally superior way to accomplish this. It involves taking old wood scraps, smashing and pulverizing them, then mixing them with water and bleach and flattening the result out into great big sheets to dry. After that we can cut them up, and put some really dark thick dye into little tubes with a tiny ball bearing at the end, and then scrape the bearing over the slices of bleached wood pulp! I agree there are some disadvantages, but it will be extremely cheap, universally compatible, multi lingual, and extremely resistant to shock, loss of power, storage failure and electromagnetic pulses. Bob S On Oct 28, 2014, at 06:47 , Peter M. Brigham > wrote: The idea that the same UI will work well on a little 5" phone screen and a 42" monitor is crazy. If Apple does this I will seriously consider moving to Linux. It used to be that Apple made stoves that you could just turn on and cook with, but increasingly they are making stoves that choose your cooking temperature and time for you and have hidden knobs the size of pushpins if you want to do anything different. It will take a really bad move on their part for me to go to a system where in order to cook dinner I have to collect the firewood, build a grill, and amass a collection of thermometers, but they look as if they might be getting there. _______________________________________________ use-livecode mailing list use-livecode at 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 Oct 29 14:37:15 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Oct 2014 13:37:15 -0500 Subject: Misreported "corruption" between versions fixed In-Reply-To: <10FE411A-D52C-4873-9F93-3E88987AABC7@iotecdigital.com> References: <544FA54C.9090103@fourthworld.com> <10FE411A-D52C-4873-9F93-3E88987AABC7@iotecdigital.com> Message-ID: <545133DB.9010509@hyperactivesw.com> On 10/29/2014, 11:53 AM, Bob Sneidar wrote: > Except that mine *really* was corrupted. I could not open the > resulting stack in either 6.6.4 nor 7.0.0. I had to open the tilde > version in 7.0 and save it as a 5.5.4 (or whatever the last legacy > version was) stack. You're the second person to report that. RR really needs to know about it, and look at a stack that became corrupted. LC has always been known for the stability of its stacks and they need to fix this. Have you entered a bug report? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bogdanoff at me.com Wed Oct 29 14:40:12 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 29 Oct 2014 11:40:12 -0700 Subject: Expanding List Message-ID: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> Hi, I want to reproduce the idea of a field with an expanding list of items whereby you click on a super line of text and it shows and hides sub lines directly below it, and before the next super line. Does someone have a plug in, or idea for doing this in LC? Peter Bogdanoff UCLA From dunbarx at aol.com Wed Oct 29 15:20:51 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 29 Oct 2014 15:20:51 -0400 Subject: Expanding List In-Reply-To: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> Message-ID: <8D1C1C496321D20-11B0-16F65@webmail-vd002.sysops.aol.com> Hi. Simple to do as a kluge. You get the clickLine, and will have already stored the subLines in a custom property. These sublines are arranged in an addressable way, so that if you click on line 3 in the field, the third group of sublines is identified. You simply insert the sublimes below the click line. Getting rid of them might be done by prepending a char, like a dash, before each subLine, and before the field loads any new group, it purges all lines with that marker. Or some other way. Craig Newman -----Original Message----- From: Peter Bogdanoff To: How to use LiveCode Sent: Wed, Oct 29, 2014 2:41 pm Subject: Expanding List Hi, I want to reproduce the idea of a field with an expanding list of items whereby you click on a super line of text and it shows and hides sub lines directly below it, and before the next super line. Does someone have a plug in, or idea for doing this in LC? Peter Bogdanoff UCLA _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Oct 29 15:42:49 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 29 Oct 2014 15:42:49 -0400 Subject: Expanding List In-Reply-To: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> Message-ID: <8D1C1C7A7B92720-11B0-172A0@webmail-vd002.sysops.aol.com> Not sure if this was denied. AOL woes. Hi. Simple to do as a kluge. You get the clickLine, and will have already stored the subLines in a custom property. These sublines are arranged in an addressable way, so that if you click on line 3 in the field, the third group of sublines is identified. You simply insert the sublimes below the click line. Getting rid of them might be done by prepending a char, like a dash, before each subLine, and before the field loads any new group, it purges all lines with that marker. Or some other way. Craig Newman Hi, I want to reproduce the idea of a field with an expanding list of items whereby you click on a super line of text and it shows and hides sub lines directly below it, and before the next super line. Does someone have a plug in, or idea for doing this in LC? Peter Bogdanoff UCLA _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Oct 29 15:49:26 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Oct 2014 12:49:26 -0700 Subject: Expanding List In-Reply-To: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> Message-ID: <545144C6.2010303@fourthworld.com> Peter Bogdanoff wrote: > I want to reproduce the idea of a field with an expanding list > of items whereby you click on a super line of text and it shows > and hides sub lines directly below it, and before the next super > line. > > Does someone have a plug in, or idea for doing this in LC? I don't have a generalized one, but they're easier to make now than ever: v5.5.4 introduced the ability for lines to have a "visible" property. Couple that with embedded icons for the disclosure arrows and in a couple hours' work you got it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Wed Oct 29 17:25:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 21:25:56 +0000 Subject: Misreported "corruption" between versions fixed In-Reply-To: <545133DB.9010509@hyperactivesw.com> References: <544FA54C.9090103@fourthworld.com> <10FE411A-D52C-4873-9F93-3E88987AABC7@iotecdigital.com> <545133DB.9010509@hyperactivesw.com> Message-ID: <3695611F-3E66-4665-8E04-561B7A0B7161@iotecdigital.com> Hi Jacque. I already sent in my corrupted stack. I just wanted to respond to the subject line of misreported ?corruption?. I was thinking some were under the impression that it was all a figmentation of my imagination. :-) Bob S On Oct 29, 2014, at 11:37 , J. Landman Gay > wrote: You're the second person to report that. RR really needs to know about it, and look at a stack that became corrupted. LC has always been known for the stability of its stacks and they need to fix this. Have you entered a bug report? -- Jacqueline Landman Gay From bobsneidar at iotecdigital.com Wed Oct 29 17:27:53 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 21:27:53 +0000 Subject: Expanding List In-Reply-To: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> Message-ID: <9F96C510-0E5C-4216-822C-893EA233049E@iotecdigital.com> Keep in mind you can set the HTMLText of a field, so if you knew how to do this in HTML, you could simply do that. Bob S > On Oct 29, 2014, at 11:40 , Peter Bogdanoff wrote: > > Hi, > > I want to reproduce the idea of a field with an expanding list of items whereby you click on a super line of text and it shows and hides sub lines directly below it, and before the next super line. > > Does someone have a plug in, or idea for doing this in LC? > > Peter Bogdanoff > UCLA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Wed Oct 29 17:34:09 2014 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 29 Oct 2014 14:34:09 -0700 Subject: externalizing data Message-ID: On Oct 25, 2014, at 11:17 AM, Richard Gaskin wrote: > tend to externalize my data, paging it in and out of controls in a single card What does it mean to externalize data by paging it in and out of controls in a single card? A wild guess: It means keeping the data in an external database, swapping data from card to database and vice-versa, with an LC script. Correct? With a large database, it's going to be faster. Any other advantages? Timothy Miller From ambassador at fourthworld.com Wed Oct 29 17:39:58 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Oct 2014 14:39:58 -0700 Subject: externalizing data In-Reply-To: References: Message-ID: <54515EAE.9010102@fourthworld.com> Timothy Miller wrote: > On Oct 25, 2014, at 11:17 AM, Richard Gaskin wrote: > >> I tend to externalize my data, paging it in and out of controls >> in a single card > > What does it mean to externalize data by paging it in and out of > controls in a single card? > > A wild guess: It means keeping the data in an external database, > swapping data from card to database and vice-versa, with an LC > script. Correct? Yep. > With a large database, it's going to be faster. Any other advantages? Freedom. By storing the data separately from the UI, I can make changes to each without affecting the other. In the old HyperCard days I used to store data in fields, but then I had to ship a new version with a very different interface, which meant writing a complicated export/import routine, and encumbering the user with having to run it before they could use the new features. These days, with the data stored separately, I have the freedom to add anything I want to the UI, and when the user gets it their old data just opens up in without any extra effort on their part. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Wed Oct 29 17:42:27 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 21:42:27 +0000 Subject: externalizing data In-Reply-To: References: Message-ID: <97EF455F-0A5F-48EB-94D5-8953FC074987@iotecdigital.com> Ya I bet he means using a card as a form and reading data into and out of it from a database. Pretty much standard procedure nowadays for database apps. Bob S > On Oct 29, 2014, at 14:34 , Timothy Miller wrote: > > On Oct 25, 2014, at 11:17 AM, Richard Gaskin wrote: > >> tend to externalize my data, paging it in and out of controls in a single card > > What does it mean to externalize data by paging it in and out of controls in a single card? > > A wild guess: It means keeping the data in an external database, swapping data from card to database and vice-versa, with an LC script. Correct? > > With a large database, it's going to be faster. Any other advantages? > > Timothy 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 brahma at hindu.org Wed Oct 29 18:17:41 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Wed, 29 Oct 2014 12:17:41 -1000 Subject: Expanding List In-Reply-To: <9F96C510-0E5C-4216-822C-893EA233049E@iotecdigital.com> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> <9F96C510-0E5C-4216-822C-893EA233049E@iotecdigital.com> Message-ID: <54516785.5040508@hindu.org> Ummm. how? I think this expansion functionality is either done with some dynamic CSS or Javascript... neither of which are supported by the field object. Bob Sneidar wrote: > Keep in mind you can set the HTMLText of a field, so if you knew how to do this in HTML, you could simply do that. > > Bob S From bobsneidar at iotecdigital.com Wed Oct 29 18:34:29 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 22:34:29 +0000 Subject: Expanding List In-Reply-To: <54516785.5040508@hindu.org> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> <9F96C510-0E5C-4216-822C-893EA233049E@iotecdigital.com> <54516785.5040508@hindu.org> Message-ID: http://www.wikihow.com/Make-a-Collapsible-List-in-HTML-Without-Java On Oct 29, 2014, at 15:17 , Brahmanathaswami > wrote: Ummm. how? I think this expansion functionality is either done with some dynamic CSS or Javascript... neither of which are supported by the field object. Bob Sneidar wrote: Keep in mind you can set the HTMLText of a field, so if you knew how to do this in HTML, you could simply do that. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Oct 29 18:36:10 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Oct 2014 22:36:10 +0000 Subject: Expanding List In-Reply-To: <54516785.5040508@hindu.org> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> <9F96C510-0E5C-4216-822C-893EA233049E@iotecdigital.com> <54516785.5040508@hindu.org> Message-ID: Ah! Looks like it uses CSS. Sorry. Bob S > On Oct 29, 2014, at 15:17 , Brahmanathaswami wrote: > > Ummm. how? I think this expansion functionality is either done with some dynamic CSS or Javascript... neither of which are supported by the field object. > > > Bob Sneidar wrote: >> Keep in mind you can set the HTMLText of a field, so if you knew how to do this in HTML, you could simply do that. >> >> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Oct 29 19:08:59 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Oct 2014 18:08:59 -0500 Subject: Misreported "corruption" between versions fixed In-Reply-To: <3695611F-3E66-4665-8E04-561B7A0B7161@iotecdigital.com> References: <544FA54C.9090103@fourthworld.com> <10FE411A-D52C-4873-9F93-3E88987AABC7@iotecdigital.com> <545133DB.9010509@hyperactivesw.com> <3695611F-3E66-4665-8E04-561B7A0B7161@iotecdigital.com> Message-ID: <5451738B.5020907@hyperactivesw.com> On 10/29/2014, 4:25 PM, Bob Sneidar wrote: > I already sent in my corrupted stack. I just wanted to respond to the > subject line of misreported ?corruption?. Oh good. Thanks. I hope they find the reason. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Thu Oct 30 03:29:54 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 30 Oct 2014 15:29:54 +0800 Subject: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <004c01cff393$0d1ed420$275c7c60$@de> References: <004c01cff393$0d1ed420$275c7c60$@de> Message-ID: Hello Tiemo I'm not sure that I have all the answers you are looking for but I hope this will help a little. It is a simplification though to try and make things understandable. > On 30 Oct 2014, at 00:11, Tiemo Hollmann TB wrote: > > Hello, > > I have a LC 6 program communicating through PHP with a MySQL db. Because my > background about Unicode, PHP and MySQL is limited I wonder what I have to > care about, when migrating to LC 7. > > I have read the release notes of LC 7. My limited thinking was, that UniCode > really has a unique code for each sign on the planet. But why is there a > UTF-8 / UTF-16. Yes, UniCode does have a unique code for (almost) every sign on the planet. The unique codes are known as codepoints. There are so many of them that the numbers allocated to them exceed the maximum size of one "character" (or even two). They do all fit into 4 characters though. UTF-8 is a way of storing the Unicode codepoints in single (8-bit) "characters". It may take one, two or three of them to store a Unicode codepoint. UTF-16 is a way of storing Unicode codepoints in double (16-bit) "characters". The vast majority of Unicode codepoints fit into a single "double character", some take two. > Which one is LC using? Internally LiveCode uses UTF-16. > Which one is my MySQL db using? I suspect that MySQL normally uses UTF-8, I'm sure one of the database experts can correct me if I am wrong. However, what is most important is which encoding system was used to create the data in the first place. > Idon't find any information about UTF-8/16 in my db description. How is the > collation of the db related to UTF-x and to LC?. My tables are collated in > ascii_general_ci. In some of my PHPs a "COLLATE latin1_swedish_ci" is used. > I have no idea why this Swedish collation is in my german PHP and how it can > be compatible with my ascii_general_ci DB. (The PHPs are made by third > party) This suggests that your PHP scripts are expecting the data they received to be have "encoded" in a specific system, either "ascii_general_ci" or "latin1_swedish_ci". They are different from Unicode. > > What do I have to change in my LC program when migrating to 7. Where to > start? As best as I understand, you will need to use textDecode to convert any external text (ie from PHP or MySQL) to LiveCode text. You will need to use textEncode to convert any LiveCode text to send to any external source. > Is LCs Unicode really the magic thing, where I don't have to care about any > charset related thing and all my thinking is just waste? Internally, it really is magic (from my point of view). Sadly the magicians in Edinburgh have yet to come up with a spell that magically converts somebody else's data to LiveCode Text (UTF16). They need a little help from us users to tell them how the external text is encoded. (That has always been the case when combining differently encoded text data since LiveCode 1). Regards Peter From larry at significantplanet.org Thu Oct 30 03:42:27 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 30 Oct 2014 01:42:27 -0600 Subject: Valentina db Message-ID: Hello, Has anyone used Valentina database with LC? If so, what is your experience with it? Is it a product that a newbie (me) could reasonably learn how to use with LC? Thanks for any info, Larry P.S. If you have a recommendation for a database that is REALLY easy to use with LC, please let me know. From toolbook at kestner.de Thu Oct 30 04:30:40 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 30 Oct 2014 09:30:40 +0100 Subject: AW: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: References: <004c01cff393$0d1ed420$275c7c60$@de> Message-ID: <006001cff41b$cacb01f0$606105d0$@de> Hello Peter, thank you for taking your time for your helpful explanations. I still have two issues left. I found in the SQL export of my db that it is UTF-8 encoded. So perhaps the definition of a collation "ascii_general_ci" defines a "subset" of UTF-8? As far as I understand it now, I should pass all LC strings with uniEncode(string,UTF8) to the PHP because of the UTF-8 of MySQL. Probably I will fiddle around with uniEncode/uniDecode at the interface to the PHPs and see with which encode parameter the correct string gets into the MySQL db. On the other side I am importing data from a Valentina-DB. Where I have to set the Encoding to Macintosh / Latin, depending on the platform. Does this platform related conversion gets obsolete with LC 7 UniCode, or is this still valid, because of data coming from outside, though Valentina probably also is Unicode. Thanks for coaching Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Peter W A Wood > Gesendet: Donnerstag, 30. Oktober 2014 08:30 > An: How to use LiveCode > Betreff: Re: Unicode: LC 7.0 - PHP - MySQL? > > Hello Tiemo > > I'm not sure that I have all the answers you are looking for but I hope this > will help a little. It is a simplification though to try and make things > understandable. > > > On 30 Oct 2014, at 00:11, Tiemo Hollmann TB wrote: > > > > Hello, > > > > I have a LC 6 program communicating through PHP with a MySQL db. > > Because my background about Unicode, PHP and MySQL is limited I wonder > > what I have to care about, when migrating to LC 7. > > > > I have read the release notes of LC 7. My limited thinking was, that > > UniCode really has a unique code for each sign on the planet. But why > > is there a > > UTF-8 / UTF-16. > > Yes, UniCode does have a unique code for (almost) every sign on the planet. > The unique codes are known as codepoints. There are so many of them that the > numbers allocated to them exceed the maximum size of one "character" (or even > two). They do all fit into 4 characters though. UTF-8 is a way of storing the > Unicode codepoints in single (8-bit) "characters". It may take one, two or > three of them to store a Unicode codepoint. UTF-16 is a way of storing Unicode > codepoints in double (16-bit) "characters". The vast majority of Unicode > codepoints fit into a single "double character", some take two. > > > > Which one is LC using? > > Internally LiveCode uses UTF-16. > > > Which one is my MySQL db using? > > I suspect that MySQL normally uses UTF-8, I'm sure one of the database experts > can correct me if I am wrong. However, what is most important is which > encoding system was used to create the data in the first place. > > > Idon't find any information about UTF-8/16 in my db description. How > > is the collation of the db related to UTF-x and to LC?. My tables are > > collated in ascii_general_ci. In some of my PHPs a "COLLATE > latin1_swedish_ci" is used. > > I have no idea why this Swedish collation is in my german PHP and how > > it can be compatible with my ascii_general_ci DB. (The PHPs are made > > by third > > party) > > This suggests that your PHP scripts are expecting the data they received to be > have "encoded" in a specific system, either "ascii_general_ci" or > "latin1_swedish_ci". They are different from Unicode. > > > > > What do I have to change in my LC program when migrating to 7. Where > > to start? > > As best as I understand, you will need to use textDecode to convert any > external text (ie from PHP or MySQL) to LiveCode text. You will need to use > textEncode to convert any LiveCode text to send to any external source. > > > Is LCs Unicode really the magic thing, where I don't have to care > > about any charset related thing and all my thinking is just waste? > > Internally, it really is magic (from my point of view). Sadly the magicians in > Edinburgh have yet to come up with a spell that magically converts somebody > else's data to LiveCode Text (UTF16). They need a little help from us users to > tell them how the external text is encoded. (That has always been the case > when combining differently encoded text data since LiveCode 1). > > Regards > > Peter > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 30 04:33:32 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 30 Oct 2014 16:33:32 +0800 Subject: Valentina db In-Reply-To: References: Message-ID: On Thu, Oct 30, 2014 at 3:42 PM, wrote: > Hello, > > Has anyone used Valentina database with LC? > > Yes, for many years now. > If so, what is your experience with it? > > Love it. Especially if you need speed and simplified table relationships - Binary Links are great. > Is it a product that a newbie (me) could reasonably learn how to use with > LC? > > Probably not at your stage. I am a hobbyist. I was moderately competent with HC when I moved to Revolution which is now LC. Because of LC db capabilities I then played with MySQL and SQLite with some success, but again I was fluent with LC at the time. In the search for more speed I went to Valentina. Having some knowledge of SQL and pretty fluent with LC made the move to Valentina less bumpy. Noting your many bumps along the path of LC enlightenment I'm not sure getting tangled with Valentina right now would be painless. I note frequent posts on the Valentina Users List about people who get stuck installing Valentina for LC. It's a simple 2 step process, but as most people's experience with installers is that it does absolutely everything for them, they regular seem to miss the need for the 2nd step. I do recommend you download Valentina Studio, it's free - I'll explain later. http://www.valentina-db.com/en/all-downloads > P.S. If you have a recommendation for a database that is REALLY easy to > use with LC, please let me know. > > Whether you are just interested in trying out LC's database capabilities, or have a real need to do something with a database, unless you definitely need something fed from a web server you can't go wrong with SQLite. It's already installed on your computer (it is for OS X and I'm pretty sure it is the same for Win and Linux) so there is ZERO installation process to go through. It's free and will always be free - unlike MySQL which has a pretty convoluted licensing structure which most people can't understand and so you'll often see a suggestion to 'contact MySQL, give them your case and see what they say'. You can download the free Valentina Studio which allows you to build, view and test SQLite dbs. Makes it really easy with LC (or any other programming environment) to test SQL statements outside of LC to determine is it the LC code that is wrong or the SQL statement. There are also plenty of online tutorials for SQLite so you can play with Valentina Studio + SQLite first, make sure you've got the basics of dbs organised and working before taking the next step and seeing if you can get LC to talk to the db you've created. Unless you have very large data sets it is unlikely that you'll notice any real speed difference. Yes, you might be able to prove that Valentina is a couple of ms faster, but to the user it all happens within the blink of an eye. Even then, if you do have huge data sets, you can do all your learning and testing with SQLite, once you feel you know what you are doing, you can download a trial version of Valentina, export all the data out of SQLite and import it into a Valentina db, create your own 'realistic' benchmark test and see the difference for yourself. You'll then know exactly what you are getting for your money. There are many LC + SQLite users on this List, and a couple of gurus, so if you run into trouble help is not far away. HTH From toolbook at kestner.de Thu Oct 30 04:39:50 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 30 Oct 2014 09:39:50 +0100 Subject: AW: Valentina db In-Reply-To: References: Message-ID: <006101cff41d$123de970$36b9bc50$@de> Hi Larry, I am using Valentina locally without server, that?s not too hard. But I think it depends on your needs of number of users, client/server, performance, etc. SQLite probably is even easier and it is free. The reason for me going with Valentina was, that I needed to protect the data of my local db and as far as I know, I can't do that with SQLite. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von larry at significantplanet.org > Gesendet: Donnerstag, 30. Oktober 2014 08:42 > An: use-livecode at lists.runrev.com > Betreff: Valentina db > > Hello, > > Has anyone used Valentina database with LC? > > If so, what is your experience with it? > > Is it a product that a newbie (me) could reasonably learn how to use with LC? > > Thanks for any info, > Larry > > P.S. If you have a recommendation for a database that is REALLY easy to use > with LC, please let me know. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 30 04:57:14 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 30 Oct 2014 16:57:14 +0800 Subject: Benchmarking 7.0 performance In-Reply-To: <5450EB38.20704@tkf.att.ne.jp> References: <544F8C01.4090506@tkf.att.ne.jp> <5450EB38.20704@tkf.att.ne.jp> Message-ID: So you are saying that there is NO difference between 6.5 and 7.0, both take 10-12 sec to save your file. Are you still looking for a way to speed that up? If so the short answer is you need to move all those records to an SQLite database. 1 card + 1 SQLite DB and guaranteed any changes you make will be saved in less than the blink of an eye. Of course, learning how to work with SQLite, transfer all that data and modify your stack will take somewhat longer; but thankfully LC is a rapid development environment so you can feel good about the fact that it'll take less time than any other language ;-) If the thought of learning SQLite seems daunting then working with a NOT CSV* flat file would also yield noticeable speed increases. On Wed, Oct 29, 2014 at 9:27 PM, Tim Selander wrote: > Hi Kay, > > Good question! Wait a moment.... > > OK, I'm back. Under 6.5 it also takes about 12 seconds. > > It is a data stack in the old HC sense, not SQL or even CSV. It is about > 11,000 cards, each containing the customer's address & other info. !0.2MB > total file size. > > I am pleased with how fast it is working for me other than saves. And now > Rinaldi has come to my rescue again. I have use a LOT of his stuff over all > these years. > > Tim Selander > Tokyo, Japan > > > > On 10/29/14, 1:57 PM, Kay C Lan wrote: > >> On Tue, Oct 28, 2014 at 8:28 PM, Tim Selander >> wrote: >> >> saving changes to the file takes a full 10 seconds or more. >>> >>> How long does it take in LC 6.x ? >> >> When you say 'measly 10MB file - customer database. Are you saying the >> file >> is a db file like mySQL or SQLite, or is it just a flat file that you use >> to store tab/comma separated values? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 30 05:34:30 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 30 Oct 2014 17:34:30 +0800 Subject: Benchmarking 7.0 performance In-Reply-To: References: <544F8C01.4090506@tkf.att.ne.jp> <5450EB38.20704@tkf.att.ne.jp> Message-ID: Sorry, hit the Send button accidentally before finding the link. NOT CSV* * For reasons as to why you wouldn't use a comma to separate your values, please refer to this excellent article by Richard Gaskin: http://www.fourthworld.com/embassy/articles/csv-must-die.html Unfortunately, using 1 Card + Flat File means you have to code all the search, filter and sort capabilities that you get free if you use SQLite. Depending on your data and the likely searches that will be carried out, this may not be a trivial matter and may take just as much time to implement as learning how to use SQLite with LC. If you want to hone your LC skill set then 1 Card + Flat file would be the way to go. If your looking to expand your horizons, then learning how to implement SQLite into LC will definitely open more doors for use in more projects down the road. HTH From larry at significantplanet.org Thu Oct 30 05:50:52 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 30 Oct 2014 03:50:52 -0600 Subject: Valentina db References: Message-ID: Thanks very much Kay and Tiemo! ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Thursday, October 30, 2014 2:33 AM Subject: Re: Valentina db > On Thu, Oct 30, 2014 at 3:42 PM, wrote: > >> Hello, >> >> Has anyone used Valentina database with LC? >> >> Yes, for many years now. > > >> If so, what is your experience with it? >> >> Love it. Especially if you need speed and simplified table >> relationships - > Binary Links are great. > > >> Is it a product that a newbie (me) could reasonably learn how to use with >> LC? >> >> Probably not at your stage. > > I am a hobbyist. I was moderately competent with HC when I moved to > Revolution which is now LC. Because of LC db capabilities I then played > with MySQL and SQLite with some success, but again I was fluent with LC at > the time. In the search for more speed I went to Valentina. Having some > knowledge of SQL and pretty fluent with LC made the move to Valentina less > bumpy. > > Noting your many bumps along the path of LC enlightenment I'm not sure > getting tangled with Valentina right now would be painless. I note > frequent > posts on the Valentina Users List about people who get stuck installing > Valentina for LC. It's a simple 2 step process, but as most people's > experience with installers is that it does absolutely everything for them, > they regular seem to miss the need for the 2nd step. > > I do recommend you download Valentina Studio, it's free - I'll explain > later. > > http://www.valentina-db.com/en/all-downloads > > >> P.S. If you have a recommendation for a database that is REALLY easy to >> use with LC, please let me know. >> >> Whether you are just interested in trying out LC's database capabilities, > or have a real need to do something with a database, unless you definitely > need something fed from a web server you can't go wrong with SQLite. It's > already installed on your computer (it is for OS X and I'm pretty sure it > is the same for Win and Linux) so there is ZERO installation process to go > through. It's free and will always be free - unlike MySQL which has a > pretty convoluted licensing structure which most people can't understand > and so you'll often see a suggestion to 'contact MySQL, give them your > case > and see what they say'. > > You can download the free Valentina Studio which allows you to build, view > and test SQLite dbs. Makes it really easy with LC (or any other > programming > environment) to test SQL statements outside of LC to determine is it the > LC > code that is wrong or the SQL statement. There are also plenty of online > tutorials for SQLite so you can play with Valentina Studio + SQLite first, > make sure you've got the basics of dbs organised and working before taking > the next step and seeing if you can get LC to talk to the db you've > created. > > Unless you have very large data sets it is unlikely that you'll notice any > real speed difference. Yes, you might be able to prove that Valentina is a > couple of ms faster, but to the user it all happens within the blink of an > eye. Even then, if you do have huge data sets, you can do all your > learning > and testing with SQLite, once you feel you know what you are doing, you > can > download a trial version of Valentina, export all the data out of SQLite > and import it into a Valentina db, create your own 'realistic' benchmark > test and see the difference for yourself. You'll then know exactly what > you > are getting for your money. > > There are many LC + SQLite users on this List, and a couple of gurus, so > if > you run into trouble help is not far away. > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Oct 30 06:27:45 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 30 Oct 2014 11:27:45 +0100 Subject: QT replacement on Windows? Message-ID: <007701cff42c$25e13bd0$71a3b370$@de> Hello, now that runrev replaced Quicktime by AVFoundation on Mac, I am curious about a solution for windows. One of the extendet targets of the crowdfunding was replacing QT (not only on Mac). But I don't hear anything anymore about this roadmap issue. Probably it was easier to replace on Mac, but I think a replacement on Windows is much more urgent. Quicktime is officially not any more supported since Windows 7 (or even Vista). Since 5 years I have constant trouble with customers because of "failed" QT installations. The QT installation itself doesn't fails, but LC doesn't recognize QT as being installed or produces rubbish when playing videos or taking screenshots of a video. Because the issues happen in my program, my customers complain me and my LC program even though QT is the reason, but that isn't of interest for them. Only the result counts. Since 5 years I constantly have to tell customers to reinstall QT, sometimes up to 5 times, until finally the old QT API is found by LC. At least 11 FAQs on my support site care about Quicktime failures. This really is a pain. Has anybody heard anything what has happened to this roadmap issue? Tiemo From peterwawood at gmail.com Thu Oct 30 08:10:49 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 30 Oct 2014 20:10:49 +0800 Subject: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <006001cff41b$cacb01f0$606105d0$@de> References: <004c01cff393$0d1ed420$275c7c60$@de> <006001cff41b$cacb01f0$606105d0$@de> Message-ID: <924A4B7D-ACEB-4E24-99EA-9EA1ECE28E1F@gmail.com> Hello Tiemo > On 30 Oct 2014, at 16:30, Tiemo Hollmann TB wrote: > > Hello Peter, > thank you for taking your time for your helpful explanations. I still have > two issues left. > I found in the SQL export of my db that it is UTF-8 encoded. So perhaps the > definition of a collation "ascii_general_ci" defines a "subset" of UTF-8? True ASCII (the first 128 characters which includes A-Z and a-z but not ?, ?, etc) is a genuine subset of UTF-8. From a quick web search, it seems the _ci refers to case insensitive collation so that "A" and "a" are treated the same. > As far as I understand it now, I should pass all LC strings with > uniEncode(string,UTF8) to the PHP because of the UTF-8 of MySQL. Probably I > will fiddle around with uniEncode/uniDecode at the interface to the PHPs and > see with which encode parameter the correct string gets into the MySQL db. > > On the other side I am importing data from a Valentina-DB. Where I have to > set the Encoding to Macintosh / Latin, depending on the platform. Does this > platform related conversion gets obsolete with LC 7 UniCode, or is this > still valid, because of data coming from outside, though Valentina probably > also is Unicode. From their website, it seems that Valentina uses the same 'C library' as LiveCode (LibICU) and stores text UTF-16 encoded. In theory, you shouldn't need to convert text passing between the two but it may be different in practice. Hope this helps. Peter From toolbook at kestner.de Thu Oct 30 08:24:13 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 30 Oct 2014 13:24:13 +0100 Subject: AW: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <924A4B7D-ACEB-4E24-99EA-9EA1ECE28E1F@gmail.com> References: <004c01cff393$0d1ed420$275c7c60$@de> <006001cff41b$cacb01f0$606105d0$@de> <924A4B7D-ACEB-4E24-99EA-9EA1ECE28E1F@gmail.com> Message-ID: <00aa01cff43c$6b2d74f0$41885ed0$@de> Thanks Peter > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Peter W A Wood > Gesendet: Donnerstag, 30. Oktober 2014 13:11 > An: How to use LiveCode > Betreff: Re: Unicode: LC 7.0 - PHP - MySQL? > > Hello Tiemo > > > On 30 Oct 2014, at 16:30, Tiemo Hollmann TB wrote: > > > > Hello Peter, > > thank you for taking your time for your helpful explanations. I still > > have two issues left. > > I found in the SQL export of my db that it is UTF-8 encoded. So > > perhaps the definition of a collation "ascii_general_ci" defines a "subset" > of UTF-8? > > True ASCII (the first 128 characters which includes A-Z and a-z but not ?, ?, > etc) is a genuine subset of UTF-8. From a quick web search, it seems the _ci > refers to case insensitive collation so that "A" and "a" are treated the same. > > > As far as I understand it now, I should pass all LC strings with > > uniEncode(string,UTF8) to the PHP because of the UTF-8 of MySQL. > > Probably I will fiddle around with uniEncode/uniDecode at the > > interface to the PHPs and see with which encode parameter the correct string > gets into the MySQL db. > > > > On the other side I am importing data from a Valentina-DB. Where I > > have to set the Encoding to Macintosh / Latin, depending on the > > platform. Does this platform related conversion gets obsolete with LC > > 7 UniCode, or is this still valid, because of data coming from > > outside, though Valentina probably also is Unicode. > > From their website, it seems that Valentina uses the same 'C library' as > LiveCode (LibICU) and stores text UTF-16 encoded. In theory, you shouldn't > need to convert text passing between the two but it may be different in > practice. > > Hope this helps. > > Peter > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 30 08:37:55 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Oct 2014 13:37:55 +0100 Subject: Encoding videos for Android In-Reply-To: References: Message-ID: <54523123.5000400@economy-x-talk.com> What kind of custom control would that be, David? I'm currently having the same 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 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/2013 10:10, David Bovill wrote: > By the way the issue appears to be that "play someVideoFile" does not work > on Android - at least my set up (I only get sound no image). Using a custom > control to play the video works fine with both video formats. > > On 1 March 2013 17:03, David Bovill wrote: > >> I've tried 2 videos so far for playback on Android (Nexus 7). Both played >> but without showing a picture - that is the sound played. The first was an >> .m4v file which I did not expect to play, and then I tried converting it to >> a .webm file - this only played the sound as well. The webm file played >> fine using Chrome or Firefox. >> >> Any thoughts on how to best encode videos? I'll be testing some other >> files - but some tips could save time :) >> From selander at tkf.att.ne.jp Thu Oct 30 08:39:50 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 30 Oct 2014 21:39:50 +0900 Subject: Benchmarking 7.0 performance In-Reply-To: References: <544F8C01.4090506@tkf.att.ne.jp> <5450EB38.20704@tkf.att.ne.jp> Message-ID: <54523196.1030206@tkf.att.ne.jp> Thanks, Kay! Rinaldi's plug in has "saved" me with the saving problem -- it also seems a little slow on the saves, but does it in the background with no visible impact/slowdown while using the stack as it saves. Good enough for our needs. I hear you on the merits of SQLite. But my main goal for this project is to move an in house customer tracking system from Hypercard over to LC, giving my office users as close to the same experience they have on HC now, AND with as little time spent on my part. We're too small to have an IT guy per se... so the IT guy is me. I wouldn't bother moving the system, but we're running out of OS9 compatible printers for invoices, receipts, mailing labels, etc. Our needs are very simple. Which is good, because I'm a video production guy, not a programmer! I have done quite a bit of experimenting with MySQL and have "successfully" implemented a CRUD system that gets Japanese data on and off the MySQL server. I like tinkering on this kind of thing in my spare time. But I haven't been able to figure out how to generate the right SQL query with a script, based on simple form or picklist input. On the other hand, I made a simple search interface very similar to Filemaker's (fill in what you want on a search form that looks like an empty record) and was able to script that to get just the right "mark card where..." in one evening. And LC is fast enough that no matter how complicated a search I throw at it -- 'Get me all customers in Tokyo or Yokohama that have bought X and Y, and whose first order was last year or this year' -- and present it as a datagrid or a subset of cards all within 3 or 4 seconds. Plenty fast enough for my users. I have some ideas of some things I'd like to try in the future with SQL... but not anytime in the immediate future. Thanks for your coaching on this! Tim P.S. REALLY enjoying the seamless unicode in v7! On 10/30/14, 6:34 PM, Kay C Lan wrote: > Sorry, hit the Send button accidentally before finding the link. > > NOT CSV* > > * For reasons as to why you wouldn't use a comma to separate your values, > please refer to this excellent article by Richard Gaskin: > > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > Unfortunately, using 1 Card + Flat File means you have to code all the > search, filter and sort capabilities that you get free if you use SQLite. > Depending on your data and the likely searches that will be carried out, > this may not be a trivial matter and may take just as much time to > implement as learning how to use SQLite with LC. > > If you want to hone your LC skill set then 1 Card + Flat file would be the > way to go. > > If your looking to expand your horizons, then learning how to implement > SQLite into LC will definitely open more doors for use in more projects > down the road. > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mkoob at rogers.com Thu Oct 30 11:06:22 2014 From: mkoob at rogers.com (Martin Koob) Date: Thu, 30 Oct 2014 08:06:22 -0700 (PDT) Subject: QT replacement on Windows? In-Reply-To: <007701cff42c$25e13bd0$71a3b370$@de> References: <007701cff42c$25e13bd0$71a3b370$@de> Message-ID: <1414681582265-4685197.post@n4.nabble.com> >From the roadmap http://livecode.com/community/roadmap/ the cross platform player object will be made possible by the new widget framework. My understanding is that now that LiveCode 7 and 6.7 are released work can now start on widgets as part of the next version of LiveCode. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/QT-replacement-on-Windows-tp4685192p4685197.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Thu Oct 30 11:41:12 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 30 Oct 2014 08:41:12 -0700 Subject: Valentina db In-Reply-To: References: Message-ID: On Oct 30, 2014, at 12:42 AM, larry at significantplanet.org wrote: > Hello, > > Has anyone used Valentina database with LC? > > If so, what is your experience with it? > > Is it a product that a newbie (me) could reasonably learn how to use with LC? > > Thanks for any info, > Larry > > P.S. If you have a recommendation for a database that is REALLY easy to use with LC, please let me know. Hi Larry, At Canela Software, we have developed a database just for LiveCode. We use it in all of our applications that need databases. We have designed it to be very easy to use. We call it CassiaDB. Local storage is free to use as you like, forever. You can give it a try through our LiveCloud website: livecloud.io You will find full documentation, code examples, and working programs written in LiveCode using CassiaDB for data storage. If you have any questions, please feel free to contact us directly. We are here to help. Best regards, Mark Talluto livecloud.io canelasoftware.com From rman at free.fr Thu Oct 30 13:56:53 2014 From: rman at free.fr (Robert Mann) Date: Thu, 30 Oct 2014 10:56:53 -0700 (PDT) Subject: livecode versions what do the various suffix mean? DP/RC/GM Message-ID: <1414691813975-4685199.post@n4.nabble.com> Self explaining in title! Dummy question.. but.. can't find information easily in the live code account space. dp = ?? rc = ?? gm = ?? thanks.. ! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-versions-what-do-the-various-suffix-mean-DP-RC-GM-tp4685199.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu Oct 30 14:03:17 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 30 Oct 2014 14:03:17 -0400 Subject: livecode versions what do the various suffix mean? DP/RC/GM In-Reply-To: <1414691813975-4685199.post@n4.nabble.com> References: <1414691813975-4685199.post@n4.nabble.com> Message-ID: <0EB163DB-9E24-4A37-980B-49469968D0A4@verizon.net> I think DP would be Developer Preview. RC is Release Candidate, GM is Gold Master. > On Oct 30, 2014, at 1:56 PM, Robert Mann wrote: > > Self explaining in title! Dummy question.. but.. can't find information > easily in the live code account space. > > dp = ?? > > rc = ?? > > gm = ?? > > thanks.. ! > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-versions-what-do-the-various-suffix-mean-DP-RC-GM-tp4685199.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 runrev at vonfintel.org Thu Oct 30 14:32:04 2014 From: runrev at vonfintel.org (Thomas von Fintel) Date: Thu, 30 Oct 2014 19:32:04 +0100 Subject: livecode versions what do the various suffix mean? DP/RC/GM In-Reply-To: <1414691813975-4685199.post@n4.nabble.com> References: <1414691813975-4685199.post@n4.nabble.com> Message-ID: <0C21F7CE-452B-4A78-8A66-23BE96ACD169@vonfintel.org> developer preview release candidate gold master http://en.wikipedia.org/wiki/Software_release_life_cycle Greetings Thomas Am 30.10.2014 um 18:56 schrieb Robert Mann: > Self explaining in title! Dummy question.. but.. can't find information > easily in the live code account space. > > dp = ?? > > rc = ?? > > gm = ?? > > thanks.. ! > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-versions-what-do-the-various-suffix-mean-DP-RC-GM-tp4685199.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Oct 30 14:36:33 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2014 11:36:33 -0700 Subject: Two features I don't understand Message-ID: <54528531.2060207@fourthworld.com> 1. ID caching Page 10 of the v6.0 Release Notes: The description there says: The engine now caches lookups of control references of the form ?card id ...? and ?control id ...?. This speeds up any access using those forms after the first time, turning an operation that would be completed in linear time into one that will be completed in constant time. What does that mean in practical terms? How can I benchmark the benefit of this new feature? 2. StyledText array Pages 16-18 of the v5.5.4 Release Notes: Anyone here use this? Is it faster than doing equivalent operations on htmlText? While the style attributes themselves are well represented in the array, the character offsets of runs don't seem to be present, so I'm unclear as to what this should be used for. Any insight into either of these would be appreciated - TIA... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Oct 30 14:44:25 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2014 11:44:25 -0700 Subject: livecode versions what do the various suffix mean? DP/RC/GM In-Reply-To: <0EB163DB-9E24-4A37-980B-49469968D0A4@verizon.net> References: <0EB163DB-9E24-4A37-980B-49469968D0A4@verizon.net> Message-ID: <54528709.1040406@fourthworld.com> Robert Mann wrote: > Self explaining in title! Dummy question.. but.. can't find > information easily in the live code account space. > > dp = ?? > > rc = ?? > > gm = ?? > > thanks.. ! From the top of the Downloads page at : STABLE - These releases are stable public releases. RC - Short for "Release Candidate", these releases are feature complete and have been made public to allow LiveCode developers to test whether they think the release is stable. Users who find bugs can file them at http://quality.runrev.com. DP - Short for "Developer Preview", these releases are not feature complete and likely to contain bugs. They have been made public to allow LiveCode developers to experiment with the latest features and feedback to the team. Users who find bugs can file them at http://quality.runrev.com. "GM" is an older designation for "Stable", harkening back to the days when software was shipped on CDs: it stands for "Golden Master", and back in the early days master builds were sent to the disk duplicator using especially high-quality media which had a golden color. -- 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 mikedoub at gmail.com Thu Oct 30 17:32:05 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 30 Oct 2014 17:32:05 -0400 Subject: Two features I don't understand In-Reply-To: <54528531.2060207@fourthworld.com> References: <54528531.2060207@fourthworld.com> Message-ID: <667CBDE7-E0D8-499D-A889-2F412FFDC39C@gmail.com> I use the styled arrays quite often when creating content, applying styles and taking advantage of the metadata. I can?t comment on the speed. I have a tendency to think in terms of arrays so this is pretty comfortable for me. I did a lot of work using space above and below and was really bummed when pageranges did not take them into account. (a bug report exists for this.) I guess I should look and see if 7.0 addressed that issue. Rather than including char offsets for runs in the array itself, I think it might be more useful to have an easy way to get from a char offset to the pgh_number/run_number within the styled array. Another thing to look at in 7.0. -= Mike On Oct 30, 2014, at 2:36 PM, Richard Gaskin wrote: > 1. ID caching > Page 10 of the v6.0 Release Notes: > > > The description there says: > > The engine now caches lookups of control references of the form > ?card id ...? and ?control id ...?. This speeds up any access > using those forms after the first time, turning an operation that > would be completed in linear time into one that will be completed > in constant time. > > What does that mean in practical terms? How can I benchmark the benefit of this new feature? > > > 2. StyledText array > Pages 16-18 of the v5.5.4 Release Notes: > > > Anyone here use this? Is it faster than doing equivalent operations on htmlText? While the style attributes themselves are well represented in the array, the character offsets of runs don't seem to be present, so I'm unclear as to what this should be used for. > > > Any insight into either of these would be appreciated - TIA... > > -- > 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 alex at tweedly.net Thu Oct 30 18:32:31 2014 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Oct 2014 22:32:31 +0000 Subject: Two features I don't understand In-Reply-To: <54528531.2060207@fourthworld.com> References: <54528531.2060207@fourthworld.com> Message-ID: <5452BC7F.5010605@tweedly.net> On 30/10/2014 18:36, Richard Gaskin wrote: > 1. ID caching > Page 10 of the v6.0 Release Notes: > > > The description there says: > > The engine now caches lookups of control references of the form > ?card id ...? and ?control id ...?. This speeds up any access > using those forms after the first time, turning an operation that > would be completed in linear time into one that will be completed > in constant time. > > What does that mean in practical terms? How can I benchmark the > benefit of this new feature? > Hmmmm - I said this once before :-) :-) If I could remember well enough how to find things on Nabble or Gmane, I'd just point to the original thread - but since I can't and am in a hurry - here's a message I sent to this list on 12/05/2013. > > > > Yes, here's an example. The clue (I think) is in the "linear > time...into constant time" > > Create a large-ish number of controls - in this stack I cloned a > button 1000 times, calling them > BBB1 BBB2 .... BBB1000 > > Then this code accesses a single control many times - and shows that > accessing by id is much faster than accessing by name, but more > importantly here, that in 6.0 access by id to the most recently > accessed control is very fast. > > in 5.5.3 > name takes 830 ms while id takes only 250 ms > > but in 6.0 (i.e. with id caching) > name takes 830 ms while id takes 5 ms > > -- Alex. > > > > global K > > on mouseUp > put 1000 into K > > put the millisecs into t1 > put "BBB"&(K-10) into tName > repeat 10000 times > put the short name of control tName into t > end repeat > put the millisecs-t1 && t &CR after msg > > put the millisecs into t1 > put the id of button tName into tID > repeat 10000 times > put the short name of control id tID into t > end repeat > put the millisecs-t1 && t &CR after msg > > end mouseUp > > > > On 11/05/2013 03:11, Richard Gaskin wrote: > The Release Notes for v6 include: > > ID caching (6.0 DP 2) > New global property ? allowDatagramBroadcasts (6.0 DP 2) > A new global property allowDatagramBroadcasts has been added. This > needs to be set to true before sending to a broadcast address > (enables the per-socket flag for whether they are allowed). > The engine now caches lookups of control references of the form > ?card id ...? and ?control id ...?. > This speeds up any access using those forms after the first time, > turning an operation that would be completed in linear time into > one that will be completed in constant time. > > > I'm not clear on the syntax, so I've been unable to benchmark the > performance boost. > > Anyone here have a sample of ID caching in action? > > -- > 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 Thu Oct 30 19:44:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 30 Oct 2014 16:44:15 -0700 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> References: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> Message-ID: Hi Graham, Late to this one but there is indeed a new property named "status" which is why your script now fails. Unfortunately, can't tell what it's used for since there's no dictionary entry for it. About to file a bug report for that. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Oct 25, 2014 at 6:26 AM, Graham Samuel wrote: > In a desktop app (Mac and Windows - currently testing the Mac version) I?m > using a button (actually a group acting as a button) designed by Mark > Schonewille which does nice things with shading. This has been working for > a long time, ever since it was announced by Mark. Now in LC 6.7, I get a > compile error in a setProp handler in the group (in fact in several groups > with the same script). Part of a case statement looks like this > > ? > lock messages > set the status["disabled"] of me to not theBool > set the status["hilite"] of me to false > unlock messages > ? > > The IDE reports > > > compiling at 2:58:22 PM > > Type Expression: bad factor > > Object ClearAllGroup > > Line set the status["disabled"] of me to not theBool > > Hint [ > > There is no hint. As it would seem to be a syntax failure, maybe some new > reserved word is getting in the way - but this is just a guess. > > I have not yet been able to isolate this to confirm and then report it as > a bug. Mark, if you're around, do you understand what's happening? I quite > understand if you haven't got time to look at it, but I thought I'd ask > before trying to go deeper into the issue. > > TIA > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From igor at semperuna.com Thu Oct 30 20:51:13 2014 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Fri, 31 Oct 2014 11:51:13 +1100 Subject: (Arbitrarily) Long-Division Script Message-ID: <3F774EA0-2ADD-48B1-A5AF-6D3D57BBB57B@semperuna.com> Hi all, I wanted to develop a library to allow me to perform basic maths (add, subtract, multiply, divide) with arbitrarily long numbers in LiveCode. My requirements are simple: - integers and floating-point numbers must be supported as all operands in all operations, to an arbitrarily large number of decimal cases - speed is NOT an issue: performances can safely be relatively slow, as it is unlikely that it?ll need to perform hundreds of thousands of operations per second - accuracy IS an issue: needless to say, all operations must provide *accurate* and *reliable* results, regardless of how many decimal cases are used It proved relatively easy to do the addition, multiplication and subtraction operations in LiveCode. I followed the ?pen-and-paper? algorithm, and it all seems to be working really well - I?m happy to provide anybody with a copy of the scripts off-list, if you wish (just send me an email directly). I?m stuck, however, trying to implement DIVISION. There does not seem to be an ?easy? pen-and-paper algorithm that would support arbitrarily large numbers with unknown number of decimal cases. Most long-division algorithm seems to expect that the number being divided can be of an arbitrarily length, but they expect that the divisor (the number we are dividing BY) is going to be low enough, so that the person making the division will ?know? instinctively how many times it would ?fit? into the number being divided. These algorithms are not recommended once we start dealing with divisor of 3 digits or more. There does not seem to be an algorithm that would allow us to procede ?digit-by-digit? with the division, as can be done with addition/subtraction/multiplication? Or is there? Searching Google and Wikipedia has yielded articles about using bitwise operations, or complex mathematical theory, both of which are beyond me. Is there a Math Wiz in this list, who could give us a layman?s explantion of an algorithm that could be used? Any help would be much appreciated! Kindest regards to all, -- Igor Couto Sydney, Australia From pete at lcsql.com Thu Oct 30 21:43:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 30 Oct 2014 18:43:15 -0700 Subject: 7.0 Bug Message-ID: Getting the imagesource of a character that is immediately preceded by a tab character returns empty even if the character has an imagesource set on it. QCC report number 13887. Pretty obscure but it pretty much cripples lcStackBrowser when trying to expand a line. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From ambassador at fourthworld.com Thu Oct 30 23:30:00 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2014 20:30:00 -0700 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: References: Message-ID: <54530238.4070507@fourthworld.com> Peter Haworth wrote: > Late to this one but there is indeed a new property named "status" > which is why your script now fails. Unfortunately, can't tell what > it's used for since there's no dictionary entry for it. About to > file a bug report for that. Please do - thanks. Searching for "status" in the v7 Release Notes it seems that it's now a property of the new player widget. -- 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 Thu Oct 30 23:55:03 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2014 20:55:03 -0700 Subject: Two features I don't understand In-Reply-To: <667CBDE7-E0D8-499D-A889-2F412FFDC39C@gmail.com> References: <667CBDE7-E0D8-499D-A889-2F412FFDC39C@gmail.com> Message-ID: <54530817.5040004@fourthworld.com> Michael Doub wrote: > I use the styled arrays quite often when creating content, applying > styles and taking advantage of the metadata. Thanks. I still don't understand how I might use it, but I'm glad someone's using it. RunRev don't generally spend time on a feature unless there's either a lot of people asking for it or it's something they need themselves. Since AFAIK no one's ever asked for this it seems an internal need, but the examples in the Dictionary are a bit weak, simply using it to copy formatted content but nothing more interesting than that. If RunRev needed this themselves, they've done a good job of concealing why. :) Copying styled text works great with htmlText. > Rather than including char offsets for runs in the array itself, > I think it might be more useful to have an easy way to get from > a char offset to the pgh_number/run_number within the styled array. > Another thing to look at in 7.0. Yes, when I first heard about StyledText I had imagined it would have elements like that, which would make it much more interesting (or at least understandable) for me. -- 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 Fri Oct 31 00:04:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2014 21:04:32 -0700 Subject: Two features I don't understand In-Reply-To: <5452BC7F.5010605@tweedly.net> References: <5452BC7F.5010605@tweedly.net> Message-ID: <54530A50.40806@fourthworld.com> Alex Tweedly wrote: > On 30/10/2014 18:36, Richard Gaskin wrote: >> 1. ID caching >> Page 10 of the v6.0 Release Notes: >> >> >> The description there says: >> >> The engine now caches lookups of control references of the form >> ?card id ...? and ?control id ...?. This speeds up any access >> using those forms after the first time, turning an operation that >> would be completed in linear time into one that will be completed >> in constant time. >> >> What does that mean in practical terms? How can I benchmark the >> benefit of this new feature? >> > Hmmmm - I said this once before :-) :-) My apologies for the inconvenience. I'd either missed it before or completely forgot about it, but the latter seems unlikely given how remarkable the post was: >> Yes, here's an example. The clue (I think) is in the "linear >> time...into constant time" >> >> Create a large-ish number of controls - in this stack I cloned a >> button 1000 times, calling them >> BBB1 BBB2 .... BBB1000 >> >> Then this code accesses a single control many times - and shows that >> accessing by id is much faster than accessing by name, but more >> importantly here, that in 6.0 access by id to the most recently >> accessed control is very fast. >> >> in 5.5.3 >> name takes 830 ms while id takes only 250 ms >> >> but in 6.0 (i.e. with id caching) >> name takes 830 ms while id takes 5 ms >> >> -- Alex. >> >> >> >> global K >> >> on mouseUp >> put 1000 into K >> >> put the millisecs into t1 >> put "BBB"&(K-10) into tName >> repeat 10000 times >> put the short name of control tName into t >> end repeat >> put the millisecs-t1 && t &CR after msg >> >> put the millisecs into t1 >> put the id of button tName into tID >> repeat 10000 times >> put the short name of control id tID into t >> end repeat >> put the millisecs-t1 && t &CR after msg >> >> end mouseUp What I find most remarkable is the way your benchmark makes the value of this ID caching seem rather trivial. I trust this was a one-liner, as I can't imagine them spending much time optimizing something so very specialized and which takes so little execution time per iteration. I wonder what prompted this one...perhaps something specific to the coding style of the person who wrote the Project Browser? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Fri Oct 31 00:32:12 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 31 Oct 2014 15:32:12 +1100 Subject: Two features I don't understand In-Reply-To: <54530817.5040004@fourthworld.com> References: <667CBDE7-E0D8-499D-A889-2F412FFDC39C@gmail.com> <54530817.5040004@fourthworld.com> Message-ID: <3A18BB35-6B24-485F-9F65-A2AB2F447EE8@sweattechnologies.com> On 31 Oct 2014, at 2:55 pm, Richard Gaskin wrote: > If RunRev needed this themselves, they've done a good job of concealing why. :) Copying styled text works great with htmlText. Richard if you remember originally styledText supported a few things that htmlText didn't and people complained so they upgraded htmlText so I think the original plan was to introduce a way to work with the new field features and that may have become somewhat redundant after the update to htmlText. I think it also mirrors more closely the data structures used in the engine and therefore be a bit quicker to get and set. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Fri Oct 31 00:48:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2014 21:48:38 -0700 Subject: Two features I don't understand In-Reply-To: <3A18BB35-6B24-485F-9F65-A2AB2F447EE8@sweattechnologies.com> References: <3A18BB35-6B24-485F-9F65-A2AB2F447EE8@sweattechnologies.com> Message-ID: <545314A6.1080805@fourthworld.com> Monte Goulding wrote: > On 31 Oct 2014, at 2:55 pm, Richard Gaskin wrote: > >> If RunRev needed this themselves, they've done a good >> job of concealing why. :) Copying styled text works >> great with htmlText. > > Richard if you remember originally styledText supported > a few things that htmlText didn't and people complained... Rightly so, according to the inventor of the LiveCode engine: Dr. Raney once explained to me that the purpose of htmlText is to provide an easily-manipulatable way to faithfully reproduce the entire contents and styles within a field or chunk. Anything less is indeed a bug report. :) I like the idea of using arrays to manipulate field contents, but alas we have so much missing from the the styledText representation at the moment. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Fri Oct 31 03:49:35 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 31 Oct 2014 08:49:35 +0100 Subject: AW: QT replacement on Windows? In-Reply-To: <1414681582265-4685197.post@n4.nabble.com> References: <007701cff42c$25e13bd0$71a3b370$@de> <1414681582265-4685197.post@n4.nabble.com> Message-ID: <001d01cff4df$37b8b550$a72a1ff0$@de> Hi Martin, thank you for the roadmap site. So there still is hope Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Martin Koob > Gesendet: Donnerstag, 30. Oktober 2014 16:06 > An: use-revolution at lists.runrev.com > Betreff: Re: QT replacement on Windows? > > From the roadmap http://livecode.com/community/roadmap/ the cross platform > player object will be made possible by the new widget framework. My > understanding is that now that LiveCode 7 and 6.7 are released work can now > start on widgets as part of the next version of LiveCode. > > Martin > > > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/QT-replacement-on-Windows- > tp4685192p4685197.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 admin at FlexibleLearning.com Fri Oct 31 04:39:27 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 31 Oct 2014 08:39:27 -0000 Subject: Scripter's Scrapbook and LC7 Message-ID: <002b01cff4e6$2f9edeb0$8edc9c10$@FlexibleLearning.com> There is a boolean evaluation bug in LC7 that throws a script error when you close your Scrapbook. This has now been reported. It does not seem to affect LC6. In the expectation of a fix in the next release, it will be easier to get your Scrapbook fixed than go through the process of an unnecessary maintenance update. If you are using LC7 and are having this issue, simply send me your Scrapbook file and I'll return it to you in working order. Hugh Senior FLCo From mblivecode at harbourhosting.co.uk Fri Oct 31 06:18:45 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 31 Oct 2014 10:18:45 +0000 Subject: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <004c01cff393$0d1ed420$275c7c60$@de> References: <004c01cff393$0d1ed420$275c7c60$@de> Message-ID: <54536205.3050102@harbourhosting.co.uk> A little additional info from me. If your database will only ever contain ascii characters, then ascii_general, utf-8 and latin1_swedish will all work fine because the ascii characters are the same in all of them. I would expect problems though if mixing these up and subsequently attempting to introduce non-ascii characters to the data. latin1_swedish was the default in MYSQL, since it was originally developed by Swedes. You should set the desired collation for the database when you create it, but it is also possible to change it later. In my experience it is important to get the character set defined consistently throughout the workflow. This involves: 1) The collation of the database (and individual columns) Normally set when database created. 2) The database connection should specify the character set to be transmitted (done in php when making the connection) 3) Character manipulations in php may need to specify the character set 4) LC scripts of course need to take character set into account. 5) Any html involved should specify and be written using the same character set, especially if forms are acquiring user input to be stored in the database. For web-based work, utf-8 is very popular and utf8_general_ci is often nowadays the default collation in web database front ends. HTH Martin Baxter On 29/10/14 16:11, Tiemo Hollmann TB wrote: > Hello, > > I have a LC 6 program communicating through PHP with a MySQL db. Because my > background about Unicode, PHP and MySQL is limited I wonder what I have to > care about, when migrating to LC 7. > > I have read the release notes of LC 7. My limited thinking was, that UniCode > really has a unique code for each sign on the planet. But why is there a > UTF-8 / UTF-16. Which one is LC using? Which one is my MySQL db using? I > don't find any information about UTF-8/16 in my db description. How is the > collation of the db related to UTF-x and to LC?. My tables are collated in > ascii_general_ci. In some of my PHPs a "COLLATE latin1_swedish_ci" is used. > I have no idea why this Swedish collation is in my german PHP and how it can > be compatible with my ascii_general_ci DB. (The PHPs are made by third > party) > > What do I have to change in my LC program when migrating to 7. Where to > start? > > Is LCs Unicode really the magic thing, where I don't have to care about any > charset related thing and all my thinking is just waste? Or do I have to > migrate, test and dig into one crash after the other? Or do you have any > helpful hints, how to start such a migration and what to look for? > > Thanks > > Tiemo > From toolbook at kestner.de Fri Oct 31 06:49:08 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 31 Oct 2014 11:49:08 +0100 Subject: AW: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <54536205.3050102@harbourhosting.co.uk> References: <004c01cff393$0d1ed420$275c7c60$@de> <54536205.3050102@harbourhosting.co.uk> Message-ID: <003d01cff4f8$4caff360$e60fda20$@de> Hello Martin, thank you for your helpful informations, though I am a little puzzeled, probably because I am missing something. What I don't understand is that I currently get all of my German Umlaute properly from LC via PHP into my UTF-8 MySQL db, though the columns in my table are set to ascii_general_ci and the German Umlaute don't belong to the plain ASCII subset. And I don't see where this collation is changed by PHP. Do you have any explanation for that? Thanks for your coaching Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Martin Baxter > Gesendet: Freitag, 31. Oktober 2014 11:19 > An: How to use LiveCode > Betreff: Re: Unicode: LC 7.0 - PHP - MySQL? > > A little additional info from me. > > If your database will only ever contain ascii characters, then ascii_general, > utf-8 and latin1_swedish will all work fine because the ascii characters are > the same in all of them. > > I would expect problems though if mixing these up and subsequently attempting > to introduce non-ascii characters to the data. > > latin1_swedish was the default in MYSQL, since it was originally developed by > Swedes. > > You should set the desired collation for the database when you create it, but > it is also possible to change it later. > > In my experience it is important to get the character set defined consistently > throughout the workflow. > > This involves: > > 1) The collation of the database (and individual columns) Normally set when > database created. > 2) The database connection should specify the character set to be transmitted > (done in php when making the connection) > 3) Character manipulations in php may need to specify the character set > 4) LC scripts of course need to take character set into account. > 5) Any html involved should specify and be written using the same character > set, especially if forms are acquiring user input to be stored in the > database. > > For web-based work, utf-8 is very popular and utf8_general_ci is often > nowadays the default collation in web database front ends. > > HTH > > Martin Baxter > > On 29/10/14 16:11, Tiemo Hollmann TB wrote: > > Hello, > > > > I have a LC 6 program communicating through PHP with a MySQL db. > > Because my background about Unicode, PHP and MySQL is limited I wonder > > what I have to care about, when migrating to LC 7. > > > > I have read the release notes of LC 7. My limited thinking was, that > > UniCode really has a unique code for each sign on the planet. But why > > is there a > > UTF-8 / UTF-16. Which one is LC using? Which one is my MySQL db using? > > I don't find any information about UTF-8/16 in my db description. How > > is the collation of the db related to UTF-x and to LC?. My tables are > > collated in ascii_general_ci. In some of my PHPs a "COLLATE > latin1_swedish_ci" is used. > > I have no idea why this Swedish collation is in my german PHP and how > > it can be compatible with my ascii_general_ci DB. (The PHPs are made > > by third > > party) > > > > What do I have to change in my LC program when migrating to 7. Where > > to start? > > > > Is LCs Unicode really the magic thing, where I don't have to care > > about any charset related thing and all my thinking is just waste? Or > > do I have to migrate, test and dig into one crash after the other? Or > > do you have any helpful hints, how to start such a migration and what to > look for? > > > > 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 ali at runrev.com Fri Oct 31 07:18:02 2014 From: ali at runrev.com (Ali Lloyd) Date: Fri, 31 Oct 2014 11:18:02 +0000 Subject: Two features I don't understand In-Reply-To: <545314A6.1080805@fourthworld.com> References: <3A18BB35-6B24-485F-9F65-A2AB2F447EE8@sweattechnologies.com> <545314A6.1080805@fourthworld.com> Message-ID: Regarding id caching, I had an idea that one might be able to use it to emulate the performance gain of a 'repeat for each...' style structure on controls. Referencing a control by number or name will iterate through the controls of the card until it gets to the specified one. Thus a loop of the form repeat with x = 1 to the number of controls of this card // do something with control x end repeat could in theory be speed up by using repeat for each line tId in the controlIDs of this card // do something with control id tID end repeat However I haven't yet tried to measure any actual performance difference, and I think it would only be faster if there were a large number of controls. Ali On 31 October 2014 04:48, Richard Gaskin wrote: > Monte Goulding wrote: > > On 31 Oct 2014, at 2:55 pm, Richard Gaskin wrote: > > > >> If RunRev needed this themselves, they've done a good > >> job of concealing why. :) Copying styled text works > >> great with htmlText. > > > > Richard if you remember originally styledText supported > > a few things that htmlText didn't and people complained... > > Rightly so, according to the inventor of the LiveCode engine: Dr. Raney > once explained to me that the purpose of htmlText is to provide an > easily-manipulatable way to faithfully reproduce the entire contents and > styles within a field or chunk. > > Anything less is indeed a bug report. :) > > I like the idea of using arrays to manipulate field contents, but alas we > have so much missing from the the styledText representation at the moment. > > -- > 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 lists at mangomultimedia.com Fri Oct 31 07:42:12 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 31 Oct 2014 07:42:12 -0400 Subject: Two features I don't understand In-Reply-To: <54528531.2060207@fourthworld.com> References: <54528531.2060207@fourthworld.com> Message-ID: On Thu, Oct 30, 2014 at 2:36 PM, Richard Gaskin wrote: > > 2. StyledText array > Pages 16-18 of the v5.5.4 Release Notes: > > > Anyone here use this? Is it faster than doing equivalent operations on > htmlText? While the style attributes themselves are well represented in > the array, the character offsets of runs don't seem to be present, so I'm > unclear as to what this should be used for. > Richard, I use styled text all of the time in my text editors and exporters. Mainly for modifying runs of text and for converting text to other formats. Two examples: 1) Converting text to different types of markup. Markdown, BBCode, etc. Looping through a styledText array makes it trivial to convert to other text formats. 2) Modifying formatting in text. It is trivial to loop through the styledtext array and strip out styles you don't want, add in metadata you do want, etc. What if you want bold and italics but not color when the user pastes text? The code is much simpler to write and easier to read using a styledText array. It is much faster than looping through the text in a field and checking styles. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From mblivecode at harbourhosting.co.uk Fri Oct 31 08:45:45 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 31 Oct 2014 12:45:45 +0000 Subject: AW: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <003d01cff4f8$4caff360$e60fda20$@de> References: <004c01cff393$0d1ed420$275c7c60$@de> <54536205.3050102@harbourhosting.co.uk> <003d01cff4f8$4caff360$e60fda20$@de> Message-ID: <54538479.2090804@harbourhosting.co.uk> Tiemo, Not sure what your database is collated as now as I thought you said it was ascii_general_ci in your original post. But the collation of the database columns affects sorting, indexing and so-on. I don't think it actually stops you storing unexpected characters. Anyway, I believe that for single-byte characters, UTF-8 is equivalent to ISO-8859-1, so if your single byte umlaute are encoded using a compatible variant of that, then there won't be a problem whichever character set LC is expecting. ? (Uuml) for example is at position 220 for unicode (e.g utf8) and also ISO-8859-1 (and therefore typical windows charsets that have that character at the same position) So you wouldn't notice a conflict in that case, but still might get some issues with things like curly quotes perhaps and some of the less common characters. That would be my assumption about what's going on, anyway. Martin On 31/10/14 10:49, Tiemo Hollmann TB wrote: > Hello Martin, > thank you for your helpful informations, though I am a little puzzeled, > probably because I am missing something. > What I don't understand is that I currently get all of my German Umlaute > properly from LC via PHP into my UTF-8 MySQL db, though the columns in my > table are set to ascii_general_ci and the German Umlaute don't belong to the > plain ASCII subset. And I don't see where this collation is changed by PHP. > Do you have any explanation for that? > Thanks for your coaching > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Martin Baxter >> Gesendet: Freitag, 31. Oktober 2014 11:19 >> An: How to use LiveCode >> Betreff: Re: Unicode: LC 7.0 - PHP - MySQL? >> >> A little additional info from me. >> >> If your database will only ever contain ascii characters, then > ascii_general, >> utf-8 and latin1_swedish will all work fine because the ascii characters > are >> the same in all of them. >> >> I would expect problems though if mixing these up and subsequently > attempting >> to introduce non-ascii characters to the data. >> >> latin1_swedish was the default in MYSQL, since it was originally developed > by >> Swedes. >> >> You should set the desired collation for the database when you create it, > but >> it is also possible to change it later. >> >> In my experience it is important to get the character set defined > consistently >> throughout the workflow. >> >> This involves: >> >> 1) The collation of the database (and individual columns) Normally set > when >> database created. >> 2) The database connection should specify the character set to be > transmitted >> (done in php when making the connection) >> 3) Character manipulations in php may need to specify the character set >> 4) LC scripts of course need to take character set into account. >> 5) Any html involved should specify and be written using the same > character >> set, especially if forms are acquiring user input to be stored in the >> database. >> >> For web-based work, utf-8 is very popular and utf8_general_ci is often >> nowadays the default collation in web database front ends. >> >> HTH >> >> Martin Baxter >> >> On 29/10/14 16:11, Tiemo Hollmann TB wrote: >>> Hello, >>> >>> I have a LC 6 program communicating through PHP with a MySQL db. >>> Because my background about Unicode, PHP and MySQL is limited I wonder >>> what I have to care about, when migrating to LC 7. >>> >>> I have read the release notes of LC 7. My limited thinking was, that >>> UniCode really has a unique code for each sign on the planet. But why >>> is there a >>> UTF-8 / UTF-16. Which one is LC using? Which one is my MySQL db using? >>> I don't find any information about UTF-8/16 in my db description. How >>> is the collation of the db related to UTF-x and to LC?. My tables are >>> collated in ascii_general_ci. In some of my PHPs a "COLLATE >> latin1_swedish_ci" is used. >>> I have no idea why this Swedish collation is in my german PHP and how >>> it can be compatible with my ascii_general_ci DB. (The PHPs are made >>> by third >>> party) >>> >>> What do I have to change in my LC program when migrating to 7. Where >>> to start? >>> >>> Is LCs Unicode really the magic thing, where I don't have to care >>> about any charset related thing and all my thinking is just waste? Or >>> do I have to migrate, test and dig into one crash after the other? Or >>> do you have any helpful hints, how to start such a migration and what to >> look for? >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Fri Oct 31 09:38:07 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 31 Oct 2014 09:38:07 -0400 Subject: Two features I don't understand In-Reply-To: <667CBDE7-E0D8-499D-A889-2F412FFDC39C@gmail.com> References: <54528531.2060207@fourthworld.com> <667CBDE7-E0D8-499D-A889-2F412FFDC39C@gmail.com> Message-ID: <633D6B7A-F75D-4B65-BF0C-535100B6EDA4@gmail.com> I am sorry to report that the pageranges property of fields is still broken in 7.0. Create a field and place this in a button: on mouseUp put empty into fld 1 set the height of fld 1 to 60 repeat with i = 1 to 10 put i & cr after fld 1 end repeat set the spaceabove line 2 of fld 1 to 10 put the pageranges of fld 1 & cr put "the first line should be 1,6" after msg end mouseUp On Oct 30, 2014, at 5:32 PM, Michael Doub wrote: > I use the styled arrays quite often when creating content, applying styles and taking advantage of the metadata. I can?t comment on the speed. > > I have a tendency to think in terms of arrays so this is pretty comfortable for me. > > I did a lot of work using space above and below and was really bummed when pageranges did not take them into account. (a bug report exists for this.) I guess I should look and see if 7.0 addressed that issue. > > Rather than including char offsets for runs in the array itself, I think it might be more useful to have an easy way to get from a char offset to the pgh_number/run_number within the styled array. Another thing to look at in 7.0. > > -= Mike > > > On Oct 30, 2014, at 2:36 PM, Richard Gaskin wrote: > >> 1. ID caching >> Page 10 of the v6.0 Release Notes: >> >> >> The description there says: >> >> The engine now caches lookups of control references of the form >> ?card id ...? and ?control id ...?. This speeds up any access >> using those forms after the first time, turning an operation that >> would be completed in linear time into one that will be completed >> in constant time. >> >> What does that mean in practical terms? How can I benchmark the benefit of this new feature? >> >> >> 2. StyledText array >> Pages 16-18 of the v5.5.4 Release Notes: >> >> >> Anyone here use this? Is it faster than doing equivalent operations on htmlText? While the style attributes themselves are well represented in the array, the character offsets of runs don't seem to be present, so I'm unclear as to what this should be used for. >> >> >> Any insight into either of these would be appreciated - TIA... >> >> -- >> 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 livfoss at mac.com Fri Oct 31 10:00:59 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 Oct 2014 15:00:59 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? Message-ID: I?ve got a little field with a single ?less than or equal to? character in it. The character got there from executing set the htmlText of fld ?myField? to

from the message box while programming in the IDE (LC 6.6.5) This works fine on a Mac, but I just noticed that it doesn?t work on a PC. When I open the card containing this field in LC on a PC running Windows 7, and execute this from the message box put the htmlText of fld ?myField? I get



which does not display as a less than or equal glyph. If I reset the contents of the field using

, it displays correctly. Anyone any idea what's going on? How did '≤' get changed to '&16;'? Seems totally weird to me. TIA for any suggestions. Graham From toolbook at kestner.de Fri Oct 31 10:18:36 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 31 Oct 2014 15:18:36 +0100 Subject: AW: AW: Unicode: LC 7.0 - PHP - MySQL? In-Reply-To: <54538479.2090804@harbourhosting.co.uk> References: <004c01cff393$0d1ed420$275c7c60$@de> <54536205.3050102@harbourhosting.co.uk> <003d01cff4f8$4caff360$e60fda20$@de> <54538479.2090804@harbourhosting.co.uk> Message-ID: <005001cff515$902fbe00$b08f3a00$@de> Thank you for your explanations Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Martin Baxter > Gesendet: Freitag, 31. Oktober 2014 13:46 > An: How to use LiveCode > Betreff: Re: AW: Unicode: LC 7.0 - PHP - MySQL? > > Tiemo, > > Not sure what your database is collated as now as I thought you said it was > ascii_general_ci in your original post. But the collation of the database > columns affects sorting, indexing and so-on. I don't think it actually stops > you storing unexpected characters. > > Anyway, I believe that for single-byte characters, UTF-8 is equivalent to ISO- > 8859-1, so if your single byte umlaute are encoded using a compatible variant > of that, then there won't be a problem whichever character set LC is > expecting. > > ? (Uuml) > > for example is at position 220 for unicode (e.g utf8) and also > ISO-8859-1 (and therefore typical windows charsets that have that character at > the same position) So you wouldn't notice a conflict in that case, but still > might get some issues with things like curly quotes perhaps and some of the > less common characters. > > That would be my assumption about what's going on, anyway. > > Martin > > On 31/10/14 10:49, Tiemo Hollmann TB wrote: > > Hello Martin, > > thank you for your helpful informations, though I am a little > > puzzeled, probably because I am missing something. > > What I don't understand is that I currently get all of my German > > Umlaute properly from LC via PHP into my UTF-8 MySQL db, though the > > columns in my table are set to ascii_general_ci and the German Umlaute > > don't belong to the plain ASCII subset. And I don't see where this collation > is changed by PHP. > > Do you have any explanation for that? > > Thanks for your coaching > > Tiemo > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > >> von Martin Baxter > >> Gesendet: Freitag, 31. Oktober 2014 11:19 > >> An: How to use LiveCode > >> Betreff: Re: Unicode: LC 7.0 - PHP - MySQL? > >> > >> A little additional info from me. > >> > >> If your database will only ever contain ascii characters, then > > ascii_general, > >> utf-8 and latin1_swedish will all work fine because the ascii > >> characters > > are > >> the same in all of them. > >> > >> I would expect problems though if mixing these up and subsequently > > attempting > >> to introduce non-ascii characters to the data. > >> > >> latin1_swedish was the default in MYSQL, since it was originally > >> developed > > by > >> Swedes. > >> > >> You should set the desired collation for the database when you create > >> it, > > but > >> it is also possible to change it later. > >> > >> In my experience it is important to get the character set defined > > consistently > >> throughout the workflow. > >> > >> This involves: > >> > >> 1) The collation of the database (and individual columns) Normally > >> set > > when > >> database created. > >> 2) The database connection should specify the character set to be > > transmitted > >> (done in php when making the connection) > >> 3) Character manipulations in php may need to specify the character > >> set > >> 4) LC scripts of course need to take character set into account. > >> 5) Any html involved should specify and be written using the same > > character > >> set, especially if forms are acquiring user input to be stored in the > >> database. > >> > >> For web-based work, utf-8 is very popular and utf8_general_ci is > >> often nowadays the default collation in web database front ends. > >> > >> HTH > >> > >> Martin Baxter > >> > >> On 29/10/14 16:11, Tiemo Hollmann TB wrote: > >>> Hello, > >>> > >>> I have a LC 6 program communicating through PHP with a MySQL db. > >>> Because my background about Unicode, PHP and MySQL is limited I > >>> wonder what I have to care about, when migrating to LC 7. > >>> > >>> I have read the release notes of LC 7. My limited thinking was, that > >>> UniCode really has a unique code for each sign on the planet. But > >>> why is there a > >>> UTF-8 / UTF-16. Which one is LC using? Which one is my MySQL db using? > >>> I don't find any information about UTF-8/16 in my db description. > >>> How is the collation of the db related to UTF-x and to LC?. My > >>> tables are collated in ascii_general_ci. In some of my PHPs a > >>> "COLLATE > >> latin1_swedish_ci" is used. > >>> I have no idea why this Swedish collation is in my german PHP and > >>> how it can be compatible with my ascii_general_ci DB. (The PHPs are > >>> made by third > >>> party) > >>> > >>> What do I have to change in my LC program when migrating to 7. Where > >>> to start? > >>> > >>> Is LCs Unicode really the magic thing, where I don't have to care > >>> about any charset related thing and all my thinking is just waste? > >>> Or do I have to migrate, test and dig into one crash after the > >>> other? Or do you have any helpful hints, how to start such a > >>> migration and what to > >> look for? > >>> > >>> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Oct 31 10:52:07 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 Oct 2014 07:52:07 -0700 Subject: Two features I don't understand In-Reply-To: <5452BC7F.5010605@tweedly.net> References: <54528531.2060207@fourthworld.com> <5452BC7F.5010605@tweedly.net> Message-ID: On Thu, Oct 30, 2014 at 3:32 PM, Alex Tweedly wrote: > If I could remember well enough how to find things on Nabble or Gmane, I'd > just point to the original thread - but since I can't and am in a hurry - > here's a message I sent to this list on 12/05/2013. There are *very* few sites who can search themselves as well as google. So search for caching id site:nabble.com or whathaveyou. (actually, I tend to use -site:nabble.com when searching for answers,as it usually only gives me parasitic duplicates of the original thread.) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 31 11:04:20 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 Oct 2014 08:04:20 -0700 Subject: Two features I don't understand In-Reply-To: <545314A6.1080805@fourthworld.com> References: <3A18BB35-6B24-485F-9F65-A2AB2F447EE8@sweattechnologies.com> <545314A6.1080805@fourthworld.com> Message-ID: On Thu, Oct 30, 2014 at 9:48 PM, Richard Gaskin wrote: > > Rightly so, according to the inventor of the LiveCode engine: Dr. Raney > once explained to me that the purpose of htmlText is to provide an > easily-manipulatable way to faithfully reproduce the entire contents and > styles within a field or chunk. > > Anything less is indeed a bug report. :) > > I like the idea of using arrays to manipulate field contents, but alas we > have so much missing from the the styledText representation at the moment. so does styledText even have a purpose any more? Should it be treated as deprecated? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Fri Oct 31 11:05:50 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Oct 2014 16:05:50 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: References: Message-ID: <5453A54E.50604@economy-x-talk.com> Hi Graham, I think that should be lt and gt. -- 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 10/31/2014 15:00, Graham Samuel wrote: > I?ve got a little field with a single ?less than or equal to? character in it. The character got there from executing > > set the htmlText of fld ?myField? to

> > from the message box while programming in the IDE (LC 6.6.5) > > This works fine on a Mac, but I just noticed that it doesn?t work on a PC. When I open the card containing this field in LC on a PC running Windows 7, and execute this from the message box > > put the htmlText of fld ?myField? > > I get > >



> > which does not display as a less than or equal glyph. If I reset the contents of the field using

, it displays correctly. > > Anyone any idea what's going on? How did '≤' get changed to '&16;'? Seems totally weird to me. > > TIA for any suggestions. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Oct 31 11:06:47 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 15:06:47 +0000 Subject: Valentina db In-Reply-To: References: Message-ID: Hi Larry. The simplest SQL database to my mind is sqLite. You can create a database by simply providing a path name and opening it using the LC built in database functions. Once the file is created, you can download the Firefox SQLite Manager plugin, open the database and begin to add tables and columns. There are tons of easy to read tutorials on the inter web on how to do select, insert and updates. The best source I think is sqlite.org itself at https://www.sqlite.org/lang.html. sqLite is very forgiving when it comes to type constraints. This is because the data is literally stored as text no matter what type the column is. Where mySQL might throw an error for storing the wrong type of data, sqLite will store whatever you tell it to. This is somewhat of a blessing, but also a curse. You really do want to know if your data is outside the parameters you?ve set. However, for those just starting out, it?s nice to not have to deal with SQL errors so much. Bob S > On Oct 30, 2014, at 24:42 , larry at significantplanet.org wrote: > > Hello, > > Has anyone used Valentina database with LC? > > If so, what is your experience with it? > > Is it a product that a newbie (me) could reasonably learn how to use with LC? > > Thanks for any info, > Larry > > P.S. If you have a recommendation for a database that is REALLY easy to use with LC, please let me know. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 31 11:11:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 15:11:56 +0000 Subject: livecode versions what do the various suffix mean? DP/RC/GM In-Reply-To: <1414691813975-4685199.post@n4.nabble.com> References: <1414691813975-4685199.post@n4.nabble.com> Message-ID: <571281D7-77DD-4475-AFEC-5C245778BFE3@iotecdigital.com> > On Oct 30, 2014, at 10:56 , Robert Mann wrote: > > Self explaining in title! Dummy question.. but.. can't find information > easily in the live code account space. > dp = developer (something) rc = release candidate gm = gold master > thanks.. ! > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-versions-what-do-the-various-suffix-mean-DP-RC-GM-tp4685199.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 ali at runrev.com Fri Oct 31 11:12:27 2014 From: ali at runrev.com (Ali Lloyd) Date: Fri, 31 Oct 2014 15:12:27 +0000 Subject: RELEASE 6.7.1-rc-1 Message-ID: Dear list members, We're pleased to announce release of LiveCode 6.7.1-rc-1. *Warning:* this is not a stable release. Please ensure you back up your stacks before testing them. *Release Contents* This release contains 9 bugfixes: 13848 Menu items from popup menu improperly removed 13847 Command keys not working correctly 13842 Yosemite UI: the text colour of highlighted buttons should be white 13829 Change in how formattedRect of chunk is reported 13799 Yosemite UI: default font should be Helvetica Neue 13773 [[Player]] longer delay in sending callbacks 13598 Script editor deletes wrong chars 13350 Export snapshot from rect at size selects the wrong source rectangle 12558 Older versions of LiveCode report a corrupt stack when opening a file from a newer version *Known Issues* The following issues will be fixed for the next release: - lcidl functions and command declared as tail do not return values on Desktop - Stacks that resize themselves when changing cards have glitches when the titlebar is clicked - Images with resizeQuality set to "good" are rendered oddly depending on coordinates We are also working on fixing various issues with command key shortcuts. The release is available at: http://downloads.livecode.com/livecode/ *Release Notes* http://downloads.livecode.com/livecode/6_7_1/LiveCodeNotes-6_7_1_rc_1.pdf Kind Regards, Ali From bobsneidar at iotecdigital.com Fri Oct 31 11:14:12 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 15:14:12 +0000 Subject: livecode versions what do the various suffix mean? DP/RC/GM In-Reply-To: <0EB163DB-9E24-4A37-980B-49469968D0A4@verizon.net> References: <1414691813975-4685199.post@n4.nabble.com> <0EB163DB-9E24-4A37-980B-49469968D0A4@verizon.net> Message-ID: <79D4AF96-ECDE-4F08-889B-B7B6E702426A@iotecdigital.com> You know, the reason why I keep responding to questions that have already been answered by other people, is because the first post shows up as it?s own email, which I reply to, and then all the replies show up in other threads, sometimes 2 or 3 or more. I use Apple Mail, and I didn?t used to have this problem, but at some point it started with this thread or that and now it has become pervasive. Bob S On Oct 30, 2014, at 11:03 , Colin Holgate > wrote: I think DP would be Developer Preview. RC is Release Candidate, GM is Gold Master. From ali at runrev.com Fri Oct 31 11:15:12 2014 From: ali at runrev.com (Ali Lloyd) Date: Fri, 31 Oct 2014 15:15:12 +0000 Subject: RELEASE 7.0.1-rc-1 Message-ID: Dear list members, We're pleased to announce release of LiveCode 7.0.1-rc-1. *Warning:* this is not a stable release. Please ensure you back up your stacks before testing them. *Release Contents* This release contains 38 bugfixes: 13850 ask file and ask folder default to wrong folder 13848 Popup menu items with Quit / Preferences or About are hidden on Mac. 13847 Cmd keys not working correctly 13842 Yosemite UI: the text colour of highlighted buttons should be white 13840 Stopped MCS_savebinaryfile() from failing if MCresult is non-empty. 13833 Rendering many grcs when acceleratedRendering is true crashes hard 13829 Change in how formattedRect of chunk is reported 13827 Can't use double-byte characters for a standalone name 13824 Hang in MCExecContext::TryToEvaluateExpressionAsNonStrictBool() 13821 Unable to set cursor hotspot 13809 Specifying "width" in measureText throws error 13804 export snapshot crashes LC7GM 1 13803 Potential instability after setting defaultNetworkInterface. 13802 Android standalone big text collapse 13800 Could not generate package manifest when newer Android Build tools are installed 13799 Use Helvetica Neue as the default font on OSX Yosemite 13797 Using put into url causes executable bit to be set on the target file if it is created on Linux. 13796 Creating a script only stack causes unwanted messages to stderr. 13791 Crash when saving a script-only stack. 13790 iPhone player object doesn't respect the rect property on creation 13787 'ends with' can return the wrong result if a string contains surrogates or combining sequences. 13785 The 'properties' property returns different keys from the 6.7 version. 13784 Crash exporting image as png 13783 Empty is among the items of empty 13780 mobileSetAllowedOrientations broken on android 13778 Setting the httpHeaders causes crash on "put url" 13776 [[ LC 7.0 ]] Player plays audio but not video 13773 Make sure the first callback is always sent 13770 Every string contains empty 13751 Player Volume Control Erratic 13730 Cannot specify text encoding of server script file. 13704 securityPermissions not working for disk and network access 13598 Instability when deleting a space before a handler definition on the very first line of a script. 13554 Corruption of stacks 13350 Export snapshot from rect at size selects the wrong source rectangle 12558 Older versions of LiveCode report a corrupt stack when opening a file from newer version 11912 Selected text in list fields and TAB buttons wrong colour 11647 After Android hardware backKey is pressed *Known Issues* Since this also contains all the changes in 6.7.1-rc-1, all the associated known issues are also present in this release. The release is available at: http://downloads.livecode.com/livecode/ *Release Notes* http://downloads.livecode.com/livecode/7_0_1/LiveCodeNotes-7_0_1_rc_1.pdf Kind Regards, Ali From bobsneidar at iotecdigital.com Fri Oct 31 11:17:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 15:17:59 +0000 Subject: Two features I don't understand In-Reply-To: <54530A50.40806@fourthworld.com> References: <5452BC7F.5010605@tweedly.net> <54530A50.40806@fourthworld.com> Message-ID: <84AB88AC-A92A-440E-8604-54DCE6C4CC9C@iotecdigital.com> My guess would be data grids and anything using behaviors. Bob S On Oct 30, 2014, at 21:04 , Richard Gaskin > wrote: What I find most remarkable is the way your benchmark makes the value of this ID caching seem rather trivial. I trust this was a one-liner, as I can't imagine them spending much time optimizing something so very specialized and which takes so little execution time per iteration. I wonder what prompted this one...perhaps something specific to the coding style of the person who wrote the Project Browser? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web From toolbook at kestner.de Fri Oct 31 11:39:58 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 31 Oct 2014 16:39:58 +0100 Subject: OT: How to serve a 8GB download? Message-ID: <005101cff520$edd08ca0$c971a5e0$@de> Hello, I have a LC application, which has a total size of about 8GB (including a bunch of videos). Usually it is distributed via DVD-DL. If I would like to serve it as a download on my webserver, how should I package it? Should I just create a single 8GB zip file, or should I split it in several zip files - is there a tool, which would automate it that all related zip files are download one after the other and combined after download? Or what would be an appropriate approach for such a big file? No user credentials, no payment is necessary, just a link to the download. Has anybody experiences with this matter? Tiemo From devin_asay at byu.edu Fri Oct 31 11:39:06 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 31 Oct 2014 15:39:06 +0000 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: <54530238.4070507@fourthworld.com> References: <54530238.4070507@fourthworld.com> Message-ID: On Oct 30, 2014, at 9:30 PM, Richard Gaskin wrote: > Peter Haworth wrote: > > Late to this one but there is indeed a new property named "status" > > which is why your script now fails. Unfortunately, can't tell what > > it's used for since there's no dictionary entry for it. About to > > file a bug report for that. > > Please do - thanks. > > Searching for "status" in the v7 Release Notes it seems that it's now a property of the new player widget. This kind of thing is a good argument for using a form of Hungarian Notation when naming variables and custom properties. I myself was just bit by this in LC 6.7 and 7.0. There was new property added?the editionType?which reports which edition, community or commercial, you are using. Unfortunately I had been using a property of that name for the last couple of years in a project. I went back and duly renamed it to [myProjectPrefix]_editionType and now the universe is happy again. Devin Devin Asay Office of Digital Humanities Brigham Young University From bobsneidar at iotecdigital.com Fri Oct 31 11:53:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 15:53:13 +0000 Subject: OT: How to serve a 8GB download? In-Reply-To: <005101cff520$edd08ca0$c971a5e0$@de> References: <005101cff520$edd08ca0$c971a5e0$@de> Message-ID: <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> Probably too late to talk about how to package your data, which is likely the reason it is so big. I suspect it contains a lot of images or other kinds of media. You might consider however, packaging your media separately from the application itself, then have the app on launch begin to sync the media from a web server. If that is impractical, then I would say a password protected zip file, where the password is the license key (if you have implemented one). It used to be in ages gone by that zip files were broken up into smaller pieces because modem transport of large files was inherently unreliable. These days it?s rare that a download will fail due to the transport. I wouldn?t do multipart zips if you can help it, unless your target market is Botswana where they are still using 14.4 modems. ;-) Bob S > On Oct 31, 2014, at 08:39 , Tiemo Hollmann TB wrote: > > Hello, > > I have a LC application, which has a total size of about 8GB (including a > bunch of videos). Usually it is distributed via DVD-DL. > > If I would like to serve it as a download on my webserver, how should I > package it? Should I just create a single 8GB zip file, or should I split it > in several zip files - is there a tool, which would automate it that all > related zip files are download one after the other and combined after > download? Or what would be an appropriate approach for such a big file? No > user credentials, no payment is necessary, just a link to the download. > > Has anybody experiences with this matter? > > 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 bobsneidar at iotecdigital.com Fri Oct 31 11:56:31 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 15:56:31 +0000 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: References: <54530238.4070507@fourthworld.com> Message-ID: The one and only LC convention I attended many years ago addressed naming methods in one of their sessions. The idea was to always use some kind of prefix that no one else would ever use in their libraries, and that would never conflict with any reserved words that might crop up in the future. Using project Prefixes seems a great way to accomplish this. Bob S On Oct 31, 2014, at 08:39 , Devin Asay > wrote: This kind of thing is a good argument for using a form of Hungarian Notation when naming variables and custom properties. I myself was just bit by this in LC 6.7 and 7.0. There was new property added?the editionType?which reports which edition, community or commercial, you are using. Unfortunately I had been using a property of that name for the last couple of years in a project. I went back and duly renamed it to [myProjectPrefix]_editionType and now the universe is happy again. Devin Devin Asay Office of Digital Humanities Brigham Young University From bodine at bodinetraininggames.com Fri Oct 31 12:02:33 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Fri, 31 Oct 2014 09:02:33 -0700 (PDT) Subject: Two features I don't understand In-Reply-To: References: <54528531.2060207@fourthworld.com> Message-ID: <1414771353821-4685237.post@n4.nabble.com> The improved field control of LC 5.4 and 6.0 and up has been extremely useful to me. I use StyledText Array in much the same way as Trevor -- applying format changes. And metadata attached to field chunks is a great feature that's very useful for educational content creators. Overall, the field control of LC is far more powerful than the fields offered in Director and Flash (and probably other tools), so there are competitive reasons to maintain and promote these features in LC. Once RunRev finishes modernizing the audio-visual player controls across platforms, LC will be an excellent multimedia authoring tool. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-features-I-don-t-understand-tp4685202p4685237.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Fri Oct 31 12:16:46 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 31 Oct 2014 17:16:46 +0100 Subject: AW: OT: How to serve a 8GB download? In-Reply-To: <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> Message-ID: <005901cff526$11bee800$353cb800$@de> Hi Bob, thank goodness, I am not selling to Botswana :) yes, 99% of the app are the video files. I even don't need any pw protection or license key. I just want to give users, who don't have any more a DVD drive (iMac, Netbooks), a chance to download the image of the DVD. So, I will make a 8GB zip file or directly an image file and put it on my server. Thanks for your experience. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Bob Sneidar > Gesendet: Freitag, 31. Oktober 2014 16:53 > An: How to use LiveCode > Betreff: Re: OT: How to serve a 8GB download? > > Probably too late to talk about how to package your data, which is likely the > reason it is so big. I suspect it contains a lot of images or other kinds of > media. > > You might consider however, packaging your media separately from the > application itself, then have the app on launch begin to sync the media from a > web server. If that is impractical, then I would say a password protected zip > file, where the password is the license key (if you have implemented one). > > It used to be in ages gone by that zip files were broken up into smaller > pieces because modem transport of large files was inherently unreliable. These > days it?s rare that a download will fail due to the transport. I wouldn?t do > multipart zips if you can help it, unless your target market is Botswana where > they are still using 14.4 modems. ;-) > > Bob S > > > > On Oct 31, 2014, at 08:39 , Tiemo Hollmann TB wrote: > > > > Hello, > > > > I have a LC application, which has a total size of about 8GB > > (including a bunch of videos). Usually it is distributed via DVD-DL. > > > > If I would like to serve it as a download on my webserver, how should > > I package it? Should I just create a single 8GB zip file, or should I > > split it in several zip files - is there a tool, which would automate > > it that all related zip files are download one after the other and > > combined after download? Or what would be an appropriate approach for > > such a big file? No user credentials, no payment is necessary, just a link > to the download. > > > > Has anybody experiences with this matter? > > > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 31 12:23:52 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 31 Oct 2014 12:23:52 -0400 Subject: OT: How to serve a 8GB download? In-Reply-To: <005901cff526$11bee800$353cb800$@de> References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> <005901cff526$11bee800$353cb800$@de> Message-ID: I would just do a single zip, assuming the user will need all the files at some point. 8GB seems very big, what data rate and codec are you using for the videos? From bodine at bodinetraininggames.com Fri Oct 31 12:24:13 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Fri, 31 Oct 2014 09:24:13 -0700 (PDT) Subject: Expanding List In-Reply-To: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> References: <83C1652A-7020-4BEC-A395-15D2BAE7F64B@me.com> Message-ID: <1414772653119-4685240.post@n4.nabble.com> Looks like a job for Metadata. You can store your additional data invisibly within each line of your field containing the list. Then as someone else pointed out, just get the line number for the line clicked and retrieve that line's metadata. Now you can insert that into your field under the original line or do anything else with it. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Expanding-List-tp4685171p4685240.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at btinternet.com Fri Oct 31 12:29:24 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 31 Oct 2014 16:29:24 +0000 Subject: RELEASE 6.7.1-rc-1 In-Reply-To: References: Message-ID: Yes but the text is offset towards the bottom of the tab. How do I correct this in my tabs? All the best Terry > On 31 Oct 2014, at 15:12, Ali Lloyd wrote: > > 13842 Yosemite UI: the text colour of highlighted buttons should be white From t.heaford at btinternet.com Fri Oct 31 12:32:36 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 31 Oct 2014 16:32:36 +0000 Subject: RELEASE 6.7.1-rc-1 In-Reply-To: References: Message-ID: <5A6E971A-0031-4C4A-9516-430A892A4E1E@btinternet.com> Also, I think the text when you highlight the button should be bold? Not sure on this because in LC it certainly looks non antialiased? All the best Terry > On 31 Oct 2014, at 15:12, Ali Lloyd wrote: > > 13842 Yosemite UI: the text colour of highlighted buttons should be white From toolbook at kestner.de Fri Oct 31 12:35:53 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 31 Oct 2014 17:35:53 +0100 Subject: AW: OT: How to serve a 8GB download? In-Reply-To: References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> <005901cff526$11bee800$353cb800$@de> Message-ID: <005a01cff528$bdc38c80$394aa580$@de> Hi Colin, I just don't have the specs of my videos on hand. But they are pretty small and highly compressed. The thing is that they are just 19000 videos (each only some seconds) in my app :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Colin Holgate > Gesendet: Freitag, 31. Oktober 2014 17:24 > An: How to use LiveCode > Betreff: Re: OT: How to serve a 8GB download? > > I would just do a single zip, assuming the user will need all the files at > some point. > > 8GB seems very big, what data rate and codec are you using for the videos? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 31 12:37:29 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 31 Oct 2014 16:37:29 +0000 Subject: RELEASE 6.7.1-rc-1 In-Reply-To: <5A6E971A-0031-4C4A-9516-430A892A4E1E@btinternet.com> References: <5A6E971A-0031-4C4A-9516-430A892A4E1E@btinternet.com> Message-ID: <4BEA16F5-C205-49A3-BB0A-858D17CE47CC@btinternet.com> This may be the same issue as with Datagrids because if you have a white text with a blue background, the standard OS X method when highlighting a row in a table, the white does not stand out well. I think this is another bug (may not be bug) related to the way LC presents text, not sure? It certainly does not use the built in method of displaying text otherwise it would match all other OS X native development environments. All the best Terry > On 31 Oct 2014, at 16:32, Terence Heaford wrote: > > Also, I think the text when you highlight the button should be bold? > > Not sure on this because in LC it certainly looks non antialiased? > > All the best > > Terry From alex at tweedly.net Fri Oct 31 12:49:55 2014 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 31 Oct 2014 16:49:55 +0000 Subject: Two features I don't understand In-Reply-To: <54530A50.40806@fourthworld.com> References: <5452BC7F.5010605@tweedly.net> <54530A50.40806@fourthworld.com> Message-ID: <5453BDB3.3040106@tweedly.net> On 31/10/2014 04:04, Richard Gaskin wrote: > Alex Tweedly wrote: >> Hmmmm - I said this once before :-) :-) > > My apologies for the inconvenience. I'd either missed it before or > completely forgot about it, but the latter seems unlikely given how > remarkable the post was: > Oh Richard - I even threw in 2 smiley faces so you would *know* I was teasing you :-) >>> in 5.5.3 >>> name takes 830 ms while id takes only 250 ms >>> >>> but in 6.0 (i.e. with id caching) >>> name takes 830 ms while id takes 5 ms >>> >>> -- Alex. >>> >>> > > What I find most remarkable is the way your benchmark makes the value > of this ID caching seem rather trivial. > > I trust this was a one-liner, as I can't imagine them spending much > time optimizing something so very specialized and which takes so > little execution time per iteration. > > I wonder what prompted this one...perhaps something specific to the > coding style of the person who wrote the Project Browser? > It is a trivial example - but the speed-up of 50X seems significant. It's not just *the* most recent ID that is cached (at least according to a simple-minded test I did - see the original thread for details). It does appear that it speeds up access to a number of cached IDs. So if you had a lot of controls (Datagrid ??) and were doing something to them multiple times (scrolling?, fading in/out, ...) then maybe it would be noticeable, if not actually significant. Anyway - this is one way to test it - whether or not you find it useful. Probably worth adding it to the compare-engine-versions benchmark; I'll do that once a framework / sample of that happens. --Alex. From ambassador at fourthworld.com Fri Oct 31 12:52:26 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Oct 2014 09:52:26 -0700 Subject: Two features I don't understand In-Reply-To: References: Message-ID: <5453BE4A.8030005@fourthworld.com> Dr. Hawkins wrote: > so does styledText even have a purpose any more? Should it > be treated as deprecated? It seems it serves a very different purpose than htmlText. It's a new addition and folks find it useful, so I wouldn't expect it to be deprecated. Trevor DeVore wroteL > I use styled text all of the time in my text editors and exporters. > Mainly for modifying runs of text and for converting text to other > formats. Two examples: > ... Good stuff - thanks for that, Trevor. I figured it was useful, I just needed to see how. Ali Lloyd wrote: > Regarding id caching, I had an idea that one might be able to use > it to emulate the performance gain of a 'repeat for each...' style > structure on controls. > > Referencing a control by number or name will iterate through the > controls of the card until it gets to the specified one. Thus a > loop of the form > > repeat with x = 1 to the number of controls of this card > // do something with control x > end repeat > > could in theory be speed up by using > > repeat for each line tId in the controlIDs of this card > // do something with control id tID > end repeat > > However I haven't yet tried to measure any actual performance > difference, and I think it would only be faster if there were > a large number of controls. Alex's test suggests it needs a very large number of controls or a very high number of iterations, but being a performance fiend I certainly don't mind any optimizations that offer a speed boost, even a minor one. I can appreciate why this is limited to IDs, because they're seldom modified, but since I so rarely use them I have to ask: has the team considered caching other control references, perhaps purging the cache when the control's name or number is modified? Tom Bodine wrote: > Overall, the field control of LC is far more powerful than the > fields offered in Director and Flash (and probably other tools), > so there are competitive reasons to maintain and promote these > features in LC. Amen to that, brother. Hardly a week goes by that I don't hear, "Wow - you can do that in LiveCode? Cool!" -- 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 livfoss at mac.com Fri Oct 31 12:52:59 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 Oct 2014 17:52:59 +0100 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: References: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> Message-ID: Thanks Pete - so Mark will certainly have to modify his button stuff. Meanwhile I guess I can cheat by changing ?status? to ?status1? throughout the code for these objects. It will be interesting to find out what RunRev is using this word for - kind of sounds like it should be reserved, doesn?t it? Graham > On 31 Oct 2014, at 00:44, Peter Haworth wrote: > > Hi Graham, > Late to this one but there is indeed a new property named "status" which is > why your script now fails. Unfortunately, can't tell what it's used for > since there's no dictionary entry for it. About to file a bug report for > that. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Sat, Oct 25, 2014 at 6:26 AM, Graham Samuel wrote: > >> In a desktop app (Mac and Windows - currently testing the Mac version) I?m >> using a button (actually a group acting as a button) designed by Mark >> Schonewille which does nice things with shading. This has been working for >> a long time, ever since it was announced by Mark. Now in LC 6.7, I get a >> compile error in a setProp handler in the group (in fact in several groups >> with the same script). Part of a case statement looks like this >> >> ? >> lock messages >> set the status["disabled"] of me to not theBool >> set the status["hilite"] of me to false >> unlock messages >> ? >> >> The IDE reports >> >>> compiling at 2:58:22 PM >>> Type Expression: bad factor >>> Object ClearAllGroup >>> Line set the status["disabled"] of me to not theBool >>> Hint [ >> >> There is no hint. As it would seem to be a syntax failure, maybe some new >> reserved word is getting in the way - but this is just a guess. >> >> I have not yet been able to isolate this to confirm and then report it as >> a bug. Mark, if you're around, do you understand what's happening? I quite >> understand if you haven't got time to look at it, but I thought I'd ask >> before trying to go deeper into the issue. >> >> TIA >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Oct 31 13:01:36 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 Oct 2014 18:01:36 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453A54E.50604@economy-x-talk.com> References: <5453A54E.50604@economy-x-talk.com> Message-ID: <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> Thanks Mark for the reply. No, ?lt' is less than and ?gt' is greater than: these symbols are readily available on both the Mac and PC character sets, so if the objective is simply to display the correct glyph, it doesn?t matter if one shows them as html or just a simple character. My issue is with 'less than or equal' (and in principle ?greater than or equal?). These are represented on the regular Mac keyboard as option-comma and option-period, but these codes are not the same on the PC. Hence my need to use html, since these characters are part of the standard html repertoire. A possible (but not very probably IMHO) cause of the problem is that ?le? and ?ge? are not in the LC dictionary as recognised subset-html characters dealt with by LC: but in fact they do work, just not when switched from Mac to PC. Odd. Graham > On 31 Oct 2014, at 16:05, Mark Schonewille wrote: > > Hi Graham, > > I think that should be lt and gt. > > -- > 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 10/31/2014 15:00, Graham Samuel wrote: >> I?ve got a little field with a single ?less than or equal to? character in it. The character got there from executing >> >> set the htmlText of fld ?myField? to

>> >> from the message box while programming in the IDE (LC 6.6.5) >> >> This works fine on a Mac, but I just noticed that it doesn?t work on a PC. When I open the card containing this field in LC on a PC running Windows 7, and execute this from the message box >> >> put the htmlText of fld ?myField? >> >> I get >> >>



>> >> which does not display as a less than or equal glyph. If I reset the contents of the field using

, it displays correctly. >> >> Anyone any idea what's going on? How did '≤' get changed to '&16;'? Seems totally weird to me. >> >> TIA for any suggestions. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Oct 31 13:02:53 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 Oct 2014 10:02:53 -0700 Subject: Valentina db In-Reply-To: References: Message-ID: On Fri, Oct 31, 2014 at 8:06 AM, Bob Sneidar wrote: > sqLite is very forgiving when it comes to type constraints. This is > because the data is literally stored as text no matter what type the column > is. Where mySQL might throw an error for storing the wrong type of data, > sqLite will store whatever you tell it to. You're right about SQLite not enforcing data types, but the data is not always stored as text. Not that it really matters since the file level accessing is all handled by the SQLite library. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From m.schonewille at economy-x-talk.com Fri Oct 31 13:16:47 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Oct 2014 18:16:47 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> Message-ID: <5453C3FF.2020009@economy-x-talk.com> Hi Graham, Apparently, I misread the subject header of your e-mail. So, you have trouble with the less-than-or-equal-to and the greater-than-or-equal-to characters. BTW I think that these characters are in the MacRoman character set but not in the Latin-1 character set, which means that you can refer to them by their ASCII values on Mac, but not on Windows. I just tried this on Windows 8.1: on mouseUp set the htmlText of fld 1 to "

" end mouseUp and it works fine. I can also change ge to le and that works too. If I execute put the htmltext of fld 1 in the message box, I get the expected values and not the numerical values you are seeing. I tried this in LC 6.6.2 on Windows 8.1. Perhaps it is a 6.6.5-specific 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 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 10/31/2014 18:01, Graham Samuel wrote: > Thanks Mark for the reply. > > No, ?lt' is less than and ?gt' is greater than: these symbols are readily available on both the Mac and PC character sets, so if the objective is simply to display the correct glyph, it doesn?t matter if one shows them as html or just a simple character. My issue is with 'less than or equal' (and in principle ?greater than or equal?). These are represented on the regular Mac keyboard as option-comma and option-period, but these codes are not the same on the PC. Hence my need to use html, since these characters are part of the standard html repertoire. > > A possible (but not very probably IMHO) cause of the problem is that ?le? and ?ge? are not in the LC dictionary as recognised subset-html characters dealt with by LC: but in fact they do work, just not when switched from Mac to PC. Odd. > > Graham > From pete at lcsql.com Fri Oct 31 13:29:29 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 Oct 2014 10:29:29 -0700 Subject: Possible bug in LC6.7 - maybe one for Mark Schonewille? In-Reply-To: References: <5886DA10-81C8-4CFE-841D-CDAB10E4DFEA@mac.com> Message-ID: I missed it but apparently there's something in the 7.0 release notes about it. It's a new property of the player control. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 31, 2014 at 9:52 AM, Graham Samuel wrote: > Thanks Pete - so Mark will certainly have to modify his button stuff. > Meanwhile I guess I can cheat by changing ?status? to ?status1? throughout > the code for these objects. > > It will be interesting to find out what RunRev is using this word for - > kind of sounds like it should be reserved, doesn?t it? > > Graham > > > On 31 Oct 2014, at 00:44, Peter Haworth wrote: > > > > Hi Graham, > > Late to this one but there is indeed a new property named "status" which > is > > why your script now fails. Unfortunately, can't tell what it's used for > > since there's no dictionary entry for it. About to file a bug report for > > that. > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > > > On Sat, Oct 25, 2014 at 6:26 AM, Graham Samuel wrote: > > > >> In a desktop app (Mac and Windows - currently testing the Mac version) > I?m > >> using a button (actually a group acting as a button) designed by Mark > >> Schonewille which does nice things with shading. This has been working > for > >> a long time, ever since it was announced by Mark. Now in LC 6.7, I get a > >> compile error in a setProp handler in the group (in fact in several > groups > >> with the same script). Part of a case statement looks like this > >> > >> ? > >> lock messages > >> set the status["disabled"] of me to not theBool > >> set the status["hilite"] of me to false > >> unlock messages > >> ? > >> > >> The IDE reports > >> > >>> compiling at 2:58:22 PM > >>> Type Expression: bad factor > >>> Object ClearAllGroup > >>> Line set the status["disabled"] of me to not theBool > >>> Hint [ > >> > >> There is no hint. As it would seem to be a syntax failure, maybe some > new > >> reserved word is getting in the way - but this is just a guess. > >> > >> I have not yet been able to isolate this to confirm and then report it > as > >> a bug. Mark, if you're around, do you understand what's happening? I > quite > >> understand if you haven't got time to look at it, but I thought I'd ask > >> before trying to go deeper into the issue. > >> > >> TIA > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.com Fri Oct 31 13:38:41 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Fri, 31 Oct 2014 17:38:41 +0000 Subject: Two features I don't understand In-Reply-To: <54528531.2060207@fourthworld.com> References: <54528531.2060207@fourthworld.com> Message-ID: <3C0EF020-D3FA-418C-9ED3-E7C1D5EA17A1@livecode.com> On 30 Oct 2014, at 18:36, Richard Gaskin wrote: > > 2. StyledText array > Pages 16-18 of the v5.5.4 Release Notes: > > > Anyone here use this? Is it faster than doing equivalent operations on htmlText? While the style attributes themselves are well represented in the array, the character offsets of runs don't seem to be present, so I'm unclear as to what this should be used for. > The array returned by the styledText property is as close to the field?s internal representation as its possible to get in script. Internally, the field is structured somewhat like this(*): - Field - Paragraph 1 - Run 1 - Run 2 - Paragraph 2 and the styledText property is that structure in array form. (A ?run? in this case is a block of text sharing the same styling attributes). It is also possible to set properties at the paragraph and field levels so these are also exported in the styledText. The offsets aren?t stored because they are redundant with the contents of the array - Run 2 comes after Run 1 (and Paragraph 2 comes after Paragraph 1). Storing them would cause problems when the contents of any of the runs are updated. In terms of comparisons with htmlText, styledText is more ?raw? - far closer to the field?s internal representation than HTML. Because of this, it is easier for the field to process than HTML (especially as HTML has to be parsed while the array is already structured). Looking at it from the other side, an array is generally easier to manipulate compared to parsing HTML in your scripts. There are definitely some very heavy users of the styledText in the LiveCode community; I know because the refactoring work for 7 broke it at various times during the DP process? (*) the field is vastly more complicated than this diagram. For example, there are ?lines? and ?segments? used internally between paragraphs and runs in order to keep the code remotely manageable. It is by far the most complicated control in the engine and that was before adding support for things like bi-directional text input? the humble LiveCode field is actually not all that different from the insides of a word processor. Fraser From ambassador at fourthworld.com Fri Oct 31 13:40:00 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Oct 2014 10:40:00 -0700 Subject: Two features I don't understand In-Reply-To: <5453BDB3.3040106@tweedly.net> References: <5453BDB3.3040106@tweedly.net> Message-ID: <5453C970.6030607@fourthworld.com> Alex Tweedly wrote: > On 31/10/2014 04:04, Richard Gaskin wrote: >> What I find most remarkable is the way your benchmark makes the value >> of this ID caching seem rather trivial. ... > It is a trivial example - but the speed-up of 50X seems significant. In relative terms it certainly seems so, but in absolute time just how much is being saved? That is, what is the time required to resolve an object ID without caching? This reminds me of a test I ran yesterday on a different issue, similar only in that whether or not it's a valuable thing to do may differ depending on whether you're looking at total-time or time-per-iteration: I was measuring how much overhead is involved in making a call to a function relative to performing the same code in-line. The total time saved was 15.897949 ms, which seems a worthy number until we consider that it was running for 100,000 iterations. In a single iteration it was only saving 0.000159 ms, which for the purposes of the test made it clear that the performance "penalty" of factoring large handlers is probably not worth the time we spend trying to wrap our head around really long complex handlers. With ID caching we have a nuance that further qualifies its value: it's very specific, caching only ID references but not the more commonly-used forms like names or, as often used in loops, ordinal numbers. That said, I tend to be somewhat obsessive about performance because I see every nanosecond saved as a penny in a bank account; over time I can save up enough to have some milliseconds free to spend on new features like real-time display updates or background processing. So I'm always grateful for anything that boosts performance in the engine, even those that may seem small, since over the long run everything adds up. > Probably worth adding it to the compare-engine-versions benchmark; I'll > do that once a framework / sample of that happens. I hope we can get that project going. It'll be very helpful for many purposes. -- 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 larry at significantplanet.org Fri Oct 31 13:43:07 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 31 Oct 2014 11:43:07 -0600 Subject: Valentina db References: Message-ID: Hi Bob, Thanks for the detailed info. I'll look into that. Larry ----- Original Message ----- From: "Bob Sneidar" To: "How to use LiveCode" Sent: Friday, October 31, 2014 9:06 AM Subject: Re: Valentina db > Hi Larry. > > The simplest SQL database to my mind is sqLite. You can create a database > by simply providing a path name and opening it using the LC built in > database functions. Once the file is created, you can download the Firefox > SQLite Manager plugin, open the database and begin to add tables and > columns. > > There are tons of easy to read tutorials on the inter web on how to do > select, insert and updates. The best source I think is sqlite.org itself > at https://www.sqlite.org/lang.html. > > sqLite is very forgiving when it comes to type constraints. This is > because the data is literally stored as text no matter what type the > column is. Where mySQL might throw an error for storing the wrong type of > data, sqLite will store whatever you tell it to. > > This is somewhat of a blessing, but also a curse. You really do want to > know if your data is outside the parameters you?ve set. However, for those > just starting out, it?s nice to not have to deal with SQL errors so much. > > Bob S > > >> On Oct 30, 2014, at 24:42 , larry at significantplanet.org wrote: >> >> Hello, >> >> Has anyone used Valentina database with LC? >> >> If so, what is your experience with it? >> >> Is it a product that a newbie (me) could reasonably learn how to use with >> LC? >> >> Thanks for any info, >> Larry >> >> P.S. If you have a recommendation for a database that is REALLY easy to >> use with LC, please let me know. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Oct 31 14:00:25 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 Oct 2014 19:00:25 +0100 Subject: Strictness in LC7 Message-ID: <972CFFEF-7B95-4530-BF23-C0E9110462B1@mac.com> I have an app some of whose coding is quite old. I find that LC7 no longer tolerates sloppy code in the way earlier versions did. For example set the points of grc "MyLine" to 31,300,639,300 worked in earlier versions including all the 6.x ones I've tried (it drew a horizontal line), but now I have to do what it says in the documentation and make a list with the start and end points on separate lines, as in: set the points of grc "MyLine" to "31,300" & return & "639,300" The first version doesn't throw an error, it just results in a dot rather than a line. I wonder how many more things like that are lurking in my code! Just FYI Graham From richmondmathewson at gmail.com Fri Oct 31 14:01:47 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 Oct 2014 20:01:47 +0200 Subject: OT: How to serve a 8GB download? In-Reply-To: <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> Message-ID: <5453CE8B.8080403@gmail.com> On 31/10/14 17:53, Bob Sneidar wrote: > Probably too late to talk about how to package your data, which is likely the reason it is so big. I suspect it contains a lot of images or other kinds of media. > > You might consider however, packaging your media separately from the application itself, then have the app on launch begin to sync the media from a web server. If that is impractical, then I would say a password protected zip file, where the password is the license key (if you have implemented one). > > It used to be in ages gone by that zip files were broken up into smaller pieces because modem transport of large files was inherently unreliable. These days it?s rare that a download will fail due to the transport. I wouldn?t do multipart zips if you can help it, unless your target market is Botswana where they are still using 14.4 modems. ;-) > > Bob S > > I wonder if what you have written isn't a tad discriminatory? http://testmy.net/country/bw Botswana Average Download Speed: 876 Kbps (110 kB/s) Botswana Average Upload Speed: 127 Kbps (16 kB/s) Bulgaria Average Download Speed: BG average 9 Mbps Bulgaria Average Upload Speed: BG average 4.7 Mbps That DOES make Botswana look fairly crappy . . . But I wonder what sort of speeds one would get with a 14.4 modem? Certainly my one in Carbondale, Illinois, USE (1993) took 5 hours to download 2 MB! Richmond. From livfoss at mac.com Fri Oct 31 14:04:39 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 Oct 2014 19:04:39 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453C3FF.2020009@economy-x-talk.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> Message-ID: <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> Hi Mark Not to flog this to death, but what you did works for me too - you just set the htmlText of a field using a version of LC running on Windows. What didn?t work for me was setting the htmlText of the field using a Mac version of LC, saving the stack and then opening it on a PC with a PC version of LC - then the field had somehow changed. I will see if this applies in other versions of LC. What I did is repeatable but of course it may be something to do with my particular setup or versions of LC. Cheers Graham > On 31 Oct 2014, at 18:16, Mark Schonewille wrote: > > Hi Graham, > > Apparently, I misread the subject header of your e-mail. So, you have trouble with the less-than-or-equal-to and the greater-than-or-equal-to characters. > > BTW I think that these characters are in the MacRoman character set but not in the Latin-1 character set, which means that you can refer to them by their ASCII values on Mac, but not on Windows. > > I just tried this on Windows 8.1: > > on mouseUp > set the htmlText of fld 1 to "

" > end mouseUp > > and it works fine. I can also change ge to le and that works too. If I execute > > put the htmltext of fld 1 > > in the message box, I get the expected values and not the numerical values you are seeing. > > I tried this in LC 6.6.2 on Windows 8.1. Perhaps it is a 6.6.5-specific 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 > > 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 10/31/2014 18:01, Graham Samuel wrote: >> Thanks Mark for the reply. >> >> No, ?lt' is less than and ?gt' is greater than: these symbols are readily available on both the Mac and PC character sets, so if the objective is simply to display the correct glyph, it doesn?t matter if one shows them as html or just a simple character. My issue is with 'less than or equal' (and in principle ?greater than or equal?). These are represented on the regular Mac keyboard as option-comma and option-period, but these codes are not the same on the PC. Hence my need to use html, since these characters are part of the standard html repertoire. >> >> A possible (but not very probably IMHO) cause of the problem is that ?le? and ?ge? are not in the LC dictionary as recognised subset-html characters dealt with by LC: but in fact they do work, just not when switched from Mac to PC. Odd. >> >> Graham >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Oct 31 14:18:56 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Oct 2014 19:18:56 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> Message-ID: <5453D290.6070202@economy-x-talk.com> Hi Graham, Now I see it too. Even if I set the unicodeText of a field to numToChar(8804), the character appears as something completely different on Windows. In pre-7 versions of LiveCode, this might be acceptable, because the text of a field is saved as MacRoman or Latin. However, in 7, it is saved as unicode. I didn't try this, but this should not happen in 7. -- 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 10/31/2014 19:04, Graham Samuel wrote: > Hi Mark > > Not to flog this to death, but what you did works for me too - you just set the htmlText of a field using a version of LC running on Windows. What didn?t work for me was setting the htmlText of the field using a Mac version of LC, saving the stack and then opening it on a PC with a PC version of LC - then the field had somehow changed. I will see if this applies in other versions of LC. What I did is repeatable but of course it may be something to do with my particular setup or versions of LC. > > Cheers > > Graham > >> On 31 Oct 2014, at 18:16, Mark Schonewille wrote: >> >> Hi Graham, >> >> Apparently, I misread the subject header of your e-mail. So, you have trouble with the less-than-or-equal-to and the greater-than-or-equal-to characters. >> >> BTW I think that these characters are in the MacRoman character set but not in the Latin-1 character set, which means that you can refer to them by their ASCII values on Mac, but not on Windows. >> >> I just tried this on Windows 8.1: >> >> on mouseUp >> set the htmlText of fld 1 to "

" >> end mouseUp >> >> and it works fine. I can also change ge to le and that works too. If I execute >> >> put the htmltext of fld 1 >> >> in the message box, I get the expected values and not the numerical values you are seeing. >> >> I tried this in LC 6.6.2 on Windows 8.1. Perhaps it is a 6.6.5-specific 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 >> >> 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 10/31/2014 18:01, Graham Samuel wrote: >>> Thanks Mark for the reply. >>> >>> No, ?lt' is less than and ?gt' is greater than: these symbols are readily available on both the Mac and PC character sets, so if the objective is simply to display the correct glyph, it doesn?t matter if one shows them as html or just a simple character. My issue is with 'less than or equal' (and in principle ?greater than or equal?). These are represented on the regular Mac keyboard as option-comma and option-period, but these codes are not the same on the PC. Hence my need to use html, since these characters are part of the standard html repertoire. >>> >>> A possible (but not very probably IMHO) cause of the problem is that ?le? and ?ge? are not in the LC dictionary as recognised subset-html characters dealt with by LC: but in fact they do work, just not when switched from Mac to PC. Odd. >>> >>> Graham >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Oct 31 14:24:22 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Oct 2014 11:24:22 -0700 Subject: Two features I don't understand In-Reply-To: <3C0EF020-D3FA-418C-9ED3-E7C1D5EA17A1@livecode.com> References: <3C0EF020-D3FA-418C-9ED3-E7C1D5EA17A1@livecode.com> Message-ID: <5453D3D6.6050400@fourthworld.com> Always valuable to read your words here, Fraser. Meeting you was one of the key highlights for me at the conference. You wrote: > Internally, the field is structured somewhat like this(*): > > - Field > - Paragraph 1 > - Run 1 > - Run 2 > - Paragraph 2 > > and the styledText property is that structure in array form. (A ?run? > in this case is a block of text sharing the same styling attributes). > It is also possible to set properties at the paragraph and field > levels so these are also exported in the styledText. > > The offsets aren?t stored because they are redundant with the > contents of the array - Run 2 comes after Run 1 (and Paragraph 2 > comes after Paragraph 1). Storing them would cause problems when > the contents of any of the runs are updated. > ... > (*) the field is vastly more complicated than this diagram. For > example, there are ?lines? and ?segments? used internally between > paragraphs and runs in order to keep the code remotely manageable. This is one of the things that had eluded me about this feature originally: I had been looking at StyledText as a means of setting attributes, very useful for setting at the field or paragraph level, but without offsets not so much for making a single word within a paragraph bold, for example. But I see now that most folks are using it as read-only, for exporters. I can definitely see very high value in that - in fact, I'm tempted now to rewrite some exporters I have to make use of this over htmlText as I had been using. > It is by far the most complicated control in the engine and that > was before adding support for things like bi-directional text input? > the humble LiveCode field is actually not all that different from > the insides of a word processor. Agreed. I think Kevin was being modest: In terms of the full scope of features a true word processor needs to compete against Microsoft I think he has a good point there, but in the broader view of being able to craft very specialized word processing tools I think LiveCode is perhaps the most capable development option on the planet. This is good to know: > In terms of comparisons with htmlText, styledText is more ?raw? - > far closer to the field?s internal representation than HTML. > Because of this, it is easier for the field to process than HTML > (especially as HTML has to be parsed while the array is already > structured). Looking at it from the other side, an array is generally > easier to manipulate compared to parsing HTML in your scripts. Thanks for your input, Fraser. And thanks to Trevor, Tom, and the others who've provided good examples of styledText in use. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Oct 31 15:02:28 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Oct 2014 12:02:28 -0700 Subject: [ANN] SoCal LUG meeting: Thursday, Nov 6 Message-ID: <5453DCC4.1060701@fourthworld.com> The next meeting of the SoCal LiveCode User Group is coming up next Thursday in Pasadena at 7PM. Details in the forum: References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> Message-ID: <5453DD14.1070808@researchware.com> On 10/31/2014 1:01 PM, Graham Samuel wrote: > These are represented on the regular Mac keyboard as option-comma and option-period, but these codes are not the same on the PC. Hence my need to use html, since these characters are part of the standard html repertoire. See the isoToMac and macToIso functions in the dictionary. High ASCII characters (byte 128-255) differ between platforms. The htmText property of a field will not do a character conversion of these for you. Unfortunately, if your text contains high ASCII characters you need to know what platform it was generated on to use or convert via the functions above as needed. OR you need to encode any high ASCII characters in some platform independent format, like HTML Unicode characters such as &#nnnn; From jacque at hyperactivesw.com Fri Oct 31 15:03:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Oct 2014 14:03:55 -0500 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> Message-ID: <5453DD1B.3010502@hyperactivesw.com> On 10/31/2014, 1:04 PM, Graham Samuel wrote: > Not to flog this to death, but what you did works for me too - you > just set the htmlText of a field using a version of LC running on > Windows. What didn?t work for me was setting the htmlText of the > field using a Mac version of LC, saving the stack and then opening it > on a PC with a PC version of LC - then the field had somehow changed. > I will see if this applies in other versions of LC. What I did is > repeatable but of course it may be something to do with my particular > setup or versions of LC. That's what MacToISO and ISOtoMac were for. I'm not sure they still apply in LC 7.0 though. But if you're running in 6.x you'll probably need to use macToISO() on the text if the platform is a Windows machine. Or, you could try storing the HTML as a custom property and re-setting the htmlText on Windows; maybe that will map it correctly. That said, if those particular characters aren't in the Windows character set then I don't think anything will work to display them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Oct 31 15:26:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 19:26:00 +0000 Subject: Valentina db In-Reply-To: References: Message-ID: I hesitated when adding that bit, but I seem to remember reading somewhere that was the case. As you say, it matters not. Bob S On Oct 31, 2014, at 10:02 , Peter Haworth > wrote: On Fri, Oct 31, 2014 at 8:06 AM, Bob Sneidar > wrote: sqLite is very forgiving when it comes to type constraints. This is because the data is literally stored as text no matter what type the column is. Where mySQL might throw an error for storing the wrong type of data, sqLite will store whatever you tell it to. You're right about SQLite not enforcing data types, but the data is not always stored as text. Not that it really matters since the file level accessing is all handled by the SQLite library. Pete From bobsneidar at iotecdigital.com Fri Oct 31 15:37:26 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 19:37:26 +0000 Subject: OT: How to serve a 8GB download? In-Reply-To: <5453CE8B.8080403@gmail.com> References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> <5453CE8B.8080403@gmail.com> Message-ID: <94B2C3C3-A0B6-424A-AFB8-C9227D84E5BC@iotecdigital.com> I always discriminate when the facts dictate. (My new favorite saying) ;-) Bob On Oct 31, 2014, at 11:01 , Richmond > wrote: I wonder if what you have written isn't a tad discriminatory? http://testmy.net/country/bw Botswana Average Download Speed: 876 Kbps (110 kB/s) From bobsneidar at iotecdigital.com Fri Oct 31 15:40:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 19:40:08 +0000 Subject: Two features I don't understand In-Reply-To: <5453C970.6030607@fourthworld.com> References: <5453BDB3.3040106@tweedly.net> <5453C970.6030607@fourthworld.com> Message-ID: That settles it. Richard Gaskin is an Alien Android!! Bob S On Oct 31, 2014, at 10:40 , Richard Gaskin > wrote: That said, I tend to be somewhat obsessive about performance because I see every nanosecond saved as a penny in a bank account; over time I can save up enough to have some milliseconds free to spend on new features like real-time display updates or background processing. So I'm always grateful for anything that boosts performance in the engine, even those that may seem small, since over the long run everything adds up. From pete at lcsql.com Fri Oct 31 15:41:27 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 Oct 2014 12:41:27 -0700 Subject: formattedHeight of a button Message-ID: There seems to be a problem with the formattedHeight property of a button. I'm assigning an icon to the button and leaving the showName property to true. By doing that, I can make the button high enough so that the button name shows under the icon. The formattedwidth property seems to work fine in that it reflects the width required to include the button label. However, if I check the formattedheight of the button, it is less than its height and if I set its height to the formattedHeight, the top of the icon is chopped off. This seems like a bug to me but thought I would check to see if there is a reason for this. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From bobsneidar at iotecdigital.com Fri Oct 31 15:42:22 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 19:42:22 +0000 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> Message-ID: <609777EC-3B23-4C50-9FF5-424DD8F5041A@iotecdigital.com> I believe what you have encountered is an *actual*, albeit extremely rare, ?Undocumented Feature?. Bob S On Oct 31, 2014, at 10:01 , Graham Samuel > wrote: A possible (but not very probably IMHO) cause of the problem is that ?le? and ?ge? are not in the LC dictionary as recognised subset-html characters dealt with by LC: but in fact they do work, just not when switched from Mac to PC. Odd. Graham From bobsneidar at iotecdigital.com Fri Oct 31 15:46:52 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 19:46:52 +0000 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453DD1B.3010502@hyperactivesw.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> <5453DD1B.3010502@hyperactivesw.com> Message-ID: <4C26C5CF-A318-4F04-A78C-4A1C90D483AB@iotecdigital.com> Which brings up a point that seems to be the 800 pound gorilla in the room. Bulleted lists, Special characters, seems like there ought to be a way to set the Icon of a character to something. Problem solved. Buuuuut? it only works with stacks, apps and buttons. Bob S On Oct 31, 2014, at 12:03 , J. Landman Gay > wrote: That said, if those particular characters aren't in the Windows character set then I don't think anything will work to display them. -- Jacqueline Landman Gay From m.schonewille at economy-x-talk.com Fri Oct 31 15:48:29 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Oct 2014 20:48:29 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453DD1B.3010502@hyperactivesw.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> <5453DD1B.3010502@hyperactivesw.com> Message-ID: <5453E78D.7060304@economy-x-talk.com> Sure, but if you have to correct a field using isoToMac and macToIso every time your stack opens, you might as well just replace the ASCII 16 value with ≤ in the HTML text of the field. I think Graham's point is that this shouldn't be necessary and I believe in 7 it should indeed no longer be necessary. -- 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 10/31/2014 20:03, J. Landman Gay wrote: > On 10/31/2014, 1:04 PM, Graham Samuel wrote: >> Not to flog this to death, but what you did works for me too - you >> just set the htmlText of a field using a version of LC running on >> Windows. What didn?t work for me was setting the htmlText of the >> field using a Mac version of LC, saving the stack and then opening it >> on a PC with a PC version of LC - then the field had somehow changed. >> I will see if this applies in other versions of LC. What I did is >> repeatable but of course it may be something to do with my particular >> setup or versions of LC. > > That's what MacToISO and ISOtoMac were for. I'm not sure they still > apply in LC 7.0 though. But if you're running in 6.x you'll probably > need to use macToISO() on the text if the platform is a Windows machine. > Or, you could try storing the HTML as a custom property and re-setting > the htmlText on Windows; maybe that will map it correctly. > > That said, if those particular characters aren't in the Windows > character set then I don't think anything will work to display them. > From m.schonewille at economy-x-talk.com Fri Oct 31 15:50:13 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Oct 2014 20:50:13 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453DD14.1070808@researchware.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453DD14.1070808@researchware.com> Message-ID: <5453E7F5.20008@economy-x-talk.com> Paul, This won't work because isoToMac/macToIso convert from MacRoman to Latin-1 or back, while Latin-1 simply doesn't have that char. You can't convert something if it doesn't exist. -- 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 10/31/2014 20:03, Paul Dupuis wrote: > On 10/31/2014 1:01 PM, Graham Samuel wrote: >> These are represented on the regular Mac keyboard as option-comma and option-period, but these codes are not the same on the PC. Hence my need to use html, since these characters are part of the standard html repertoire. > > See the isoToMac and macToIso functions in the dictionary. High ASCII > characters (byte 128-255) differ between platforms. The htmText property > of a field will not do a character conversion of these for you. > > Unfortunately, if your text contains high ASCII characters you need to > know what platform it was generated on to use or convert via the > functions above as needed. > > OR you need to encode any high ASCII characters in some platform > independent format, like HTML Unicode characters such as &#nnnn; > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 31 16:03:59 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Oct 2014 13:03:59 -0700 Subject: Hmmm... Message-ID: <5453EB2F.6010005@fourthworld.com> Anyone else stumble across this recent discussion looking for something akin to "The HyperCard Legacy"? Nice to see some LiveCode comments there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Fri Oct 31 16:11:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 Oct 2014 22:11:36 +0200 Subject: OT: How to serve a 8GB download? In-Reply-To: <94B2C3C3-A0B6-424A-AFB8-C9227D84E5BC@iotecdigital.com> References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> <5453CE8B.8080403@gmail.com> <94B2C3C3-A0B6-424A-AFB8-C9227D84E5BC@iotecdigital.com> Message-ID: <5453ECF8.5050305@gmail.com> On 31/10/14 21:37, Bob Sneidar wrote: > I always discriminate when the facts dictate. (My new favorite saying) ;-) > > Bob > > > It sounds good, but I'm not sure what it means. Richmond. From richmondmathewson at gmail.com Fri Oct 31 16:22:42 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 Oct 2014 22:22:42 +0200 Subject: Hmmm... In-Reply-To: <5453EB2F.6010005@fourthworld.com> References: <5453EB2F.6010005@fourthworld.com> Message-ID: <5453EF92.5050600@gmail.com> On 31/10/14 22:03, Richard Gaskin wrote: > Anyone else stumble across this recent discussion looking for > something akin to "The HyperCard Legacy"? > > > > Nice to see some LiveCode comments there. > It seems to me that that discussion lacks focus. Surely an question related to the "HyperCard legacy" (which is a fairly daft phrase anyway) should be asking something like this: Did anyone recreate HyperCard and then improve it once HyperCard was killed off? And the answer is 'Yes' several times over: many being short-lived things (SERF ???), and many restricted to only 1 or 2 platforms (ToolBook, SuperCard), and one managing about 6 platforms at present (LiveCode). All those comments about COBOL and AppleScript are, frankly beside the point. The way the discussion goes is rather like answering a question about "The Great Ape legacy" by talking about dolphins, pigs and lemmings rather than bonobos and humans. Richmond. From coiin at verizon.net Fri Oct 31 16:22:10 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 31 Oct 2014 16:22:10 -0400 Subject: Hmmm... In-Reply-To: <5453EB2F.6010005@fourthworld.com> References: <5453EB2F.6010005@fourthworld.com> Message-ID: <88C5FBCA-C829-4925-8760-98F7217D5482@verizon.net> I wonder about what that RunRevKev person wrote. I mean, he doesn?t even know the name of the company! > On Oct 31, 2014, at 4:03 PM, Richard Gaskin wrote: > > Anyone else stumble across this recent discussion looking for something akin to "The HyperCard Legacy"? > > > > Nice to see some LiveCode comments there. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Oct 31 16:47:14 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 Oct 2014 13:47:14 -0700 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <4C26C5CF-A318-4F04-A78C-4A1C90D483AB@iotecdigital.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> <5453DD1B.3010502@hyperactivesw.com> <4C26C5CF-A318-4F04-A78C-4A1C90D483AB@iotecdigital.com> Message-ID: You can - the imageSource Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 31, 2014 at 12:46 PM, Bob Sneidar wrote: > Which brings up a point that seems to be the 800 pound gorilla in the > room. Bulleted lists, Special characters, seems like there ought to be a > way to set the Icon of a character to something. Problem solved. Buuuuut? > it only works with stacks, apps and buttons. > > Bob S > > > On Oct 31, 2014, at 12:03 , J. Landman Gay > wrote: > > That said, if those particular characters aren't in the Windows character > set then I don't think anything will work to display them. > > -- > Jacqueline Landman Gay > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 31 16:50:05 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 Oct 2014 13:50:05 -0700 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453DD14.1070808@researchware.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453DD14.1070808@researchware.com> Message-ID: I ran across the same problem with the ellipsis character. I ended up doing this: if the platform is "MacOS" then put ISOToMac(numToChar(133)) into tEllipsis else put numToChar(133) into tEllipsis end if Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Oct 31, 2014 at 12:03 PM, Paul Dupuis wrote: > On 10/31/2014 1:01 PM, Graham Samuel wrote: > > These are represented on the regular Mac keyboard as option-comma and > option-period, but these codes are not the same on the PC. Hence my need to > use html, since these characters are part of the standard html repertoire. > > See the isoToMac and macToIso functions in the dictionary. High ASCII > characters (byte 128-255) differ between platforms. The htmText property > of a field will not do a character conversion of these for you. > > Unfortunately, if your text contains high ASCII characters you need to > know what platform it was generated on to use or convert via the > functions above as needed. > > OR you need to encode any high ASCII characters in some platform > independent format, like HTML Unicode characters such as &#nnnn; > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 31 17:00:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 21:00:38 +0000 Subject: OT: How to serve a 8GB download? In-Reply-To: <5453ECF8.5050305@gmail.com> References: <005101cff520$edd08ca0$c971a5e0$@de> <0D52E579-1EE2-4779-85F2-4E345355C6B8@iotecdigital.com> <5453CE8B.8080403@gmail.com> <94B2C3C3-A0B6-424A-AFB8-C9227D84E5BC@iotecdigital.com> <5453ECF8.5050305@gmail.com> Message-ID: <94B3F8A6-C2D2-44FC-8797-BB5F3DD36FE7@iotecdigital.com> The hallmark of any good saying. :-) On Oct 31, 2014, at 13:11 , Richmond > wrote: I always discriminate when the facts dictate. (My new favorite saying) ;-) Bob It sounds good, but I'm not sure what it means. Richmond. From bobsneidar at iotecdigital.com Fri Oct 31 17:01:54 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 21:01:54 +0000 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> <5453DD1B.3010502@hyperactivesw.com> <4C26C5CF-A318-4F04-A78C-4A1C90D483AB@iotecdigital.com> Message-ID: <4F38843D-F4FD-48FB-992C-CF1CBCBF37D6@iotecdigital.com> Cool thanks! > On Oct 31, 2014, at 13:47 , Peter Haworth wrote: > > You can - the imageSource > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Fri, Oct 31, 2014 at 12:46 PM, Bob Sneidar > wrote: > >> Which brings up a point that seems to be the 800 pound gorilla in the >> room. Bulleted lists, Special characters, seems like there ought to be a >> way to set the Icon of a character to something. Problem solved. Buuuuut? >> it only works with stacks, apps and buttons. >> >> Bob S From dochawk at gmail.com Fri Oct 31 17:51:03 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 Oct 2014 14:51:03 -0700 Subject: Hmmm... In-Reply-To: <5453EF92.5050600@gmail.com> References: <5453EB2F.6010005@fourthworld.com> <5453EF92.5050600@gmail.com> Message-ID: On Fri, Oct 31, 2014 at 1:22 PM, Richmond wrote: > Did anyone recreate HyperCard and then improve it once HyperCard was > killed off? > > And the answer is 'Yes' several times over: many being short-lived things > (SERF ???), and > many restricted to only 1 or 2 platforms (ToolBook, SuperCard), > SuperCard was actually contemporaneous with HyperCard. SuperCard 1.5 had multiple windows long before HyperCard 2.0. And if they had come out with the PC version 2 years earlier, or even if I had known it was coming, **I* *would be dominant player in bankruptcy software today . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dunbarx at aol.com Fri Oct 31 17:55:41 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 31 Oct 2014 17:55:41 -0400 Subject: Hmmm... In-Reply-To: References: <5453EB2F.6010005@fourthworld.com> <5453EF92.5050600@gmail.com> Message-ID: <8D1C36C8C297DDA-11B0-26DCB@webmail-vd002.sysops.aol.com> I always thought it odd that Supercard was developed by Bill Appleton, HC being developed by Bill Atkinson. They even looked alike, tall and lanky. Cousins? Craig -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Fri, Oct 31, 2014 5:51 pm Subject: Re: Hmmm... On Fri, Oct 31, 2014 at 1:22 PM, Richmond wrote: > Did anyone recreate HyperCard and then improve it once HyperCard was > killed off? > > And the answer is 'Yes' several times over: many being short-lived things > (SERF ???), and > many restricted to only 1 or 2 platforms (ToolBook, SuperCard), > SuperCard was actually contemporaneous with HyperCard. SuperCard 1.5 had multiple windows long before HyperCard 2.0. And if they had come out with the PC version 2 years earlier, or even if I had known it was coming, **I* *would be dominant player in bankruptcy software today . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Oct 31 18:26:30 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 22:26:30 +0000 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <4F38843D-F4FD-48FB-992C-CF1CBCBF37D6@iotecdigital.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> <5453DD1B.3010502@hyperactivesw.com> <4C26C5CF-A318-4F04-A78C-4A1C90D483AB@iotecdigital.com> <4F38843D-F4FD-48FB-992C-CF1CBCBF37D6@iotecdigital.com> Message-ID: <09EEE53F-C349-4C7E-8500-ACFD795B4DDA@iotecdigital.com> Okay, so to follow through with this, I first took a screen shot of a bullet character, opened it in Preview, erased the white space (making it transparent) and saving it as bullet.png. Next I imported the bullet as an image, and set the source of the imported image to the file ?bullet.png? (so I could edit it and see the changes in Livecode without reimporting). Then I put several lines into a scrolling field where each line starts with a space and a tab. I set the first tabstop to enough pixels to fit the bullet mark. I had to play around a bit but I got it close. Finally I have this in the script of the scrolling field: on mouseUp put the hilitedLine of me into theHilitedLine set the itemDelimiter to tab put the vscroll of me into theVScroll if the imageSource of char 1 of line theHilitedLine of me is "bullet.png" then set the imageSource of char 1 of line theHilitedLine of me to empty else set the imageSource of char 1 of line theHilitedLine of me to "bullet.png" end if set the itemDelimiter to comma set the vScroll of me to theVScroll end mouseUp Presto! Voila! Good looking bulleted list that will look the same in Windows and Mac, or any OS! Bob S > On Oct 31, 2014, at 14:01 , Bob Sneidar wrote: > > Cool thanks! > >> On Oct 31, 2014, at 13:47 , Peter Haworth wrote: >> >> You can - the imageSource >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> On Fri, Oct 31, 2014 at 12:46 PM, Bob Sneidar >> wrote: >> >>> Which brings up a point that seems to be the 800 pound gorilla in the >>> room. Bulleted lists, Special characters, seems like there ought to be a >>> way to set the Icon of a character to something. Problem solved. Buuuuut? >>> it only works with stacks, apps and buttons. >>> >>> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Oct 31 18:32:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Oct 2014 15:32:31 -0700 Subject: Hmmm... In-Reply-To: <8D1C36C8C297DDA-11B0-26DCB@webmail-vd002.sysops.aol.com> References: <8D1C36C8C297DDA-11B0-26DCB@webmail-vd002.sysops.aol.com> Message-ID: <54540DFF.3020109@fourthworld.com> Craig wrote: > I always thought it odd that Supercard was developed by Bill > Appleton, HC being developed by Bill Atkinson. They even looked > alike, tall and lanky. Cousins? Another parallel oddity: the first HyperCard book was written by Danny Goodman, and the first SuperCard book was written by Danny Gookin. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Fri Oct 31 18:34:42 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Oct 2014 22:34:42 +0000 Subject: Hmmm... In-Reply-To: References: <5453EB2F.6010005@fourthworld.com> <5453EF92.5050600@gmail.com> Message-ID: Agreed, but Supercard suffered from early instability and general interface kludginess. I was a Supercard guy for a long time, but got sidetracked with other things. Still, I was stifled by the same issue I had with Hypercard: I wanted to create databases of many thousands of records, and there was no good way to do that without XCMD?s that turned out to be too unreliable for commercial use. To be perfectly frank, until I came across Runtime Revolution, developing with X-Card seemed to me to be too sketchy for me to stake my reputation on. I created cool little utility apps that didn?t need many thousands of cards, but nothing I would feel comfortable providing to the people I worked for. Now I feel very confident that I can create fairly polished and functioning database apps (given my total inability to design good user interfaces) using the tools at hand. I have come to think of Livecode as what Hypercard should have been all along (had they the memory to even run it back then, which they decidedly did not!) Bob S > On Oct 31, 2014, at 14:51 , Dr. Hawkins wrote: > > On Fri, Oct 31, 2014 at 1:22 PM, Richmond > wrote: > >> Did anyone recreate HyperCard and then improve it once HyperCard was >> killed off? >> >> And the answer is 'Yes' several times over: many being short-lived things >> (SERF ???), and >> many restricted to only 1 or 2 platforms (ToolBook, SuperCard), >> > > SuperCard was actually contemporaneous with HyperCard. > > SuperCard 1.5 had multiple windows long before HyperCard 2.0. > > And if they had come out with the PC version 2 years earlier, or even if I > had known it was coming, **I* *would be dominant player in bankruptcy > software today . . . > > > -- > 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 livfoss at mac.com Fri Oct 31 18:50:40 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 Oct 2014 23:50:40 +0100 Subject: HTML representation of 'less than or equal to' - not cross-platform? In-Reply-To: <5453E78D.7060304@economy-x-talk.com> References: <5453A54E.50604@economy-x-talk.com> <6AD76B10-8C88-4111-B78B-19616D009F59@mac.com> <5453C3FF.2020009@economy-x-talk.com> <87638417-2312-4589-AB7E-C8A002F9680E@mac.com> <5453DD1B.3010502@hyperactivesw.com> <5453E78D.7060304@economy-x-talk.com> Message-ID: I think I have just confirmed Mark?s conjecture about LC7 - I created a test stack on the Mac in LC7, put the html ?less than or equal to? character into a field there, saved it, reopened in LC7 and it still looked OK. So we can leave that particular problem behind us, at least once I?ve double-checked that it was a fair test. My next problem will be to make sure any special treatment that I gave to the Mac-only characters (Mac Roman) like the pi symbol (which will still be there on the keyboard in spite of Unicode being recognised by LC) doesn?t adversely affect the PC version of the program. But it?s bedtime here and I strongly suspect I?ve stopped thinking straight. Tomorrow?(sings). Graham > On 31 Oct 2014, at 20:48, Mark Schonewille wrote: > > Sure, but if you have to correct a field using isoToMac and macToIso every time your stack opens, you might as well just replace the ASCII 16 value with ≤ in the HTML text of the field. I think Graham's point is that this shouldn't be necessary and I believe in 7 it should indeed no longer be necessary. > > -- > 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 10/31/2014 20:03, J. Landman Gay wrote: >> On 10/31/2014, 1:04 PM, Graham Samuel wrote: >>> Not to flog this to death, but what you did works for me too - you >>> just set the htmlText of a field using a version of LC running on >>> Windows. What didn?t work for me was setting the htmlText of the >>> field using a Mac version of LC, saving the stack and then opening it >>> on a PC with a PC version of LC - then the field had somehow changed. >>> I will see if this applies in other versions of LC. What I did is >>> repeatable but of course it may be something to do with my particular >>> setup or versions of LC. >> >> That's what MacToISO and ISOtoMac were for. I'm not sure they still >> apply in LC 7.0 though. But if you're running in 6.x you'll probably >> need to use macToISO() on the text if the platform is a Windows machine. >> Or, you could try storing the HTML as a custom property and re-setting >> the htmlText on Windows; maybe that will map it correctly. >> >> That said, if those particular characters aren't in the Windows >> character set then I don't think anything will work to display them. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Oct 31 22:04:28 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 31 Oct 2014 22:04:28 -0400 Subject: Hmmm... In-Reply-To: References: <5453EB2F.6010005@fourthworld.com> <5453EF92.5050600@gmail.com> Message-ID: <8D1C38F4DBF34EA-690-34929@webmail-vm099.sysops.aol.com> Bill Atkinson himself said that the core of HC had to be constrained to (paraphrased) "fit within the 1 MByte memory limit", basically, of a Mac Plus. Craig -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Fri, Oct 31, 2014 6:35 pm Subject: Re: Hmmm... Agreed, but Supercard suffered from early instability and general interface kludginess. I was a Supercard guy for a long time, but got sidetracked with other things. Still, I was stifled by the same issue I had with Hypercard: I wanted to create databases of many thousands of records, and there was no good way to do that without XCMD?s that turned out to be too unreliable for commercial use. To be perfectly frank, until I came across Runtime Revolution, developing with X-Card seemed to me to be too sketchy for me to stake my reputation on. I created cool little utility apps that didn?t need many thousands of cards, but nothing I would feel comfortable providing to the people I worked for. Now I feel very confident that I can create fairly polished and functioning database apps (given my total inability to design good user interfaces) using the tools at hand. I have come to think of Livecode as what Hypercard should have been all along (had they the memory to even run it back then, which they decidedly did not!) Bob S > On Oct 31, 2014, at 14:51 , Dr. Hawkins wrote: > > On Fri, Oct 31, 2014 at 1:22 PM, Richmond > wrote: > >> Did anyone recreate HyperCard and then improve it once HyperCard was >> killed off? >> >> And the answer is 'Yes' several times over: many being short-lived things >> (SERF ???), and >> many restricted to only 1 or 2 platforms (ToolBook, SuperCard), >> > > SuperCard was actually contemporaneous with HyperCard. > > SuperCard 1.5 had multiple windows long before HyperCard 2.0. > > And if they had come out with the PC version 2 years earlier, or even if I > had known it was coming, **I* *would be dominant player in bankruptcy > software today . . . > > > -- > 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